1 2011-01-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * concord.c (Fconcord_genre_ds): Add "#ifdef HAVE_LIBCHISE" ...
4 "#endif" for code to refer Vchise_system_db_directory.
6 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * concord.c (Fconcord_object_put): Use `member' instead of `memq'.
9 (Fconcord_object_adjoin): New function.
10 (Fconcord_object_adjoinX): New function.
11 (syms_of_concord): Defsubred `Fconcord_object_adjoin' and
12 `Fconcord_object_adjoinX'.
14 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 - Include "elconcord.h".
18 - Move EXFUNs for `Fconcord_decode_object', `Fconcord_object_put'
19 and `Fconcord_object_get' to elconcord.h.
20 (Lisp_CONCORD_DS): Moved to elconcord.h.
21 (struct Lisp_CONCORD_DS): Ditto.
23 (XSET_CONCORD_DS): Ditto.
24 (CONCORD_DS_P): Ditto.
25 (CHECK_CONCORD_DS): Ditto.
26 (CONCHECK_CONCORD_DS): Ditto.
27 (Lisp_CONCORD_Object): Ditto.
28 (struct Lisp_CONCORD_Object): Ditto.
29 (XCONCORD_OBJECT): Ditto.
30 (XSET_CONCORD_OBJECT): Ditto.
31 (CONCORD_OBJECT_P): Ditto.
32 (CHECK_CONCORD_OBJECT): Ditto.
33 (CONCHECK_CONCORD_OBJECT): Ditto.
34 (CONCORD_OBJECT_GENRE): Ditto.
35 (CONCORD_OBJECT_ID): Ditto.
36 (XCONCORD_OBJECT_ID): Ditto.
37 (XCONCORD_OBJECT_GENRE): Ditto.
38 (concord_object_equal): New function.
39 (LRECORD_IMPLEMENTATION of "concord_object"): Use
40 `concord_object_equal'.
42 * elconcord.h: New file.
44 2010-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * concord.c (print_concord_object): Use readable form even if
47 `print-readably' is nil.
49 2010-11-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * concord.c (print_concord_object): Don't display location of
52 data-source when `print-readably' is nil.
54 2010-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * concord.c (Fconcord_genre_ds): Use Vchise_system_db_directory as
57 the default location of data-source.
58 (complex_vars_of_concord): Use Vchise_system_db_directory to
59 assign genre `character' and `feature'.
61 * chartab.h (Vchise_system_db_directory): New extern when
62 HAVE_CONCORD is defined.
64 2010-09-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * concord.c: Include <chise.h> if HAVE_LIBCHISE is defined.
67 (Qcharacter): New variable when HAVE_LIBCHISE is defined.
69 (Fconcord_object_genre): New function.
71 - Add new builtin symbols `character' and `feature' when
72 HAVE_LIBCHISE is defined.
73 - Add Add new builtin function `concord-object-genre'.
74 (complex_vars_of_concord): New function; assign genres `character'
75 and `feature' when HAVE_LIBCHISE is defined.
77 2010-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
79 * emacs.c (main_1): Call `complex_vars_of_concord' when
80 HAVE_CONCORD is defined.
82 * symsinit.h (complex_vars_of_concord): New prototype.
84 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
86 * chartab.c (allocate_character): Add `static'.
88 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
90 * chartab.c (allocate_character): New function.
91 (Fdefine_char): Use allocate_character().
93 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
95 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
98 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
100 * chartab.c (save_uint8_byte_table): Fixed problem when a property
102 (save_uint16_byte_table): Likewise.
104 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
106 * chartab.c (Fchar_feature_property): New function when LIBCHISE
108 (Fput_char_feature_property): Likewise.
109 (syms_of_chartab): Add new builtin functions
110 `char-feature-property' and `put-char-feature-property' when
113 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
115 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
117 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
119 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
121 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
122 (make_charset): Add new argument `iso_ir'.
123 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
124 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
126 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
127 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
129 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
130 function `make_charset'.
132 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
133 (struct Lisp_Charset): Add new member `iso_ir'.
134 (CHARSET_ISO_IR): New macro.
136 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
138 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
139 code-point by GL charset.
141 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
143 * concord.c (concord_id_validate): New function.
144 (structure_type_create_concord): Use `concord_id_validate' instead
145 of `concord_name_validate' to accept integer and character as =id.
147 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
149 * concord.c (func_for_each_object): Fix bug about GC-protection.
151 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * concord.c (Fconcord_object_put): Check argument FEATURE is a
156 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * text-coding.c (struct decoding_stream): Add new member
159 `bom_flag' in XEmacs CHISE.
160 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
163 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
165 * mule-charset.c: Move definition of `=jis-x0208@1978' to
166 lisp/mule/mule-conf.el.
168 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
171 (make_charset): Add new argument `partial'.
172 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
173 (Fmake_reverse_direction_charset): Modify for `make_charset'.
174 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
176 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
177 `=jis-x0208' as a partial coded-charset.
179 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
181 * text-coding.c (decode_add_er_char): Fix problem when a character
182 represented by an entity-reference is not defined.
184 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
186 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
189 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
191 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
194 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
196 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
197 is a relation feature.
199 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * chartab.c (syms_of_chartab): Define
202 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
204 * chartab.h (Q_denotational): New extern when UTF2000 or
205 HAVE_CONCORD is defined.
206 (Q_denotational_from): Likewise.
207 (Q_subsumptive): Likewise.
208 (Q_subsumptive_from): Likewise.
210 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * concord.c (concord_object_put): New function.
213 (Fconcord_object_put): Use `concord_object_put'.
215 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * concord.c (Fconcord_define_object): New function.
218 (syms_of_concord): Add new builtin function
219 `concord-define-object'.
221 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
226 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * concord.c: Add EXFUN for Fconcord_object_get.
229 (Vconcord_genre_object_hash_table): New variable.
230 (concord_genre_cache_get_object): New function.
231 (concord_genre_cache_put_object): New function.
232 (Fconcord_make_object): Use object cache; put object-ID into `=id'
234 (Fconcord_object_put): Call `concord_index_sync' after
235 `concord_index_strid_put_obj'.
236 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
238 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * concord.c (Fconcord_decode_object): Do GCPRO for
241 Fconcord_make_object.
242 (func_for_each_object): Likewise; do GCPRO for
243 for_each_object_closure->function.
244 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
245 for_each_object_closure->function, for_each_object_closure->genre,
246 for_each_object_closure->ds and for_each_object_closure->ret.
247 (concord_object_validate): Do GCPRO for Fconcord_make_object.
249 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
251 * concord.c: Add EXFUNs for Fconcord_decode_object and
253 (Fconcord_make_object): Change order of arguments.
254 (Fconcord_decode_object): Modify for Fconcord_make_object.
255 (func_for_each_object): Likewise.
256 (concord_object_validate): Likewise.
257 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
259 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
261 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
263 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * concord.c (Fconcord_decode_object): Try to use readable print
266 form as a key of Concord-index.
267 (Fconcord_object_get): Try to use readable print form as an ID of
269 (Fconcord_object_put): Try to use readable print form as an ID of
270 Concord-object and a feature value.
271 (Fconcord_object_spec): Try to use readable print form as an ID of
274 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
276 * concord.c (print_concord_object): Support readable form.
278 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
280 * emacs.c (main_1): Call `structure_type_create_concord' when
281 HAVE_CONCORD is defined.
283 * symsinit.h (structure_type_create_concord): New prototype.
285 * concord.c (Qconcord_object): New variable.
288 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
290 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
291 char*> for genre-name.
292 (Fconcord_feature_list): Likewise.
293 (Fconcord_make_object): Likewise.
294 (Fconcord_decode_object): Likewise; use <char*> instead of
295 <unsigned char*> for feature_name and strid.
296 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
297 c_obj and feature_name.
298 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
300 (struct closure_for_object_spec): Use <char*> instead of <unsigned
301 char*> for member `object_id'.
302 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
303 char*> for feature-name.
304 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
306 (func_for_each_object): Cast to avoid warnings.
307 (Fconcord_foreach_object_in_feature): Use <char*> instead of
308 <unsigned char*> for genre_name and feature_name.
309 (concord_name_validate): New function.
310 (concord_object_validate): Likewise.
311 (concord_object_instantiate): Likewise.
312 (syms_of_concord): Add new builtin symbols `concord-object',
314 (structure_type_create_concord): New function.
316 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
318 * concord.c (Vconcord_ds_hash_table): New variable.
319 (Vconcord_genre_hash_table): New variable.
320 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
321 (Fconcord_ds_directory): New function.
322 (Fconcord_assign_genre): New function.
323 (Fconcord_genre_directory): New function.
324 (Fconcord_genre_ds): New function.
325 (Fconcord_feature_list): Allow to omit `ds'.
326 (Fconcord_make_object): Likewise.
327 (Fconcord_decode_object): Likewise.
328 (Fconcord_foreach_object_in_feature): Likewise.
329 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
330 Fconcord_assign_genre, Fconcord_genre_directory and
332 (vars_of_concord): Setup Vconcord_ds_hash_table and
333 Vconcord_genre_hash_table.
335 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
337 * concord.c (struct closure_for_each_object): Add new member
339 (func_for_each_object): Setup the return value to
340 `for_each_object_closure->ret'.
341 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
342 returns the value instead of Qt.
344 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
346 * concord.c: New file.
348 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
350 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
351 `lrecord_type_concord_object'.
353 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * symsinit.h (syms_of_concord): New prototype.
356 (vars_of_concord): New prototype.
358 * emacs.c (main_1): Setup symbols and variable about concord if
359 HAVE_CONCORD is defined.
361 * config.h.in (HAVE_CONCORD): New macro.
363 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
365 * chartab.c (Fput_char_attribute): For each character relation
366 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
368 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
370 * chartab.c (Fput_char_attribute): Use
371 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
372 calling `put_char_composition'.
374 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
376 * chartab.c (Q_halfwidth_of): New variable.
377 (put_char_composition): Return `<-halfwidth' instead of
378 `=decomposition' for compatibility mapping to single character
380 (Fput_char_attribute): Convert char-specs in value of
381 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
382 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
384 (syms_of_chartab): Add new symbol `<-halfwidth'.
386 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * chartab.c (put_char_composition): Return
389 `<-formed@{isolated|initial|medial|final}' for compatibility
390 mapping to single character tagged
391 `{isolated|initial|medial|final}'.
393 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * chartab.c (Q_compat_of): Deleted.
396 (put_char_composition): Return `<-FOO' for compatibility mapping
397 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
398 of `symbol_name (XSYMBOL(...))'.
399 (Fput_char_attribute): Convert char-specs in value of
400 `{<-|->}font[^*]*' to characters and put reverse links.
401 (Fsave_char_attribute_table): Don't refer Q_compat_of.
402 (syms_of_chartab): Delete builtin symbol `<-compat'.
404 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * chartab.c (Q_circled_of): New variable.
407 (put_char_composition): Return `<-circled' instead of
408 `=decomposition' for compatibility mapping to single character
410 (Fput_char_attribute): Convert char-specs in value of
411 `{<-|->}circled[^*]*' to characters and put reverse links.
412 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
414 (syms_of_chartab): Add new symbol `<-circled'.
416 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
418 * chartab.c (Qto_decomposition_at_circled): New variable.
419 (put_char_composition): Return `=>decomposition@circled' instead
420 of `=decomposition' for compatibility decomposition mapping tagged
422 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
424 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * chartab.c (Q_subscript_of): New variable.
427 (put_char_composition): Return `<-subscript' instead of
428 `=decomposition' for compatibility mapping to single character
430 (Fput_char_attribute): Convert char-specs in value of
431 `{<-|->}subscript[^*]*' to characters and put reverse links.
432 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
434 (syms_of_chartab): Add new symbol `<-subscript'.
436 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
438 * chartab.c (Q_superscript_of): New variable.
439 (put_char_composition): Return `<-superscript' instead of
440 `=decomposition' for compatibility mapping to single character
442 (Fput_char_attribute): Convert char-specs in value of
443 `{<-|->}superscript[^*]*' to characters and put reverse links.
444 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
446 (syms_of_chartab): Add new symbol `<-superscript'.
448 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
450 * chartab.c (Qto_decomposition_at_compat): Deleted.
451 (Qto_decomposition_at_superscript): New variable.
452 (put_char_composition): Use `=>decomposition@superscript' instead
453 of `=decomposition' for compatibility decomposition mapping tagged
455 (Fput_char_attribute): Fix condition about `put_char_composition'.
456 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
457 add news symbol `=>decomposition@superscript'.
459 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
461 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
462 for compatibility decomposition mapping tagged FOO.
463 (Fput_char_attribute): Modify for `put_char_composition'.
465 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
467 * chartab.c (Qto_decomposition_at_compat): New variable.
468 (Q_compat_of): Renamed from `Q_compatibility_of'.
469 (put_char_composition): Rename `Q_compatibility_of' to
470 `Q_compat_of'; return `=>decomposition@compat' for compatibility
471 decomposition mapping.
472 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
474 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
475 `<-compatibility' to `<-compat'.
477 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
479 * chartab.c (Q_compatibility_of): New variable.
480 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
481 object is proved to be a cons cell; return `<-compatibility' if
482 the first element of argument `value' is `compat'.
483 (Fput_char_attribute): Eliminate the first value if
484 `put_char_composition' returns `<-compatibility'.
485 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
486 for `<-compatibility'.
487 (syms_of_chartab): Add new symbol `<-compatibility'.
489 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
491 * chartab.c (Q_canonical): New variable.
492 (put_char_composition): Return a feature name: return
493 `->canonical' if argument `value' specifies single character.
494 (Fput_char_attribute): Use `put_char_composition' to determine
495 feature name for `=decomposition' or `->denotational'.
496 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
498 (syms_of_chartab): Add new symbol `->canonical'.
500 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * chartab.c (Qmap_decomposition): New variable.
503 (Fput_char_attribute): Convert `->decomposition' to
505 (syms_of_chartab): Add new symbol `=decomposition'.
507 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
509 * chartab.c (Fget_range_char_table): Fix serious problem when
512 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
514 * chartab.c (char_table_get_db): Use `read_from_c_string'.
516 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * lread.c (read_from_c_string): New function.
520 * lisp.h (read_from_c_string): New prototype.
522 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
524 * chartab.c (Fput_char_attribute): Convert char-specs in value of
525 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
526 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
527 for `{<-|->}Oracle-Bones[^*]*'.
529 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
531 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
534 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * text-coding.c (Qccs_priority_list): New variable in XEmacs
538 (Fmake_coding_system): Support new property `ccs-priority-list' in
540 (Fcoding_system_property): Likewise.
541 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
542 Vdefault_coded_charset_priority_list in XEmacs CHISE.
543 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
545 (complex_vars_of_file_coding): Define new coding-system-property
546 `ccs-priority-list' in XEmacs CHISE.
548 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
550 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
553 changed to normal function.
554 (encode_char_2): Likewise.
556 * mule-charset.c (decoding_table_put_char): Copied from
557 char-ucs.h; changed to normal function.
558 (encode_char_2): Likewise.
560 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
562 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
564 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
565 (encode_char_2_search_children): New inline function.
566 (encode_char_2): Refer
567 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
568 and use `encode_char_2_search_children'.
570 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
574 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
575 (vars_of_mule_charset): Add new variable
576 `display-coded-charset-priority-use-inheritance' and
577 `display-coded-charset-priority-use-hierarchy-order'.
579 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
581 * char-ucs.h (Q_subsumptive): New extern.
582 (Q_denotational): Likewise.
583 (encode_char_2): Search children specified by `->subsumptive' and
586 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
588 * mule-charset.c (complex_vars_of_mule_charset): Modify the
589 X-registry of `ucs-bmp'.
591 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
593 * chartab.c (char-variants): Refer `->subsumptive',
594 `->denotational' and `->identical' as same as `->ucs-unified'.
596 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
598 * chartab.c (Fput_char_attribute): Convert char-specs in value of
599 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
602 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
604 * text-coding.c: Add EXFUN for `Fregexp_quote'.
605 (decode_add_er_char): Fix problem about infinite loop when a CCS
606 specified in `coded-charset-entity-reference-alist' is not
609 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
611 * mule-charset.c (syms_of_mule_charset): Rename
612 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
614 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
616 * fns.c (simplify_char_spec): Don't allocate new character-object
617 if specified char_spec does not have any CCS-features.
619 * chartab.h: Add EXFUN for Fdefine_char.
621 * chartab.c: Delete EXFUN for Fdefine_char.
623 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
625 * fns.c (simplify_char_spec): Use Fdefine_char instead of
626 Ffind_char for char-spec.
628 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
630 * lisp-disunion.h (XCHARVAL): Fix condition about
633 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
635 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
637 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
638 point; use <Emchar> instead of <int> for character-id.
640 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
643 (make_char): Likewise.
644 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
646 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
647 instead of <int> as the type of return value; use <Lisp_Object>
648 instead of <Emchar> as the type of argument.
649 (XCHARVAL[macro version]): Cast the result into <Emchar>.
651 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
652 syntaxcode> instead of <int>.
654 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
656 * chartab.c (put_char_composition): Use DECODE_CHAR to get
657 character corresponding with UCS code point.
658 (Fput_char_attribute): Likewise.
660 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
661 character in the UCS decoding-table if the char-id is not equal to
664 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
667 for aliases; write `description'; write
668 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
671 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
673 * chartab.c (Fsave_char_attribute_table): Don't use
674 `save_charset_properties'.
676 * mule-charset.c (Fsave_charset_properties): Renamed from
677 `save_charset_properties' and changed to Lisp function again;
678 write property `type' as `CCS'; write properties `final-byte' and
679 `mother' if they exists.
680 (syms_of_mule_charset): Revive builtin function
681 `save-charset-properties' when HAVE_LIBCHISE is defined.
683 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
685 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
686 instead of Vexec_directory.
687 (char_attribute_system_db_file): Likewise.
689 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * chartab.c (Fsave_char_attribute_table): Use
692 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
695 * mule-charset.c (save_charset_properties): Renamed from
696 `Fsave_charset_properties'; changed to non-Lisp function.
697 (syms_of_mule_charset): Abolish builtin function
698 `save-charset-properties'.
700 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * mule-charset.c (Fsave_charset_properties): New function when
703 HAVE_LIBCHISE is defined.
704 (syms_of_mule_charset): Add new builtin function
705 `save-charset-properties' when HAVE_LIBCHISE is defined.
707 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
709 * chartab.c (Fput_char_attribute): Convert char-specs in value of
710 `{<-|->}ancient[^*]*' to characters and put reverse links.
711 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
712 for `{<-|->}ancient[^*]*'.
714 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
716 * chartab.c (Fput_char_attribute): Convert char-specs in value of
717 `{<-|->}original[^*]*' to characters and put reverse links.
718 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
719 for `{<-|->}original[^*]*'.
721 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
725 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
727 * mule-charset.c (Qsystem_char_id): New variable.
729 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
730 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
732 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
734 * chartab.c (Fput_char_attribute): When processing a reference of
735 a character, put into the end of the reversed reference of each
738 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
740 * chartab.c (Q_same): Deleted.
741 (Q_same_of): Deleted.
742 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
743 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
745 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
747 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
749 * chartab.c (Q_vulgar): Deleted.
750 (Q_vulgar_of): Deleted.
751 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
752 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
754 (syms_of_chartab): Don't define `{<-|->}vulgar'.
756 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * chartab.c (Fput_char_attribute): Convert char-specs in value of
759 `{<-|->}wrong[^*]*' to characters and put reverse links.
760 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
761 for `{<-|->}wrong[^*]*'.
763 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
765 * chartab.c (Q_vulgar): New variable.
766 (Q_vulgar_of): New variable.
767 (Fput_char_attribute): Convert char-specs in value of
768 `{->|<-}vulgar' to characters and put reverse links.
769 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
771 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
773 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
775 * text-coding.c (decode_add_er_char): Must to quote prefix string
778 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
780 * mule-charset.c (put_char_ccs_code_point): Store characters of
781 =ucs whose code_points >= 0xF0000.
783 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
785 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
787 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
789 (complex_vars_of_mule_charset): Add new coded-charset
790 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
791 builtin characters over 0xEFFFF.
793 * chartab.c (syms_of_chartab): Don't define symbol
794 `system-char-id' in every case.
796 * char-ucs.h (Qsystem_char_id): New extern variable.
797 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
799 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
801 * text-coding.c (char_encode_utf8): Try to use entity-references
802 for U-000F0000 ... U-0010FFFF.
804 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * text-coding.c (ER_BUF_SIZE): New macro.
807 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
809 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
810 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
812 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
814 * chartab.c (find_char_feature_in_family): New function.
815 (Fchar_feature): Use `find_char_feature_in_family' with
816 `->identical', `<-subsumptive' and `<-denotational'.
818 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
820 * text-coding.c (char_encode_as_entity_reference): Allow prefix
821 within 8 characters; fix infinite loop.
823 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * chartab.c (Q_same): New variable.
826 (Q_same_of): New variable.
827 (Fput_char_attribute): Convert char-specs in value of
828 `{->|<-}same' to characters and put reverse links.
829 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
831 (syms_of_chartab): Add new symbols `{->|<-}same'.
833 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
835 * chartab.c (Q_component): New variable.
836 (Q_component_of): Likewise.
837 (Fput_char_attribute): Convert char-specs in value of
838 `{->|<-}ideographic-component-forms' to characters and put reverse
840 (syms_of_chartab): Add new symbols
841 `{->|<-}ideographic-component-forms'.
843 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
845 * chartab.c (Q_identical): New variable.
846 (Q_identical_from): New variable.
847 (Fchar_feature): Regard `->identical' as a feature to find
849 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
850 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
851 for `{->|<-}identical'.
852 (syms_of_chartab): Add new symbols `{->|<-}identical'.
854 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
856 * char-ucs.h (encode_char_2): New inline function.
857 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
859 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
861 * chartab.c (Fput_char_attribute): Convert char-specs to
862 characters in value of `ideographic-structure'.
863 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
864 for `{<-|->}simplified(@...)'.
865 (Fdefine_char): Try to use predefined character's id.
867 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
869 * fns.c (simplify_char_spec): Try to convert builtin chars to
872 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
874 * chartab.c (Fput_char_attribute): Convert char-specs in value of
875 `<-simplified[^*]*' to characters and put reverse links.
877 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
879 * chartab.c (Q_subsumptive): Renamed from Q_unified.
880 (Q_subsumptive_from): Renamed from Q_unified_from.
881 (Fchar_feature): Use `Q_subsumptive_from' instead of
883 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
885 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
886 `<-unified' to `<-subsumptive'.
888 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
890 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
891 inheritance itself; fix typo; stop recursive search if cyclic
892 inheritance is found.
894 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
896 * chartab.c (Q_denotational): New variable.
897 (Q_denotational_from): New variable.
898 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
899 (put_char_attribute): New function.
900 (Fput_char_attribute): Use `put_char_attribute'; regard
901 `->denotational' and `<-denotational' as same as `->unified' and
903 (syms_of_chartab): Add new symbols `->denotational' and
906 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
908 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
909 `Fget_char_attribute'.
910 (Fchar_variants): Likewise.
911 (get_char_table): Likewise.
912 (Fchar_feature): New function.
913 (put_char_composition): Use `Fchar_feature' instead of
914 `Fget_char_attribute'.
915 (Fput_char_attribute): Likewise; don't put the target character
916 into its `->unified' value.
917 (syms_of_chartab): Add new builtin function `char-feature'.
919 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
922 `Fget_char_attribute'.
923 (char_encode_utf8): Likewise.
925 * chartab.h: Add an EXFUN for `Fchar_feature'.
927 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
929 * chartab.c (Vnext_defined_char_id): New variable.
930 (Fput_char_attribute): Accept characters in `->unified'.
931 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
932 new characters which are not related with builtin char-id ranges.
933 (vars_of_chartab): Add new variable `next-defined-char-id'.
935 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
937 * chartab.c (Q_unified): New variable.
938 (Q_unified_from): New variable.
939 (Fput_char_attribute): Add code for `->unified'.
940 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
943 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
945 * mule-charset.c (decode_ccs_conversion): New function.
946 (decode_defined_char): Use `decode_ccs_conversion'.
947 (decode_builtin_char): Likewise.
949 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
951 * char-ucs.h: Change some charset-ids of private coded-charsets.
953 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
955 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
956 (char_encode_as_entity_reference): Likewise.
957 (decode_coding_big5): Modify for `decode_defined_char' and
959 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
960 avoid compiler warning.
961 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
963 * mule-charset.c (decode_defined_char): Add new argument
964 `without_inheritance'.
965 (Fdecode_char): Add new optional argument `without_inheritance'.
966 (Fdecode_builtin_char): Modify for `Fdecode_char'.
968 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
969 (simplify_char_spec): Likewise.
971 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
974 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
975 (map_char_table): Likewise.
976 (Fdefine_char): Use `Fdecode_char' without inheritance.
977 (Ffind_char): Modify for `Fdecode_char'.
979 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
981 * char-ucs.h (decode_defined_char): Add new argument
982 `without_inheritance'.
983 (DECODE_CHAR): Likewise.
984 (MAKE_CHAR): Modify for `DECODE_CHAR'.
986 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * chartab.c (Vchise_system_db_directory): New variable.
989 (vars_of_chartab): Add new variable `chise-system-db-directory'.
991 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
993 * chartab.c: EXFUN `Fmount_char_attribute_table'.
994 (print_chartab_range): Don't define when `UTF2000' is defined.
995 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
998 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1000 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
1001 and optional argument `rehash' is specified, call
1002 `open_chise_data_source_maybe' before
1003 `chise_ds_foreach_char_feature_name' is called.
1005 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * chartab.c (char_attribute_list_reset_map_func): New function
1008 when HAVE_LIBCHISE is defined.
1009 (Fchar_attribute_list): Add new optional argument `rehash' when
1010 HAVE_LIBCHISE is defined.
1011 (open_chise_data_source_maybe): Use "chise-db" instead of
1013 (char_attribute_system_db_file): Likewise.
1014 (Fload_char_attribute_table): Use
1015 `chise_feature_foreach_char_with_value' instead of
1016 `chise_char_feature_value_iterate'.
1018 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1020 * chartab.c (Vchise_db_directory): New variable.
1021 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
1023 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1025 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
1026 instead of HAVE_CHISE to specify using with libchise.
1028 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
1030 * chartab.h: Don't use HAVE_CHISE_CLIENT.
1032 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
1033 defined or HAVE_LIBCHISE_LIBCHISE is defined.
1034 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
1036 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
1037 HAVE_CHISE to specify using with libchise.
1038 (syms_of_chartab): Don't define symbol `system-char-id' when
1039 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
1041 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1043 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1044 specify CHISE DB support.
1045 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
1046 of `char_attribute_system_db_file' to check feature DB file.
1048 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
1049 HAVE_CHISE_CLIENT to specify CHISE DB support.
1051 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
1052 specify CHISE DB support.
1053 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
1055 (Freset_char_attribute_table): Use `chise_feature_setup_db'
1056 instead of `char_attribute_system_db_file' to check feature DB
1059 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1061 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
1062 `HAVE_CHISE_CLIENT'.
1064 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1066 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
1067 (Fsave_charset_mapping_table): Don't use
1068 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1070 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
1071 (HAVE_LIBCHISE): New macro.
1073 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
1075 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
1076 (Fsave_char_attribute_table): Don't use
1077 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
1079 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1081 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1083 (save_uint16_byte_table): Likewise.
1084 (save_byte_table): Likewise.
1085 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1086 instead of `chise_char_load_feature_value'.
1087 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1089 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1091 * chartab.h (struct Lisp_Char_Table): Delete member
1092 `feature_table' if CHISE is defined.
1094 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1095 (Fcopy_char_table): Likewise.
1096 (char_table_open_db_maybe): Likewise.
1097 (char_table_close_db_maybe): Likewise.
1098 (char_table_get_db): Likewise.
1099 (Fmount_char_attribute_table): Likewise.
1100 (Fload_char_attribute_table): Likewise.
1102 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1104 * mule-charset.c (load_char_decoding_entry_maybe): Use
1105 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1108 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1110 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1111 instead of `chise_open_data_source'.
1112 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1115 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1117 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1118 instead of `chise_ds_open_feature_table'.
1119 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1121 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1123 * mule-charset.c (Fsave_charset_mapping_table): Use
1124 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1125 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1126 `chise_ccs_sync' instead of `chise_ccst_close'.
1127 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1129 * chartab.c (open_chise_data_source_maybe): Modify for
1130 `chise_open_data_source'.
1131 (char_table_open_db_maybe): Modify for
1132 `chise_ds_open_feature_table'.
1134 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1136 * mule-charset.c (load_char_decoding_entry_maybe): Use
1137 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1140 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1142 * mule-charset.c (Fsave_charset_mapping_table): Use
1143 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1144 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1145 `chise_dt_put_char' and `chise_dt_close'.
1146 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1147 `chise_ccs_decode' and `chise_ccst_close' instead of
1148 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1151 * chartab.c (char_table_get_db): Use
1152 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1153 (load_char_attribute_table_map_func): Modify for
1154 `chise_char_feature_value_iterate'.
1155 (Fload_char_attribute_table): Use
1156 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1158 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1160 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1162 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1164 * chartab.c (put_char_table): Modify for inherited coded-charsets
1167 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1169 * chartab.c (Fput_char_table_map_function): Fixed.
1170 (word_boundary_p): Don't check charset in XEmacs CHISE.
1172 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1174 * mule-charset.c (Fsave_charset_mapping_table): Use
1175 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1176 instead of `chise_open_decoding_table'; refer
1177 `default_chise_data_source'; use `chise_dt_close' instead of
1178 `chise_close_decoding_table'.
1179 (load_char_decoding_entry_maybe): Likewise.
1181 * chartab.c (default_chise_data_source): New variable when `CHISE'
1183 (Fcopy_char_table): `ct->ds' is deleted.
1184 (open_chise_data_source_maybe): New function.
1185 (Fclose_char_data_source): New function.
1186 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1187 use `chise_ds_open_feature_table' instead of
1188 `chise_open_feature_table'.
1189 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1190 `chise_close_feature_table'; `cit->ds' is deleted.
1191 (syms_of_chartab): Add new builtin function
1192 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1194 * chartab.h (default_chise_data_source): New extern variable.
1195 (open_chise_data_source_maybe): New prototype.
1196 (struct Lisp_Char_Table): Delete `ds'.
1198 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1200 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1203 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1205 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1206 not defined; add code for non-libchise setting.
1207 (char_table_close_db_maybe): Likewise.
1208 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1210 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1211 even if `CHISE' is not defined.
1212 (Freset_char_attribute_table): Likewise.
1213 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1214 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1215 `char_table_get_db'.
1216 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1217 `char_table_close_db_maybe' even if `CHISE' is not defined.
1219 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1221 * chartab.c (char_table_open_db_maybe): New function.
1222 (char_table_close_db_maybe): New function.
1223 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1224 (Freset_char_attribute_table): Likewise.
1225 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1226 `char_table_close_db_maybe'.
1227 (Fload_char_attribute_table): Likewise.
1229 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1231 * chartab.c: Don't include <chise.h> because it is included in
1233 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1235 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1237 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1239 (Fclose_char_attribute_table): Close `ct->feature_table' and
1240 `ct->ds' when `CHISE' is defined.
1241 (Freset_char_attribute_table): Likewise.
1242 (load_char_attribute_maybe): Use `cit->ds' and
1243 `cit->feature_table' when `CHISE' is defined.
1244 (Fload_char_attribute_table): Likewise.
1246 * chartab.h: Include <chise.h> when `CHISE' is defined.
1247 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1248 when `CHISE' is defined.
1250 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1254 (char_table_description): Likewise.
1255 (Fmake_char_table): Likewise.
1256 (Fcopy_char_table): Likewise.
1257 (Fmount_char_attribute_table): Likewise.
1258 (Fclose_char_attribute_table): Likewise.
1259 (Freset_char_attribute_table): Likewise.
1260 (load_char_attribute_maybe): Likewise.
1261 (Fload_char_attribute_table): Likewise.
1263 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1266 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1268 * chartab.c (load_char_attribute_table_map_func): New function
1269 when CHISE is defined.
1270 (Qload_char_attribute_table_map_function): Don't define when CHISE
1272 (Fload_char_attribute_table_map_function): Likewise.
1273 (Fload_char_attribute_table): Use libchise when `CHISE' is
1275 (syms_of_chartab): Don't define
1276 `load-char-attribute-table-map-function' when CHISE is defined.
1278 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1280 * chartab.c: Include <chise.h> when `CHISE' is defined.
1281 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1283 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1285 * mule-charset.c (charset_code_point): Fix problem when searching
1286 in mother CCS fails with `defined_only' mode.
1288 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1290 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1291 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1292 (put_char_composition): Likewise.
1293 (Fput_char_attribute): Likewise.
1294 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1296 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1298 * chartab.c (Q_ucs): Deleted.
1299 (Fput_char_attribute): Don't refer `->ucs'.
1300 (Fdefine_char): Likewise.
1301 (Ffind_char): Likewise.
1302 (syms_of_chartab): Delete `->ucs'.
1304 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1306 * mule-charset.c (Qmap_cns11643_2): Renamed from
1307 `Qchinese_cns11643_2'.
1308 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1309 `chinese-cns11643-2'.
1310 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1313 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1315 * mule-charset.c (Qmap_cns11643_1): Renamed from
1316 `Qchinese_cns11643_1'.
1317 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1318 `chinese-cns11643-1'.
1319 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1322 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1325 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1327 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1330 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1332 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1333 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1335 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1338 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1340 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1341 (syms_of_mule_charset): Add new symbol `=big5' instead of
1343 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1345 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1347 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1348 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1350 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1353 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1355 * mule-charset.c (Qmap_jis_x0212): Renamed from
1356 `Qjapanese_jisx0212'.
1357 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1358 `japanese-jisx0212'.
1359 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1362 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1364 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1365 `Qjapanese_jisx0208'.
1366 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1367 of `japanese-jisx0208'.
1368 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1371 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1373 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1374 `Qjapanese_jisx0208_1978'.
1375 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1376 of `japanese-jisx0208-1978'.
1377 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1380 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1382 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1383 only for XEmacs CHISE.
1385 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1387 * char-ucs.h: Compact non-ISO-IR charset-ids.
1388 (LEADING_BYTE_UCS): Changed to -177.
1389 (LEADING_BYTE_CONTROL_1): Changed to -77.
1390 (LEADING_BYTE_UCS_BMP): Changed to -176.
1391 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1393 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1395 * mule-charset.c (Qiso_ir): New variable.
1396 (Fmake_charset): Recognise new property `iso-ir'.
1397 (syms_of_mule_charset): Add new symbol `iso-ir'.
1399 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1401 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1402 n to -n; charset-id of non ISO-IR sets are changed to positive
1405 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1407 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1408 for &MCS-XXXXXXXX; values.
1410 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1412 * mule.c (Vxemacs_chise_version): Renamed from
1413 `Vutf_2000_version'.
1414 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1415 `utf-2000-version' as an alias for `xemacs-chise-version'.
1417 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1419 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1420 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1423 * config.h.in (CHISE): New macro.
1425 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1427 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1429 (Qmap_ucs): New variable.
1430 (syms_of_mule_charset): Add new symbol `=ucs'.
1431 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1433 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1434 (simplify_char_spec): Likewise.
1436 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1438 * char-ucs.h (Qmap_ucs): New extern variable.
1440 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1442 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1443 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1444 don't define it when UTF2000 is not defined.
1445 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1446 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1447 when UTF2000 is not defined.
1448 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1449 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1451 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1453 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1455 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1457 (syms_of_mule_charset): Delete `ucs-gb'.
1458 (complex_vars_of_mule_charset): Likewise.
1460 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1462 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1464 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1465 (Qucs_cns): Deleted.
1466 (syms_of_mule_charset): Delete `ucs-cns'.
1467 (complex_vars_of_mule_charset): Likewise.
1469 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1471 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1473 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1474 (Qucs_jis): Deleted.
1475 (syms_of_mule_charset): Delete `ucs-jis'.
1476 (complex_vars_of_mule_charset): Likewise.
1478 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1480 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1482 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1484 (syms_of_mule_charset): Delete `ucs-ks'.
1485 (complex_vars_of_mule_charset): Likewise.
1487 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1489 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1490 (Qideograph_daikanwa_2): Deleted.
1491 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1492 (complex_vars_of_mule_charset): Likewise.
1494 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1495 (LEADING_BYTE_DAIKANWA_1): Deleted.
1496 (LEADING_BYTE_DAIKANWA_2): Deleted.
1497 (MIN_CHAR_DAIKANWA): Deleted.
1498 (MAX_CHAR_DAIKANWA): Deleted.
1500 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1502 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1503 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1504 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1506 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1507 (Vcharset_ideograph_daikanwa): Deleted.
1508 (Qideograph_hanziku_{1..12}): Deleted.
1509 (Qideograph_daikanwa): Deleted.
1510 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1511 Vcharset_ideograph_daikanwa.
1512 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1513 `ideograph-hanziku-{1..12}'.
1514 (complex_vars_of_mule_charset): Likewise.
1516 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1518 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1520 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1521 (Qideograph_gt_pj_{1..11}): Deleted.
1522 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1523 (complex_vars_of_mule_charset): Likewise.
1525 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1527 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1528 (Vcharset_ideograph_gt): Deleted.
1529 (Qucs_big5): Deleted.
1530 (Qideograph_gt): Deleted.
1531 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1533 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1536 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1537 (LEADING_BYTE_GT): Deleted.
1538 (MIN_CHAR_GT): Deleted.
1539 (MAX_CHAR_GT): Deleted.
1541 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1543 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1545 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1547 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1548 (save_uint16_byte_table): Likewise.
1549 (save_byte_table): Likewise; convert values by it.
1550 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1551 for `ideographic-structure'.
1552 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1553 as the filter for `ideographic-structure'.
1555 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1557 * chartab.c (put_char_composition): New function.
1558 (Fput_char_attribute): Use `put_char_composition'; use
1559 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1561 * fns.c (simplify_char_spec): New function.
1562 (char_ref_simplify_spec): New function.
1563 (Fchar_refs_simplify_char_specs): New function.
1564 (syms_of_fns): Add new builtin function
1565 `char-refs-simplify-char-specs'.
1567 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1569 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1570 (Qideograph_cbeta): Deleted.
1571 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1572 (complex_vars_of_mule_charset): Likewise.
1574 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1575 (MIN_CHAR_CBETA): Comment out.
1576 (MAX_CHAR_CBETA): Likewise.
1578 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1580 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1581 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1582 CHISE client feature.
1584 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1586 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1588 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1590 * mule-charset.c (charset_lookup_description_1): Use
1591 `NUM_LEADING_BYTES' in UTF-2000.
1593 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1595 * char-ucs.h (GC_CHARSETP): Deleted.
1597 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1599 * char-ucs.h (MAX_CHAR_GT): Updated.
1601 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1603 * text-coding.c: Sync with XEmacs 21.4.10.
1605 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1607 * mule-charset.c (Vcharset_china3_jef): Deleted.
1608 (Qchina3_jef): Deleted.
1609 (syms_of_mule_charset): Don't define `china3-jef'.
1610 (complex_vars_of_mule_charset): Likewise.
1612 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1613 (MIN_CHAR_CHINA3_JEF): Comment out.
1614 (MAX_CHAR_CHINA3_JEF): Comment out.
1616 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1618 * mule-charset.c (Vcharset_ucs_gb): New variable.
1619 (Qucs_gb): New variable.
1620 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1621 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1623 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1625 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1627 * mule-charset.c (charset_code_point): if a coded-charset has a
1628 final-byte, don't inherit the builtin range of the mother CCS.
1630 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1632 * mule-charset.c (charset_code_point): Fix problem about
1635 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1637 * mule-charset.c (decode_builtin_char): Reorganized.
1639 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1641 * text-coding.c (char_encode_as_entity_reference): Modify for
1642 `charset_code_point'.
1643 (char_encode_shift_jis): Likewise.
1644 (char_encode_big5): Likewise.
1645 (char_encode_utf8): Likewise.
1646 (char_encode_iso2022): Likewise.
1648 * mule-charset.c (charset_code_point): Add new argument
1650 (Fencode_char): Add new optional argument `defined_only'.
1652 * chartab.c (put_char_table): Modify for `charset_code_point'.
1654 * char-ucs.h (charset_code_point): Add new argument
1656 (encode_char_1): Modify for `charset_code_point'.
1658 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1660 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1661 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1663 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1665 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1666 (Qjis_x0208): Likewise.
1667 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1668 XCHARSET_FINAL(charset).
1669 (charset_code_point): Modify condition for final-byte based
1671 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1672 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1673 in UTF-2000; specify `=jis-x0208' as the mother of
1674 `japanese-jisx0208-1978', `japanese-jisx0208' and
1675 `japanese-jisx0208-1990' in UTF-2000.
1677 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1679 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1681 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1683 * text-coding.c (decode_coding_utf16): Support UTF-16.
1684 (char_encode_utf16): Fixed.
1686 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1688 * text-coding.c (Qutf16): New variable in MULE.
1689 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1690 (Fcoding_system_type): Add `utf-16' in MULE.
1691 (struct detection_state): Add a structure for utf16 in MULE.
1692 (detect_coding_type): Setup st->utf16.mask in MULE.
1693 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1695 (reset_encoding_stream): Use `char_encode_utf16' and
1696 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1697 (detect_coding_utf16): New function [incomplete].
1698 (decode_coding_utf16): New function [support only UCS-2].
1699 (char_encode_utf16): New function.
1700 (char_finish_utf16): New function.
1701 (syms_of_file_coding): Add new symbol `utf-16'; setup
1702 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1704 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1706 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1707 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1709 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1711 * chartab.c (put_char_table): When a charset is specified as a
1712 range in UTF-2000, don't support builtin characters.
1714 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1716 * mule-charset.c (decode_defined_char): Don't refer external
1717 database if Qunbound or Qnil are found.
1718 (Fsave_charset_mapping_table): Don't define it if
1719 HAVE_CHISE_CLIENT is not defined.
1720 (Freset_charset_mapping_table): New function.
1721 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1722 found in external database.
1723 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1724 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1725 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1727 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1729 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1732 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1734 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1735 Q_lowercase, Q_uppercase in UTF-2000.
1737 * chartab.c (get_char_table): Add special code for the standard
1738 case table to use character attribute `->downcase' and
1739 `->uppercase' for case operations in UTF-2000.
1741 * casetab.c (Qflippedcase): New variable in UTF-2000.
1742 (Q_lowercase): Likewise.
1743 (Q_uppercase): Likewise.
1744 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1745 and `->uppercase' in UTF-2000.
1746 (complex_vars_of_casetab): Assign attribute name `downcase' to
1747 downcase and CANON table of Vstandard_case_table in UTF-2000;
1748 assign attribute name `flippedcase' to upcase and EQV table of
1749 Vstandard_case_table in UTF-2000.
1751 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1753 * text-coding.c (decode_add_er_char): Support isolated-chars.
1754 (char_encode_as_entity_reference): Likewise.
1756 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1758 * emacs.c (Vutf_2000_lisp_directory): New variable.
1759 (Vconfigure_utf_2000_lisp_directory): Likewise.
1760 (complex_vars_of_emacs): Add new variable
1761 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1763 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1765 * char-ucs.h (DECODE_CHAR): Delete special code for
1766 `chinese-big5-1' and `chinese-big5-2'.
1768 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1769 (Qbig5_2): Likewise.
1770 (decode_defined_char): Support CONVERSION_BIG5_1 and
1772 (decode_builtin_char): Likewise.
1773 (charset_code_point): Likewise.
1774 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1775 'conversion in UTF-2000.
1776 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1777 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1778 `chinese-big5-2' as children of `chinese-big5'.
1780 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1781 (CONVERSION_BIG5_2): New macro.
1783 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1785 * text-coding.c (char_encode_big5): Support entity-reference.
1787 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1789 * text-coding.c (char_encode_as_entity_reference): New function.
1790 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1792 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1794 * text-coding.c (decode_coding_big5): Support entity-reference
1797 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1799 * text-coding.c (allocate_coding_system): Initialize initial
1800 charsets for CODESYS_UTF8.
1801 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1802 charset-g2 for CODESYS_UTF8.
1803 (decode_coding_utf8): Use charset-g0.
1804 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1805 to force variants to map to UCS.
1807 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1809 * text-coding.c (Qutf_8_mcs): New variable.
1810 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1811 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1812 instead of `utf-8' in UTF-2000.
1814 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1816 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1817 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1818 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1819 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1820 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1821 CONVERSION_96x96x96x96 are introduced.
1822 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1823 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1824 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1826 * char-ucs.h (CONVERSION_94): New macro.
1827 (CONVERSION_96): New macro.
1828 (CONVERSION_94x94): New macro.
1829 (CONVERSION_96x96): New macro.
1830 (CONVERSION_94x94x94): New macro.
1831 (CONVERSION_96x96x96): New macro.
1832 (CONVERSION_94x94x94x60): New macro.
1833 (CONVERSION_94x94x94x94): New macro.
1834 (CONVERSION_96x96x96x96): New macro.
1836 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1838 * chartab.c (Vcharacter_variant_table): Deleted.
1839 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1840 of `Vcharacter_variant_table'.
1841 (Fput_char_attribute): Likewise.
1842 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1843 (complex_vars_of_chartab): Likewise.
1845 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1847 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1849 * fns.c (Qideographic_structure): New variable.
1850 (Qkeyword_char): New variable.
1851 (ids_format_unit): New function.
1852 (Fideographic_structure_to_ids): New function.
1853 (syms_of_fns): Add new symbols `ideographic-structure' and
1854 `:char'; add new builtin function `ideographic-structure-to-ids'.
1856 * data.c (Fchar_ref_p): New function.
1857 (syms_of_data): Add new builtin function `char-ref-p'.
1859 * chartab.h: Add an EXFUN for `Ffind_char'.
1861 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * text-coding.c (Vcharacter_composition_table): Deleted.
1864 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1867 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1869 (Vcharacter_composition_table): Deleted.
1870 (Fget_composite_char): Use the implementation for external-DB
1871 support in every UTF-2000.
1872 (Fput_char_attribute): Likewise.
1873 (char_attribute_system_db_file): Don't define if external-DB
1874 feature is not available.
1875 (Fsave_char_attribute_table): Likewise.
1876 (Fmount_char_attribute_table): Likewise.
1877 (Fclose_char_attribute_table): Likewise.
1878 (Freset_char_attribute_table): Likewise.
1879 (Fload_char_attribute_table): Likewise.
1880 (syms_of_chartab): Don't define `save-char-attribute-table',
1881 `mount-char-attribute-table', `reset-char-attribute-table',
1882 `close-char-attribute-table' and `load-char-attribute-table' if
1883 external-DB feature is not available.
1884 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1886 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1888 * text-coding.c (Qcomposition): Add extern if external-DB feature
1890 (Vcharacter_composition_table): Don't add extern if external-DB
1891 feature is supported.
1892 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1893 character composition rule if external-DB feature is supported.
1895 * chartab.c (Vcharacter_composition_table): Don't define if
1896 external-DB feature is supported.
1897 (Qcomposition): New variable.
1898 (Fget_composite_char): New implementation for external-DB support.
1899 (Fput_char_attribute): Use `composition' property of each
1900 character instead of `Vcharacter_composition_table' to store
1901 character-composition rules if external-DB feature is supported.
1902 (syms_of_chartab): Add new symbol `composition'.
1903 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1904 external-DB feature is supported.
1906 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1908 * chartab.c (Vchar_db_stingy_mode): New variable.
1909 (load_char_attribute_maybe): Close database if
1910 Vchar_db_stingy_mode is not NIL.
1911 (Fload_char_attribute_table_map_function): Use
1912 `get_char_id_table_0' instead of `get_char_id_table'.
1913 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1915 * chartab.h (get_char_id_table_0): New inline function.
1916 (get_char_id_table): Use `get_char_id_table_0'.
1918 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1920 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1921 and `COMPOSE_ADD_CHAR'.
1922 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1924 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1926 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1927 instead of `DECODE_ADD_UCS_CHAR'.
1928 (COMPOSE_ADD_CHAR): Likewise.
1930 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1932 * text-coding.c (decode_flush_er_chars): New inline function.
1933 (decode_add_er_char): New function.
1934 (decode_coding_utf8): Use `decode_flush_er_chars' and
1935 `decode_add_er_char'.
1937 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1939 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1940 done before `decode_output_utf8_partial_char'.
1942 * mule-charset.c (complex_vars_of_mule_charset): Specify
1943 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1944 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1946 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1948 * mule-charset.c (decode_defined_char): New function; search
1950 (decode_builtin_char): Don't search mother if
1951 XCHARSET_MAX_CODE(charset) == 0.
1952 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1953 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1954 (Fdecode_char): Use `decode_defined_char' instead of
1955 `DECODE_DEFINED_CHAR'.
1956 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1957 mother of `Vcharset_ucs_jis'.
1959 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1960 instead of `DECODE_DEFINED_CHAR'.
1962 * char-ucs.h (decode_defined_char): Renamed from
1963 `DECODE_DEFINED_CHAR'; changed to normal function.
1964 (DECODE_CHAR): Use `decode_defined_char' instead of
1965 `DECODE_DEFINED_CHAR'.
1967 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1969 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1971 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1973 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1975 (Quse_entity_reference): New variable.
1979 (coding_system_description): Add description for
1980 `ccs_priority_list'.
1981 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1982 (allocate_coding_system): Initialize `ccs_priority_list' in
1984 (Fmake_coding_system): Add description about
1985 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1987 (Fcoding_system_property): Accept `disable-composition' and
1988 `use-entity-reference' in UTF-2000.
1989 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1991 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1992 (decode_coding_utf8): Decode entity-reference if
1993 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1994 (char_encode_utf8): Encode non-Unicode characters as
1995 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1997 (syms_of_file_coding): Add new symbols `use-entity-reference',
1999 (vars_of_file_coding): Add new variable
2000 `coded-charset-entity-reference-alist'.
2001 (complex_vars_of_file_coding): Declare `disable-composition' and
2002 `use-entity-reference' to be coding-system-properties in UTF-2000.
2004 * file-coding.h (struct Lisp_Coding_System): Add new member
2005 `use_entity_reference' and `ccs_priority_list'.
2006 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2007 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
2008 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
2010 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2012 * chartab.c (save_uint8_byte_table): Don't clear the table.
2013 (save_uint16_byte_table): Likewise.
2014 (save_byte_table): Likewise.
2015 (Fmount_char_attribute_table): New function.
2016 (syms_of_chartab): Add new builtin function
2017 `mount-char-attribute-table'.
2019 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2021 * mule-charset.c (Fsave_charset_mapping_table): Open database as
2023 (load_char_decoding_entry_maybe): Open database as read-only mode.
2025 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
2026 open database as "w+" mode.
2027 (load_char_attribute_maybe): Open database as read-only mode.
2028 (Fload_char_attribute_table): Likewise.
2030 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2032 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
2033 (char_table_description): Delete member `db_file'.
2034 (Fmake_char_table): Don't refer `ct->db_file'.
2035 (Fcopy_char_table): Likewise.
2036 (Fsave_char_attribute_table): Likewise.
2037 (Fclose_char_attribute_table): Likewise.
2038 (Freset_char_attribute_table): Likewise.
2039 (load_char_attribute_maybe): Likewise.
2040 (Fload_char_attribute_table): Likewise.
2042 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
2044 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2046 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
2047 (Fsave_char_attribute_table): Don't check `ct->db_file' if
2049 (load_char_attribute_maybe): Likewise.
2050 (Fload_char_attribute_table): Likewise.
2052 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2054 * chartab.c (Fclose_char_attribute_table): Set Qnil on
2055 `ct->db_file' unconditionally.
2057 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2059 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
2061 (char_table_description): Add description for `db_file' and `db'
2063 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
2065 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
2066 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
2067 (Fclose_char_attribute_table): New function.
2068 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
2069 (load_char_attribute_maybe): Change interface; use `cit->db_file'
2071 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
2072 (syms_of_chartab): Add new builtin function
2073 `Fclose_char_attribute_table'.
2075 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2077 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
2079 (load_char_attribute_maybe): Change interface.
2080 (get_char_id_table): Modify for `load_char_attribute_maybe'.
2082 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2084 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2086 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2088 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2089 instead of `DECODE_CHAR' for mother; don't use special code for
2090 chinese-big5 to use code space of chinese-big5-1 and
2092 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2093 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2095 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2096 (MAX_CHAR_BIG5_CDP): Revival.
2098 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2100 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2101 the XLFD registry-encoding name of `chinese-big5'.
2103 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2105 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2106 (Qchinese_big5_cdp): Deleted.
2107 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2108 (complex_vars_of_mule_charset): Delete coded-charset
2111 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2112 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2113 `CHARSET_ID_OFFSET - n' for private CCS.
2114 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2115 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2116 of `MIN_LEADING_BYTE'.
2117 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2118 `(CHARSET_ID_OFFSET - 97)'.
2119 (MIN_CHAR_BIG5_CDP): Deleted.
2120 (MAX_CHAR_BIG5_CDP): Deleted.
2122 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2124 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2126 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2128 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2129 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2132 * chartab.c (Vutf_2000_version): Moved to mule.c.
2133 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2135 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2137 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2138 when HAVE_CHISE_CLIENT is not defined.
2140 * mule.c (vars_of_mule): Provide feature `chise' when
2141 HAVE_CHISE_CLIENT is defined.
2143 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2145 * config.h.in (UTF2000): Add comment.
2146 (HAVE_CHISE_CLIENT): New macro.
2148 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2150 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2152 (Fput_char_attribute): Likewise.
2153 (char_attribute_system_db_file): Encode file-name of attribute.
2154 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2157 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2159 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2160 (Fsave_charset_mapping_table): Use
2161 `char_attribute_system_db_file'.
2162 (load_char_decoding_entry_maybe): Likewise.
2164 * chartab.h (Qsystem_char_id): New external variable.
2165 (char_attribute_system_db_file): New prototype.
2167 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2168 (char_attribute_system_db_file): New function.
2169 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2170 (Freset_char_attribute_table): Likewise.
2171 (load_char_attribute_maybe): Likewise.
2172 (Fload_char_attribute_table): Likewise.
2173 (syms_of_chartab): Add new symbol `system-char-id'.
2175 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2177 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2178 `XCHARSET_GRAPHIC(ccs)'.
2180 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2182 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2184 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2186 * chartab.c (Q_ucs_variants): New variable.
2187 (syms_of_chartab): Add new symbol `->ucs-variants'.
2188 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2189 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2190 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2192 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2194 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2195 `HAVE_DATABASE' is defined.
2196 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2197 `HAVE_DATABASE' is defined.
2199 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2201 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2203 (Freset_char_attribute_table): New function.
2204 (syms_of_chartab): Add new builtin function
2205 `reset-char-attribute-table'.
2207 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2209 * chartab.c (load_char_attribute_maybe): Don't make directories.
2211 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2213 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2215 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2218 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2220 * mule-charset.c (Fsave_charset_mapping_table): Use
2221 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2223 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2224 instead of `XCHARSET_CHARS'.
2226 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2228 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2229 (XCHARSET_BYTE_SIZE): Likewise.
2231 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2233 (XCHARSET_BYTE_SIZE): Likewise.
2235 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2237 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2238 data-directory to store database.
2239 (Fsave_char_attribute_table): Likewise.
2240 (load_char_attribute_maybe): Likewise.
2241 (Fload_char_attribute_table): Likewise.
2243 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2245 * mule-charset.c (Fsave_charset_mapping_table): New function.
2246 (syms_of_mule_charset): Add new builtin function
2247 `save-charset-mapping-table'.
2249 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2251 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2252 (get_ccs_octet_table): New inline function.
2253 (put_ccs_octet_table): Likewise.
2254 (decoding_table_put_char): Use `get_ccs_octet_table' and
2255 `put_ccs_octet_table'.
2256 (decoding_table_remove_char): Use `decoding_table_put_char'.
2257 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2259 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2260 into encoding_table.
2261 (make_charset): Use Qunbound instead Qnil as initial value of
2264 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2266 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2267 element is Qunloaded.
2268 (map_over_uint16_byte_table): Likewise.
2269 (map_over_byte_table): Likewise.
2270 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2271 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2272 database support, load encoding-table of the specified
2273 coded-charset if it is not loaded yet.
2274 (save_uint8_byte_table): New function of UTF-2000 with external
2276 (save_uint16_byte_table): Likewise.
2277 (save_byte_table): Likewise.
2278 (Fput_char_attribute): Don't store value into external database
2279 even if the external database feature is supported in UTF-2000;
2280 set `attribute' as name of char-table if the external database
2281 feature is supported.
2282 (Fsave_char_attribute_table): New function in UTF-2000.
2283 (syms_of_chartab): Add new builtin function
2284 `save-char-attribute-table' in UTF-2000.
2286 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2288 * chartab.c (char_attribute_table_to_put): New variable in
2290 (Qput_char_table_map_function): Likewise.
2291 (value_to_put): Likewise.
2292 (Fput_char_table_map_function): New function in UTF-2000.
2293 (put_char_table): Use `Fmap_char_attribute' for
2294 CHARTAB_RANGE_CHARSET in UTF-2000.
2295 (Fput_char_attribute): Store symbol instead of string in
2296 `XCHAR_TABLE_NAME (table)'.
2297 (load_char_attribute_maybe): Likewise.
2298 (syms_of_chartab): Add new symbol/function
2299 `put-char-table-map-function'.
2301 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2303 * database.h: Add new EXFUN for `Fmap_database'.
2305 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2306 (syms_of_database): Likewise.
2308 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2310 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2311 (XCHAR_TABLE_UNLOADED): Likewise.
2313 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2314 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2315 HAVE_DATABASE is defined.
2316 (char_attribute_table_to_load): New variable of UTF-2000 with
2317 external database support.
2318 (Qload_char_attribute_table_map_function): Likewise.
2319 (Fload_char_attribute_table_map_function): New function of
2320 UTF-2000 with external database support.
2321 (Fload_char_attribute_table): New function of UTF-2000.
2322 (Fmap_char_attribute): Call Fload_char_attribute_table if
2323 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2324 (syms_of_chartab): Add new symbol and function
2325 `load-char-attribute-table-map-function' in UTF-2000 with external
2326 database support; add new function `load-char-attribute-table' in
2329 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2331 * chartab.h (load_char_attribute_maybe): New prototype for
2332 UTF-2000 with DATABASE support.
2333 (get_char_id_table): Use `load_char_attribute_maybe' if
2334 HAVE_DATABASE is defined.
2336 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2337 with DATABASE support.
2339 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2341 * chartab.c (Fput_char_attribute): Use S-expression as key of
2344 * chartab.h (get_char_id_table): Use S-expression as key of
2347 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2349 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2350 if an element is not loaded, load the corresponding attributes
2351 from an external database.
2352 (map_over_uint16_byte_table): Likewise.
2353 (map_over_byte_table): Likewise.
2354 (map_char_table): Modify for `map_over_uint8_byte_table',
2355 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2356 element is not loaded, load the corresponding attributes from an
2358 (Fput_char_attribute): Change initial values to Qunloaded.
2360 * chartab.h (get_char_id_table): If a character attribute is not
2361 loaded and the attribute value is not found in an external
2362 database, store Qunbound as the attribute value.
2364 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2366 * chartab.c (BT_UINT8_unloaded): New macro.
2367 (UINT8_VALUE_P): Accept Qunloaded.
2368 (UINT8_ENCODE): Likewise.
2369 (UINT8_DECODE): Likewise.
2370 (BT_UINT16_unloaded): New macro.
2371 (UINT16_VALUE_P): Accept Qunloaded.
2372 (UINT16_ENCODE): Likewise.
2373 (UINT16_DECODE): Likewise.
2374 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2376 (mark_char_table): Mark `ct->name' in UTF-2000.
2377 (char_table_description): Add `name' in UTF-2000.
2378 (Fmake_char_table): Initialize `ct->name'.
2379 (Fcopy_char_table): Copy `ct->name'.
2380 (Fput_char_attribute): Store value into an external database if
2381 HAVE_DATABASE is defined.
2383 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2385 (CHAR_TABLE_NAME): New macro in UTF-2000.
2386 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2387 (get_char_id_table): Try to read an external database if Qunloaded
2388 is stored in a table.
2390 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2393 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2395 * database.h: Add EXFUN definitions for Fopen_database,
2396 Fput_database, Fget_database and Fclose_database.
2398 * data.c (Qunloaded): New variable in UTF-2000.
2400 * lisp.h (Qunloaded): New variable in UTF-2000.
2402 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2404 * mule-charset.c (put_char_ccs_code_point): Modify for
2405 `decoding_table_remove_char' and `decoding_table_put_char'.
2406 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2408 * char-ucs.h (decoding_table_remove_char): Change arguments to
2409 hide decoding_table vector.
2410 (decoding_table_put_char): Likewise.
2412 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2414 * mule-charset.c (decoding_table_remove_char): Moved to
2416 (decoding_table_put_char): Likewise.
2418 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2419 from mule-charset.c].
2420 (decoding_table_remove_char): New inline function [moved from
2422 (decoding_table_put_char): Likewise.
2424 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2426 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2429 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2431 * mule-charset.c (decode_builtin_char): Support mother charsets.
2433 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2435 * mule-charset.c (Q94x94x60): New variable.
2436 (charset_code_point): Support conversion `94x94x60'.
2437 (Fmake_charset): Likewise.
2438 (syms_of_mule_charset): Add new symbol `94x94x60'.
2440 * char-ucs.h (CONVERSION_94x94x60): New macro.
2442 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2444 * mule-charset.c (charset_code_point): Unify code about
2447 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2449 * mule-charset.c (charset_code_point): Merge code about builtin
2450 characters into code about mother charsets; don't use
2451 `range_charset_code_point'.
2452 (range_charset_code_point): Deleted.
2454 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2456 * mule-charset.c (Qcode_offset): New variable.
2457 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2458 `max-code'; accept new property `code-offset'.
2459 (syms_of_mule_charset): Add new symbol `code-offset'.
2461 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2463 * mule-charset.c (range_charset_code_point): Fixed.
2465 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2467 * mule-charset.c (decode_builtin_char): Change semantics of
2468 code-offset of coded-charset.
2469 (charset_code_point): Likewise.
2470 (range_charset_code_point): Likewise.
2471 (complex_vars_of_mule_charset): Modify for the change.
2473 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2475 * mule-charset.c (Fencode_char): Reverse arguments.
2477 * mule-charset.c (charset_code_point): Fixed.
2479 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2481 * mule-charset.c (Vcharset_mojikyo): Deleted.
2482 (Vcharset_mojikyo_2022_1): Deleted.
2483 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2484 (Qmin_code): New variable in UTF-2000.
2485 (Qmax_code): Likewise.
2486 (Qmother): Likewise.
2487 (Qconversion): Likewise.
2489 (Qmojikyo): Deleted.
2490 (Qmojikyo_2022_1): Deleted.
2491 (Qmojikyo_pj_{1..22}): Deleted.
2492 (mark_charset): Mark `cs->mother'.
2493 (charset_description): Add description for `mother'.
2494 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2495 new arguments `mother' and `conversion'; use
2496 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2497 (charset_code_point): Moved from char-ucs.h; support `mother'
2499 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2500 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2501 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2502 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2503 allow 2 as the value of `graphic' in UTF-2000; add new properties
2504 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2505 require `final' in UTF-2000; modify for `make_charset'.
2506 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2507 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2508 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2509 (Fencode_char): New function.
2510 (syms_of_mule_charset): Add new builtin function `encode-char' in
2511 UTF-2000; add new symbols `min-code', `max-code', `mother',
2512 `conversion' and `94x60'; delete symbols `mojikyo',
2513 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2514 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2515 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2516 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2518 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2519 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2521 * char-ucs.h (Vcharset_mojikyo): Deleted.
2522 (Vcharset_mojikyo_2022_1): Deleted.
2523 (LEADING_BYTE_MOJIKYO): Deleted.
2524 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2525 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2526 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2527 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2528 add new member `mother'; add new member `conversion'.
2529 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2530 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2531 (CHARSET_MOTHER): New macro.
2532 (CHARSET_CONVERSION): New macro.
2533 (CONVERSION_IDENTICAL): New macro.
2534 (CONVERSION_94x60): New macro.
2535 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2536 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2537 (XCHARSET_MOTHER): New macro.
2538 (XCHARSET_CONVERSION): New macro.
2539 (MIN_CHAR_MOJIKYO): Deleted.
2540 (MAX_CHAR_MOJIKYO): Deleted.
2541 (DECODE_MOJIKYO_2022): Deleted.
2542 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2543 (charset_code_point): Changed to non-inline function.
2544 (encode_char_1): Use `charset_code_point'.
2545 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2547 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2549 * lread.c (read_compiled_function): Fix prototype.
2550 (read_vector): Likewise.
2552 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2554 * lrecord.h (struct lrecord_header): Delete `older'.
2555 (set_lheader_implementation): Delete code for `older'.
2556 (set_lheader_older_implementation): Deleted.
2557 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2558 (OLDER_RECORD_P): Deleted.
2559 (OLDER_RECORD_HEADER_P): Deleted.
2560 (alloc_older_lcrecord): Deleted.
2561 (alloc_older_lcrecord_type): Deleted.
2563 * alloc.c (all_older_lcrecords): Deleted.
2564 (alloc_older_lcrecord): Deleted.
2565 (disksave_object_finalization_1): Delete code for older objects.
2566 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2567 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2569 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2571 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2572 instead of `make_older_vector'.
2573 (put_char_ccs_code_point): Likewise.
2574 (mark_charset): Mark `cs->decoding_table'.
2575 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2577 * lisp.h (make_older_vector): Deleted.
2578 (make_vector_newer): Deleted.
2580 * config.h.in (HAVE_GGC): Deleted.
2582 * alloc.c (make_older_vector): Deleted.
2583 (make_vector_newer_1): Deleted.
2584 (make_vector_newer): Deleted.
2586 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2588 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2589 (Qideograph_daikanwa_2): New variable.
2590 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2591 (complex_vars_of_mule_charset): Add new coded-charset
2592 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2593 `LEADING_BYTE_DAIKANWA'.
2595 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2596 (LEADING_BYTE_DAIKANWA_1): New macro.
2597 (LEADING_BYTE_DAIKANWA_2): New macro.
2598 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2600 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2602 * mule-charset.c (complex_vars_of_mule_charset): Change
2603 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2604 the second revised version.
2606 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2608 * mule-charset.c (Vcharset_ucs_smp): New variable.
2609 (Vcharset_ucs_sip): New variable.
2610 (Qucs_smp): New variable.
2611 (Qucs_sip): New variable.
2612 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2613 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2614 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2615 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2616 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2617 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2619 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2620 (LEADING_BYTE_UCS_SIP): New macro.
2621 (MIN_CHAR_SMP): New macro.
2622 (MAX_CHAR_SMP): New macro.
2623 (MIN_CHAR_SIP): New macro.
2624 (MAX_CHAR_SIP): New macro.
2626 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2628 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2631 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2633 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2634 value; don't store value into `encoding_table' of `Lisp_Charset'.
2635 (mark_charset): `encoding_table' was deleted.
2636 (charset_description): Likewise.
2637 (make_charset): Likewise.
2638 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2639 `put_char_ccs_code_point'.
2641 * chartab.h (Fput_char_attribute): New EXFUN.
2643 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2644 is unified with normal symbol space.
2645 (Fget_char_attribute): Likewise.
2646 (Fput_char_attribute): Likewise; behavior of
2647 `put_char_ccs_code_point' is changed.
2649 * char-ucs.h: Include "elhash.h".
2650 (Vchar_attribute_hash_table): New external variable.
2651 (struct Lisp_Charset): Delete `encoding_table'.
2652 (CHARSET_ENCODING_TABLE): New implementation; refer
2653 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2656 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2658 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2661 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2663 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2666 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2668 * chartab.c (uint8_byte_table_description): New constant.
2669 (uint8-byte-table): Use `uint8_byte_table_description'.
2670 (uint16_byte_table_description): New constant.
2671 (uint16-byte-table): Use `uint16_byte_table_description'.
2673 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2675 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2676 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2678 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2680 * mule-charset.c (Vcharset_ucs_ks): New variable.
2681 (Qucs_ks): New variable.
2682 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2683 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2685 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2687 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2689 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2690 (Fdecode_char): Likewise.
2692 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2694 (Fdefine_char): Modify for Fdecode_char.
2695 (Ffind_char): Likewise.
2697 * mule-charset.c (Fdecode_char): Add new optional argument
2699 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2701 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2703 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2704 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2705 (allocate_coding_system): Initialize initial-charsets of
2706 CODESYS_BIG5 in XEmacs UTF-2000.
2707 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2708 CODESYS_BIG5 in XEmacs UTF-2000.
2709 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2710 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2712 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2714 (Qideograph_hanziku_{1 .. 12}): Likewise.
2715 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2717 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2718 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2719 `ideograph-hanziku-{1 .. 12}'.
2721 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2722 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2723 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2724 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2725 (DECODE_DEFINED_CHAR): New inline function.
2726 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2728 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2730 * mule-charset.c (Vcharset_china3_jef): Renamed from
2731 `Vcharset_japanese_jef_china3'.
2732 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2733 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2734 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2735 (syms_of_mule_charset): Rename `china3-jef' from
2736 `japanese-jef-china3'.
2737 (complex_vars_of_mule_charset): Likewise; rename
2738 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2740 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2741 `LEADING_BYTE_JEF_CHINA3'.
2742 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2743 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2745 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2747 * mule-charset.c (encode_builtin_char_1): Comment out special code
2748 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2750 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2751 (MAX_CHAR_MOJIKYO_0): Comment out.
2752 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2753 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2754 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2755 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2757 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2759 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2760 (Qideograph_cbeta): New variable.
2761 (encode_builtin_char_1): Comment out special code for
2762 coded-charset `mojikyo' and `japanese-jef-china3'.
2763 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2764 (complex_vars_of_mule_charset): Add new coded-charset
2767 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2768 (MIN_CHAR_CBETA): New macro.
2769 (MAX_CHAR_CBETA): New macro.
2771 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2773 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2774 (LEADING_BYTE_JEF_CHINA3): New macro.
2775 (MIN_CHAR_JEF_CHINA3): New macro.
2776 (MAX_CHAR_JEF_CHINA3): Likewise.
2777 (DECODE_CHAR): Fixed.
2779 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2781 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2782 (Qjapanese_jef_china3): New variable.
2783 (encode_builtin_char_1): Support `japanese-jef-china3'.
2784 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2785 (complex_vars_of_mule_charset): Add new coded-charset
2786 `japanese-jef-china3'.
2788 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2790 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2791 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2792 94^4, 96^3, 96^4, 128^n and 256^n set.
2793 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2794 (map_char_table): Likewise.
2796 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2798 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2801 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2803 * chartab.h (get_char_id_table): New inline function.
2805 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2808 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2810 * chartab.h (decode_char_table_range): New prototype in XEmacs
2812 (put_char_id_table): New inline function in XEmacs UTF-2000.
2814 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2816 (decode_char_table_range): Delete static declaration in XEmacs
2819 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2821 * chartab.c (put_char_id_table): Use `put_char_table'.
2823 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2825 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2826 (map_over_uint16_byte_table): Likewise.
2827 (map_over_byte_table): Likewise.
2828 (map_char_table): Modify for `map_over_uint8_byte_table',
2829 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2832 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2834 * chartab.c (struct map_char_table_for_charset_arg): New
2836 (map_char_table_for_charset_fun): New function.
2837 (map_char_table): Use `map_char_table' for encoding_table of
2840 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2842 * chartab.c (map_char_table): Check a character is found in
2843 range->charset instead of non default value is defined in
2844 char-table when range is CHARTAB_RANGE_ROW.
2846 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2848 * chartab.c (map_char_id_table): Deleted.
2849 (Fmap_char_attribute): Use `map_char_table' instead of
2850 `map_char_id_table'.
2852 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2854 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2856 (update_syntax_table): Deleted in XEmacs UTF-2000.
2858 * syntax.c (find_defun_start): Use `syntax_table' instead of
2859 `mirror_syntax_table' in XEmacs UTF-2000.
2860 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2862 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2864 (Fmatching_paren): Likewise.
2865 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2867 (find_start_of_comment): Likewise.
2868 (find_end_of_comment): Likewise.
2869 (Fforward_comment): Likewise.
2870 (scan_lists): Likewise.
2871 (char_quoted): Likewise.
2872 (Fbackward_prefix_chars): Likewise.
2873 (scan_sexps_forward): Likewise.
2874 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2875 (update_syntax_table): Likewise.
2877 * search.c (skip_chars): Use `syntax_table' instead of
2878 `mirror_syntax_table' in XEmacs UTF-2000.
2879 (wordify): Likewise.
2880 (Freplace_match): Likewise.
2882 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2883 `mirror_syntax_table' in XEmacs UTF-2000.
2884 (WORDCHAR_P_UNSAFE): Likewise.
2885 (re_match_2_internal): Likewise.
2887 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2888 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2890 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2891 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2893 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2896 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2898 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2899 (char_table_description): Delete `mirror_table' in XEmacs
2901 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2903 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2904 (Fcopy_char_table): Likewise.
2905 (put_char_table): Don't call `update_syntax_table' in XEmacs
2908 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2909 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2910 (casify_region_internal): Likewise.
2912 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2914 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2915 `mirror_syntax_table' in XEmacs UTF-2000.
2917 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2918 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2919 (Fexpand_abbrev): Likewise.
2921 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2923 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2925 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2927 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2928 (map_over_uint16_byte_table): Likewise.
2929 (map_over_byte_table): Likewise.
2930 (get_char_id_table): Refer `cit->default_value'.
2931 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2932 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2933 of character-id ranges.
2934 (mark_char_table): Mark `ct->default_value'.
2935 (char_table_description): Add `default_value'.
2936 (fill_char_table): Use `default_value'.
2937 (decode_char_table_range): Decode `nil' as
2938 `CHARTAB_RANGE_DEFAULT'.
2939 (get_char_id_table): Refer `cit->default_value'.
2940 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2941 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2942 temporary hack; check value of char-table is bound or not.
2943 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2945 * chartab.h (struct Lisp_Char_Table): Add new member
2946 `default_value' in XEmacs UTF-2000.
2947 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2948 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2951 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2953 * chartab.h (Lisp_Char_ID_Table): Deleted.
2955 * chartab.c (char_table_description): Fix typo.
2956 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2957 `Lisp_Char_ID_Table'.
2959 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2961 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2964 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2967 * chartab.h (XCHAR_ID_TABLE): Deleted.
2968 (XSETCHAR_ID_TABLE): Deleted.
2969 (CHAR_ID_TABLE_P): Deleted.
2971 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2973 (Fget_composite_char): Likewise.
2974 (put_char_table): Likewise.
2975 (add_char_attribute_alist_mapper): Fixed.
2976 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2978 (Fget_char_attribute): Likewise.
2979 (Fget_char_attribute): Likewise.
2980 (Fmap_char_attribute): Likewise.
2982 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2984 (encode_char_1): Likewise.
2986 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2988 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2991 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2992 instead of `XCHAR_ID_TABLE'.
2993 (remove_char_ccs): Likewise.
2995 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2997 (Fget_composite_char): Likewise.
2998 (Fchar_variants): Likewise.
2999 (put_char_table): Likewise.
3000 (add_char_attribute_alist_mapper): Likewise.
3001 (Fchar_attribute_alist): Likewise.
3002 (Fget_char_attribute): Likewise.
3003 (Fput_char_attribute): Likewise.
3004 (Fmap_char_attribute): Likewise.
3005 (Fmap_char_attribute): Likewise.
3007 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
3009 (encode_char_1): Likewise.
3011 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3013 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
3014 `Lisp_Char_ID_Table'.
3015 (mark_char_id_table): Deleted.
3016 (print_char_id_table): Likewise.
3017 (char_id_table_equal): Likewise.
3018 (char_id_table_hash): Likewise.
3019 (char_id_table_description): Likewise.
3020 (char_id_table): Likewise.
3021 (make_char_id_table): Use `Fmake_char_table' and
3023 (get_char_id_table): Use `Lisp_Char_Table' instead of
3024 `Lisp_Char_ID_Table'.
3025 (put_char_id_table): Likewise.
3026 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
3028 (Fremove_char_attribute): Likewise.
3029 (syms_of_chartab): Don't define type `char-id-table'.
3031 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
3032 (char_id_table): Likewise.
3033 (GC_CHAR_ID_TABLE_P): Likewise.
3034 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
3035 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
3036 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
3037 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
3038 (get_char_id_table): Use `Lisp_Char_Table' instead of
3039 `Lisp_Char_ID_Table'.
3040 (put_char_id_table_0): Likewise.
3041 (put_char_id_table): Likewise.
3043 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3045 * chartab.h: Lisp_Byte_Table related codes are moved from
3048 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
3050 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3052 * chartab.h: Don't include "chartab.h".
3053 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
3054 (Lisp_Char_ID_Table): Likewise.
3055 (char_id_table): Likewise.
3056 (XCHAR_ID_TABLE): Likewise.
3057 (XSETCHAR_ID_TABLE): Likewise.
3058 (CHAR_ID_TABLE_P): Likewise.
3059 (GC_CHAR_ID_TABLE_P): Likewise.
3060 (get_char_id_table): Likewise.
3062 * char-ucs.h: Include "chartab.h".
3063 (struct Lisp_Char_ID_Table): Moved to chartab.h.
3064 (Lisp_Char_ID_Table): Likewise.
3065 (char_id_table): Likewise.
3066 (XCHAR_ID_TABLE): Likewise.
3067 (XSETCHAR_ID_TABLE): Likewise.
3068 (CHAR_ID_TABLE_P): Likewise.
3069 (GC_CHAR_ID_TABLE_P): Likewise.
3070 (get_char_id_table): Likewise.
3072 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3074 * chartab.c (copy_uint8_byte_table): New function.
3075 (copy_uint16_byte_table): New function.
3076 (copy_byte_table): New function.
3077 (map_over_uint8_byte_table): Modify to avoid huge numbers of
3079 (map_over_uint16_byte_table): Likewise.
3080 (map_over_byte_table): Likewise.
3081 (get_byte_table): Move prototype to chartab.h.
3082 (put_byte_table): Likewise.
3083 (put_char_id_table_0): Moved to chartab.h.
3084 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3085 (char_table_entry_equal): Likewise.
3086 (char_table_entry_hash): Likewise.
3087 (char_table_entry_description): Likewise.
3088 (char_table_entry): Likewise.
3089 (make_char_table_entry): Likewise.
3090 (copy_char_table_entry): Likewise.
3091 (get_non_ascii_char_table_value): Likewise.
3092 (map_over_charset_ascii): Likewise.
3093 (map_over_charset_control_1): Likewise.
3094 (map_over_charset_row): Likewise.
3095 (map_over_other_charset): Likewise.
3096 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3097 (print_char_table): Likewise.
3098 (char_table_equal): Likewise.
3099 (char_table_hash): Likewise.
3100 (char_table_description): Likewise.
3101 (fill_char_table): Likewise.
3102 (Fcopy_char_table): Likewise.
3103 (get_char_table): Likewise.
3104 (Fget_range_char_table): Likewise.
3105 (put_char_table): Likewise.
3106 (map_char_table): Likewise.
3107 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3110 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3112 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3113 `Vauto_fill_chars' in XEmacs UTF-2000.
3115 * chartab.h (get_byte_table): New prototype [moved from
3117 (put_byte_table): Likewise [moved from chartab.c].
3118 (put_char_id_table_0): New inline function [moved from chartab.c].
3119 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3120 (Lisp_Char_Table_Entry): Likewise.
3121 (char_table_entry): Likewise.
3122 (XCHAR_TABLE_ENTRY): Likewise.
3123 (XSETCHAR_TABLE_ENTRY): Likewise.
3124 (CHAR_TABLE_ENTRYP): Likewise.
3125 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3126 (NUM_ASCII_CHARS): Likewise.
3127 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3128 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3130 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3132 * chartab.c (get_char_id_table): Change interface.
3133 (put_char_id_table_0): New function.
3134 (put_char_id_table): Change interface; new implementation.
3135 (Fget_composite_char): Modify for interface change of
3136 `get_char_id_table'.
3137 (Fchar_variants): Likewise.
3138 (add_char_attribute_alist_mapper): Likewise.
3139 (Fchar_attribute_alist): Likewise.
3140 (Fget_char_attribute): Likewise.
3141 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3142 as same as character as the first argument like `put-char-table';
3143 modify for interface change of `put_char_id_table'.
3144 (Fremove_char_attribute): Modify for interface change of
3145 `put_char_id_table'.
3147 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3149 * text-coding.c: Sync up with XEmacs 21.2.41.
3150 (COMPOSE_ADD_CHAR): Modify for interface change of
3151 `get_char_id_table'.
3153 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3154 change of `put_char_id_table'.
3155 (remove_char_ccs): Likewise.
3157 * chartab.h (put_char_id_table): Change interface.
3159 * char-ucs.h (get_char_id_table): Change interface.
3160 (charset_code_point): Modify for interface change of
3161 `get_char_id_table'.
3162 (encode_char_1): Likewise.
3164 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3166 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3168 (map_over_uint16_byte_table): Likewise.
3169 (map_over_byte_table): Likewise.
3170 (map_char_id_table): Add new argument `range' like
3172 (Fmap_char_attribute): Add new argument `range' like
3175 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3177 * chartab.c (map_over_uint8_byte_table): Change interface of
3178 mapping function to use struct chartab_range instead of Emchar.
3179 (map_over_uint16_byte_table): Likewise.
3180 (map_over_byte_table): Likewise.
3181 (map_char_id_table): Likewise.
3182 (struct slow_map_char_id_table_arg): Deleted.
3183 (slow_map_char_id_table_fun): Deleted.
3184 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3185 function `slow_map_char_table_fun' instead of struct
3186 `slow_map_char_id_table_arg' and function
3187 `slow_map_char_id_table_fun'.
3189 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3191 * mule-charset.c: Move char-it-table related codes to chartab.c.
3192 (Vutf_2000_version): Moved to chartab.c.
3193 (Fdefine_char): Likewise.
3194 (Ffind_char): Likewise.
3195 (syms_of_mule_charset): Move types `uint8-byte-table',
3196 `uint16-byte-table', `byte-table' and `char-id-table' to
3197 chartab.c; move functions `char_attribute_list,
3198 `find_char_attribute_table, `char_attribute_alist,
3199 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3200 `map_char_attribute, `define_char, `find_char, `char_variants and
3201 `get_composite_char to chartab.c; move symbols `=>ucs',
3202 `->decomposition', `compat', `isolated', `initial', `medial',
3203 `final', `vertical', `noBreak', `fraction', `super', `sub',
3204 `circle', `square', `wide', `narrow', `small' and `font' to
3206 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3207 setting codes for `Vcharacter_composition_table' and
3208 `Vcharacter_variant_table' to chartab.c.
3209 (complex_vars_of_mule_charset): Move setting code for
3210 `Vchar_attribute_hash_table' to chartab.c.
3212 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3213 (make_char_id_table): New prototype.
3214 (put_char_id_table): Likewise.
3215 (Fget_char_attribute): Likewise.
3217 * chartab.c: Move char-id-table related code from mule-charset.c.
3218 (Vutf_2000_version): Moved from mule-charset.c.
3220 * char-ucs.h (Qucs): New external variable.
3221 (put_char_ccs_code_point): New prototype.
3222 (remove_char_ccs): Likewise.
3224 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3226 * mule-charset.c (Vcharset_ucs_jis): New variable.
3227 (Qucs_jis): Likewise.
3228 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3229 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3231 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3233 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3235 * mule-charset.c (map_over_uint8_byte_table): New function.
3236 (map_over_uint16_byte_table): Likewise.
3237 (map_over_byte_table): Likewise.
3238 (map_char_id_table): Likewise.
3239 (slow_map_char_id_table_fun): Likewise.
3240 (Fmap_char_attribute): Likewise.
3241 (syms_of_mule_charset): Add new function `map-char-attribute'.
3243 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3245 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3246 (syms_of_mule_charset): Add new function `find-char'.
3248 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3250 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3252 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3253 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3255 (complex_vars_of_mule_charset): Add new coded-charset
3256 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3257 `ideograph-gt-pj-*'.
3259 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3261 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3263 * mule-charset.c (encode_builtin_char_1): Purge codes about
3264 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3265 {MIN|MAX}_CHAR_HEBREW.
3266 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3267 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3269 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3270 (MAX_CHAR_GREEK): Purged.
3271 (MIN_CHAR_CYRILLIC): Purged.
3272 (MAX_CHAR_CYRILLIC): Purged.
3273 (MIN_CHAR_HEBREW): Commented out.
3274 (MAX_CHAR_HEBREW): Likewise.
3276 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3278 * mule-charset.c (Qto_ucs): New variable.
3279 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3280 (Fdefine_char): Likewise.
3281 (syms_of_mule_charset): Add new symbol `=>ucs'.
3283 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3285 * mule-charset.c (Fdecode_char): Fixed.
3287 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3289 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3290 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3293 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3295 * mule-charset.c (Vcharset_ucs_big5): New variable.
3296 (Qucs_big5): Likewise.
3297 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3298 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3300 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3302 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3304 * mule-charset.c (decode_builtin_char): Check Big5 code range
3305 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3307 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3309 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3310 (Qchinese_gb12345): Likewise.
3311 (Fdecode_builtin_char): Fixed.
3312 (syms_of_mule_charset): Add `chinese-gb12345'.
3313 (complex_vars_of_mule_charset): Add coded-charset
3316 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3317 (LEADING_BYTE_CHINESE_GB12345): New macro.
3319 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3321 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3322 and `latin-viscii-upper' for `latin-viscii'.
3324 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3326 * mule-charset.c (Fdecode_builtin_char): Comment out
3327 regularization code for ISO-IR GR representation.
3329 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3331 * mule-charset.c (decode_builtin_char): New function; renamed from
3332 `make_builtin_char'; return -1 instead of signal.
3333 (Fdecode_builtin_char): Use `decode_builtin_char'.
3335 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3336 `make_builtin_char'.
3337 (DECODE_CHAR): Use `decode_builtin_char' instead of
3338 `make_builtin_char'; use mapping table of `chinese-big5' for
3339 `chinese-big5-{1,2}'.
3341 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3343 * text-coding.c (char_encode_big5): New function.
3344 (char_finish_big5): Likewise.
3345 (reset_encoding_stream): Use `char_encode_big5' and
3346 `char_finish_big5' for CODESYS_BIG5.
3347 (mule_encode): Don't use `encode_coding_big5'.
3348 (encode_coding_big5): Deleted.
3350 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3352 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3353 0x81- in XEmacs UTF-2000.
3354 (detect_coding_big5): Likewise.
3356 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3358 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3359 generate character-id if the CCS property does not have
3360 corresponding predefined character.
3361 (make_builtin_char): Return -1 if corresponding predefined
3362 character is not found.
3363 (Fdecode_char): Return nil if corresponding character is not
3365 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3366 don't map to builtin ucs space.
3368 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3370 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3371 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3373 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3375 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3376 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3377 (Qideograph_gt): Likewise.
3378 (Qideograph_gt_pj_{1..11}): Likewise.
3379 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3380 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3381 `ideograph-gt-pj-11'.
3382 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3383 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3384 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3386 * char-ucs.h (LEADING_BYTE_GT): New macro.
3387 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3388 (MIN_CHAR_GT): Likewise.
3389 (MAX_CHAR_GT): Likewise.
3391 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3393 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3394 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3396 * doprnt.c (unsigned_int_converters): Add `c'.
3397 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3399 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3400 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3402 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3403 (MAX_CHAR_MOJIKYO_0): New macro.
3404 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3406 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3408 * mule-charset.c (Fdefine_char): Delete cemented out code.
3409 (encode_builtin_char_1): Modify for new allocation of builtin
3412 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3414 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3416 * mule-charset.c (Vcharset_ucs_cns): New variable.
3417 (Qucs_cns): New variable.
3418 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3419 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3421 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3423 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3425 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3427 * search.c (search_buffer): Make `charset_base_code' as
3428 character-id >> 6 to eliminate the corresponding last byte in
3429 UTF-8 representation [I'm not sure it is right thing].
3430 (boyer_moore): Likewise.
3432 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3434 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3435 representation in MULE.
3437 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3439 * text-coding.c (Fmake_coding_system): Use
3440 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3441 `EXTERNAL_PROPERTY_LIST_LOOP'.
3443 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3445 * text-coding.c (decode_output_utf8_partial_char): New function.
3446 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3448 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3450 * text-coding.c (decode_coding_utf8): Output original byte
3451 sequence if it is broken; change order of conditions.
3453 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3456 * mb-multibyte.h (BYTE_ASCII_P):
3457 Use bit ops for char-signedness safety.
3458 (BYTE_C0_P): Use bit ops for char-signedness safety.
3459 (BYTE_C1_P): Use bit ops for char-signedness safety.
3461 * character.h: (XCHAR_OR_CHAR_INT):
3462 Always use inline function.
3463 Remove redundant type checking assert() - XINT will abort quite
3466 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3468 * text-coding.c: (Fencode_shift_jis_char):
3469 (Fencode_big5_char):
3470 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3471 Replace 0 with '\0' when working with bytes.
3472 Replace initial "(" with "\(" in docstrings.
3474 (Fmake_coding_system):
3475 When type is ccl and value is vector, register it with a proper
3476 symbol. And checks whether the given ccl program is valid.
3477 (mule_decode): When calling ccl_driver, if src indicates
3478 NULL pointer, set an empty string instead.
3479 (mule_encode): Likewise.
3482 (detect_coding_sjis):
3483 (decode_coding_sjis):
3484 (detect_coding_big5):
3485 (decode_coding_big5):
3486 (detect_coding_ucs4):
3487 (decode_coding_ucs4):
3488 (detect_coding_utf8):
3489 (decode_coding_utf8):
3490 (detect_coding_iso2022):
3491 (decode_coding_iso2022):
3492 (decode_coding_no_conversion):
3494 Make all detecting and decoding functions take an Extbyte * arg.
3495 (text_encode_generic):
3496 (encode_coding_big5):
3497 (encode_coding_no_conversion):
3499 Make all encoding functions take a Bufbyte * arg.
3500 Use size_t instead of unsigned int for memory sizes.
3501 Only cast to unsigned char whenever dereferencing Extbyte *.
3503 (struct lrecord_description fcd_description_1): Use countof.
3504 (complex_vars_of_file_coding):
3505 Use countof instead of sizeof.
3506 Use CHECK_NATNUM instead of CHECK_INT.
3508 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3510 * mule-charset.c (Fget_char_attribute): Add new optional argument
3512 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3513 (remove_char_ccs): Likewise.
3515 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3517 * text-coding.c (char_encode_shift_jis): New implementation in
3519 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3522 * mule-charset.c (Vcharset_chinese_big5): New variable in
3524 (Qchinese_big5): New variable in UTF-2000.
3525 (BIG5_SAME_ROW): New macro in UTF-2000.
3526 (make_builtin_char): Use builtin characters of
3527 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3528 characters of `Vcharset_chinese_big5'.
3529 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3530 (complex_vars_of_mule_charset): Add new coded-charset
3531 `chinese-big5' in UTF-2000.
3533 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3534 (Vcharset_chinese_big5): New external variable declaration.
3535 (Vcharset_japanese_jisx0208_1990): Likewise.
3537 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3539 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3541 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3543 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3545 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3546 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3547 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3550 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3552 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3554 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3556 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3559 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3561 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3562 for `CHARSET_BY_ATTRIBUTES'.
3563 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3564 `CHARSET_BY_ATTRIBUTES'.
3566 * text-coding.c (struct decoding_stream): Rename member `CH' to
3568 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3569 (decode_coding_sjis): Likewise.
3570 (decode_coding_big5): Likewise.
3571 (decode_coding_ucs4): Likewise.
3572 (decode_coding_utf8): Likewise.
3573 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3574 `CHARSET_BY_ATTRIBUTES'.
3575 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3576 `str->counter'; decode 3, 4 bytes sets.
3577 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3579 (decode_coding_no_conversion): Use `str->cpos' instead of
3582 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3583 (Qmojikyo_2022_1): New variable.
3584 (make_charset): Don't use `CHARSET_TYPE_*'.
3585 (range_charset_code_point): Support coded-charset
3587 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3588 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3589 `CHARSET_BY_ATTRIBUTES'.
3590 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3591 `CHARSET_BY_ATTRIBUTES'.
3592 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3593 (complex_vars_of_mule_charset): Add new coded-charset
3596 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3597 interface; changed to inline function.
3599 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3600 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3601 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3602 (CHARSET_TYPE_94): Deleted.
3603 (CHARSET_TYPE_94X94): Deleted.
3604 (CHARSET_TYPE_96): Deleted.
3605 (CHARSET_TYPE_96X96): Deleted.
3606 (CHARSET_TYPE_128): Deleted.
3607 (CHARSET_TYPE_128X128): Deleted.
3608 (CHARSET_TYPE_256): Deleted.
3609 (CHARSET_TYPE_256X256): Deleted.
3610 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3612 (DECODE_MOJIKYO_2022): New inline function.
3613 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3614 `Vcharset_mojikyo_2022_1'.
3616 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3618 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3620 (put_byte_table): Likewise.
3621 (char_id_table_equal): Use `get_byte_table' [new implementation].
3623 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3625 * mule-charset.c: Include <limits.h> in UTF-2000.
3626 (BT_UINT8_MIN): New macro in UTF-2000.
3627 (BT_UINT8_MAX): New macro in UTF-2000.
3628 (BT_UINT8_t): New macro in UTF-2000.
3629 (BT_UINT8_nil): New macro in UTF-2000.
3630 (BT_UINT8_unbound): New macro in UTF-2000.
3631 (INT_UINT8_P): New inline function in UTF-2000.
3632 (UINT8_VALUE_P): New inline function in UTF-2000.
3633 (UINT8_ENCODE): New inline function in UTF-2000.
3634 (UINT8_DECODE): New inline function in UTF-2000.
3635 (mark_uint8_byte_table): New function in UTF-2000.
3636 (print_uint8_byte_table): New function in UTF-2000.
3637 (uint8_byte_table_equal): New function in UTF-2000.
3638 (uint8_byte_table_hash): New function in UTF-2000.
3639 (make_uint8_byte_table): New function in UTF-2000.
3640 (uint8_byte_table_same_value_p): New function in UTF-2000.
3641 (BT_UINT16_MIN): New macro in UTF-2000.
3642 (BT_UINT16_MAX): New macro in UTF-2000.
3643 (BT_UINT16_t): New macro in UTF-2000.
3644 (BT_UINT16_nil): New macro in UTF-2000.
3645 (BT_UINT16_unbound): New macro in UTF-2000.
3646 (INT_UINT16_P): New inline function in UTF-2000.
3647 (UINT16_VALUE_P): New inline function in UTF-2000.
3648 (UINT16_ENCODE): New inline function in UTF-2000.
3649 (UINT16_DECODE): New inline function in UTF-2000.
3650 (UINT8_TO_UINT16): New inline function in UTF-2000.
3651 (mark_uint16_byte_table): New function in UTF-2000.
3652 (print_uint16_byte_table): New function in UTF-2000.
3653 (uint16_byte_table_equal): New function in UTF-2000.
3654 (uint16_byte_table_hash): New function in UTF-2000.
3655 (make_uint16_byte_table): New function in UTF-2000.
3656 (uint16_byte_table_same_value_p): New function in UTF-2000.
3657 (print_byte_table): New function in UTF-2000.
3658 (byte-table): Use `print_byte_table' as printer.
3659 (make_byte_table): Delete second argument `older'.
3660 (byte_table_same_value_p): New function in UTF-2000.
3661 (copy_byte_table): Deleted.
3662 (get_byte_table): New function in UTF-2000.
3663 (put_byte_table): New function in UTF-2000.
3664 (print_char_id_table): New function in UTF-2000.
3665 (char-id-table): Use `print_char_id_table' as printer.
3666 (make_char_id_table): Delete second argument `older'.
3667 (get_char_id_table): Use `get_byte_table [new implementation].
3668 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3670 (Ffind_char_attribute_table): New function in UTF-2000.
3671 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3672 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3673 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3674 (syms_of_mule_charset): Add new function
3675 `find-char-attribute-table' in UTF-2000.
3677 * lrecord.h (enum lrecord_type): Add
3678 `lrecord_type_uint16_byte_table' and
3679 `lrecord_type_uint8_byte_table'.
3681 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3682 (Lisp_Uint8_Byte_Table): New type.
3683 (XUINT8_BYTE_TABLE): New macro.
3684 (XSETUINT8_BYTE_TABLE): New macro.
3685 (UINT8_BYTE_TABLE_P): New macro.
3686 (GC_UINT8_BYTE_TABLE_P): New macro.
3687 (struct Lisp_Uint16_Byte_Table): New structure.
3688 (Lisp_Uint16_Byte_Table): New type.
3689 (XUINT16_BYTE_TABLE): New macro.
3690 (XSETUINT16_BYTE_TABLE): New macro.
3691 (UINT16_BYTE_TABLE_P): New macro.
3692 (GC_UINT16_BYTE_TABLE_P): New macro.
3694 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3696 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3697 (Vcharacter_ideographic_strokes_table): Deleted.
3698 (Vcharacter_total_strokes_table): Deleted.
3699 (Vcharacter_morohashi_daikanwa_table): Deleted.
3700 (Vcharacter_decomposition_table): Deleted.
3701 (Qname): Deleted because it is duplicated.
3702 (Qideographic_radical): Deleted.
3703 (Qideographic_strokes): Deleted.
3704 (Qtotal_strokes): Deleted.
3705 (Qmorohashi_daikanwa): Deleted.
3706 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3707 `ideographic-radical', `ideographic-strokes', `total-strokes',
3708 `morohashi-daikanwa' and `->decomposition'.
3709 (Fget_char_attribute): Likewise.
3710 (Fput_char_attribute): Likewise; use `make-vector' instead of
3711 `make_older_vector' for `->decomposition' value.
3712 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3713 `ideograph-daikanwa'.
3714 (syms_of_mule_charset): Delete builtin symbols `name',
3715 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3716 `morohashi-daikanwa'.
3717 (vars_of_mule_charset): Don't setup
3718 `Vcharacter_ideographic_radical_table',
3719 `Vcharacter_ideographic_strokes_table',
3720 `Vcharacter_total_strokes_table',
3721 `Vcharacter_morohashi_daikanwa_table' and
3722 `Vcharacter_decomposition_table'.
3724 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3726 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3727 `make_older_vector', `make_vector_newer_1' and
3728 `make_vector_newer'.
3730 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3731 `make_older_vector' and `make_vector_newer'.
3733 * config.h.in (HAVE_GGC): New macro.
3735 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3737 * mule-charset.c (struct char_attribute_list_closure): New
3738 structure in UTF-2000.
3739 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3740 (Fchar_attribute_list): Likewise.
3741 (Fset_charset_mapping_table): Use `make_vector_newer'.
3742 (Fdecode_builtin_char): New function in UTF-2000.
3743 (syms_of_mule_charset): Add new function `char-attribute-list' and
3744 `decode-builtin-char' in UTF-2000.
3746 * lisp.h (make_vector_newer): New prototype.
3748 * alloc.c (make_vector_newer_1): New function.
3749 (make_vector_newer): New function.
3751 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3753 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3756 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3758 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3759 (Vcharacter_attribute_table): Deleted.
3760 (Vcharacter_name_table): Deleted.
3761 (put_char_attribute): Deleted.
3762 (remove_char_attribute): Deleted.
3763 (struct char_attribute_alist_closure): New structure.
3764 (add_char_attribute_alist_mapper): New function.
3765 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3766 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3767 (Fget_char_attribute): Likewise.
3768 (Fput_char_attribute): Likewise.
3769 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3770 of `remove_char_attribute'.
3771 (Fdefine_char): Return character.
3772 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3773 and `Vcharacter_name_table'.
3774 (complex_vars_of_mule_charset): Likewise
3775 `Vchar_attribute_hash_table'.
3777 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3779 * character.h (CHARC_CHARSET): New macro.
3780 (CHARC_CHARSET_ID): New macro.
3781 (CHARC_CODE_POINT): New macro.
3782 (CHARC_COLUMNS): New macro.
3783 (CHARC_TO_CHAR): New inline function.
3784 (CHARC_EQ): New inline function.
3785 (CHARC_ASCII_EQ): New inline function.
3786 (CHARC_IS_SPACE): New inline function.
3787 (ASCII_TO_CHARC): New inline function.
3789 * char-ucs.h (encode_char_2): Deleted.
3790 (ENCODE_CHAR): Use `encode_char_1' again.
3791 (breakup_char_1): Likewise.
3792 (CHAR_TO_CHARC): New inline function.
3794 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3796 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3798 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3799 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3800 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3801 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3802 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3804 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3806 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3808 (x_output_display_block): Use `CHARC_CHARSET' and
3811 * redisplay-tty.c (tty_output_display_block): Use
3813 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3815 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3817 * insdel.c (find_charsets_in_charc_string): Use
3819 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3820 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3821 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3822 (convert_charc_string_into_malloced_string): Likewise.
3824 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3826 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3827 instead of <Emchar_dynarr *> for buf; use
3828 `convert_bufbyte_string_into_charc_dynarr' instead of
3829 `convert_bufbyte_string_into_emchar_dynarr'; use
3830 `find_charsets_in_charc_string' instead of
3831 `find_charsets_in_emchar_string'.
3834 - Include "character.h".
3835 (struct rune): New member `cglyph'; delete member `chr'.
3837 * redisplay.c (redisplay_text_width_charc_string): New function;
3838 delete `redisplay_text_width_emchar_string'.
3839 (rtw_charc_dynarr): New variable; renamed from
3840 `rtw_emchar_dynarr'.
3841 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3842 `rtw_emchar_dynarr'; use
3843 `convert_bufbyte_string_into_charc_dynarr' instead of
3844 `convert_bufbyte_string_into_emchar_dynarr'; use
3845 `redisplay_text_width_charc_string' instead of
3846 `redisplay_text_width_emchar_string'.
3847 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3848 instead of `rtw_emchar_dynarr'; use
3849 `convert_bufbyte_string_into_charc_dynarr' instead of
3850 `convert_bufbyte_string_into_emchar_dynarr'.
3851 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3852 `redisplay_text_width_charc_string' instead of
3853 `redisplay_text_width_emchar_string'.
3854 (create_text_block): Modify for <struct rune> change.
3855 (generate_formatted_string_db): Likewise.
3856 (create_string_text_block): Likewise.
3857 (pixel_to_glyph_translation): Likewise.
3859 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3860 instead of <const Emchar *>.
3861 (x_text_width): Likewise.
3862 (x_output_display_block): Use <Charc_dynarr *> instead
3863 <Emchar_dynarr *>; modify for <structure rune> change.
3864 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3867 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3868 <const Emchar *>; use `charc_string_displayed_columns' instead of
3869 `emchar_string_displayed_columns'.
3870 (tty_output_display_block): Use <Charc_dynarr *> instead of
3871 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3872 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3873 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3874 `tty_output_emchar_dynarr_dynarr'.
3875 (tty_output_charc_dynarr): New function; delete
3876 `tty_output_charc_dynarr'.
3878 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3879 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3880 <Emchar_dynarr *> for buf; use
3881 `convert_bufbyte_string_into_charc_dynarr' instead of
3882 `convert_bufbyte_string_into_emchar_dynarr'.
3884 * frame.c (title_string_charc_dynarr): New variable; renamed from
3885 `title_string_emchar_dynarr'.
3886 (generate_title_string): Use `title_string_charc_dynarr' instead
3887 of `title_string_emchar_dynarr'; use
3888 `convert_charc_string_into_malloced_string' instead of
3889 `convert_emchar_string_into_malloced_string'.
3890 (init_frame): Use `title_string_charc_dynarr' instead of
3891 `title_string_emchar_dynarr'.
3894 - Include "character.h".
3895 (struct console_methods): Use <const Charc *> instead of <const
3896 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3897 <Emchar_dynarr *> in output_string_method.
3899 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3902 * console-stream.c (stream_text_width): Use <const Charc *>
3903 instead of <const Emchar *>.
3905 * character.h (Charc_dynarr): New type.
3907 * char-ucs.h (structure Charc): New structure; define new type
3910 * char-lb.h (DECODE_CHAR): New inline function.
3911 (encode_char_1): New inline function.
3912 (ENCODE_CHAR): New macro.
3913 (structure Charc): New structure; define new type `Charc'.
3915 * char-1byte.h (Vcharset_control_1): New macro.
3916 (Vcharset_latin_iso8859_1): New macro.
3917 (DECODE_CHAR): New inline function.
3918 (encode_char_1): New inline function.
3919 (ENCODE_CHAR): New macro.
3920 (structure Charc): New structure; define new type `Charc'.
3922 * insdel.c (find_charsets_in_charc_string): New function; delete
3923 `find_charsets_in_emchar_string'.
3924 (charc_string_displayed_columns): New function; delete
3925 `emchar_string_displayed_columns'.
3926 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3927 `convert_bufbyte_string_into_emchar_dynarr'.
3928 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3929 `convert_charc_string_into_bufbyte_dynarr'.
3930 (convert_charc_string_into_malloced_string): New function; delete
3931 `convert_charc_string_into_malloced_string'.
3933 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3934 `find_charsets_in_emchar_string'.
3935 (charc_string_displayed_columns): New prototype; delete
3936 `emchar_string_displayed_columns'.
3937 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3938 `convert_charc_string_into_bufbyte_dynarr'.
3939 (convert_charc_string_into_malloced_string): New prototype; delete
3940 `convert_charc_string_into_malloced_string'.
3942 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3944 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3946 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3948 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3950 * char-ucs.h: Use <short> for <Charset_ID>.
3952 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3955 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3957 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3960 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3962 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3964 (Qmorohashi_daikanwa): New variable.
3965 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3966 for `morohashi-daikanwa' attribute.
3967 (Fget_char_attribute): Likewise.
3968 (Fput_char_attribute): Likewise.
3969 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3970 has the same value of `ideograph-daikanwa'.
3971 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3972 (vars_of_mule_charset): Setup
3973 `Vcharacter_morohashi_daikanwa_table'.
3975 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3977 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3979 (add_charset_to_list_mapper): Add `key' instead of
3980 `XCHARSET_NAME (value)' to return aliases.
3982 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3984 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3986 (Vcharacter_ideographic_strokes_table): New variable.
3987 (Qideographic_radical): New variable.
3988 (Qideographic_strokes): New variable.
3989 (Fchar_attribute_alist): Use
3990 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3991 attribute; use `Vcharacter_ideographic_strokes_table' for
3992 `ideographic-strokes' attribute.
3993 (Fget_char_attribute): Likewise.
3994 (Fput_char_attribute): Likewise.
3995 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3996 `ideographic-strokes'.
3997 (vars_of_mule_charset): Setup
3998 `Vcharacter_ideographic_radical_table' and
3999 `Vcharacter_ideographic_strokes_table'.
4001 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4003 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
4004 (Qtotal_strokes): New variable.
4005 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
4006 `total-strokes' attribute.
4007 (Fget_char_attribute): Likewise.
4008 (Fput_char_attribute): Likewise.
4009 (syms_of_mule_charset): Add new symbol `total-strokes'.
4010 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
4012 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4014 * mule-charset.c (Vcharacter_decomposition_table): New variable.
4015 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
4017 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
4018 `->decomposition' attribute.
4019 (Fput_char_attribute): Likewise.
4020 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
4022 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4024 * mule-charset.c (decoding_table_check_elements): New function.
4025 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
4027 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4029 * mule-charset.c (Fset_charset_mapping_table): Use
4030 `put_char_ccs_code_point'.
4032 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4034 * mule-charset.c (decoding_table_put_char): New inline function.
4035 (put_char_ccs_code_point): Use `decoding_table_put_char'.
4037 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4039 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
4040 (XCHARSET_BYTE_SIZE): New macro.
4041 (decoding_table_remove_char): New inline function.
4042 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
4043 `decoding_table_remove_char'.
4044 (remove_char_ccs): Use `decoding_table_remove_char'.
4045 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
4047 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4049 * mule-charset.c (Vcharacter_name_table): New variable.
4050 (Qname): New variable.
4051 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
4053 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
4054 `Vcharacter_name_table' for `name' attribute.
4055 (Fremove_char_attribute): Use function `remove_char_ccs'.
4056 (put_char_ccs_code_point): New function.
4057 (remove_char_ccs): New function.
4058 (syms_of_mule_charset): Add new symbol `name'.
4059 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
4061 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4063 * mule-charset.c (make_byte_table): Add new argument `older'.
4064 (make_char_id_table): Likewise.
4065 (copy_char_id_table): Comment out because it is not used.
4066 (put_char_id_table): Modify for `make_byte_table'.
4067 (Fput_char_attribute): Make encoding_table as older object;
4068 inherit older bit of `Vcharacter_composition_table'.
4069 (mark_charset): Don't mark `cs->encoding_table'.
4070 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
4071 normal object; make `Vcharacter_composition_table' as an older
4072 object; delete staticpro for `Vcharacter_composition_table'; make
4073 `Vcharacter_variant_table' as a normal object.
4075 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
4076 (mark_object): Don't check older object in UTF-2000.
4078 * lrecord.h (struct lrecord_header): Add new member `older' in
4080 (set_lheader_implementation): Setup `SLI_header->older' in
4082 (set_lheader_older_implementation): New macro in UTF-2000.
4083 (OLDER_RECORD_P): New macro in UTF-2000.
4084 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4085 (alloc_older_lcrecord): New prototype in UTF-2000.
4086 (alloc_older_lcrecord_type): New macro in UTF-2000.
4088 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4090 * mule-charset.c (byte_table_description): Use
4091 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4092 (char_id_table_description): Delete bogus `, 1'.
4093 (Fget_char_attribute): Refer encoding_table of each coded-charset
4094 to get value of coded-charset attribute of a character.
4095 (Fput_char_attribute): Use `make_older_vector' instead of
4096 `make_vector'; use encoding_table of each coded-charset to store
4097 value of coded-charset attribute of a character.
4098 (Fremove_char_attribute): Use encoding_table of each coded-charset
4099 to store value of coded-charset attribute of a character.
4100 (mark_charset): Mark `cs->encoding_table'; don't mark
4101 `cs->decoding_table'.
4102 (charset_description): Add description of new member
4104 (make_charset): Initialize `encoding_table'.
4106 * char-ucs.h (struct Lisp_Charset): Add new member
4108 (CHARSET_ENCODING_TABLE): New macro.
4109 (XCHARSET_ENCODING_TABLE): New macro.
4110 (charset_code_point): New implementation.
4111 (encode_char_1): Likewise.
4113 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4114 (disksave_object_finalization_1): Call finalizers of
4115 `all_older_lcrecords' in UTF-2000.
4116 (make_older_vector): New function in UTF-2000.
4117 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4120 * lisp.h (make_older_vector): New prototype in UTF-2000.
4122 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4124 * lrecord.h (enum lrecord_type): Rename
4125 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4127 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4128 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4129 `get_char_code_table'.
4131 * mule-charset.c (mark_char_id_table): Renamed from
4132 `mark_char_code_table'.
4133 (char_id_table_equal): Renamed from `char_code_table_equal'.
4134 (char_id_table_hash): Renamed from `char_code_table_hash'.
4135 (make_char_id_table): Renamed from `make_char_code_table'.
4136 (copy_char_id_table): Renamed from `copy_char_code_table'.
4137 (get_char_id_table): Renamed from `get_char_code_table'.
4138 (put_char_id_table): Renamed from `put_char_code_table'.
4139 (to_char_id): Renamed from `to_char_code'.
4141 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4142 `Lisp_Char_Code_Table'.
4143 (char_id_table): Renamed from `char_code_table'.
4144 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4145 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4146 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4147 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4148 (get_char_id_table): Renamed from `get_char_code_table'.
4150 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4152 * lrecord.h (enum lrecord_type): Rename
4153 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4155 * mule-charset.c (mark_byte_table): Renamed from
4156 `mark_char_byte_table'.
4157 (byte_table_equal): Renamed from `char_byte_table_equal'.
4158 (byte_table_hash): Renamed from `byte_table_hash'.
4159 (make_byte_table): Renamed from `make_byte_table'.
4160 (copy_byte_table): Renamed from `copy_char_byte_table'.
4162 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4163 `Lisp_Char_Byte_Table'.
4164 (byte_table): Renamed from `char_byte_table'.
4165 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4166 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4167 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4168 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4170 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4172 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4173 (dfc_convert_to_internal_format): Likewise.
4175 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4176 * text-coding.c (Fcoding_system_alias_p): New function.
4177 * text-coding.c (Fcoding_system_aliasee): New function.
4178 * text-coding.c (append_suffix_to_symbol): New function.
4179 * text-coding.c (dangling_coding_system_alias_p): New function.
4180 * text-coding.c (Ffind_coding_system):
4181 * text-coding.c (Fcopy_coding_system):
4182 * text-coding.c (encode_coding_no_conversion):
4183 * text-coding.c (syms_of_file_coding):
4184 * text-coding.c (vars_of_file_coding):
4185 Rewrite coding system alias code.
4186 Allow nested aliases, like symbolic links.
4187 Allow redefinition of coding system aliases.
4188 Prevent existence of dangling coding system aliases.
4189 Eliminate convert_to_external_format.
4190 Eliminate convert_to_internal_format.
4192 * text-coding.c: Change enum eol_type to eol_type_t.
4194 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4196 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4197 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4199 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4200 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4202 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4204 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4205 `ideograph-daikanwa'.
4207 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4208 (Vcharset_ucs_bmp): Likewise.
4209 (Vcharset_mojikyo): Add new extern variable definition.
4210 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4211 (Vcharset_latin_iso8859_3): Likewise.
4212 (Vcharset_latin_iso8859_4): Likewise.
4213 (Vcharset_latin_iso8859_9): Likewise.
4214 (Vcharset_latin_viscii_lower): Likewise.
4215 (Vcharset_latin_viscii_upper): Likewise.
4216 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4217 `mojikyo' code-point is used to decode.
4218 (encode_char_2): New function [to convert `mojikyo' code-point to
4219 Mojikyo font encoding].
4220 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4221 (breakup_char_1): Likewise.
4222 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4224 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4226 * text-coding.c (Fmake_coding_system): Add document about
4227 `disable-composition' property.
4229 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4231 * text-coding.c (Qdisable_composition): New variable; delete
4233 (Fmake_coding_system): Add new property `disable-composite';
4234 delete property `composite'.
4235 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4236 instead of `!CODING_SYSTEM_COMPOSITE'.
4237 (syms_of_file_coding): Add new symbol `disable-composition';
4238 delete symbol `composite'.
4240 * file-coding.h (struct Lisp_Coding_System): Add
4241 `disable_composition'; delete `enable_composition'.
4242 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4243 `CODING_SYSTEM_COMPOSITE'.
4244 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4245 `XCODING_SYSTEM_COMPOSITE'.
4247 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4249 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4252 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4254 * text-coding.c (Qcomposite): New variable.
4255 (Fmake_coding_system): Add new property `composite'.
4256 (struct decoding_stream): Add `combined_char_count',
4257 `combined_chars' and `combining_table' in UTF-2000.
4258 (COMPOSE_FLUSH_CHARS): New macro.
4259 (COMPOSE_ADD_CHAR): New macro.
4260 (reset_decoding_stream): Reset `str->combined_char_count' and
4261 `str->combining_table' in UTF-2000.
4262 (decode_coding_iso2022): Modify for character-decomposition.
4263 (syms_of_file_coding): Add new symbol `composite'.
4265 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4267 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4268 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4269 of `Vcharacter_composition_table' if `->decomposition' property
4271 (Qlatin_tcvn5712): New variable.
4272 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4273 (complex_vars_of_mule_charset): Add new coded-charset
4276 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4278 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4280 * file-coding.h (struct Lisp_Coding_System): Add
4281 `enable_composition'.
4282 (CODING_SYSTEM_COMPOSITE): New macro.
4283 (XCODING_SYSTEM_COMPOSITE): New macro.
4285 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4287 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4289 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4291 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4292 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4294 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4296 * mule-charset.c (Vcharset_mojikyo): New variable.
4297 (Fdefine_char): Don't use coded-charset which does not have
4298 non-builtin character range to allocate character-id.
4299 (Qmojikyo): New variable.
4300 (syms_of_mule_charset): Add new symbol `mojikyo'.
4301 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4303 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4304 (LEADING_BYTE_MOJIKYO): New macro.
4305 (MIN_CHAR_MOJIKYO): New macro.
4306 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4307 (MAX_CHAR_MOJIKYO): New macro.
4309 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4311 * mule-charset.c (remove_char_attribute): Fixed.
4313 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4315 * mule-charset.c (remove_char_attribute): New function.
4316 (Fremove_char_attribute): New function.
4317 (encode_builtin_char_1): Comment out builtin-support for
4318 greek-iso8859-7 and cyrillic-iso8859-5.
4319 (Fdecode_char): Check `code' is an integer.
4320 (syms_of_mule_charset): Add `remove-char-attribute'.
4321 (MIN_CHAR_GREEK): Deleted.
4322 (MAX_CHAR_GREEK): Likewise.
4323 (MIN_CHAR_CYRILLIC): Likewise.
4324 (MAX_CHAR_CYRILLIC): Likewise.
4325 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4326 MAX_CHAR_GREEK for `greek-iso8859-7'.
4328 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4329 (MAX_CHAR_GREEK): Likewise.
4330 (MIN_CHAR_CYRILLIC): Likewise.
4331 (MAX_CHAR_CYRILLIC): Likewise.
4333 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4335 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4336 format is used without `ucs' property.
4337 (Fdecode_char): Fix problem with GR representation.
4338 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4339 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4341 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4343 * mule-charset.c (make_builtin_char): New function.
4344 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4345 (Fset_charset_mapping_table): Modify for new representation of
4347 (Fdecode_char): New function.
4348 (syms_of_mule_charset): Add new builtin function `decode-char' in
4351 * char-ucs.h (make_builtin_char): New prototype.
4352 (DECODE_CHAR): New inline function.
4353 (MAKE_CHAR): Use `DECODE_CHAR'.
4355 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4357 * text-coding.c (parse_charset_conversion_specs): Use
4358 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4360 (iso2022_designate): Likewise.
4362 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4363 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4365 * mule-charset.c (Vcharset_ucs): New variable.
4366 (print_charset): Change design; use `CHARSET_CHARS' and
4367 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4368 (make_charset): Change signature to specify `chars' and
4369 `dimension' instead of `type'.
4370 (range_charset_code_point): Modify for 256^n-set.
4371 (encode_builtin_char_1): Encode as `ucs' in default.
4372 (Fmake_charset): Modify for `make_charset'.
4373 (Fmake_reverse_direction_charset): Likewise.
4374 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4376 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4379 * char-ucs.h (Vcharset_ucs): New variable.
4380 (LEADING_BYTE_UCS): New macro.
4381 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4382 and `chars' to `unsigned short' from `unsigned int'.
4383 (CHARSET_TYPE): Deleted.
4384 (XCHARSET_TYPE): Deleted.
4386 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4388 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4390 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4391 (ENCODE_CHAR): New macro.
4393 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4395 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4396 to 0.14 (Kawachi-Katakami).
4398 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4400 * text-coding.c (char_encode_shift_jis): Modify for
4401 `charset_code_point'.
4402 (char_encode_iso2022): Likewise.
4404 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4405 (integer) instead of list of <Lisp_Object>s (integers) as the
4406 format of code-point of a coded-charset.
4407 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4408 (encode_builtin_char_1): New function; delete
4409 `split_builtin_char'.
4410 (charset_code_point): Return <int> instead of <Lisp_Object>.
4411 (Fsplit_char): Don't use `SPLIT_CHAR'.
4413 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4414 prototype for `split_builtin_char'.
4415 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4416 (charset_code_point): Likewise.
4417 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4418 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4420 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4422 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4423 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4425 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4427 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4429 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4430 (MAX_CHAR_OBS_94x94): Deleted.
4432 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4434 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4436 * char-ucs.h (MAX_CHAR_BMP): New macro.
4438 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4440 * text-coding.c: Sync with r21-2-24.
4442 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4444 * file-coding.c: Modify for UTF-2000.
4446 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4448 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4451 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4453 * mule-charset.c (split_builtin_char): Delete builtin support for
4454 `katakana-jisx0201'.
4455 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4456 BMP area in builtin representation.
4458 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4459 `Vcharset_katakana_jisx0201'.
4461 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4463 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4464 (Qisolated): New variable.
4465 (Qinitial): New variable.
4466 (Qmedial): New variable.
4467 (Qfinal): New variable.
4468 (Qvertical): New variable.
4469 (Qsmall): New variable.
4470 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4471 `Qvertical' and `Qsmall'.
4472 (Qmojikyo_pj_[1 .. 21]): New variable.
4473 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4474 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4475 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4478 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4480 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4481 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4482 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4484 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4486 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4487 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4489 (Qjapanese_jisx0208_1990): New variable.
4490 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4491 (complex_vars_of_mule_charset): Add new coded-charset
4492 `japanese-jisx0208-1990'.
4494 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4495 (MIN_CHAR_JIS_X0208_1990): New macro.
4496 (MAX_CHAR_JIS_X0208_1990): New macro.
4498 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4500 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4501 coded-charset is not found.
4503 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4505 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4506 (Fdefine_char): Use `Fmake_char'.
4508 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4510 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4511 (Vcharset_hiragana_jisx0208): Deleted.
4512 (Vcharset_katakana_jisx0208): Deleted.
4513 (Qideograph_daikanwa): New variable.
4514 (Qhiragana_jisx0208): Deleted.
4515 (Qkatakana_jisx0208): Deleted.
4516 (split_builtin_char): Split `ideograph-daikanwa'.
4517 (Fsplit_char): New implementation for UTF-2000.
4518 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4519 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4520 (complex_vars_of_mule_charset): Add new coded-charset
4521 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4522 `katakana-jisx0208'.
4524 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4525 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4526 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4527 (MIN_CHAR_DAIKANWA): New macro.
4528 (MAX_CHAR_DAIKANWA): New macro.
4530 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4532 * data.c (Fstring_to_number): Don't recognize floating point if
4535 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4537 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4539 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4541 * mule-charset.c (Qsquare): New variable.
4542 (to_char_code): Add `Qsquare'.
4543 (syms_of_mule_charset): Add new symbol `square'.
4545 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4547 * mule-charset.c (Qcircle): New variable.
4548 (to_char_code): Add `Qcircle'.
4549 (syms_of_mule_charset): Add new symbol `circle'.
4551 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4553 * mule-charset.c (Qfont): New variable.
4554 (to_char_code): Add `Qfont'.
4555 (syms_of_mule_charset): Add new symbol `font'.
4557 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4559 * mule-charset.c (Qsub): New variable.
4560 (to_char_code): Add `Qsub'.
4561 (syms_of_mule_charset): Add new symbol `sub'.
4563 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4565 * mule-charset.c (Fput_char_attribute): Convert each element of
4566 VALUE to GL position if ATTRIBUTE is a GR-set,
4568 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4570 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4571 coded-charset is a GR-set.
4573 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4575 * mule-charset.c (Fput_char_attribute): Check each element of
4576 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4578 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4580 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4582 (Qethiopic_ucs): New variable in UTF-2000.
4583 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4584 (complex_vars_of_mule_charset): Add new coded-charset
4585 `ethiopic-ucs' in UTF-2000.
4587 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4588 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4590 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4592 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4594 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4596 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4599 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4601 * mule-charset.c (Vcharacter_variant_table): New variable.
4602 (Q_ucs): New variable.
4603 (Fchar_variants): New function.
4604 (Fput_char_attribute): Register `->ucs' value to
4605 `Vcharacter_variant_table'.
4606 (syms_of_mule_charset): Add new function `char-variants' and new
4608 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4610 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4612 * mule-charset.c (get_char_code_table): Allow negative character
4614 (put_char_code_table): Likewise.
4615 (Vcharacter_composition_table): New variable.
4616 (Q_decomposition): New variable.
4617 (Qwide): New variable.
4618 (Qnarrow): New variable.
4619 (Qcompat): New variable.
4620 (QnoBreak): New variable.
4621 (Qsuper): New variable.
4622 (Qfraction): New variable.
4623 (to_char_code): New function.
4624 (Fget_composite_char): New function.
4625 (Fput_char_attribute): Register `->decomposition' value to
4626 `Vcharacter_composition_table'.
4627 (syms_of_mule_charset): Add new function `get-composite-char', new
4628 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4629 `super' and `fraction'.
4630 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4632 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4634 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4635 character; copy the return value.
4637 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4639 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4641 * mule-charset.c (range_charset_code_point): Must use make_int.
4642 (split_builtin_char): New function.
4644 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4646 * mule-charset.c (char_byte_table): Change name from
4647 "char-code-table" to "char-byte-table".
4648 (mark_char_code_table): New function.
4649 (char_code_table_equal): New function.
4650 (char_code_table_hash): New function.
4651 (char_code_table_description): New constant.
4652 (char_code_table): New type.
4653 (make_char_code_table): New function.
4654 (copy_char_code_table): New function.
4655 (get_char_code_table): Modify for `char_code_table' type.
4656 (put_char_code_table): Likewise.
4657 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4660 * char-ucs.h (char_code_table): New type.
4661 (XCHAR_CODE_TABLE): New macro.
4662 (XSETCHAR_CODE_TABLE): New macro.
4663 (CHAR_CODE_TABLE_P): New macro.
4664 (GC_CHAR_CODE_TABLE_P): New macro.
4665 (struct Lisp_Char_Code_Table): New structure.
4667 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4669 * mule-charset.c (Fmake_charset): Setup byte_offset for
4672 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4674 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4677 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4679 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4682 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4684 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4685 charset, it is regarded as a charset.
4686 (put_char_attribute): New function in UTF-2000.
4687 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4688 charset, mapping-table of the charset is modified.
4689 (Fdefine_char): New function in UTF-2000.
4690 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4691 `Fput_char_attribute'.
4692 (syms_of_mule_charset): Add new function `define-char' and new
4693 symbol `ucs' in UTF-2000.
4694 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4696 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4698 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4699 non-UTF-2000 configuration.
4701 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4703 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4704 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4706 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4708 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4709 (Fset_charset_mapping_table): Likewise.
4711 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4712 (CHARSET_ENCODING_TABLE): Delete.
4713 (XCHARSET_ENCODING_TABLE): Delete.
4714 (charset_code_point): New interface.
4716 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4718 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4719 instead of `charset_get_byte1' and `charset_get_byte2'.
4721 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4722 (charset_get_byte2): Deleted.
4724 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4726 * char-ucs.h (SPLIT_CHAR): New inline function.
4727 (breakup_char_1): Use `SPLIT_CHAR'.
4729 * mule-charset.c (range_charset_code_point): New function.
4730 (charset_code_point): New function.
4732 * char-ucs.h (range_charset_code_point): New interface.
4733 (breakup_char_1): Use `range_charset_code_point'.
4735 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4737 * mule-charset.c (Fmake_charset): Delete unused local variable
4740 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4741 (breakup_char_1): Find a charset and code-point in
4742 `Vcharacter_attribute_table'.
4744 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4746 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4749 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4751 * mule-charset.c (Vcharacter_attribute_table): New variable.
4752 (Fchar_attribute_alist): New function.
4753 (Fget_char_attribute): New function.
4754 (Fput_char_attribute): New function.
4755 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4757 (syms_of_mule_charset): Add new function `char-attribute-alist',
4758 `get-char-attribute' and `put-char-attribute'.
4759 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4761 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4763 * mule-charset.c (Fmake_charset): Just use
4764 `get_unallocated_leading_byte'.
4766 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4767 sets; don't use final-byte based number for private sets.
4769 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4771 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4774 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4776 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4779 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4781 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4782 of `CHAR_LEADING_BYTE' in UTF-2000.
4784 * insdel.c (find_charsets_in_bufbyte_string): Use
4785 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4786 (find_charsets_in_emchar_string): Likewise.
4788 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4789 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4791 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4792 (CHAR_CHARSET_ID): New macro.
4794 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4796 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4797 charset-id - MIN_LEADING_BYTE.
4798 (put_char_table): Likewise.
4800 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4802 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4803 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4804 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4805 (CHARSET_ID_OFFSET): New macro.
4806 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4807 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4808 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4809 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4811 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4813 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4814 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4815 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4816 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4817 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4819 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4821 * mule-charset.c (next_allocated_leading_byte): New variable in
4823 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4824 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4825 (get_unallocated_leading_byte): Simply use
4826 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4827 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4830 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4831 (MAX_LEADING_BYTE_PRIVATE): New macro.
4832 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4833 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4835 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4837 * mule-charset.c (Fmake_charset): Allocate final-byte based
4838 charset-id for 94-set, 96-set and 94x94-set.
4840 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4842 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4844 (Fmake_charset): Likewise.
4845 (complex_vars_of_mule_charset): Modify the font registry of
4846 `ucs-bmp' not to match `Ethiopic-Unicode'.
4848 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4850 * mule-charset.c (complex_vars_of_mule_charset): Add font
4851 registory of `ucs-bmp'.
4853 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4855 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4856 coded-charsets in `default-coded-charset-priority-list' when
4857 breaking up a character.
4859 * mule-charset.c (Vcharset_latin_viscii): New variable.
4860 (Qlatin_viscii): New variable.
4861 (make_charset): Don't use `decoding_table'.
4862 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4864 (Fset_charset_mapping_table): New implementation.
4865 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4866 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4867 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4868 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4869 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4870 charset `latin_viscii'.
4872 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4873 (CHARSET_TYPE_94X94): Change to 1 from 2.
4874 (CHARSET_TYPE_96): Change to 2 from 1.
4875 (CHARSET_TYPE_128): New macro.
4876 (CHARSET_TYPE_128X128): Change to 5 from 4.
4877 (CHARSET_TYPE_256): New macro.
4878 (CHARSET_TYPE_256X256): Change to 7 from 5.
4879 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4881 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4883 * text-coding.c (char_encode_shift_jis): Refer
4884 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4885 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4887 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4888 (char_byte_table_equal): New function in UTF-2000.
4889 (char_byte_table_hash): New function in UTF-2000.
4890 (char_byte_table_description): New constant in UTF-2000.
4891 (char_byte_table): New type in UTF-2000.
4892 (make_char_byte_table): New function in UTF-2000.
4893 (copy_char_byte_table): New function in UTF-2000.
4894 (make_char_code_table): New macro in UTF-2000.
4895 (get_char_code_table): New function in UTF-2000.
4896 (put_char_code_table): New function in UTF-2000.
4897 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4898 (charset_description): Add setting in UTF-2000.
4899 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4900 `CHARSET_TO_BYTE1_TABLE(cs)'.
4901 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4902 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4903 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4904 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4905 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4906 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4907 `CHARSET_TO_BYTE2_TABLE(cs)'.
4909 * char-ucs.h (char_byte_table): New type.
4910 (XCHAR_BYTE_TABLE): New macro.
4911 (XSETCHAR_BYTE_TABLE): New macro.
4912 (CHAR_BYTE_TABLE_P): New macro.
4913 (GC_CHAR_BYTE_TABLE_P): New macro.
4914 (struct Lisp_Char_Byte_Table): New structure.
4915 (get_char_code_table): New interface.
4916 (Emchar_to_byte_table): Deleted.
4917 (get_byte_from_character_table): Deleted.
4918 (struct Lisp_Charset): Add `encoding_table'; delete
4919 `to_byte1_table' and `to_byte2_table'.
4920 (CHARSET_ENCODING_TABLE): New macro.
4921 (CHARSET_TO_BYTE1_TABLE): Deleted.
4922 (CHARSET_TO_BYTE2_TABLE): Deleted.
4923 (XCHARSET_ENCODING_TABLE): New macro.
4924 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4925 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4927 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4929 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4930 `vietnamese-viscii-*'.
4932 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4934 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4935 (Qvietnamese_viscii_upper): New variable.
4936 (Fdefine_charset_alias): New function.
4937 (syms_of_mule_charset): Add new function `define-charset-alias'.
4938 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4939 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4942 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4944 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4945 (MAX_CHAR_OBS_94x94): New macro.
4946 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4949 * mule-charset.c (put_byte_from_character_table): Change unit size
4951 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4953 (Fmake_reverse_direction_charset): Modify dummy argument of
4954 `make_charset' for non-UTF-2000 environment.
4956 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4958 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4960 * mule-charset.c (destroy_byte_from_character_table): New macro.
4961 (latin_jisx0201_to_ucs): Deleted.
4962 (latin_iso8859_2_to_ucs): Deleted.
4963 (latin_iso8859_3_to_ucs): Deleted.
4964 (latin_iso8859_4_to_ucs): Deleted.
4965 (latin_iso8859_9_to_ucs): Deleted.
4966 (latin_viscii_lower_to_ucs): Deleted.
4967 (latin_viscii_upper_to_ucs): Deleted.
4968 (mark_charset): Mark `cs->decoding_table'.
4969 (Fcharset_mapping_table): Fix DOC-string.
4970 (Fset_charset_mapping_table): New function.
4971 (syms_of_mule_charset): Add nwe function
4972 `set-charset-mapping-table'.
4973 (complex_vars_of_mule_charset): Don't setup and use
4976 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4978 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4981 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4983 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4984 (Vcharset_katakana_jisx0208): New variable.
4985 (Qhiragana_jisx0208): New variable.
4986 (Qkatakana_jisx0208): New variable.
4987 (make_charset): Add new argument `byte_offset'.
4988 (charset_get_byte1): Modify for new coded-charset definition; use
4989 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4990 `XCHARSET_BYTE_OFFSET'.
4991 (Fmake_charset): Modify for `make_charset'.
4992 (Fmake_reverse_direction_charset): Likewise.
4993 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4994 `katakana-jisx0208'.
4995 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4996 `.' in font registry of charset `katakana-jisx0201',
4997 `latin-jisx0201', `vietnamese-viscii-lower' and
4998 `vietnamese-viscii-upper'; modify DOC-string of charset
4999 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
5000 registry of charset `japanese-jisx0208' not to use font for JIS
5001 X0208:1990; add new charset `hiragana-jisx0208' and
5002 `katakana-jisx0208'.
5004 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
5005 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
5006 (struct Lisp_Charset): Add `byte_offset'.
5007 (CHARSET_BYTE_OFFSET): New macro.
5008 (XCHARSET_UCS_MIN): New macro.
5009 (XCHARSET_UCS_MAX): New macro.
5010 (XCHARSET_CODE_OFFSET): New macro.
5011 (XCHARSET_BYTE_OFFSET): New macro.
5012 (MIN_CHAR_HIRAGANA): New macro.
5013 (MAX_CHAR_HIRAGANA): New macro.
5014 (MIN_CHAR_KATAKANA): New macro.
5015 (MAX_CHAR_KATAKANA): New macro.
5016 (MAKE_CHAR): Modify for new coded-charset definition; use
5017 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
5018 `XCHARSET_BYTE_OFFSET'.
5020 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5022 * mule-charset.c (CHAR96): Deleted.
5023 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
5025 (latin_iso8859_2_to_ucs): Likewise.
5026 (latin_iso8859_3_to_ucs): Likewise.
5027 (latin_iso8859_4_to_ucs): Likewise.
5028 (latin_iso8859_9_to_ucs): Likewise.
5029 (latin_viscii_lower_to_ucs): Likewise.
5030 (latin_viscii_upper_to_ucs): Likewise.
5031 (latin_tcvn5712_to_ucs): Commented out.
5032 (make_charset): Change type of argument `decoding_table' from
5033 <Emchar*> to <Lisp_Object> [vector of characters].
5034 (Fmake_charset): Modify for `make_charset'.
5035 (Fmake_reverse_direction_charset): Likewise.
5036 (Fcharset_mapping_table): New function in UTF-2000.
5037 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
5039 (complex_vars_of_mule_charset): Modify for type change of
5040 `*_to_ucs'; modify for `make_charset'.
5042 * char-ucs.h (struct Lisp_Charset): Change type of
5043 `decoding_table' from <Emchar*> to <Lisp_Object>.
5044 (MAKE_CHAR): Modify for new specification of `decoding_table'.
5046 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
5048 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
5049 error with non-UTF-2000-Mule.
5051 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
5053 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
5055 (Vcharset_chinese_cns11643_4): Likewise.
5056 (Vcharset_chinese_cns11643_5): Likewise.
5057 (Vcharset_chinese_cns11643_6): Likewise.
5058 (Vcharset_chinese_cns11643_7): Likewise.
5059 (Qchinese_cns11643_3): Likewise.
5060 (Qchinese_cns11643_4): Likewise.
5061 (Qchinese_cns11643_5): Likewise.
5062 (Qchinese_cns11643_6): Likewise.
5063 (Qchinese_cns11643_7): Likewise.
5064 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
5065 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5066 and `chinese-cns11643-7' to lisp/mule/chinese.el.
5067 (complex_vars_of_mule_charset): Likewise.
5069 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
5071 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
5073 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
5074 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
5076 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5078 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
5080 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
5081 (breakup_char_1): Likewise.
5083 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5084 one of them includes the specified character.
5086 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5088 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5090 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5092 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5094 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5096 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5097 definition for non-UTF-2000 Mule.
5098 (latin_iso8859_3_to_ucs): Likewise.
5099 (latin_iso8859_4_to_ucs): Likewise.
5100 (latin_iso8859_9_to_ucs): Likewise.
5101 (latin_jisx0201_to_ucs): Likewise.
5102 (MIN_CHAR_THAI): Likewise.
5103 (MAX_CHAR_THAI): Likewise.
5104 (MIN_CHAR_GREEK): Likewise.
5105 (MAX_CHAR_GREEK): Likewise.
5106 (MIN_CHAR_HEBREW): Likewise.
5107 (MAX_CHAR_HEBREW): Likewise.
5108 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5109 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5110 (MIN_CHAR_CYRILLIC): Likewise.
5111 (MAX_CHAR_CYRILLIC): Likewise.
5113 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5115 * char-ucs.h (breakup_char_1): Use
5116 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5117 thai-tis620 and katakana-jisx0201 area.
5119 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5121 * char-ucs.h (breakup_char_1): Use
5122 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5125 * text-coding.c (reset_encoding_stream): Fixed.
5126 (char_encode_ucs4): Delete `& 255'.
5128 * char-ucs.h (breakup_char_1): Use
5129 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5131 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5133 * file-coding.c (Fmake_coding_system): Don't set up
5134 `codesys->fixed.size'.
5135 (encode_coding_no_conversion): Don't refer
5136 `str->codesys->fixed.size'.
5138 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5140 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5141 (latin_a_char_to_byte1): Deleted.
5142 (latin_a_char_to_byte2): Deleted.
5144 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5146 * mule-charset.c (make_charset): Add new argument `ucs_min',
5147 `ucs_max' and `code_offset'.
5148 (charset_get_byte1): New implementation [delete specific charset
5149 depended implementations].
5150 (Fmake_charset): Modify for `make_charset'.
5151 (Fmake_reverse_direction_charset): Likewise.
5152 (complex_vars_of_mule_charset): Likewise.
5154 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5156 (CHARSET_UCS_MIN): New macro.
5157 (CHARSET_UCS_MAX): New macro.
5158 (CHARSET_CODE_OFFSET): New macro.
5159 (MAKE_CHAR): Delete charset depended definitions [except
5162 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5164 * char-ucs.h (breakup_char_1): Use
5165 `Vdefault_coded_charset_priority_list' for C0-Controls,
5166 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5168 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5170 * char-ucs.h (charset_get_byte1): New function.
5171 (XCHARSET_GET_BYTE1): Deleted.
5172 (charset_get_byte2): New function.
5173 (XCHARSET_GET_BYTE2): Deleted.
5174 (Vdefault_coded_charset_priority_list): New external variable.
5175 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5176 `Vdefault_preferred_coded_charset_list'.
5178 * mule-charset.c (charset_get_byte1): New function.
5179 (charset_get_byte2): New function.
5180 (Vdefault_coded_charset_priority_list): New variable.
5181 (vars_of_mule_charset): Add new variable
5182 `default-coded-charset-priority-list'.
5184 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5186 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5187 (XCHARSET_GET_BYTE2): New inline function.
5188 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5189 `XCHARSET_GET_BYTE2'.
5191 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5193 * mule-charset.c (make_charset): Initialize
5194 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5195 NULL if table is not defined.
5197 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5199 * text-coding.c (char_encode_shift_jis): Use
5200 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5201 `ucs_to_latin_jisx0201'.
5203 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5204 (ucs_to_latin_iso8859_2): Deleted.
5205 (ucs_to_latin_iso8859_3): Deleted.
5206 (ucs_to_latin_iso8859_4): Deleted.
5207 (ucs_to_latin_iso8859_9): Deleted.
5208 (ucs_to_latin_viscii_lower): Deleted.
5209 (ucs_to_latin_viscii_upper): Deleted.
5210 (ucs_to_latin_tcvn5712): Deleted.
5211 (make_charset): Add new argument `decoding_table'; set up
5212 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5213 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5214 `decoding_table' is defined in UTF-2000.
5215 (Fmake_charset): Modify for `make_charset'.
5216 (Fmake_reverse_direction_charset): Likewise.
5217 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5218 and `GENERATE_96_SET'.
5220 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5221 (ucs_to_latin_jisx0201): Deleted.
5222 (latin_iso8859_2_to_ucs): Deleted.
5223 (ucs_to_latin_iso8859_2): Deleted.
5224 (latin_iso8859_3_to_ucs): Deleted.
5225 (ucs_to_latin_iso8859_3): Deleted.
5226 (latin_iso8859_4_to_ucs): Deleted.
5227 (ucs_to_latin_iso8859_4): Deleted.
5228 (latin_iso8859_9_to_ucs): Deleted.
5229 (ucs_to_latin_iso8859_9): Deleted.
5230 (latin_viscii_lower_to_ucs): Deleted.
5231 (ucs_to_latin_viscii_lower): Deleted.
5232 (latin_viscii_upper_to_ucs): Deleted.
5233 (ucs_to_latin_viscii_upper): Deleted.
5234 (struct Lisp_Charset): Renamed `encoding_table' to
5235 `to_byte1_table'; add `to_byte2_table'.
5236 (CHARSET_DECODING_TABLE): New macro.
5237 (CHARSET_TO_BYTE1_TABLE): New macro.
5238 (CHARSET_TO_BYTE2_TABLE): New macro.
5239 (XCHARSET_DECODING_TABLE): New macro.
5240 (XCHARSET_TO_BYTE1_TABLE): New macro.
5241 (XCHARSET_TO_BYTE2_TABLE): New macro.
5242 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5244 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5245 don't use `ucs_to_*' tables.
5247 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5249 * text-coding.c (Fmake_coding_system): Don't set up
5250 `codesys->fixed.size'.
5251 (encode_coding_no_conversion): Use `if' instead of `switch'.
5253 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5255 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5257 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5258 (Fmake_charset): Modify for `make_charset'.
5259 (Fmake_reverse_direction_charset): Likewise.
5260 (complex_vars_of_mule_charset): Likewise.
5262 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5264 * text-coding.c (char_encode_shift_jis): Use table
5265 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5267 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5269 * text-coding.c (text_encode_generic): Use `if' instead of
5271 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5274 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5276 * text-coding.c (encode_coding_sjis): Deleted.
5277 (char_encode_shift_jis): New function.
5278 (char_finish_shift_jis): New function.
5279 (reset_encoding_stream): Set up `encode_char' and `finish' for
5280 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5281 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5282 (char_encode_utf8): Treat `eol_type'.
5284 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5286 * file-coding.c (decode_coding_iso2022): Use
5287 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5289 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5291 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5294 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5296 * char-lb.h (CHAR_COLUMNS): New macro.
5298 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5300 * text-coding.c (char_encode_ucs4): New function.
5301 (char_finish_ucs4): New function.
5302 (encode_coding_ucs4): Deleted.
5303 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5304 (text_encode_generic): Delete local variable `charset' and `half'.
5305 (ucs_to_mule_table): Deleted.
5306 (mule_to_ucs_table): Deleted.
5307 (Fset_ucs_char): Deleted.
5308 (ucs_to_char): Deleted.
5309 (Fucs_char): Deleted.
5310 (Fset_char_ucs): Deleted.
5311 (Fchar_ucs): Deleted.
5312 (decode_ucs4): Deleted.
5313 (mule_char_to_ucs4): Deleted.
5314 (encode_ucs4): Deleted.
5315 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5316 (decode_coding_utf8): Likewise.
5317 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5318 (char_encode_iso2022): Fixed.
5319 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5320 `Fset_char_ucs' and `Fchar_ucs'.
5321 (complex_vars_of_file_coding): Don't initialize
5322 `ucs_to_mule_table'.
5324 * objects-tty.c (tty_initialize_font_instance): Don't use
5327 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5330 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5331 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5333 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5334 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5335 (emchar_string_displayed_columns): Likewise.
5337 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5338 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5339 (string_column_at_point): Likewise.
5340 (Fmove_to_column): Likewise.
5342 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5343 `encoding_table' and `decoding_table'.
5344 (CHARSET_REP_BYTES): Deleted.
5345 (XCHARSET_REP_BYTES): Deleted.
5346 (XCHARSET_COLUMNS): Deleted.
5347 (CHAR_COLUMNS): New macro.
5348 (lookup_composite_char): Deleted unconditionally.
5349 (composite_char_string): Likewise.
5351 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5353 * char-ucs.h (Emchar_to_byte_table): New type.
5354 (get_byte_from_character_table): New function interface.
5355 (Vcharset_latin_jisx0201): New variable.
5356 (latin_jisx0201_to_ucs): New variable.
5357 (ucs_to_latin_jisx0201): New variable.
5358 (Vcharset_latin_iso8859_2): New variable.
5359 (latin_iso8859_2_to_ucs): New variable.
5360 (ucs_to_latin_iso8859_2): New variable.
5361 (Vcharset_latin_iso8859_3): New variable.
5362 (latin_iso8859_3_to_ucs): New variable.
5363 (ucs_to_latin_iso8859_3): New variable.
5364 (Vcharset_latin_iso8859_4): New variable.
5365 (latin_iso8859_4_to_ucs): New variable.
5366 (ucs_to_latin_iso8859_4): New variable.
5367 (Vcharset_latin_iso8859_9): New variable.
5368 (latin_iso8859_9_to_ucs): New variable.
5369 (ucs_to_latin_iso8859_9): New variable.
5370 (Vcharset_latin_viscii_lower): New variable.
5371 (latin_viscii_lower_to_ucs): New variable.
5372 (ucs_to_latin_viscii_lower): New variable.
5373 (Vcharset_latin_viscii_upper): New variable.
5374 (latin_viscii_upper_to_ucs): New variable.
5375 (ucs_to_latin_viscii_upper): New variable.
5376 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5377 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5378 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5379 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5380 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5381 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5382 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5383 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5384 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5385 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5387 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5388 (Vcharset_latin_viscii_upper): New variable.
5389 (make_byte_from_character_table): New function.
5390 (put_byte_from_character_table): New function.
5391 (get_byte_from_character_table): New function.
5392 (CHAR96): New macro.
5393 (ucs_to_latin_jisx0201): New variable.
5394 (latin_jisx0201_to_ucs): New variable.
5395 (ucs_to_latin_iso8859_2): New variable.
5396 (latin_iso8859_2_to_ucs): New variable.
5397 (ucs_to_latin_iso8859_3): New variable.
5398 (latin_iso8859_3_to_ucs): New variable.
5399 (ucs_to_latin_iso8859_4): New variable.
5400 (latin_iso8859_4_to_ucs): New variable.
5401 (ucs_to_latin_iso8859_9): New variable.
5402 (latin_iso8859_9_to_ucs): New variable.
5403 (ucs_to_latin_viscii_lower): New variable.
5404 (latin_viscii_lower_to_ucs): New variable.
5405 (ucs_to_latin_viscii_upper): New variable.
5406 (latin_viscii_upper_to_ucs): New variable.
5407 (ucs_to_latin_tcvn5712): New variable.
5408 (latin_tcvn5712_to_ucs): New variable.
5409 (Qlatin_viscii_lower): New variable.
5410 (Qlatin_viscii_upper): New variable.
5411 (syms_of_mule_charset): Set up new symbol
5412 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5413 (complex_vars_of_mule_charset): Set up new charset
5414 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5415 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5416 `ucs_to_<CHARSET>' tables.
5418 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5420 * text-coding.c: New file.
5422 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5424 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5426 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5427 (MAKE_CHAR): Modify for `ucs-bmp'.
5428 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5429 non-MULE characters of BMP.
5431 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5433 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5436 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5439 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5440 - Include character.h for `CHAR_ASCII_P'.
5442 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5444 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5445 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5447 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5448 (BYTE_C0_P): Likewise.
5449 (BYTE_C1_P): Likewise.
5450 (Lstream_get_emchar_1): Likewise.
5451 (Lstream_fput_emchar): Likewise.
5452 (Lstream_funget_emchar): Likewise.
5453 (copy_internal_to_external): Likewise.
5454 (copy_external_to_internal): Likewise.
5456 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5457 (BYTE_C0_P): Likewise.
5458 (BYTE_C1_P): Likewise.
5459 (Lstream_get_emchar_1): Likewise.
5460 (Lstream_fput_emchar): Likewise.
5461 (Lstream_funget_emchar): Likewise.
5462 (copy_internal_to_external): Likewise.
5463 (copy_external_to_internal): Likewise.
5465 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5466 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5468 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5469 (BYTE_ASCII_P): Moved to mb-1byte.h.
5471 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5473 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5475 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5476 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5477 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5478 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5479 (VALIDATE_CHARPTR_FORWARD): Likewise.
5480 (simple_charptr_emchar): Moved to mb-multibyte.h.
5481 (simple_set_charptr_emchar): Likewise.
5482 (simple_charptr_copy_char): Likewise.
5483 (non_ascii_charptr_emchar): Likewise.
5484 (non_ascii_set_charptr_emchar): Likewise.
5485 (non_ascii_charptr_copy_char): Likewise.
5486 (charptr_emchar): Moved to mb-*byte.h.
5487 (set_charptr_emchar): Likewise.
5488 (charptr_copy_char): Likewise.
5490 * mb-1byte.h, mb-multibyte.h: New files.
5492 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5494 * mb-utf-8.h (MULTIBYTE): New macro.
5495 (MAX_EMCHAR_LEN): Moved from buffer.h.
5496 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5498 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5500 * mb-lb.h, multibyte.h: New files.
5502 * char-1byte.h (Charset_ID): Moved from buffer.h.
5503 (MIN_LEADING_BYTE): Likewise.
5504 (LEADING_BYTE_ASCII): Likewise.
5505 (NUM_LEADING_BYTES): Likewise.
5506 (CHARSETP): Likewise.
5507 (CHARSET_BY_LEADING_BYTE): Likewise.
5508 (XCHARSET_LEADING_BYTE): Likewise.
5509 (XCHARSET_GRAPHIC): Likewise.
5510 (XCHARSET_COLUMNS): Likewise.
5511 (XCHARSET_DIMENSION): Likewise.
5512 (CHAR_CHARSET): Likewise.
5513 (CHAR_LEADING_BYTE): Likewise.
5514 (BREAKUP_CHAR): Likewise.
5515 (Vcharset_ascii): Likewise.
5517 * buffer.h: Include multibyte.h unconditionally.
5518 (VALID_CHARPTR_P): Moved to multibyte.h.
5519 (ASSERT_VALID_CHARPTR): Likewise.
5520 (REAL_INC_CHARPTR): Likewise.
5521 (REAL_INC_CHARBYTIND): Likewise.
5522 (REAL_DEC_CHARPTR): Likewise.
5523 (INC_CHARPTR): Likewise.
5524 (INC_CHARBYTIND): Likewise.
5525 (DEC_CHARPTR): Likewise.
5526 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5527 (VALIDATE_CHARPTR_FORWARD): Likewise.
5528 (charptr_n_addr): Likewise.
5529 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5530 (simple_charptr_emchar): Moved to multibyte.h.
5531 (simple_set_charptr_emchar): Likewise.
5532 (simple_charptr_copy_char): Likewise.
5533 (non_ascii_charptr_emchar): Likewise.
5534 (non_ascii_set_charptr_emchar): Likewise.
5535 (non_ascii_charptr_copy_char): Likewise.
5536 (charptr_emchar): Likewise.
5537 (set_charptr_emchar): Likewise.
5538 (charptr_copy_char): Likewise.
5539 (charptr_emchar_n): Likewise.
5540 (Charset_ID): Moved to char-1byte.h.
5541 (Vcharset_ascii): Likewise.
5542 (CHAR_CHARSET): Likewise.
5543 (CHAR_LEADING_BYTE): Likewise.
5544 (LEADING_BYTE_ASCII): Likewise.
5545 (NUM_LEADING_BYTES): Likewise.
5546 (MIN_LEADING_BYTE): Likewise.
5547 (CHARSETP): Likewise.
5548 (CHARSET_BY_LEADING_BYTE): Likewise.
5549 (XCHARSET_LEADING_BYTE): Likewise.
5550 (XCHARSET_GRAPHIC): Likewise.
5551 (XCHARSET_COLUMNS): Likewise.
5552 (XCHARSET_DIMENSION): Likewise.
5553 (BREAKUP_CHAR): Likewise.
5555 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5557 * character.h: Add document about interface for characters.
5559 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5560 (MAKE_CHAR): Delete comment about
5561 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5562 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5563 (BREAKUP_CHAR): Modify name of arguments.
5564 (CHAR_CHARSET): Modify name of argument.
5566 * buffer.h: Delete document about Emchar accessors.
5568 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5570 * character.h (CHAR_INTP): Moved from buffer.h
5571 (CHAR_OR_CHAR_INTP): Likewise.
5572 (XCHAR_OR_CHAR_INT): Likewise.
5573 (CHECK_CHAR_COERCE_INT): Likewise.
5575 * buffer.h (CHAR_INTP): Moved to character.h
5576 (CHAR_OR_CHAR_INTP): Likewise.
5577 (XCHAR_OR_CHAR_INT): Likewise.
5578 (CHECK_CHAR_COERCE_INT): Likewise.
5580 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5583 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5584 - Include char-1byte.h, char-lb.h or char-ucs.h.
5586 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5588 * buffer.h: Include character unconditionally.
5589 (valid_char_p): Moved to char-*.h.
5590 (non_ascii_valid_char_p): Moved to char-lb.h.
5592 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5594 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5596 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5597 in UTF-2000 because it is not ported yet and not to use
5598 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5599 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5600 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5602 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5603 (CHAR_ASCII_P): Moved from character.h.
5605 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5606 (CHAR_ASCII_P): Likewise.
5607 (CHAR_FIELD1_MASK): Deleted.
5608 (CHAR_FIELD2_MASK): Deleted.
5609 (CHAR_FIELD3_MASK): Deleted.
5610 (MAX_CHAR_BASIC_LATIN): New macro.
5611 (CHAR_FIELD1): Deleted.
5612 (CHAR_FIELD2_INTERNAL): Deleted.
5613 (CHAR_FIELD3_INTERNAL): Deleted.
5614 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5615 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5616 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5617 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5618 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5619 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5620 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5621 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5622 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5623 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5624 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5625 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5626 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5627 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5628 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5629 (MIN_CHAR_COMPOSITION): Deleted.
5630 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5631 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5633 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5635 * buffer.h: Include mb-utf-8.h in UTF-2000.
5637 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5639 * mb-utf-8.h: New file.
5641 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5643 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5646 * mule-charset.h, buffer.h (Charset_ID): New type.
5648 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5650 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5651 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5652 instead of `MULE_CHAR_PRIVATE_OFFSET',
5653 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5654 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5655 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5657 * character.h (Vcharset_japanese_jisx0212): New variable
5660 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5662 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5663 (charset_by_attributes): Delete array about direction.
5664 (latin_a_char_to_charset): New variable in UTF-2000.
5665 (latin_a_char_to_byte1): New variable in UTF-2000.
5666 (latin_a_char_to_byte2): New variable in UTF-2000.
5667 (Qucs_bmp): New variable.
5668 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5670 (next_allocated_2_byte_leading_byte): Likewise.
5671 (non_ascii_set_charptr_emchar): Likewise.
5672 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5673 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5674 `charset_by_attributes'.
5675 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5676 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5677 and `CHARSET_BY_LEADING_BYTE'.
5678 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5679 `utf-2000-version' to `vars_of_mule_charset'.
5680 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5681 define `leading-code-private-11' in UTF-2000; move setting of
5682 `utf-2000-version' from `syms_of_mule_charset'.
5683 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5686 * character.h (Charset_ID): New type.
5687 (LEADING_BYTE_UCS_BMP): New macro.
5688 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5689 (CHARSET_ID_OFFSET_94): New macro.
5690 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5691 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5692 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5694 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5695 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5696 (CHARSET_ID_OFFSET_96): New macro.
5697 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5698 CHARSET_ID_OFFSET_96 and final-byte.
5699 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5700 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5701 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5702 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5703 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5704 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5705 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5706 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5707 (LEADING_BYTE_THAI_TIS620): Likewise.
5708 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5709 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5710 (CHARSET_ID_OFFSET_94x94): New macro.
5711 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5712 CHARSET_ID_OFFSET_94x94 and final-byte.
5713 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5714 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5715 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5716 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5717 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5718 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5719 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5720 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5721 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5722 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5723 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5724 (CHARSET_TYPE_128X128): New macro.
5725 (CHARSET_TYPE_256X256): New macro.
5726 (XCHARSET_PRIVATE_P): Delete unconditionally.
5727 (charset_by_attributes): Delete array about direction.
5728 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5729 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5730 (MIN_CHAR_94): New macro.
5731 (MAX_CHAR_94): New macro.
5732 (MIN_CHAR_96): New macro.
5733 (MAX_CHAR_96): New macro.
5734 (MIN_CHAR_94x94): New macro.
5735 (MAX_CHAR_94x94): New macro.
5736 (MIN_CHAR_96x96): New macro.
5737 (MAX_CHAR_96x96): New macro.
5738 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5739 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5740 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5742 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5743 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5744 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5745 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5746 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5747 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5748 `XCHARSET_LEADING_BYTE' to make code-point.
5749 (latin_a_char_to_charset): New variable.
5750 (latin_a_char_to_byte1): New variable.
5751 (latin_a_char_to_byte2): New variable.
5752 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5753 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5754 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5756 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5757 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5758 (find_charsets_in_emchar_string): Likewise.
5759 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5761 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5763 (decode_coding_iso2022): Likewise.
5765 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5768 * redisplay.c (redisplay_text_width_emchar_string): Use
5769 `Charset_ID' instead of `unsigned char'.
5770 (redisplay_frame_text_width_string): Likewise.
5772 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5775 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5776 instead of `unsigned char'.
5777 (face_cachel_charset_font_metric_info): Likewise.
5779 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5780 (get_non_ascii_char_table_value): Likewise.
5781 (get_char_table): Likewise.
5782 (put_char_table): Likewise.
5783 (map_over_other_charset): Likewise.
5784 (map_char_table): Likewise.
5786 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5787 instead of `unsigned char'.
5789 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5791 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5792 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5794 * mule-charset.c (leading_code_private_11): Don't define in
5797 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5798 in UTF-2000 because it is not ported yet and not to use
5799 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5801 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5803 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5805 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5807 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5810 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5811 of unsigned char to store leading-byte.
5813 * chartab.c (get_non_ascii_char_table_value): Don't use
5814 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5816 * file-coding.c (encode_coding_big5): Delete bogus implementation
5819 * character.h (LEADING_BYTE_*): Delete definition for
5821 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5822 (LEADING_BYTE_PREFIX_P): Deleted.
5823 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5824 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5825 (BUFBYTE_LEADING_BYTE_P): Deleted.
5826 (CHARSET_PRIVATE_P): Deleted unconditionally.
5827 (rep_bytes_by_first_byte): Deleted unconditionally.
5828 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5829 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5830 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5831 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5832 (CHAR_FIELD2): Deleted.
5833 (CHAR_FIELD3): Deleted.
5834 (MAKE_CHAR): Delete definition for non-UTF-2000.
5835 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5836 (breakup_char_1): New implementation.
5837 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5838 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5840 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5842 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5845 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5847 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5848 (CHARSET_PRIVATE_P): Likewise.
5849 (XCHARSET_PRIVATE_P): Likewise.
5850 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5852 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5854 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5856 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5858 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5859 (NUM_LEADING_BYTES): Changed from 128 to 256.
5860 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5861 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5863 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5865 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5867 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5868 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5869 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5870 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5871 (Qchinese_cns11643_3): New variable in UTF2000.
5872 (Qchinese_cns11643_4): New variable in UTF2000.
5873 (Qchinese_cns11643_5): New variable in UTF2000.
5874 (Qchinese_cns11643_6): New variable in UTF2000.
5875 (Qchinese_cns11643_7): New variable in UTF2000.
5876 (syms_of_mule_charset): Define `chinese-cns11643-3',
5877 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5878 and `chinese-cns11643-7' in UTF2000.
5879 (vars_of_mule_charset): Initialize
5880 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5882 (complex_vars_of_mule_charset): Setup charset
5883 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5884 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5886 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5888 * mule-charset.c: Move setting for `leading-code-private-11' from
5889 `syms_of_mule_charset' to `vars_of_mule_charset'.
5891 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5893 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5894 and `NUM_LEADING_BYTES' in assert.
5896 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5898 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5900 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5901 `NUM_LEADING_BYTES' instead of 128.
5903 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5905 * mule-charset.h (charset_by_leading_byte): Use
5906 `NUM_LEADING_BYTES' instead of 128.
5907 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5909 * mule-charset.c (charset_by_leading_byte): Use
5910 `NUM_LEADING_BYTES' instead of 128.
5911 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5913 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5916 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5918 * mule-charset.c (syms_of_mule_charset): Update to
5921 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5923 * file-coding.c (encode_coding_sjis): New implementation for
5924 UTF2000. (decode_coding_sjis): Ditto.
5926 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5928 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5929 Don't define in UTF2000.
5931 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5934 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5935 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5938 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5940 * config.h.in (CHAR_IS_UCS4): New macro.
5942 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5943 conventional MULE representation.
5944 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5946 * mule-charset.h: Reverted to original.
5948 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5949 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5950 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5952 * character.h: New file.
5954 * file-coding.c (Fmake_coding_system): Set 1 to
5955 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5957 (encode_coding_no_conversion): New implementation for UTF2000.
5959 * file-coding.h (struct Lisp_Coding_System): Add new member
5962 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5964 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5965 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5966 (encode_coding_iso2022): New implementation for UTF2000.
5968 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5970 * mule-canna.c (c2mu): New implementation for UTF2000.
5973 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5975 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5977 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5979 * file-coding.c (reset_encoding_stream): Set 0 to
5980 `str->iso2022.current_char_boundary' in UTF2000.
5981 (encode_utf8): Don't define in UTF2000.
5982 (encode_coding_utf8): New implementation for UTF-8 representation
5984 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5986 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5988 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5990 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5992 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5994 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5996 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5997 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5998 as UTF-8 in UTF2000.
5999 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
6000 (non_ascii_valid_char_p): Don't define in UTF2000.
6001 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
6002 (Lstream_get_emchar_1): Likewise.
6003 (utf-2000-version): New variable in UTF2000.
6005 * lread.c (read_escape): Add new reader `u'.
6007 * insdel.c (three_to_one_table): Don't define in UTF2000.
6008 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
6009 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6011 (bytind_to_bufpos_func): Likewise.
6012 (buffer_mule_signal_inserted_region): Likewise.
6013 (vars_of_insdel): Don't initialize `three_to_one_table'.
6014 (init_buffer_text): Use `buf->text->mule_size' instead of
6015 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
6018 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
6019 UTF-8 representation in UTF2000.
6020 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
6021 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
6022 (decode_coding_iso2022): Don't define local variable `lb' in
6023 UTF2000; don't use LEADING_BYTE in UTF2000; use
6024 `DECODE_ADD_UCS_CHAR' in UTF2000.
6025 (convert_to_external_format): Decode as UTF-8 in UTF2000.
6027 * config.h.in (UTF2000): New macro.
6029 * buffer.h (struct buffer_text): Add new member `mule_size' and
6030 don't add `mule_shifter' and `mule_three_p' in UTF2000.
6031 (valid_char_p): Return always 1 in UTF2000.
6032 (MAX_EMCHAR_LEN): 6 in UTF2000.
6033 (three_to_one_table): Don't define in UTF2000.
6034 (real_bufpos_to_bytind): Modify for UTF-8 representation in
6036 (real_bytind_to_bufpos): Likewise.
6038 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
6040 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
6042 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
6043 representation change.
6044 (Vutf_2000_version): New variable.
6045 (leading_code_private_11): New variable.
6046 (syms_of_mule_charset): Add new variables `utf-2000-version' and
6047 `leading-code-private-11'.
6049 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
6050 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
6051 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
6052 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
6053 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
6054 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
6055 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
6056 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
6057 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
6058 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
6059 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
6060 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
6061 (MIN_CHAR_GREEK): New macro.
6062 (MAX_CHAR_GREEK): New macro.
6063 (MIN_CHAR_CYRILLIC): New macro.
6064 (MAX_CHAR_CYRILLIC): New macro.
6065 (MIN_CHAR_HEBREW): New macro.
6066 (MAX_CHAR_HEBREW): New macro.
6067 (MIN_CHAR_THAI): New macro.
6068 (MAX_CHAR_THAI): New macro.
6069 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
6070 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
6071 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
6072 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
6073 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
6074 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
6075 (CHAR_FIELD2): New inline function.
6076 (CHAR_FIELD3): New inline function.
6077 (MULE_CHAR_PRIVATE_OFFSET): New macro.
6078 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
6079 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
6080 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
6081 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
6082 (MIN_CHAR_COMPOSITION): Likewise.
6083 (CHAR_LEADING_BYTE): Modified for character representation change.
6084 (MAKE_CHAR): Likewise.
6086 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6087 (Vcharset_greek_iso8859_7): Likewise.
6088 (Vcharset_cyrillic_iso8859_5): Likewise.
6089 (Vcharset_hebrew_iso8859_8): Likewise.
6090 (Vcharset_thai_tis620): Likewise.
6091 (Vcharset_katakana_jisx0201): Likewise.
6093 2008-12-28 Vin Shelton <acs@xemacs.org>
6095 * XEmacs 21.4.22 is released
6097 2008-12-27 Vin Shelton <acs@xemacs.org>
6099 * syswindows.h: Don't define wide character interfaces for Cygwin
6102 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6104 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6106 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6108 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6109 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6111 2008-12-25 Vin Shelton <acs@xemacs.org>
6113 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6114 By Julian Bradfield in
6115 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6117 * mule-ccl.c (ccl_driver):
6119 2007-10-07 Vin Shelton <acs@xemacs.org>
6121 * XEmacs 21.4.21 is released
6123 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6125 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6127 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6129 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6130 (png_instantiate): Initialize setjmp_buffer early, and avoid
6131 recursive entry to error handler.
6133 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6135 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6138 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6140 * event-Xt.c (x_reset_modifier_mapping):
6141 * event-gtk.c (gtk_reset_modifier_mapping):
6142 Zero out the device's modifier map once we've freed it, to prevent
6143 a double free on a re-entrant call.
6145 2007-05-17 Vin Shelton <acs@xemacs.org>
6147 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6148 64-bit linux. Patch from Hans de Graaff.
6150 2007-05-02 Vin Shelton <acs@xemacs.org>
6152 * dumper.c (pdump): Don't close pdump_fd (already closed by
6153 fclose() call. Patch from Steve Higham.
6154 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6155 already closed. Patch inspired by Steve Higham.
6157 2007-05-01 Vin Shelton <acs@xemacs.org>
6159 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6160 (mswindows_fstat): Ditto.
6161 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6163 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6165 * postgresql.c: Update Steve Baur's email address by his request.
6166 * postgresql.h: Ditto.
6168 2007-01-04 Vin Shelton <acs@xemacs.org>
6170 * fileio.c (check_writable): Check old-style readonly bit only for
6173 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6175 * src/fileio.c (check_writable):
6176 Cope with the fact that the read-only attribute trumps Windows NTFS
6180 2006-12-09 Vin Shelton <acs@xemacs.org>
6182 * XEmacs 21.4.20 is released
6184 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6186 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6187 relocated the definitions to be used sooner in file.
6188 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6189 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6192 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6194 * sound.c (init_native_sound):
6195 Only X11 and GTK devices can possibly not be on the console of the
6196 associated machine. Fixes a crash when init_native_sound is called
6197 on a msprinter device.
6199 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6201 * buffer.c (buffer-file-name): Document invariant.
6202 (buffer-file-truename): Sync wording to buffer-file-name.
6203 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6206 2006-11-19 Benson Margulies <benson@dchbk.us>
6208 * fileio.c: Add code to use full Win32 API to check for write
6209 access. Win32 has the general design policy that you aren't
6210 supposed to ask this question, since security checks change
6211 depending on asynchronous processes. Nonetheless, there is a way,
6212 by acting as if we are a server doing interpretive access
6215 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6217 * bytecode.c: Use xnew_array instead of alloca.
6219 2006-07-04 Vin Shelton <acs@xemacs.org>
6221 * redisplay-msw.c: Fix tiny, but crucial typo.
6223 2006-06-22 Jerry James <james@xemacs.org>
6225 * EmacsShell-sub.c (ChangeManaged):
6226 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6228 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6229 checking if it is NULL. Also fix a memory leak.
6230 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6231 dereference it, not the other way around.
6232 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6234 * dumper.c (pdump_register_struct): Ditto.
6235 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6236 to (short) warnpath overflow warnpath.
6237 * extents.c (detach_all_extents): Call extent_list_delete_all with
6238 a non-NULL parameter only.
6239 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6240 NULL width and height.
6241 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6242 xic before checking if they are NULL.
6243 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6245 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6246 * nas.c (Err): Fix a memory leak.
6247 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6248 Don't create the buffer if there is nothing to do.
6249 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6250 * redisplay-output.c (redisplay_output_layout): Ditto.
6251 * redisplay-tty.c (tty_output_display_block): Ditto.
6252 * redisplay-x.c (x_output_display_block): Ditto.
6253 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6254 dereference instance->scrollbar_data if it is NULL.
6255 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6256 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6257 for sb->scrollbar_data.
6258 * sound.c (init_native_sound): Avoid a buffer overflow by
6259 allocating a buffer with the appropriate size.
6261 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6263 * EmacsShell-sub.c (RootGeometryManager):
6264 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6265 Based on a suggestion by Francois L'Archeveque.
6267 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6269 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6270 current values found in GNU Emacs.
6272 2006-03-17 Vin Shelton <acs@xemacs.org>
6274 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6275 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6277 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6278 'hex_initialized' because it conflicts with 'initialized' in
6281 2006-01-28 Vin Shelton <acs@xemacs.org>
6283 * XEmacs 21.4.19 is released
6285 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6287 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6289 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6291 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6294 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6296 * database.c: Suppress compiler warning under Cygwin.
6297 * database.c: Removed __FreeBSD__ check, should be handled by
6298 HAVE_U_xxx_T defines.
6300 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6302 * console.c (stuff_buffered_input): Compile body only if
6305 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6307 * callproc.c: #include sysdir.h, so that any appropriate Mule
6308 magic happens with the chdir() call when calling a subprocess.
6310 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6312 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6313 * mule-ccl.c: Check that a character set exists before using it
6314 to create a character.
6316 2005-12-06 Vin Shelton <acs@xemacs.org>
6318 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6321 2005-12-03 Vin Shelton <acs@xemacs.org>
6323 * XEmacs 21.4.18 is released
6325 2005-11-27 Kean Johnston <kean@armory.com>
6327 * redisplay-tty.c (set_tty_modes):
6328 (reset_tty_modes): disable auto-margins if the terminal supports
6330 (init_tty_for_redisplay): fix cursor shape.
6332 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6334 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6335 for control-1 characters properly, both when reading multibyte
6336 characters and writing them.
6338 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6340 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6341 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6342 were seeing with incremental selection transfer failing.
6344 2005-11-26 Vin Shelton <acs@xemacs.org>
6346 * callproc.c (Fold_call_process_internal): Create the buffer if it
6347 does not already exist. The original patch came from Ben Wing in
6348 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6350 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6352 * callproc.c: Process-related docstring improvements spurred by
6355 2005-11-25 Vin Shelton <acs@xemacs.org>
6357 * depend: Regenerated.
6359 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6361 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6362 says it clashes with a global with the same name.
6364 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6366 * sysdll.c (dll_open): Under MacOS X return NULL under the
6367 filename is NULL. Fixes problems finding local symbols under 10.4
6370 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6372 * config.h.in: New HAVE_U_INT*_T defines.
6374 * database.c: Only use u_int*_t typedefs if not already
6377 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6379 * src/process-unix.c (unix_open_network_stream): moved
6380 'portbuf' buffer out of an inner block as it is used in the
6381 entire function. With gcc4, the stack may get corrupted
6382 after leaving this block. This patches adjusts the size of
6383 the used buffer also; static '128' bytes are far too much
6384 currently and might not suffice for future architectures
6385 (e.g. for 512 bit ones ;)). Instead of, use only the really
6386 required space (max octets * ln(256)/ln(10) chars + space
6387 for '\0' and the sign)
6389 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6391 * callproc.c: Include sysdir.h, so any necessary Mule processing
6392 is done on the current directory name before starting a new
6395 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6397 * chartab.c (Fchar_table_p):
6398 (Fget_range_char_table):
6401 Describe range representation and fix typo.
6403 2005-02-12 Vin Shelton <acs@xemacs.org>
6405 * emacs.c (shut_down_emacs): Advise users to send email to the
6406 xemacs-beta list instead of crashes@xemacs.org.
6408 2005-02-03 David Evers <extsw@appliedgenerics.com>
6410 * process-unix.c (unix_send_process): Flush the last chunk, even
6411 when the pipe is blocked.
6413 2005-02-06 Vin Shelton <acs@xemacs.org>
6415 * XEmacs 21.4.17 is released
6417 2005-01-31 Ben Wing <ben@xemacs.org>
6420 Define assert_failed() always.
6422 Always define ABORT().
6424 2005-01-25 Ben Wing <ben@xemacs.org>
6427 * Makefile.in.in (%.o):
6428 Don't compile executable as Windows (-mwindows) under Cygwin.
6429 Semi-recent changes to Cygwin's executable-startup handling make
6430 it impossible to access the TTY this way.
6432 Don't use special linker file under Cygwin (cygwin.sc) except
6433 when non-PDUMP (even in this case it is highly questionable); you
6436 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6437 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6439 2005-01-29 Ben Wing <ben@xemacs.org>
6441 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6443 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6445 2005-01-29 Ben Wing <ben@xemacs.org>
6447 * bytecode.c (optimize_compiled_function):
6449 * print.c (long_to_string):
6450 Add casts to avoid warning.
6453 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6454 #### The better solution is to move the TIFF and JPEG code to
6457 * glyphs-msw.c (mswindows_xbm_instantiate):
6458 Define __STDC__ to avoid problems with compface.h.
6460 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6462 * EmacsShell-sub.c (ABORT):
6463 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6464 * EmacsShell-sub.c (RootGeometryManager):
6466 * EmacsShell.c (ABORT):
6467 * EmacsShell.c (EmacsShellUpdateSizeHints):
6468 * alloc.c (free_lcrecord):
6469 * alloca.c (i00afunc):
6470 * buffer.c (delete_from_buffer_alist):
6471 * buffer.c (MARKED_SLOT):
6472 * bytecode.c (execute_rare_opcode):
6473 * bytecode.c (optimize_byte_code):
6474 * bytecode.c (Ffetch_bytecode):
6475 * chartab.c (char_table_type_to_symbol):
6476 * chartab.c (Freset_char_table):
6477 * chartab.c (decode_char_table_range):
6478 * chartab.c (Fget_range_char_table):
6479 * chartab.c (check_valid_char_table_value):
6480 * chartab.c (map_char_table):
6481 * chartab.c (slow_map_char_table_fun):
6482 * chartab.c (chartab_instantiate):
6483 * cm.c (cmcheckmagic):
6484 * console-msw.c (DHEADER):
6485 * console.c (MARKED_SLOT):
6486 * data.c (finish_marking_weak_lists):
6487 * data.c (encode_weak_list_type):
6488 * debug.h (DASSERT):
6489 * device-gtk.c (gtk_init_device):
6490 * device-msw.c (mswindows_get_default_margin):
6491 * device-tty.c (tty_init_device):
6492 * device-x.c (get_device_from_display):
6493 * device-x.c (x_get_visual_depth):
6494 * doprnt.c (parse_doprnt_spec):
6495 * doprnt.c (get_doprnt_args):
6496 * dumper.c (pdump_get_indirect_count):
6497 * dumper.c (pdump_register_sub):
6498 * dumper.c (pdump_register_object):
6499 * dumper.c (pdump_register_struct):
6500 * dumper.c (pdump_dump_data):
6501 * dumper.c (pdump_reloc_one):
6502 * elhash.c (print_hash_table):
6503 * elhash.c (make_standard_lisp_hash_table):
6504 * elhash.c (hash_table_instantiate):
6506 * emacs.c (Fforce_debugging_signal):
6507 * emacs.c (sort_args):
6509 * emacs.c (assert_failed):
6510 * eval.c (throw_or_bomb_out):
6511 * eval.c (signal_1):
6514 * event-Xt.c (emacs_Xt_mapping_action):
6515 * event-Xt.c (Xt_process_to_emacs_event):
6517 * event-stream.c (check_event_stream_ok):
6518 * event-stream.c (Fadd_timeout):
6519 * event-stream.c (Fadd_async_timeout):
6520 * event-stream.c (Fdiscard_input):
6521 * event-stream.c (execute_internal_event):
6522 * event-stream.c (Frecent_keys):
6523 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6524 * event-stream.c (lookup_command_event):
6525 * event-unixoid.c (poll_fds_for_input):
6527 * events.c (mark_event):
6528 * events.c (event_equal):
6529 * events.c (event_hash):
6530 * events.c (Fmake_event):
6531 * events.c (Fdeallocate_event):
6532 * events.c (event_chain_find_previous):
6533 * events.c (event_to_character):
6534 * events.c (format_event_object):
6535 * events.c (Fevent_type):
6536 * events.c (event_pixel_translation):
6537 * events.c (Fevent_properties):
6538 * extents.c (extent_in_region_p):
6539 * extents.c (print_extent):
6540 * extents.c (process_extents_for_insertion_mapper):
6541 * extents.c (report_extent_modification_mapper):
6542 * extents.c (glyph_layout_to_symbol):
6543 * faces.c (face_validate):
6544 * file-coding.c (eol_type_to_symbol):
6545 * file-coding.c (subsidiary_coding_system):
6546 * file-coding.c (Fcoding_system_type):
6547 * file-coding.c (Fcoding_system_property):
6548 * file-coding.c (mule_decode):
6549 * file-coding.c (mule_encode):
6550 * file-coding.c (encode_coding_ucs4):
6551 * file-coding.c (encode_coding_utf8):
6552 * file-coding.c (parse_iso2022_esc):
6553 * file-coding.c (encode_coding_iso2022):
6558 * fns.c (Fbase64_encode_region):
6559 * fns.c (Fbase64_encode_string):
6560 * fns.c (Fbase64_decode_region):
6561 * fns.c (Fbase64_decode_string):
6562 * font-lock.c (find_context):
6563 * font-lock.c (context_to_symbol):
6564 * frame-gtk.c (gtk_set_frame_pointer):
6565 * frame-gtk.c (gtk_update_frame_external_traits):
6566 * frame-x.c (x_wm_mark_shell_size_user_specified):
6567 * frame-x.c (x_wm_mark_shell_position_user_specified):
6568 * frame-x.c (x_wm_set_shell_iconic_p):
6569 * frame-x.c (x_wm_set_cell_size):
6570 * frame-x.c (x_wm_set_variable_size):
6571 * frame-x.c (x_wm_store_class_hints):
6572 * frame-x.c (x_wm_maybe_store_wm_command):
6573 * frame-x.c (x_initialize_frame_size):
6574 * frame-x.c (x_update_frame_external_traits):
6576 * frame.c (delete_frame_internal):
6577 * frame.c (mouse_pixel_position_1):
6578 * frame.c (change_frame_size_1):
6579 * free-hook.c (check_free):
6580 * free-hook.c (check_realloc):
6581 * free-hook.c (note_block_input):
6582 * free-hook.c (log_gcpro):
6583 * gccache-gtk.c (gc_cache_lookup):
6584 * glyphs-eimage.c (tiff_memory_write):
6585 * glyphs-gtk.c (gtk_finalize_image_instance):
6586 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6587 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6588 * glyphs-gtk.c (gtk_xpm_instantiate):
6589 * glyphs-gtk.c (gtk_unmap_subwindow):
6590 * glyphs-gtk.c (gtk_map_subwindow):
6591 * glyphs-gtk.c (gtk_button_redisplay):
6593 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6594 * glyphs-x.c (init_image_instance_from_xbm_inline):
6595 * glyphs-x.c (extract_xpm_color_names):
6596 * glyphs-x.c (x_xpm_instantiate):
6597 * glyphs.c (get_image_instantiator_governing_domain):
6598 * glyphs.c (print_image_instance):
6599 * glyphs.c (image_instance_equal):
6600 * glyphs.c (image_instance_hash):
6601 * glyphs.c (encode_image_instance_type):
6602 * glyphs.c (make_image_instance_1):
6603 * glyphs.c (inherit_instantiate):
6604 * glyphs.c (image_instantiate):
6605 * glyphs.c (allocate_glyph):
6606 * glyphs.c (Fglyph_type):
6607 * glyphs.c (redisplay_subwindow):
6608 * glyphs.c (display_table_entry):
6609 * gtk-glue.c (xemacs_list_to_gtklist):
6610 * gtk-glue.c (xemacs_gtklist_to_list):
6611 * gtk-glue.c (xemacs_list_to_array):
6612 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6613 * gutter.c (gutter_was_visible):
6614 * gutter.c (get_gutter_coords):
6615 * input-method-xlib.c (get_XIM_input):
6616 * insdel.c (bufpos_to_bytind_func):
6617 * insdel.c (bytind_to_bufpos_func):
6618 * insdel.c (move_gap):
6619 * intl.c (x_get_composed_input):
6620 * keymap.c (keymap_lookup_directly):
6621 * keymap.c (keymap_delete_inverse_internal):
6622 * keymap.c (ensure_meta_prefix_char_keymapp):
6623 * keymap.c (accessible_keymaps_mapper_1):
6624 * keymap.c (where_is_recursive_mapper):
6627 * lread.c (read_atom):
6628 * lstream.c (Lstream_delete):
6629 * lstream.c (make_lisp_buffer_stream_1):
6630 * macros.c (pop_kbd_macro_event):
6631 * malloc.c (malloc):
6633 * marker.c (bi_marker_position):
6634 * marker.c (set_bi_marker_position):
6635 * menubar-gtk.c (menu_descriptor_to_widget_1):
6636 * menubar-msw.c (prune_menubar):
6637 * menubar-x.c (set_frame_menubar):
6638 * mule-charset.c (get_unallocated_leading_byte):
6639 * mule-charset.h (CHAR_LEADING_BYTE):
6640 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6641 * nt.c (init_environment):
6642 * nt.c (generate_inode_val):
6643 * ntproc.c (delete_child):
6644 * ntproc.c (_sys_read_ahead):
6645 * ntproc.c (create_child):
6646 * objects.c (color_instantiate):
6647 * objects.c (font_instantiate):
6648 * objects.c (face_boolean_instantiate):
6649 * print.c (printing_major_badness):
6650 * process-nt.c (nt_send_process):
6651 * process-unix.c (unix_send_process):
6652 * process.c (get_process):
6653 * ralloc.c (obtain):
6654 * ralloc.c (relinquish):
6655 * ralloc.c (relocate_blocs):
6656 * ralloc.c (resize_bloc):
6657 * ralloc.c (r_alloc_free):
6658 * ralloc.c (r_re_alloc):
6659 * ralloc.c (r_alloc_thaw):
6660 * ralloc.c (init_ralloc):
6661 * ralloc.c (Free_Addr_Block):
6662 * ralloc.c (r_alloc):
6663 * redisplay-gtk.c (gtk_output_display_block):
6664 * redisplay-msw.c (mswindows_output_display_block):
6665 * redisplay-output.c (get_next_display_block):
6666 * redisplay-output.c (get_cursor_size_and_location):
6667 * redisplay-output.c (redisplay_output_layout):
6668 * redisplay-output.c (redisplay_clear_region):
6669 * redisplay-tty.c (tty_output_display_block):
6670 * redisplay-x.c (x_output_display_block):
6671 * redisplay.c (add_propagation_runes):
6672 * redisplay.c (add_glyph_rune):
6673 * redisplay.c (create_text_block):
6674 * redisplay.c (add_margin_runes):
6675 * redisplay.c (create_left_glyph_block):
6676 * redisplay.c (create_right_glyph_block):
6677 * redisplay.c (create_string_text_block):
6678 * redisplay.c (regenerate_window):
6679 * redisplay.c (REGEN_INC_FIND_START_END):
6680 * redisplay.c (redisplay_frame):
6681 * redisplay.c (point_in_line_start_cache):
6684 * regex.c (re_compile_fastmap):
6685 * regex.c (re_match_2_internal):
6686 * regex.c (regerror):
6687 * scrollbar-gtk.c (gtk_scrollbar_loop):
6688 * scrollbar-gtk.c (scrollbar_cb):
6689 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6690 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6691 * scrollbar-x.c (x_update_scrollbar_instance_status):
6692 * scrollbar-x.c (x_scrollbar_loop):
6693 * scrollbar-x.c (x_update_frame_scrollbars):
6694 * search.c (search_command):
6695 * search.c (Fmatch_data):
6696 * select-x.c (motif_clipboard_cb):
6697 * signal.c (interrupt_signal):
6698 * specifier.c (specifier_add_spec):
6699 * specifier.c (specifier_instance_from_inst_list):
6700 * specifier.c (specifier_instance):
6702 * specifier.h (struct specifier_methods):
6703 * strftime.c (add_num_time_t):
6704 * sunplay.c (init_device):
6705 * symbols.c (Fsetplist):
6706 * symbols.c (do_symval_forwarding):
6707 * symbols.c (store_symval_forwarding):
6709 * symbols.c (Fbuilt_in_variable_type):
6710 * symbols.c (decode_magic_handler_type):
6711 * symbols.c (handler_type_from_function_symbol):
6712 * syntax.c (update_syntax_cache):
6713 * sysdep.c (init_baud_rate):
6714 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6715 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6716 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6717 * toolbar.c (get_toolbar_coords):
6718 * ui-gtk.c (build_gtk_boxed):
6719 * ui-gtk.c (describe_gtk_arg):
6720 * ui-gtk.c (gtk_type_to_lisp):
6721 * ui-gtk.c (lisp_to_gtk_type):
6722 * ui-gtk.c (lisp_to_gtk_ret_type):
6723 * ui-gtk.c (lisp_to_flag):
6724 * unexnt.c (read_in_bss):
6725 * unexnt.c (map_in_heap):
6726 * window.c (real_window):
6727 * window.c (window_display_lines):
6728 * window.c (window_display_buffer):
6729 * window.c (set_window_display_buffer):
6730 * window.c (window_modeline_height):
6731 * window.c (unshow_buffer):
6732 * window.c (window_loop):
6733 * window.c (Fget_lru_window):
6734 * window.c (Fsplit_window):
6735 * window.c (Fset_window_configuration):
6736 * window.c (saved_window_index):
6737 * xgccache.c (gc_cache_lookup):
6738 abort() -> ABORT(). Eliminate preprocessor games with abort()
6739 since it creates huge problems in VC7, solvable only by including
6740 massive amounts of files in every compile (and not worth it).
6744 Inclusion of process.h does not need to be before lisp.h any more.
6745 Move later and remove comment about abort().
6747 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6749 * regex.c (re_match_2_internal):
6750 Correctly initialize loop which clears uninitialized registers.
6752 2005-01-28 Vin Shelton <acs@xemacs.org>
6754 * sheap.c (more_static_core): Applied Ben's version of the long
6757 2005-01-24 Vin Shelton <acs@xemacs.org>
6759 * sheap.c (more_static_core): Reformatted printf string so
6760 gcc-3.3.3 will compile this on Cygwin.
6762 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6764 * console.c (function_key_map): Reference `key-binding'.
6766 * keymap.c (Vkey_translation_map): Improve docstring.
6768 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6770 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6771 * window.c (window_loop): [fix] Take into account
6772 `allow-deletion-of-last-visible-frame' variable.
6773 * window.c (replace-buffer-in-windows): Ditto.
6775 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6777 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6779 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6781 * event-gtk.c: Recognise AltGr as a valid modifier.
6783 2005-01-12 Ville Skyttä <scop@xemacs.org>
6785 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6787 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6789 Fix backreference bug caught by test suite.
6791 * regex.c (regex_compile):
6792 Make backref duplicate internal register.
6794 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6796 Documentation, code clarification, and warning suppression.
6798 * regex.c (regex_compile):
6800 (re_match_2_internal):
6801 Improve comments and avoid redundant braces. [Most of the big hunk
6802 at l. 4710 is indentation; use diff -w to see the real changes.]
6803 (alt_match_null_string_p):
6804 (common_op_match_null_string_p):
6805 Avoid shadowing global on Mac OS X 10.4, at least.
6807 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6809 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6810 introduced with shy groups fix). [Already applied, probably
6811 with the second "fix shy groups" patch of 2004-10-07.]
6813 2005-01-10 Steve Youngs <steve@sxemacs.org>
6815 From Andrey Slusar <anrays@gmail.com>:
6817 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6819 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6821 * Makefile (RECURSIVE_MAKE): Removed.
6822 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6823 handling parallel builds.
6825 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6827 * Makefile.in.in: Enable support for parallel builds.
6829 2005-01-09 Steve Youngs <steve@sxemacs.org>
6831 From Andrey Slusar <anrays@gmail.com>:
6833 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6834 FreeBSD version is >= 199701 _and_ < 600006.
6836 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6838 * scrollbar.c (compute_scrollbar_instance_usage):
6839 Only call device method compute_scrollbar_instance_usage() if it
6842 2004-12-05 Vin Shelton <acs@xemacs.org>
6844 * XEmacs 21.4.16 is released
6846 2004-12-04 Vin Shelton <acs@xemacs.org>
6848 * depend: Regenerated.
6850 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6852 * regex.c (re_match_2_internal): Map internal to external
6853 registers. Fixes bug identified by Steve Youngs 2004-09-30
6854 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6856 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6858 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6859 to fix a crash. Also, check the buffer is live and it
6860 really exists in buffer_list. If the buffer is not in the list,
6863 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6865 Fix shy groups by implementing recording of all groups for
6866 repetition and backtracking. Backport from 21.5.
6868 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6869 external_to_internal_register, external_to_internal_register_size,
6870 and update comments for re_nsub.
6872 * regex.c (re_opcode_t): Update comments.
6873 (print_compiled_pattern): Ouput external_to_internal_register,
6874 external_to_internal_register_size, and re_ngroups for debugging.
6875 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6876 (regex_compile): Update header comment.
6877 Ensure that all groups are recorded so that repeat matches and
6878 backtracking work correctly. Comment related warning for groups >
6880 (re_search_2): Construct map of API indexes (which count only
6881 nonshy groups) to internal register numbers, and keep it updated.
6883 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6885 * frame-gtk.c (gtk_make_frame_visible):
6886 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6887 show/hide. This is what X uses and is prevents previously hidden
6888 widgets from suddenly reappearing.
6889 * gtk-xemacs.c (gtk_xemacs_paint):
6890 * gtk-xemacs.c (gtk_xemacs_draw):
6891 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6893 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6894 size and location changes so that they can be seen before the next
6895 idle event. Without this rapid changes to scrollbar properties
6898 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6901 * console-gtk.h (struct gtk_frame):
6902 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6903 Add hash tables track tab_control callback data.
6904 Added #defines for GTK object data names.
6905 Declaration of gtk_widget_to_frame().
6906 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6907 * frame-gtk.c (gtk_widget_to_frame): New.
6908 * frame-gtk.c (gtk_create_widgets):
6909 * frame-gtk.c (allocate_gtk_frame_struct):
6910 * frame-gtk.c (gtk_mark_frame):
6911 Manage frame callbakc hash tables.
6912 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6913 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6914 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6916 * glyphs-gtk.c (gtk_widget_query_geometry): New
6917 * glyphs-gtk.c (gtk_register_gui_item): New
6918 * glyphs-gtk.c (gtk_add_tab_item): New
6919 * glyphs-gtk.c (gtk_tab_control_callback): New
6920 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6921 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6922 Use correct list when loading item.
6923 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6924 Register new methods.
6925 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6926 default size, for widgets.
6927 * gui-x.c: Improved comment.
6928 * menubar-gtk.c (__generic_button_callback): Use
6929 gtk_widget_to_frame instead of __get_channel.
6931 * ui-gtk.c: Use symbolic names for GTK object data.
6933 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6935 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6937 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6939 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6941 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6943 * malloc.c (morecore): siz is a long because in some architectures
6944 (eg ia-64) an int cannot hold the address range. Additional patch
6945 from the SuSe distribution.
6947 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6950 * malloc.c: lim_data is a long because in some architectures
6951 (eg ia-64) an int cannot hold the address range.
6952 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6953 instead of ulimit() because ulimit() always returns -1.
6955 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6957 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6959 2004-06-11 David Kastrup <dak@gnu.org>
6961 * search.c (match_limit): Don't flag an error if match-data
6962 exceeding the allocated search_regs.num_regs gets requested, just
6965 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6967 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6968 replace symbolic color entries with the real colors specified in
6969 xpm-color-symbols, before passing the XPM to gtk.
6970 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6971 instead of a GTK specific field, so that it is used in by generic
6974 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6976 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6977 coredump from deref of NULL ptr (ExtData)
6979 2004-04-19 Jerry James <james@xemacs.org>
6981 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6982 VALBITS to compute the location of the sign bit.
6983 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6984 of VALBITS with EMACS_INT_MAX.
6985 * events.c (Fevent_timestamp): Ditto.
6986 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6987 compute the halfway point to timestamp wraparound.
6988 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6989 EMACS_INT_MIN instead of using VALBITS.
6990 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6991 incorrect number with VALBITS.
6992 * fns.c (Frandom): Correct number of integer bits in docstring.
6993 Use INT_VALBITS instead of VALBITS to compute the denominator.
6994 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6995 build random numbers.
6997 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6999 * event-gtk.c (gtk_event_to_emacs_event):
7001 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
7002 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
7003 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
7004 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
7005 * menubar-gtk.c (__activate_menu):
7006 * menubar-gtk.c (convert_underscores):
7007 * menubar-gtk.c (remove_underscores):
7008 * menubar-gtk.c (menu_convert):
7009 * menubar-gtk.c (menu_descriptor_to_widget_1):
7010 * menubar-gtk.c (menu_descriptor_to_widget):
7011 * menubar-gtk.c (menu_can_reuse_widget):
7012 * menubar-gtk.c (menu_create_menubar):
7013 * menubar-gtk.c (gtk_popup_menu):
7014 * menubar-gtk.c (Fgtk_build_xemacs_menu):
7015 Added support for Gtk menu bar and menu item mnemonics.
7017 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7019 * sysdll.c: (dll_function): Added support for finding symbols in
7020 Darwin shared libraries as well in Darwin bundles.
7021 * sysdll.c (image_for_address): New
7022 * sysdll.c (my_find_image): New
7023 * sysdll.c (search_linked_libs): New
7025 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
7027 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
7028 return to GTK requires a different API to marshalling data to use
7030 * ui-gtk.c (lisp_to_gtk_ret_type): New.
7032 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
7034 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
7036 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7038 * glyphs.c (process_image_string_instantiator):
7039 (Fset_console_type_image_conversion_list):
7040 Stop GCC from warning about shadowing of `exp'.
7042 * redisplay-x.c (x_output_string): Fix unsigned lossage.
7044 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
7046 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
7048 2004-02-03 Vin Shelton <acs@xemacs.org>
7050 * glyphs.c (image_instance_layout): Remove pointless assertion.
7051 * regex.c (regex_grow_registers): Return type is void.
7053 2004-02-02 Vin Shelton <acs@xemacs.org>
7055 * XEmacs 21.4.15 is released
7057 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
7059 * device-x.c (x_error_handler): Don't call stderr_out
7061 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
7063 * buffer.c (other-buffer): Clarify documentation of order of
7064 arguments for FSF Emacs.
7066 2003-10-11 Olivier Galibert <galibert@pobox.com>
7068 * window.c (Fdelete_window): Dirty the mirror structure _before_
7069 marking the window deleted.
7071 2003-09-15 Jerry James <james@xemacs.org>
7073 * event-msw.c (debug_mswin_messages): Conditionally compile
7074 messages missing from the Cygwin headers.
7076 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
7078 * data.c (eq_with_ebola_notice): Fix typo in comment.
7079 (Ftrue_list_p): Improve docstring.
7081 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7083 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7085 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7087 * search.c (trivial_regexp_p): Regexps containing "\{" are
7088 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7089 Stefan Monnier for suggesting a diagnosis.
7091 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7093 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7095 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7097 * search.c (Fsearch_forward):
7099 Document negative count.
7101 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7103 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7105 2003-09-13 Martin Buchholz <martin@xemacs.org>
7107 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7109 2003-09-15 Vin Shelton <acs@xemacs.org>
7111 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7114 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7116 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7117 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7118 (re_match_2_internal): Use TRANSLATE instead of
7119 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7120 non-ASCII char case conversion.
7122 2003-09-08 Mike Sperber <mike@xemacs.org>
7124 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7125 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7127 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7129 * .gdbinit (pobj): fix printing of symbol name.
7131 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7133 * frame-x.c (x_layout_widgets): When resizing is about to cause
7134 frame size slip, mark it for redisplay.
7136 2003-08-18 Jerry James <james@xemacs.org>
7138 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7140 2003-09-03 Vin Shelton <acs@xemacs.org>
7142 * XEmacs 21.4.14 is released
7144 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7146 * config.h.in (REGEX_MALLOC): Make it configure'able.
7148 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7150 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7152 * sysdll.c (dll_init):
7153 * sysdll.c (dll_open):
7154 * sysdll.c (dll_close):
7155 * sysdll.c (dll_function):
7156 * sysdll.c (dll_variable):
7157 * sysdll.c (dll_error):
7158 Add support for loading bundles using Darwin/MacOSX
7161 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7163 * process.c (start-process-internal): Document coding systems.
7165 2003-07-30 Jerry James <james@xemacs.org>
7167 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7169 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7171 * event-msw.c (mswindows_enqueue_mouse_button_event):
7172 * event-msw.c (mswindows_wnd_proc):
7173 enqueue button event when scrollwheel event isn't handled by
7174 mswindows_handle_mousewheel_event, such as when the scrollbars
7177 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7179 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7181 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7183 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7185 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7187 * regex.c (re_match_2_internal): Fix matching degenerate word
7190 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7192 * XEmacs 21.4.13 is released
7194 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7196 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7197 * lisp.h (<inttypes.h>):
7198 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7201 2003-03-15 Martin Buchholz <martin@xemacs.org>
7203 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7204 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7205 Result: "temacs can only be run in -batch mode."
7206 Fix: Check xemacs executable candidate for directory-ness.
7208 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7210 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7211 they conflict with <sys/types.h>.
7213 2003-02-14 Martin Buchholz <martin@xemacs.org>
7215 * database.c: Berkeley DB wants __STDC__ to be defined.
7217 2003-02-13 Martin Buchholz <martin@xemacs.org>
7219 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7221 2003-02-01 Martin Buchholz <martin@xemacs.org>
7223 * process-unix.c (unix_send_process): Fix C++ compile error.
7225 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7227 * Added .dylib as an acceptable shared library file extension
7228 * to support MacOSX.
7230 2003-02-01 Martin Buchholz <martin@xemacs.org>
7232 * EmacsFrameP.h (EmacsFramePart):
7233 Kludge to allow compiling with Motif1, but linking with Motif2.
7235 2003-01-28 Martin Buchholz <martin@xemacs.org>
7237 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7240 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7242 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7244 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7246 * sysdll.c: Included lisp.h to define needed alloca_array.
7248 2003-02-13 Martin Buchholz <martin@xemacs.org>
7250 Make XEmacs redisplay 10 times faster.
7251 If, that is, you're using a slow X connection and MoveOpaque.
7252 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7253 Use compress_motion = TRUE.
7254 * EmacsFrame.c (emacsFrameClassRec):
7255 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7256 * EmacsManager.c (emacsManagerClassRec):
7257 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7259 2003-01-30 Vin Shelton <acs@xemacs.org>
7261 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7263 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7265 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7266 Patch by Martin Buchholz.
7268 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7270 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7271 Thanks to icc for warning and Martin Buchholz for reporting.
7273 2003-01-29 Vin Shelton <acs@xemacs.org>
7275 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7277 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7278 remember to multiply by the element size.
7280 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7282 * XEmacs 21.4.12 "Portable Code" is released.
7284 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7286 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7287 * s/cygwin.sc: new linker file.
7289 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7291 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7293 * redisplay-x.c (x_output_string): Use X11-specified types.
7294 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7295 * emacs.c (__free_hook): Use typeof with Intel compiler.
7296 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7298 2003-01-08 Andy Piper <andy@xemacs.org>
7300 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7301 reserve size during unexec().
7303 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7305 * process-unix.c (unix_create_process): Don't let outchannel block.
7307 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7309 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7310 Needed for IsBadReadPtr().
7312 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7314 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7316 2002-12-14 Ben Wing <ben@xemacs.org>
7318 * callint.c: Declaration error.
7320 * dumper.c (pdump_load): Warning fix.
7321 * process.c: GCPRO error.
7322 * glyphs.c (unmap_subwindow):
7323 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7324 * event-stream.c (maybe_kbd_translate): Wrong argument to
7325 character_to_event().
7327 * alloc.c (garbage_collect_1):
7329 * emacs.c (debug_can_access_memory):
7330 * emacs.c (fatal_error_signal):
7331 * emacs.c (mswindows_handle_hardware_exceptions):
7334 * emacs.c (assert_failed):
7335 * emacs.c (syms_of_emacs):
7338 * print.c (std_handle_out_va):
7339 * print.c (write_string_to_stdio_stream):
7340 * print.c (write_fmt_string):
7341 * print.c (printing_badness):
7342 * print.c (printing_major_badness):
7343 * print.c (print_internal):
7344 * print.c (debug_print_no_newline):
7345 * print.c (debug_backtrace):
7346 Be more defensive in handling bad values when printing. Add code
7347 from trunk involving inhibit_non_essential_printing_operations.
7348 When going down or in debug_print(), don't do external conversion
7349 and such and try really, really hard when printing to avoid core
7350 dumping. Add force-debugging-signal, debug_break().
7352 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7354 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7355 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7357 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7359 * database.c: Fix open_database. Berkeley DB API has changed in
7360 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7362 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7364 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7366 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7368 * event-Xt.c (Xt_timeout):
7369 (Xt_timeout_callback):
7370 (emacs_Xt_add_timeout):
7371 (emacs_Xt_remove_timeout):
7372 (Xt_timeout_to_emacs_event):
7373 Turn completed_timeouts from a stack into a queue. Fixes
7374 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7376 2002-11-07 Wolfram Gloger <wg@malloc.de>
7378 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7379 * emacs.c (main): Assert that mmap'd allocation is disabled.
7381 2002-10-14 Andy Piper <andy@xemacs.org>
7383 * glyphs-widget.c (layout_query_geometry): add in fiddle
7384 factor. Include border text in width layout calculation.
7385 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7387 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7389 * XEmacs 21.4.10 "Military Intelligence" is released.
7391 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7393 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7394 using the NAS private array SoundFileInfo that no longer exists in
7395 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7396 and earlier. This is broken for some versions between 1.5a and
7399 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7401 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7403 * emacs.c (shut_down_emacs): Improve crash message.
7405 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7407 * file-coding.c (determine_real_coding_system): Check for coding
7408 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7409 shebangs and Python PEP 263.
7411 2002-10-08 Andy Piper <andy@xemacs.org>
7413 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7414 if static sizes haven't been set.
7416 2002-08-30 Mike Alexander <mta@arbortext.com>
7418 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7421 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7423 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7425 2002-09-20 Mike Sperber <mike@xemacs.org>
7427 (This partially gets back my patch from 2002-07-20 without the
7429 * callproc.c (child_setup): Remove Ben's comment noting confusion
7430 over the file descriptors >= 3: close_process_descs() doesn't
7431 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7432 * process-unix.c (unix_create_process): Call
7433 begin_dont_check_for_quit to inhibit unwanted interaction (and
7434 thus breaking of X event synchronicity) in the child.
7436 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7438 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7441 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7443 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7444 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7445 the xemacs process did not exit, but looped infinitely here. This
7448 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7450 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7451 (find_context): Improve comments.
7453 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7454 (re_match_2): An XCHAR_TABLE operation was missing.
7456 Many of the following changes were inspired by Andy Piper's (now
7457 obsolete) patch to make syntax-table text property lookup optional.
7461 * syntax.h (top level): Document semantics of syntax flags.
7462 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7463 * syntax.c, syntax.h (top level): Document syntax cache better in
7466 [Instrument syntax caching (temporary change)]
7468 * syntax.h (enum syntax_cache_statistics_functions, struct
7469 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7470 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7471 * syntax.c (scan_words, Fforward_comment, scan_lists,
7472 Fbackward_prefix_characters):
7473 * font-lock.c (find_context):
7474 Use them to instrument syntax caching.
7475 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7476 syntax_cache_statistics_function_names): New type and variables.
7477 * syntax.c (update_syntax_cache): Update and report statistics.
7479 [Major syntax cache optimizations]
7481 syntax.c (lookup_syntax_properties): Default off.
7483 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7484 * syntax.c (update_syntax_cache):
7485 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7487 [Minor syntax cache optimizations and code clarifications]
7489 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7490 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7491 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7492 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7493 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7494 (Code clarification.)
7496 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7497 scan_lists): Compute code from syncode, use Boolean macros instead
7498 of redundant masking operations. (Code clarification; any decent
7499 compiler can do this optimization.)
7501 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7504 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7505 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7506 use F*_single_property_change instead of F*_extent_change.
7507 Currently F*_single_property_change is _much_ less efficient.
7509 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7510 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7511 syntax_cache.object properly, don't leave Qt or Qnil.
7512 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7513 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7514 tests for Qt or Qnil.
7516 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7518 * redisplay.c (point_in_line_start_cache):
7519 * extents.c (print_extent_1):
7522 * extents.c (Fset_extent_property): Document `syntax-table' property.
7524 * extents.h (Fnext_single_property_change): EXFUN it.
7526 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7528 * search.c (clear_unused_search_regs): New static function.
7532 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7533 Minor clarifications in comments.
7535 * regex.c (re_match_2_internal): Ensure no stale submatches.
7537 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7539 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7541 2002-08-29 Jerry James <james@xemacs.org>
7543 * lisp.h: structrures -> structures.
7545 2002-06-03 Andy Piper <andy@xemacs.org>
7547 * frame.c (frame_conversion_internal): add conversion appropriate
7548 for setting frame dimensions in pixels.
7550 * console.h (struct console_methods): add device-specific widget
7553 * emacs.c (main_1): initialize glyph vars.
7555 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7556 (handle_focus_event_2): new function. Allow focus to
7557 be set to a particular window and widget.
7558 (enqueue_focus_event): new function. Create a
7559 synthetic focus event.
7560 (emacs_Xt_handle_magic_event): call
7561 handle_focus_event_2.
7563 * frame.c (Fset_frame_pixel_height): new function. Allow
7564 pixel-based sizing. Does the right thing on character-oriented
7566 (Fset_frame_pixel_width): ditto.
7567 (Fset_frame_pixel_size): ditto.
7568 (syms_of_frame): declare.
7570 * general-slots.h: add :vertically-justify and
7571 :horizontally-justify.
7573 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7574 (mswindows_widget_border_width): new function.
7575 (mswindows_combo_box_instantiate): set border widths.
7576 (console_type_create_glyphs_mswindows): declare.
7579 (check_valid_justification): allow vertical and horizontal
7581 (widget_border_width): new function. Call device methods.
7582 (widget_instance_border_width): ditto.
7583 (logical_unit_height): new function. Determine the height of a
7584 logical-unit. Logical units are intended to provide grid-like
7585 layout for subcontrols in a layout. If the layout is
7586 :vertically-justify top then subcontrols will be positioned on
7587 logical-unit boundaries, thus allowing adjacent subcontrols to
7589 (widget_logical_unit_height): ditto for widgets.
7590 (redisplay_widget): misc cleanup.
7591 (widget_spacing): new function. Call device specific
7592 methods. Intended to be the default gap between adjacent widgets.
7593 (widget_query_geometry): use new spacing functions to determine
7594 appropriate geometry.
7595 (initialize_widget_image_instance): initialize horizontal and
7596 vertical justification.
7597 (widget_instantiate): use logica-units where appropriate for
7598 sizing large widgets.
7599 (button_query_geometry): use widget_instance_border_width.
7600 (tree_view_query_geometry): ditto.
7601 (tab_control_query_geometry): ditto.
7602 (edit_field_query_geometry): new function.
7603 (layout_update): pick up :justify, :horizontally-justify and
7604 :vertically-justify none of which worked previously. :justify is
7605 used as a fallback for both horizontal and vertical justification.
7606 (layout_query_geometry): use logical units to size appropriately.
7607 (layout_layout): ditto.
7608 (Fwidget_logical_to_character_width): new function. Allow users to
7609 convert from logical units to characters so that frame sizes can
7610 be set appropriately.
7611 (Fwidget_logical_to_character_height): ditto.
7612 (syms_of_glyphs_widget): declare.
7613 (image_instantiator_edit_fields): add edit_field_query_geometry.
7614 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7615 :horizontally-justify.
7616 (specifier_vars_of_glyphs_widget): new function. Declare
7617 Vwidget_border_width which is not yet used.
7619 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7620 (x_widget_border_width): new function.
7621 (x_widget_instantiate): create a sensible name for widgets.
7622 (console_type_create_glyphs_x): declare x_widget_border_width.
7624 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7625 (struct Lisp_Image_Instance): add :vertically-justify and
7626 :horizontally-justify.
7627 (LAYOUT_JUSTIFY_TOP): new.
7628 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7629 (ROUND_UP): new macro. Round argument up to next integral
7632 * redisplay-output.c (redisplay_output_layout): misc formatting.
7634 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7636 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7638 * XEmacs 21.4.9 "Informed Management" is released.
7640 2002-08-19 Andy Piper <andy@xemacs.org>
7642 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7645 * realpath.c (xrealpath): normalize drive spec also so that dir
7646 sep chars are not mixed on cygwin.
7648 2002-08-06 Jerry James <james@xemacs.org>
7650 * window.c (Fsplit_window): Count only half of the divider width
7651 against the left window when splitting horizontally.
7653 2002-06-24 Andy Piper <andy@xemacs.org>
7655 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7656 toolbar was cleared.
7658 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7659 function. Split out from mswindows_output_frame_toolbars.
7660 (mswindows_output_frame_toolbars): move clear pieces to
7661 mswindows_output_frame_toolbars.
7663 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7664 out from gtk_output_frame_toolbars.
7665 (gtk_output_frame_toolbars): move clear pieces to
7666 gtk_clear_frame_toolbars.
7668 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7669 the frame is cleared. How this ever worked before is a mystery.
7670 (x_output_frame_toolbars): Only output toolbars.
7671 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7673 * gutter.c (update_gutter_geometry):
7674 Mark frame layout changed.
7675 (update_frame_gutter_geometry, update_frame_gutters):
7676 Respect frame_layout_changed.
7678 * console.h (struct console_methods): add
7679 clear_frame_toolbars_method.
7681 * redisplay.c (redisplay_frame): call
7682 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7684 * toolbar.h: declare update_frame_toolbars_geometry.
7686 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7687 out from update_frame_toolbars. Call clear_frame_toolbars.
7688 (update_frame_toolbars): only output, do not change geometry.
7690 * redisplay.c: add frame_layout_changed.
7692 * redisplay.h: add frame_layout_changed.
7693 (CLASS_RESET_CHANGED_FLAGS): set it.
7694 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7695 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7696 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7698 * device.h (struct device): add frame_layout_changed.
7699 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7701 * frame.h (struct frame): add frame_layout_changed.
7702 (MARK_FRAME_LAYOUT_CHANGED): new.
7704 2002-06-30 Mike Alexander <mta@arbortext.com>
7706 * event-msw.c (mswindows_need_event): Don't wait for a new message
7707 if the queue is not empty. Suggested by Paul Moore.
7709 2002-06-12 Andy Piper <andy@xemacs.org>
7711 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7712 for printing on accurately.
7714 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7716 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7717 WM_ACTIVATE message. Make sure that the frame is visible if the
7718 window is visible. This seemss to fix the problem where XEmacs
7719 appears to freeze after switching desktops with certain virtual
7721 (debug_output_mswin_message): Added code to output message
7722 parameters for WM_WINDOWPOSCHANGED,
7723 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7725 2002-05-25 Andy Piper <andy@xemacs.org>
7727 * select-x.c (vars_of_select_x): Fix docstring of
7728 x-selection-strict-motif-ownership
7730 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7732 * keymap.c (get_keymap):
7733 Add comment about do_autoload GCPROs own args.
7735 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7737 * bytecode.c (execute_optimized_program): check_opcode ifdef
7738 ERROR_CHECK_BYTE_CODE.
7740 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7742 Thanks to Ben Wing and Michael Sperber.
7744 * eval.c (Fcommand_execute):
7747 (Fmacroexpand_internal):
7748 (function_argcount):
7749 callint.c (Fcall_interactively):
7750 Add comment about do_autoload GCPROs own args.
7752 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7754 * eval.c (Ffuncall): Extra braces to placate GCC.
7756 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7758 * backtrace.h (grow_specpdl):
7760 * EmacsFrame.c (EmacsFrameSetValues):
7761 * eval.c (grow_specpdl):
7762 * ExternalShell.c (hack_event_masks_1):
7763 * glyphs-x.c (convert_EImage_to_XImage):
7764 (x_finalize_image_instance):
7765 * ralloc.c (page_size):
7767 * xgccache.c (gc_cache_hash):
7768 Fix unsigned comparison warnings.
7770 2002-07-29 Jerry James <james@xemacs.org>
7772 * lread.c (locate_file): Any nonnegative return value indicates
7773 success if MODE is nonnegative.
7775 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7777 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7780 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7782 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7784 * dumper.c (pdump_get_indirect_count):
7785 (pdump_scan_by_alignment):
7786 (pdump_dump_root_struct_ptrs):
7787 (pdump_dump_rtables):
7788 (pdump_dump_root_objects):
7790 * nas.c (WaveOpenDataForReading):
7791 * fns.c (print_bit_vector):
7792 * font-lock.c (SINGLE_SYNTAX_STYLE):
7793 * glyphs.c (check_for_ignored_expose):
7794 (find_matching_subwindow):
7796 * imgproc.c (get_histogram):
7797 * redisplay.c (point_in_line_start_cache):
7798 * redisplay-output.c (redisplay_unmap_subwindows):
7799 * symbols.c (defsymbol_massage_name_1):
7800 (defkeyword_massage_name):
7801 (deferror_massage_name_and_message):
7802 * redisplay-x.c (x_output_string):
7803 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7804 * frame.h (struct frame):
7805 * filelock.c (current_lock_owner):
7806 * doprnt.c (emacs_doprnt_1):
7807 * lisp.h (struct Lisp_Bit_Vector):
7811 2002-02-13 Ben Wing <ben@xemacs.org>
7813 * event-stream.c (reset_key_echo):
7814 * event-stream.c (reset_this_command_keys):
7815 * event-stream.c (execute_command_event):
7816 If console is dead as a result of C-x 5 0, then post-command stuff
7817 needs to be careful and do only non-console-specific stuff.
7819 2002-07-01 Mike Sperber <mike@xemacs.org>
7821 * process-unix.c (unix_send_process): Mark coding_outstream as
7822 non-open upon SIGPIPE.
7824 * event-stream.c (Fnext_event): Reorder switch cases to something
7827 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7829 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7830 Don't bogusly reinitialize ascii_character property.
7832 2002-07-08 Mike Sperber <mike@xemacs.org>
7834 * process.c (Fstart_process_internal): Do error checking before we
7835 fork off the child, so the child can't muck with the state of the
7838 2002-07-08 Mike Sperber <mike@xemacs.org>
7840 * ralloc.c (init_ralloc): Allocate properly for pdump.
7842 2002-06-12 Andy Piper <andy@xemacs.org>
7844 * glyphs.c (query_string_geometry): check the string.
7846 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7849 2002-06-17 Jerry James <james@xemacs.org>
7851 * sysdll.c: Remove RTLD_GLOBAL initialization.
7852 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7854 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7856 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7858 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7860 * sysdep.c (sys_rename): Make sys_rename work for the case where
7861 Windows rename sets errno to EACCES if target file exists.
7863 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7865 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7866 Fix detection of metric units to work on Win95
7868 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7870 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7872 2002-04-25 Andy Piper <andy@xemacs.org>
7874 * redisplay.c (create_text_block): Remove extra comment trailer.
7876 2002-04-24 Andy Piper <andy@xemacs.org>
7878 * redisplay.c (create_text_block): Don't actually add propagation
7879 data if the line ends after we have added a glyph.
7881 2002-04-22 Andy Piper <andy@xemacs.org>
7883 * extents.c (extent_fragment_update): check for glyphs we have
7884 previously displayed.
7885 * extents.c (print_extent_1): warning removal.
7886 * extents.h: change prototype.
7887 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7888 widths correctly for wide glyphs.
7889 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7890 * redisplay.c (prop_type): add PROP_GLYPH.
7891 * redisplay.c (struct prop_block): add glyph type
7892 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7893 to the propagation data.
7894 * redisplay.c (create_text_block): if there is a glyph in the
7895 propagation data use it to salt extent_fragment_update.
7896 * redisplay.c (create_string_text_block): ditto.
7898 2002-04-13 Nix <nix@esperi.demon.co.uk>
7900 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7901 * redisplay-output.c (compare_runes): Compare them.
7902 * redisplay.c: Update copyright date.
7903 * redisplay.c (pos_data): Add need_baseline_computation field.
7904 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7905 need_baseline_computation; zero yoffset. Set max_pixmap_height
7906 for all pixmaps, not just automatically positioned ones.
7907 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7908 * redisplay.c (calculate_baseline): New, compute textual baseline.
7909 * redisplay.c (add_glyph_rune): Call them.
7910 * redisplay.c (create_text_block): Likewise.
7911 * redisplay.c (create_overlay_glyph_block): Likewise.
7912 * redisplay.c (add_margin_runes): Likewise.
7913 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7915 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7916 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7917 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7918 * redisplay-msw.c (mswindows_output_string): Likewise.
7919 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7920 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7921 * redisplay-x.c (x_output_display_block): Likewise.
7923 2002-03-28 Ben Wing <ben@xemacs.org>
7925 * redisplay.c: Fixed bug in redisplay
7926 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7927 and down of the lines, since they're bigger than the line
7928 size. (It was seen most obviously when there's a horizontal scroll
7929 bar, e.g. do C-h a glyph or something like that.) The problem was
7930 that the glyph-contrib-p setting on glyphs was ignored even if it
7931 was set properly, which it wasn't until now.
7933 2002-04-24 Andy Piper <andy@xemacs.org>
7935 * lisp.h (Dynarr_end): Fix definition.
7937 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7939 * redisplay.c (mark_redisplay): Remove call to
7940 update_frame_window_mirror.
7942 2001-11-15 Andy Piper <andy@xemacs.org>
7944 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7947 2002-02-13 Andy Piper <andy@xemacs.org>
7949 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7950 we did in fact enqueue the XM_MAPFRAME event.
7952 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7954 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7955 to fix problem switching between virtual desktops under virtuawin
7956 virtual window manager.
7958 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7960 * event-msw.c: Typo fix.
7961 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7962 magic XM_MAPFRAME event has been sent.
7964 2001-11-23 Andy Piper <andy@xemacs.org>
7966 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7968 2001-11-21 Andy Piper <andy@xemacs.org>
7970 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7971 mouse events outside the frame.
7973 2002-03-20 Andy Piper <andy@xemacs.org>
7975 * menubar-msw.c (mswindows_popup_menu): warning removal.
7976 * dialog-msw.c (dialog_popped_down): ditto.
7978 2001-12-11 Andy Piper <andy@xemacs.org>
7980 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7981 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7983 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7984 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7985 * menubar-msw.c (mswindows_popup_menu): ditto.
7987 2001-10-29 Andy Piper <andy@xemacs.org>
7989 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7992 2002-01-03 Andy Piper <andy@xemacs.org>
7994 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7998 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
8000 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
8001 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
8002 * device-msw.c (mswindows_handle_page_setup_dialog_box):
8003 Detect and handle case where machine is set up for metric units
8005 2002-04-02 Andy Piper <andy@xemacs.org>
8007 * dired-msw.c (mswindows_get_files):
8008 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
8009 completely handled by XEmacs. Suggested by Thomas Vogler
8010 <mail@thomas-vogler.de>.
8012 2001-11-14 Andy Piper <andy@xemacs.org>
8014 * nt.c (REG_ROOT): change registry key to XEmacs.
8016 2002-04-27 Andy Piper <andy@xemacs.org>
8018 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
8020 2002-04-26 Andy Piper <andy@xemacs.org>
8022 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
8025 2002-03-14 Mike Alexander <mta@arbortext.com>
8027 * event-msw.c (mswindows_unwait_process): New, remove process from
8029 * process-nt.c (nt_finalize_process_data): Call
8030 mswindows_unwait_process
8031 * console-msw.h: Declare mswindows_unwait_process
8033 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
8035 * editfns.c (Fdecode_time):
8036 (Fformat_time_string):
8037 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
8038 (make_time): Warning elimination (change arg name).
8040 2001-11-24 Andy Piper <andy@xemacs.org>
8042 * window.c (Fsplit_window): Doc return type.
8044 2002-04-01 Andy Piper <andy@xemacs.org>
8046 * emacs.c (Fkill_emacs): Only output message box in interactive
8049 2002-04-26 Andy Piper <andy@xemacs.org>
8051 * config.h.in: pull in 21.5.x change to stop alloca warnings under
8054 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
8056 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
8059 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
8061 * XEmacs 21.4.8 "Honest Recruiter" is released.
8063 2002-05-07 Nix <nix@esperi.demon.co.uk>
8065 Supersedes 2002-04-17 patch.
8067 * process.h (PROCESS_LIVE_P): Use the process status as
8068 evidence of health, not the state of the input stream.
8069 (PROCESS_READABLE_P): Say if the process is readable
8070 from. (It may be dead nonetheless.)
8071 (CHECK_READABLE_PROCESS): Test for that condition.
8073 * process.c (create_process): Use PROCESS_READABLE_P.
8074 (read_process_output, set_process_filter): Likewise.
8076 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
8077 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
8079 This code is #if 0'd, this is not the time to add new functions:
8081 * process.c (Fprocess_readable_p): Report readability status.
8082 * process.c (Qprocess_readable_p): New, associated symbol...
8083 * process.c (syms_of_process): ... initialize it.
8085 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8087 * XEmacs 21.4.7 "Economic Science" is released.
8089 2002-04-17 Nix <nix@esperi.demon.co.uk>
8091 * process.h (PROCESS_LIVE_P): Use the process status as
8092 evidence of health, not the state of the input stream.
8094 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8096 * sysdep.c (sys_siglist): change "signum" to "signal"
8098 2001-04-21 Martin Buchholz <martin@xemacs.org>
8100 * s/darwin.h: New file.
8101 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8103 2002-04-23 Andreas Jaeger <aj@suse.de>
8105 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8106 which use lib64 for 64-bit libs.
8107 (START_FILES): Likewise.
8109 2002-02-11 Mike Sperber <mike@xemacs.org>
8112 (x_IO_error_handler):
8113 (x_init_device): Temporarily keep device in static variable
8114 `device_being_initialized' so we can recover gracefully from
8115 internal XOpenDevice failure. (XOpenDevice is documented to
8116 return NULL on failure, but sometimes calls the IO error handler
8119 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8121 * dired.c (Ffile_name_all_completions): Change documentation --
8122 remove reference to completion-ignored-extensions.
8123 * dired.c (vars_of_dired): Change documentation for
8124 completion-ignored-extensions -- remove reference to
8125 file-name-all-completions.
8127 2002-03-06 Jerry James <james@xemacs.org>
8129 * emodules.c (emodules_load): Fix multiple loading of same module.
8131 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8132 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8133 RTLD_LAZY to avoid incorrect symbol binding when using nested
8134 shared libraries on Solaris.
8136 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8138 * fileio.c (Ffind_file_name_handler): Improve docstring.
8140 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8142 * fns.c (Fmapconcat): Improve docstring.
8144 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8146 * device-gtk.c: Add prototype for
8147 emacs_gtk_selection_clear_event_handle.
8148 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8149 selection. Setup signal handler for "selection_clear_event"
8150 (emacs_gtk_selection_clear_event_handle).
8152 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8153 other applications owning the clipboard (based on
8154 x_handle_selection_clear).
8156 2001-12-23 William M. Perry <wmperry@gnu.org>
8158 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8160 2002-01-04 Martin Buchholz <martin@xemacs.org>
8162 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8164 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8166 * XEmacs 21.4.6 "Common Lisp" is released.
8168 2001-12-16 Torsten Duwe <duwe@caldera.de>
8170 * search.c (Freplace_match): Add missing sub-expression functionality.
8172 * buffer.c (decode_buffer): Add a check for pointer type to
8173 decode_buffer, before gcc's CSE optimization reorders a
8174 dereference in front of the allow_string test.
8176 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8178 * window.c (window_loop): Fix bug that sometimes prevented
8179 window_loop() from iterating across multiple devices. Also, at
8180 Ben's request, changed infloop-detecting code to abort() instead
8181 of silently terminating window_loop().
8183 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8185 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8186 * editfns.c (make_time): New function.
8187 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8188 * lisp.h (make_time): Prototype and comment it.
8189 * dired.c (wasteful_word_to_lisp): Deprecate.
8190 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8192 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8194 * fileio.c (auto_save_1): Use current coding system, not
8197 2001-11-13 Ben Wing <ben@xemacs.org>
8200 * window.c (window_truncation_on):
8201 * window.c (syms_of_window):
8202 truncate-partial-width-windows should respect the buffer being
8203 displayed, like other redisplay vars.
8205 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8207 * event-stream.c (Fread_key_sequence): save current buffer.
8209 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8211 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8213 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8215 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8217 2001-10-26 Mike Alexander <mta@arbortext.com>
8219 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8221 2001-10-25 Andy Piper <andy@xemacs.org>
8224 * dialog-msw.c (handle_directory_proc): new function.
8225 (handle_directory_dialog_box): new fucntion.
8226 (handle_file_dialog_box): use new directory dialog support.
8227 (mswindows_make_dialog_box_internal): ditto.
8228 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8230 (mswindows_find_frame): make global.
8231 * fileio.c (Fexpand_file_name): build fix.
8232 * general-slots.h: add Qdirectory.
8233 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8235 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8236 cygwin not leaving win32 paths unchanged.
8237 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8238 cygwin runtime to do path conversion.
8239 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8240 (syms_of_win32): add new function.
8241 * window.c (window_loop): build fix.
8243 2001-10-15 Andy Piper <andy@xemacs.org>
8245 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8247 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8249 * XEmacs 21.4.5 "Civil Service" is released.
8251 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8253 * glyphs-x.c: Force buffer-tab highlight update when moving the
8254 buffer, avoiding an ugly black border, used for keyboard focus
8255 indication, on a widget that can never have keyboard focus, the
8258 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8260 * process-unix.c (unix_open_multicast_group): Remove too much
8261 conversion between host and network byte order.
8263 2001-09-10 Nix <nix@esperi.demon.co.uk>
8265 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8266 before replacing them.
8268 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8271 * src/window.c (undedicate_windows): Use it.
8272 * src/window.h: Add prototype.
8274 2001-09-17 Ben Wing <ben@xemacs.org>
8276 * fileio.c (normalize_filename):
8277 * fileio.c (Fexpand_file_name):
8278 Fix various C++ compile errors in Andy's recent code.
8280 * callint.c (Fcall_interactively):
8281 * editfns.c (Ftemp_directory):
8282 * editfns.c (Fuser_full_name):
8283 * emacs.c (argmatch):
8284 * lread.c (locate_file_map_suffixes):
8285 * redisplay-x.c (x_ring_bell):
8286 Fix sign-compare warnings.
8288 2001-09-08 Andy Piper <andy@xemacs.org>
8290 * fileio.c (normalize_filename): copied from nt.c
8291 * (Ffile_name_directory): enable win32 paths under cygwin.
8292 * (Ffile_name_nondirectory): ditto.
8293 * (directory_file_name): ditto.
8294 * (Fexpand_file_name): ditto.
8295 * (Ffile_truename): ditto.
8296 * (Fsubstitute_in_file_name): ditto.
8297 * (Ffile_name_absolute_p): ditto.
8298 * (Ffile_readable_p): ditto.
8300 2001-09-08 Andy Piper <andy@xemacs.org>
8302 * device-msw.c (mswindows_finish_init_device): remove dde
8304 * device-msw.c (mswindows_init_dde): factor out from
8305 mswindows_finish_init_device()
8306 * device-msw.c (init_mswindows_very_early): new function
8307 initialize but don't enable dde.
8308 * emacs.c (main_1): call init_mswindows_very_early.
8310 * event-msw.c (mswindows_dde_callback): only execute when we are
8312 * symsinit.h: declare init_mswindows_very_early.
8314 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8316 [sjt: This has been in 21.5 for months with no complaints.]
8318 * console.h (struct console_methods): Added flags member.
8319 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8320 (CONMETH_IMPL_FLAG):
8321 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8322 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8324 * device.c (window_system_pixelated_geometry): Use the above macros.
8326 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8327 implememntation flag.
8328 * device.h (DEVICE_DISPLAY_P): Use it.
8330 * frame.c (delete_frame_internal): Use the above macro.
8332 * redisplay.c (redisplay_device): Use it.
8333 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8334 (redisplay_frame): Ditto.
8336 * device-msw.c (mswindows_device_implementation_flags): Removed.
8337 (msprinter_device_implementation_flags): Removed.
8338 (console_type_create_device_mswindows): Removed references to
8339 implementation_flags methods, set implementation flags here.
8340 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8342 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8343 (console_type_create_device_gtk): Removed method declaration.
8344 Added commented out statement which semantically matches the
8345 commented out statement in the above removed method.
8347 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8349 The attached patch fixes a few warnings.
8351 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8352 * src/frame-gtk.c: guard against GNOME calls in GTK only
8353 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8354 * src/select-gtk.c: prototype lisp_to_time
8356 2001-06-08 Ben Wing <ben@xemacs.org>
8358 ------ gc-in-window-procedure fixes ------
8361 * alloc.c (struct post_gc_action):
8362 * alloc.c (register_post_gc_action):
8363 * alloc.c (run_post_gc_actions):
8364 * alloc.c (garbage_collect_1):
8365 Create "post-gc actions", to avoid those dreaded "GC during window
8366 procedure" problems.
8369 Abort, clean and simple, when GC in window procedure. We want
8370 to flush these puppies out.
8373 * glyphs-msw.c (finalize_destroy_window):
8374 * glyphs-msw.c (mswindows_finalize_image_instance):
8375 Use a post-gc action when destroying subwindows.
8378 Declare register_post_gc_action().
8381 * scrollbar-msw.c (unshow_that_mofo):
8382 Use a post-gc action when unshowing scrollbar windows, if in gc.
8384 * redisplay.c (mark_redisplay):
8385 Add comment about the utter evilness of what's going down here.
8387 ------ cygwin setitimer fixes ------
8389 * Makefile.in.in (sheap_objs):
8390 * Makefile.in.in (profile_objs):
8391 * Makefile.in.in (objs):
8392 Compile profile.c only when HAVE_SETITIMER.
8394 * nt.c (mswindows_sigset):
8395 * nt.c (mswindows_sighold):
8396 * nt.c (mswindows_sigrelse):
8397 * nt.c (mswindows_sigpause):
8398 * nt.c (mswindows_raise):
8399 * nt.c (close_file_data):
8403 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8406 * profile.c (Fstart_profiling):
8407 * profile.c (Fstop_profiling):
8408 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8409 instead of just plain setitimer().
8412 * signal.c (set_one_shot_timer):
8414 Define qxe_setitimer() as an encapsulation around setitimer() --
8415 call setitimer() directly unless Cygwin or MS Win, in which case
8416 we use our simulated version in win32.c.
8419 * systime.h (struct itimerval):
8420 * systime.h (ITIMER_REAL):
8421 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8422 comment about "qxe" and the policy regarding encapsulation.
8425 * win32.c (setitimer_helper_proc):
8426 * win32.c (setitimer_helper_period):
8427 * win32.c (setitimer_helper):
8428 * win32.c (mswindows_setitimer):
8429 Move setitimer() emulation here, so Cygwin can use it.
8430 Rename a couple of functions and variables to be longer and more
8431 descriptive. In setitimer_helper_proc(), send the signal
8432 using either mswindows_raise() or (on Cygwin) kill(). If for
8433 some reason we are still getting lockups, we'll change the kill()
8434 to directly invoke the signal handlers.
8436 ------ windows shell fixes ------
8440 Comments about how these two files must die.
8442 * callproc.c (init_callproc):
8443 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8444 not just COMSPEC. (more correct and closer to FSF.) Don't
8445 force a value for SHELL into the environment. (Comments added
8446 to explain why not.)
8448 * nt.c (init_user_info):
8449 Don't shove a fabricated SHELL into the environment. See above.
8451 2001-06-01 Ben Wing <ben@xemacs.org>
8453 * Makefile.in.in (ldflags):
8454 eliminate that pesky "defaulting to 00401000" warning.
8458 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8460 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8461 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8463 2001-04-24 Jerry James <james@xemacs.org>
8465 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8468 2001-06-01 Ben Wing <ben@xemacs.org>
8470 * event-msw.c (debug_mswin_messages):
8471 conditionalize the messages that were causing compile errors.
8472 (if only macros could generate #ifdef statements ...)
8474 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8476 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8478 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8480 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8482 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8484 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8485 * process-unix.c (unix_canonicalize_host_name):
8486 sysdep.c (init_system_name):
8487 Use it to conditionally support IPv6 canonicalization.
8489 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8492 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8494 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8496 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8497 attempt is made to scroll when no scroll bar is available.
8499 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8501 * input-method-motif.c (XIM_delete_frame): New callback.
8502 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8503 got deleted from 21.4.3.)
8505 2001-06-01 Ben Wing <ben@xemacs.org>
8507 * nt.c (mswindows_utime):
8508 * nt.c (close_file_data):
8509 fix off-by-one-indirection error.
8511 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8513 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8514 because set_file_times() now takes Lisp_Object path, instead of
8516 * nt.c: Include buffer.h.
8517 * nt.c (convert_from_time_t): New.
8518 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8519 not set mtime correctly.
8520 * nt.h: Declare mswindows_utime().
8521 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8522 path, instead of char*.
8523 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8525 2001-05-30 Ben Wing <ben@xemacs.org>
8529 (Stephen, just take all event-msw.c patches. This includes
8530 the "iconify" fix below.)
8533 * event-msw.c (mswindows_dequeue_dispatch_event):
8534 * event-msw.c (assert):
8535 * event-msw.c (emacs_mswindows_quit_p):
8536 * event-msw.c (debug_mswin_messages):
8537 * event-msw.c (debug_output_mswin_message):
8538 * event-msw.c (vars_of_event_mswindows):
8539 Fix yet more problems with C-g handling.
8540 Implement debug-mswindows-events.
8542 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8544 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8546 2001-05-23 Ben Wing <ben@xemacs.org>
8548 * event-msw.c (winsock_writer):
8549 * event-msw.c (winsock_closer):
8550 prior kludgy code was clobbering the buffer, thinking it was
8551 "unused" space to store an unneeded return value; instead, use
8552 the variable we've already got staring us in the face.
8554 2001-05-17 Andy Piper <andy@xemacs.org>
8556 * sysfile.h: don't assume that file attributes are boolean
8558 2001-05-23 Ben Wing <ben@xemacs.org>
8560 * device-msw.c (msprinter_init_device):
8561 signal an error rather than crash with an unavailable network
8562 printer (from Mike Alexander).
8565 * event-msw.c (struct winsock_stream):
8566 * event-msw.c (winsock_writer):
8567 * event-msw.c (winsock_closer):
8568 * event-msw.c (make_winsock_stream_1):
8569 cleanup headers. fix (hopefully) an error with data corruption
8570 when sending to a network connection.
8572 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8573 to handle the ~user prefix by (a) always assuming we're referencing
8574 ourselves and not even verifying the user -- hence any file with
8575 a tilde as its first char is invalid! (b) if there wasn't a slash
8576 following the filename, the pointer was set *past* the end of
8577 file and we started reading from uninitialized memory. Now we
8578 simply treat these as files, always.
8580 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8582 2001-05-19 Ben Wing <ben@xemacs.org>
8584 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8587 * process-nt.c (vars_of_process_nt):
8588 remove unused mswindows-quote-process-args. rec for 21.4.
8590 2001-05-12 Ben Wing <ben@xemacs.org>
8592 * event-msw.c (mswindows_dde_callback):
8593 * event-msw.c (mswindows_wnd_proc):
8594 eliminate cygwin warnings.
8596 2001-05-06 Ben Wing <ben@xemacs.org>
8600 * device-msw.c (print_dialog_worker):
8601 * device-msw.c (mswindows_handle_print_dialog_box):
8602 * device-msw.c (syms_of_device_mswindows):
8603 * dialog-msw.c (mswindows_make_dialog_box_internal):
8605 implement printing the selection when it's selected.
8607 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8609 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8611 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8613 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8614 EMACS_INT is signed.
8616 2001-04-15 Michael Lausch <mla@1012surf.net>
8618 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8619 gtk_widget_request_size() to give scrollbar >0 width for
8622 2001-05-30 William M. Perry <wmperry@gnu.org>
8624 * event-gtk.c: Check for buttons as modifier keys.
8626 2001-05-25 Craig Lanning <CraigL@Knology.net>
8629 Properly find MinGW's <process.h> inside Cygwin's restructured
8630 include directories. Don't try to include <cygwin/version.h>
8631 since we are dropping support for MinGW in versions of Cygwin
8634 Drop support for MinGW in versions of Cygwin before b21.
8636 Properly find MinGW's <process.h> inside Cygwin's restructured
8637 include directories.
8639 Drop support for MinGW in versions of Cygwin before b21.
8641 Even though a.out.h is no longer detected by configure, allow
8642 MinGW to use it until we figure out how to do the job with Win32.
8644 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8646 * syntax.c (find_start_of_comment):
8647 Fix `unbalanced parentheses' bug when dealing with mixed comment
8648 styles in c++/java/etc. mode
8650 2001-05-29 Mike Alexander <mta@arbortext.com>
8652 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8653 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8655 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8657 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8659 2001-03-31 Mike Sperber <mike@xemacs.org>
8661 * search.c (Freplace_match): Support FSF-style specification of
8662 match subexpression when applied to a buffer.
8664 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8666 * event-stream.c (is_scrollbar_event): add missing semicolon
8668 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8670 * Makefile.in.in: Use TAR macro instead of hardcoding
8671 tar. Allows use of GNU tar instead of system tar
8673 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8675 * event-stream.c (is_scrollbar_event): add missing semicolon
8677 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8679 * XEmacs 21.4.3 "Academic Rigor" is released.
8681 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8683 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8685 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8687 * buffer.c (Vcase_fold_search): Remove obsolete
8688 comment about non ASCII case-fold-search. This
8689 bug has been fixed by case-table changes.
8691 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8693 * event-msw.c: Restore include of events-mod.h.
8695 2001-04-22 zhaoway <zw@debian.org>
8697 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8700 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8702 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8704 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8706 * mule-charset.c (Fmake_charset): Add missing else.
8708 2001-04-23 Ben Wing <ben@xemacs.org>
8710 * event-msw.c (FAKE_MOD_QUIT):
8711 * event-msw.c (mswindows_dequeue_dispatch_event):
8712 * event-msw.c (mswindows_wnd_proc):
8713 * event-msw.c (emacs_mswindows_quit_p):
8714 Get critical quit working.
8716 2001-05-05 Ben Wing <ben@xemacs.org>
8720 * device-msw.c (mswindows_get_default_margin):
8721 * frame-msw.c (mswindows_size_frame_internal):
8722 * frame-msw.c (msprinter_init_frame_1):
8723 * frame-msw.c (vars_of_frame_mswindows):
8724 Change top/bottom margin defaults to 0.5 inches.
8726 2001-05-01 Martin Buchholz <martin@xemacs.org>
8728 Fix link error with gcc 3.0 on Linux.
8729 * terminfo.c (UP): Remove.
8730 * terminfo.c (BC): Remove.
8731 * terminfo.c (PC): Remove.
8732 They weren't used, and in any case, these symbols should be
8733 defined in the *library*.
8735 2001-05-03 Martin Buchholz <martin@xemacs.org>
8737 * s/aix4.h: Fix crash with xlc -O3.
8738 Improve comment explaining how -O3 works.
8740 2001-04-15 Ben Wing <ben@xemacs.org>
8743 * event-stream.c (Fnext_event):
8744 * event-stream.c (is_scrollbar_event):
8745 * event-stream.c (execute_command_event):
8746 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8747 crash' problem. His fix introduces other problems. We filter
8748 out scrollbar events specifically, making them somewhat invisible
8749 to command-building, and not appearing in `this-command-keys'.
8750 More work is still needed (see comments in event-stream.c), but
8751 this fixes all the major problems.
8753 2001-04-20 Ben Wing <ben@xemacs.org>
8755 * .cvsignore: Added stuff for Windows.
8757 2001-04-28 Ben Wing <ben@xemacs.org>
8759 * buffer.c (Ferase_buffer):
8760 * editfns.c (buffer_insert1):
8761 * editfns.c (Finsert_before_markers):
8762 * editfns.c (Finsert_string):
8763 * editfns.c (Finsert_char):
8764 * editfns.c (Fdelete_region):
8765 * editfns.c (Fwiden):
8766 * editfns.c (Fnarrow_to_region):
8767 remove bogus lines setting zmacs_region_stays to 0.
8769 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8771 * process-unix.c (unix_open_network_stream): If connect() fails
8772 invalidate file descriptor after closing it.
8774 2001-03-08 Mike Alexander <mta@arbortext.com>
8776 * event-msw.c (mswindows_need_event_in_modal_loop):
8777 Don't dispatch a message if we didn't get one.
8778 (mswindows_need_event):
8779 Terminate the correct process when one exits instead of the first
8780 one on Vprocess_list and look for process termination when in
8781 mswindows_protect_modal_loop.
8783 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8785 * XEmacs 21.4.1 "Copyleft" is released.
8787 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8789 * input-method-motif.c (XIM_delete_frame): New callback.
8790 (XIM_init_frame): Register it.
8792 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8794 * XEmacs 21.4.0 "Solid Vapor" is released.
8796 2001-04-15 Ben Wing <ben@xemacs.org>
8798 * cmdloop.c (call_command_loop):
8799 Fix braino in bit-rotting code.
8801 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8803 * extents.c (Fset_extent_endpoints): Force creation of extent info
8804 in buffer_or_string.
8806 * extents.c (process_extents_for_insertion_mapper): Correctly
8807 check for open-open zero-length extents.
8809 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8811 * lisp.h: New typedefs Memory_count, Element_count.
8814 Sign-compare warning elimination: several unsigned -> signed.
8815 Based on work by Ben Wing <ben@xemacs.org>.
8817 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8819 * XEmacs 21.2.47 "Zephir" is released.
8821 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8823 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8825 2001-04-03 Mike Sperber <mike@xemacs.org>
8827 * search.c: Revert previous patch due because of release.
8829 2001-03-30 Ben Wing <ben@xemacs.org>
8832 Add missing killpg prototype.
8835 Add a comment about fixing problems when a new entry is added
8838 * frame-msw.c (mswindows_init_frame_1):
8839 Fix compile warnings.
8841 * menubar.c (vars_of_menubar):
8842 Provide `menu-accelerator-support' to indicate that we properly
8843 support %_ in menu specifications, so that package code can
8844 conditionalize on this (and remove %_ from menu specifications
8849 * scrollbar-msw.c (can_scroll):
8851 Fix handling of mouse wheel under Windows to follow standards --
8852 now scrolls window under pointer, not selected window.
8854 2001-03-31 Mike Sperber <mike@xemacs.org>
8856 * search.c (Freplace_match): Support FSF-style specification of
8857 match subexpression when applied to a buffer.
8859 2001-03-15 Martin Buchholz <martin@xemacs.org>
8861 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8862 function to modify KEYMAP, so map over a copy of the hash table.
8864 2001-03-21 Martin Buchholz <martin@xemacs.org>
8866 * XEmacs 21.2.46 "Urania" is released.
8868 2001-03-20 Dan Holmsand <dan@eyebee.com>
8870 * realpath.c (xrealpath): Make file-truename work with symlinks to
8871 /cygdrive paths on cygwin. Always lowercase drive-letters on
8873 (cygwin_readlink): Don't try to find canonical filename unless
8876 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8878 * ChangeLog: Log GTK merge.
8884 Revert gratuitous whitespace changes from GTK merge.
8886 * emacs.c: Document end of complex #ifdef @ l. 1495.
8889 2001-03-12 Andy Piper <andy@xemacs.org>
8891 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8892 have to do likewise.
8894 2001-03-12 Andy Piper <andy@xemacs.org>
8896 * sysdep.c: we only support mingw now.
8898 2001-03-09 Andy Piper <andy@xemacs.org>
8900 * unexcw.c (copy_executable_and_dump_data_section): making approx
8901 overrun a warning only.
8903 2001-03-10 William M. Perry <wmperry@aventail.com>
8905 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8906 satisfy Stephen's identical-after-cpp plea.
8908 2001-03-02 Ben Wing <ben@xemacs.org>
8911 * cmds.c (Fforward_char):
8915 Augment documentation of the most common motion commands to make
8916 note of the shifted-motion support.
8918 2001-03-02 Ben Wing <ben@xemacs.org>
8920 * nt.c (mswindows_fstat):
8921 * nt.c (mswindows_stat):
8922 * search.c (boyer_moore):
8923 Fix compile warnings under Windows.
8925 * sysdep.c (sys_readdir):
8926 Fix buggy filename-conversion code under Mule.
8928 2001-03-09 William M. Perry <wmperry@aventail.com>
8950 * redisplay-output.c:
8956 The Great GTK Merge.
8963 * emacs-widget-accessors.c:
8977 * native-gtk-toolbar.c:
8988 The Great GTK Merge: new files.
8990 2001-02-26 Ben Wing <ben@xemacs.org>
8992 Reapplied Lstream change.
8994 2001-02-26 Ben Wing <ben@xemacs.org>
8996 Undid the last change, since it is more controversial than I
8997 thought. It should be back in at some point soon.
8999 2001-02-25 Ben Wing <ben@xemacs.org>
9002 * callproc.c (Fold_call_process_internal):
9003 * event-msw.c (ntpipe_slurp_reader):
9004 * event-msw.c (ntpipe_shove_writer):
9005 * event-msw.c (winsock_reader):
9006 * event-msw.c (winsock_writer):
9008 * file-coding.c (detect_eol_type):
9009 * file-coding.c (detect_coding_type):
9010 * file-coding.c (determine_real_coding_system):
9011 * file-coding.c (Fdetect_coding_region):
9012 * file-coding.c (decoding_reader):
9013 * file-coding.c (decoding_writer):
9014 * file-coding.c (mule_decode):
9015 * file-coding.c (Fdecode_coding_region):
9016 * file-coding.c (encoding_reader):
9017 * file-coding.c (encoding_writer):
9018 * file-coding.c (mule_encode):
9019 * file-coding.c (Fencode_coding_region):
9020 * file-coding.c (detect_coding_sjis):
9021 * file-coding.c (decode_coding_sjis):
9022 * file-coding.c (encode_coding_sjis):
9023 * file-coding.c (detect_coding_big5):
9024 * file-coding.c (decode_coding_big5):
9025 * file-coding.c (encode_coding_big5):
9026 * file-coding.c (detect_coding_ucs4):
9027 * file-coding.c (decode_coding_ucs4):
9028 * file-coding.c (encode_coding_ucs4):
9029 * file-coding.c (detect_coding_utf8):
9030 * file-coding.c (decode_coding_utf8):
9031 * file-coding.c (encode_coding_utf8):
9032 * file-coding.c (detect_coding_iso2022):
9033 * file-coding.c (decode_coding_iso2022):
9034 * file-coding.c (encode_coding_iso2022):
9035 * file-coding.c (decode_coding_no_conversion):
9036 * file-coding.c (encode_coding_no_conversion):
9037 * glyphs-x.c (write_lisp_string_to_temp_file):
9038 * gpmevent.c (tty_get_foreign_selection):
9041 * lstream.c (Lstream_flush_out):
9042 * lstream.c (Lstream_adding):
9043 * lstream.c (Lstream_write_1):
9044 * lstream.c (Lstream_write):
9045 * lstream.c (Lstream_raw_read):
9046 * lstream.c (Lstream_read_more):
9047 * lstream.c (Lstream_read):
9048 * lstream.c (Lstream_unread):
9049 * lstream.c (Lstream_fputc):
9050 * lstream.c (stdio_reader):
9051 * lstream.c (stdio_writer):
9052 * lstream.c (filedesc_reader):
9053 * lstream.c (filedesc_writer):
9054 * lstream.c (lisp_string_reader):
9055 * lstream.c (struct fixed_buffer_stream):
9056 * lstream.c (make_fixed_buffer_input_stream):
9057 * lstream.c (make_fixed_buffer_output_stream):
9058 * lstream.c (fixed_buffer_reader):
9059 * lstream.c (fixed_buffer_writer):
9060 * lstream.c (struct resizing_buffer_stream):
9061 * lstream.c (resizing_buffer_writer):
9062 * lstream.c (dynarr_writer):
9063 * lstream.c (lisp_buffer_reader):
9064 * lstream.c (lisp_buffer_writer):
9066 * lstream.h (lstream_implementation):
9067 * lstream.h (struct lstream):
9069 * process-nt.c (nt_send_process):
9070 * process-unix.c (unix_send_process):
9072 Correct Lstream lossage due to mixing of signed and unsigned
9073 quantities. All Lstream uses of size_t and ssize_t are now a
9074 single signed data type Lstream_data_count. This fixes problems
9075 under Windows with sending large quantities of data to a process,
9076 and may well fix other subtle bugs.
9078 2001-02-23 Martin Buchholz <martin@xemacs.org>
9080 * XEmacs 21.2.45 "Thelxepeia" is released.
9082 2001-02-21 Martin Buchholz <martin@xemacs.org>
9084 * lisp-union.h (XSETINT):
9087 Reverse previous change of 2001-02-06.
9089 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9091 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9093 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9094 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9095 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9096 * regex.c (POS_AS_IN_BUFFER): removed
9097 * regex.c (re_search_2):
9098 * regex.c (re_match_2):
9099 Don't use an offset of 1 when calculating buffer positions, since
9100 `BI_BUF_BEGV' does it already.
9102 2001-02-18 Wim Dumon <wim@easics.be>
9104 * insdel.c (prepare_to_modify_buffer): Also check for
9105 supersession when clash-detection is enabled.
9107 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9109 * regex.c (re_match_2_internal):
9110 Convert temp characters from 'const unsigned char' to 're_char'.
9111 Fix crashing bug with extended characters under mule.
9112 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9113 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9114 font-lock, pdump, and new syntax-table code.
9115 * syntax.c (find_start_of_comment):
9116 (find_end_of_comment):
9118 Fix crashing bugs involving moving beyond end of buffer.
9119 * syntax.c (find_start_of_comment):
9120 Fixed logic to allow proper detection of cases where the same
9121 character is used to end both a two-char comment start and a
9122 two-char comment end sequence. Fixes `(forward-comment -1)'.
9123 * syntax.c (find_start_of_comment):
9124 Return position just past last comment-end character for all cases
9125 (previously was only done for two-char comment-end sequences).
9126 * syntax.c (forward-comment):
9127 Take value returned from `find_end_of_comment', rather than
9129 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9130 Properly deal with BUFFERP (syntax_cache.object)
9132 2001-02-17 Martin Buchholz <martin@xemacs.org>
9134 * alloc.c (Fgarbage_collect):
9135 * alloc.c (make_bit_vector_from_byte_vector):
9136 -Wsign-compare-correctness.
9138 2001-02-16 Martin Buchholz <martin@xemacs.org>
9140 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9141 (XSETCHAR): Likewise.
9142 (XSETOBJ): Likewise.
9144 2001-02-15 Martin Buchholz <martin@xemacs.org>
9146 * mule-canna.c (canna-func-delete_previous):
9147 Rename to canna-func-delete-previous.
9149 2001-02-14 Martin Buchholz <martin@xemacs.org>
9151 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9153 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9155 * font-lock.c (find_context): Fix C++ compile errors introduced by
9158 2001-02-13 Martin Buchholz <martin@xemacs.org>
9160 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9161 pragma, but earlier ones barf on the same pragma.
9163 2001-02-06 Mike Sperber <mike@xemacs.org>
9165 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9166 `configure-mule-lisp-directory'.
9168 2001-02-12 Martin Buchholz <martin@xemacs.org>
9170 Make sure dump-id.c is compiled in the same way as other .c's.
9171 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9172 * dump-id.h: Remove.
9173 * emacs.c: Move dump-id.h into dumper.h.
9174 * dumper.h: Move dump-id.h into dumper.h.
9176 Use standard .c.o rule for building dump-id.o.
9177 Remove preprocessor flags from link command.
9178 Add dump-id.o to ${otherobjs} if PDUMP.
9180 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9182 Port FSF 20.7 syntax table improvements.
9186 Fixups for new syntax table stuff.
9187 * dired.c: Include syntax.c.
9188 (Fdirectory_files): Initialize regex_match_object and
9190 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9191 and Fget_char_property.
9193 Use ported FSF 20.7 syntax table improvements.
9198 2001-02-09 Martin Buchholz <martin@xemacs.org>
9200 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9201 Unixware's enum boolean from sys/types.h.
9203 2001-02-10 Martin Buchholz <martin@xemacs.org>
9205 Fix support for building with latest Purify.
9206 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9207 (PURIFY_FLAGS): Likewise.
9209 2001-02-09 Martin Buchholz <martin@xemacs.org>
9211 * fileio.c (lisp_string_set_file_times): New.
9212 * fileio.c (Fcopy_file): Use it.
9214 (copy-file filename non-ascii-filename t t)
9215 ==> No such file or directory, non-ascii-filename
9217 2001-02-10 Martin Buchholz <martin@xemacs.org>
9219 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9220 USHRT_MAX seems clearer than ~0 anyways.
9222 2001-02-09 Martin Buchholz <martin@xemacs.org>
9224 dumper improvements. Inspired by Olivier.
9225 * dumper.c (pdump_max_align): New.
9226 * dumper.c (pdump_add_entry): Use pdump_max_align.
9227 * dumper.c (pdump_get_entry_list): Likewise.
9228 * dumper.c (pdump_scan_by_alignment): Likewise.
9229 Don't iterate through unnecessary alignments.
9230 * dumper.c (pdump_file_get): No need to align result of malloc().
9231 * dumper.c (pdump_mallocadr): Remove.
9232 The result of malloc() is guaranteed to be maximally aligned.
9233 * dumper.c: s/elmt/elt/g;
9234 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9235 * dumper.c (pdump_alert_undump_object): Likewise.
9236 * dumper.c (pdump_align_table):
9237 Don't support alignments > 64.
9238 Store ALIGNOF's, not shift counts, in table.
9240 2001-02-09 Martin Buchholz <martin@xemacs.org>
9242 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9243 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9244 * systime.h: Use HAVE_UTIME.
9245 * sysdep.c (struct utimbuf): Remove.
9246 * sysdep.c (set_file_times): Prefer utime() to utimes().
9247 * config.h.in (HAVE_UTIME): New.
9248 * config.h.in (HAVE_UTIME_H): Remove.
9249 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9251 2001-02-09 Martin Buchholz <martin@xemacs.org>
9253 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9255 2001-02-08 Martin Buchholz <martin@xemacs.org>
9257 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9259 2001-02-08 Martin Buchholz <martin@xemacs.org>
9261 * XEmacs 21.2.44 "Thalia" is released.
9263 2001-02-06 Martin Buchholz <martin@xemacs.org>
9265 Fixes crashes in kill-emacs on some systems.
9266 * process-unix.c (unix_kill_child_process):
9267 It's OK for kill() to fail with ESRCH.
9269 2001-02-07 Martin Buchholz <martin@xemacs.org>
9271 Contortions to make .gdbinit tricks work on most systems.
9272 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9273 * alloc.c (dbg_valmask): Make non-const.
9274 * alloc.c (dbg_typemask): Make non-const.
9275 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9276 * alloc.c (dbg_valbits): Make non-const.
9277 * alloc.c (dbg_gctypebits): Make non-const.
9278 * .gdbinit (decode_object): Make it work with AIX cc.
9280 2001-02-06 Martin Buchholz <martin@xemacs.org>
9282 * elhash.c (make_general_lisp_hash_table):
9283 Use simpler and more efficient calloc to clear entries.
9285 2001-02-07 Martin Buchholz <martin@xemacs.org>
9287 * window.c (window_scroll): Work around an AIX C compiler bug.
9288 Fixes 'scroll-up' does nothing problem with xlC.
9290 2001-02-05 Martin Buchholz <martin@xemacs.org>
9292 * .gdbinit: Remove obsolete comment.
9294 2001-01-31 Mike Alexander <mta@arbortext.com>
9296 * select.c (Fown_selection_internal): Set owned_p for device
9299 2001-02-01 Martin Buchholz <martin@xemacs.org>
9302 "not" cannot be used as a macro name as it is an operator in C++
9303 * config.h.in: Stop #defining `not'.
9304 * chartab.c (check_category_char): not ==> not_p
9305 * chartab.h: Likewise.
9306 * regex.c (re_match_2_internal): Likewise.
9308 2001-02-02 Martin Buchholz <martin@xemacs.org>
9310 * lisp-disunion.h: Fix up comments.
9312 2001-01-31 Martin Buchholz <martin@xemacs.org>
9314 * keymap.c (define_key_check_and_coerce_keysym):
9316 Support mouse-6 and mouse-7 bindings in the obvious way.
9318 2001-02-01 Martin Buchholz <martin@xemacs.org>
9320 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9322 2001-01-30 Martin Buchholz <martin@xemacs.org>
9324 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9325 Previous patch missed DEFVAR_INT_MAGIC.
9326 Make sure future DEFVAR_foo use correct types.
9327 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9328 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9329 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9330 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9331 * (DEFVAR_INT): Likewise.
9332 * redisplay.c (vertical_clip): Should be of type Fixnum.
9333 * redisplay.c (horizontal_clip): Likewise.
9334 * lisp.h (dump_add_opaque_int): New.
9335 (dump_add_opaque_fixnum): New.
9337 2001-01-29 Andy Piper <andy@xemacs.org>
9339 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9340 since they can be eval'ed
9342 2001-01-29 Martin Buchholz <martin@xemacs.org>
9344 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9345 Oops, XEmacs redefines `class'. Use `typename' instead.
9347 2001-01-28 Martin Buchholz <martin@xemacs.org>
9349 * dumper.c: Fix C++ compile errors.
9351 2001-01-29 Martin Buchholz <martin@xemacs.org>
9353 * tparam.c: Use correct prototypes.
9355 2001-01-28 Martin Buchholz <martin@xemacs.org>
9357 * sysproc.h: #include util.h for NetBSD's openpty.
9359 2001-01-27 Martin Buchholz <martin@xemacs.org>
9361 More 64-bit correctness.
9362 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9363 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9365 This finally finishes the 64-bit SGI port.
9366 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9367 * symbols.c: Fix up comments and type casts.
9368 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9369 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9370 * symeval.h (Fixnum): New type.
9371 * symeval.h (symbol_value_type): Fix up comment.
9387 * mule-canna.c: A million DEFVAR_INTs here...
9388 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9401 s/int/Fixnum/g in DEFVAR_INT declarations.
9403 2001-01-26 Martin Buchholz <martin@xemacs.org>
9405 Port pdump to SGI alignment-sensitive environment.
9406 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9407 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9409 Define and use aligned reading and writing macros.
9410 Use buffered stdio instead of posix i/o for faster dumping.
9411 Eliminate kludgy 256 byte space for header.
9412 Read and write from dump file using structs for alignment safety.
9413 * dumper.c (pdump_align_stream): New.
9414 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9415 * dumper.c (PDUMP_READ_ALIGNED): New.
9416 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9417 * dumper.c (pdump_static_Lisp_Object): New struct.
9418 * dumper.c (pdump_static_pointer): New struct.
9419 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9420 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9421 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9422 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9424 * dumper.c (pdump_backtrace):
9425 * dumper.c (pdump_get_indirect_count):
9426 * dumper.c (pdump_register_object):
9427 * dumper.c (pdump_register_struct):
9428 * dumper.c (pdump_reloc_one):
9429 * dumper.c (pdump_scan_by_alignment):
9430 * dumper.c (pdump_dump_from_root_struct_ptrs):
9431 * dumper.c (pdump_dump_opaques):
9432 * dumper.c (pdump_dump_rtables):
9433 * dumper.c (pdump_dump_from_root_objects):
9435 * dumper.c (pdump_load_finish):
9436 Use aligned reading and writing.
9438 * dumper.c (pdump_free): Make static.
9439 * dumper.c (pdump_hFile): Likewise.
9440 * dumper.c (pdump_hMap): Likewise.
9442 2001-01-26 Martin Buchholz <martin@xemacs.org>
9444 * XEmacs 21.2.43 "Terspichore" is released.
9446 2001-01-25 Martin Buchholz <martin@xemacs.org>
9448 Type fiddling for window_config.saved_windows_count
9449 * window.c (struct window_config):
9450 Make saved_windows_count member unsigned.
9451 * window.c (sizeof_window_config_for_n_windows):
9452 Make parameter unsigned.
9453 * window.c (mark_window_config):
9454 * window.c (window_config_equal):
9455 * window.c (free_window_configuration):
9456 * window.c (Fset_window_configuration):
9457 * window.c (count_windows):
9458 * window.c (Fcurrent_window_configuration):
9459 * window.c (reinit_vars_of_window):
9460 Update all callers and users.
9462 2001-01-25 Martin Buchholz <martin@xemacs.org>
9464 Alignment correctness for flexible arrays.
9465 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9466 Make alignment-correct. Add interesting comments.
9467 * alloc.c (size_vector):
9468 * alloc.c (make_vector_internal):
9469 * alloc.c (make_bit_vector_internal):
9470 * alloc.c (sweep_bit_vectors_1):
9471 * fns.c (size_bit_vector):
9472 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9473 * window.c (sizeof_window_config_for_n_windows):
9474 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9476 2001-01-24 Martin Buchholz <martin@xemacs.org>
9478 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9480 2001-01-23 Andy Piper <andy@xemacs.org>
9482 * select.c (Fown_selection_internal): pass owned_p
9484 * select-msw.c (mswindows_own_selection): New Signature.
9486 * console.h (struct console_methods): add owned_p to
9489 * select-x.c (x_own_selection): pass owned_p
9490 (hack_motif_clipboard_selection): use owned_p
9491 (vars_of_select_x): new variable -
9492 x_selection_strict_motif_ownership.
9494 2001-01-23 Martin Buchholz <martin@xemacs.org>
9496 * specifier.h (specifier_data_offset): Remove pointless parens.
9497 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9499 2001-01-24 Martin Buchholz <martin@xemacs.org>
9501 Make Lisp_Object sizeof methods be alignment-correct.
9502 pdump must restore objects to the same alignment as the C compiler
9503 assumes. It really matters on SGIs.
9504 * lstream.c (aligned_sizeof_lstream): New.
9505 (sizeof_lstream): Use aligned_sizeof_lstream.
9506 (Lstream_new): Likewise.
9507 * opaque.c (aligned_sizeof_opaque): New.
9508 (sizeof_opaque): Use aligned_sizeof_opaque.
9509 (make_opaque): Likewise.
9510 * specifier.c (aligned_sizeof_specifier): New.
9511 (sizeof_specifier): Use aligned_sizeof_specifier.
9512 (make_specifier_internal): Likewise.
9514 2001-01-23 Martin Buchholz <martin@xemacs.org>
9516 * lstream.h (struct lstream): Use max_align_t for trailing data.
9517 * specifier.h (struct Lisp_Specifier): Likewise.
9519 2001-01-22 Martin Buchholz <martin@xemacs.org>
9521 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9522 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9523 (CCL_SUSPEND): Likewise.
9524 (CCL_INVALID_CMD): Likewise.
9525 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9526 (ccl_driver): Likewise.
9527 (CCL_WRITE_CHAR): Macro hygiene.
9528 (CCL_WRITE_STRING): Macro hygiene.
9530 2001-01-22 Martin Buchholz <martin@xemacs.org>
9532 Port "portable" dumper to SunOS 4 and HP-UX.
9533 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9534 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9535 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9537 2001-01-22 Martin Buchholz <martin@xemacs.org>
9539 * lisp.h (ALIGNOF): A better definition for C++.
9541 2001-01-20 Martin Buchholz <martin@xemacs.org>
9544 Fix printf warnings: int format, long int arg.
9545 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9546 (PUSH_FAILURE_POINT): Use correct printf formats.
9547 (POP_FAILURE_POINT): Use correct printf formats.
9548 Use do {...} while (0)
9550 2001-01-20 Martin Buchholz <martin@xemacs.org>
9552 * XEmacs 21.2.42 "Poseidon" is released.
9554 2001-01-20 Martin Buchholz <martin@xemacs.org>
9556 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9558 2001-01-19 Martin Buchholz <martin@xemacs.org>
9560 De-kludgify FIXED_TYPE free list frobbing.
9561 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9562 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9563 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9564 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9565 * alloc.c (LRECORD_FREE_P): New.
9566 * alloc.c (MARK_LRECORD_AS_FREE): New.
9567 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9568 * alloc.c (STRUCT_FREE_P): Deleted.
9569 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9570 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9571 * alloc.c (STRING_CHARS_FREE_P): New.
9572 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9573 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9574 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9575 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9576 * alloc.c (resize_string): Use new definitions.
9577 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9578 * alloc.c (verify_string_chars_integrity): Use new definitions.
9579 * alloc.c (compact_string_chars): Use new definitions.
9580 * alloc.c: Update monster comments.
9581 * lrecord.h (lrecord_type): Add some new lrecord types for
9584 2001-01-18 Martin Buchholz <martin@xemacs.org>
9586 Improve alignment hackery.
9587 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9588 (max_align_t): Moved from opaque.h - general purpose.
9589 (ALIGN_PTR): Use size_t, not long.
9590 * opaque.h (max_align_t): Move to lisp.h.
9592 2001-01-18 Norbert Koch <nk@LF.net>
9594 * gui.h: Fix and add prototypes to fix build problems.
9596 2001-01-18 Martin Buchholz <martin@xemacs.org>
9598 temacs is going away, so `dump-temacs' is now a bad name.
9599 * .dbxrc (dump-temacs): Rename to `dmp'.
9600 * .gdbinit (dump-temacs): Rename to `dmp'.
9602 2001-01-17 Andy Piper <andy@xemacs.org>
9604 * glyphs.c (print_image_instance): comment to make martin happy.
9606 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9609 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9611 (mswindows_tab_control_redisplay): warning suppression.
9613 * glyphs-widget.c (widget_update): re-write to cope with updated
9615 (widget_instantiate): use new gui_item functions.
9616 (tab_control_update): deleted.
9617 (progress_gauge_update): deleted.
9618 (image_instantiator_progress_guage): take out update reference.
9619 (image_instantiator_tree_view): ditto.
9620 (image_instantiator_tab_control): ditto.
9622 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9624 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9625 return whether anything was changed.
9626 (update_gui_item_keywords): as it sounds.
9628 * gui.h: declare widget_gui_parse_item_keywords.
9630 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9631 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9633 2001-01-17 Martin Buchholz <martin@xemacs.org>
9635 * XEmacs 21.2.41 "Polyhymnia" is released.
9637 2001-01-16 Didier Verna <didier@xemacs.org>
9639 * glyphs.c (image_instantiate): don't use fallbacks when
9640 instantiating a face's background pixmap by inheritance.
9642 2001-01-14 Mike Sperber <mike@xemacs.org>
9644 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9645 Conditionalize accordingly.
9647 2001-01-16 Martin Buchholz <martin@xemacs.org>
9649 * dumper.c (pdump_file_get): Fix a compiler warning.
9651 2001-01-15 Martin Buchholz <martin@xemacs.org>
9653 Make Purify happy when pdumping.
9654 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9655 iniitalizing all bits of new lisp object memory.
9656 * symbols.c (Fmake_local_variable): Likewise.
9657 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9658 * symbols.c (Fdefvaralias): Likewise.
9659 * mule-charset.c (vars_of_mule_charset): Likewise.
9661 2001-01-15 Martin Buchholz <martin@xemacs.org>
9662 Add the `-nd' flag when running pre-dump operations under the debugger.
9663 * .dbxrc (run-temacs): Add `-nd'.
9664 * .dbxrc (update-elc): Likewise.
9665 * .dbxrc (dump-temacs): Likewise.
9666 * .gdbinit (run-temacs): Likewise.
9667 * .gdbinit (check-temacs): Likewise.
9668 * .gdbinit (update-elc): Likewise.
9669 * .gdbinit (dump-temacs): Likewise.
9671 2001-01-14 Martin Buchholz <martin@xemacs.org>
9673 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9674 export OBJECT_MODE=64
9675 configure --pdump --use-union-type=no
9676 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9677 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9679 * miscplay.c (sndcnv8U_2mono):
9680 Avoid two uses of `++' in the same expression.
9681 Suppresses a GCC warning.
9683 2001-01-13 Martin Buchholz <martin@xemacs.org>
9685 Make sure future compilers don't miscompile alloc.c.
9687 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9688 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9690 2001-01-12 Martin Buchholz <martin@xemacs.org>
9692 * dumper.c: A little post-pdump-rename comment fixup.
9694 2001-01-09 Jerry James <james@eecs.ku.edu>
9696 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9698 2001-01-13 Martin Buchholz <martin@xemacs.org>
9700 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9704 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9707 replace_symbol pdump_wire_lists pdump_weak_object_chains
9708 replace_symbol pdump_wire_list dump_add_weak_object_chain
9710 replace_symbol pdump_wires pdump_root_objects
9711 replace_symbol pdump_wire dump_add_root_object
9713 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9714 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9716 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9717 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9718 replace_symbol dumpstructinfo pdump_root_struct_ptr
9719 replace_symbol dumpstruct dump_add_root_struct_ptr
9721 replace_symbol dumpopaque dump_add_opaque
9722 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9723 replace_symbol dumpopaqueinfos pdump_opaques
9724 replace_symbol dumpopaqueinfo pdump_opaque
9726 replace_symbol nb_structdump nb_root_struct_ptrs
9727 replace_symbol nb_opaquedump nb_opaques
9729 replace_symbol align_table pdump_align_table
9730 replace_symbol dump_header pdump_header
9732 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9733 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9736 2001-01-12 Martin Buchholz <martin@xemacs.org>
9738 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9739 optimizing bytecount_to_charcount().
9741 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9744 (HAVE_DLFCN_H): Removed.
9745 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9747 2001-01-06 Martin Buchholz <martin@xemacs.org>
9749 Portable dumper maintainability improvements.
9750 * alloc.c (staticpro):
9751 * alloc.c (staticpro_nodump):
9752 * alloc.c (garbage_collect_1):
9753 * alloc.c (reinit_alloc_once_early):
9754 * alloc.c (init_alloc_once_early):
9755 * alloc.c: Move dumper functions to alloc.c.
9756 * dumper.c (pdump_backtrace):
9757 * dumper.c (pdump_dump_structs):
9758 * dumper.c (pdump_dump_opaques):
9759 * dumper.c (pdump_dump_rtables):
9760 * dumper.c (pdump_dump_wired):
9762 * dumper.c (pdump_load_check):
9763 * dumper.c (pdump_load_finish):
9764 * dumper.c (pdump_file_unmap):
9765 * dumper.c (pdump_file_get):
9766 * dumper.c (pdump_resource_free):
9767 * dumper.c (pdump_resource_get):
9768 * dumper.c (pdump_file_free):
9769 * dumper.c (pdump_file_try):
9770 * dumper.c (pdump_load):
9771 Remove fixed size limits on staticpro(), staticpro_nodump(),
9772 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9773 Remove custom code for dumping lrecord_implementations_table - use
9775 Remove (most of the) custom code for dumping staticpros - dump it
9776 like any other dynarr.
9778 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9779 * dumper.c: Moved functions from alloc.c.
9780 * alloc.c (dumpstruct): Moved to dumper.c.
9781 * alloc.c (dumpopaque): Likewise.
9782 * alloc.c (pdump_wire): Likewise.
9783 * alloc.c (pdump_wire_list): Likewise.
9785 * lisp.h (Dynarr_sizeof): New.
9786 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9787 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9788 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9790 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9791 * lisp.h (dumpopaque): ditto.
9792 * lisp.h (pdump_wire): ditto.
9793 * lisp.h (pdump_wire_list): ditto.
9795 2001-01-09 Martin Buchholz <martin@xemacs.org>
9797 * make-src-depend (PrintPatternDeps):
9798 Use `sort' to make output independent of perl version.
9800 2001-01-08 Martin Buchholz <martin@xemacs.org>
9803 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9804 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9806 2001-01-03 Didier Verna <didier@xemacs.org>
9808 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9809 that `focus_frame' is alive before thinking of calling
9810 `redisplay_redraw_cursor' on it.
9812 2001-01-08 Martin Buchholz <martin@xemacs.org>
9814 * XEmacs 21.2.40 is released.
9816 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9818 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9820 2001-01-06 Martin Buchholz <martin@xemacs.org>
9822 * alloc.c (dbg_valmask): Make const.
9823 * alloc.c (dbg_typemask): Make const.
9824 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9825 * alloc.c (dbg_valbits): Make const.
9826 * alloc.c (dbg_gctypebits): Make const.
9828 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9830 * redisplay-x.c (x_bevel_area):
9831 redisplay.h (struct rune):
9832 Typo fixes in comments.
9834 2001-01-05 Andy Piper <andy@xemacs.org>
9836 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9839 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9841 2001-01-05 Martin Buchholz <martin@xemacs.org>
9843 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9845 * mule-ccl.c (stack_idx_of_map_multiple):
9846 Non const global data must not be initialized!
9847 Found by MIYASHITA Hisashi.
9849 2001-01-02 Andy Piper <andy@xemacs.org>
9851 * frame.c (change_frame_size): make sure frame size is always
9854 * glyphs.c (image_instance_layout): minor code reuse.
9856 * window.c (Fcurrent_window_configuration): revert previous
9859 2001-01-02 Martin Buchholz <martin@xemacs.org>
9862 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9864 2000-12-31 Andy Piper <andy@xemacs.org>
9866 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9867 when widget gets unmapped.
9869 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9870 function. Make sure widgets losing focus don't just drop it.
9871 (handle_focus_event_1): record the widget with focus.
9873 2000-12-31 Andy Piper <andy@xemacs.org>
9875 * window.c (allocate_window): use
9876 make_image_instance_cache_hash_table.
9877 (make_dummy_parent): ditto.
9878 (Fset_window_configuration): ditto.
9880 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9882 * glyphs.c (process_image_string_instantiator): use
9884 (get_image_instantiator_governing_domain): ditto.
9885 (normalize_image_instantiator): ditto.
9886 (instantiate_image_instantiator): ditto.
9887 (make_image_instance_1): ditto.
9888 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9889 (instantiator_eq_equal): new function for use with instance hash
9891 (instantiator_eq_hash): ditto.
9892 (make_image_instance_cache_hash_table): create a suitable hash
9893 table for storing image instances.
9895 * elhash.h (hash_table_weakness): new internal weakness type
9896 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9897 declare new functions.
9899 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9900 another weakness type for glyphs.
9901 (make_standard_lisp_hash_table): new function split out from
9902 make_general_lisp_hash_table.
9903 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9904 (hash_table_instantiate): ditto.
9905 (Fmake_hash_table): ditto.
9907 2000-12-31 Martin Buchholz <martin@xemacs.org>
9909 * XEmacs 21.2.39 is released.
9911 2000-12-29 Andy Piper <andy@xemacs.org>
9913 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9915 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9916 the frame has changed so that we pick up geometry changes such as
9919 2000-12-28 Andy Piper <andy@xemacs.org>
9921 * lastfile.c (my_ebss): make a char array so we can pad the
9922 bss. Fixes cygwin unexec.
9924 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9926 2000-12-26 Andy Piper <andy@xemacs.org>
9928 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9929 comments and try and be more precise about a non-/SIGIO world.
9930 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9933 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9934 we don't normalize to zero width or height.
9936 2000-12-24 Andy Piper <andy@xemacs.org>
9938 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9940 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9942 * s/sco5.h: SCO 5 has pty support.
9944 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9946 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9947 input-method-xlib.c contains whole contents of input-method-xfs.c,
9948 so we can use input-method-xlib.c's code for USE_XFONTSET
9950 * input-method-xfs.c: removed.
9952 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9954 * file-coding.h (enum coding_category_type): reorder enumerators to
9955 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9956 (now one greater than largest real coding_category_type enumerator).
9957 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9958 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9959 Fcoding_category_list, Fset_coding_priority_list,
9960 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9961 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9963 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9965 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9966 * redisplay-output.c (redisplay_output_window): Clear top of window
9967 when face is changed.
9968 * redisplay-x.c (x_redraw_exposed_window): Call
9969 redisplay_clear_top_of_window.
9970 * redisplay.h: Publish redisplay_clear_top_of_window.
9972 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9974 * buffer.c (Fkill_buffer): Map over all devices.
9975 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9976 (list_windows): New function.
9977 (list_all_windows): Ditto.
9978 (Freplace_buffer_in_windows): Use them.
9980 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9982 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9983 (Fopen_database): Use `db_create' instead of `db_open'.
9984 (syms_of_database): Initialize Qqueue.
9986 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9988 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9989 buffer_local_face_property.
9990 * buffer.h (struct buffer): New member buffer_local_face_property.
9991 * window.c (Fset_window_buffer): Mark window's face as changed
9992 when buffer has buffer local face.
9993 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9994 * objects.c (color_after_change): Set buffer_local_face_property
9995 when locale of face specifier is buffer.
9996 * objects.c (font_after_change): Ditto.
9997 * objects.c (face_boolean_after_change): Ditto.
9998 * glyphs.c (image_after_change): Ditto.
10000 2000-12-09 Dan Holmsand <dan@eyebee.com>
10002 * nt.c (mswindows_fstat): Report file permissions, volume serial
10003 number, etc. Code adapted from FSF Emacs 20.7.
10005 2000-12-09 Dan Holmsand <dan@eyebee.com>
10007 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
10008 of stat when we don't have symbolic links, to make sure
10009 mswindows_stat is called on mswindows.
10011 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
10013 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
10015 2000-12-12 Martin Buchholz <martin@xemacs.org>
10017 * doprnt.c (emacs_doprnt_1): More printing fixes.
10018 Make printing of numbers compatible with libc and FSF Emacs.
10019 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
10020 Use the system printf to do most of the hard work of formatting,
10021 instead of doprnt_1().
10022 Calculate memory to allocate for format string.
10023 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
10024 (doprnt_1): Cleaner code and documentation.
10026 2000-12-01 Jerry James <james@eecs.ukans.edu>
10028 * Makefile.in.in: Use the loop variable to install headers.
10030 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10032 * window.c (Fsplit_window): Don't invalidate face cache.
10034 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10036 * minibuf.c (Fall_completions): Undo the previous change
10037 which removed checking elements start with space.
10039 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10041 * mule-canna.c: Didier suppression.
10043 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
10045 * mule-canna.c: rename static unsigned char buf[] to key_buffer
10046 (warning suppression). Add English comment translations.
10048 2000-12-05 Martin Buchholz <martin@xemacs.org>
10050 * unexelfsgi.c (unexec): Better test for mmap failure.
10052 2000-12-05 Martin Buchholz <martin@xemacs.org>
10054 * XEmacs 21.2.38 is released.
10056 2000-12-05 Martin Buchholz <martin@xemacs.org>
10058 * redisplay.c (bar-cursor): Make a user variable.
10060 * symsinit.h: Add init_postgresql_from_environment.
10062 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
10064 * regex.c: Convert to clean C.
10066 2000-12-05 Dan Holmsand <dan@eyebee.com>
10069 Don't #include sysfile.h. Revert to duplicating PATH_MAX
10071 (sys_readlink): renamed to system_readlink to avoid conflict with
10072 the other sys_readlink.
10074 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
10076 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
10078 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
10080 * postgresql.c (init_postgresql_from_environment): new function.
10081 (vars_of_postgresql): Move code initializing Lisp variables out and
10082 into init_postgresql_from_environment.
10083 emacs.c (main_1): Call init_postgresql_from_environment if and only
10084 if running a dumped XEmacs.
10086 2000-08-31 Dan Holmsand <dan@eyebee.com>
10088 * buffer.c: Make find-file-compare-truenames default to true on
10091 * realpath.c (win32_abs_start):
10093 (win32_readlink): New functions.
10094 (xrealpath): Return really real filenames on windows.
10096 * fileio.c (Ffile_truename): Make file-truename work on windows.
10098 2000-11-29 Didier Verna <didier@xemacs.org>
10100 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10101 * faces.c (update_face_cachel_data): use it.
10102 * faces.c (add_face_cachel): use it. Complete background pixmap
10103 frobbing in face cache if `update_face_cachel_data' has not done so.
10105 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10107 * search.c (string_match_1): Don't set last_thing_searched
10108 when search failed.
10110 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10112 * buffer.c: Include casetab.h
10113 (common_init_complex_vars_of_buffer): Use new case-table object.
10114 * buffer.h: Include casetab.h
10115 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10116 (DOWNCASE_TABLE_OF): Ditto.
10117 * bufslots.h: Remove char-tables and add case-table.
10118 * casetab.c: Include casetab.h
10119 (CASE_TABLE_P): Removed.
10120 (mark_case_table): New function.
10121 (allocate_case_table): New function.
10122 (Fcase_table_p): Use new case-table.
10123 (case_table_char): New function.
10124 (Fget_case_table): Ditto.
10125 (Fput_case_table): Ditto.
10126 (Fput_case_table_pair): Ditto.
10127 (Fcopy_case_table): Ditto.
10128 (Fcurrent_case_table): Return case-table.
10129 (Fstandard_case_table): Return case-table.
10130 (Fset_case_table): Fix doc-string.
10131 (set_case_table): Use case-table
10132 (syms_of_casetab): DEFSUBR new functions.
10133 (complex_vars_of_casetab): Set up standard case-table.
10134 * casetab.h: New file.
10135 * editfns.c: Include casetab.h
10136 (Fcompare_buffer_substrings): Use case-table.
10137 * inline.c: Include casetab.h
10138 * lisp.h: Remove bogus extern.
10139 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10140 * search.c: Include casetab.h
10141 (TRANSLATE_ASCII): Removed.
10142 (TRANSLATE): Unconditionally translate character.
10143 (looking_at_1): Use case-table.
10144 (string_match_1): Ditto.
10145 (fast_string_match): Ditto.
10146 (search_command): Ditto.
10147 (search_buffer): Separate boyer_moore. Check whether
10148 boyer_moore is possible.
10149 (simple_search): New function.
10150 (boyer_moore): Separated from search_buffer. Translate char.
10152 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10154 * regex.c (RE_TR_ASCII): Removed.
10155 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10156 (PATFETCH): Call PATFETCH_RAW.
10157 (PATFETCH_RAW): Fetch Emchar.
10158 (PATUNFETCH): Decrement charptr.
10159 (GET_BUFFER_SPACE): Rename b to buf_end.
10161 (BUF_PUSH_2): Ditto.
10162 (BUF_PUSH_3): Ditto.
10163 (EXTEND_BUFFER): Ditto.
10164 (SET_LIST_BIT): Ditto.
10165 (regex_compile): Ditto. Translate non ASCII char.
10166 (compile_range): Ditto.
10167 (re_search_2): Ditto.
10168 (re_match_2_internal): Compare Emchar.
10169 (bcmp_translate): Ditto.
10171 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10173 * lisp.h (basic char/int typedefs): comment improvement.
10175 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10177 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10178 unstomp inhibit_site_lisp. Improve comments.
10180 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10182 * mule-charset.c (Fcharset_property): improve type checking, comments.
10184 2000-11-28 Andy Piper <andy@xemacs.org>
10186 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10187 clipped display for windows in the gutter also.
10188 (redisplay_display_boxes_in_window_p): change semantics of return
10189 codes to be more intuitive.
10191 * gutter.h: declare display_boxes_in_gutter_p.
10193 * gutter.c (display_boxes_in_gutter_p): new function for
10196 2000-11-22 Andy Piper <andy@xemacs.org>
10198 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10201 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10203 * callproc.c (Fold_call_process_internal):
10204 * gpm.c (Freceive_gpm_event):
10205 (tty_get_foreign_selection): Might be just warning supression.
10206 * fileio.c (Fwrite_region_internal):
10207 (Fset_visited_file_modtime):
10208 * keymap.c (event_matches_key_specifier_p):
10209 Initialize GCPROed variable.
10211 * menubar-x.c (command_builder_find_menu_accelerator):
10212 Initialize before use.
10214 2000-11-23 Andy Piper <andy@xemacs.org>
10216 * unexcw.c (unexec): make the resulting executable executable.
10218 2000-11-21 Martin Buchholz <martin@xemacs.org>
10220 * doc.c (get_doc_string):
10221 Use size_t, not int, for result of XSTRING_LENGTH.
10223 * cmds.c (Fdelete_char):
10224 * cmds.c (Fpoint_at_eol):
10225 * cmds.c (Fself_insert_command):
10226 Use EMACS_INT, not int, for result of XINT.
10227 Someday, someone will want to insert more than 2**31 identical characters.
10229 * cmds.c (Fdelete_char):
10230 * cmds.c (Fdelete_backward_char):
10231 * syntax.c (Fforward_word):
10232 * syntax.c (Fforward_comment):
10233 Make COUNT argument optional, for consistency with forward-char et al.
10235 2000-11-22 Martin Buchholz <martin@xemacs.org>
10238 * print.c (long_to_string):
10239 Return a useful value: the pointer at end of data written.
10242 Use `static const char * const' for constant strings.
10243 (union printf_arg): Delete `i', `ui' members.
10246 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10247 Do all printf-ing via the `l' specifier.
10248 Use EMACS_INT instead of int.
10251 2000-11-20 Didier Verna <didier@xemacs.org>
10253 * faces.c (update_face_cachel_data): don't frob the background
10254 pixmap when the window is being created. The face is needed but
10255 does not exist yet.
10257 2000-11-20 Andy Piper <andy@xemacs.org>
10259 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10260 messing with a debug environment.
10262 2000-11-20 Martin Buchholz <martin@xemacs.org>
10264 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10266 2000-11-20 Martin Buchholz <martin@xemacs.org>
10268 * casetab.c (Fcase_table_p): Fix compile error and crash.
10270 2000-11-18 Philip Aston <philipa@mail.com>
10272 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10274 2000-11-18 Martin Buchholz <martin@xemacs.org>
10276 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10277 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10279 2000-11-17 Martin Buchholz <martin@xemacs.org>
10281 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10282 * unexelf.c: Use HAVE_ELF_H.
10283 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10284 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10285 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10286 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10288 So this is an unexelfsgi.c from a different line of development.
10290 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10292 * regex.c (RE_TR_ASCII): New function.
10293 (RE_TRANSLATE): Call it.
10295 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10297 * buffer.h (TRT_TABLE_OF): Remove assert.
10298 (IN_TRT_TABLE_DOMAIN): Removed.
10300 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10302 * free-hook.c (log_gcpro):
10303 (show_gcprohist): Add support for GCPRO5.
10305 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10307 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10309 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10311 * symeval.h: Declare flush_all_buffer_local_cache.
10313 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10314 (flush_buffer_local_cache): Added.
10315 (flush_all_buffer_local_cache): Added.
10317 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10319 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10320 (pdump_dump_data): Ditto.
10321 (pdump_reloc_one): Ditto.
10322 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10326 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10328 * buffer.c: Remove if 0'ed entry.
10329 * buffer.h: Rewrite TRT to use char-table.
10330 * bufslots.h: Remove mirror tables.
10331 * casetab.c: Remove mirror tables.
10332 (CASE_TABLE_P): New macro.
10333 (Fcase_table_p): Element of a case table is string or char-table.
10334 (make_mirror_trt_table): Removed.
10335 (set_case_table): Setup char-table from strings for backward
10337 * dired.c (Fdirectory_files):
10338 * dired-msw.c: (mswindows_get_files):
10339 * lisp.h: Change prototype of re_pattern_buffer.
10340 * regex.c: (RE_TRANSLATE): New macro.
10341 (TRANSLATE_P): Ditto.
10342 Change translate to type RE_TRANSLATE_TYPE.
10343 * regex.h: Define RE_TRANSLATE_TYPE
10344 * search.c (TRANSLATE): New macro.
10345 (TRANSLATE_ASCII): New macro.
10346 Translate table is changed to Lisp_Object.
10347 (signal_failure): Inhibit return.
10349 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10356 Do UNGCPRO before return.
10358 2000-11-14 Martin Buchholz <martin@xemacs.org>
10360 * XEmacs 21.2.37 is released.
10362 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10364 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10365 Add comments about discarded return value.
10367 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10370 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10372 2000-10-27 Andy Piper <andy@xemacs.org>
10374 * gutter.c (Fset_default_gutter_position): default left and right
10375 gutters to visible.
10376 (calculate_gutter_size): calculate resonable heuristic for left
10377 and right gutter sizes.
10378 (specifier_vars_of_gutter): change left and right gutter sizes to
10380 (calculate_gutter_size_from_display_lines): new function.
10381 (output_gutter): check for resizing on left and right gutters.
10382 (clear_gutter): don't special case top and left gutters.
10383 (specifier_vars_of_gutter): use new signature for
10384 set_specifier_caching.
10386 * glyphs-x.c (x_redisplay_widget): spelling fix.
10387 * glyphs.c (specifier_vars_of_glyphs):
10388 * menubar.c (specifier_vars_of_menubar):
10389 * redisplay.c (specifier_vars_of_redisplay):
10390 * toolbar.c (specifier_vars_of_toolbar):
10391 * window.c (specifier_vars_of_window):
10392 * scrollbar.c (specifier_vars_of_scrollbar):
10393 (complex_vars_of_scrollbar): use new signature for
10394 set_specifier_caching.
10396 * specifier.c (set_specifier_caching): include recompute flag.
10397 (recompute_one_cached_specifier_in_window): always recompute if
10399 (recompute_one_cached_specifier_in_frame): ditto.
10401 * specifier.h (struct specifier_caching): add recompute flag.
10403 2000-10-24 Andy Piper <andy@xemacs.org>
10405 * unexcw.c (copy_executable_and_dump_data_section): add new
10406 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10409 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10411 * console-x.h (x_device): New member modifier_release_time.
10412 * event-Xt.c (x_handle_sticky_modifiers):
10413 Bound interval modifier keys are sticky.
10414 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10415 * events.h: extern it.
10417 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10419 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10421 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10423 * event-stream.c (execute_command_event): Preserve current_events
10424 and the like when event is misc-user-event.
10425 Inhibit quit during the call to maybe_echo_keys.
10427 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10429 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10430 symlink when buffer is killed.
10431 (inhibit_clash_detection): New variable.
10433 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10435 * console.c (Fset_input_method): Trigger redisplay on tty.
10437 2000-11-07 Martin Buchholz <martin@xemacs.org>
10439 * process.c (Fprocess_status): Revert to previous behavior:
10440 (process-status "nosuchprocess") ==> nil
10442 2000-11-06 Martin Buchholz <martin@xemacs.org>
10444 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10445 Work around another GCC 2.95.2 optimizer bug.
10447 2000-11-02 Martin Buchholz <martin@xemacs.org>
10449 * process.c (Fget_process): Use LIST_LOOP_2.
10450 (kill_buffer_processes): Use LIST_LOOP_2.
10452 * minibuf.c (Fall_completions):
10453 Delete old non-functional code for FSF fourth argument.
10455 * frame.c (frame_matches_frame_spec):
10456 Renamed from `frame_matches_frametype'. Update all callers.
10457 (device_matches_device_spec):
10458 Renamed from 'device_matches_console_spec'. Update all callers.
10460 * doc.c (Fsubstitute_command_keys):
10461 Remove buffer overflow crash. Small code cleanups.
10463 * casetab.c (check_case_table): Simpler code.
10465 * window.c (Freplace_buffer_in_windows):
10466 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10467 (and similar implementation) as Fdelete_windows_on.
10468 Update all callers.
10470 * alloc.c (Fmake_list):
10471 * alloc.c (make_vector):
10472 * alloc.c (Fmake_vector):
10473 * alloc.c (make_bit_vector):
10474 * alloc.c (Fmake_bit_vector):
10475 * alloc.c (Fbit_vector):
10476 * alloc.c (Fmake_string):
10477 * alloc.c (Fpurecopy):
10478 * alloc.c (Fmemory_limit):
10480 * buffer.c (Fget_buffer):
10481 * buffer.c (Fkill_buffer):
10482 * buffer.c (complex_vars_of_buffer):
10483 * bytecode.c (Fcompiled_function_stack_depth):
10484 * callint.c (Fprefix_numeric_value):
10486 * event-stream.c (Fread_key_sequence):
10488 * casetab.c (Fcase_table_p):
10489 * casetab.c (check_case_table):
10490 * casetab.c (Fset_case_table):
10491 * casetab.c (Fset_standard_case_table):
10493 * chartab.c (Fchar_table_type):
10494 * chartab.c (Freset_char_table):
10495 * chartab.c (Fget_char_table):
10496 * chartab.c (Fget_range_char_table):
10497 * chartab.c (Fput_char_table):
10498 * chartab.c (Fmap_char_table):
10499 * chartab.c (Fcategory_table_p):
10500 * chartab.c (Fcheck_category_at):
10501 * chartab.c (Fchar_in_category_p):
10502 * chartab.c (Fcategory_table):
10503 * chartab.c (Fcopy_category_table):
10504 * chartab.c (Fset_category_table):
10505 * chartab.c (Fcategory_designator_p):
10506 * chartab.c (Fcategory_table_value_p):
10507 * cmds.c (Fdelete_char):
10508 * cmds.c (Fdelete_backward_char):
10509 * cmds.c (Fself_insert_command):
10510 * cmds.c (Fself_insert_internal):
10511 * console.c (Fvalid_console_type_p):
10512 * console.c (Fcdfw_console):
10513 * console.c (Fconsole_type):
10514 * console.c (Fconsole_name):
10515 * console.c (Fconsole_device_list):
10516 * console.c (Fconsole_on_window_system_p):
10519 * data.c (Fold_eq):
10520 * data.c (Fsubr_interactive):
10521 * data.c (Fchar_to_int):
10522 * data.c (Fint_to_char):
10523 * data.c (Fsetcar):
10524 * data.c (Fsetcdr):
10525 * data.c (Fnumber_to_string):
10526 * data.c (Fstring_to_number):
10528 * database.c (mark_database):
10529 * database.c (finalize_database):
10530 * database.c (Fdatabase_live_p):
10531 * database.c (Fdatabasep):
10532 * device-x.c (Fx_get_resource):
10533 * device.c (Fdfw_device):
10535 * dired.c (Ffile_name_completion):
10536 * dired.c (Ffile_name_all_completions):
10537 * dired.c (Fuser_name_completion):
10538 * dired.c (Fuser_name_completion_1):
10539 * dired.c (Fuser_name_all_completions):
10540 * doc.c (Fdocumentation):
10541 * doc.c (Fdocumentation_property):
10542 * doc.c (Fsubstitute_command_keys):
10544 * editfns.c (Fchar_to_string):
10545 * editfns.c (Fstring_to_char):
10546 * editfns.c (Ftemp_directory):
10547 * editfns.c (Finsert_char):
10548 * editfns.c (Fbuffer_substring_no_properties):
10549 * editfns.c (Fnarrow_to_region):
10550 * editfns.c (Fchar_equal):
10551 * editfns.c (Fchar_Equal):
10552 * editfns.c (Ftranspose_regions):
10553 * emacs.c (Fdump_emacs):
10555 * eval.c (Fcommand_execute):
10556 * eval.c (Fautoload):
10557 * eval.c (Fbacktrace):
10558 * eval.c (Fbacktrace_frame):
10560 * events.c (Fcopy_event):
10561 * events.c (Fcharacter_to_event):
10562 * events.c (Fevent_button):
10563 * events.c (Fevent_process):
10565 * extents.c (Fnext_extent_change):
10566 * extents.c (Fextent_property):
10567 * faces.c (Ffacep):
10568 * faces.c (Fmake_face):
10570 * file-coding.c (Fencode_shift_jis_char):
10571 * file-coding.c (Fencode_big5_char):
10572 * fileio.c (Ffile_name_directory):
10573 * fileio.c (Ffile_name_nondirectory):
10574 * fileio.c (Ffile_name_as_directory):
10575 * fileio.c (Fdirectory_file_name):
10576 * fileio.c (Ffile_truename):
10577 * fileio.c (Fsubstitute_in_file_name):
10578 * fileio.c (Ffile_modes):
10579 * fileio.c (Fset_file_modes):
10580 * fileio.c (Fset_default_file_modes):
10581 * fileio.c (Fverify_visited_file_modtime):
10582 * floatfns.c (Facos):
10583 * floatfns.c (Fasin):
10584 * floatfns.c (Fatan):
10585 * floatfns.c (Fcos):
10586 * floatfns.c (Fsin):
10587 * floatfns.c (Ftan):
10588 * floatfns.c (Fbessel_j0):
10589 * floatfns.c (Fbessel_j1):
10590 * floatfns.c (Fbessel_jn):
10591 * floatfns.c (Fbessel_y0):
10592 * floatfns.c (Fbessel_y1):
10593 * floatfns.c (Fbessel_yn):
10594 * floatfns.c (Ferf):
10595 * floatfns.c (Ferfc):
10596 * floatfns.c (Flog_gamma):
10597 * floatfns.c (Fexp):
10598 * floatfns.c (Fexpt):
10599 * floatfns.c (Flog):
10600 * floatfns.c (Flog10):
10601 * floatfns.c (Fsqrt):
10602 * floatfns.c (Fcube_root):
10603 * floatfns.c (Facosh):
10604 * floatfns.c (Fasinh):
10605 * floatfns.c (Fatanh):
10606 * floatfns.c (Fcosh):
10607 * floatfns.c (Fsinh):
10608 * floatfns.c (Ftanh):
10609 * floatfns.c (Fabs):
10610 * floatfns.c (Ffloat):
10611 * floatfns.c (Flogb):
10612 * floatfns.c (Fceiling):
10613 * floatfns.c (Ffloor):
10614 * floatfns.c (Fround):
10615 * floatfns.c (Ftruncate):
10616 * floatfns.c (Ffceiling):
10617 * floatfns.c (Fffloor):
10618 * floatfns.c (Ffround):
10619 * floatfns.c (Fftruncate):
10620 * fns.c (Fstring_equal):
10621 * fns.c (Fstring_lessp):
10624 * fns.c (vconcat2):
10625 * fns.c (vconcat3):
10626 * fns.c (Fsubstring):
10628 * fns.c (Fold_assoc):
10629 * fns.c (assoc_no_quit):
10631 * fns.c (Fold_assq):
10632 * fns.c (assq_no_quit):
10634 * fns.c (Fold_rassoc):
10636 * fns.c (Fold_rassq):
10637 * fns.c (rassq_no_quit):
10638 * fns.c (Fremassoc):
10639 * fns.c (remassoc_no_quit):
10640 * fns.c (Fremassq):
10641 * fns.c (remassq_no_quit):
10642 * fns.c (Fremrassoc):
10643 * fns.c (Fremrassq):
10644 * fns.c (remrassq_no_quit):
10646 * fns.c (Fplist_get):
10647 * fns.c (Fplist_put):
10648 * fns.c (Fplist_remprop):
10649 * fns.c (Fplist_member):
10650 * fns.c (Flax_plist_get):
10651 * fns.c (Flax_plist_put):
10652 * fns.c (Flax_plist_remprop):
10653 * fns.c (Flax_plist_member):
10655 * fns.c (Fold_equal):
10656 * fns.c (Frequire):
10657 * fns.c (Fbase64_encode_region):
10658 * fns.c (Fbase64_encode_string):
10659 * fns.c (Fbase64_decode_region):
10661 * frame.c (frame_matches_frame_spec):
10662 * frame.c (device_matches_device_spec):
10663 * frame.c (next_frame):
10664 * frame.c (previous_frame):
10665 * frame.c (Fnext_frame):
10666 * frame.c (Fprevious_frame):
10667 * frame.c (Fframe_property):
10668 * frame.c (Fset_frame_height):
10669 * frame.c (Fset_frame_size):
10673 * glyphs.c (decode_error_behavior_flag):
10674 * glyphs.c (Fmake_image_instance):
10675 * indent.c (Findent_to):
10676 * intl.c (Fignore_defer_gettext):
10677 * keymap.c (Fkeymapp):
10678 * keymap.c (Flookup_key):
10680 * lread.c (Fload_internal):
10681 * lread.c (Feval_buffer):
10682 * lread.c (Feval_region):
10683 * macros.c (Fexecute_kbd_macro):
10684 * marker.c (set_marker_internal):
10685 * marker.c (Fset_marker):
10686 * marker.c (set_marker_restricted):
10687 * marker.c (Fcopy_marker):
10688 * marker.c (noseeum_copy_marker):
10690 * menubar.c (Fpopup_menu):
10692 * mule-charset.c (Fcharset_name):
10693 * mule-charset.c (Fchar_charset):
10694 * mule-charset.c (Fchar_octet):
10695 * mule-charset.c (Fsplit_char):
10696 * mule-wnnfns.c (Fwnn_open):
10697 * mule-wnnfns.c (Fwnn_dict_comment):
10698 * mule-wnnfns.c (Fwnn_quit_henkan):
10699 * mule-wnnfns.c (Fwnn_word_toroku):
10700 * mule-wnnfns.c (Fwnn_word_sakujo):
10701 * mule-wnnfns.c (Fwnn_word_use):
10702 * mule-wnnfns.c (Fwnn_hindo_set):
10704 * objects.c (Fmake_color_instance):
10705 * objects.c (Fmake_font_instance):
10706 * print.c (Fwrite_char):
10708 * process.c (mark_process):
10709 * process.c (print_process):
10710 * process.c (get_process_from_usid):
10711 * process.c (Fprocessp):
10712 * process.c (Fprocess_live_p):
10713 * process.c (Fget_process):
10714 * process.c (Fget_buffer_process):
10715 * process.c (get_process):
10716 * process.c (Fprocess_id):
10717 * process.c (Fprocess_name):
10718 * process.c (Fprocess_command):
10719 * process.c (init_process_io_handles):
10720 * process.c (start_process_unwind):
10721 * process.c (Fstart_process_internal):
10722 * process.c (Fopen_multicast_group_internal):
10723 * process.c (Fset_process_window_size):
10724 * process.c (read_process_output):
10725 * process.c (send_process):
10726 * process.c (Fprocess_tty_name):
10727 * process.c (Fset_process_buffer):
10728 * process.c (Fprocess_buffer):
10729 * process.c (Fprocess_mark):
10730 * process.c (set_process_filter):
10731 * process.c (Fset_process_filter):
10732 * process.c (Fprocess_filter):
10733 * process.c (Fprocess_send_region):
10734 * process.c (Fprocess_send_string):
10735 * process.c (exec_sentinel):
10736 * process.c (Fset_process_sentinel):
10737 * process.c (Fprocess_sentinel):
10738 * process.c (status_notify):
10739 * process.c (Fprocess_status):
10740 * process.c (Fprocess_exit_status):
10741 * process.c (process_send_signal):
10742 * process.c (Fprocess_send_eof):
10743 * process.c (deactivate_process):
10744 * process.c (remove_process):
10745 * process.c (Fdelete_process):
10746 * process.c (kill_buffer_processes):
10747 * process.c (Fprocess_kill_without_query):
10748 * process.c (Fprocess_kill_without_query_p):
10750 * rangetab.c (Fget_range_table):
10751 * rangetab.c (Fput_range_table):
10752 * rangetab.c (Fremove_range_table):
10753 * rangetab.c (Fclear_range_table):
10755 * search.c (Fskip_chars_forward):
10756 * search.c (Fskip_chars_backward):
10757 * search.c (Fskip_syntax_forward):
10758 * search.c (Fskip_syntax_backward):
10759 * search.c (search_command):
10760 * search.c (Freplace_match):
10761 * search.c (Fregexp_quote):
10762 * select.c (Fown_selection_internal):
10763 * select.c (Fselection_owner_p):
10764 * select.c (Fselection_exists_p):
10765 * select.c (Fget_selection_internal):
10768 * symbols.c (Fintern):
10769 * symbols.c (Fintern_soft):
10770 * symbols.c (Funintern):
10771 * symbols.c (Fapropos_internal):
10772 * symbols.c (Fset_default):
10774 * syntax.c (Fsyntax_table_p):
10775 * syntax.c (Fcopy_syntax_table):
10776 * syntax.c (Fset_syntax_table):
10777 * syntax.c (Fchar_syntax):
10778 * syntax.c (syntax_match):
10779 * syntax.c (Fmatching_paren):
10780 * syntax.c (Fforward_word):
10781 * syntax.c (scan_lists):
10782 * syntax.c (Fscan_lists):
10783 * syntax.c (Fscan_sexps):
10784 * syntax.c (Fparse_partial_sexp):
10785 * toolbar.c (Fcheck_toolbar_button_syntax):
10788 * window.c (Fwindowp):
10789 * window.c (Fwindow_live_p):
10790 * window.c (Fwindow_point):
10791 * window.c (Fdelete_window):
10792 * window.c (Fnext_window):
10793 * window.c (Fprevious_window):
10794 * window.c (Fother_window):
10795 * window.c (window_loop):
10796 * window.c (Fget_lru_window):
10797 * window.c (Fsplit_window):
10798 * window.c (Fenlarge_window):
10799 * window.c (Fenlarge_window_pixels):
10800 * window.c (Fshrink_window):
10801 * window.c (Fshrink_window_pixels):
10802 * window.c (change_window_height):
10803 * window.c (Fwindow_configuration_p):
10804 * window.c (Fcurrent_window_configuration):
10806 * casefiddle.c (casify_object):
10807 * casefiddle.c (Fupcase):
10808 * casefiddle.c (Fdowncase):
10809 * casefiddle.c (Fcapitalize):
10810 * casefiddle.c (Fupcase_initials):
10811 * casefiddle.c (casify_region_internal):
10812 * casefiddle.c (casify_region):
10813 * casefiddle.c (Fupcase_region):
10814 * casefiddle.c (Fdowncase_region):
10815 * casefiddle.c (Fcapitalize_region):
10816 * casefiddle.c (Fupcase_initials_region):
10817 * casefiddle.c (Fupcase_word):
10818 * casefiddle.c (Fdowncase_word):
10819 * casefiddle.c (Fcapitalize_word):
10820 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10821 Replace 0 with '\0' when working with bytes.
10822 Replace initial "(" with "\(" in docstrings.
10824 2000-11-01 Martin Buchholz <martin@xemacs.org>
10826 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10828 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10830 2000-10-31 Martin Buchholz <martin@xemacs.org>
10832 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10834 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10836 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10839 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10841 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10842 (inhibit_auto_save_session): New variable.
10843 (vars_of_fileio): Declare and initialize them.
10844 * fileio.c (Fdo_auto_save): Don't create session file if
10845 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10847 2000-10-31 Martin Buchholz <martin@xemacs.org>
10849 * sgiplay.c (play_internal): C++ compilability.
10850 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10851 * callproc.c (Fold_call_process_internal):
10852 Remove unused vars `env', `first'.
10853 * scrollbar.c (update_scrollbar_instance):
10854 #### unused var `current_window'.
10855 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10856 etc. within #ifdef NOT_YET.
10857 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10858 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10859 * specifier.c (specifier_instance):
10860 #### unused var `tag'.
10861 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10863 2000-10-27 Martin Buchholz <martin@xemacs.org>
10865 * fns.c (Fbutlast):
10866 * fns.c (list_sort):
10867 * fns.c (Ffillarray):
10868 * fns.c (bytecode_nconc2):
10871 * fns.c (Fmapconcat):
10872 Be pedantically 64-bit correct. For the time when someone will
10873 want to have a list with length > 2**32.
10875 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10876 Work around MIPSpro compiler bug.
10878 * process-unix.c (unix_kill_child_process): Add snarky comment.
10879 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10881 * config.h.in: Oops, _getpt ==> _getpty
10883 2000-10-26 Martin Buchholz <martin@xemacs.org>
10887 Use void*, not char*, as return type of alloca().
10889 * alloc.c (free_marker): Side effect inside assert expression!
10891 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10893 * mule-charset.c (Fset_charset_ccl_program): To check
10894 if the given ccl program is valid, use setup_ccl_program()
10895 instead of CHECK_VECTOR().
10896 (Fmake_charset): Likewise.
10898 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10900 * faces.c (get_extent_fragment_face_cache_index):
10901 Fix cachel.merged_faces memory leak.
10903 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10905 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10906 Reset MSB of octets obtained by DECODE_SJIS
10907 because of the incompatibility with Emacs.
10908 (ccl_driver)<CCL_ENCODE_SJIS>:
10909 Set MSB of octets before passing them to
10910 ENCODE_SJIS because of the incompatibility
10913 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10915 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10916 (DECLARE_LRECORD): Undo the last change.
10917 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10919 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10921 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10922 the implementation to lrecord_implementations_table.
10924 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10926 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10927 initial value of `lrecord_type_##c_name' and
10928 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10929 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10930 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10931 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10932 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10934 2000-10-17 Martin Buchholz <martin@xemacs.org>
10936 * miscplay.c (sndcnv8S_2mono):
10937 (sndcnv2monounsigned):
10938 (sndcnvULaw_2linear):
10940 Remove implementation-defined behavior.
10942 2000-10-12 Martin Buchholz <martin@xemacs.org>
10944 * input-method-xlib.c: Warning suppression.
10946 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10948 * mule-ccl.c: Sync up with Emacs 21.0.90.
10949 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10951 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10953 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10954 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10955 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10956 leading char belongs to official 2-dimensional charset.
10957 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10958 write the given character as is. Otherwise,
10959 if it is a multibyte char, convert it by
10960 non_ascii_set_charptr_emchar, then write it.
10961 (CCL_WRITE_STRING): Likewise.
10962 (ccl_get_compiled_code): New function.
10963 (setup_ccl_program): When ccl_prog is invalid,
10965 (Fregister_code_conversion_map): New function.
10966 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10968 * mule-ccl.h: Sync up with Emacs 21.0.90.
10969 (Fregister_ccl_program): export it.
10971 * redisplay-msw.c (separate_textual_runs):
10972 If ccl program is not valid, don't do ccl conversion.
10974 * redisplay-x.c (separate_textual_runs): Ditto.
10976 * file-coding.c (Fmake_coding_system):
10977 When type is ccl and value is vector, register it
10978 with a proper symbol. And checks whether the
10979 given ccl program is valid.
10980 (mule_decode): When calling ccl_driver, if src indicates
10981 NULL pointer, set an empty string instead.
10982 (mule_encode): Likewise.
10984 2000-10-11 Martin Buchholz <martin@xemacs.org>
10986 The following large batch of changes gets us back to a state of
10987 C++ compilability. Extbyte is now a char, which means that
10988 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10990 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10992 * sound.c (Fplay_sound): Type correctness.
10994 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10995 (x_get_window_property): Type correctness.
10996 (receive_incremental_selection): unsigned char ==> Extbyte
10997 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10998 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10999 (Fx_store_cutbuffer_internal): Type correctness.
11001 * process-unix.c (try_to_initialize_subtty): Type correctness.
11003 * objects-x.c (x_print_color_instance): Type correctness.
11004 (x_print_font_instance): Type correctness.
11005 (x_list_fonts): SExtbyte ==> Extbyte.
11006 (valid_x_font_name_p): SExtbyte ==> Extbyte.
11007 (x_find_charset_font): SExtbyte ==> Extbyte.
11008 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
11009 (truename_via_XListFonts): SExtbyte ==> Extbyte.
11010 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
11011 Use bufbyte_strcmp.
11013 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
11014 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
11015 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
11016 (BYTE_C0_P): Use bit ops for char-signedness safety.
11017 (BYTE_C1_P): Use bit ops for char-signedness safety.
11018 (CHARSET_BY_LEADING_BYTE):
11019 (CHARSET_BY_ATTRIBUTES):
11020 Always use inline function.
11021 Use type_checking_assert.
11024 * mule-charset.c (non_ascii_charptr_copy_char):
11025 Modify to work with both ASCII and non-ASCII characters.
11026 Improve docs and variable names.
11027 Replace over-clever fall-through switch with a simple loop.
11028 (Lstream_get_emchar_1):
11029 Replace over-clever fall-through switch with a simple loop.
11031 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11032 Warning suppression.
11034 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
11035 the return value of Lstream_getc, which could be EOF as well.
11037 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
11039 * lisp.h: Make Extbyte a char, not unsigned char, so that external
11040 APIs can be used on Extbytes without casts. Risky!
11041 (SExtbyte): Remove.
11042 (UExtbyte): Remove.
11044 * input-method-xlib.c (XIM_init_device):
11045 Use Xlib.h instead of IntrinsicP.h.
11046 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
11047 which will break in X11R7.
11048 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
11049 to call XRegisterIMInstantiateCallback with correct types.
11051 * gui-x.c (button_item_to_widget_value): Type correctness.
11053 * glyphs.c (bitmap_to_lisp_data): Type correctness.
11055 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
11056 (xbm_instantiate_1): Type correctness.
11057 (BUILD_GLYPH_INST): Type correctness.
11059 * fileio.c (Fsubstitute_in_file_name): Type correctness.
11062 (decode_coding_sjis):
11063 (decode_coding_big5):
11064 (decode_coding_ucs4):
11065 (decode_coding_utf8):
11066 (decode_coding_iso2022):
11067 (decode_coding_no_conversion):
11068 Make all decoding functions take an Extbyte * arg.
11069 (encode_coding_sjis):
11070 (encode_coding_big5):
11071 (encode_coding_ucs4):
11072 (encode_coding_utf8):
11073 (encode_coding_iso2022):
11074 (encode_coding_no_conversion):
11075 Make all encoding functions take a Bufbyte * arg.
11076 Use size_t instead of unsigned int for memory sizes.
11077 Only cast to unsigned char whenever dereferencing Extbyte *.
11079 * doc.c (unparesseuxify_doc_string): Type correctness.
11081 * console-x.c (split_up_display_spec):
11082 Rewrite without using details of internal string representation.
11083 (x_semi_canonicalize_device_connection): Type correctness.
11086 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11087 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11088 (HAVE_XFREE386): Removed.
11090 * buffer.h (DEC_CHARPTR): `const' correctness.
11091 (bufbyte_strcmp): New.
11092 (bufbyte_memcmp): New.
11094 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11096 * buffer.h (XCHAR_OR_CHAR_INT):
11097 Always use inline function.
11098 Remove redundant type checking assert() - XINT will abort quite nicely.
11100 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11102 * search.c (Freplace_match): Set newtext to an empty string.
11104 2000-10-10 Martin Buchholz <martin@xemacs.org>
11106 * s/decosf1-3.h: Remove #include of stropts.h
11107 * s/ptx.h: Remove #include of stropts.h
11108 * s/usg5-4.h: Remove #include of stropts.h
11111 Use stropts.h, not sys/stropts.h.
11112 Use strtio.h, not sys/strtio.h.
11114 2000-10-04 Martin Buchholz <martin@xemacs.org>
11116 * XEmacs 21.2.36 is released.
11118 2000-09-21 Andy Piper <andy@xemacs.org>
11120 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11121 changes still involve copying the widget tree.
11122 (update_widget_face): make sure a change is register in the widget
11123 tree. Call update_tab_widget_face appropriately.
11124 (update_tab_widget_face): ditto.
11125 (x_tab_control_redisplay): make sure non-structural changes still
11126 involve copying the widget tree.
11128 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11130 * lread.c (locate_file): Check the path element is non-nil.
11132 2000-10-02 Martin Buchholz <martin@xemacs.org>
11134 * lisp.h: Warning suppression for SCO compilers.
11136 * redisplay-tty.c (reset_tty_modes): Fix crash.
11137 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11139 2000-09-27 Martin Buchholz <martin@xemacs.org>
11141 Big signal/process handling overhaul. Bugs fixed:
11142 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11143 M-x comint-kill-subjob should work for both values nil and t of
11144 process-connection-type. It was broken on most platforms.
11145 Testing on Irix and Cygwin still needed. Other plaforms tested.
11146 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11147 * process-unix.c: Signal/Process handling overhaul.
11148 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11149 (allocate_pty): Use all available modern methods of allocating
11150 ptys, falling back to old style BSD allocation as a last resort.
11151 Use allegedly more secure Unix98 pty allocation by default.
11152 (allocate_pty_the_old_fashioned_way): New. the last resort.
11153 (unix_create_process): Push ptem, ldterm, ttcompat where
11154 available. Autoconfiscate.
11155 (try_to_initialize_subtty): New.
11156 (unix_kill_child_process): Proper signal handling for ptys on most
11157 platforms, using special knowledge of AIX, BSD, etc...
11158 (unix_create_process): Always disconnect_controlling_terminal() for
11159 subprocesses, whether using ptys or not.
11160 * process.h: Remove old getpt-dependent PTY code.
11161 * process.c (Fprocess_send_signal): New, obvious generic function.
11162 (decode_signal): New.
11163 (Finterrupt_process):
11167 (Fcontinue_process):
11168 (Fsignal_process): Use decode_signal.
11169 (process_send_signal):
11170 Many docstring corrections.
11171 Allow any signal to be sent to a process object.
11172 * config.h.in: Add symbols for big signal/process overhaul.
11173 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11174 * sysproc.h: Include process-related headers, where available:
11175 sys/stropts.h sys/strtio.h pty.h libutil.h
11183 Remove old S&M pty stuff.
11184 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11185 * systty.h: Simplify cpp hackery, improve comments.
11186 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11188 * editfns.c (Fformat_time_string):
11189 Be a little more paranoid with the return value of ctime.
11191 * fileio.c (check_executable):
11193 Use symbolic constants X_OK, W_OK.
11195 * console-x.c (split_up_display_spec): Fix a warning.
11197 2000-10-02 Martin Buchholz <martin@xemacs.org>
11199 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11200 * ntproc.c (sys_spawnve): make_string ==> build_string
11201 Small clarity improvements.
11203 2000-09-30 Martin Buchholz <martin@xemacs.org>
11205 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11207 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11209 * config.h.in (HAVE_STRCASECMP): Remove.
11211 2000-09-29 Martin Buchholz <martin@xemacs.org>
11213 * redisplay-output.c (redisplay_output_pixmap):
11214 Cleaner and possibly more 64-bit correct code.
11216 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11218 * dumper.c (pdump_load_finish): move restoration of
11219 `noninteractive1' to emacs.c (main_1).
11220 * emacs.c (main_1): protect LISP-visible command-line flags
11223 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11225 * Makefile.in.in (versionclean): Use EXE_TARGET and
11226 DUMP_TARGET instead of literal program names.
11228 2000-09-20 Martin Buchholz <martin@xemacs.org>
11230 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11232 2000-09-19 Martin Buchholz <martin@xemacs.org>
11234 * *: Spelling mega-patch
11236 2000-09-19 Martin Buchholz <martin@xemacs.org>
11238 * fns.c (bad_bad_turtle):
11239 Delete "Eek!" comment, since we fixed the bug to which it refers.
11241 2000-09-16 Martin Buchholz <martin@xemacs.org>
11243 * alloca.c: Replace REGISTER with register.
11245 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11247 * file-coding.c (ucs_to_char): Use countof.
11249 2000-09-16 Martin Buchholz <martin@xemacs.org>
11251 * file-coding.c: (ucs_to_char):
11252 (complex_vars_of_file_coding):
11253 Use countof instead of sizeof.
11254 Use CHECK_NATNUM instead of CHECK_INT.
11256 * sysdep.c (strcasecmp): Remove.
11257 * device-x.c (ascii_strcasecmp): New.
11258 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11259 Avoid using non-standard non-portable strcasecmp.
11261 2000-09-16 Martin Buchholz <martin@xemacs.org>
11263 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11264 * font-lock.c: remove reference to emacsfns.h.
11265 * search.c: small doc improvement.
11266 * event-Xt.c: correct file names in comments.
11267 * console-x.h Correct file names in comments.
11268 * frame.c: Correct file names in comments.
11269 * event-stream.c: remove Energize from comments.
11271 2000-09-15 Martin Buchholz <martin@xemacs.org>
11273 * symeval.h (DEFERROR_STANDARD):
11276 (DEFSYMBOL_NO_DUMP):
11277 (DEFSYMBOL_MULTIWORD_PREDICATE):
11278 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11280 The construct &##name is not sensible C.
11281 Fixes compilation errors with Unixware native compiler.
11283 2000-09-14 Martin Buchholz <martin@xemacs.org>
11285 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11286 (next_frame_internal): Removed. We now just have next_frame.
11288 Write a simpler and cleaner one-pass algorithm.
11289 Remove called_from_delete_device arg and #ifdefed-out code.
11291 Renamed from prev_frame. Update callers.
11292 Cleaned up to have an analogous implementation to next_frame.
11293 (other_visible_frames_internal): Remove the
11294 called_from_delete_device bogus arg, and hence, remove this
11295 function. Just use other_visible_frames().
11297 * window.c (Fnext_window):
11298 Prettify docstring.
11299 Since next_frame() is guaranteed to return a frame, remove check
11300 for nil inserted in previous patch.
11301 (Fprevious_window):
11302 Prettify docstring.
11303 Make code look more like Fnext_window.
11305 Respect the `console' arg when iterating through windows.
11306 Fixes bug: (get-buffer-window buffer t device) not respecting
11308 This function needs more work, as others have pointed out.
11310 * frame.h: Rename prev_frame to previous_frame.
11311 device_matches_console_spec no longer takes a `frame' arg.
11316 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11317 From "Golubev I. N." <gin@mo.msk.ru>.
11319 * make-src-depend: Fix typo.
11321 2000-09-13 Martin Buchholz <martin@xemacs.org>
11323 * window.c (Fnext_window):
11324 next_frame() might return nil, not a frame.
11326 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11328 * frame.c (next_frame_internal):
11329 We've passed a frame if we've passed its device.
11331 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11332 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11334 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11336 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11337 Allow option to suppress accelerators in menu/dialog items.
11338 (populate_or_checksum_helper): Pass dialog title through above.
11340 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11342 * event-msw.c (mswindows_key_to_emacs_keysym):
11343 Add "pause" key, fix "menu" key.
11345 2000-09-09 Martin Buchholz <martin@xemacs.org>
11347 * eval.c (reinit_vars_of_eval):
11348 Increase max_lisp_eval_depth to 1000,
11349 required for thai-xtis.el to byte-compile under some circumstances.
11351 2000-09-04 Martin Buchholz <martin@xemacs.org>
11353 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11354 From Kenichi Handa.
11356 2000-09-01 Martin Buchholz <martin@xemacs.org>
11358 * make-src-depend: Make the generated Makefiles smaller.
11360 * s/hpux.h (SETUP_SLAVE_PTY):
11361 Provide a %d in the format string for the errno argument.
11363 * editfns.c (Ftemp_directory):
11365 Avoid buffer overrun on very long file name.
11367 * input-method-xlib.c (XIM_init_device):
11368 6th parameter of XRegisterIMInstantiateCallback has different
11369 pointer types on different OSes, so simply cast to (void *).
11371 * unexhp9k800.c: Warning fixes. Fiddly changes.
11373 * sysdll.c (dll_open):
11374 shl_load will hang hard if passed a NULL filename.
11375 Simply return NULL for compatibility with dlopen.
11376 * sysdll.c: Conform to XEmacs coding standards.
11378 * sysdep.c (get_pty_max_bytes):
11379 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11381 2000-08-31 Martin Buchholz <martin@xemacs.org>
11383 * tooltalk.c: Add #include <syssignal.h>
11385 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11387 * s/hpux.h: Don't use undefined function sigunblock().
11389 2000-08-31 Martin Buchholz <martin@xemacs.org>
11391 * config.h.in: Add HAVE_BALLOON_HELP.
11392 * emacs.c: Use HAVE_BALLOON_HELP.
11393 * Makefile.in.in (x_objs):
11394 Make Balloon Help conditional on finding shape.h.
11396 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11398 * syntax.c (regex_emacs_buffer_p): New variable.
11399 * syntax.h (regex_emacs_buffer_p): extern.
11400 * search.c (looking_at_1):
11402 (fast_string_match):
11403 (search_buffer): Set regex_emacs_buffer_p.
11404 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11405 when before_dot, at_dot, after_dot.
11407 2000-08-23 Andy Piper <andy@xemacs.org>
11409 * gui-x.c (popup_selection_callback): Only set action_occurred
11410 when we really have an image instance.
11411 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11413 2000-08-23 Andy Piper <andy@xemacs.org>
11415 * gui-msw.c (mswindows_handle_gui_wm_command): set
11417 * gui-x.c (popup_selection_callback): ditto.
11419 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11420 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11421 (struct Lisp_Image_Instance): add action_occurred flag.
11423 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11424 (image_instance_changed): ditto.
11425 (reset_frame_subwindow_instance_cache): only unmap windows - do
11426 not remove them from the cache also.
11428 * glyphs-widget.c (tab_control_update): better debug.
11429 (progress_gauge_update): ditto.
11430 (layout_update): ditto.
11431 (layout_instantiate): ditto.
11432 (tab_control_order_only_changed): cope with null pending items.
11434 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11435 debug. Force selection of an item when an action occurred. Cope
11436 with null pending_items.
11437 (mswindows_progress_gauge_redisplay): better debug.
11438 * glyphs-x.c (x_tab_control_redisplay): ditto.
11440 * redisplay.c (redisplay_frame): reset the frame cache if the
11443 * window.c (Fset_window_configuration): potentially re-enable
11445 (window_unmap_subwindows): need to finalize instances here since
11446 it is only used in mark_window_as_deleted.
11448 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11450 * nas.c (SndOpenDataForReading):
11451 nas.c (WaveOpenDataForReading):
11452 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11453 Somehow escaped from the 2000-08-14 patch.
11455 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11457 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11458 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11460 2000-08-21 Andy Piper <andy@xemacs.org>
11462 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11463 window if it is not already displayed.
11465 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11466 it is not already displayed.
11468 * window.c (Fset_window_configuration): don't reset the frame
11471 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11472 instances from the frame cache if we are actually finalizing them.
11473 (reset_frame_subwindow_instance_cache): reset frame cache only
11474 after unmapping everything.
11475 (map_subwindow): set displayed flag after mapping.
11477 2000-08-21 Martin Buchholz <martin@xemacs.org>
11479 * data.c (indirect_function):
11480 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11482 * eval.c (function_argcount):
11483 Use original function when signaling errors.
11485 2000-08-18 Andy Piper <andy@xemacs.org>
11487 * frame.c (delete_frame_internal): use new
11488 free_frame_subwindow_instances name.
11490 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11491 (add_tab_item): make return type correct.
11492 (mswindows_tab_control_instantiate): assert index of tab.
11493 (mswindows_tab_control_redisplay): Re-code to use
11494 gui_item_equal_sans_selected and gui_item_list_find_selected.
11496 * glyphs-widget.c (tab_control_update): Correct comment.
11498 * window.c (window_unmap_subwindows): use new
11499 unmap_subwindow_instance_cache_mapper.
11500 (window_unmap_subwindows_cache_mapper): deleted.
11501 (Fset_window_configuration): comparisons should now be with
11502 EQ. Preserve the subwindow instance cache across configuration
11504 (allocate_window): ditto.
11505 (make_dummy_parent): ditto.
11507 * glyphs.c (free_frame_subwindow_instances): rename from
11508 free_frame_subwindow_instance_cache. finalize all instances rather
11509 than just those in the display cache.
11510 (finalize_all_subwindow_instances): walk windows unmapping and
11511 finalizing subwindows.
11512 (unmap_subwindow_instance_cache_mapper): moved from
11513 window.c. Allow finalization as well as unmapping.
11515 * gui.c (gui_item_list_find_selected): new function.
11517 * gui.h (gui_item_list_find_selected): declare.
11519 * glyphs-x.c (x_tab_control_redisplay): pick tab
11520 explicitly. Re-code to use gui_item_equal_sans_selected and
11521 gui_item_list_find_selected.
11523 * glyphs-x.h: add lwlib-utils.h
11525 * buffer.c (Frecord_buffer): undo previous change.
11527 2000-08-09 Vin Shelton <acs@xemacs.org>
11529 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11530 possible. Create temporary files more securely. The patch was
11531 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11532 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11533 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11536 2000-08-07 Ben Wing <ben@xemacs.org>
11538 * getloadavg.c: remove duplicate (and windows-breaking)
11539 includes of fcntl.h and sys/file.h.
11541 * nt.c: remove duplicate getloadavg() definition.
11543 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11546 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11548 * eval.c (function_argcount): If function needs to be autoloaded
11549 actually use the loaded definition.
11552 2000-08-05 Ben Wing <ben@xemacs.org>
11554 * getloadavg.c: add prototype for getloadavg(). remove
11555 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11556 of the code). remove duplicate header includes.
11558 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11560 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11561 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11562 useful load average.
11564 * alloc.c (reinit_alloc_once_early): removed references to
11565 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11566 the lisp vars are the only things referencing the malloc_sbrk_*
11567 vars, and they were already if 0'd out. these vars only exist
11568 in the older malloc.c, which is basically unused, and they're
11569 only for informational purposes.
11571 * m\*.h: removed useless VIRT_ADDR_VARIES.
11573 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11575 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11577 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11578 color if the image is a mono pixmap.
11580 2000-07-30 Ben Wing <ben@xemacs.org>
11582 * Makefile.in.in (release):
11585 * buffer.c (directory_is_current_directory):
11586 * dired-msw.c (mswindows_get_files):
11588 * dired.c (Fdirectory_files):
11589 * dired.c (file_name_completion_stat):
11590 * dired.c (Ffile_attributes):
11591 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11592 preprocessor tricks, to avoid problems on some machines
11595 * callproc.c (egetenv): GC docs.
11598 * console-msw.h (struct mswindows_dialog_id):
11599 * lrecord.h (lrecord_type):
11600 New object for use with MSW dialogs.
11602 * console.h (struct console_methods):
11603 New enable/disable frame methods, for proper modal dialogs.
11605 * device-msw.c (msprinter_default_printer): Fix to follow
11606 proper Mule conventions.
11609 * device-msw.c (signal_open_printer_error):
11610 * device-msw.c (msprinter_init_device):
11611 * device-msw.c (ensure_not_printing):
11612 * device-msw.c (plist_get_margin):
11613 * device-msw.c (Fmsprinter_select_settings):
11614 * device-msw.c (finalize_devmode):
11615 * device-msw.c (Fmsprinter_settings_despecialize):
11616 * device-msw.c (signal_enum_priner_error):
11617 * extents.c (decode_extent):
11618 * extents.c (decode_map_extents_flags):
11619 * extents.c (decode_extent_at_flag):
11620 * extents.c (Fextent_at):
11621 * extents.c (Fextents_at):
11622 * extents.c (symbol_to_glyph_layout):
11623 [[[[2]]]] Use structured errors.
11626 * dialog-msw.c (mswindows_is_dialog_msg):
11627 * dialog-msw.c (mark_mswindows_dialog_id):
11628 * dialog-msw.c (dialog_proc):
11629 * dialog-msw.c (handle_question_dialog_box):
11630 * dialog-msw.c (syms_of_dialog_mswindows):
11631 Define new object to clean up marking; use it as a dialog identifier.
11632 Call new delete-dialog-box-hook.
11634 * dialog-x.c (dbox_selection_callback):
11635 * dialog-x.c (dbox_descriptor_to_widget_value):
11636 * dialog-x.c (x_make_dialog_box_internal):
11637 Call new delete-dialog-box-hook.
11641 * dialog.c (syms_of_dialog):
11642 * dialog.c (vars_of_dialog):
11643 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11646 * eval.c (signal_call_debugger):
11647 when noninteractive, output stack traces on the console instead
11648 of in a (never-seen) buffer.
11650 * eval.c (signal_type_error):
11651 * eval.c (invalid_argument_2):
11653 new funs for use w/structured errors.
11656 * event-Xt.c (x_to_emacs_keysym):
11657 * event-Xt.c (describe_event):
11658 * event-Xt.c (emacs_Xt_event_handler):
11659 * event-Xt.c (vars_of_event_Xt):
11661 * event-msw.c (mswindows_wnd_proc):
11662 * event-msw.c (vars_of_event_mswindows):
11663 rename {x,mswindows}-debug-events to debug-{}-events for
11664 consistency with other debug-foo variables.
11667 document next-event more clearly.
11669 * fileio.c (Ffile_name_directory):
11670 * fileio.c (Ffile_name_nondirectory):
11671 * fileio.c (Funhandled_file_name_directory):
11672 * fileio.c (file_name_as_directory):
11673 * fileio.c (Ffile_name_as_directory):
11674 * fileio.c (directory_file_name):
11675 * fileio.c (Fdirectory_file_name):
11676 * fileio.c (Fmake_temp_name):
11677 * fileio.c (Ffile_truename):
11678 * fileio.c (Fsubstitute_in_file_name):
11679 * fileio.c (expand_and_dir_to_file):
11680 * fileio.c (barf_or_query_if_file_exists):
11681 * fileio.c (check_executable):
11682 * fileio.c (Ffile_exists_p):
11683 * fileio.c (Ffile_writable_p):
11684 * fileio.c (Ffile_directory_p):
11685 * fileio.c (Ffile_regular_p):
11686 * fileio.c (Ffile_modes):
11687 * fileio.c (Ffile_newer_than_file_p):
11688 * fileio.c (Fverify_visited_file_modtime):
11689 * fileio.c (Fset_visited_file_modtime):
11690 * fileio.c (auto_save_1):
11695 * frame-msw.c (mswindows_init_frame_1):
11696 * frame-msw.c (mswindows_enable_frame):
11697 * frame-msw.c (error_frame_unsizable):
11698 * frame-msw.c (msprinter_init_frame_1):
11699 * frame-msw.c (msprinter_init_frame_3):
11700 * frame-msw.c (console_type_create_frame_mswindows):
11702 implement new enable/disable frame methods.
11705 * frame-x.c (x_enable_frame):
11706 * frame-x.c (console_type_create_frame_x):
11707 implement new enable/disable frame methods.
11710 * frame.c (Fdisable_frame):
11711 * frame.c (syms_of_frame):
11712 * frame.h (struct frame):
11713 implement new enable/disable frame methods/functions.
11718 * glyphs-msw.c (mswindows_widget_instantiate):
11719 comment that initial-focus should be implemented.
11722 * glyphs-widget.c (check_valid_instantiator):
11723 * glyphs-widget.c (check_valid_orientation):
11724 * glyphs-widget.c (check_valid_tab_orientation):
11725 * glyphs-widget.c (check_valid_justification):
11726 * glyphs-widget.c (check_valid_border):
11727 * glyphs-widget.c (check_valid_callback):
11728 * glyphs-widget.c (check_valid_int_or_function):
11729 * glyphs-widget.c (check_valid_string_or_vector):
11730 * glyphs-widget.c (check_valid_item_list_1):
11731 * glyphs-widget.c (widget_validate):
11732 * glyphs-widget.c (combo_box_validate):
11733 * glyphs-widget.c (widget_instantiate):
11734 * glyphs-widget.c (syms_of_glyphs_widget):
11735 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11736 * glyphs-widget.c (image_instantiator_combo_box):
11737 * glyphs-widget.c (image_instantiator_scrollbar):
11738 * glyphs-widget.c (image_instantiator_tab_control):
11739 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11741 support (unimplemented) keyword initial-focus.
11742 reindent long macros.
11744 * glyphs-x.c (x_redisplay_widget):
11745 * glyphs-x.c (x_button_instantiate):
11746 * glyphs-x.c (x_button_redisplay):
11747 * glyphs-x.c (x_progress_gauge_instantiate):
11748 * glyphs-x.c (x_edit_field_instantiate):
11749 * glyphs-x.c (x_combo_box_instantiate):
11750 * glyphs-x.c (x_tab_control_instantiate):
11751 * glyphs-x.c (x_label_instantiate):
11753 * gui-x.c (button_item_to_widget_value):
11754 * gui-x.c (gui_items_to_widget_values_1):
11755 * gui-x.c (gui_item_children_to_widget_values):
11756 * gui-x.c (gui_items_to_widget_values):
11758 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11759 add new flag to gui-parsing routines to indicate whether
11760 accelerator specs should be supported.
11762 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11764 * glyphs.h (struct Lisp_Image_Instance):
11765 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11766 add initial-focus flag.
11769 * gui.c (syms_of_gui):
11770 * gui.c (vars_of_gui):
11771 clean up menu-no-selection-hook.
11774 support delete-dialog-box-hook.
11776 * lread.c (Fload_internal):
11777 * lread.c (locate_file_in_directory_mapper):
11781 * lrecord.h (struct toolbar_button):
11782 * lrecord.h (syms_of_toolbar):
11783 document how to create a new object.
11785 * menubar-msw.c (mswindows_char_is_accelerator):
11786 may be called on frames w/o menus.
11788 * menubar.c (vars_of_menubar):
11789 clean up :filter docs.
11796 * process-nt.c (validate_signal_number):
11797 * process-nt.c (signal_cannot_launch):
11798 * process-nt.c (nt_create_process):
11799 * process-nt.c (nt_send_process):
11800 * process-nt.c (nt_kill_child_process):
11801 * process-nt.c (nt_open_network_stream):
11802 * process-nt.c (syms_of_process_nt):
11804 delete quote-handling. call new lisp code that does it better.
11806 * process-unix.c (connect_to_file_descriptor):
11807 * process-unix.c (allocate_pty):
11808 * process-unix.c (unix_send_process):
11809 * process-unix.c (unix_kill_child_process):
11810 * process-unix.c (unix_open_network_stream):
11811 * process-unix.c (unix_open_multicast_group):
11815 * process.c (Fstart_process_internal):
11816 (2). need to canonicalize process path even if absolute.
11818 * select-msw.c (symbol_to_ms_cf):
11819 * select-msw.c (ms_cf_to_symbol):
11820 * select-msw.c (cf_is_autofreed):
11821 * select-msw.c (mswindows_destroy_selection):
11823 * select.c (syms_of_select):
11825 support dibv5, fix bugs. (from Mike Alexander)
11827 * select.c (Fget_selection_internal):
11828 * select.c (select_convert_out):
11831 * sysdep.c (xemacs_stat):
11834 * sysdep.c (mkdir):
11835 * sysdep.c (rmdir):
11836 but keep original stat() here because we provide encapsulation
11840 * sysfile.h (fstat):
11841 remove stat garbage.
11844 fix X/MSW conflict.
11845 don't include tchar.h. it's inappropriate because it makes
11846 compile-time distinctions when we want runtime distinctions.
11847 (we provide our own tchar replacements)
11850 use default object printer for toolbar-button.
11853 make sure we don't encapsulate.
11855 * window.c (vars_of_window):
11856 emphasize that temp-buffer-show-hook is obsolete.
11858 2000-08-05 Martin Buchholz <martin@xemacs.org>
11860 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11861 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11863 * events.c (Fevent_timestamp_lessp):
11864 Not 64-bit clean. Use EMACS_INT, not int.
11866 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11868 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11869 unsigned int and changed the last enum to
11870 lrecord_type_last_built_in_type.
11871 (lrecord_implementations_table): changed prototype to know how
11872 long the array is supposed to be.
11873 (lrecord_type_count): new unsigned int to keep track of the
11874 current number of lisp lrecord types.
11875 (DEFINE_EXTERNAL_LRECORD):
11876 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11877 dynamic-modules to declare new lisp types. They are the same
11878 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11879 int for each new type, and increment lrecord_type_count by 1.
11881 * alloc.c (lrecord_implementations_table): Changed to reference
11882 lrecord_type_last_built_in_type for the size of the array.
11883 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11885 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11887 * glyphs.h (check_valid_item_list): Renamed from
11888 check_valid_item_list_1.
11890 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11892 * select.c (Qselect_coerce): New.
11893 * select.c (Vselection_coercion_alist): New.
11894 * select.c (syms_of_select): Declare.
11895 * select.c (get-selection-internal): Use it.
11896 Use the new select-coerce functionality.
11898 * select.c (select_coerce): New.
11899 * select.h (select_coerce): Declare.
11900 New function to coerce one type of data into another.
11902 2000-08-03 Martin Buchholz <martin@xemacs.org>
11904 * callproc.c (Fcall_process_internal):
11905 (Fcall_process_internal):
11906 * process-unix.c (unix_create_process):
11907 Save and restore the value of errno, so that error messages are accurate.
11909 2000-08-01 Martin Buchholz <martin@xemacs.org>
11911 * elhash.c (print_hash_table):
11912 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11913 Prettify docstrings and indentation.
11915 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11917 * window.c (Fwindow_pixel_edges): Subtract frame border and
11920 2000-07-31 Andy Piper <andy@xemacs.org>
11922 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11923 will acknowledge the change.
11925 * glyphs.h: declare tab_control_order_only_changed.
11927 * glyphs-x.c (x_tab_control_redisplay): use
11928 tab_control_order_only_changed.
11930 * glyphs-widget.c (tab_control_order_only_changed): new function.
11932 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11933 tab_control_order_only_changed.
11935 * gui.c (gui_item_equal_sans_selected): new function.
11936 (gui_item_equal): use it.
11938 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11939 :properties in favor of :items..
11941 * glyphs-widget.c (check_valid_item_list): rename from
11942 check_valid_item_list_1.
11943 (check_valid_item_list_1): renamed.
11944 (combo_box_validate): deprecate :properties in favor of :items.
11945 (widget_instantiate): ditto.
11946 (tab_control_update): ditto.
11947 (image_instantiator_combo_box): ditto.
11948 (image_instantiator_tree_view): ditto.
11949 (image_instantiator_tab_control): ditto.
11950 (layout_post_instantiate): remove dead code.
11952 * print.c (debug_print_no_newline): only write to debugger if in
11955 * elhash.c (Fmake_hash_table): update doc string.
11957 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11958 messages whilst in GC. This at least stops XEmacs crashing but has
11959 the potential for wierd behaviour.
11961 2000-07-31 Martin Buchholz <martin@xemacs.org>
11964 Make existence of s&m files optional.
11966 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11967 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11968 * s/gnu.h: Remove HAVE_GETLOADAVG.
11969 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11970 * s/sol2.h: Remove HAVE_GETLOADAVG.
11971 * lisp.h: Remove getloadavg() declaration.
11973 Include <sys/loadavg.h> if available.
11974 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11975 * config.h.in: Group together getloadavg()-related macros.
11976 Use only configure-time tests to detect getloadavg().
11978 2000-07-30 Martin Buchholz <martin@xemacs.org>
11980 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11982 2000-07-25 Andy Piper <andy@xemacs.org>
11984 * syswindows.h: add tchar.h for native builds.
11986 * frame.c (syms_of_frame): remove set-glyph-image.
11988 * general-slots.h: add Qset_glyph_image.
11990 * glyphs-widget.c (layout_update): add domain arg to
11992 (syms_of_glyphs_widget): remove set-glyph-image.
11994 2000-07-23 Ben Wing <ben@xemacs.org>
11996 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11999 2000-07-22 Andy Piper <andy@xemacs.org>
12001 * symsinit.h: add syms_of_win32().
12003 * gui-msw.c (syms_of_gui_mswindows): remove
12004 Fmswindows_shell_execute.
12005 (Fmswindows_shell_execute): moved to win32.c.
12007 * emacs.c (main_1): add syms_of_win32 ().
12009 * win32.c (init_potentially_nonexistent_functions): rewrite in
12010 compiler-friendly terms.
12011 (Fmswindows_shell_execute): move here from gui-msw.c.
12012 (syms_of_win32): new.
12014 * device-msw.c (Fmswindows_printer_list): clean up args to
12016 Don't include tchar under cygwin or mingw.
12017 (msprinter_default_printer): make cygwin-friendly.
12019 2000-07-21 Andy Piper <andy@xemacs.org>
12021 * glyphs-widget.c (image_instantiator_tree_view): use tab
12022 control's update function.
12023 (layout_property): new function. Retrieve items.
12025 * glyphs-msw.c (mswindows_tree_view_redisplay): new
12026 function. Re-populate the tree view from the pending items.
12028 * glyphs.c (instantiate_image_instantiator): Make sure the domain
12029 is designated the parent if the domain is an image instance. This
12030 is needed so that dirtiness can be cascade up the hierarchy and
12031 thus for layout children to be redisplayed correctly.
12032 (allocate_image_instance): rename glyph -> parent.
12034 * redisplay.h: change redisplay_output_layout signature.
12036 * redisplay-msw.c (mswindows_output_display_block): use domain
12039 * redisplay-x.c (x_output_display_block): use domain arg.
12041 2000-07-10 Andy Piper <andy@xemacs.org>
12043 * window.c (Fset_window_configuration): add comment.
12045 * redisplay-output.c (compare_runes):
12046 (redisplay_output_subwindow): redisplay rather than update subwindow.
12047 (redisplay_output_layout): ditto.
12049 * redisplay-msw.c (mswindows_frame_output_end):
12050 (mswindows_frame_output_end): make defer window pos optional.
12052 * lisp.h: add Flast.
12054 * glyphs.h (struct image_instantiator_methods): add dest_mask top
12055 normalize method. Change update method to be for changed
12056 instantiators. Add redisplay method. Change signature of layout
12058 (struct Lisp_Image_Instance): add instantiator.
12059 (IMAGE_INSTANCE_INSTANTIATOR): new.
12060 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
12061 (XIMAGE_INSTANCE_INSTANTIATOR): new.
12062 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
12065 (find_instantiator_differences): new function.
12066 (Fset_instantiator_property): new convenience function.
12067 (check_image_instance_structure): strictly check for vector
12069 (normalize_image_instantiator): make non-static.
12070 (instantiate_image_instantiator): pass on dest_mask and use new
12071 signatures for image_instance_layout and friends.
12072 (mark_image_instance): mark the instantiator. Mark the subwindow
12073 face not the widget face.
12074 (image_instance_equal): add instantiator.
12075 (image_instance_hash): ditto.
12076 (allocate_image_instance): ditto.
12077 (Fset_image_instance_property): removed.
12078 (Fimage_instance_file_name): ditto.
12079 (Fcolorize_image_instance): ditto.
12080 (image_instance_layout): add offsets to be set.
12081 (update_image_instance): new function. update an image instance
12082 from its changed instantiator.
12083 (inherit_normalize): add dest_mask.
12084 (xbm_normalize): ditto.
12085 (xface_normalize): ditto.
12086 (xpm_normalize): ditto.
12087 (text_update): set_property -> update.
12088 (image_instantiate): use the glyph identity as a hash key, not the
12090 (glyph_width): use new image_instance_layout signature.
12091 (glyph_ascent): ditto.
12092 (glyph_descent): ditto.
12093 (glyph_height): ditto.
12094 (glyph_query_geometry): ressurrect.
12095 (glyph_layout): ditto.
12096 (redisplay_subwindow): update -> redisplay.
12097 (syms_of_glyphs): add Fset_instantiator_property.
12098 (image_instantiator_format_create): set_property -> update.
12101 (autodetect_normalize): add dest_maks to signature.
12102 (x_redisplay_subwindow): update -> redisplay.
12103 (x_redisplay_widget): ditto.
12104 (x_button_redisplay): ditto.
12105 (x_progress_gauge_redisplay): ditto.
12106 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12108 (console_type_create_glyphs_x): update -> redisplay.
12109 (image_instantiator_format_create_glyphs_x): ditto.
12112 (check_valid_instantiator): disallow glyphs in the instantiator,
12113 they must now be vectors.
12114 (check_valid_instantiator_list): ditto.
12115 (glyph_instantiator_to_glyph): use internal symbol rather than
12117 (widget_update): renamed from widget_set_property. Call cascaded
12119 (redisplay_widget): renamed from update_widget.
12120 (widget_layout): image_instance_layout now takes position as well
12122 (widget_normalize): ditto.
12123 (widget_instantiate): ditto.
12124 (tab_control_query_geometry) ditto.:
12125 (tab_control_update): renamed from tab_control_set_property.
12126 (progress_gauge_update): set_property -> update.
12127 (layout_normalize): rewrite so that child instantiators are
12129 (layout_update): new function. Create glyphs from the normalized
12130 children and cope with any other layout keywords. We do not
12131 instantiate children here that will be take care of by
12132 redisplay_output_layout.
12133 (layout_instantiate): call layout_update and not much else.
12134 (layout_post_instantiate): not sure whether this is needed
12136 (layout_query_geometry): query glyph geometry rather than
12137 image_instance geometry.
12138 (layout_layout): set offsets from pass in parameters. Use glyph
12139 geometry and layout functions rather than image instance ones.
12140 (native_layout_layout): ditto.
12141 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12142 (image_instantiator_widget): set_property -> update.
12143 (image_instantiator_buttons): ditto.
12144 (image_instantiator_progress_guage): ditto.
12145 (image_instantiator_tab_control): ditto.
12146 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12147 (image_instantiator_layout): add update method.
12149 * glyphs-msw.c (bmp_normalize):
12150 (mswindows_resource_normalize): add dest_mask so that it can be
12151 proprogated by layout_normalize.
12152 (begin_defer_window_pos): make optional because it may not be the
12153 right thing to do and it introduces differences with X.
12154 (mswindows_unmap_subwindow): ditto.
12155 (mswindows_map_subwindow): ditto.
12156 (mswindows_redisplay_subwindow): renamed from
12157 mswindows_update_subwindow.
12158 (mswindows_redisplay_widget): ditto.
12159 (mswindows_button_redisplay): renamed from
12160 mswindows_button_update. Update is now what the instantiation
12161 function does for a changed instantiator.
12162 (mswindows_progress_gauge_instantiate): set the progress value
12163 here if appropriate.
12164 (mswindows_tab_control_redisplay): cope with re-ordering of the
12165 members of the tab widget by simply selecting the new top
12166 widget. This makes things appear ok if you click on a tab.
12167 (mswindows_combo_box_instantiate): image_instance_layout now takes
12168 position as well as size.
12169 (mswindows_progress_gauge_redisplay): renamed from
12170 mswindows_progress_gauge_update.
12171 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12172 (image_instantiator_format_create_glyphs_mswindows): ditto.
12174 * glyphs-eimage.c (jpeg_normalize):
12177 (tiff_normalize): add dest_mask so that it can be proprogated by
12181 (print_hash_table):
12182 (hash_table_weakness_validate):
12183 (decode_hash_table_weakness):
12184 (Fhash_table_weakness):
12185 (Fhash_table_type):
12186 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12188 * console.h (struct console_methods): move update_* to
12191 2000-07-20 Ben Wing <ben@xemacs.org>
12193 * *.[ch] (XSETOBJ): remove unused middle argument.
12194 lisp-disunion.h: correct wrap_object() to one argument.
12196 2000-07-15 Ben Wing <ben@xemacs.org>
12199 * s/cygwin32.h (CYGWIN_CONV_PATH):
12200 Add missing logb prototype for v1.1.
12201 Use post-b20 names and alias to pre-b20 names when pre-b20.
12203 * s/windowsnt.h: [5].
12205 2000-07-15 Ben Wing <ben@xemacs.org>
12207 * Makefile.in.in (x_objs):
12208 * Makefile.in.in (sheap_objs):
12209 * Makefile.in.in (objs):
12210 added win32.o, cosmetic cleanups.
12212 * alloc.c (Fmake_byte_code):
12213 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12214 etc. macros which declare their own args now.
12216 * alloc.c (syms_of_alloc):
12217 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12220 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12222 * buffer.c (Fget_file_buffer):
12223 Fixed GCPRO problem.
12225 * buffer.c (get_truename_buffer):
12226 Fixed comment about GC checking.
12228 * buffer.c (syms_of_buffer):
12229 Undeclared those dedicated frame funs.
12233 Define convenience macros for internal/external conversions.
12234 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12235 and Qenvironment_variable_encoding for cleaner code.
12238 Remove dedicated-frame; in lisp.
12240 * bytecode.c (funcall_compiled_function):
12243 * bytecode.c (syms_of_bytecode):
12247 * console-msw.c (mswindows_show_console): Rewrote.
12249 * console-msw.c (Fmswindows_debugging_output): New.
12250 Sends to OutputDebugString (special MSWin debugger interface).
12252 * console-msw.c (Fmswindows_message_box):
12253 Fixed stupid bugs so it works when called from kill-emacs.
12255 * console-msw.c (syms_of_console_mswindows):
12256 Declare Fmswindows_debugging_output.
12259 New MSWin prototypes.
12261 * console-msw.h (struct mswindows_frame):
12262 New entry last-click-mods for improved button-modifier support.
12264 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12265 New struct entry `popup' with corresponding accessor.
12268 * console-x.c (split_up_display_spec):
12269 * console-x.c (get_display_arg_connection):
12270 * console-x.c (x_semi_canonicalize_console_connection):
12271 * console-x.c (x_canonicalize_device_connection):
12272 [[[6]]]: Change char to more specific type.
12273 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12275 * console-x.c (x_semi_canonicalize_console_connection):
12276 * console-x.c (x_canonicalize_device_connection):
12277 [[[9]]]: Fix up error signalling to use new structured error system.
12280 [[[4]]]: Define codesys aliases:
12281 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12282 Qx_color_name_encoding, Qx_display_name_encoding.
12284 * console.h (struct console_methods):
12285 New method make_dialog_box_internal supersedes older
12286 popup_dialog_box method.
12289 Define many new errors, part of new structured errors.
12291 * data.c (init_errors_once_early):
12292 * data.c (syms_of_data):
12295 * device-msw.c (mswindows_init_device):
12296 [[[5]]]: Cleanup to support NT 3.51.
12298 * device-msw.c (decode_devmode): Cleanup.
12300 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12301 * device-msw.c (mswindows_handle_print_dialog_box):
12302 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12303 * device-msw.c (syms_of_device_mswindows):
12304 Delete the dialog box primitives recently introduced by Kirill and
12305 instead interface to general dialog box interface.
12308 * device-x.c (compute_x_app_name):
12309 * device-x.c (x_init_device):
12310 * device-x.c (Fx_valid_keysym_name_p):
12311 * device-x.c (Fx_set_font_path):
12315 * device.h (wrap_device): New.
12316 First of its kind; meant to replace XSETDEVICE.
12318 * dialog-msw.c: Many file-dialog symbols.
12320 * dialog-msw.c (mswindows_register_popup_frame): New.
12321 * dialog-msw.c (mswindows_is_dialog_msg): New.
12322 For supporting kbd traversal in dialog boxes.
12324 * dialog-msw.c (dialog_proc):
12325 Support hitting ESC in dialogs.
12327 * dialog-msw.c (struct):
12328 Common dialog box errors.
12330 * dialog-msw.c (handle_file_dialog_box): New.
12331 Add file dialog code.
12333 * dialog-msw.c (handle_question_dialog_box):
12334 Redo existing code to support new question dialog syntax.
12336 * dialog-msw.c (console_type_create_dialog_mswindows):
12337 We support new dialog console method.
12339 * dialog-msw.c (syms_of_dialog_mswindows):
12340 * dialog-msw.c (vars_of_dialog_mswindows):
12341 New file dialog symbols, vars.
12344 * dialog-x.c (maybe_run_dbox_text_callback):
12345 * dialog-x.c (dbox_descriptor_to_widget_value):
12346 * dialog-x.c (x_make_dialog_box_internal):
12347 * dialog-x.c (console_type_create_dialog_x):
12348 Mule-ize entire file.
12349 Redo to support question dialog syntax.
12353 * dialog.c (Fmake_dialog_box_internal):
12354 * dialog.c (syms_of_dialog):
12355 Kill old popup-dialog-box, replace with new primitive.
12356 Just call device method or signal error.
12358 * eldap.c (Fldap_open):
12359 * eldap.c (Fldap_search_basic):
12360 * eldap.c (Fldap_add):
12361 * eldap.c (Fldap_modify):
12366 * emacs.c (make_arg_list_1):
12367 * emacs.c (make_arg_list):
12368 Mule-ize call to dll_init().
12372 * emacs.c (make_argc_argv):
12373 * emacs.c (free_argc_argv):
12374 * emacs.c (init_cmdargs):
12375 * emacs.c (main_1):
12376 * emacs.c (Fkill_emacs):
12377 * emacs.c (Fdump_emacs):
12378 Update comments about what can be used in syms_* etc.
12379 Call init_win32() when necessary.
12380 Fix up MS Win dialog box in kill-buffer to actually work right.
12391 * eval.c (condition_case_3):
12393 * eval.c (function_argcount):
12394 * eval.c (funcall_lambda):
12397 * eval.c (type_error): New.
12398 * eval.c (maybe_type_error): New.
12399 * eval.c (continuable_type_error): New.
12400 * eval.c (maybe_continuable_type_error): New.
12401 * eval.c (type_error_with_frob): New.
12402 * eval.c (maybe_type_error_with_frob): New.
12403 * eval.c (continuable_type_error_with_frob): New.
12404 * eval.c (maybe_continuable_type_error_with_frob): New.
12405 New functions for use with structured errors.
12408 * event-Xt.c (x_event_to_emacs_event):
12409 Buttons are now modifiers too.
12411 * event-Xt.c (emacs_Xt_current_event_timestamp):
12412 Implement new event method.
12413 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12416 * event-msw.c (ntpipe_shove_writer): [5].
12417 * event-msw.c (mswindows_enqueue_mouse_button_event):
12418 * event-msw.c (mswindows_drain_windows_queue):
12419 * event-msw.c (mswindows_wnd_proc): [7].
12420 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12421 * event-msw.c (mswindows_modifier_state):
12422 Throughout: support new button modifiers.
12424 * event-msw.c (emacs_mswindows_current_event_timestamp):
12425 Implement new event method.
12426 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12429 * event-stream.c (event_stream_current_event_timestamp): New.
12430 * event-stream.c (maybe_kbd_translate): New functionality.
12431 * event-stream.c (vars_of_event_stream):
12432 Document new kbd-translate-table functionality.
12434 * event-stream.c (Fcurrent_event_timestamp): New.
12435 New primitive for use in fabricated events.
12436 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12438 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12441 * events.c (Fmake_event):
12442 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12446 * events.c (format_event_object): fix gcc warnings.
12448 * events.c (Fevent_timestamp): Document new primitives.
12450 * events.c (TIMESTAMP_HALFSPACE): New.
12452 * events.c (Fevent_timestamp_lessp): New. New primitive for
12453 comparing timestamps correctly (half-space algorithm).
12455 * events.c (Fevent_modifier_bits): Doc fix.
12457 * events.c (Fevent_modifiers): Major doc addition.
12458 * events.c (event_x_y_pixel_internal): Typo fix.
12459 * events.c (syms_of_events): Declare new primitives.
12462 Update long comment for button modifiers, timestamps.
12464 * events.h (struct event_stream):
12465 New current_event_timestamp method.
12468 * extents.c (extent_in_region_p):
12469 * extents.c (decode_extent):
12470 * extents.c (Fset_extent_parent):
12471 * extents.c (decode_map_extents_flags):
12475 * extents.c (struct extent_at_arg):
12476 * extents.c (decode_extent_at_flag):
12477 * extents.c (extent_at_mapper):
12478 * extents.c (extent_at_bytind):
12479 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12480 * extents.c (Fextents_at): New primitive. [9].
12481 * extents.c (symbol_to_glyph_layout): [9].
12482 Support new primitive `extents-at'.
12485 * extents.c (get_text_property_bytind):
12486 extent_at_bytind has another arg.
12489 * extents.c (syms_of_extents): New primitive.
12491 * file-coding.c (Fmake_coding_system): [1].
12492 * file-coding.c (subsidiary_coding_system): fix gcc warning
12493 * file-coding.c (syms_of_file_coding): [2].
12495 * fileio.c (Fexpand_file_name):
12496 * fileio.c (Fsysnetunam):
12497 * fileio.c (Ffile_exists_p):
12498 * fileio.c (Ffile_executable_p):
12499 * fileio.c (Fverify_visited_file_modtime):
12502 * fileio.c (syms_of_fileio): [2].
12504 * filelock.c (lock_file_1):
12505 * filelock.c (current_lock_owner):
12506 * filelock.c (lock_if_free):
12507 * filelock.c (lock_file):
12508 * filelock.c (unlock_file):
12511 * fns.c (concat): Fix gcc warning.
12514 * fns.c (Fold_member):
12516 * fns.c (Fold_memq):
12517 * fns.c (memq_no_quit):
12519 * fns.c (Fold_assoc):
12521 * fns.c (Fold_assq):
12522 * fns.c (assq_no_quit):
12524 * fns.c (Fold_rassoc):
12526 * fns.c (Fold_rassq):
12527 * fns.c (rassq_no_quit):
12529 * fns.c (Fold_delete):
12531 * fns.c (Fold_delq):
12532 * fns.c (delq_no_quit):
12533 * fns.c (Fremassoc):
12534 * fns.c (Fremassq):
12535 * fns.c (remassq_no_quit):
12536 * fns.c (Fremrassoc):
12537 * fns.c (Fremrassq):
12538 * fns.c (remrassq_no_quit):
12539 * fns.c (Freverse):
12543 * frame-msw.c (mswindows_init_frame_1):
12544 * frame-msw.c (mswindows_delete_frame):
12545 Register popups with dialog code so keyboard traversing works.
12547 * frame-tty.c (tty_raise_frame_no_select): [1].
12550 * frame-x.c (x_set_frame_text_value):
12551 * frame-x.c (x_set_frame_properties):
12552 * frame-x.c (x_create_widgets):
12556 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12558 * frame.h (wrap_frame): New.
12559 Macro like wrap_device.
12562 * general.c (SYMBOL):
12563 * general.c (syms_of_general):
12564 Major reorg. This is now just a wrapper and symbols themselves
12565 are listed in general-slots.h.
12567 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12568 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12570 * glyphs-msw.c (mswindows_native_layout_instantiate):
12571 Add DS_CONTROL so keyboard traversal will work.
12574 * glyphs-widget.c (syms_of_glyphs_widget):
12575 Move some symbols to general-slots.h.
12578 * glyphs-x.c (xbm_instantiate_1):
12579 * glyphs-x.c (x_xbm_instantiate):
12580 * glyphs-x.c (x_xface_instantiate):
12581 * glyphs-x.c (autodetect_instantiate):
12582 * glyphs-x.c (cursor_font_instantiate):
12583 * glyphs-x.c (x_update_widget):
12584 * glyphs-x.c (x_widget_instantiate):
12585 * glyphs.c (bitmap_to_lisp_data):
12586 * glyphs.c (pixmap_to_lisp_data):
12589 * glyphs.c (syms_of_glyphs):
12593 * gui-x.c (print_widget_value):
12594 * gui-x.c (menu_separator_style_and_to_external):
12595 * gui-x.c (add_accel_and_to_external):
12596 * gui-x.c (button_item_to_widget_value):
12597 * gui-x.c (gui_items_to_widget_values_1):
12598 * gui-x.c (gui_items_to_widget_values):
12599 * gui-x.c (syms_of_gui_x):
12600 * gui-x.c (vars_of_gui_x):
12601 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12605 Muleize, prototype changes matching gui-x.c.
12608 * gui.c (separator_string_p):
12609 * gui.c (gui_item_add_keyval_pair):
12610 * gui.c (make_gui_item_from_keywords_internal):
12611 * gui.c (signal_too_long_error):
12612 * gui.c (parse_gui_item_tree_item):
12613 * gui.c (syms_of_gui):
12614 * gui.c (vars_of_gui):
12616 menu-no-selection-hook moved here (used by MSWin).
12617 Move some symbols to general-slots.h.
12621 * insdel.c (get_buffer_pos_char):
12622 * insdel.c (get_buffer_range_char):
12625 * keymap.c (keymap_lookup_directly):
12626 * keymap.c (keymap_store):
12627 * keymap.c (ensure_meta_prefix_char_keymapp):
12628 * keymap.c (describe_map):
12630 Support new button modifiers.
12632 * lisp-disunion.h (wrap_object):
12633 * lisp-disunion.h (XSETOBJ):
12634 Rename make_obj to wrap_object.
12637 * lisp-union.h (make_int):
12638 * lisp-union.h (make_char):
12639 Support wrap_object.
12642 * lisp.h (LIST_LOOP):
12643 * lisp.h (EXTERNAL_LIST_LOOP):
12644 * lisp.h (LIST_LOOP_2):
12645 * lisp.h (EXTERNAL_LIST_LOOP_1):
12646 * lisp.h (EXTERNAL_LIST_LOOP_2):
12647 * lisp.h (EXTERNAL_LIST_LOOP_3):
12648 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12649 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12650 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12651 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12652 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12653 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12654 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12655 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12656 * lisp.h (struct Lisp_Symbol):
12657 * lisp.h (maybe_continuable_error_with_frob):
12658 Fix up section comments.
12659 Add new types for char to indicate usage.
12660 Delete symbols auto-generated from general-slots.h.
12661 Add prototypes for structured error functions.
12662 Add long comments describing looping macros and change interface
12663 so that lvalues are automatically declared.
12664 Add NO_DECLARE macro in case callers want to declare lvalues
12667 * lread.c (read_syntax_error):
12668 * lread.c (continuable_read_syntax_error):
12669 * lread.c (read_structure):
12670 * lread.c (sequence_reader):
12671 * lread.c (read_list_conser):
12672 * lread.c (read_compiled_function):
12673 Rename syntax_error and continuable_syntax_error to avoid clash
12674 with same-named structured error functions.
12676 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12677 * menubar-msw.c (populate_menu_add_item):
12678 * menubar-msw.c (populate_or_checksum_helper):
12683 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12684 Mule-ize whole file.
12686 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12688 * mule-charset.c (Fmake_charset):
12689 * mule-wnnfns.c (Fwnn_set_param):
12692 * ntproc.c (create_child):
12693 * ntproc.c (Fwin32_set_current_locale):
12694 Add comments portending doom.
12697 * objects-msw.c (old_font_enum_callback_2):
12698 * objects-msw.c (font_enum_callback_1):
12699 * objects-msw.c (mswindows_enumerate_fonts):
12703 * objects-x.c (allocate_nearest_color):
12704 * objects-x.c (x_parse_nearest_color):
12705 * objects-x.c (x_initialize_color_instance):
12706 * objects-x.c (x_print_color_instance):
12707 * objects-x.c (x_finalize_color_instance):
12708 * objects-x.c (x_valid_color_name_p):
12709 * objects-x.c (x_initialize_font_instance):
12710 * objects-x.c (x_print_font_instance):
12711 * objects-x.c (valid_x_font_name_p):
12712 * objects-x.c (truename_via_FONT_prop):
12713 * objects-x.c (truename_via_random_props):
12714 * objects-x.c (truename_via_XListFonts):
12715 * objects-x.c (x_font_truename):
12716 * objects-x.c (x_font_instance_truename):
12717 * objects-x.c (x_font_instance_properties):
12718 * objects-x.c (x_list_fonts):
12719 * objects-x.c (x_find_charset_font):
12720 Mule-ize entire file.
12727 * print.c (std_handle_out_external):
12728 * print.c (debug_print_no_newline):
12729 * print.c (syms_of_print):
12730 Output to all debugger kinds in debug-print.
12731 Fix console-output code under MSWin to actually work.
12733 * process-nt.c (send_signal):
12734 * process-nt.c (nt_create_process):
12735 Use newer Unicode macros.
12737 * process-unix.c (unix_create_process):
12738 * process-unix.c (unix_canonicalize_host_name):
12739 * process-unix.c (unix_open_network_stream):
12745 * search.c (syms_of_search):
12748 * select-msw.c (mswindows_destroy_selection):
12751 * select-x.c (symbol_to_x_atom):
12754 * select.c (syms_of_select):
12757 * sound.c (Fplay_sound_file):
12761 * specifier.c (decode_specifier_type):
12762 * specifier.c (Fvalid_specifier_locale_type_p):
12763 * specifier.c (check_valid_locale_or_locale_type):
12764 * specifier.c (decode_locale):
12765 * specifier.c (decode_locale_type):
12766 * specifier.c (decode_locale_list):
12767 * specifier.c (check_valid_domain):
12768 * specifier.c (decode_specifier_tag_set):
12769 * specifier.c (Fcanonicalize_tag_set):
12770 * specifier.c (Fdefine_specifier_tag):
12771 * specifier.c (Fspecifier_tag_predicate):
12772 * specifier.c (check_valid_inst_list):
12773 * specifier.c (check_valid_spec_list):
12774 * specifier.c (decode_how_to_add_specification):
12775 * specifier.c (check_modifiable_specifier):
12776 * specifier.c (specifier_add_spec):
12777 * specifier.c (boolean_validate):
12778 * specifier.c (display_table_validate):
12781 * specifier.c (syms_of_specifier):
12782 Move some symbols to general-slots.h.
12786 * symbols.c (Fmapatoms):
12787 * symbols.c (Fapropos_internal):
12790 * symbols.c (set_default_buffer_slot_variable):
12791 * symbols.c (set_default_console_slot_variable):
12794 * symbols.c (defsymbol_massage_name_1):
12795 * symbols.c (defkeyword_massage_name):
12796 * symbols.c (deferror_1):
12797 * symbols.c (deferror):
12798 * symbols.c (deferror_massage_name_and_message):
12800 * symeval.h (DEFSYMBOL):
12801 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12803 * symbols.c (syms_of_symbols):
12807 * symsinit.h (init_win32): New.
12808 Also new is syms_of_dialog_mswindows.
12811 Add new Unicode macros, missing Cygwin wide-char functions,
12812 convenience conversion macros for Qmswindows_tstr, macros for
12813 encapsulating required MSWin <-> Cygwin filename conversions,
12814 prototype for dynamically-extracted (not in NT 3.51) functions.
12819 * tooltalk.c (Fadd_tooltalk_message_arg):
12820 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12821 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12824 * tooltalk.c (syms_of_tooltalk):
12828 * unexnt.c (unexec):
12829 Fix up headers, declaration of unexec() to be more standard.
12831 2000-07-20 Martin Buchholz <martin@xemacs.org>
12833 * offix.h: Revert change to guard macros - they're used in offix.c!
12835 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12837 * lisp.h: Defsubred Fdelete.
12839 * console-msw.h: (msprinter_default_printer): Added.
12841 * console-msw.c (msprinter_canonicalize_console_connection):
12842 (msprinter_canonicalize_device_connection): Added.
12844 * device-msw.c (msprinter_default_printer):
12845 (Fmswingows_get_default_printer):
12846 (signal_enum_priner_error):
12847 (Fmswingows_printer_list): Added.
12849 2000-07-19 Martin Buchholz <martin@xemacs.org>
12851 * XEmacs 21.2.35 is released.
12853 2000-07-19 Martin Buchholz <martin@xemacs.org>
12855 * select-x.c (x_handle_selection_request):
12856 Text selected in xemacs and pasted into xterm failed to appear.
12857 Spelling fixes and cosmetic changes.
12859 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12861 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12862 XEmacs frame (fix for doubling chars in dialog boxes).
12864 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12866 * select.c (select_convert_in, select_convert_out):
12867 Don't call intern() every time.
12869 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12870 * select.c (vars_of_select): Initialise them.
12872 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12874 * select.c (selection-coercible-types): New.
12876 * select.c (own-selection-internal):
12877 * select.c (get-selection-internal):
12878 MULE bug fix - these should default to COMPOUND_TEXT and not
12879 STRING for MULE. I think.
12881 * select.c (select_convert_out): Use selection-coercible-types
12882 to find types that we can attempt to perform coercions on.
12884 2000-07-18 Martin Buchholz <martin@xemacs.org>
12888 Add coding: cookie to identify encoding.
12890 * mule-canna.c (CANNA_mode_keys): make static.
12891 Use proper prototypes, even for functions of no arguments.
12892 Remove external prototype for Fding().
12894 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12896 * select.c (syms_of_select): Add missing DEFSUBR.
12898 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12900 * select.c (get_selection_internal, own_selection_internal):
12901 Make the type default to STRING, rather than placing a nil type
12902 into Vselection_alist.
12904 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12906 * gpmevent.c (tty_selection_exists_p):
12907 * gpmevent.c (tty_own_selection):
12908 Updated parameter lists.
12910 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12912 * select.h (selection-alist): Removed declaration.
12914 * select.h (get_local_selection):
12915 * select.c (get_local_selection):
12918 * select.h (convert_selection): Removed declaration.
12919 * select.c (convert_selection): Removed.
12920 This function belongs in Lisp.
12922 * select.h (select_convert_in): Declare.
12923 * select.h (select_convert_out): Declare.
12924 * select.c (select_convert_in): New.
12925 * select.c (select_convert_out): New.
12926 New conversion functions for other files to call.
12928 * select.h (select_notify_buffer_kill): Declare.
12929 * select.c (select_notify_buffer_kill): New.
12930 New functions that get called from kill-buffer.
12932 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12933 X-specific lisp code.
12935 * select.h: Declare some of the lisp-visible functions for
12938 * select.c (clean_local_selection_data): Removed. This was
12939 a disgusting function, and previously should have been in
12940 select-x.c in any case. The functionality is now provided
12941 in select-convert-from-integer (select.el).
12943 * select.c (available-selection-types): Fixed stupidity where
12944 INTEGER and ATOM got added twice. Also add STRING when we see an
12947 * select.c (get-selection-internal): Removed symbol stripping. No
12948 longer causes conversion when data comes from the internal cache.
12950 * select.c (syms_of_select): Added new functions.
12952 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12953 error checking - previously this called abort!
12955 * select-x.c (x_own_selection): Changed comment.
12957 * select-x.c (x_handle_selection_request): Use select_convert_out.
12958 Don't mess with selection-alist; it's an internal variable of select.c.
12960 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12962 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12963 rather than messing with selection-alist.
12965 * select-msw.c (mswindows_get_foreign_selection):
12966 Use TO_INTERNAL_FORMAT rather than hacking.
12968 2000-07-14 Martin Buchholz <martin@xemacs.org>
12970 * process-unix.c (unix_open_multicast_group):
12971 (unix_open_multicast_group): Remove useless casts.
12973 2000-07-13 Martin Buchholz <martin@xemacs.org>
12975 * sound.c (Fplay_sound): Fix `unused variable' warning.
12977 * emacs.c (main): Use correct type for _environ on SCO5.
12979 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12981 * console.h (own_selection_method):
12982 * console.h (selection_exists_p_method):
12983 * console.h (available_selection_types_method): New.
12984 * console.h (register_selection_data_type_method): New.
12985 * console.h (selection_data_type_name): New.
12987 * console-msw.h (mswindows_destroy_selection): Declare it. New
12988 function & alist to track GlobalAlloc()'d handles that need
12989 releasing when the clipboard data gets replaced or emptied.
12991 * event-msw.c (mswindows_wnd_proc): Call it.
12993 * lisp.h, general.c (Qappend): New symbol representing a
12996 * select.c (own-selection-internal):
12997 * select.c (selection-exists-p):
12998 * select.c (available-selection-types): New.
12999 * select.c (register-selection-data-type): New.
13000 * select.c (selection-data-type-name): New. New functions to deal
13001 with device-specific selection data formats.
13002 * select.c (selection-converter-out-alist): Renamed.
13003 * select.c (selection-converter-in-alist): New.
13004 * select.c (selection-appender-alist): New. Added new alists.
13005 * select.c (syms_of_select, vars_of_select): Added new symbols &
13007 * select.c (get_local_selection): Split.
13008 * select.c: Removed spurious type checking - selections may now be
13009 of any type, not just strings.
13010 * select.c (own-selection-internal):
13012 * select.h, select.c (convert_selection): New. Created
13013 convert_selection() function based on get_local_selection().
13014 * select.h, select.c (QCF_*): New symbols representing mswindows
13016 * select.h, select.c (Qreplace_all, Qreplace_existing): New
13017 symbols representing `how-to-add' modes.
13019 * select-msw.c (x_sym_p): New.
13020 * select-msw.c (symbol_to_ms_cf): New.
13021 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
13022 symbols & clipboard formats. Can also handle string names.
13023 * select-msw.c (mswindows_own_selection):
13024 * select-msw.c (mswindows_selection_exists_p):
13025 Added `data-type' parameter. Use it.
13026 * select-msw.c (mswindows_available_selection_types): New.
13027 * select-msw.c (mswindows_register_selection_data_type): New.
13028 * select-msw.c (mswindows_selection_data_type_name): New.
13029 * select-msw.c (mswindows_own_selection):
13030 * select-msw.c (mswindows_get_foreign_selection):
13031 * select-msw.c (mswindows_selection_exists_p): Rewrote.
13032 * select-msw.c (console_create_select_mswindows): Added new methods.
13033 * select-msw.c (mswindows_destroy_selection): New.
13034 * select-msw.c (Vhandle_alist): New list.
13035 * select-msw.c (mswindows_own_selection):
13037 * select-x.c (x_own_selection):
13038 * select-x.c (x_selection_exists_p):
13039 * select-x.c: Added some comments about maybe using new
13041 * select-x.c (x_own_selection):
13043 * specifier.c: Remove definition of Qappend (now in general.c)
13044 * specifier.c (syms_of_specifier): Remove Qappend.
13046 2000-07-12 Martin Buchholz <martin@xemacs.org>
13048 * config.h.in: Add socklen_t.
13050 * s/decosf4-0.h: No special compiler flags needed or desired.
13051 In particular, undefine _BSD for DEC OSF 4.0.
13053 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13055 * redisplay-msw.c (msprinter_frame_output_end): Added.
13056 (console_type_create_redisplay_mswindows): Referred the above.
13058 * frame.c (setup_frame_without_minibuffer): Do not create a
13059 default minibuffer frame on a printer device.
13061 * frame-msw.c (apply_dc_geometry): Added.
13062 (msprinter_start_page):
13063 (msprinter_init_frame_3):
13064 (msprinter_eject_page): Use it.
13066 * console-msw.h (struct msprinter_frame): Added pix_left and top,
13067 and removed residual duplex and orientation properties.
13069 2000-07-11 Martin Buchholz <martin@xemacs.org>
13071 * eval.c (function_argcount): Work around a DEC CC compiler bug.
13073 * unexalpha.c: Remove system prototypes from C sources!
13075 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
13077 * eval.c: Remove references to M-x edit-options in DEFUNs for
13078 `defvar' and `defconst'.
13080 2000-07-09 Martin Buchholz <martin@xemacs.org>
13082 * config.h.in: Remove SMART_INCLUDE hackery.
13084 PostgreSQL hacking:
13085 * config.h.in: Don't use SMART_INCLUDE.
13087 * postgresql.h: Include libpq-fe.h here. Fix typo.
13088 * inline.c: Simply #include "postgresql.h"
13090 - Don't use SMART_INCLUDE
13091 - Use simply "const".
13092 - Use standard doc string conventions.
13093 - Use correct type for result of PQstatus.
13095 2000-07-09 Martin Buchholz <martin@xemacs.org>
13097 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13099 C++ compilation changes.
13100 * config.h.in (EXTERN_C): Define.
13101 * config.h.in (not): This is also a C++ keyword.
13102 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13103 * cm.c: Use EXTERN_C.
13104 * redisplay-tty.c: Use EXTERN_C.
13105 * sysdep.c: Use EXTERN_C. Remove Gould support.
13107 2000-07-09 Martin Buchholz <martin@xemacs.org>
13109 * general.c: Remove duplicate definition for Qfunction.
13111 2000-07-08 Ben Wing <ben@xemacs.org>
13113 * device-msw.c (msprinter_init_device):
13114 * device-msw.c (sync_printer_with_devmode):
13115 * device-msw.c (handle_devmode_changes):
13116 * device-msw.c (print_dialog_worker):
13117 * device-msw.c (Fmsprinter_apply_settings):
13118 * device-msw.c (hash_devmode):
13119 * device-msw.c (Fmsprinter_settings_despecialize):
13120 use Qmswindows_tstr, not Qctext.
13122 * vm-limit.c (check_memory_limits):
13123 avoid infinite loop printing warning messages.
13125 2000-07-05 Craig Lanning <lanning@scra.org>
13127 * Makefile.in.in: Add support for including the Windows resources
13128 when building with the cygwin and mingw targets.
13130 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13131 not set or not correct.
13132 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13133 (init_initial_directory): Don't try to use $PWD on the
13134 WIN32_NATIVE target.
13137 [[Add -mwindows to eliminate console window.]] not required --ben
13138 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13139 (MAIL_USE_POP): removed; now handled by configure.
13141 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13142 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13143 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13144 (MAIL_USE_POP): removed; now handled by configure.
13145 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13146 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13147 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13149 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13150 up from <winsock.h> via systime.h.
13151 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13152 (getpagesize): from Dan Holmsand, added.
13153 Added #endif which was left dangling by Ben's mega patch; added
13154 comment to help prevent this in the future.
13156 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13158 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13160 * console-msw.h (struct mswindows_device): Removed unnecessary
13161 cached device geometry values.
13162 Added update_tick and an accessor macro.
13163 (Lisp_Devmode): Added lrecord declaration.
13164 (struct msprinter_device): Contain devmode as a Lisp object.
13165 Added mswindows_get_selected_frame_hwnd();
13167 * console.h (struct console_methods): Indentation nitpicking.
13169 * device-msw.c (mswindows_init_device): Do not initialize geometry
13170 cache. Initialize update tick.
13171 (mswindows_device_system_metrics): Ask the device for its geometry.
13172 (global_free_2_maybe):
13173 (devmode_to_hglobal):
13174 (handle_printer_changes):
13175 (ensure_not_printing):
13176 (print_dialog_worker):
13177 (Fmsprinter_print_setup_dialog):
13178 (Fmsprinter_print_dialog):
13179 (plist_get_margin):
13180 (plist_set_margin):
13181 (Fmsprinter_page_setup_dialog): Added functions.
13182 (sync_printer_with_devmode):
13183 (handle_devmode_changes):
13184 (Fmsprinter_get_settings):
13185 (Fmsprinter_select_settings):
13186 (Fmsprinter_apply_settings):
13187 (allocate_devmode):
13188 (Fmsprinter_settings_copy):
13189 (Fmsprinter_settings_despecialize):
13191 (finalize_devmode):
13193 (hash_devmode): Added functions
13194 (syms_of_device_mswindows): Init devmode lrecord class.
13196 * device.h: Added an exfun for find-device.
13198 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13199 geometry; although, recreate the device compatible DC.
13201 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13202 (msprinter_init_frame_3):
13203 (msprinter_frame_property):
13204 (msprinter_internal_frame_property_p):
13205 (msprinter_frame_properties):
13206 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13207 print job properties (will move to device settings).
13209 * lisp.h: Added symbols.
13211 * general.c (syms_of_general): Declared them.
13213 * hash.c (string_hash): Added.
13215 * lrecord.h (lrecord_type): Added devmode lrecord type.
13217 2000-07-02 Mike Sperber <mike@xemacs.org>
13219 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13222 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13224 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13227 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13229 * data.c (Fstring_to_number): Don't recognize floating point if
13232 2000-06-22 Martin Buchholz <martin@xemacs.org>
13234 * glyphs-widget.c (tab_control_query_geometry):
13235 (widget_query_geometry):
13236 (button_query_geometry):
13237 * glyphs.c (text_query_geometry):
13238 Enforce type correctness.
13240 2000-06-18 Martin Buchholz <martin@xemacs.org>
13242 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13243 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13245 2000-06-17 Martin Buchholz <martin@xemacs.org>
13247 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13248 conflicts with gcc's fixincluded version of FOO.h.
13250 * glyphs.h (image_instance_geometry): Remove trailing `,'
13252 2000-06-08 Mike Alexander <mta@arbortext.com>
13254 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13255 (shove_thread): Don't write the same output twice
13256 (make_ntpipe_output_stream): Increase priority of shove thread
13257 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13259 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13262 2000-06-12 Ben Wing <ben@xemacs.org>
13264 * s\mingw32.h (sigset):
13265 * s\windowsnt.h (sigset):
13266 rename msw_ to mswindows_ for consistency with general convention.
13268 2000-06-12 Ben Wing <ben@xemacs.org>
13271 * console-msw.c (mswindows_get_console_hwnd):
13272 * console-msw.c (mswindows_ensure_console_allocated):
13273 * console-msw.c (mswindows_hide_console):
13274 * console-msw.c (mswindows_show_console):
13275 * console-msw.c (mswindows_ensure_console_buffered):
13276 * console-msw.c (mswindows_output_console_string):
13277 * console-msw.c (mswindows_windows9x_p):
13279 * device-msw.c (mswindows_get_workspace_coords):
13280 * device-msw.c (mswindows_device_system_metrics):
13281 * dialog-msw.c (mswindows_popup_dialog_box):
13282 * event-msw.c (mswindows_wnd_proc):
13283 * frame-msw.c (mswindows_size_frame_internal):
13284 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13285 * menubar-msw.c (displayable_menu_item):
13286 * menubar-msw.c (mswindows_char_is_accelerator):
13288 * nt.c (mswindows_sigset):
13289 * nt.c (mswindows_sigrelse):
13290 * nt.c (mswindows_sigpause):
13291 * nt.c (mswindows_raise):
13292 * nt.c (timer_proc):
13294 * ntproc.c (find_child_console):
13295 * ntproc.c (sys_kill):
13297 * print.c (std_handle_out_external):
13298 * process-nt.c (find_child_console):
13299 * process-nt.c (send_signal_the_95_way):
13300 * process-nt.c (ensure_console_window_exists):
13301 * process-nt.c (nt_create_process):
13303 rename msw_ to mswindows_ for consistency with general convention.
13307 include nt.h, not syswindows.h.
13309 * nt.c (mswindows_fstat):
13310 * nt.c (mswindows_stat):
13311 prefix mswindows_ instead of attempting to directly override the
13312 library functions. fix declarations.
13315 include syswindows.h. move some sysdep.h stuff here.
13318 include syswindows.h, not <windows.h>.
13326 * sysdep.c (sys_fstat):
13327 * sysdep.c (sys_stat):
13328 call mswindows versions when appropriate.
13331 move mswin decls to nt.h.
13334 add long comment describing appropriate use of the various windows
13337 2000-06-11 Ben Wing <ben@xemacs.org>
13339 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13341 2000-06-10 Ben Wing <ben@xemacs.org>
13343 * Makefile.in.in (release):
13344 Correction to make sure xemacs.exe always dumped when correct.
13348 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13350 * buffer.c (set_buffer_internal):
13351 [[[[2]]]]: Remove HAVE_FEP code.
13353 * buffer.c (init_initial_directory):
13357 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13361 * callproc.c (call_process_cleanup):
13362 * callproc.c (Fold_call_process_internal):
13363 * callproc.c (child_setup):
13364 * callproc.c (getenv_internal):
13365 * callproc.c (init_callproc):
13366 * callproc.c (vars_of_callproc):
13367 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13368 __CYGWIN32__ -> CYGWIN.
13369 DOS_NT -> WIN32_NATIVE.
13370 Remove MSDOS support/references, converting to WIN32_NATIVE
13372 __MINGW32__ -> MINGW.
13373 Fix windows.h includes.
13374 Remove bogus HAVE_NTGUI.
13380 mswindows_message_outputted added for use in allowing startup
13381 errors on the console to be seen.
13383 * console-msw.c (msw_ensure_console_allocated):
13384 * console-msw.c (msw_output_console_string):
13385 * console-msw.c (DHEADER):
13386 * console-msw.c (DOPAQUE_DATA):
13387 * console-msw.c (DEVENT):
13388 * console-msw.c (DCONS):
13389 * console-msw.c (DCONSCDR):
13390 * console-msw.c (DSTRING):
13391 * console-msw.c (DVECTOR):
13392 * console-msw.c (DSYMBOL):
13393 * console-msw.c (DSYMNAME):
13396 * console-stream.c (stream_init_console):
13397 Fix text/binary problems.
13400 * device-msw.c (mswindows_finish_init_device):
13401 * device-msw.c (mswindows_delete_device):
13404 * device.c (handle_asynch_device_change):
13408 * dgif_lib.c (DGifOpenFileName):
13409 * dgif_lib.c (DGifOpenFileHandle):
13410 * dgif_lib.c (DGifGetLine):
13411 * dgif_lib.c (DGifGetPixel):
13412 Added config.h/lisp.h, fix up includes.
13419 * dired.c (file_name_completion):
13420 * dired.c (Ffile_attributes):
13421 * dired.c (syms_of_dired):
13425 * dumper.c (pdump_file_unmap):
13426 * dumper.c (pdump_load):
13430 * editfns.c (Ftemp_directory):
13431 * editfns.c (user_login_name):
13432 * editfns.c (Fuser_real_login_name):
13433 * editfns.c (get_home_directory):
13436 * elhash.c (finish_marking_weak_hash_tables):
13437 [[[[5]]]]: Fix GCC warnings.
13440 * emacs.c (mswindows_handle_hardware_exceptions):
13441 * emacs.c (make_arg_list_1):
13442 * emacs.c (main_1):
13443 * emacs.c (Fkill_emacs):
13444 * emacs.c (Fdump_emacs):
13446 Fix problems with nested crashes, add long comment.
13448 * event-Xt.c (init_event_Xt_late):
13452 * event-msw.c (mswindows_dde_callback):
13453 * event-msw.c (mswindows_handle_sticky_modifiers):
13454 * event-msw.c (mswindows_wnd_proc):
13458 * events.c (character_to_event):
13462 * fileio.c (Ffile_name_directory):
13463 * fileio.c (Ffile_name_nondirectory):
13464 * fileio.c (directory_file_name):
13465 * fileio.c (Fexpand_file_name):
13466 * fileio.c (Fsubstitute_in_file_name):
13467 * fileio.c (Ffile_name_absolute_p):
13468 * fileio.c (check_executable):
13469 * fileio.c (Ffile_readable_p):
13470 * fileio.c (Ffile_accessible_directory_p):
13471 * fileio.c (Ffile_modes):
13472 * fileio.c (Funix_sync):
13473 * fileio.c (vars_of_fileio):
13476 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13478 Expand getdefdir defn.
13479 Fix bogus rename() comment.
13481 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13482 to use standard XEmacs include files, e.g. sysfile.h, rather
13483 than system-specific includes.
13489 * frame.c (vars_of_frame):
13493 * getloadavg.c (getloadavg):
13495 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13496 (We don't use it elsewhere in the code; just add a comment.)
13503 * glyphs-msw.c (mswindows_resource_instantiate):
13506 * glyphs-x.c (x_native_layout_instantiate):
13509 * gui-msw.c (Fmswindows_shell_execute):
13518 * lread.c (locate_file_in_directory_mapper):
13525 * mem-limits.h (get_lim_data):
13537 * nt.c (rva_to_section):
13538 * nt.c (mswindows_executable_type):
13540 Fix closedir() defn.
13543 [[[[8]]]]: *_OK defs moved to sysfile.h.
13552 * print.c (std_handle_out_external):
13556 * process-nt.c (nt_create_process):
13558 try to fix process quoting somewhat.
13560 * process-unix.c (unix_create_process):
13564 * process.c (vars_of_process):
13571 * realpath.c (xrealpath):
13574 * redisplay-tty.c (init_tty_for_redisplay):
13584 * sheap.c (more_static_core):
13585 * sheap.c (report_sheap_usage):
13589 * signal.c (alarm_signal):
13596 * strftime.c (zone_name):
13599 * symsinit.h (init_sunpro):
13603 commctrl.h not in Cygwin b20.1.
13606 * sysdep.c (endif):
13607 * sysdep.c (sys_subshell):
13608 * sysdep.c (init_baud_rate):
13609 * sysdep.c (emacs_get_tty):
13610 * sysdep.c (emacs_set_tty):
13611 * sysdep.c (tty_init_sys_modes_on_device):
13612 * sysdep.c (init_system_name):
13613 * sysdep.c (sys_open):
13614 * sysdep.c (interruptible_open):
13615 * sysdep.c (sys_fopen):
13616 * sysdep.c (sys_mkdir):
13617 * sysdep.c (sys_rename):
13618 * sysdep.c (get_process_times_1):
13625 * sysdir.h (DIRENTRY_NONEMPTY):
13628 * sysdll.c (dll_init):
13634 added text/binary defs.
13640 * sysproc.h (EDESTADDRREQ):
13641 * sysproc.h (poll_fds_for_input):
13658 Always define WIN32_LEAN_AND_MEAN.
13660 * unexcw.c (unexec):
13664 * unexec.c (copy_text_and_data):
13665 * unexec.c (adjust_lnnoptrs):
13669 * unexnt.c (_start):
13672 2000-06-07 Ben Wing <ben@xemacs.org>
13674 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13675 was used only as a model. We've long since extracted any useful
13676 logic or code out of this. (I just did an exhaustive search.)
13678 * s\msdos.h: Removed.
13680 * s\windows95.h: Removed.
13682 2000-06-10 Ben Wing <ben@xemacs.org>
13686 Don't use extern with fun defs.
13690 Remove nt\inc include.
13691 Remove getdisk, getdefdir. (The former is unused, the latter
13692 expanded in fileio.h.)
13695 * s\windowsnt.h (WIN32_NATIVE):
13696 * s\windowsnt.h (HAVE_STRCASECMP):
13698 Add long comment about preprocessor changes.
13699 Remove getdisk, getdefdir. (The former is unused, the latter
13700 expanded in fileio.h.)
13702 2000-06-10 Ben Wing <ben@xemacs.org>
13711 Remove bogus/unused NO_SOCK_SIGIO.
13713 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13715 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13718 2000-06-04 Mike Sperber <mike@xemacs.org>
13720 * casetab.c (set_case_table): For `set-standard-case-table',
13721 actually deposit the new case tables where the rest of XEmacs can
13724 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13726 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13728 2000-06-05 Ben Wing <ben@xemacs.org>
13730 * callproc.c (child_setup): Don't do close_load_descs() under
13731 MS Windows. Put in a comment explaining why.
13733 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13735 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13736 Toolkit shell" which breaks `kill-compilation' on Windows NT
13737 native, retaining STDERR handling improvements.
13739 2000-06-01 Andreas Jaeger <aj@suse.de>
13741 * s/s390.h: Support for S390, based on a patch by Martin
13742 Schwidefsky <schwidefsky@de.ibm.com>.
13744 2000-05-30 Andy Piper <andy@xemacs.org>
13746 * window.c (allocate_window):
13747 (make_dummy_parent):
13748 (Fset_window_configuration): use new hashtable type.
13750 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13751 (struct image_instantiator_methods):
13752 (struct Lisp_Image_Instance): make instance geometry signed.
13754 * glyphs.c (instantiate_image_instantiator):
13755 (image_instance_query_geometry):
13756 (image_instance_layout):
13757 (image_instance_layout):
13758 (query_string_geometry):
13759 (text_query_geometry):
13760 (image_instantiate):
13761 (image_instantiate):
13762 (cache_subwindow_instance_in_frame_maybe):
13763 (subwindow_query_geometry): make instance geometry signed.
13765 * glyphs-widget.c (widget_query_geometry):
13767 (button_query_geometry):
13768 (tree_view_query_geometry):
13769 (tab_control_query_geometry):
13770 (layout_query_geometry):
13772 (native_layout_layout): make instance geometry signed.
13774 2000-05-29 Olivier Galibert <galibert@pobox.com>
13776 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13779 * general.c (syms_of_general): Add Qfull_assoc symbol.
13781 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13783 (decode_weak_list_type): Decode full-assoc type.
13784 (encode_weak_list_type): Encode full-assoc type.
13785 (Fmake_weak_list): Update doc string.
13787 2000-05-30 Andy Piper <andy@xemacs.org>
13789 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13791 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13792 (decode_hash_table_weakness): ditto.
13793 (Fhash_table_weakness): ditto.
13794 (Fhash_table_type): ditto.
13795 (finish_marking_weak_hash_tables): ditto.
13796 (hash_table_weakness_validate): ditto.
13797 (syms_of_elhash): ditto.
13799 2000-05-28 Martin Buchholz <martin@xemacs.org>
13801 * XEmacs 21.2.34 is released.
13803 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13805 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13807 (updating_line_start_cache): Gone.
13808 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13809 generic code to force a minimum of 1 line laid out in the
13812 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13814 * glyphs.c (instantiate_image_instantiator): Check for initialized
13815 height & width no longer special cases IMAGE_NOTHING.
13816 (nothing_instantiate): Set height and width of instance.
13818 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13820 * unexelf.c (unexec): Search for ".data" section.
13821 Initialize new_data2_offset from old_data_index.
13822 Remove redundant check for ElfW.
13824 2000-05-23 Andy Piper <andy@xemacs.org>
13826 * glyphs.c (get_image_instantiator_governing_domain): allow more
13827 specific domains as the governing domain rather than expecting an
13828 exact match. This fixes problems with layouts.
13830 2000-05-22 Andy Piper <andy@xemacs.org>
13832 * redisplay-output.c (compare_runes): check for non-images
13834 * glyphs.c (set_glyph_dirty_p): ditto.
13835 (update_glyph_cachel_data): ditto.
13837 * glyphs-widget.c (layout_post_instantiate): ditto.
13838 (layout_post_instantiate): ditto.
13840 * event-msw.c (mswindows_wnd_proc): warning removal.
13842 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13844 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13846 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13848 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13850 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13851 (mswindows_executable_type): mingw32 now has enough headers for
13854 2000-05-20 Andy Piper <andy@xemacs.org>
13856 * console-msw.c (mswindows_output_last_error): ; -> ,
13858 2000-05-12 Andy Piper <andy@xemacs.org>
13860 * console-msw.c (FROB): compare ints with ints.
13862 2000-05-11 Andy Piper <andy@xemacs.org>
13864 * glyphs-x.c (x_finalize_image_instance): make minimal build
13867 2000-05-20 Ben Wing <ben@xemacs.org>
13870 * event-Xt.c (vars_of_event_Xt):
13871 move modifier-keys-are-sticky to event-stream.c.
13874 * event-msw.c (mswindows_enqueue_mouse_button_event):
13875 * event-msw.c (key_needs_default_processing_p):
13876 * event-msw.c (XEMSW_LCONTROL):
13877 * event-msw.c (mswindows_handle_sticky_modifiers):
13878 * event-msw.c (FROB):
13879 * event-msw.c (clear_sticky_modifiers):
13880 * event-msw.c (output_modifier_keyboard_state):
13881 * event-msw.c (output_alt_keyboard_state):
13882 * event-msw.c (mswindows_wnd_proc):
13883 * event-msw.c (mswindows_modifier_state):
13884 * event-msw.c (emacs_mswindows_handle_magic_event):
13885 implement sticky modifiers.
13888 * event-stream.c (vars_of_event_stream):
13889 move modifier-keys-are-sticky here.
13892 add CHECK_FUNCTION.
13895 implement map-range-table.
13898 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13900 * redisplay-tty.c (reset_tty_modes):
13901 (tty_redisplay_shutdown): Adjust argument type to
13902 tty_frame_output_end.
13904 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13906 * eval.c (Fbacktrace): Don't output a line with only right
13909 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13911 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13912 (Fpq_reset_poll): Ditto.
13914 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13916 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13918 2000-05-16 Ben Wing <ben@xemacs.org>
13921 * buffer.c (dfc_convert_to/from_internal_format):
13922 * buffer.c (reinit_vars_of_buffer):
13923 Fix conversion functions to allow reentrancy.
13926 * console-msw.c (mswindows_output_last_error):
13927 New fun, generally useful -- output a human-readable
13928 version of GetLastError() on the console.
13931 * console-msw.h (struct mswindows_frame):
13932 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13934 * console-stream.c (stream_output_begin):
13935 * console-stream.c (stream_output_end):
13936 * console-stream.c (stream_output_vertical_divider):
13937 * console-stream.c (stream_clear_region):
13938 * console-stream.c (stream_flash):
13939 * console-stream.c (console_type_create_stream):
13940 Delete blank stream methods, not needed.
13942 * console.h (struct console_methods):
13943 Split begin/end methods into window and frame.
13946 * event-msw.c (mswindows_handle_paint):
13947 * event-msw.c (output_alt_keyboard_state):
13948 * event-msw.c (mswindows_wnd_proc):
13949 * event-msw.c (vars_of_event_mswindows):
13950 Comment about problems with ignored-expose.
13951 Define mswindows-debug-events; not really implemented.
13953 * frame-msw.c (mswindows_init_frame_1):
13957 * glyphs-msw.c (begin_defer_window_pos):
13958 * glyphs-msw.c (mswindows_unmap_subwindow):
13959 * glyphs-msw.c (mswindows_map_subwindow):
13960 * glyphs-msw.c (mswindows_resize_subwindow):
13961 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13963 * glyphs.c (make_image_instance_1):
13966 * gutter.c (Fredisplay_gutter_area):
13967 Use new begin/end methods.
13969 * lisp.h (Dynarr_new2):
13973 * redisplay-msw.c (mswindows_frame_output_begin):
13974 * redisplay-msw.c (mswindows_frame_output_end):
13975 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13976 New begin/end methods -- handle DeferWindowPos.
13978 * redisplay-output.c (redisplay_move_cursor):
13979 * redisplay-output.c (redraw_cursor_in_window):
13980 * redisplay-output.c (redisplay_update_line):
13981 * redisplay-output.c (redisplay_output_window):
13982 New begin/end methods.
13985 * redisplay-tty.c (tty_frame_output_begin):
13986 * redisplay-tty.c (tty_frame_output_end):
13987 * redisplay-tty.c (console_type_create_redisplay_tty):
13988 New begin/end methods.
13991 * redisplay-x.c (x_window_output_begin):
13992 * redisplay-x.c (x_window_output_end):
13993 * redisplay-x.c (console_type_create_redisplay_x):
13994 New begin/end methods.
13996 * redisplay.c (redisplay_frame):
13997 * redisplay.c (Fredisplay_echo_area):
13998 New begin/end methods.
13999 use MAYBE_DEVMETH for clear_frame; it may not exist.
14001 * window.h (WINDOW_XFRAME):
14002 WINDOW_XFOO macros -- get locale and decode struct pointer.
14005 2000-05-12 Ben Wing <ben@xemacs.org>
14008 * emacs.c (ensure_no_quitting_from_now_on):
14009 * emacs.c (fatal_error_signal):
14010 * emacs.c (mswindows_handle_hardware_exceptions):
14012 * emacs.c (Fkill_emacs):
14013 * emacs.c (shut_down_emacs):
14014 * emacs.c (assert_failed):
14015 various improvements in fatal error handling.
14018 move preparing_for_armageddon to emacs.c.
14021 declare fatal_error_in_progress.
14024 * print.c (std_handle_out_external):
14025 * print.c (std_handle_out_va):
14026 * print.c (stderr_out):
14027 * print.c (stdout_out):
14028 use console under mswin when no standard output.
14029 don't do code conversion during fatal error.
14031 * scrollbar.c (Fscrollbar_page_up):
14032 * scrollbar.c (Fscrollbar_page_down):
14033 fix missing else. reindent.
14035 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
14039 * glyphs.h (GLYPH_CACHEL_DESCENT):
14040 (GLYPH_CACHEL_DESCENT):
14041 (GLYPH_CACHEL_DESCENT):
14042 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
14043 used in case these are inline functions.
14044 Use more absurd values to error check.
14046 include window.h for error check functions.
14048 2000-05-11 Ben Wing <ben@xemacs.org>
14050 * cmdloop.c (Freally_early_error_handler):
14051 Display message box under windows; otherwise, message will disappear
14052 before it can be viewed.
14055 * console-msw.c (Fmswindows_message_box):
14056 * console-msw.c (FROB):
14057 * console-msw.c (syms_of_console_mswindows):
14058 Define new fun `mswindows-message-box'.
14059 #### I will merge this into `popup-dialog-box'; just give me
14063 * general.c (syms_of_general):
14064 Some new symbols used in `mswindows-message-box'.
14067 * glyphs.c (Fset_image_instance_property):
14068 put warning in this fun.
14071 * glyphs.h (GLYPH_CACHEL_WIDTH):
14072 * glyphs.h (GLYPH_CACHEL_ASCENT):
14073 * glyphs.h (GLYPH_CACHEL):
14074 * glyphs.h (GLYPH_CACHEL_GLYPH):
14075 define error-checking versions to try to catch a bug i've seen --
14076 redisplay gets in an infinite loop because the glyph width of the
14077 continuation glyph is 65535.
14080 Extern message-box stuff.
14082 * window.c (allocate_window):
14083 * window.c (make_dummy_parent):
14084 * window.c (Fset_window_configuration):
14085 Use EQUAL not EQ for subwindow caches to make them work a bit
14086 better. (Something is still very broken.)
14089 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14091 * glyphs.c (image_instantiate): Suppress gcc warnings.
14092 (Fmake_image_instance): Fix doc string.
14093 * specifier.c (Fmake_specifier): Ditto.
14095 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14097 * paths.h.in (PATH_LOCK): Removed.
14098 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14099 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14101 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14103 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14104 Document (featurep '(and xemacs 21.02)).
14106 2000-05-09 Ben Wing <ben@xemacs.org>
14108 * buffer.c (complex_vars_of_buffer):
14109 update modeline-format doc.
14112 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14115 timeline of all released versions of Emacs, for use in creating
14116 authorship comments and in synching up.
14118 * glyphs-widget.c (image_instantiator_buttons):
14119 * glyphs-widget.c (image_instantiator_edit_fields):
14120 * glyphs-widget.c (image_instantiator_combo_box):
14121 * glyphs-widget.c (image_instantiator_scrollbar):
14122 * glyphs-widget.c (image_instantiator_progress_guage):
14123 * glyphs-widget.c (image_instantiator_tree_view):
14124 * glyphs-widget.c (image_instantiator_tab_control):
14125 * glyphs-widget.c (image_instantiator_labels):
14126 * glyphs-widget.c (image_instantiator_layout):
14127 * glyphs-widget.c (image_instantiator_native_layout):
14128 rename decode_domain method to governing_domain.
14131 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14132 * glyphs.c (add_entry_to_device_ii_format_list):
14133 make sure we don't put an entry more than once into the list.
14134 * glyphs.c (check_instance_cache_mapper):
14135 *************************************************************
14136 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14138 *************************************************************
14139 * glyphs.c (get_image_instantiator_governing_domain):
14140 clean up, expand on new concept of governing domain.
14141 * glyphs.c (instantiate_image_instantiator):
14142 * glyphs.c (allocate_image_instance):
14143 use governing_domain instead of cache_domain in naming.
14144 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14145 * glyphs.c (make_image_instance_1):
14146 * glyphs.c (Fmake_image_instance):
14147 allow for any domain (not just device), and process the
14148 governing domain correctly. very big doc fix.
14149 * glyphs.c (Fimage_instance_domain):
14150 new primitive, to retrieve the governing domain of an image instance.
14151 * glyphs.c (image_instantiate):
14152 use new governing_domain stuff. this fixes a crash you could get
14153 by instantiating certain widget glyphs in frame locales. (should
14154 signal an error instead of crashing.)
14155 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14156 * glyphs.c (Fglyphp): clean up doc.
14157 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14158 * glyphs.c (syms_of_glyphs):
14159 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14160 * glyphs.c (image_instantiator_format_create): add some comments about
14162 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14163 for current-display-table. (Apparently Hrjove implemented in 1998 a
14164 design I wrote up in 1996, but didn't update the doc string.)
14166 * glyphs.h: clean up a doc string.
14167 * glyphs.h (governing_domain):
14168 * glyphs.h (struct image_instantiator_methods):
14169 changes for governing_domain stuff.
14172 * gutter.c (Fgutter_specifier_p):
14173 * gutter.c (Fgutter_size_specifier_p):
14174 * gutter.c (Fgutter_visible_specifier_p):
14176 * objects.c (Fcolor_specifier_p):
14177 * objects.c (Ffont_specifier_p):
14178 * objects.c (Fface_boolean_specifier_p):
14179 doc strings moved to make-*-specifier.
14181 * redisplay.c (add_disp_table_entry_runes_1):
14182 * redisplay.c (generate_fstring_runes):
14183 * redisplay.c (screen):
14184 add random comments and doc strings.
14187 * specifier.c (Fmake_specifier):
14188 major overhaul of this doc string.
14190 * specifier.c (Fvalid_specifier_domain_p):
14191 comment about the bogosity of image instances being domains.
14192 * specifier.c (decode_domain):
14193 now non-static, used in glyphs.c.
14194 * specifier.c (specifier_instance):
14195 comment about the bogosity of image instances being domains.
14196 * specifier.c (Fgeneric_specifier_p):
14197 move doc string to make-generic-specifier.
14198 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14202 * specifier.h (DOMAIN_FRAME):
14203 * specifier.h (DOMAIN_LIVE_P):
14204 * specifier.h (DOMAIN_XDEVICE):
14206 add comments about problems with these macros.
14207 prototype for decode_domain.
14210 * toolbar.c (Ftoolbar_specifier_p):
14211 move doc string to `make-toolbar-specifier'.
14213 * window.c (window_unmap_subwindows_cache_mapper):
14214 *************************************************************
14215 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14217 *************************************************************
14219 2000-05-09 Andy Piper <andy@xemacs.org>
14221 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14223 * window.c (Fset_window_configuration): reset the frame subwindow
14224 cache and re-initialize the window subwindow caches.
14226 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14228 2000-05-09 Ben Wing <ben@xemacs.org>
14230 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14233 2000-04-26 Mike Woolley <mike@bulsara.com>
14235 * ntheap.c: Changed recreate_heap to limit the amount reserved
14236 for the heap to that which is actually available. Also now
14237 displays a message box (with some dignostics) in the event that
14238 it still can't start.
14240 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14242 * callproc.c (Fold_call_process_internal): GCPRO path
14244 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14246 Patch by Bill Perry.
14248 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14249 back data instead of #ifdef.
14250 (Fscrollbar_page_down): ditto.
14252 2000-05-07 Ben Wing <ben@xemacs.org>
14255 Kludge for defining Qmswindows_tstr.
14258 * nt.c (open_input_file):
14259 * nt.c (open_output_file):
14260 * nt.c (rva_to_section):
14261 * nt.c (mswindows_executable_type):
14262 Move all memory-mapped-file routines here (some were in unexnt.c,
14263 which is bad because they are used by process-nt.c, and unexnt
14264 won't be around when portable dumping). Synched the above routines
14268 Removed ifdef'd out bogus code.
14269 Fixed some prototypes.
14271 * nt.h (file_data):
14272 * nt.h (OFFSET_TO_RVA):
14273 * nt.h (RVA_TO_OFFSET):
14274 * nt.h (RVA_TO_PTR):
14275 Moved the memory-mapped-file structures, macros and prototypes
14276 here, to parallel nt.c. ntheap.h should really be removed
14277 entirely, and it's a non-portable-dumper specific file.
14279 * ntheap.h (round_to_next):
14280 Moved the memory-mapped-file structures, macros and prototypes
14283 * ntproc.c (compare_env):
14284 Moved rva_to_section and mswindows_executable_type to nt.c.
14285 Moved compare_env to process-nt.c.
14286 ntproc.c will die, one day.
14288 * ntproc.c (sys_spawnve):
14289 Account for win32_ -> mswindows_.
14292 * process-nt.c (struct nt_process_data):
14293 * process-nt.c (ensure_console_window_exists):
14294 * process-nt.c (compare_env):
14295 * process-nt.c (nt_create_process):
14296 * process-nt.c (nt_kill_process_by_pid):
14297 * process-nt.c (syms_of_process_nt):
14298 * process-nt.c (vars_of_process_nt):
14299 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14300 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14301 changes). Eliminate our old `nt-quote-process-args' mechanism.
14302 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14303 Move compare_env here from ntproc.c.
14305 * process.c (Fprocess_send_region):
14306 Takes an optional fourth argument, BUFFER, which should fix some
14307 problems with call-process.
14310 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14313 Move ICC_BAR_CLASSES to syscommctrl.h.
14314 Add preliminary macros for MSWindows/Mule. More to come.
14317 * unexnt.c (unexec):
14318 open_output_file moved to nt.c.
14321 2000-05-05 Andy Piper <andy@xemacs.org>
14323 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14324 instance from the frame cache also since GC may catch up too late
14325 to make frame deletion sane.
14327 2000-05-04 Andy Piper <andy@xemacs.org>
14329 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14330 (x_finalize_image_instance): ungcpro on deletion.
14332 * glyphs.c (image_instantiator_format_create): give pointers a
14333 query geometry method so that the geometry is at least set.
14335 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14336 initialize layouts if using widgets.
14338 2000-05-03 Andy Piper <andy@xemacs.org>
14340 * nt.c: remove bogus reference to sysmmsystem.h
14342 * gui-x.c (popup_selection_callback): fix no selection abort.
14344 2000-05-02 Andy Piper <andy@xemacs.org>
14346 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14347 (mswindows_widget_instantiate): ditto.
14349 * glyphs-widget.c (initialize_widget_image_instance): initialize
14350 children correctly.
14351 (widget_instantiate): cope with children and items in the same
14354 * glyphs.c (mark_image_instance): cope with children as a first
14356 (image_instance_equal): ditto.
14357 (image_instance_hash): ditto.
14358 (image_instance_changed): ditto.
14360 2000-04-30 Andy Piper <andy@xemacs.org>
14362 * glyphs.c (subwindow_query_geometry): new function. Return some
14364 (subwindow_instantiate): don't assign dimensions if none have been
14366 (image_instantiator_format_create): add subwindow_query_geometry.
14367 (print_image_instance): cope with layouts as widgets.
14369 2000-04-29 Andy Piper <andy@xemacs.org>
14371 * frame.c (delete_frame_internal): call
14372 free_frame_subwindow_instance_cache so that all subwindows are
14373 finalized before their parent.
14374 (mark_frame): remove subwindow_cachels.
14375 (Fmake_frame): remove subwindow_cachel manipulation.
14376 (allocate_frame_core): subwindow_instance_cache is a weak list.
14377 (delete_frame_internal): set subwindow_instance_cache to nil.
14379 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14381 (mswindows_finalize_image_instance): use the device
14382 not the domain as the domain may have died already.
14384 * glyphs-x.c (x_finalize_image_instance): ditto.
14385 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14388 * redisplay-output.c (redisplay_unmap_subwindows): update for
14389 subwindow instance cache as a weak list.
14390 (redisplay_unmap_subwindows_maybe): ditto.
14391 (redisplay_unmap_subwindows_except_us): ditto.
14393 * glyphs.c (unmap_subwindow): error checking will check the domain
14394 so don't deal with it here. Don't use cachels anymore.
14395 (map_subwindow): ditto.
14396 (update_subwindow_cachel_data): remove old accessor names.
14397 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14398 (Fresize_subwindow): don't update cachel.
14399 (mark_subwindow_cachels):
14400 (update_subwindow_cachel_data):
14401 (add_subwindow_cachel):
14402 (get_subwindow_cachel_index):
14403 (update_subwindow_cachel):
14404 (reset_subwindow_cachels):
14405 (mark_subwindow_cachels_as_not_updated): deleted.
14406 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14407 subwindow instance to the frame cache.
14408 (find_matching_subwindow): update for subwindow instance cache as
14410 (update_widget_instances): ditto.
14411 (image_instance_type_to_mask):inlined.
14412 (free_frame_subwindow_instance_cache): new function. finalize all
14413 subwindows that are instantiated.
14415 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14416 of cachel information.
14417 (IMAGE_INSTANCE_DISPLAY_X):
14418 (IMAGE_INSTANCE_DISPLAY_Y):
14419 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14420 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14421 (XIMAGE_INSTANCE_DISPLAY_X):
14422 (XIMAGE_INSTANCE_DISPLAY_Y):
14423 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14424 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14425 remove subwindow_cachel structure and function references.
14426 (image_instance_type_to_mask): inline from glyphs.c
14428 * redisplay.c (redisplay_frame): remove subwindow_cachel
14431 * frame.h (struct frame): remove subwindow_cachels.
14432 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14434 * frameslots.h: add subwindow_instance_cache.
14436 * window.c (replace_window): check subwindow cache of replacement.
14437 (window_unmap_subwindows_cache_mapper):
14438 (window_unmap_subwindows): new functions. Unmap all subwindows
14439 cached on this window.
14440 (mark_window_as_deleted): unmap all subwindows.
14442 2000-04-27 Andy Piper <andy@xemacs.org>
14444 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14446 * glyphs-widget.c (widget_layout): return something.
14447 (layout_layout): return something. Fail if not initialized.
14448 (layout_query_geometry): ditto.
14449 (image_instantiator_native_layout): new function. Initialized the
14450 native layout type.
14451 (widget_instantiate): don't do layout stuff here.
14453 * glyphs.c (instantiate_image_instantiator): reorded calling or
14454 instantiate and post_instantiate with layout in between.
14455 (image_instance_layout): be more selective about deciding whether
14456 the layout has been done or not.
14458 * glyphs.h (struct image_instantiator_methods): return a value
14459 from layout_method.
14461 2000-04-26 Andy Piper <andy@xemacs.org>
14463 * glyphs.c (allocate_image_instance): make initial width and
14464 height unspecified. Set initialized to 0.
14466 * syscommctrl.h new file. Encapsulates commctrl.h.
14468 * syswindows.h new file. Encapsulates windows.h.
14470 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14472 * console-msw.h: ditto.
14474 * redisplay-tty.c (tty_output_display_block): remove layout references.
14476 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14477 window handle rather than just the frame.
14479 * glyphs.c (mark_image_instance): remove layout references.
14480 (print_image_instance): ditto.
14481 (image_instance_equal): ditto.
14482 (image_instance_hash): ditto.
14483 (decode_image_instance_type): ditto.
14484 (encode_image_instance_type): ditto.
14485 (image_instantiate): ditto.
14486 (allocate_glyph): ditto.
14487 (Fimage_instance_height): ditto.
14488 (Fimage_instance_width): ditto.
14489 (update_subwindow): ditto.
14491 * redisplay-x.c (x_output_display_block): recode for layouts as
14494 * redisplay-output.c (redisplay_output_layout): recode for layouts
14496 (compare_runes): remove layout references.
14498 * redisplay-msw.c (mswindows_output_display_block): recode for
14499 layouts as widgets.
14501 * glyphs-widget.c (image_instantiator_layout): remove
14502 layout_possible_dest_types.
14503 (layout_possible_dest_types): deleted.
14505 * glyphs.h (image_instance_type): remove layout references.
14506 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14507 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14508 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14510 2000-04-25 Andy Piper <andy@xemacs.org>
14512 * glyphs-widget.c (image_instantiator_buttons):
14513 (image_instantiator_edit_fields):
14514 (image_instantiator_combo_box):
14515 (image_instantiator_scrollbar):
14516 (image_instantiator_progress_guage):
14517 (image_instantiator_tree_view):
14518 (image_instantiator_tab_control):
14519 (image_instantiator_labels):
14520 (image_instantiator_layout): call default post_instantiate method.
14521 (widget_post_instantiate): new function. Simply lays out the
14524 * glyphs.h (struct image_instantiator_methods): add
14525 post_instantiate method.
14527 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14530 2000-04-23 Andy Piper <andy@xemacs.org>
14532 * glyphs.h (struct image_instantiator_methods): add
14533 decode_domain_method.
14534 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14535 derived from the domain.
14536 (IMAGE_INSTANCE_FRAME): new accessor.
14537 (XIMAGE_INSTANCE_FRAME): ditto.
14539 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14540 instead of _SUBWINDOW_FRAME.
14541 (finalize_image_instance): ditto.
14542 (Fimage_instance_foreground): ditto.
14543 (Fimage_instance_background): ditto.
14544 (image_instantiate): ditto.
14545 (update_subwindow_cachel): ditto.
14546 (update_subwindow): ditto.
14547 (unmap_subwindow): ditto.
14548 (map_subwindow): ditto
14549 (subwindow_instantiate): ditto.
14550 * glyphs-msw.c (mswindows_update_widget): ditto.
14551 (mswindows_progress_gauge_instantiate): ditto.
14552 (mswindows_tab_control_update): ditto.
14553 * glyphs-x.c (x_update_widget): ditto.
14554 (x_widget_instantiate): ditto.
14555 (x_tab_control_instantiate): ditto.
14556 (x_tab_control_update): ditto.
14557 * event-msw.c (mswindows_wnd_proc): ditto
14559 * glyphs-widget.c (image_instantiator_layout): use
14560 subwindow_decode_domain.
14561 (image_instantiator_buttons): ditto.
14562 (image_instantiator_edit_fields): ditto.
14563 (image_instantiator_combo_box): ditto.
14564 (image_instantiator_scrollbar): ditto.
14565 (image_instantiator_progress_guage): ditto.
14566 (image_instantiator_tree_view): ditto.
14567 (image_instantiator_tab_control): ditto.
14568 (image_instantiator_labels): ditto.
14569 (image_instantiator_layout): ditto.
14571 * glyphs.c: add instance error checking to many functions.
14572 (instantiate_image_instantiator): decode device from cache_domain.
14573 (image_instantiate): partially rewrite by using
14574 decode_image_instantiator_domain to determine what domain the
14575 instance needs to be cached in.
14576 (decode_image_instantiator_domain): new function. Determine what
14577 domain the image needs to be cached in.
14578 (check_window_subwindow_cache): new error checking function.
14579 (check_instance_cache_mapper): ditto.
14580 (check_image_instance_structure): ditto.
14581 (subwindow_decode_domain): new function. Encodes a window as a
14582 subwindow's cache domain.
14583 (image_instantiator_format_create): use it for text and
14586 2000-04-21 Andy Piper <andy@xemacs.org>
14588 * glyphs.c (image_instance_device): new function.
14589 (image_instance_frame): new function.
14590 (image_instance_window): new function.
14591 (image_instance_live_p): new function.
14593 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14596 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14597 (IMAGE_INSTANCE_DOMAIN): new accessor.
14598 (XIMAGE_INSTANCE_DOMAIN): ditto.
14600 * glyphs-x.c (x_finalize_image_instance): device->domain.
14602 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14603 (mswindows_finalize_image_instance): ditto.
14605 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14606 (gif_instantiate): ditto.
14607 (png_instantiate): ditto.
14608 (tiff_instantiate): ditto.
14610 * glyphs.c (instantiate_image_instantiator): use domain rather
14612 (mark_image_instance): device -> domain.
14613 (print_image_instance): ditto.
14614 (finalize_image_instance): ditto.
14615 (image_instance_equal): ditto.
14616 (allocate_image_instance): ditto.
14617 (Fcolorize_image_instance): ditto.
14618 (query_string_geometry): ditto.
14619 (image_instantiate): ditto
14620 (query_string_font): ditto.
14621 (image_instantiate): ditto.
14622 (update_subwindow): ditto.
14623 (unmap_subwindow): ditto.
14624 (map_subwindow): ditto.
14625 (subwindow_instantiate): ditto.
14627 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14628 (DOMAIN_FRAME): ditto.
14629 (DOMAIN_WINDOW): ditto.
14630 (DOMAIN_LIVE_P): ditto.
14631 (XDOMAIN_DEVICE): ditto.
14632 (XDOMAIN_FRAME): ditto.
14633 (XDOMAIN_WINDOW): ditto.
14635 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14636 a valid specifier domain.
14638 2000-04-19 Andy Piper <andy@xemacs.org>
14640 * glyphs-widget.c (syms_of_glyphs_widget): remove
14641 widget-callback-current-channel.
14642 (vars_of_glyphs_widget): ditto.
14645 * gui.c (get_gui_callback): revert to previous behaviour.
14647 2000-04-18 Andy Piper <andy@xemacs.org>
14649 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14650 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14651 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14653 * glyphs.c (image_instance_equal): add margin_width.
14654 (image_instance_hash): ditto.
14656 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14657 (layout_query_geometry): ditto.
14658 (layout_layout): ditto.
14659 (syms_of_glyphs_widget): add margin-width.
14660 (image_instantiator_layout): allow margin-width.
14662 * glyphs.c (update_widget_instances): make a normal function.
14663 (syms_of_glyphs): remove Qupdate_widget_instances.
14666 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14667 so that we don't corrupt ideas about the last event or
14668 command. Remove widget-callback-current-channel fiddling.
14669 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14671 2000-05-01 Martin Buchholz <martin@xemacs.org>
14673 * XEmacs 21.2.33 is released.
14675 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14677 * make-src-depend: Allow dots in header file name.
14679 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14681 * mule-charset.h (struct charset_lookup): Add
14682 next_allocated_1_byte_leading_byte and
14683 next_allocated_2_byte_leading_byte.
14684 * mule-charset.c: Move above two variables so that those values
14687 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14689 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14690 when string length is zero.
14691 (find_charsets_in_emchar_string): Ditto.
14693 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14695 * lisp.h: extern Qdialog and Qmenubar.
14697 * gui-x.c: added events.h.
14698 also fixed typo which made the file uncompilable.
14700 * general.c: Added Qmenubar and Qdialog
14702 2000-04-28 Ben Wing <ben@xemacs.org>
14704 * frame-msw.c (mswindows_init_frame_1):
14705 * frame-msw.c (mswindows_mark_frame):
14706 * event-msw.c (mswindows_enqueue_dispatch_event):
14708 * console-msw.h (struct mswindows_frame):
14709 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14710 there are now three hash tables for callbacks.
14711 mswindows_enqueue_dispatch_event is no longer static.
14713 * dialog-x.c (maybe_run_dbox_text_callback):
14714 * dialog-x.c (dbox_descriptor_to_widget_value):
14715 switch to new cons3 form for callbacks.
14717 * glyphs-msw.c (mswindows_register_gui_item):
14718 * glyphs-msw.c (mswindows_widget_instantiate):
14719 * glyphs-msw.c (add_tree_item):
14720 * glyphs-msw.c (add_tab_item):
14721 new image instance parameter, so it can be passed to callback-ex.
14722 respect :callback-ex as well as :callback.
14724 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14727 * glyphs.c (print_image_instance):
14728 prettify, e.g. now prints widget type.
14731 certain funs have new image instance parameter.
14734 * gui.c (get_gui_callback):
14735 * gui.c (gui_item_add_keyval_pair):
14736 * gui.c (gui_item_init):
14737 * gui.c (gui_add_item_keywords_to_plist):
14738 * gui.c (mark_gui_item):
14739 * gui.c (gui_item_hash):
14740 * gui.c (gui_item_equal):
14741 * gui.c (copy_gui_item):
14742 * gui.c (syms_of_gui):
14743 recognize callback-ex in a number of places.
14744 also, fix the annoying "can't get out of yes-no dialog" bug.
14747 * gui.h (struct Lisp_Gui_Item):
14748 recognize callback-ex in a number of places.
14750 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14751 new parameter in button_item_to_widget_value.
14753 * glyphs-x.c (x_update_widget):
14754 * glyphs-x.c (x_button_instantiate):
14755 * glyphs-x.c (x_button_update):
14756 * glyphs-x.c (x_progress_gauge_instantiate):
14757 * glyphs-x.c (x_edit_field_instantiate):
14758 * glyphs-x.c (x_combo_box_instantiate):
14759 * glyphs-x.c (x_tab_control_instantiate):
14760 * glyphs-x.c (x_label_instantiate):
14761 new image instance parameter in various places.
14764 * event-Xt.c (enqueue_Xt_dispatch_event):
14765 this fun gets exported.
14768 * gui-msw.c (mswindows_handle_gui_wm_command):
14769 handle both :callback and :callback-ex, and generate our own
14770 event because it's one of the callback-ex arguments.
14773 * gui-x.c (popup_selection_callback):
14774 handle both :callback and :callback-ex, and generate our own
14775 event because it's one of the callback-ex arguments.
14776 * gui-x.c (button_item_to_widget_value):
14777 * gui-x.c (gui_items_to_widget_values_1):
14778 * gui-x.c (gui_item_children_to_widget_values):
14779 * gui-x.c (gui_items_to_widget_values):
14780 new image instance parameter in various places.
14782 * fns.c (Freplace_list):
14783 fix small typo in doc string.
14786 declare enqueue_Xt_dispatch_event.
14788 2000-04-28 Ben Wing <ben@xemacs.org>
14791 * buffer.c (Frecord_buffer):
14792 * buffer.c (syms_of_buffer):
14793 delete record-buffer-hook.
14796 * fns.c (Freplace_list):
14797 * fns.c (syms_of_fns):
14798 new primitive replace-list.
14801 slot for old buffer-alist.
14804 exfun replace-list.
14807 * redisplay.c (redisplay_frame):
14808 * redisplay.c (syms_of_redisplay):
14809 * redisplay.c (vars_of_redisplay):
14810 new hook buffer-list-changed-hook.
14813 2000-04-27 Ben Wing <ben@xemacs.org>
14815 * extents.h: extern in_modeline_generation.
14817 * redisplay.c (generate_formatted_string_db): set
14818 in_modeline_generation.
14820 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14821 flags if in modeline generation. otherwise frame-modified-tick
14822 is ticked far too often.
14823 Declare in_modeline_generation.
14825 2000-04-26 Ben Wing <ben@xemacs.org>
14827 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14829 (vars_of_emacs): add quick-build as an error-checking option.
14830 A bit kludgy, but there doesn't seem much point in creating
14831 a real var for this.
14833 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14835 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14837 * redisplay.h (struct display_line): Add a new variable,
14840 * redisplay.c (create_text_block): Set dl->line_continuation if
14841 the line continues.
14842 (create_string_text_block): Ditto.
14843 (regenerate_window_incrementally): Use line_continuation instead
14844 of searching continuation glyph.
14845 (add_margin_runes): Call add_glyph_rune.
14846 (add_glyph_rune): Handle margin glyph.
14848 2000-04-20 Martin Buchholz <martin@xemacs.org>
14850 * filelock.c (fill_in_lock_file_name):
14852 Check for IS_ANY_SEP instead of '/'.
14854 Avoid generating gratuitous garbage. Call user_login_name() directly.
14855 Never check errno without first seeing that system call failed.
14856 (unlock_file): Add GCPRO.
14857 (Flock_buffer): Fix docstring.
14858 (Ffile_locked_p): Fix docstring. Add GCPRO.
14860 2000-04-19 Martin Buchholz <martin@xemacs.org>
14862 * sysdep.c (get_pty_max_bytes):
14863 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14864 strings longer than 252 bytes.
14866 * md5.c: Unconditionally include ANSI header <limits.h>
14868 * glyphs-x.c (convert_EImage_to_XImage):
14869 * lisp-union.h (union Lisp_Object):
14870 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14872 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14874 * filelock.c (current_lock_owner): Remove unused variable o, p.
14876 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14878 * callint.c: Remove multiply defined symbol Qlet
14879 (syms_of_callint): ditto.
14881 2000-04-14 Andy Piper <andy@xemacs.org>
14883 * general.c (syms_of_general): add last-command, this-command, let
14886 * lisp.h: declare various symbols.
14888 * glyphs.h: declare Qwidget_callback_current_channel;
14890 * glyphs-widget.c (syms_of_glyphs_widget): add
14891 Qgui_callback_current_channel.
14892 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14894 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14895 widget-callback-current-channel when invoking the interactive
14896 arg. Also bind last-command and next-command when invoking the
14898 * gui-x.c (popup_selection_callback): ditto.
14900 * gui.c (get_gui_callback): massage args so that we are always
14901 calling eval. This allows us to add our own variable bindings
14904 * glyphs-x.c (x_button_instantiate): use
14905 gui_items_to_widget_values since this is GC safe.
14906 (x_progress_gauge_instantiate): ditto.
14907 (x_edit_field_instantiate): ditto.
14908 (x_label_instantiate): ditto.
14910 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14911 (emacs_Xt_event_widget_focus_out): new function
14912 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14914 (emacs_Xt_event_add_widget_actions): new function. add focus
14915 functions as actions.
14916 (init_event_Xt_late): use it.
14918 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14920 * event-stream.c (Fdispatch_event): Doc fix.
14922 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14924 * postgresql.c: Remove all references to PQsetenv*.
14926 * postgresql.h: Remove references to PGsetenvHandler object.
14927 * lrecord.h (lrecord_type): Ditto.
14929 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14931 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14932 real_heigh and real_width members, and accessor macros for these.
14934 * glyphs-msw.c (init_image_instance_geometry): New function.
14935 (init_image_instance_from_dibitmap): Use it.
14936 (mswindows_resource_instantiate): Use it.
14937 (init_image_instance_from_xbm_inline): Use it.
14938 (mswindows_initialize_image_instance_mask): Use real bitmap
14940 (mswindows_create_resized_bitmap): Ditto.
14941 (mswindows_create_resized_mask): Ditto.
14943 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14944 and bitmap to their surface size.
14946 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14948 * process-unix.c (unix_send_process): Guard against process MIA
14949 after Faccept_process_output.
14951 2000-04-11 Ben Wing <ben@xemacs.org>
14953 * eval.c (unbind_to_hairy): fix brokenness introduced by
14954 nanosecond speed improvements.
14956 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14958 * sunplay.c (init_device): To play sounds correctly, the device
14959 apparently needs to be initialized at least once by XEmacs. Make
14962 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14964 * redisplay.c (add_margin_runes): Add text image glyph
14967 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14969 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14970 gcc is newer than 2.5.
14972 2000-04-06 Colin Rafferty <colin@xemacs.org>
14974 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14976 * fns.c (size_bit_vector):
14977 * alloc.c (size_vector):
14978 (make_vector_internal):
14979 (make_bit_vector_internal):
14980 (sweep_bit_vectors_1):
14981 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14983 2000-04-06 Andy Piper <andy@xemacs.org>
14985 * gmalloc.c (malloc): undo previous change.
14990 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14992 * line-number.c (buffer_line_number): Revert to former version.
14994 2000-04-06 Andy Piper <andy@xemacs.org>
14996 * gmalloc.c (malloc): add error checking.
15001 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
15002 button_item_to_widget_value arg.
15004 * glyphs-x.c (x_button_instantiate): add extra
15005 button_item_to_widget_value arg.
15006 (x_progress_gauge_instantiate): ditto.
15007 (x_edit_field_instantiate): ditto.
15008 (x_label_instantiate): ditto.
15010 * gui-x.c (gui_items_to_widget_values_1): add extra
15011 button_item_to_widget_value arg.
15012 (button_item_to_widget_value): add extra menu_item_p arg.
15014 * gui-x.h: change signature of button_item_to_widget_value.
15016 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
15017 button_item_to_widget_value arg.
15019 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
15021 * buffer.h (struct buffer): auto_save_modified should be long.
15023 2000-04-05 Andy Piper <andy@xemacs.org>
15025 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
15027 (button_query_geometry): give a little more room so that athena
15030 2000-04-05 Andy Piper <andy@xemacs.org>
15032 * faces.c (complex_vars_of_faces): The widget face should inherit
15033 the font of the gui-element face.
15035 2000-04-04 Andy Piper <andy@xemacs.org>
15037 * glyphs-x.c (x_button_update): new function. unconditionally
15038 update a button's state when the instance is dirty.
15039 (image_instantiator_format_create_glyphs_x): add x_button_update.
15040 (x_widget_instantiate): remove old resize cruft.
15042 2000-04-02 Andy Piper <andy@xemacs.org>
15044 * frame.c (change_frame_size_1): The introduction of gutters means
15045 that we need to allow 0 as a potential frame dimension.
15047 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
15049 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
15050 image glyph if allow_cursor.
15051 (add_hscroll_rune): Don't allow cursor to border glyph.
15052 (create_text_block): Ditto.
15054 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
15055 text not in buffer.
15056 (redisplay_output_layout): Call ensure_face_cachel_complete for
15060 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
15062 * redisplay.c (add_glyph_rune): Adding text image as text runes.
15064 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
15067 * redisplay-tty.c (tty_output_display_block): Delete the routine
15068 for text image glyph
15069 * redisplay-x.c (x_output_display_block): ditto
15070 * redisplay-msw.c (mswindows_output_display_block): ditto
15072 2000-02-02 Mike Alexander <mta@arbortext.com>
15074 Note: Some of these were committed by accident as part of other
15077 * regex.c (regex_compile): Avoid compiler warnings.
15079 * ntproc.c (sys_spawnve): Avoid compiler warnings.
15081 * nt.h: Declare term_ntproc correctly.
15083 * nt.c: Remove incorrect declaration of get_home_directory which
15084 is declared correctly in lisp.h.
15086 * keymap.c (get_keyelt): Avoid compiler warnings.
15087 (raw_lookup_key_mapper): Avoid compiler warnings.
15089 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15091 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15093 * filemode.c (mode_string): Avoid compiler warnings.
15095 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15098 * events-mod.h: Undef some things that winuser.h defines differently.
15100 * data.c (Faset): Avoid compiler warnings.
15102 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15104 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15106 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15107 Fall through to simple beep on error.
15108 Replace "extern" by real header file.
15110 * linuxplay.c: Use nativesound.h
15111 (play_sound_data): Return error code. Be less verbose on error.
15113 * sunplay.c: Use nativesound.h
15114 (play_sound_data): Return error code. Be less verbose on error.
15116 * ntplay.c: Use nativesound.h
15117 (play_sound_data): Return fake error code
15119 * sgiplay.c: Use nativesound.h
15120 (play_sound_data): Return error code
15122 * hpplay.c: Use nativesound.h, partially implement
15123 new error code. Break compilation until finished.
15124 (play_sound_data): error code.
15126 * nativesound.h (play_sound_file):
15127 (play_sound_data): Prototype in new header.
15129 2000-03-31 Andy Piper <andy@xemacs.org>
15131 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15132 for toggle and radio buttons.
15133 (image_instantiator_buttons): use it.
15135 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15137 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15138 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15139 found. Scrollbar event probably belonged to some old config.
15141 2000-03-31 Andy Piper <andy@xemacs.org>
15143 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15145 (initialize_widget_image_instance): default layout to
15146 LAYOUT_HORIZONTAL rather than 0.
15147 (widget_instantiate): reverse the item list at the end rather than
15149 (layout_layout): re-code for the border text at the front of the
15150 item list rather than at the end.
15151 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15152 provided by the user.
15153 (widget_query_geometry): comment.
15155 2000-03-30 Andy Piper <andy@xemacs.org>
15157 * glyphs-widget.c (image_instantiator_layout): allow standard
15158 widget keywords in layouts.
15160 * gutter.c (output_gutter): cope with nil gutter contents.
15162 * frame.c (Fset_frame_properties): add gutter docs.
15164 2000-03-29 Andy Piper <andy@xemacs.org>
15166 * toolbar-msw.c (TBSTYLE_FLAT): add.
15167 (mswindows_output_toolbar): minor fiddling.
15169 2000-03-29 Andy Piper <andy@xemacs.org>
15171 * gutter.c (output_gutter): force gutter size recalculation if
15172 what we are trying to display won't fit.
15173 (update_gutter_geometry): new function. A per-gutter version of
15174 update_frame_gutter_geometry.
15175 (update_frame_gutter_geometry): use it.
15176 (redraw_exposed_gutter): add extra debugging output.
15178 2000-03-28 Mike Alexander <mta@arbortext.com>
15180 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15181 (pdump_file_unmap): Implement it on Windows
15182 (pdump_file_get): Save alocated handles for pdump_file_unmap
15184 2000-03-28 Andy Piper <andy@xemacs.org>
15186 * gui.c (get_gui_callback): treat Quit specially.
15188 2000-03-27 Andy Piper <andy@xemacs.org>
15190 * glyphs.c (image_instantiate): be careful to check in the same
15193 2000-03-27 Didier Verna <didier@xemacs.org>
15195 * config.h.in: define the proper SMART_INCLUDE macro.
15196 handle renaming of `foo_h_path' to `foo_h_file'.
15198 * database.c: ditto.
15202 * linuxplay.c: ditto.
15204 * terminfo.c: ditto.
15206 * tooltalk.h: ditto.
15208 2000-03-27 Andy Piper <andy@xemacs.org>
15210 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15211 gets updated whenever the face might have changed.
15213 2000-03-26 Mike Alexander <mta@arbortext.com>
15215 * dumper.c (pdump_resource_free): Fix the comment.
15217 2000-03-21 Olivier Galibert <galibert@pobox.com>
15219 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15221 2000-03-22 Mike Alexander <mta@arbortext.com>
15223 * dumper.c: Include Windows headers on Windows
15224 (pdump_resource_free): Add a body to the function
15225 (pdump_load): exe_name -> exe_path and add some comments.
15227 2000-03-25 Mike Alexander <mta@arbortext.com>
15229 * gui.c (copy_gui_item_tree): Return a value in all cases
15231 2000-03-21 Didier Verna <didier@xemacs.org>
15233 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15235 (SMART_INCLUDE): new macro.
15236 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15237 the proper location.
15239 * postgresql.c: use it.
15243 2000-03-24 Andy Piper <andy@xemacs.org>
15245 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15248 2000-03-24 Andy Piper <andy@xemacs.org>
15250 * redisplay-output.c (compare_runes): use image_instance_changed
15251 to detect changes. Do not depend on glyphs_changed, only depend on
15253 (redisplay_output_layout): add debug messages.
15254 (compare_runes): ditto.
15256 * glyphs.h: declare new functions.
15257 (struct Lisp_Image_Instance): remove percent and associated
15260 * gui.h: declare new copying functions.
15262 * gui.c (copy_gui_item_tree): new function.
15263 (copy_gui_item): new function.
15264 (gui_item_id_hash): revert to standard hash.
15265 (gui_item_hash): ditto.
15266 (gui_item_hash_internal): deleted.
15267 (mark_gui_item): mark value.
15268 (gui_item_add_keyval_pair): add value.
15269 (gui_item_init): ditto.
15270 (gui_add_item_keywords_to_plist): ditto.
15271 (gui_item_equal): ditto.
15272 (syms_of_gui): add Q_value.
15274 * glyphs-x.c (x_progress_gauge_update): use pending items and
15275 value for setting the state.
15276 (x_update_widget): don't set items from pending here.
15278 * glyphs-widget.c (update_widget): update items here.
15279 (progress_gauge_set_property): use items for storing value. Put
15280 new value in pending items.
15282 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15283 items for new value. Convert percent -> value.
15284 (mswindows_tab_control_update): don't update items here.
15286 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15287 (update_subwindow): ditto.
15288 (image_instance_changed): new function. Compare hash values and
15289 past and present widget items.
15290 (image_instantiate): We more careful about where we instantiate
15292 (image_instantiate): add error checking.
15294 * gutter.c (syms_of_gutter): use -hook.
15296 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15298 * console-tty.c (Fset_console_tty_input_coding_system): Use
15300 (Fset_console_tty_output_coding_system): Use Qterminal.
15301 (tty_init_console): Use Qkeyboard and Qterminal.
15303 2000-03-21 Ben Wing <ben@xemacs.org>
15305 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15306 From Mike Alexander <mta@arbortext.com>.
15308 2000-03-21 Ben Wing <ben@xemacs.org>
15310 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15311 process brokenness. Proper implementation to come.
15313 Rename call-process-internal to old-call-process-internal.
15314 New impl. in process.el.
15316 2000-03-21 Martin Buchholz <martin@xemacs.org>
15318 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15320 2000-03-20 Andy Piper <andy@xemacs.org>
15322 * glyphs.c (full_list_hash): make hashes of the same elements in
15323 different orders return different values.
15325 2000-03-20 Martin Buchholz <martin@xemacs.org>
15327 * XEmacs 21.2.32 is released.
15329 2000-03-20 Martin Buchholz <martin@xemacs.org>
15331 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15332 (DFC_MALLOC_USE_CONVERTED_DATA):
15333 Add aliasing-safe casts to allow use with char* or unsigned char*
15336 * eldap.c (Fldap_open):
15337 (Fldap_search_basic):
15340 Make C++-compilable.
15341 Make sure GCPRO'ed variables are initialized.
15342 Use temp variables to avoid repeated calls to Flength.
15344 2000-03-16 Martin Buchholz <martin@xemacs.org>
15347 Make sure PATH_MAX is always defined.
15348 Include limits.h for PATH_MAX.
15349 Deprecate use of MAXPATHLEN.
15351 2000-03-10 Martin Buchholz <martin@xemacs.org>
15353 * emacs.c: Add reinit_vars_of_fileio.
15354 * symsinit.h: Add reinit_vars_of_fileio.
15355 * fileio.c (reinit_vars_of_fileio): New.
15356 * fileio.c (Fmake_temp_name):
15357 Initialize temp_name random number from microseconds to make
15358 collisions even less likely. Initialize always at process startup
15359 time. (make-temp-name) used to return the same file name twice in
15361 Random stylistic fiddling.
15364 2000-03-20 Andy Piper <andy@xemacs.org>
15366 * glyphs.c (image_instantiate): allow text glyphs to be
15367 instantiated in the minibuffer window.
15369 2000-03-19 Andy Piper <andy@xemacs.org>
15371 * glyphs.c (image_instance_hash): be careful about which items we
15374 * glyphs-widget.c (tab_control_set_property): record into pending
15375 items rather than the actual items.
15377 * glyphs-x.c (x_update_widget): use pending items to update with.
15379 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15382 * glyphs.c (mark_image_instance): mark pending items.
15384 * window.c (Fset_window_configuration): record the buffer.
15385 (Fselect_window): totally revert previous change which breaks many
15388 2000-03-18 Andy Piper <andy@xemacs.org>
15390 * glyphs-msw.c (mswindows_tab_control_update): force selected
15393 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15394 window domain cache, otherwise we get inconsistencies at
15395 startup. There is something fishy at startup which can lead to the
15396 minibuffer being the selected window when the gutter content is
15399 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15401 (parse_gui_item_tree_children): ditto.
15402 (parse_gui_item_tree_item): ditto.
15404 * glyphs.c (Fupdate_widget_instances): return something.
15406 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15408 * window.c (Fselect_window): Undo 2000-03-17 change.
15410 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15412 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15413 against v7.0 libraries. Insta-coredump city until the postgres
15416 2000-03-17 Andy Piper <andy@xemacs.org>
15418 * faces.c (complex_vars_of_faces): don't give the widget face an
15419 inherited background pixmap.
15421 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15424 * event-stream.c (Fdispatch_non_command_events): return something.
15426 * gutter.c (output_gutter): use widget face.
15427 (clear_gutter): ditto.
15429 * NEWS: adjust again.
15431 * window.c (Fselect_window): make sure this runs to completion to
15432 avoid oddities with Fset_window_configuration.
15433 (Fcurrent_window_configuration): in general do not save the
15434 minibuffer as the selected window.
15436 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15438 2000-03-16 Olivier Galibert <galibert@pobox.com>
15440 * emacs.c (Frunning_temacs_p): Revert previous patch.
15441 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15443 2000-03-16 Andy Piper <andy@xemacs.org>
15445 * glyphs-x.c (x_tab_control_update): if no widget values then
15448 * NEWS: update for new features.
15450 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15451 synthetic event to the native system.
15452 (reinit_vars_of_event_Xt): set force_event_pending to
15453 emacs_Xt_force_event_pending.
15455 * events.h (struct event_stream): add force_event_pending.
15457 * specifier.c (recompute_one_cached_specifier_in_window): add
15460 * redisplay.c (redisplay_frame): don't call
15461 update_frame_subwindows. Reset subwindow cachels when
15462 subwindows_changed, removing this was an optimization too far.
15464 * redisplay-output.c (compare_runes): reorganize so that we catch
15465 glyph changes when we want them. Set optimize_output when this
15466 would help layouts.
15467 (redisplay_output_layout): remove frame_really_changed, use
15468 optimize_output instead.
15470 * redisplay-msw.c (mswindows_output_display_block): reset
15471 optimize_output after outputting a glyph.
15472 * redisplay-x.c (x_output_display_block): ditto.
15473 * redisplay-tty.c (tty_output_display_block): ditto.
15475 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15477 (gutter_specs_changed): do specific gutter positions.
15478 (top_gutter_specs_changed): new function. Only update the
15479 specified gutter specs.
15480 (bottom_gutter_specs_changed): ditto.
15481 (left_gutter_specs_changed): ditto.
15482 (right_gutter_specs_changed): ditto.
15484 * gui.c (gui_item_hash_internal): new function, does a real hash.
15485 (gui_item_id_hash): use it.
15486 (gui_item_hash): hash the eval'ed gui_item.
15488 * gui-x.c (popup_selection_callback): send an eval event to call
15489 Fupdate_widget_instances.
15491 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15492 to call Fupdate_widget_instances.
15494 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15495 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15497 * glyphs.c: (update_frame_subwindows): deleted.
15498 (Fupdate_widget_instances): new function for updating the dirty
15499 state of widgets that might have changed.
15500 (syms_of_glyphs): add Qupdate_widget_instances.
15501 (full_list_hash): hash a list completely.
15502 (image_instance_hash): use it for items and properties.
15504 * frame-msw.c (mswindows_size_frame_internal): remove unused
15507 * faces.h (struct face_cachel): fix comment.
15509 * event-stream.c (Fdispatch_non_command_events): new
15510 function. Process non-command events, forcing an event cycle
15512 (syms_of_event_stream): declare.
15513 (event_stream_force_event_pending): new function. Force an event
15514 on the native event queue so that an event cycle will occur next
15518 (struct ntpipe_shove_stream):
15519 (mswindows_enqueue_dispatch_event):
15520 (mswindows_dequeue_dispatch_event):
15521 (mswindows_cancel_dispatch_event):
15522 (mswindows_pump_outstanding_events):
15523 (mswindows_drain_windows_queue):
15524 (mswindows_handle_paint):
15525 (mswindows_wnd_proc):
15526 (mswindows_key_to_emacs_keysym):
15527 (get_process_input_waitable):
15528 (emacs_mswindows_delete_stream_pair): re-indent file.
15529 (mswindows_need_event): do not process further fds if the windows
15530 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15531 fixes the 100% cpu problem.
15532 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15534 2000-03-15 Olivier Galibert <galibert@pobox.com>
15540 * emacs.c: Moved dump file searching to dumper.c.
15541 (Frunning_temacs_p): Fixed.
15543 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15544 last_lrecord_type_index_assigned.
15546 2000-02-20 Olivier Galibert <galibert@pobox.com>
15548 * symsinit.h: Added reinit parameter to init_console_stream
15551 * lisp.h: Added file parameter to pdump_load declaration.
15553 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15554 support. Added dump file searching.
15556 * config.h.in: Added EMACS_PROGNAME.
15558 * console-stream.c (init_console_stream): Fix reinitialisation
15559 when running from temacs.
15561 * alloc.c (pdump): Add id support.
15562 (pdump_load): Add file parameter and signature/id support.
15564 * Makefile.in.in: Add full pdump support.
15566 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15568 * postgresql.c: Update documentation to reflect latest code
15570 (print_result): Show tuple counts in printed representation when
15572 (Fpq_put_nbytes): MULE-ize.
15573 (Fpq_get_line_async): Ditto.
15575 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15577 * postgresql.c (Fpq_lo_import): Fix return value.
15578 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15580 2000-03-13 Ben Wing <ben@xemacs.org>
15582 * alloc.c (pdump_load):
15583 Fix compile warning under mswin.
15585 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15587 * postgresql.c: Mule-ization, bug fixes.
15588 Use PG_CODING to encapsulate coding system name changes.
15589 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15590 (pg-coding-system): Create.
15592 (Fpq_conn_defaults): Mule-ize.
15593 (Fpq_connectdb): Mule-ize & bug fix.
15594 (Fpq_connect_start): Mule-ize.
15595 (Fpq_set_client_encoding): Mule-ize.
15596 (Fpq_finish): Document `DEAD' connection status.
15597 (Fpq_clear): Ditto.
15598 (Fpq_pgconn): Mule-ize.
15599 (Fpq_exec): Mule-ize & bug fix.
15600 (Fpq_send_query): Ditto.
15601 (Fpq_get_result): Ditto.
15602 (Fpq_res_status): Mule-ize.
15603 (Fpq_result_error_message): Mule-ize.
15604 (Fpq_ntuples): fix comments.
15605 (Fpq_fname): Mule-ize.
15606 (Fpq_fnumber): Mule-ize.
15607 (Fpq_ftype): fix comments.
15608 (Fpq_get_value): Mule-ize.
15609 (Fpq_cmd_status): Ditto.
15610 (Fpq_cmd_tuples): Ditto.
15611 (Fpq_oid_value): Ditto.
15612 (Fpq_notifies): Ditto.
15613 (Fpq_lo_import): Ditto.
15614 (Fpq_lo_export): Ditto.
15615 (Fpq_get_line): Ditto.
15616 (Fpq_put_line): Mule-ize and bug fix.
15617 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15619 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15621 * postgresql.c (vars_of_postgresql): Mule-ize.
15622 (Fpq_conn_defaults): Ditto.
15624 2000-03-12 Ben Wing <ben@xemacs.org>
15626 * alloc.c (Fmake_byte_code):
15627 * alloc.c (debug_string_purity_print):
15628 * alloc.c (pdump_backtrace):
15629 * alloc.c (pdump_get_indirect_count):
15630 * alloc.c (pdump_register_sub):
15631 * alloc.c (pdump_register_object):
15632 * alloc.c (pdump_register_struct):
15633 * alloc.c (pdump_dump_data):
15634 * alloc.c (pdump_reloc_one):
15638 * console-msw.c (GetConsoleHwnd):
15639 * console-msw.c (msw_hide_console):
15640 * console-msw.c (msw_show_console):
15641 * console-msw.c (msw_ensure_console_buffered):
15642 * console-msw.c (msw_output_console_string):
15643 * console-msw.c (console_type_create_mswindows):
15645 a) Added functions to manipulate the console window for use with
15648 b) Added support for writing text to the console, which is now
15649 used under Windows when xemacs is not being run non-interactively,
15650 to write text that would otherwise be destined for stdout because
15651 under these circumstances, text written to stdout tends to
15652 disappear and not be seen.
15656 * event-Xt.c (x_event_to_emacs_event):
15657 * event-Xt.c (describe_event_window):
15658 * events-mod.h (XEMACS_MOD_CONTROL):
15660 * events.c (Fmake_event):
15661 * events.c (character_to_event):
15662 * events.c (event_to_character):
15663 * events.c (format_event_object):
15664 * events.c (Fevent_modifiers):
15666 * events.h (struct key_data):
15667 * events.h (struct button_data):
15668 * events.h (struct misc_user_data):
15669 * frame-x.c (Fcde_start_drag_internal):
15670 * frame-x.c (Foffix_start_drag_internal):
15671 * gpmevent.c (Freceive_gpm_event):
15673 * keymap.c (bucky_sym_to_bucky_bit):
15674 * keymap.c (control_meta_superify):
15675 * keymap.c (make_key_description):
15676 * keymap.c (keymap_lookup_directly):
15677 * keymap.c (create_bucky_submap):
15678 * keymap.c (keymap_store):
15679 * keymap.c (define_key_check_and_coerce_keysym):
15680 * keymap.c (define_key_parser):
15681 * keymap.c (define_key_alternate_name):
15682 * keymap.c (Fdefine_key):
15683 * keymap.c (raw_lookup_key_mapper):
15684 * keymap.c (struct map_keymap_unsorted_closure):
15685 * keymap.c (map_keymap_unsorted_mapper):
15686 * keymap.c (map_keymap_sort_predicate):
15687 * keymap.c (map_keymap_sorted):
15688 * keymap.c (accessible_keymaps_mapper_1):
15689 * keymap.c (where_is_recursive_mapper):
15690 * keymap.c (describe_map_mapper):
15691 * keymap.c (describe_map_sort_predicate):
15692 * keymap.c (describe_map):
15693 * keymap.c (complex_vars_of_keymap):
15694 And a number of other files, the key modifier preprocessor
15695 constants that xemacs uses have names that conflict with constants
15696 defined under MS Windows for other purposes, so they were renamed
15697 to begin with the prefix XEMACS_. The variables that hold such
15698 modifiers were changed to consistently be of type int to fix
15699 various compile warnings.
15701 * console.c (complex_vars_of_console):
15704 * device-msw.c (mswindows_finish_init_device):
15705 * device-msw.c (msw_get_workspace_coords):
15706 * device-msw.c (mswindows_device_system_metrics):
15707 and various other files, added support for a new
15708 device property called offset-workspace which returns the position
15709 of the upper left corner of the workspace area and goes along with
15710 the existing size-workspace property.
15713 * dialog-msw.c (push_bufbyte_string_as_unicode):
15714 * dialog-msw.c (mswindows_popup_dialog_box):
15715 Added support for XEmacs-style accelerator specifications in
15716 button text. Note: I didn't add support for this under X Windows,
15717 and somebody needs to do this.
15720 * dialog.c (Fpopup_dialog_box):
15721 Documented the support for accelerators that was just mentioned.
15723 editfns.c (get_home_directory): Changed behavior under Windows
15724 when HOME not defined; former behavior was irretrievably broken.
15727 * emacs.c (main_1):
15729 * minibuf.c (clear_echo_area_internal):
15730 * minibuf.c (echo_area_append):
15732 * print.c (std_handle_out_external):
15733 * print.c (std_handle_out_va):
15735 * print.c (write_string_to_stdio_stream):
15736 * print.c (output_string):
15737 * print.c (debug_print):
15738 * print.c (debug_backtrace):
15739 * print.c (debug_short_backtrace):
15740 Cleaned up the code that prints text to stdout so that this can be
15741 changed to output into a console window instead under MS Windows,
15742 as described above.
15745 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15746 * eval.c (internal_catch):
15747 * eval.c (unwind_to_catch):
15748 * eval.c (throw_or_bomb_out):
15749 * eval.c (condition_case_1):
15750 * eval.c (signal_1):
15751 * eval.c (check_error_state_sanity):
15752 * eval.c (call_with_suspended_errors_1):
15753 * eval.c (call_with_suspended_errors):
15754 * eval.c (reinit_vars_of_eval):
15755 Added code to catch throw loops and check for a pesky bug that may
15759 * event-msw.c (key_needs_default_processing_p):
15760 * event-msw.c (mswindows_wnd_proc):
15761 * event-msw.c (mswindows_modifier_state):
15762 * event-msw.c (emacs_mswindows_quit_p):
15763 * event-msw.c (vars_of_event_mswindows):
15764 a) Added support for using the alt key to select menu items as is
15765 standard under MS Windows. This is controlled using the variable
15766 menu-accelerator-enabled, just like under X Windows. There is an
15767 option on the options menu to turn this support on. I really
15768 think that it should be on by default under Windows, but I'm not
15769 going to make this change yet.
15771 b) Added support for dynamic display size changes under Windows.
15774 * event-stream.c (maybe_echo_keys):
15775 * event-stream.c (Fnext_event):
15776 * event-stream.c (command_builder_find_leaf):
15777 * event-stream.c (lookup_command_event):
15778 * event-stream.c (execute_command_event):
15779 * event-stream.c (pre_command_hook):
15780 * event-stream.c (post_command_hook):
15781 * event-stream.c (syms_of_event_stream):
15782 * event-stream.c (vars_of_event_stream):
15783 * event-stream.c (complex_vars_of_event_stream):
15784 * events.h (struct command_builder):
15786 a) Tried to clean up a little bit the horribly written x-specific
15787 accelerator code that crept into this file. I moved this code
15788 into menubar-x.c where it belongs. I also needed to move the
15789 command builder structure into the file events.h because it is
15790 accessed directly by this accelerator code. What I didn't do, but
15791 which should be done at some point, is to properly abstract this
15792 code using device methods instead of the kludgy way that it
15793 currently hooks into the event code.
15795 b) Added the lisp variables this-command-properties and
15796 last-command- properties, which should be used to synchronize two
15797 adjacent commands in preference to playing games with the variable
15798 this-command, which is typically what happens.
15800 c) Added some slightly nasty code to hook into the lisp support
15801 for shifted- motion-key selection. This is actually necessary for
15802 somewhat complicated reasons, which are described in
15803 simple.el. (NB: I think the proper thing would be to have the code
15804 that calls the pre and post command hooks also call out to generic
15805 lisp functions in simple.el, where all built-in stuff could be
15806 added. I will think about this more.)
15808 * event-unixoid.c (poll_fds_for_input):
15809 * lread.c (readchar):
15810 * redisplay-tty.c (tty_clear_frame):
15811 * redisplay-x.c (x_get_gc):
15812 * signal.c (interrupt_signal):
15813 And a whole bunch of other files: fixed up places that printed
15814 directly to stderr to instead call the function stderr_out so that
15815 the changes I made under Windows work correctly.
15817 * filemode.c (mode_string):
15821 * frame-msw.c (mswindows_size_frame_internal):
15822 Fixed the computation of frame size and position to keep the frame
15823 within the workspace area, rather than within the physical
15824 dimensions of the screen, so that the frame doesn't overlap window
15825 manager decorations, such as the start menu and toolbar, typically
15826 at the bottom of the screen.
15828 * frame.c (vars_of_frame):
15829 Changed the default frame title format under MS Windows to consist
15830 of buffername-XEmacs, which is standard under MS Windows. I think
15831 it might be a good idea to change this everywhere because I think
15832 it is superior to the current frame title format, but this is the
15833 kind of change that is likely to cause some people to get annoyed,
15834 so I'm not making it.
15836 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15838 * gui-msw.c (mswindows_handle_gui_wm_command):
15839 Fixed compile warnings.
15842 * gui-x.c (strdup_and_add_accel):
15843 * gui-x.c (button_item_to_widget_value):
15845 Added code to automatically put an accelerator onto the beginning
15846 of menu items that don't have one as is now the standard, and is
15847 described more later. Also fixed things so that the menu item
15848 name can be an evaluated expression, again a new standard.
15851 * gui.c (gui_item_add_keyval_pair):
15852 * gui.c (make_gui_item_from_keywords_internal):
15853 * gui.c (gui_add_item_keywords_to_plist):
15854 * gui.c (gui_item_accelerator):
15855 * gui.c (gui_name_accelerator):
15856 * gui.c (gui_item_included_p):
15857 * gui.c (gui_item_display_flush_left):
15858 * gui.c (gui_item_display_flush_right):
15859 * gui.c (parse_gui_item_tree_item):
15860 * gui.c (parse_gui_item_tree_children):
15861 * gui.c (parse_gui_item_tree_list):
15862 Mule-ized. Cleanup. GCPRO addition.
15864 * line-number.c (buffer_line_number):
15866 * lisp.h (EMACS_INT_MAX):
15867 Added the manifest constant EMACS_INT_MIN corresponding to the
15868 existing constant EMACS_INT_MAX. This is partially to fix compile
15869 warnings under Windows, and partly for cleanliness.
15872 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15873 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15874 * menubar-msw.c (displayable_menu_item):
15875 * menubar-msw.c (populate_menu_add_item):
15876 * menubar-msw.c (populate_or_checksum_helper):
15877 * menubar-msw.c (populate_menu):
15878 * menubar-msw.c (update_frame_menubar_maybe):
15879 * menubar-msw.c (prune_menubar):
15880 * menubar-msw.c (msw_char_is_accelerator):
15881 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15882 * menubar-msw.c (mswindows_handle_wm_command):
15883 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15884 * menubar-msw.c (mswindows_handle_wm_initmenu):
15885 * menubar-msw.c (mswindows_update_frame_menubars):
15886 * menubar-msw.c (mswindows_free_frame_menubars):
15887 * menubar-msw.c (mswindows_popup_menu):
15888 Fixed a bug in handling accelerators where an extra character
15889 would be displayed in the menu item. Also generalized the
15890 function displayable_menu_item because it is now used by the
15891 dialog box code as well. And finally, added code in the functions
15892 that create the menubar to extract a list of accelerators for the
15893 top level menubar, which is used in the event code to determine
15894 whether a particular alt-key combination should be used to invoke
15895 a menu item, or should be passed through to access the standard
15896 XEmacs keymap binding for this key combination.
15898 Much needed GCPROing.
15901 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15902 * menubar-x.c (menu_item_descriptor_to_widget_value):
15903 * menubar-x.c (restore_in_menu_callback):
15904 * menubar-x.c (x_popup_menu):
15905 * menubar-x.c (menu_move_up):
15906 * menubar-x.c (menu_move_down):
15907 * menubar-x.c (menu_move_left):
15908 * menubar-x.c (menu_move_right):
15909 * menubar-x.c (menu_select_item):
15910 * menubar-x.c (command_builder_operate_menu_accelerator):
15911 * menubar-x.c (menu_accelerator_junk_on_error):
15912 * menubar-x.c (command_builder_find_menu_accelerator):
15913 * menubar-x.c (Faccelerate_menu):
15915 Moved a whole bunch of code here that was previously in
15916 event-stream.c as described above. There is also code connected
15917 to the new standard of adding an accelerator to the beginning of
15918 menu items that don't have one as described above and below.
15921 * menubar.c (menu_parse_submenu_keywords):
15922 * menubar.c (Fmenu_find_real_submenu):
15923 * menubar.c (Fnormalize_menu_item_name):
15924 * menubar.c (syms_of_menubar):
15925 * menubar.c (vars_of_menubar):
15926 * menubar.c (complex_vars_of_menubar):
15928 a) Cleaned up a bunch of documentation and improved it.
15930 b) XEmacs now automatically adds an accelerator onto the beginning
15931 of any menu items that don't have one. I did this because there
15932 will inevitably be some menu items on the main menubar that don't
15933 have accelerators on them because the package that adds that
15934 particular menu item hasn't yet been fixed up to have accelerators
15935 in them and it looked rather strange to have some items with and
15936 some items without accelerators, especially since even in items
15937 without accelerators, you can, at least under windows, still
15938 access the item through an accelerator corresponding to the first
15939 character in the item's name. If people don't like this behavior,
15940 I can add a variable to turn it off optionally, but I'm not sure
15941 this is a good idea because we really do need to have accelerators
15942 on all of the menu items, and if a package doesn't like the
15943 accelerators being put on the first character, then it should put
15944 the accelerators where they belong.
15946 c) I made a behavior change, which is that the descriptor that
15947 specifies the text of the menu item, which formerly was just a
15948 string, can now also be an evaluated expression. This makes this
15949 descriptor parallel with all of the others, which could also be
15950 evaluated expressions. This also obviates the need for the
15951 keyword :label, which was previously listed in the documentation
15952 as unimplemented, and which was for the same purpose.
15957 * ntproc.c (new_child):
15958 * ntproc.c (sys_spawnve):
15959 * ntproc.c (find_child_console):
15960 * ntproc.c (sys_kill):
15961 Fixed compile warnings. By the way, this file should really go
15962 away entirely, and this will happen as soon as Kirill makes his
15963 final round of process cleanups, which affect the function
15967 * process-nt.c (struct nt_process_data):
15968 * process-nt.c (find_process_from_pid):
15969 * process-nt.c (send_signal_the_nt_way):
15970 * process-nt.c (enable_child_signals):
15971 * process-nt.c (find_child_console):
15972 * process-nt.c (send_signal_the_95_way):
15973 * process-nt.c (nt_finalize_process_data):
15974 * process-nt.c (ensure_console_window_exists):
15975 * process-nt.c (nt_create_process):
15976 * process-nt.c (nt_kill_child_process):
15977 * process-nt.c (nt_kill_process_by_pid):
15978 * process-nt.c (nt_open_network_stream):
15979 * process-nt.c (vars_of_process_nt):
15980 Copied over code from Emacs 20.5 to correctly send signals to sub-
15981 processes under Windows 95. Also added code to automatically
15982 create and hide console window when a sub-process is created under
15983 Windows 95, which obviates the need for the separate runemacs.exe
15984 executable, and finally implemented some variables that were
15985 implemented in Emacs 20.5, but previously not in XEmacs. These
15986 include mswindows- start-process-share-console and
15987 mswindows-start-process-inherit-error-mode. (Both of these only
15988 apply to Windows 95.)
15990 * regex.c (regex_compile): Fixed a compile warning.
15993 * select-msw.c (mswindows_own_selection):
15994 * select-msw.c (mswindows_get_foreign_selection):
15995 * select-msw.c (mswindows_disown_selection):
15996 * select-msw.c (console_type_create_select_mswindows):
15997 * select-msw.c (syms_of_select_mswindows):
15998 Cleaned up the file and implemented the device method
15999 selection_exists_p, which had accidentally been left out. Also
16000 removed four lisp functions that were remnants from before the
16001 time when the selection code was properly device abstracted.
16002 These functions are no longer needed because there are generic
16003 equivalents, and because they were added recently and don't exist
16004 in FSF Emacs, I don't think there's any problem with just deleting
16008 * sysdep.c (sys_subshell):
16009 Fixed a compile warning, although in this case there's probably
16010 something wrong with this code, and it ought to be looked into
16011 more thoroughly by somebody who understands it.
16014 * window.c (Fwindow_text_area_height):
16015 * window.c (Fwindow_width):
16016 * window.c (Fwindow_full_width):
16017 * window.c (Fwindow_pixel_width):
16018 * window.c (debug_print_window):
16019 * window.c (syms_of_window):
16020 Added functions window-text-area-height and window-full-width,
16021 which are functions for returning various width and height
16022 characteristics of a window. (One of these functions is necessary
16023 for making the file dialog box work correctly, and the other one
16024 was added for completeness.) Also added a table to the
16025 documentation for window-height which describes the entire scheme
16026 for accessing width and height characteristics of a window.
16028 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16030 * nt.c (fstat): Added a comment for another problem with
16031 non-encapsulated [f]stat(), reported by Adrian Aichner
16032 <aichner@ecf.teradyne.com>.
16034 2000-03-11 Andy Piper <andy@xemacs.org>
16036 * window.c (make_dummy_parent): initialize subwindow instance
16038 (Fset_window_configuration): zero extent_modiff.
16040 2000-03-10 Andy Piper <andy@xemacs.org>
16042 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
16043 more changes can be triggered.
16044 (Fredisplay_frame): ditto.
16045 (Fredraw_device): ditto.
16046 (Fredisplay_device): ditto.
16047 (redisplay_frame): make non-static.
16048 (redisplay_frame): call update_frame_gutter_geometry outside of
16051 * gutter.h: declare update_frame_gutter_geometry.
16053 * redisplay.h: declare redisplay_frame.
16055 * gutter.c (update_frame_gutter_geometry): move geometry changes
16056 in update_frame_gutters here. Geometry changes can only occur
16057 outside of redisplay.
16058 (update_frame_gutters): remove geometry change code.
16059 (Fredisplay_gutter_area): make sure that we are in display when we
16060 update and that we have flushed any size changes.
16062 2000-03-11 Andy Piper <andy@xemacs.org>
16064 * alloc.c (pdump_dump_data): remove i & count shadows.
16066 2000-02-27 Mike Alexander <mta@arbortext.com>
16068 * sysdep.h: Declare pdump_read_file
16070 * sysdep.c (pdump_read_file): New function
16072 * alloc.c (pdump_load): Call pdump_read_file to get the portable
16075 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
16077 * lrecord.h: add `lrecord_type_pgsetenv'.
16079 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
16081 * symsinit.h: declare (vars|syms)_of* functions.
16082 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16084 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16086 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16088 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16091 * emacs.c (main_1): Call postgres initialization code.
16093 * postgresql.h: New file. PostgreSQL RDBMS support.
16094 * postgresql.c: New file.
16096 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16098 * redisplay-output.c (redisplay_output_display_block): Disable
16101 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16103 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16104 (Fcanna_henkan_next): Ditto.
16105 (Fcanna_bunsetu_henkou): Ditto.
16106 (Fcanna_henkan_kakutei): Ditto.
16107 (Fcanna_henkan_end): Ditto.
16108 (Fcanna_henkan_quit): Ditto.
16109 (Fcanna_henkan_next): Set retun value correctly.
16110 (c2mu): Use unsigned char instead of signed char.
16112 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16114 * emacs.c (main_1): Always call syms_of_gui.
16115 * inline.c: include gui.h
16117 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16119 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16120 converted to Lisp_Object.
16121 (Qtop_bottom): New variable.
16122 (syms_of_redisplay): Initialize it.
16123 * redisplay.h (Vvisible_bell): Ditto.
16124 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16125 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16126 only flash top and bottom.
16128 2000-03-08 Andy Piper <andy@xemacs.org>
16130 * buffer.c (Frename_buffer): record new buffer name the right way.
16132 2000-03-08 Andy Piper <andy@xemacs.org>
16134 * glyphs.c (update_subwindow): increase hash depth so that widget
16135 items get picked up properly.
16137 * redisplay-output.c (compare_runes): increase hash depth so that
16138 widget items get picked up properly.
16140 2000-03-08 Andy Piper <andy@xemacs.org>
16142 * gutter.c (output_gutter): add some debug.
16144 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16145 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16146 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16148 * redisplay-output.c (compare_runes): use display_hash to
16149 determine if glyphs really are not the same.
16151 * glyphs.c (update_subwindow): check display_hash to see if
16152 anything really needs to be updated. If not then do
16153 nothing. Record the display_hash after updating.
16154 (image_instance_equal): compare the image_instance face also.
16156 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16158 * redisplay.h: Fix comment style.
16160 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16162 * consle-msw.h (struct mswindows_frame):
16163 Added new member paint_pending to indicate whether a WM_PAINT
16164 magic event has been queued for this frame.
16166 * event-msw.c (mswindows_drain_windows_queue):
16167 Don't queue a WM_PAINT magic event if one is already queued.
16168 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16170 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16172 2000-03-07 Didier Verna <didier@xemacs.org>
16174 * dired.c: #include `regex.h' after `sysfile.h'.
16176 2000-03-06 Martin Buchholz <martin@xemacs.org>
16178 * sound.c (init_nas_sound): Fix compiler warning.
16180 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16182 (MARK_STRUCT_AS_FREE):
16183 (MARK_STRUCT_AS_NOT_FREE):
16184 Make `gcc -fstrict-aliasing' work properly.
16186 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16188 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16189 (mswindows_delete_device): Call CoUnnitialize().
16191 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16193 2000-02-25 <CraigL@DyCon.com>
16195 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16198 * sysdep.c: This extern declaration for environ prevents MinGW
16199 from finding the variable in CRTDLL.DLL.
16201 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16203 (SHGFI_EXETYPE): ..
16204 (WM_MOUSEWHEEL): ..
16205 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16207 (MMRESULT): Removed, now defined in cygwin's windows headers.
16209 (uid_t,gid_t,pid_t,ssize_t): ..
16210 (_timeb): Removed, MinGW defines both _timeb and timeb.
16211 (HAVE_H_ERRNO): Added.
16212 (HAVE_TZNAME): Added, configure is not detecting this.
16214 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16216 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16217 * syntax.c (syntax_match): Use it.
16219 * cmds.c: Import auto-fill-chars from FSF Emacs.
16220 (Vauto_fill_chars): New variables.
16221 (internal_self_insert): Check Vauto_fill_chars.
16223 Declare auto-fill-chars as a Lisp variable and initialize it.
16225 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16227 * fileio.c (Fmake_symbolic_link):
16229 Run handlers even if local machine doesn't have symlinks.
16231 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16233 * event-msw.c (mswindows_drain_windows_queue):
16234 Don't generate paint magic events for non-XEmacs frames.
16236 2000-03-05 Andy Piper <andy@xemacs.org>
16238 * redisplay.c (redisplay_frame): generate_displayable_area and
16239 friends assumes that we are not in GC, we therefore have to make
16240 sure that this doesn't happen.
16242 * gutter.c (calculate_gutter_size): generate_displayable_area
16243 assumes that we are not in GC, we therefore have to make sure that
16244 this doesn't happen.
16246 2000-03-05 Martin Buchholz <martin@xemacs.org>
16248 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16250 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16252 * redisplay.c (regenerate_window): Make sure we set a sane value
16253 for end_pos even if we jump out of the loop.
16254 (regenerate_window): Answer Ben's question :-).
16255 (start_end_of_last_line): Add may_error argument.
16256 (start_of_last_line):
16257 (end_of_last_line): Pass may_error = 0.
16258 (end_of_last_line_may_error): New function.
16259 (pixel_to_glyph_translation): Use it, so we don't crash in
16262 2000-03-04 Andy Piper <andy@xemacs.org>
16264 * window.h (struct window): add gutter_extent_modiff.
16266 * window.c (allocate_window): zero out gutter_extent_modiff.
16268 * redisplay.h: declare sync_display_line_structs.
16270 * redisplay.c (add_glyph_rune): add a better comment.
16272 * redisplay-output.c (sync_display_line_structs): made non-static.
16273 (compare_runes): remove unneccesary glyph cachel access.
16275 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16277 * gutter.c (output_gutter): don't output the gutter if extent
16278 changes only involve extents in buffers. use 4 sets of display
16280 (gutter_extent_signal_changed_region_maybe): new function. Mark
16281 extents in gutters as changed.
16282 (update_frame_gutters): use 4 sets of display lines.
16283 (reset_gutter_display_lines): ditto.
16284 (free_frame_gutters): ditto.
16285 (redraw_exposed_gutter): force output of gutters.
16287 * frame.h (struct frame): add 4 sets of gutter display lines.
16289 * extents.c: (extent_changed_for_redisplay): signal changes to
16290 extents in strings in the gutter as well as extents in buffers.
16292 2000-03-02 Andy Piper <andy@xemacs.org>
16294 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16296 * frame.c (Fmake_frame): make sure the gutters get initialized
16297 after the frame is visible.
16298 (set_frame_selected_window): re-arrange compilation macros a
16300 (change_frame_size_1): mark gutters changed.
16302 * device.c (Fset_device_class): mark gutters changed.
16304 2000-03-01 Andy Piper <andy@xemacs.org>
16306 * window.c (window_top_frame_gutter_height): deleted.
16307 (window_bottom_frame_gutter_height): ditto.
16308 (window_left_frame_gutter_height): ditto.
16309 (window_right_frame_gutter_height): ditto.
16310 (window_top_gutter_height): don't use them.
16311 (window_bottom_gutter_height): ditto.
16312 (window_left_gutter_width): ditto.
16313 (window_right_gutter_width): ditto.
16314 (Fsplit_window): ditto.
16315 (Fwindow_pixel_edges): don't use border dimensions here.
16317 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16318 (update_scrollbar_instance): ditto.
16320 * redisplay.c (generate_modeline): don't take gutters into account.
16321 (generate_modeline): ditto.
16322 (redisplay_frame): small gutter display optimization.
16324 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16326 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16327 gutters into account.
16329 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16330 for window position and type.
16332 * gutter.c (get_gutter_coords): fix for frame gutters.
16333 (update_frame_gutters): update frame geometry if the gutters have
16335 (init_frame_gutters): record current gutter geometries.
16337 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16339 (mswindows_widget_instantiate): ditto.
16341 * frame.h (struct frame): add current_gutter_bounds.
16343 * frame.c (change_frame_size_1): position window and minibuffer
16344 appropriately taking into account the frame gutters.
16346 * frame-x.c: (x_initialize_frame_size): take into account the
16349 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16351 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16353 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16355 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16357 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16359 * file-coding.c (reset_decoding_stream): Clear previous
16360 detection state when autodetect.
16362 2000-02-29 Didier Verna <didier@xemacs.org>
16364 * extents.c (set_extent_glyph_1): don't require extents to be
16367 2000-02-27 Andy Piper <andy@xemacs.org>
16369 * gutter.c (Fset_default_gutter_position): don't default left and
16370 right gutter visibility to t.
16371 (Fset_default_gutter_position): run
16372 default-gutter-position-changed-hook.
16373 (syms_of_gutter): add default-gutter-position-changed-hook.
16375 2000-02-26 Andy Piper <andy@xemacs.org>
16377 * specifier.c (Fmake_specifier): add gutter references.
16379 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16381 * lisp.h: declare Fvalid_plist_p.
16383 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16385 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16386 well as its visibility so that it gets reconstructed.
16387 (construct_window_gutter_spec): new function. Construct a string
16388 to be displayed in the gutter from a plist of strings. Take care
16389 to only use elements that are declared as visible.
16390 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16392 (gutter_validate): allow plists of strings in the specifier.
16393 (gutter_specs_changed): construct the real_gutter from the gutter
16394 specs using construct_window_gutter_spec.
16395 (gutter_visible_validate): gutter-visible is a new specifier type.
16396 (Fgutter_visible_specifier_p): new function for the new specifier.
16397 (syms_of_gutter): declare gutter-visible and
16398 Fgutter_visible_specifier_p.
16399 (specifier_type_create_gutter): intitalize new gutter-visible
16401 (reinit_specifier_type_create_gutter): ditto.
16402 (specifier_vars_of_gutter): use new specifier type for gutter
16404 (init_frame_gutters): construct real_gutter correctly.
16405 (Fgutter_specifier_p): beef up documentation.
16406 (Fgutter_size_specifier_p): ditto.
16408 * winslots.h: add real_gutter slots.
16410 2000-02-25 Andy Piper <andy@xemacs.org>
16412 * device-msw.c: Be kind to older cygwin versions. From Raymond
16413 Toy <toy@rtp.ericsson.se>.
16415 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16416 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16418 2000-02-25 Martin Buchholz <martin@xemacs.org>
16420 * elhash.c (MARK_OBJ): Practice macro hygiene.
16422 2000-02-24 Martin Buchholz <martin@xemacs.org>
16424 * miscplay.c: s/__inline__/inline/g;
16425 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16426 (get_device_compdc): INLINE ==> static inline
16427 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16428 find -name '*.h' | \
16429 xargs global-replace \
16430 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16432 2000-02-25 Andy Piper <andy@xemacs.org>
16434 * window.c (window_top_frame_gutter_height): new function.
16435 (window_top_window_gutter_height): ditto.
16436 (window_top_gutter_height): use them.
16437 (window_bottom_frame_gutter_height): new function.
16438 (window_bottom_window_gutter_height): ditto.
16439 (window_bottom_gutter_height): use them.
16440 (window_left_window_gutter_width): new function.
16441 (window_left_frame_gutter_width): ditto.
16442 (window_left_gutter_width): use them.
16443 (window_right_window_gutter_width): new function.
16444 (window_right_frame_gutter_width): ditto.
16445 (window_right_gutter_width): use them.
16446 (window_pixel_height): new function. calulate window pixel height
16447 with frame gutter involvement.
16448 (Fsplit_window): calculate new sizes taking frame gutters into
16450 (window_char_height_to_pixel_height): don't include frame gutters.
16451 (window_char_height): use window_pixel_height.
16452 (window_pixheight): rename from window_pixel_height.
16453 (change_window_height): use it.
16454 (window_pixel_height_to_char_height): don't include frame gutters.
16455 (window_char_width_to_pixel_width): ditto.
16457 2000-02-25 Andy Piper <andy@xemacs.org>
16459 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16462 2000-02-24 Martin Buchholz <martin@xemacs.org>
16464 * alloc.c (staticpro):
16465 (staticpro_nodump):
16470 (compact_string_chars):
16471 (pdump_dump_wired):
16472 Convert: if (foo) abort(); ==> assert (! foo);
16474 * eldap.c (Fldap_search_basic):
16478 Fix compiler warnings, and possible crashes if (random) return
16479 value were to be used.
16481 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16483 * device-msw.c: Workaround ResetDC failure.
16485 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16486 applying a devmode.
16488 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16489 (mswindows_text_width): Do not start printer page.
16491 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16493 * glyphs-msw.c: Added image methods to msprinter console and
16494 msprinter-specific image instantiation.
16496 2000-02-20 Mike Alexander <mta@arbortext.com>
16498 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16499 to avoid crashes when selection-sets-clipboard is on
16500 (mswindows_own_selection): ditto
16502 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16505 * redisplay-msw.c (get_frame_dc):
16506 (get_frame_compdc):
16508 * device-msw.c (mswindows_init_device):
16509 (mswindows_delete_device):
16510 (msprinter_init_device):
16511 (msprinter_delete_device):
16512 * frame-msw.c (mswindows_init_frame_1):
16513 (mswindows_delete_frame):
16514 (msprinter_init_frame_3):
16515 (msprinter_delete_frame): Move compatible DC to device object from
16516 frame object, for both mswindows and msprinter. Only one at a time
16517 is needed, it is a real waste to have one per frame!
16519 2000-02-23 Andy Piper <andy@xemacs.org>
16521 * glyphs.c: add dynamic width and height elements.
16522 (image_instance_equal): ditto.
16524 * glyphs-widget.c (widget_query_geometry): calculate width and
16525 height dynamically if required.
16526 (initialize_widget_image_instance): initialize dynamic dimensions.
16527 (widget_instantiate): pick-up dynamic dimensions.
16529 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16530 dynamic determination. Add appropriate macros.
16532 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16534 (WINDOW_GUTTER_SIZE): ditto.
16535 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16537 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16539 (get_frame_dc): ditto.
16541 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16544 2000-02-23 Martin Buchholz <martin@xemacs.org>
16546 * XEmacs 21.2.31 is released.
16548 2000-02-22 Ben Wing <ben@xemacs.org>
16550 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16552 2000-02-22 Andy Piper <andy@xemacs.org>
16554 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16556 2000-02-21 Mike Sperber <mike@xemacs.org>
16560 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16563 2000-02-21 Mike Sperber <mike@xemacs.org>
16565 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16567 2000-02-21 Martin Buchholz <martin@xemacs.org>
16569 * XEmacs 21.2.30 is released.
16571 2000-02-20 Martin Buchholz <martin@xemacs.org>
16573 Performance hacking.
16575 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16576 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16577 * emacs.c (main_1):
16579 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16580 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16581 * symeval.h (DEFVAR_SYMVAL_FWD):
16582 * symbols.c (guts_of_unbound_marker):
16583 Make all c_readonly objects also lisp_readonly and marked for life.
16584 * lrecord.h (struct lrecord_implementation):
16585 Document flags better.
16586 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16587 * lrecord.h (DECLARE_LRECORD):
16588 * lrecord.h (XSETRECORD):
16589 * lrecord.h (RECORDP):
16590 * lrecord.h (RECORD_TYPEP):
16591 * lrecord.h (RECORD_MARKER): New.
16592 * lrecord.h (error_check_*):
16593 * lrecord.h (CONCHECK_NONRECORD):
16594 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16595 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16596 * lrecord.h (set_lheader_implementation):
16597 * lrecord.h (enum lrecord_type): New.
16598 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16599 * alloc.c (disksave_object_finalization_1):
16600 * alloc.c (mark_object):
16601 * alloc.c (lrecord_type_index):
16602 * alloc.c (tick_lcrecord_stats):
16603 * alloc.c (Fgarbage_collect):
16604 * alloc.c (init_alloc_once_early):
16605 * alloc.c (pdump_load):
16606 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16607 * alloc.c (lrecord_type_index): Delete.
16608 Make lisp object type indexes be constant.
16609 Makes (byte-compile) 5% faster.
16610 Put all marker functions into their own array.
16611 Makes (garbage-collect) 5% faster.
16612 Optimize SYMBOL_VALUE_MAGIC_P.
16613 Makes (byte-compile) 2-3% faster.
16614 * config.h.in (gc_checking_assert): New.
16615 * alloc.c: Use gc_checking_assert().
16616 * .dbxrc: Make compatible with new object type implementation.
16617 * .gdbinit: Make compatible with new object type implementation.
16618 * alloc.c: Delete all symbols defined only for debugging, such as
16619 Lisp_Type_Vector and lrecord_charset.
16621 2000-02-21 Andy Piper <andy@xemacs.org>
16623 * gui-msw.c (Fmswindows_shell_execute): fix file location
16626 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16627 unshowing so that set_window_buffer doesn't undo
16628 kill_buffer_hook's hard work.
16630 * glyphs-widget.c (tab_control_query_geometry): don't count the
16631 first item when calculating geometry.
16633 * glyphs.c (map_subwindow): remove redundant code.
16634 (update_frame_subwindows): be more circumspect about when to
16637 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16638 when items haven't changed. Update faces if faces have changed as
16639 well as just the widget face.
16640 (x_tab_control_update): Update faces if faces have changed as well
16641 as just the widget face.
16643 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16645 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16647 (build_syscolor_string): Use mswindows_color_to_string to try to
16649 (mswindows_device_system_metrics): Reverse the foreground and
16650 background colors so that they match the documentation.
16652 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16653 they match the default Windows palette.
16654 (mswindows_color_to_string): New function.
16656 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16658 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16660 2000-02-18 Olivier Galibert <galibert@pobox.com>
16662 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16663 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16665 * symbols.c (init_symbols_once_early): Removed obsolete
16666 DATA_SEG_BITS related kludge.
16667 (defvar_magic): Ditto.
16669 * malloc.c: Removed obsolete DATA_SEG_BITS
16671 * mem-limits.h: Ditto.
16673 * Makefile.in.in: Removed obsolete HAVE_SHM
16676 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16678 * device-msw.c (mswindows_delete_device): Free DDE string
16681 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16683 * keymap.c (get_keyelt):
16684 * unexnt.c (unexec):
16685 * vm-limit.c (memory_warnings):
16686 * ntheap.c (recreate_heap):
16687 * ntheap.h (UNINIT_PTR):
16688 * select-msw.c (Fmswindows_get_clipboard):
16689 (Fmswindows_set_clipboard):
16690 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16692 * menubar-msw.c (displayable_menu_item):
16694 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16695 * sysdep.c (sys_subshell):
16696 * process-nt.c (nt_create_process):
16697 * nt.c (normalize_filename):
16698 (dostounix_filename):
16699 (unixtodos_filename):
16700 * ntproc.c (win32_executable_type):
16701 * ntplay.c (play_sound_data_1):
16703 * editfns.c (get_home_directory):
16704 * event-msw.c (struct winsock_stream):
16705 (mswindows_dde_callback):
16706 * device-msw.c (msprinter_init_device):
16707 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16709 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16710 mswindows_clear_toolbar were swapped!
16712 * objects-msw.c:(colormap_t):
16714 * emacs.c (struct standard_args): Fixed const jumble.
16716 * glyphs-widget.c (update_widget): Fixed comparison notation.
16718 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16720 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16721 __declspec(noreturn) syntax.
16723 2000-02-19 Martin Buchholz <martin@xemacs.org>
16725 * eldap.c (Fldap_open):
16726 (Fldap_search_basic):
16729 Use new coding system conversion macros.
16731 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16733 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16735 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16737 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16738 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16740 * eldap.c (Qadd, Qreplace): New constant symbols
16741 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16742 interruptions by XEmacs signals
16743 Remove unnecessary calls to slow_down_interrupts and
16744 speed_up_interrupts
16745 (Fldap_search_basic): Renamed from Fldap_search_internal
16746 Added new optional parameter VERBOSE that triggers the
16747 display of progress messages
16748 Remove unnecessary calls to slow_down_interrupts and
16749 speed_up_interrupts
16750 LDAP result code analysis rewritten
16751 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16752 (syms_of_eldap): Define the new symbols and functions
16755 2000-02-17 Martin Buchholz <martin@xemacs.org>
16757 * realpath.c: Determine PATH_MAX maximally portably.
16759 * insdel.c (bytecount_to_charcount): Optimize.
16760 The function used to be optimized for entirely ASCII sequences.
16761 Now it is optimized for successive characters from the same
16762 charset. This also wins big for _mostly_ ASCII sequences.
16764 * fileio.c (Ffile_truename): convert return from realpath() using
16765 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16766 - Rewrite GCPROing slightly.
16768 * sysdep.c (sys_open): Do filename conversion, like all other
16769 sys_* functions. Fixes bug:
16770 (let ((file-name-coding-system 'iso-8859-2))
16771 (write-region x y latin2-name))
16772 ==> writes filename using internal encoding.
16774 2000-02-18 Martin Buchholz <martin@xemacs.org>
16776 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16777 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16778 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16779 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16780 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16781 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16782 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16783 (CONST_IF_NOT_DEBUG): Delete.
16784 * alloc.c (this_one_is_unmarkable): Delete.
16785 (mark_object): Don't check for this_one_is_unmarkable. Use the
16786 c_readonly flag instead.
16787 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16789 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16791 * event-msw.c (mswindows_drain_windows_queue):
16792 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16793 away redundant repaint events.
16795 2000-02-17 Andy Piper <andy@xemacs.org>
16797 * redisplay.h: declare mark_redisplay_structs.
16799 * redisplay.c (redisplay_window):
16800 (redisplay_frame): don't check subwindows_state_changed.
16801 (mark_redisplay): mark gutters here.
16803 * glyphs.c: (instantiate_image_instantiator): always layout if we
16804 haven't done so already.
16805 (allocate_image_instance): don't mark as dirty.
16806 (update_subwindow): bind inhibit_quit.
16808 * gutter.c (mark_gutters): new function.
16810 * glyphs-x.c (x_update_widget): Always resize to get round a
16813 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16814 breaking absolutely everything.
16816 * gutter.h: declare mark_gutters.
16818 2000-02-16 Martin Buchholz <martin@xemacs.org>
16820 * XEmacs 21.2.29 is released.
16822 2000-02-15 Olivier Galibert <galibert@pobox.com>
16824 * fns.c (size_bit_vector): Fix computation of the size.
16826 2000-02-15 Martin Buchholz <martin@xemacs.org>
16828 * *.[ch]: Change CONST to const globally.
16829 find -name '*.[ch]' | \
16830 xargs global-replace \
16831 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16832 - Remove vestigial references to CONST_IS_LOSING
16834 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16836 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16837 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16838 events instead of dispatching them directly.
16839 (mswindows_handle_paint): New function to do repainting.
16840 (mswindows_wnd_proc):
16841 (emacs_mswindows_handle_magic_event): Call above function.
16843 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16845 * objects-msw.c (mswindows_create_font_variant): Return the new
16847 (initialize_font_instance): Get font metrics from the underlined
16848 variant of the font to cope with the case where the underlined
16849 font has a bigger descent.
16851 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16853 * gui.c (gui_item_accelerator): Return the first underlined
16854 character in item name.
16856 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16858 * lisp.h: Added Qprinter.
16860 * general.c (syms_of_general): Initialized it.
16862 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16864 (get_frame_compdc): Made inline.
16866 * console.h (struct console_methods): Added eject_page method.
16868 * frame.h: Added FRAME_DISPLAY_P and friends.
16869 Aligned backslahes in many macros in more readable fashion.
16870 Added page_number to struct frame, and an accessor macro
16873 * defice.h: Added DEVICE_DISPLAY_P and friends.
16875 * device.c (Fdevice_printer_p): Used these.
16877 * frame.c (allocate_frame_core): Initialize page number.
16878 (Fprint_job_page_number):
16879 (Fprint_job_eject_page): Implemented.
16881 * frame-msw.c (msprinter_eject_page): Added method.
16882 (msprinter_start_page): Added.
16884 * window.c (Fwindow_truncated_p): Fixed docstring.
16885 (Fwindow_last_line_visible_height): Implemented.
16887 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16889 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16891 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16893 * syntax.c (scan_words): Always advance at least one character.
16895 2000-02-13 Andy Piper <andy@xemacs.org>
16897 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16898 to make sure the glyph is in the cachels.
16900 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16901 global image instance flag.
16902 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16903 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16905 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16906 (Fset_image_instance_property): mark layout as changed.
16907 (invalidate_glyph_geometry_maybe): mark layout as changed.
16908 (glyph_width): use new NEEDS_LAYOUT macro.
16909 (glyph_ascent): ditto.
16910 (glyph_descent): ditto.
16911 (glyph_height): ditto.
16912 (image_instance_layout): mark layout as clean after laying out.
16913 (update_subwindow): don't mark layout as clean here.
16915 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16916 should no longer be needed.
16918 * glyphs-x.c (x_update_widget): sanitize asserts.
16919 (x_finalize_image_instance): sanitize assignment to widgets.
16921 * glyphs-widget.c (widget_instantiate): don't need to clear the
16924 2000-02-13 Martin Buchholz <martin@xemacs.org>
16926 * sysdep.c (getcwd): Use standard prototype.
16927 * sysdep.h (getcwd): Use standard prototype.
16929 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16930 (sequence, start, end).
16931 Remove redundant type checking.
16932 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16933 view of `caller-protects') to avoid a crash where the real fix was
16936 2000-02-12 Martin Buchholz <martin@xemacs.org>
16938 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16940 * s/sol2.h: Remove feature macro initialization.
16942 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16943 (vector_hash): New. Code from internal_hash.
16945 Fix up allocation subsystem comments.
16947 * config.h.in: Add __EXTENSIONS__ for Solaris.
16949 * systime.h (EMACS_GETTIMEOFDAY): New.
16950 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16951 Remove Solaris-specific code.
16952 Use void* for the (ignored) second arg for gettimeofday().
16954 * elhash.c (hash_table_hash): Implement it, finally.
16955 * elhash.c: Use hashcode_t.
16957 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16958 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16960 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16961 * fns.c (size_bit_vector):
16962 * alloc.c (size_vector):
16963 (make_vector_internal):
16964 (make_bit_vector_internal):
16965 (sweep_bit_vectors_1):
16966 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16968 2000-02-10 Martin Buchholz <martin@xemacs.org>
16970 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16971 Include strings.h to avoid warnings for bzero and strcasecmp.
16973 2000-02-10 Olivier Galibert <galibert@pobox.com>
16975 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16976 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16978 * fns.c (size_bit_vector): New. Declare bit vectors as a
16981 2000-02-10 Olivier Galibert <galibert@pobox.com>
16983 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16984 use a value field instead.
16985 (symbol_value_forward_forward): Use value field.
16986 (DEFVAR_SYMVAL_FWD): Use value field.
16987 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16988 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16989 (DEFVAR_CONST_INT): Ditto.
16990 (DEFVAR_BOOL): Ditto.
16991 (DEFVAR_CONST_BOOL): Ditto.
16992 (DEFVAR_INT_MAGIC): Ditto.
16993 (DEFVAR_BOOL_MAGIC): Ditto.
16995 * symbols.c (guts_of_unbound_marker): Use value field.
16996 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16997 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16999 * lisp.h: Declare dumpopaque and noninteractive1.
17001 * alloc.c (dumpopaque): Added.
17002 (pdump_dump_opaquevec): Added.
17003 (pdump): Call pdump_dump_opaquevec to dump opaque data.
17004 (pdump_load): Reload opaque data. Sync noninteractive1 with
17007 2000-02-10 Andy Piper <andy@xemacs.org>
17009 * glyphs.c (image_instance_layout): if the size changes, mark it
17012 * redisplay-output.c (redisplay_output_layout): Update the
17014 (redisplay_output_subwindow): ditto.
17016 * glyphs.c (update_subwindow): make sure we reset flags for
17017 layouts as well as everything else.
17019 * glyphs-widget.c (layout_layout): don't need to set the instances
17022 2000-02-09 Martin Buchholz <martin@xemacs.org>
17024 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
17025 not HAVE_DLOPEN, which is a lower-level thing.
17027 * .cvsignore: Ignore gmon.out
17029 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
17031 * .cvsignore: Ignore portable dumper xemacs.dmp file
17033 2000-02-09 Andy Piper <andy@xemacs.org>
17035 * redisplay-output.c (redisplay_output_layout): be more clever
17036 about when we output based on the changed flags.
17038 * glyphs.h (struct image_instantiator_methods): add update_method.
17039 (struct Lisp_Image_Instance): add changed flags. Declare new
17040 macros for manipulating them.
17042 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
17043 (image_instance_parent_glyph): find an image_instance's parent
17044 glyph or image_instance.
17045 (image_instance_layout): mark the size as changed.
17046 (set_image_instance_dirty_p): new function. mark an image
17047 instance, plus all of its parents, as dirty.
17048 (Fset_image_instance_property): use it.
17049 (Fglyph_animated_timeout_handler): use it.
17050 (update_subwindow): call update_widget and device methods for
17051 update_subwindow. Mark all changed flags as clean.
17052 (Fresize_subwindow): mark size as changed.
17054 * glyphs-x.c (x_finalize_image_instance): try and detect gc
17056 (x_update_subwindow): only resize subwindows here.
17057 (x_update_widget): new function. Update all changed properties of
17059 (x_resize_subwindow): deleted.
17060 (x_widget_set_property): deleted.
17061 (x_progress_gauge_set_property): deleted.
17062 (x_progress_gauge_update): new function. Implement recorded
17064 (x_tab_control_update): ditto.
17065 (x_tab_control_set_property): deleted.
17066 (console_type_create_glyphs_x): declare new functions.
17067 (image_instantiator_format_create_glyphs_x): ditto.
17069 * glyphs-widget.c (widget_set_property): mark text changed.
17070 (update_widget): new function. Update properties of a widget.
17071 (widget_instantiate): for layouts make sure we set their
17072 children's parent correctly.
17073 (tab_control_set_property): new function. Record changes that will
17074 take place under redisplay's control.
17075 (progress_gauge_set_property): ditto.
17076 (image_instantiator_progress_guage): declare new functions.
17077 (image_instantiator_tab_control): ditto.
17079 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
17081 (mswindows_update_widget): new function. Update all properties on
17082 a widget that have changed.
17083 (mswindows_button_update): new function. Update a button's set
17085 (mswindows_tab_control_update): new function. Update the items in
17087 (mswindows_tab_control_set_property): deleted.
17088 (mswindows_progress_gauge_update): new function. Update the
17089 progress gauge's progress.
17090 (mswindows_widget_set_property): deleted. This is all done
17091 asynchronously now.
17092 (mswindows_progress_gauge_set_property): ditto.
17093 (console_type_create_glyphs_mswindows): declare new methods.
17094 (image_instantiator_format_create_glyphs_mswindows): ditto.
17096 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17097 (msprinter_set_frame_properties): ditto.
17099 * console.h (struct console_methods): Add update_widget_method.
17101 2000-02-09 Andy Piper <andy@xemacs.org>
17103 * gui-msw.c (Fmswindows_shell_execute): Make
17104 mswindows-shell-execute industrial strength.
17106 2000-02-08 Martin Buchholz <martin@xemacs.org>
17108 * lrecord.h: Make macro argument `props' match member function `plist'.
17111 * fns.c (Fremprop):
17112 * fns.c (Fobject_plist):
17115 Object property list frobbing cleanup.
17116 - Allow any lisp object (compared with `eq'), not just symbols, as
17117 keys in object plists.
17118 - Move symbol plist frobbing into symbols.c, where it belongs.
17119 - Move string plist frobbing into alloc.c, where it belongs.
17120 - Everything's an lrecord now, so no need to test for symbolp, etc.
17121 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17123 * extents.c: Reorder code to remove declarations.
17125 * frame.h (store_in_alist): Remove useless declaration.
17127 2000-02-07 Martin Buchholz <martin@xemacs.org>
17129 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17130 * config.h.in: Add HAVE_XCONVERTCASE.
17132 2000-02-07 Andy Piper <andy@xemacs.org>
17134 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17135 it breaks many things.
17137 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17139 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17140 actually can start a common comment type.
17141 * src/syntax.h (SYNTAX_END_P): ditto for end.
17143 2000-02-07 Martin Buchholz <martin@xemacs.org>
17145 * XEmacs 21.2.28 is released.
17147 2000-02-06 Martin Buchholz <martin@xemacs.org>
17149 * event-Xt.c (x_keysym_to_character): New.
17150 (maybe_define_x_key_as_self_inserting_character): New.
17151 (x_has_keysym): New.
17152 Auto-define all keys on the keyboard as self-insert-key.
17154 2000-02-02 Martin Buchholz <martin@xemacs.org>
17156 * menubar.c (vars_of_menubar): A small code simplification.
17158 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17161 * ExternalClient.c:
17162 * EmacsShell-sub.c:
17165 Use consistent style for specifying X resources.
17167 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17168 This makes (dontusethis-set-symbol-value-handler) actually usable.
17170 * lrecord.h (lrecord_decription_type):
17171 * alloc.c (pdump_register_sub):
17174 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17175 Comply with XEmacs coding style.
17176 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17177 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17179 * keymap.c (Faccessible_keymaps):
17180 Make (accessible-keymaps map "\C-h") do the Right Thing.
17181 Make (accessible-keymaps map []) do the Right Thing.
17182 Make (accessible-keymaps map "") do the Right Thing.
17183 (check_keymap_definition_loop): New function.
17184 (keymap_store_internal): Keep luser from shooting self in foot,
17185 via (define-key ctl-x-4-map "p" global-map).
17186 Remove fullness slot from struct Lisp_Keymap, since hash tables
17188 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17190 2000-01-30 Martin Buchholz <martin@xemacs.org>
17192 * redisplay.c (init_redisplay): Fix small memory leak.
17194 * elhash.c (pdump_reorganize_hash_table):
17195 Rename from reorganize_hash_table. Change prototype.
17196 Reuse the original memory for hentries. Save 100k.
17197 * alloc.c (PDUMP_READ): new macro.
17198 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17199 * alloc.c: No need to #ifndef before #undef.
17201 * print.c: Allow debug_print() to print readably by modifying
17202 debug_print_readably. Use consistent variable names.
17204 * .dbxrc: Try to get things to work even if stopped in a function
17205 without source available by explicitly specifying source files.
17206 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17208 * unexnt.c (_start): Removed bogus code which caused loading heap
17209 from differrent executable file.
17210 Removed bogus assignment to _fmode, which caused inconsistencies.
17212 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17214 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17215 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17216 Do not preliminary `#define signal sigset'.
17218 * systime.h: Do not prototype environ on windows nt and cygwin,
17219 this conflicts with system header.
17221 * syssignal.h: Use correct define for WINDOWSNT
17223 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17224 with system header.
17226 * sysdep.c (near start of file): Fixed commentary and rearranged
17227 ifdefs in readable order.
17228 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17231 (end_of_data): Do not compile in if using PDUMP.
17233 * symsinit.h: Prototyped vars_of_nt().
17235 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17236 (find_child_console): Use it.
17237 (sys_kill): Use it.
17239 * ntheap.h: Do not extern os_subtype.
17241 * ntheap.c (cache_system_info): Do not cache unneeded:
17242 nt_major_version, nt_minor_version and os_subtype.
17243 (recreate_heap): Do not compile in when PDUMPing.
17245 * nt.c (geteuid and friends): Use the new varibale
17246 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17247 (init_user_info): Removed the above mentioned hackery.
17248 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17249 stat has been fixed in the C runtime.
17250 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17252 * file-coding.c (struct file_coding_dump): Do not define
17253 ucs_to_mule_table in the struct if not MULE.
17254 (struct struct lrecord_description fcd_description_1): Do not dump
17257 * emacs.c (main_1): Call vars_of_nt().
17258 (right before Fdump_emacs_data): Don't need lastfile if using both
17259 portabe dumper and system malloc.
17261 * alloc.c (Fmemory_limit): Conditionalized out.
17262 (pdump): Use OPEN_BINARY for the portable dump file.
17263 (pdump_load): Ditto.
17265 2000-02-02 Mike Alexander <mta@arbortext.com>
17267 * nt.c (convert_time): Set tm_isdst before calling mktime and
17268 avoid calling it at all if the compiler supports 64 bit integers.
17269 Also initialize utc_base_ft before using it.
17271 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17273 * frame.c (change_frame_size_1): Take f->internal_border_width
17274 into consideration when calculating the width of the frame.
17276 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17278 * window.c (frame_min_height):
17279 (frame_size_valid_p):
17280 (frame_pixsize_valid_p): Added.
17281 (check_frame_size): Generalized.
17283 * window.h: Prototyped the above.
17286 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17287 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17288 Deleted Vwin32_* and Vbinary_process_* unused variables.
17290 * device-msw.c (msprinter_init_device): Do not get printer font
17291 list; Added DEVMODE functions.
17293 * frame-msw.c: Added lots of printer code.
17295 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17298 * console-msw.h: Added more msprinter device private slots.
17300 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17302 * event-msw.c (key_needs_default_processing_p): Added.
17303 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17305 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17307 * glyphs.c (image_instance_layout): Mark image instance as clean
17309 (glyph_dirty_p): Removed redundant function.
17310 (invalidate_glyph_geometry_maybe): Added.
17311 (update_glyph_cachel_data): Call it.
17313 * glyphs.h: Prototyped it.
17315 * redisplay.c (add_glyph_rune): Call it.
17316 (redisplay_window): Reset glyphs cachels when frame faces have
17317 changed, thus forcing recomputation of built-in border glyphs.
17319 2000-01-30 Martin Buchholz <martin@xemacs.org>
17321 * Makefile.in.in: Make portable dumper and purify play well together.
17322 Add imperfect, but better than nothing, support for pdump.
17323 Remove xemacs.dmp when temacs is re-generated.
17324 Don't ignore errors when dumping xemacs.
17326 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17328 2000-01-28 Andy Piper <andy@xemacs.org>
17330 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17331 (setup_normal_frame): ditto.
17332 (setup_frame_without_minibuffer): ditto.
17333 (setup_minibuffer_frame): ditto.
17334 (delete_frame_internal): ditto.
17335 (Fmake_frame_invisible): ditto.
17336 (Ficonify_frame): ditto.
17338 * window.h: change Fset_window_buffer signature.
17340 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17341 (Fset_window_buffer): allow recording of buffer if the window is
17342 the selected window.
17343 (window_loop): Use new Fset_window signature.
17345 2000-01-23 Daniel Pittman <daniel@danann.net>
17347 * config.h.in: Added template for `HAVE_ATHENA_3D'
17349 2000-01-29 Andy Piper <andy@xemacs.org>
17351 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17353 * gutter.c (output_gutter): Don't output if the window isn't live.
17355 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17357 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17358 of 01/12/00: Moved SetFocus back here where it belongs.
17360 2000-01-23 Andy Piper <andy@xemacs.org>
17362 * s/cygwin32.h: declare printer things.
17364 2000-01-26 Andy Piper <andy@xemacs.org>
17366 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17369 2000-01-24 Andy Piper <andy@xemacs.org>
17371 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17372 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17374 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17376 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17378 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17380 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17381 (mswindows_output_display_block): Avoid local shadows.
17383 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17384 (mswindows_enqueue_mouse_button_event): ditto.
17385 (mswindows_handle_gui_wm_command): remove declaration.
17387 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17390 * console-msw.h: Avoid shadows.
17391 (mswindows_get_toolbar_button_text):
17392 (emacs_mswindows_create_stream_pair):
17393 (emacs_mswindows_delete_stream_pair):
17394 (mswindows_handle_toolbar_wm_command): declare.
17396 * device-msw.c (build_syscolor_string): Avoid shadows.
17398 2000-01-23 Andy Piper <andy@xemacs.org>
17400 * glyphs-widget.c (widget_instantiate): reverse the items for
17401 layouts so that children are in the expected order.
17403 2000-01-28 Martin Buchholz <martin@xemacs.org>
17405 * ralloc.c: safe_bcopy ==> memmove
17406 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17407 * s/msdos.h: Remove BCOPY macros.
17408 * insdel.c (gap_right): Remove BCOPY conditional code.
17409 * insdel.c (gap_left): Remove BCOPY conditional code.
17410 XEmacs demands a working ANSI C compiler - hence memmove.
17412 * regex.c (regex_compile): Remove accidental use of trigraphs.
17414 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17416 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17419 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17421 * event-msw.c (mswindows_drain_windows_queue): Added the
17423 (mswindows_need_event): Commented the call to
17424 mswindows_drain_windows_queue().
17425 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17428 * console-msw.h: Moved a few function prototypes here from
17431 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17432 parameter from unsigned short to unsigned long.
17433 (Fmswindows_shell_execute): Added return value.
17435 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17437 * sysdep.c (init_system_name):
17438 process-unix.c (unix_canonicalized_host_name):
17439 Don't call freeaddrinfo() if getaddrinfo() fails.
17441 * process-unix.c (unix_open_unix_network_stream):
17442 Moved the code to get a port # into address loop.
17444 2000-01-27 Martin Buchholz <martin@xemacs.org>
17446 * buffer.c (reinit_vars_of_buffer):
17447 The right place to initialize conversion_in_dynarr and
17448 conversion_out_dynarr.
17450 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17452 * process-unix.c (unix_canonicalize_host_name): Muleize.
17453 (unix_open_network_stream): Muleize.
17455 * buffer.h: Fix up prototypes for ralloc.c functions.
17457 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17458 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17459 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17460 instead of gethostbyname()
17461 * process-unix.c: In unix_canonicalize_host_name() and
17462 unix_open_network_stream(), add code to use getaddrinfo()
17463 instead of gethostbyname().
17465 2000-01-27 Daniel Pittman <daniel@danann.net>
17467 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17468 libs when built with flat Athena.
17470 2000-01-27 Martin Buchholz <martin@xemacs.org>
17472 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17473 Use coding standards for function prototypes.
17475 2000-01-25 Martin Buchholz <martin@xemacs.org>
17477 * dialog-msw.c (push_lisp_string_as_unicode):
17478 * doc.c (unparesseuxify_doc_string):
17479 * dired.c (Fuser_name_completion_1):
17480 * dired.c (Fuser_name_all_completions):
17481 * dired.c (free_user_cache):
17482 * dired.c (user_name_completion):
17483 * console-x.c (get_display_arg_connection):
17484 * minibuf.c (clear_echo_area_internal):
17485 * minibuf.c (echo_area_append):
17486 * eldap.c (Fldap_open):
17487 * eldap.c (Fldap_search_internal):
17488 * frame-x.c (x_set_frame_text_value):
17489 * frame-x.c (x_set_frame_properties):
17490 * frame-x.c (x_create_widgets):
17491 * redisplay-tty.c (term_get_fkeys_1):
17492 * objects-x.c (x_parse_nearest_color):
17493 * objects-x.c (x_valid_color_name_p):
17494 * objects-x.c (x_initialize_font_instance):
17495 * objects-x.c (x_list_fonts):
17496 * objects-x.c (x_find_charset_font):
17497 * tooltalk.c (Fadd_tooltalk_message_arg):
17498 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17499 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17500 * process-unix.c (unix_create_process):
17501 * ntproc.c (sys_spawnve):
17502 * sound.c (Fplay_sound_file):
17503 * sound.c (Fplay_sound):
17504 * buffer.c (init_initial_directory):
17505 * buffer.c (init_buffer):
17506 * editfns.c (init_editfns):
17507 * editfns.c (Ftemp_directory):
17508 * editfns.c (Fuser_full_name):
17509 * editfns.c (uncache_home_directory):
17510 * editfns.c (get_home_directory):
17511 * editfns.c (Fuser_home_directory):
17512 * editfns.c (Fformat_time_string):
17513 * editfns.c (Fcurrent_time_string):
17514 * gui-x.c (button_item_to_widget_value):
17515 * database.c (Fopen_database):
17516 * event-Xt.c (x_to_emacs_keysym):
17517 * event-Xt.c (x_event_to_emacs_event):
17518 * event-Xt.c (describe_event_window):
17519 * event-msw.c (mswindows_wnd_proc):
17520 * glyphs-eimage.c (jpeg_instantiate):
17521 * glyphs-eimage.c (gif_instantiate):
17522 * glyphs-eimage.c (png_instantiate):
17523 * glyphs-eimage.c (tiff_instantiate):
17524 * glyphs-x.c (xbm_instantiate_1):
17525 * glyphs-x.c (x_xbm_instantiate):
17526 * glyphs-x.c (x_xface_instantiate):
17527 * glyphs-x.c (autodetect_instantiate):
17528 * glyphs-x.c (cursor_font_instantiate):
17529 * glyphs-x.c (x_widget_instantiate):
17530 * glyphs-x.c (x_widget_set_property):
17531 * glyphs-x.c (x_widget_property):
17532 * glyphs-x.c (BUILD_GLYPH_INST):
17533 * print.c (write_string_to_stdio_stream):
17534 * print.c (output_string):
17535 * print.c (Falternate_debugging_output):
17536 * print.c (Fexternal_debugging_output):
17537 * glyphs-msw.c (extract_xpm_color_names):
17538 * glyphs-msw.c (mswindows_xpm_instantiate):
17539 * glyphs-msw.c (bmp_instantiate):
17540 * glyphs-msw.c (resource_name_to_resource):
17541 * glyphs-msw.c (mswindows_resource_instantiate):
17542 * glyphs-msw.c (xbm_instantiate_1):
17543 * glyphs-msw.c (mswindows_xbm_instantiate):
17544 * glyphs-msw.c (mswindows_xface_instantiate):
17545 * glyphs-msw.c (mswindows_widget_instantiate):
17546 * glyphs-msw.c (add_tree_item):
17547 * glyphs-msw.c (add_tab_item):
17548 * glyphs-msw.c (mswindows_combo_box_instantiate):
17549 * glyphs-msw.c (mswindows_widget_property):
17550 * glyphs-msw.c (mswindows_combo_box_property):
17551 * glyphs-msw.c (mswindows_widget_set_property):
17552 * console.c (stuff_buffered_input):
17553 * objects-msw.c (mswindows_initialize_color_instance):
17554 * objects-msw.c (mswindows_valid_color_name_p):
17555 * objects-msw.c (mswindows_list_fonts):
17556 * objects-msw.c (mswindows_font_instance_truename):
17557 * bytecode.c (optimize_compiled_function):
17558 * select-x.c (symbol_to_x_atom):
17559 * select-x.c (x_atom_to_symbol):
17560 * select-x.c (hack_motif_clipboard_selection):
17561 * select-x.c (selection_data_to_lisp_data):
17562 * select-x.c (lisp_data_to_selection_data):
17563 * select-x.c (Fx_get_cutbuffer_internal):
17564 * select-x.c (Fx_store_cutbuffer_internal):
17565 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17566 * buffer.h (TO_INTERNAL_FORMAT): New function.
17567 * emacs.c (make_arg_list_1):
17568 * emacs.c (make_argc_argv):
17569 * emacs.c (main_1):
17570 * emacs.c (Fdump_emacs):
17571 * emacs.c (split_string_by_emchar_1):
17576 * device-x.c (x_init_device):
17577 * device-x.c (Fx_valid_keysym_name_p):
17578 * device-x.c (Fx_get_font_path):
17579 * device-x.c (Fx_set_font_path):
17580 * glyphs.c (bitmap_to_lisp_data):
17581 * glyphs.c (pixmap_to_lisp_data):
17582 * alloc.c (make_ext_string): Use coding system arguments. Update
17584 * alloc.c (build_string):
17585 * callproc.c (child_setup):
17586 * callproc.c (init_callproc):
17587 * fileio.c (lisp_strerror):
17588 * fileio.c (directory_file_name):
17589 * fileio.c (Fexpand_file_name):
17590 * fileio.c (Ffile_truename):
17591 * fileio.c (Fsysnetunam):
17592 * fileio.c (Fdo_auto_save):
17593 * sysdep.c (sys_readdir):
17594 * tests.c: New file. Allow adding C tests.
17595 Replace GET_* macros with a more comprehensible and flexible
17596 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17598 Any coding system can be used to do format conversion.
17599 Eliminate enum external_data_format.
17600 Eliminate convert_to_external_format.
17601 Eliminate convert_to_internal_format.
17602 Make sure file-name, keyboard, terminal, and ctext are always
17603 defined as coding systems or aliases. Make
17604 file-name-coding-system, terminal-coding-system, and
17605 keyboard-coding-system magical variables that are equivalent to
17606 defining the corresponding coding system aliases.
17608 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17609 * file-coding.c (Fcoding_system_alias_p): New function.
17610 * file-coding.c (Fcoding_system_aliasee): New function.
17611 * file-coding.c (append_suffix_to_symbol): New function.
17612 * file-coding.c (dangling_coding_system_alias_p): New function.
17613 * file-coding.c (Ffind_coding_system):
17614 * file-coding.c (Fcopy_coding_system):
17615 * file-coding.c (encode_coding_no_conversion):
17616 * file-coding.c (syms_of_file_coding):
17617 * file-coding.c (vars_of_file_coding):
17618 Rewrite coding system alias code.
17619 Allow nested aliases, like symbolic links.
17620 Allow redefinition of coding system aliases.
17621 Prevent existence of dangling coding system aliases.
17623 * dired.c (Fuser_name_completion_1):
17624 * dired.c (Fuser_name_all_completions):
17625 A crash would happen if user did QUIT in the middle of building
17626 user_name_cache. Remove redundant code in mainline and unwind_protect.
17629 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17631 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17632 an unsigned char *. Update all callers.
17634 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17636 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17638 2000-01-25 Martin Buchholz <martin@xemacs.org>
17640 * elhash.c (hentry_description): Use more portable definition.
17641 (resize_hash_table): Initialize new hentries using
17642 xnew_array_and_zero, thereby simplifying the code.
17644 * mule-charset.c (make_charset): Make sure entire object is
17645 initialized, to avoid Purify warnings.
17647 * alloc.c (resize_string): Fix unlikely crash with big strings.
17649 2000-01-24 Martin Buchholz <martin@xemacs.org>
17651 * realpath.c (xrealpath):
17652 Don't call getwd().
17654 2000-01-25 Martin Buchholz <martin@xemacs.org>
17656 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17658 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17660 * unexelfsgi.c (unexec): Change the way we decide which segment
17661 should be extended.
17663 Assumption that .bss section should be outside the PT_LOADable
17664 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17665 it's present) is inside the 'data' segment. This would fail the
17666 test which was used to find a segment to grow and cover new
17667 heap. Instead of this assumption, I created another one - on IRIX
17668 the segment to grow should start below .bss and it's address
17669 should extent above the end of .bss. Once this segment is
17670 identified, it's grown to accommodate the new heap and new
17671 zero-length .bss section is added at the end of .data2.
17673 2000-01-25 Martin Buchholz <martin@xemacs.org>
17675 * eval.c (Feval): Wrong number of arguments should use original
17676 function, not the indirect_function version of it.
17678 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17680 * glyphs-x.c (x_button_instantiate): Don't add image if
17681 it is not a pixmap.
17682 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17685 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17687 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17689 (DEFVAR_INT_MAGIC): Ditto.
17690 (DEFVAR_BOOL_MAGIC): Ditto.
17691 * glyphs.h: Reindent backslash.
17693 2000-01-24 Martin Buchholz <martin@xemacs.org>
17695 * glyphs-widget.c (layout_query_geometry):
17696 (layout_layout): Use correct types for gheight, gwidth.
17698 2000-01-24 Martin Buchholz <martin@xemacs.org>
17700 * EmacsManager.c (QueryGeometry): Purified.
17702 2000-01-23 Martin Buchholz <martin@xemacs.org>
17704 * alloc.c (make_float): Make sure entire object is initialized, to
17705 avoid Purify warnings.
17706 (pdump_register_sub): Remove useless assignment.
17707 (pdump): Use xmalloc, not malloc.
17708 (pdump_load): Use xmalloc, not malloc.
17710 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17717 * sysdep.c: Removed redundant #include <windows.h>
17719 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17721 * frame.c (delete_frame_internal): Do not delete device when its
17722 implementation so declares.
17723 (delete_frame_internal): Set device selected frame to nil when
17724 last frame goes away.
17726 * device-msw.c (msprinter_device_system_metrics): Implemented.
17727 (mswindows_device_system_metrics): Added 'device-dpi property.
17729 * device.c: (Fdevice_printer_p): Added.
17730 Added 'offset-workspace device metric.
17732 * console.h (device_metrics): Declared DM_offset_workspace.
17734 2000-01-23 Martin Buchholz <martin@xemacs.org>
17736 * fileio.c (Ffile_truename): Remove pointless and confusing
17737 initialization of elen.
17739 * glyphs-widget.c: Compiler warning fixes.
17741 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17743 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17744 instead of a Lisp_Object as argument to make it consistent with
17745 the other LIVE_P macros.
17746 (CHECK_LIVE_PROCESS): New macro.
17748 * process.c: Declare Qprocess_live_p.
17749 (Fprocess_live_p): New function.
17750 (create_process): Use PROCESS_LIVE_P.
17751 (read_process_output): Ditto.
17752 (set_process_filter): Ditto.
17753 (Fdelete_process): Ditto.
17754 (kill_buffer_processes): Ditto
17755 (process_send_signal): Use CHECK_LIVE_PROCESS.
17756 (Fprocess_input_coding_system): Check whether process is still
17757 alive (fix PR#1061).
17758 (Fprocess_output_coding_system): Ditto.
17759 (Fprocess_coding_system): Ditto.
17760 (Fset_process_input_coding_system): Ditto.
17761 (Fset_process_output_coding_system): Ditto.
17763 2000-01-23 Andy Piper <andy@xemacs.org>
17765 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17768 * glyphs.c (mark_image_instance): take into account changed
17769 image_instance format.
17770 (image_instance_equal): ditto.
17771 (image_instance_hash): ditto.
17773 * glyphs-widget.c (widget_instantiate): Incorporate layout
17774 instantiation here. Delay layout of the layout until later.
17775 (layout_instantiate): deleted.
17776 (layout_query_geometry): new function. get the geometry of a
17778 (layout_layout): layout a layout dynamically.
17779 (image_instantiator_widget): New function - splitting up
17780 image_instantiator_format_create_glyphs_widget for netwinder
17782 (image_instantiator_buttons):
17783 (image_instantiator_edit_fields):
17784 (image_instantiator_combo_box):
17785 (image_instantiator_scrollbar):
17786 (image_instantiator_progress_guage):
17787 (image_instantiator_tree_view):
17788 (image_instantiator_tab_control):
17789 (image_instantiator_labels):
17790 (image_instantiator_layout): ditto.
17791 (image_instantiator_format_create_glyphs_widget): Call preceding
17794 2000-01-22 Martin Buchholz <martin@xemacs.org>
17796 * process.c (Fset_process_coding_system):
17797 * device-x.c (Fx_keysym_hash_table):
17800 * lstream.c (Lstream_write): Return documented value, not 0.
17802 * fileio.c (directory_file_name):
17803 (Fsubstitute_in_file_name):
17804 (Fsubstitute_insert_file_contents_internal):
17805 (Fwrite_region_internal):
17810 Remove vestigial APOLLO-conditional code.
17812 2000-01-21 Martin Buchholz <martin@xemacs.org>
17814 * getpagesize.h: Add guard macros.
17815 * libsst.h: Add guard macros.
17816 * libst.h: Add guard macros.
17817 * line-number.h: Add guard macros.
17818 * ndir.h: Add guard macros.
17819 * sysfloat.h: Add guard macros.
17820 * sysfile.h: Add guard macros.
17821 * sysproc.h: Add guard macros.
17822 * syswait.h: Add guard macros.
17823 * xintrinsic.h: Add guard macros.
17824 * xintrinsicp.h: Add guard macros.
17825 * xmmanager.h: Add guard macros.
17826 * xmmanagerp.h: Add guard macros.
17827 * xmprimitive.h: Add guard macros.
17828 * xmu.h: Add guard macros.
17829 * gpmevent.h: Add copyright statement. Add guard macros.
17830 * miscplay.h: Add guard macros.
17831 * *.h: Use consistent C-standards-approved guard macro names.
17833 * opaque.c (make_opaque): Switch parameter order.
17834 * opaque.h (make_opaque): Switch parameter order.
17835 Update all callers.
17836 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17838 * config.h.in (type_checking_assert): Added.
17839 (bufpos_checking_assert): Added.
17841 2000-01-21 Martin Buchholz <martin@xemacs.org>
17843 * alloc.c: Harmless pdump changes.
17845 - spell alignment correctly.
17846 * sysdep.c: Use countof()
17848 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17850 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17851 initially_selected_for_input() console method, default to 0.
17852 (semi_canonicalize_console_connection): Try to delegate to
17853 canonicalize_console_connection if no such console method.
17854 (canonicalize_console_connection): Vice versa.
17855 (print_console): Do not print nil connection.
17857 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17858 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17859 (XDEVIMPF_FRAMELESS_OK): Added.
17860 (CONSOLE_INHERITS_METHOD): Added.
17862 * console-msw.c (mswindows_canonicalize_console_connection):
17864 (mswindows_canonicalize_device_connection): Added.
17866 * console-msw.h (struct msprinter_device): Added this struct and
17868 (mswindows_device): Made fontlist a lisp object.
17870 * device.c (semi_canonicalize_device_connection): Try to delegate
17871 to canonicalize_device_connection if no such console method.
17872 (canonicalize_device_connection): Vice versa.
17873 (print_device): Do not print nil connection.
17875 * device-msw.c (mswindows_init_device): Call InitCommonControls
17877 (mswindows_delete_device): Removed fontlist deallocation.
17878 (mswindows_mark_device): Added.
17880 * events.c (event_equal): Added abort() at unreached code.
17881 (event_hash): Ditto.
17883 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17884 fallback tags of Windows devices.
17886 * general.c (syms_of_general): Initialized Qmsprinter.
17888 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17889 of fallback tags of Windows devices.
17891 * lisp.h: Declared Qmsprinter.
17893 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17895 (mswindows_list_fonts): Ditto.
17896 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17897 that it can be used by both mswindows and msprinter devices.
17898 (initialize_font_instance): Added.
17899 (mswindows_initialize_font_instance): Use it.
17900 (msprinter_initialize_font_instance): Added.
17902 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17903 and implementation flags check.
17904 (redisplay_without_hooks): Changed the call to the above.
17905 (Fredraw_device): Ditto.
17906 (Fredisplay_device): Ditto.
17908 * redisplay-msw.c (get_frame_dc): Implemented.
17909 (get_frame_compdc): Implemented.
17910 (many functions): Use the two functions above to get device
17911 contexts, ether for a window or a printer.
17913 2000-01-21 Olivier Galibert <galibert@pobox.com>
17915 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17916 initialization here.
17917 (init_symbols_once_early): Call it.
17918 * emacs.c (main_1): Call it.
17919 * symsinit.h: Declare it.
17921 2000-01-19 Olivier Galibert <galibert@pobox.com>
17923 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17925 (pdump_backtrace): Ditto.
17926 (pdump_register_object): Ditto. Cleanup use of the pointers.
17927 (pdump_get_entry): Abort if trying to register a null pointer.
17928 (pdump_dump_data): Cleanup types when relocating.
17929 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17930 (pdump_dump_rtables): Remove bad casts.
17931 (pdump_load): Cleanup relocation w.r.t union type. Use a
17932 Lisp_Object instead of a EMACS_INT for the hashtable
17935 2000-01-20 Martin Buchholz <martin@xemacs.org>
17937 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17939 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17941 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17943 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17945 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17947 * faces.h (FACE_STRIKETHRU_P): Added.
17949 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17952 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17953 (mswindows_set_dc_font): New function, aware of font variants,
17954 separated from mswindows_update_dc.
17956 * objects-msw.h (struct mswindows_font_instance_data): Added
17959 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17960 cached fonts and the data structure.
17961 (mswindows_initialize_font_instance): Added creation of font data
17963 (mswindows_print_font_instance): Print at least something.
17964 (mswindows_create_font_variant): Implemented.
17965 (mswindows_get_hfont): Implemented.
17967 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17969 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17970 prototyping problem with msvc.
17972 * emacs.c (main_1): added syms_of_gui_mswindows() call
17974 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17975 syms_of_gui_mswindows() function
17977 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17979 2000-01-18 Martin Buchholz <martin@xemacs.org>
17981 * XEmacs 21.2.27 is released.
17983 2000-01-18 Martin Buchholz <martin@xemacs.org>
17985 * glyphs-eimage.c (struct tiff_error_struct):
17987 (tiff_warning_func):
17988 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17993 * unexec.c: Remove vestigial Lucid C code.
17997 * libsst.c: Ansify.
17998 Remove declarations of errno and strerror().
18000 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
18002 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
18004 2000-01-16 Martin Buchholz <martin@xemacs.org>
18006 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
18009 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18014 Change enum eol_type to eol_type_t.
18016 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18018 * gui.c (get_gui_callback): Check cons before accessing car.
18020 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18022 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
18023 (XSETSPECIFIER_TYPE): Ditto.
18025 2000-01-17 Didier Verna <didier@xemacs.org>
18027 * redisplay.c (generate_fstring_runes): compute string size in
18028 characters, not bytes.
18030 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18032 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
18034 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
18036 * print.c (print_error_message): Call print_prepare().
18038 2000-01-14 Martin Buchholz <martin@xemacs.org>
18040 * .dbxrc: Renamed from dbxrc.
18042 * events.c (event_to_character):
18043 Use `assert (foo)' instead of `if (!foo) abort()'
18045 * .gdbinit (xtype): Add documentation.
18046 * .gdbinit (check-temacs): New function.
18047 * .gdbinit (check-xemacs): New function.
18048 * dbxrc (check-xemacs): New function.
18049 * dbxrc (check-xemacs): New function.
18051 2000-01-14 Andy Piper <andy@xemacs.org>
18053 * glyphs-widget.c (widget_query_geometry): Make sure that we
18054 calculate default dimensions correctly.
18056 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18058 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
18060 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
18061 pdump_wire'd variable.
18063 * emacs.c: (main_1): Conditionalized calls to
18064 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
18066 2000-01-13 Martin Buchholz <martin@xemacs.org>
18068 * window.c (Fset_window_configuration):
18069 * sysdep.c (_start):
18070 * input-method-motif.c (res):
18071 * event-Xt.c (Xt_process_to_emacs_event):
18072 Simple compiler warning fixes.
18074 * bytecode.c (funcall_compiled_function): Use the original
18075 function symbol on the backtrace list in preference to the
18076 compiled_function object in error messages.
18078 2000-01-13 Andy Piper <andy@xemacs.org>
18080 * glyphs-x.c (update_widget_face): Make sure we update the widget
18081 background as well as foreground.
18083 2000-01-13 Andy Piper <andy@xemacs.org>
18085 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18086 fields to subwindow.
18087 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18088 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18089 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18090 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18092 * glyphs-widget.c (check_valid_tab_orientation): new function.
18093 (initialize_widget_image_instance): zero orientation and
18095 (widget_instantiate): pick up orientation.
18096 (tab_control_query_geometry): return appropriate values for
18099 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18100 appropriate creation flags for left, right and bottom tabs.
18102 * s/cygwin32.h: add tab definitions.
18104 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18106 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18107 frame upon hiding a subwindow.
18108 (mswindows_button_instantiate): Changed the push button style to
18110 (mswindows_button_instantiate): Removed button BS_NOTIFY
18112 (mswindows_button_instantiate): Removed redundant check for
18113 a disabled gui item.
18114 (mswindows_button_instantiate): Made use of WS_TABSTOP
18115 consistent: "operable" controls (edit, button, tree, scroll) have
18116 this style, "display-only" ones (static, progress gauge) do
18117 not. This style is currently ignored by XEmacs though. Also,
18118 removed the WS_EX_CONTROLPARENT style - it is not for children,
18119 it is for their parents!
18120 (mswindows_edit_field_instantiate): Ditto.
18121 (mswindows_progress_gauge_instantiate): Ditto.
18122 (mswindows_tree_view_instantiate): Ditto.
18123 (mswindows_tab_control_instantiate): Ditto.
18124 (mswindows_scrollbar_instantiate): Ditto.
18125 (mswindows_combo_box_instantiate): Ditto.
18126 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18127 style to the "clip" window.
18128 (mswindows_button_instantiate): Removed compilation warning by
18129 equally typing terms of the ?: operator.
18131 2000-01-12 Didier Verna <didier@xemacs.org>
18133 * redisplay.c (generate_fstring_runes): new parameter holding the
18134 last modeline-format extent.
18135 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18136 extent, fill the glyph block with it.
18137 (generate_fstring_runes): handle these parameters.
18138 (generate_formatted_string_db): ditto.
18140 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18141 glyphs'extents in the modeline.
18143 1999-01-11 Mike Woolley <mike@bulsara.com>
18145 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18146 256Mb, as a workaround for the non-starting problem many people
18149 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18151 * console-tty.c (Fset_console_tty_output_coding_system):
18152 Force redrawing tty frame.
18154 2000-01-10 Didier Verna <didier@xemacs.org>
18156 * redisplay.c (generate_fstring_runes): fix size computation bug.
18158 2000-01-09 William M. Perry <wmperry@aventail.com>
18160 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18162 2000-01-09 Andy Piper <andy@xemacs.org>
18164 * glyphs-msw.c: index -> i to avoid shadows.
18165 (xbm_create_bitmap_from_data): make static.
18166 (check_valid_string_or_int): deleted.
18167 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18169 * glyphs-x.c (x_update_subwindow): remove unused args.
18171 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18172 back pointer - this is done in allocate_image_instance.
18173 (query_string_font): return Qnil to make the compiler happy.
18174 (unmap_subwindow): set to ~0 to make the compiler happy.
18175 (glyph_query_geometry): comment out until used.
18176 (glyph_layout): ditto.
18178 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18180 * insdel.c (signal_after_change): Remove extraneous unbind_to().