1 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (allocate_character): Add `static'.
5 2010-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
7 * chartab.c (allocate_character): New function.
8 (Fdefine_char): Use allocate_character().
10 2010-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.25
15 2010-03-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
17 * chartab.c (save_uint8_byte_table): Fixed problem when a property
19 (save_uint16_byte_table): Likewise.
21 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * chartab.c (Fchar_feature_property): New function when LIBCHISE
25 (Fput_char_feature_property): Likewise.
26 (syms_of_chartab): Add new builtin functions
27 `char-feature-property' and `put-char-feature-property' when
30 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
32 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
34 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
36 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
38 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
39 (make_charset): Add new argument `iso_ir'.
40 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
41 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
43 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
44 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
46 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
47 function `make_charset'.
49 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
50 (struct Lisp_Charset): Add new member `iso_ir'.
51 (CHARSET_ISO_IR): New macro.
53 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
56 code-point by GL charset.
58 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
60 * concord.c (concord_id_validate): New function.
61 (structure_type_create_concord): Use `concord_id_validate' instead
62 of `concord_name_validate' to accept integer and character as =id.
64 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * concord.c (func_for_each_object): Fix bug about GC-protection.
68 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
70 * concord.c (Fconcord_object_put): Check argument FEATURE is a
73 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
75 * text-coding.c (struct decoding_stream): Add new member
76 `bom_flag' in XEmacs CHISE.
77 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
80 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * mule-charset.c: Move definition of `=jis-x0208@1978' to
83 lisp/mule/mule-conf.el.
85 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
88 (make_charset): Add new argument `partial'.
89 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
90 (Fmake_reverse_direction_charset): Modify for `make_charset'.
91 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
93 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
94 `=jis-x0208' as a partial coded-charset.
96 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * text-coding.c (decode_add_er_char): Fix problem when a character
99 represented by an entity-reference is not defined.
101 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
103 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
106 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
108 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
111 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
114 is a relation feature.
116 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
118 * chartab.c (syms_of_chartab): Define
119 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
121 * chartab.h (Q_denotational): New extern when UTF2000 or
122 HAVE_CONCORD is defined.
123 (Q_denotational_from): Likewise.
124 (Q_subsumptive): Likewise.
125 (Q_subsumptive_from): Likewise.
127 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
129 * concord.c (concord_object_put): New function.
130 (Fconcord_object_put): Use `concord_object_put'.
132 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
134 * concord.c (Fconcord_define_object): New function.
135 (syms_of_concord): Add new builtin function
136 `concord-define-object'.
138 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
143 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
145 * concord.c: Add EXFUN for Fconcord_object_get.
146 (Vconcord_genre_object_hash_table): New variable.
147 (concord_genre_cache_get_object): New function.
148 (concord_genre_cache_put_object): New function.
149 (Fconcord_make_object): Use object cache; put object-ID into `=id'
151 (Fconcord_object_put): Call `concord_index_sync' after
152 `concord_index_strid_put_obj'.
153 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
155 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * concord.c (Fconcord_decode_object): Do GCPRO for
158 Fconcord_make_object.
159 (func_for_each_object): Likewise; do GCPRO for
160 for_each_object_closure->function.
161 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
162 for_each_object_closure->function, for_each_object_closure->genre,
163 for_each_object_closure->ds and for_each_object_closure->ret.
164 (concord_object_validate): Do GCPRO for Fconcord_make_object.
166 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * concord.c: Add EXFUNs for Fconcord_decode_object and
170 (Fconcord_make_object): Change order of arguments.
171 (Fconcord_decode_object): Modify for Fconcord_make_object.
172 (func_for_each_object): Likewise.
173 (concord_object_validate): Likewise.
174 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
176 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
180 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * concord.c (Fconcord_decode_object): Try to use readable print
183 form as a key of Concord-index.
184 (Fconcord_object_get): Try to use readable print form as an ID of
186 (Fconcord_object_put): Try to use readable print form as an ID of
187 Concord-object and a feature value.
188 (Fconcord_object_spec): Try to use readable print form as an ID of
191 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * concord.c (print_concord_object): Support readable form.
195 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * emacs.c (main_1): Call `structure_type_create_concord' when
198 HAVE_CONCORD is defined.
200 * symsinit.h (structure_type_create_concord): New prototype.
202 * concord.c (Qconcord_object): New variable.
205 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
207 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
208 char*> for genre-name.
209 (Fconcord_feature_list): Likewise.
210 (Fconcord_make_object): Likewise.
211 (Fconcord_decode_object): Likewise; use <char*> instead of
212 <unsigned char*> for feature_name and strid.
213 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
214 c_obj and feature_name.
215 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
217 (struct closure_for_object_spec): Use <char*> instead of <unsigned
218 char*> for member `object_id'.
219 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
220 char*> for feature-name.
221 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
223 (func_for_each_object): Cast to avoid warnings.
224 (Fconcord_foreach_object_in_feature): Use <char*> instead of
225 <unsigned char*> for genre_name and feature_name.
226 (concord_name_validate): New function.
227 (concord_object_validate): Likewise.
228 (concord_object_instantiate): Likewise.
229 (syms_of_concord): Add new builtin symbols `concord-object',
231 (structure_type_create_concord): New function.
233 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * concord.c (Vconcord_ds_hash_table): New variable.
236 (Vconcord_genre_hash_table): New variable.
237 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
238 (Fconcord_ds_directory): New function.
239 (Fconcord_assign_genre): New function.
240 (Fconcord_genre_directory): New function.
241 (Fconcord_genre_ds): New function.
242 (Fconcord_feature_list): Allow to omit `ds'.
243 (Fconcord_make_object): Likewise.
244 (Fconcord_decode_object): Likewise.
245 (Fconcord_foreach_object_in_feature): Likewise.
246 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
247 Fconcord_assign_genre, Fconcord_genre_directory and
249 (vars_of_concord): Setup Vconcord_ds_hash_table and
250 Vconcord_genre_hash_table.
252 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * concord.c (struct closure_for_each_object): Add new member
256 (func_for_each_object): Setup the return value to
257 `for_each_object_closure->ret'.
258 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
259 returns the value instead of Qt.
261 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * concord.c: New file.
265 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
267 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
268 `lrecord_type_concord_object'.
270 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * symsinit.h (syms_of_concord): New prototype.
273 (vars_of_concord): New prototype.
275 * emacs.c (main_1): Setup symbols and variable about concord if
276 HAVE_CONCORD is defined.
278 * config.h.in (HAVE_CONCORD): New macro.
280 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
282 * chartab.c (Fput_char_attribute): For each character relation
283 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
285 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * chartab.c (Fput_char_attribute): Use
288 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
289 calling `put_char_composition'.
291 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
293 * chartab.c (Q_halfwidth_of): New variable.
294 (put_char_composition): Return `<-halfwidth' instead of
295 `=decomposition' for compatibility mapping to single character
297 (Fput_char_attribute): Convert char-specs in value of
298 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
299 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
301 (syms_of_chartab): Add new symbol `<-halfwidth'.
303 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
305 * chartab.c (put_char_composition): Return
306 `<-formed@{isolated|initial|medial|final}' for compatibility
307 mapping to single character tagged
308 `{isolated|initial|medial|final}'.
310 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * chartab.c (Q_compat_of): Deleted.
313 (put_char_composition): Return `<-FOO' for compatibility mapping
314 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
315 of `symbol_name (XSYMBOL(...))'.
316 (Fput_char_attribute): Convert char-specs in value of
317 `{<-|->}font[^*]*' to characters and put reverse links.
318 (Fsave_char_attribute_table): Don't refer Q_compat_of.
319 (syms_of_chartab): Delete builtin symbol `<-compat'.
321 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * chartab.c (Q_circled_of): New variable.
324 (put_char_composition): Return `<-circled' instead of
325 `=decomposition' for compatibility mapping to single character
327 (Fput_char_attribute): Convert char-specs in value of
328 `{<-|->}circled[^*]*' to characters and put reverse links.
329 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
331 (syms_of_chartab): Add new symbol `<-circled'.
333 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * chartab.c (Qto_decomposition_at_circled): New variable.
336 (put_char_composition): Return `=>decomposition@circled' instead
337 of `=decomposition' for compatibility decomposition mapping tagged
339 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
341 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * chartab.c (Q_subscript_of): New variable.
344 (put_char_composition): Return `<-subscript' instead of
345 `=decomposition' for compatibility mapping to single character
347 (Fput_char_attribute): Convert char-specs in value of
348 `{<-|->}subscript[^*]*' to characters and put reverse links.
349 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
351 (syms_of_chartab): Add new symbol `<-subscript'.
353 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
355 * chartab.c (Q_superscript_of): New variable.
356 (put_char_composition): Return `<-superscript' instead of
357 `=decomposition' for compatibility mapping to single character
359 (Fput_char_attribute): Convert char-specs in value of
360 `{<-|->}superscript[^*]*' to characters and put reverse links.
361 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
363 (syms_of_chartab): Add new symbol `<-superscript'.
365 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * chartab.c (Qto_decomposition_at_compat): Deleted.
368 (Qto_decomposition_at_superscript): New variable.
369 (put_char_composition): Use `=>decomposition@superscript' instead
370 of `=decomposition' for compatibility decomposition mapping tagged
372 (Fput_char_attribute): Fix condition about `put_char_composition'.
373 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
374 add news symbol `=>decomposition@superscript'.
376 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
378 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
379 for compatibility decomposition mapping tagged FOO.
380 (Fput_char_attribute): Modify for `put_char_composition'.
382 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * chartab.c (Qto_decomposition_at_compat): New variable.
385 (Q_compat_of): Renamed from `Q_compatibility_of'.
386 (put_char_composition): Rename `Q_compatibility_of' to
387 `Q_compat_of'; return `=>decomposition@compat' for compatibility
388 decomposition mapping.
389 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
391 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
392 `<-compatibility' to `<-compat'.
394 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
396 * chartab.c (Q_compatibility_of): New variable.
397 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
398 object is proved to be a cons cell; return `<-compatibility' if
399 the first element of argument `value' is `compat'.
400 (Fput_char_attribute): Eliminate the first value if
401 `put_char_composition' returns `<-compatibility'.
402 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
403 for `<-compatibility'.
404 (syms_of_chartab): Add new symbol `<-compatibility'.
406 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
408 * chartab.c (Q_canonical): New variable.
409 (put_char_composition): Return a feature name: return
410 `->canonical' if argument `value' specifies single character.
411 (Fput_char_attribute): Use `put_char_composition' to determine
412 feature name for `=decomposition' or `->denotational'.
413 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
415 (syms_of_chartab): Add new symbol `->canonical'.
417 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
419 * chartab.c (Qmap_decomposition): New variable.
420 (Fput_char_attribute): Convert `->decomposition' to
422 (syms_of_chartab): Add new symbol `=decomposition'.
424 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * chartab.c (Fget_range_char_table): Fix serious problem when
429 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * chartab.c (char_table_get_db): Use `read_from_c_string'.
433 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
435 * lread.c (read_from_c_string): New function.
437 * lisp.h (read_from_c_string): New prototype.
439 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
441 * chartab.c (Fput_char_attribute): Convert char-specs in value of
442 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
443 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
444 for `{<-|->}Oracle-Bones[^*]*'.
446 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
451 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
453 * text-coding.c (Qccs_priority_list): New variable in XEmacs
455 (Fmake_coding_system): Support new property `ccs-priority-list' in
457 (Fcoding_system_property): Likewise.
458 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
459 Vdefault_coded_charset_priority_list in XEmacs CHISE.
460 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
462 (complex_vars_of_file_coding): Define new coding-system-property
463 `ccs-priority-list' in XEmacs CHISE.
465 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
467 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
469 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
470 changed to normal function.
471 (encode_char_2): Likewise.
473 * mule-charset.c (decoding_table_put_char): Copied from
474 char-ucs.h; changed to normal function.
475 (encode_char_2): Likewise.
477 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
479 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
481 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
482 (encode_char_2_search_children): New inline function.
483 (encode_char_2): Refer
484 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
485 and use `encode_char_2_search_children'.
487 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
490 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
491 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
492 (vars_of_mule_charset): Add new variable
493 `display-coded-charset-priority-use-inheritance' and
494 `display-coded-charset-priority-use-hierarchy-order'.
496 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
498 * char-ucs.h (Q_subsumptive): New extern.
499 (Q_denotational): Likewise.
500 (encode_char_2): Search children specified by `->subsumptive' and
503 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
505 * mule-charset.c (complex_vars_of_mule_charset): Modify the
506 X-registry of `ucs-bmp'.
508 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
510 * chartab.c (char-variants): Refer `->subsumptive',
511 `->denotational' and `->identical' as same as `->ucs-unified'.
513 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
515 * chartab.c (Fput_char_attribute): Convert char-specs in value of
516 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
519 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
521 * text-coding.c: Add EXFUN for `Fregexp_quote'.
522 (decode_add_er_char): Fix problem about infinite loop when a CCS
523 specified in `coded-charset-entity-reference-alist' is not
526 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * mule-charset.c (syms_of_mule_charset): Rename
529 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
531 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
533 * fns.c (simplify_char_spec): Don't allocate new character-object
534 if specified char_spec does not have any CCS-features.
536 * chartab.h: Add EXFUN for Fdefine_char.
538 * chartab.c: Delete EXFUN for Fdefine_char.
540 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * fns.c (simplify_char_spec): Use Fdefine_char instead of
543 Ffind_char for char-spec.
545 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
547 * lisp-disunion.h (XCHARVAL): Fix condition about
550 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
552 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
554 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
555 point; use <Emchar> instead of <int> for character-id.
557 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
559 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
560 (make_char): Likewise.
561 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
563 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
564 instead of <int> as the type of return value; use <Lisp_Object>
565 instead of <Emchar> as the type of argument.
566 (XCHARVAL[macro version]): Cast the result into <Emchar>.
568 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
569 syntaxcode> instead of <int>.
571 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 * chartab.c (put_char_composition): Use DECODE_CHAR to get
574 character corresponding with UCS code point.
575 (Fput_char_attribute): Likewise.
577 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
578 character in the UCS decoding-table if the char-id is not equal to
581 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
583 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
584 for aliases; write `description'; write
585 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
588 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
590 * chartab.c (Fsave_char_attribute_table): Don't use
591 `save_charset_properties'.
593 * mule-charset.c (Fsave_charset_properties): Renamed from
594 `save_charset_properties' and changed to Lisp function again;
595 write property `type' as `CCS'; write properties `final-byte' and
596 `mother' if they exists.
597 (syms_of_mule_charset): Revive builtin function
598 `save-charset-properties' when HAVE_LIBCHISE is defined.
600 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
603 instead of Vexec_directory.
604 (char_attribute_system_db_file): Likewise.
606 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
608 * chartab.c (Fsave_char_attribute_table): Use
609 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
612 * mule-charset.c (save_charset_properties): Renamed from
613 `Fsave_charset_properties'; changed to non-Lisp function.
614 (syms_of_mule_charset): Abolish builtin function
615 `save-charset-properties'.
617 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
619 * mule-charset.c (Fsave_charset_properties): New function when
620 HAVE_LIBCHISE is defined.
621 (syms_of_mule_charset): Add new builtin function
622 `save-charset-properties' when HAVE_LIBCHISE is defined.
624 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
626 * chartab.c (Fput_char_attribute): Convert char-specs in value of
627 `{<-|->}ancient[^*]*' to characters and put reverse links.
628 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
629 for `{<-|->}ancient[^*]*'.
631 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
633 * chartab.c (Fput_char_attribute): Convert char-specs in value of
634 `{<-|->}original[^*]*' to characters and put reverse links.
635 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
636 for `{<-|->}original[^*]*'.
638 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
640 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
642 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
644 * mule-charset.c (Qsystem_char_id): New variable.
646 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
647 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
649 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
651 * chartab.c (Fput_char_attribute): When processing a reference of
652 a character, put into the end of the reversed reference of each
655 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
657 * chartab.c (Q_same): Deleted.
658 (Q_same_of): Deleted.
659 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
660 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
662 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
664 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
666 * chartab.c (Q_vulgar): Deleted.
667 (Q_vulgar_of): Deleted.
668 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
669 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
671 (syms_of_chartab): Don't define `{<-|->}vulgar'.
673 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
675 * chartab.c (Fput_char_attribute): Convert char-specs in value of
676 `{<-|->}wrong[^*]*' to characters and put reverse links.
677 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
678 for `{<-|->}wrong[^*]*'.
680 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * chartab.c (Q_vulgar): New variable.
683 (Q_vulgar_of): New variable.
684 (Fput_char_attribute): Convert char-specs in value of
685 `{->|<-}vulgar' to characters and put reverse links.
686 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
688 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
690 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
692 * text-coding.c (decode_add_er_char): Must to quote prefix string
695 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
697 * mule-charset.c (put_char_ccs_code_point): Store characters of
698 =ucs whose code_points >= 0xF0000.
700 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
704 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
706 (complex_vars_of_mule_charset): Add new coded-charset
707 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
708 builtin characters over 0xEFFFF.
710 * chartab.c (syms_of_chartab): Don't define symbol
711 `system-char-id' in every case.
713 * char-ucs.h (Qsystem_char_id): New extern variable.
714 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
716 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * text-coding.c (char_encode_utf8): Try to use entity-references
719 for U-000F0000 ... U-0010FFFF.
721 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * text-coding.c (ER_BUF_SIZE): New macro.
724 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
726 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
727 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
729 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * chartab.c (find_char_feature_in_family): New function.
732 (Fchar_feature): Use `find_char_feature_in_family' with
733 `->identical', `<-subsumptive' and `<-denotational'.
735 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
737 * text-coding.c (char_encode_as_entity_reference): Allow prefix
738 within 8 characters; fix infinite loop.
740 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
742 * chartab.c (Q_same): New variable.
743 (Q_same_of): New variable.
744 (Fput_char_attribute): Convert char-specs in value of
745 `{->|<-}same' to characters and put reverse links.
746 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
748 (syms_of_chartab): Add new symbols `{->|<-}same'.
750 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * chartab.c (Q_component): New variable.
753 (Q_component_of): Likewise.
754 (Fput_char_attribute): Convert char-specs in value of
755 `{->|<-}ideographic-component-forms' to characters and put reverse
757 (syms_of_chartab): Add new symbols
758 `{->|<-}ideographic-component-forms'.
760 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
762 * chartab.c (Q_identical): New variable.
763 (Q_identical_from): New variable.
764 (Fchar_feature): Regard `->identical' as a feature to find
766 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
767 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
768 for `{->|<-}identical'.
769 (syms_of_chartab): Add new symbols `{->|<-}identical'.
771 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * char-ucs.h (encode_char_2): New inline function.
774 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
776 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
778 * chartab.c (Fput_char_attribute): Convert char-specs to
779 characters in value of `ideographic-structure'.
780 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
781 for `{<-|->}simplified(@...)'.
782 (Fdefine_char): Try to use predefined character's id.
784 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
786 * fns.c (simplify_char_spec): Try to convert builtin chars to
789 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
791 * chartab.c (Fput_char_attribute): Convert char-specs in value of
792 `<-simplified[^*]*' to characters and put reverse links.
794 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
796 * chartab.c (Q_subsumptive): Renamed from Q_unified.
797 (Q_subsumptive_from): Renamed from Q_unified_from.
798 (Fchar_feature): Use `Q_subsumptive_from' instead of
800 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
802 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
803 `<-unified' to `<-subsumptive'.
805 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
807 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
808 inheritance itself; fix typo; stop recursive search if cyclic
809 inheritance is found.
811 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
813 * chartab.c (Q_denotational): New variable.
814 (Q_denotational_from): New variable.
815 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
816 (put_char_attribute): New function.
817 (Fput_char_attribute): Use `put_char_attribute'; regard
818 `->denotational' and `<-denotational' as same as `->unified' and
820 (syms_of_chartab): Add new symbols `->denotational' and
823 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
825 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
826 `Fget_char_attribute'.
827 (Fchar_variants): Likewise.
828 (get_char_table): Likewise.
829 (Fchar_feature): New function.
830 (put_char_composition): Use `Fchar_feature' instead of
831 `Fget_char_attribute'.
832 (Fput_char_attribute): Likewise; don't put the target character
833 into its `->unified' value.
834 (syms_of_chartab): Add new builtin function `char-feature'.
836 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
838 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
839 `Fget_char_attribute'.
840 (char_encode_utf8): Likewise.
842 * chartab.h: Add an EXFUN for `Fchar_feature'.
844 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
846 * chartab.c (Vnext_defined_char_id): New variable.
847 (Fput_char_attribute): Accept characters in `->unified'.
848 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
849 new characters which are not related with builtin char-id ranges.
850 (vars_of_chartab): Add new variable `next-defined-char-id'.
852 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
854 * chartab.c (Q_unified): New variable.
855 (Q_unified_from): New variable.
856 (Fput_char_attribute): Add code for `->unified'.
857 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
860 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
862 * mule-charset.c (decode_ccs_conversion): New function.
863 (decode_defined_char): Use `decode_ccs_conversion'.
864 (decode_builtin_char): Likewise.
866 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
868 * char-ucs.h: Change some charset-ids of private coded-charsets.
870 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
872 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
873 (char_encode_as_entity_reference): Likewise.
874 (decode_coding_big5): Modify for `decode_defined_char' and
876 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
877 avoid compiler warning.
878 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
880 * mule-charset.c (decode_defined_char): Add new argument
881 `without_inheritance'.
882 (Fdecode_char): Add new optional argument `without_inheritance'.
883 (Fdecode_builtin_char): Modify for `Fdecode_char'.
885 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
886 (simplify_char_spec): Likewise.
888 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
891 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
892 (map_char_table): Likewise.
893 (Fdefine_char): Use `Fdecode_char' without inheritance.
894 (Ffind_char): Modify for `Fdecode_char'.
896 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
898 * char-ucs.h (decode_defined_char): Add new argument
899 `without_inheritance'.
900 (DECODE_CHAR): Likewise.
901 (MAKE_CHAR): Modify for `DECODE_CHAR'.
903 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
905 * chartab.c (Vchise_system_db_directory): New variable.
906 (vars_of_chartab): Add new variable `chise-system-db-directory'.
908 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
910 * chartab.c: EXFUN `Fmount_char_attribute_table'.
911 (print_chartab_range): Don't define when `UTF2000' is defined.
912 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
915 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
918 and optional argument `rehash' is specified, call
919 `open_chise_data_source_maybe' before
920 `chise_ds_foreach_char_feature_name' is called.
922 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
924 * chartab.c (char_attribute_list_reset_map_func): New function
925 when HAVE_LIBCHISE is defined.
926 (Fchar_attribute_list): Add new optional argument `rehash' when
927 HAVE_LIBCHISE is defined.
928 (open_chise_data_source_maybe): Use "chise-db" instead of
930 (char_attribute_system_db_file): Likewise.
931 (Fload_char_attribute_table): Use
932 `chise_feature_foreach_char_with_value' instead of
933 `chise_char_feature_value_iterate'.
935 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
937 * chartab.c (Vchise_db_directory): New variable.
938 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
940 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
942 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
943 instead of HAVE_CHISE to specify using with libchise.
945 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
947 * chartab.h: Don't use HAVE_CHISE_CLIENT.
949 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
950 defined or HAVE_LIBCHISE_LIBCHISE is defined.
951 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
953 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
954 HAVE_CHISE to specify using with libchise.
955 (syms_of_chartab): Don't define symbol `system-char-id' when
956 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
958 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
960 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
961 specify CHISE DB support.
962 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
963 of `char_attribute_system_db_file' to check feature DB file.
965 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
966 HAVE_CHISE_CLIENT to specify CHISE DB support.
968 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
969 specify CHISE DB support.
970 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
972 (Freset_char_attribute_table): Use `chise_feature_setup_db'
973 instead of `char_attribute_system_db_file' to check feature DB
976 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
978 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
981 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
983 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
984 (Fsave_charset_mapping_table): Don't use
985 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
987 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
988 (HAVE_LIBCHISE): New macro.
990 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
992 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
993 (Fsave_char_attribute_table): Don't use
994 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
996 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
998 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
1000 (save_uint16_byte_table): Likewise.
1001 (save_byte_table): Likewise.
1002 (char_table_get_db): Use `chise_ds_load_char_feature_value'
1003 instead of `chise_char_load_feature_value'.
1004 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
1006 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1008 * chartab.h (struct Lisp_Char_Table): Delete member
1009 `feature_table' if CHISE is defined.
1011 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
1012 (Fcopy_char_table): Likewise.
1013 (char_table_open_db_maybe): Likewise.
1014 (char_table_close_db_maybe): Likewise.
1015 (char_table_get_db): Likewise.
1016 (Fmount_char_attribute_table): Likewise.
1017 (Fload_char_attribute_table): Likewise.
1019 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1021 * mule-charset.c (load_char_decoding_entry_maybe): Use
1022 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1025 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1027 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1028 instead of `chise_open_data_source'.
1029 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1032 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1034 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1035 instead of `chise_ds_open_feature_table'.
1036 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1038 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1040 * mule-charset.c (Fsave_charset_mapping_table): Use
1041 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1042 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1043 `chise_ccs_sync' instead of `chise_ccst_close'.
1044 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1046 * chartab.c (open_chise_data_source_maybe): Modify for
1047 `chise_open_data_source'.
1048 (char_table_open_db_maybe): Modify for
1049 `chise_ds_open_feature_table'.
1051 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1053 * mule-charset.c (load_char_decoding_entry_maybe): Use
1054 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1057 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1059 * mule-charset.c (Fsave_charset_mapping_table): Use
1060 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1061 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1062 `chise_dt_put_char' and `chise_dt_close'.
1063 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1064 `chise_ccs_decode' and `chise_ccst_close' instead of
1065 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1068 * chartab.c (char_table_get_db): Use
1069 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1070 (load_char_attribute_table_map_func): Modify for
1071 `chise_char_feature_value_iterate'.
1072 (Fload_char_attribute_table): Use
1073 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1075 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1077 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1079 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1081 * chartab.c (put_char_table): Modify for inherited coded-charsets
1084 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1086 * chartab.c (Fput_char_table_map_function): Fixed.
1087 (word_boundary_p): Don't check charset in XEmacs CHISE.
1089 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1091 * mule-charset.c (Fsave_charset_mapping_table): Use
1092 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1093 instead of `chise_open_decoding_table'; refer
1094 `default_chise_data_source'; use `chise_dt_close' instead of
1095 `chise_close_decoding_table'.
1096 (load_char_decoding_entry_maybe): Likewise.
1098 * chartab.c (default_chise_data_source): New variable when `CHISE'
1100 (Fcopy_char_table): `ct->ds' is deleted.
1101 (open_chise_data_source_maybe): New function.
1102 (Fclose_char_data_source): New function.
1103 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1104 use `chise_ds_open_feature_table' instead of
1105 `chise_open_feature_table'.
1106 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1107 `chise_close_feature_table'; `cit->ds' is deleted.
1108 (syms_of_chartab): Add new builtin function
1109 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1111 * chartab.h (default_chise_data_source): New extern variable.
1112 (open_chise_data_source_maybe): New prototype.
1113 (struct Lisp_Char_Table): Delete `ds'.
1115 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1117 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1120 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1122 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1123 not defined; add code for non-libchise setting.
1124 (char_table_close_db_maybe): Likewise.
1125 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1127 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1128 even if `CHISE' is not defined.
1129 (Freset_char_attribute_table): Likewise.
1130 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1131 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1132 `char_table_get_db'.
1133 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1134 `char_table_close_db_maybe' even if `CHISE' is not defined.
1136 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1138 * chartab.c (char_table_open_db_maybe): New function.
1139 (char_table_close_db_maybe): New function.
1140 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1141 (Freset_char_attribute_table): Likewise.
1142 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1143 `char_table_close_db_maybe'.
1144 (Fload_char_attribute_table): Likewise.
1146 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1148 * chartab.c: Don't include <chise.h> because it is included in
1150 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1152 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1154 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1156 (Fclose_char_attribute_table): Close `ct->feature_table' and
1157 `ct->ds' when `CHISE' is defined.
1158 (Freset_char_attribute_table): Likewise.
1159 (load_char_attribute_maybe): Use `cit->ds' and
1160 `cit->feature_table' when `CHISE' is defined.
1161 (Fload_char_attribute_table): Likewise.
1163 * chartab.h: Include <chise.h> when `CHISE' is defined.
1164 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1165 when `CHISE' is defined.
1167 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1169 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1171 (char_table_description): Likewise.
1172 (Fmake_char_table): Likewise.
1173 (Fcopy_char_table): Likewise.
1174 (Fmount_char_attribute_table): Likewise.
1175 (Fclose_char_attribute_table): Likewise.
1176 (Freset_char_attribute_table): Likewise.
1177 (load_char_attribute_maybe): Likewise.
1178 (Fload_char_attribute_table): Likewise.
1180 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1183 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1185 * chartab.c (load_char_attribute_table_map_func): New function
1186 when CHISE is defined.
1187 (Qload_char_attribute_table_map_function): Don't define when CHISE
1189 (Fload_char_attribute_table_map_function): Likewise.
1190 (Fload_char_attribute_table): Use libchise when `CHISE' is
1192 (syms_of_chartab): Don't define
1193 `load-char-attribute-table-map-function' when CHISE is defined.
1195 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1197 * chartab.c: Include <chise.h> when `CHISE' is defined.
1198 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1200 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1202 * mule-charset.c (charset_code_point): Fix problem when searching
1203 in mother CCS fails with `defined_only' mode.
1205 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1207 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1208 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1209 (put_char_composition): Likewise.
1210 (Fput_char_attribute): Likewise.
1211 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1213 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1215 * chartab.c (Q_ucs): Deleted.
1216 (Fput_char_attribute): Don't refer `->ucs'.
1217 (Fdefine_char): Likewise.
1218 (Ffind_char): Likewise.
1219 (syms_of_chartab): Delete `->ucs'.
1221 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1223 * mule-charset.c (Qmap_cns11643_2): Renamed from
1224 `Qchinese_cns11643_2'.
1225 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1226 `chinese-cns11643-2'.
1227 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1230 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1232 * mule-charset.c (Qmap_cns11643_1): Renamed from
1233 `Qchinese_cns11643_1'.
1234 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1235 `chinese-cns11643-1'.
1236 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1239 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1241 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1242 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1244 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1247 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1249 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1250 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1252 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1255 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1257 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1258 (syms_of_mule_charset): Add new symbol `=big5' instead of
1260 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1262 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1264 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1265 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1267 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1270 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1272 * mule-charset.c (Qmap_jis_x0212): Renamed from
1273 `Qjapanese_jisx0212'.
1274 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1275 `japanese-jisx0212'.
1276 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1279 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1281 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1282 `Qjapanese_jisx0208'.
1283 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1284 of `japanese-jisx0208'.
1285 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1288 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1290 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1291 `Qjapanese_jisx0208_1978'.
1292 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1293 of `japanese-jisx0208-1978'.
1294 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1297 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1299 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1300 only for XEmacs CHISE.
1302 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1304 * char-ucs.h: Compact non-ISO-IR charset-ids.
1305 (LEADING_BYTE_UCS): Changed to -177.
1306 (LEADING_BYTE_CONTROL_1): Changed to -77.
1307 (LEADING_BYTE_UCS_BMP): Changed to -176.
1308 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1310 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1312 * mule-charset.c (Qiso_ir): New variable.
1313 (Fmake_charset): Recognise new property `iso-ir'.
1314 (syms_of_mule_charset): Add new symbol `iso-ir'.
1316 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1318 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1319 n to -n; charset-id of non ISO-IR sets are changed to positive
1322 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1325 for &MCS-XXXXXXXX; values.
1327 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1329 * mule.c (Vxemacs_chise_version): Renamed from
1330 `Vutf_2000_version'.
1331 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1332 `utf-2000-version' as an alias for `xemacs-chise-version'.
1334 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1336 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1337 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1340 * config.h.in (CHISE): New macro.
1342 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1344 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1346 (Qmap_ucs): New variable.
1347 (syms_of_mule_charset): Add new symbol `=ucs'.
1348 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1350 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1351 (simplify_char_spec): Likewise.
1353 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1355 * char-ucs.h (Qmap_ucs): New extern variable.
1357 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1359 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1360 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1361 don't define it when UTF2000 is not defined.
1362 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1363 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1364 when UTF2000 is not defined.
1365 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1366 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1368 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1372 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1374 (syms_of_mule_charset): Delete `ucs-gb'.
1375 (complex_vars_of_mule_charset): Likewise.
1377 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1379 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1381 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1382 (Qucs_cns): Deleted.
1383 (syms_of_mule_charset): Delete `ucs-cns'.
1384 (complex_vars_of_mule_charset): Likewise.
1386 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1388 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1390 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1391 (Qucs_jis): Deleted.
1392 (syms_of_mule_charset): Delete `ucs-jis'.
1393 (complex_vars_of_mule_charset): Likewise.
1395 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1397 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1399 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1401 (syms_of_mule_charset): Delete `ucs-ks'.
1402 (complex_vars_of_mule_charset): Likewise.
1404 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1406 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1407 (Qideograph_daikanwa_2): Deleted.
1408 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1409 (complex_vars_of_mule_charset): Likewise.
1411 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1412 (LEADING_BYTE_DAIKANWA_1): Deleted.
1413 (LEADING_BYTE_DAIKANWA_2): Deleted.
1414 (MIN_CHAR_DAIKANWA): Deleted.
1415 (MAX_CHAR_DAIKANWA): Deleted.
1417 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1419 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1420 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1421 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1423 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1424 (Vcharset_ideograph_daikanwa): Deleted.
1425 (Qideograph_hanziku_{1..12}): Deleted.
1426 (Qideograph_daikanwa): Deleted.
1427 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1428 Vcharset_ideograph_daikanwa.
1429 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1430 `ideograph-hanziku-{1..12}'.
1431 (complex_vars_of_mule_charset): Likewise.
1433 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1435 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1437 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1438 (Qideograph_gt_pj_{1..11}): Deleted.
1439 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1440 (complex_vars_of_mule_charset): Likewise.
1442 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1445 (Vcharset_ideograph_gt): Deleted.
1446 (Qucs_big5): Deleted.
1447 (Qideograph_gt): Deleted.
1448 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1450 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1453 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1454 (LEADING_BYTE_GT): Deleted.
1455 (MIN_CHAR_GT): Deleted.
1456 (MAX_CHAR_GT): Deleted.
1458 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1462 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1464 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1465 (save_uint16_byte_table): Likewise.
1466 (save_byte_table): Likewise; convert values by it.
1467 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1468 for `ideographic-structure'.
1469 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1470 as the filter for `ideographic-structure'.
1472 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1474 * chartab.c (put_char_composition): New function.
1475 (Fput_char_attribute): Use `put_char_composition'; use
1476 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1478 * fns.c (simplify_char_spec): New function.
1479 (char_ref_simplify_spec): New function.
1480 (Fchar_refs_simplify_char_specs): New function.
1481 (syms_of_fns): Add new builtin function
1482 `char-refs-simplify-char-specs'.
1484 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1486 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1487 (Qideograph_cbeta): Deleted.
1488 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1489 (complex_vars_of_mule_charset): Likewise.
1491 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1492 (MIN_CHAR_CBETA): Comment out.
1493 (MAX_CHAR_CBETA): Likewise.
1495 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1498 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1499 CHISE client feature.
1501 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1503 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1505 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1507 * mule-charset.c (charset_lookup_description_1): Use
1508 `NUM_LEADING_BYTES' in UTF-2000.
1510 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1512 * char-ucs.h (GC_CHARSETP): Deleted.
1514 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * char-ucs.h (MAX_CHAR_GT): Updated.
1518 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1520 * text-coding.c: Sync with XEmacs 21.4.10.
1522 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1524 * mule-charset.c (Vcharset_china3_jef): Deleted.
1525 (Qchina3_jef): Deleted.
1526 (syms_of_mule_charset): Don't define `china3-jef'.
1527 (complex_vars_of_mule_charset): Likewise.
1529 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1530 (MIN_CHAR_CHINA3_JEF): Comment out.
1531 (MAX_CHAR_CHINA3_JEF): Comment out.
1533 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1535 * mule-charset.c (Vcharset_ucs_gb): New variable.
1536 (Qucs_gb): New variable.
1537 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1538 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1540 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1542 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1544 * mule-charset.c (charset_code_point): if a coded-charset has a
1545 final-byte, don't inherit the builtin range of the mother CCS.
1547 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1549 * mule-charset.c (charset_code_point): Fix problem about
1552 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1554 * mule-charset.c (decode_builtin_char): Reorganized.
1556 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1558 * text-coding.c (char_encode_as_entity_reference): Modify for
1559 `charset_code_point'.
1560 (char_encode_shift_jis): Likewise.
1561 (char_encode_big5): Likewise.
1562 (char_encode_utf8): Likewise.
1563 (char_encode_iso2022): Likewise.
1565 * mule-charset.c (charset_code_point): Add new argument
1567 (Fencode_char): Add new optional argument `defined_only'.
1569 * chartab.c (put_char_table): Modify for `charset_code_point'.
1571 * char-ucs.h (charset_code_point): Add new argument
1573 (encode_char_1): Modify for `charset_code_point'.
1575 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1577 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1578 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1580 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1582 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1583 (Qjis_x0208): Likewise.
1584 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1585 XCHARSET_FINAL(charset).
1586 (charset_code_point): Modify condition for final-byte based
1588 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1589 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1590 in UTF-2000; specify `=jis-x0208' as the mother of
1591 `japanese-jisx0208-1978', `japanese-jisx0208' and
1592 `japanese-jisx0208-1990' in UTF-2000.
1594 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1596 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1598 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1600 * text-coding.c (decode_coding_utf16): Support UTF-16.
1601 (char_encode_utf16): Fixed.
1603 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1605 * text-coding.c (Qutf16): New variable in MULE.
1606 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1607 (Fcoding_system_type): Add `utf-16' in MULE.
1608 (struct detection_state): Add a structure for utf16 in MULE.
1609 (detect_coding_type): Setup st->utf16.mask in MULE.
1610 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1612 (reset_encoding_stream): Use `char_encode_utf16' and
1613 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1614 (detect_coding_utf16): New function [incomplete].
1615 (decode_coding_utf16): New function [support only UCS-2].
1616 (char_encode_utf16): New function.
1617 (char_finish_utf16): New function.
1618 (syms_of_file_coding): Add new symbol `utf-16'; setup
1619 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1621 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1623 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1624 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1626 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1628 * chartab.c (put_char_table): When a charset is specified as a
1629 range in UTF-2000, don't support builtin characters.
1631 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1633 * mule-charset.c (decode_defined_char): Don't refer external
1634 database if Qunbound or Qnil are found.
1635 (Fsave_charset_mapping_table): Don't define it if
1636 HAVE_CHISE_CLIENT is not defined.
1637 (Freset_charset_mapping_table): New function.
1638 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1639 found in external database.
1640 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1641 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1642 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1644 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1646 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1649 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1651 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1652 Q_lowercase, Q_uppercase in UTF-2000.
1654 * chartab.c (get_char_table): Add special code for the standard
1655 case table to use character attribute `->downcase' and
1656 `->uppercase' for case operations in UTF-2000.
1658 * casetab.c (Qflippedcase): New variable in UTF-2000.
1659 (Q_lowercase): Likewise.
1660 (Q_uppercase): Likewise.
1661 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1662 and `->uppercase' in UTF-2000.
1663 (complex_vars_of_casetab): Assign attribute name `downcase' to
1664 downcase and CANON table of Vstandard_case_table in UTF-2000;
1665 assign attribute name `flippedcase' to upcase and EQV table of
1666 Vstandard_case_table in UTF-2000.
1668 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1670 * text-coding.c (decode_add_er_char): Support isolated-chars.
1671 (char_encode_as_entity_reference): Likewise.
1673 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1675 * emacs.c (Vutf_2000_lisp_directory): New variable.
1676 (Vconfigure_utf_2000_lisp_directory): Likewise.
1677 (complex_vars_of_emacs): Add new variable
1678 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1680 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1682 * char-ucs.h (DECODE_CHAR): Delete special code for
1683 `chinese-big5-1' and `chinese-big5-2'.
1685 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1686 (Qbig5_2): Likewise.
1687 (decode_defined_char): Support CONVERSION_BIG5_1 and
1689 (decode_builtin_char): Likewise.
1690 (charset_code_point): Likewise.
1691 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1692 'conversion in UTF-2000.
1693 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1694 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1695 `chinese-big5-2' as children of `chinese-big5'.
1697 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1698 (CONVERSION_BIG5_2): New macro.
1700 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1702 * text-coding.c (char_encode_big5): Support entity-reference.
1704 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1706 * text-coding.c (char_encode_as_entity_reference): New function.
1707 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1709 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1711 * text-coding.c (decode_coding_big5): Support entity-reference
1714 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1716 * text-coding.c (allocate_coding_system): Initialize initial
1717 charsets for CODESYS_UTF8.
1718 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1719 charset-g2 for CODESYS_UTF8.
1720 (decode_coding_utf8): Use charset-g0.
1721 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1722 to force variants to map to UCS.
1724 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1726 * text-coding.c (Qutf_8_mcs): New variable.
1727 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1728 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1729 instead of `utf-8' in UTF-2000.
1731 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1733 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1734 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1735 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1736 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1737 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1738 CONVERSION_96x96x96x96 are introduced.
1739 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1740 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1741 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1743 * char-ucs.h (CONVERSION_94): New macro.
1744 (CONVERSION_96): New macro.
1745 (CONVERSION_94x94): New macro.
1746 (CONVERSION_96x96): New macro.
1747 (CONVERSION_94x94x94): New macro.
1748 (CONVERSION_96x96x96): New macro.
1749 (CONVERSION_94x94x94x60): New macro.
1750 (CONVERSION_94x94x94x94): New macro.
1751 (CONVERSION_96x96x96x96): New macro.
1753 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1755 * chartab.c (Vcharacter_variant_table): Deleted.
1756 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1757 of `Vcharacter_variant_table'.
1758 (Fput_char_attribute): Likewise.
1759 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1760 (complex_vars_of_chartab): Likewise.
1762 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1764 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1766 * fns.c (Qideographic_structure): New variable.
1767 (Qkeyword_char): New variable.
1768 (ids_format_unit): New function.
1769 (Fideographic_structure_to_ids): New function.
1770 (syms_of_fns): Add new symbols `ideographic-structure' and
1771 `:char'; add new builtin function `ideographic-structure-to-ids'.
1773 * data.c (Fchar_ref_p): New function.
1774 (syms_of_data): Add new builtin function `char-ref-p'.
1776 * chartab.h: Add an EXFUN for `Ffind_char'.
1778 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1780 * text-coding.c (Vcharacter_composition_table): Deleted.
1781 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1784 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1786 (Vcharacter_composition_table): Deleted.
1787 (Fget_composite_char): Use the implementation for external-DB
1788 support in every UTF-2000.
1789 (Fput_char_attribute): Likewise.
1790 (char_attribute_system_db_file): Don't define if external-DB
1791 feature is not available.
1792 (Fsave_char_attribute_table): Likewise.
1793 (Fmount_char_attribute_table): Likewise.
1794 (Fclose_char_attribute_table): Likewise.
1795 (Freset_char_attribute_table): Likewise.
1796 (Fload_char_attribute_table): Likewise.
1797 (syms_of_chartab): Don't define `save-char-attribute-table',
1798 `mount-char-attribute-table', `reset-char-attribute-table',
1799 `close-char-attribute-table' and `load-char-attribute-table' if
1800 external-DB feature is not available.
1801 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1803 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1805 * text-coding.c (Qcomposition): Add extern if external-DB feature
1807 (Vcharacter_composition_table): Don't add extern if external-DB
1808 feature is supported.
1809 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1810 character composition rule if external-DB feature is supported.
1812 * chartab.c (Vcharacter_composition_table): Don't define if
1813 external-DB feature is supported.
1814 (Qcomposition): New variable.
1815 (Fget_composite_char): New implementation for external-DB support.
1816 (Fput_char_attribute): Use `composition' property of each
1817 character instead of `Vcharacter_composition_table' to store
1818 character-composition rules if external-DB feature is supported.
1819 (syms_of_chartab): Add new symbol `composition'.
1820 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1821 external-DB feature is supported.
1823 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1825 * chartab.c (Vchar_db_stingy_mode): New variable.
1826 (load_char_attribute_maybe): Close database if
1827 Vchar_db_stingy_mode is not NIL.
1828 (Fload_char_attribute_table_map_function): Use
1829 `get_char_id_table_0' instead of `get_char_id_table'.
1830 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1832 * chartab.h (get_char_id_table_0): New inline function.
1833 (get_char_id_table): Use `get_char_id_table_0'.
1835 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1837 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1838 and `COMPOSE_ADD_CHAR'.
1839 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1841 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1843 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1844 instead of `DECODE_ADD_UCS_CHAR'.
1845 (COMPOSE_ADD_CHAR): Likewise.
1847 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1849 * text-coding.c (decode_flush_er_chars): New inline function.
1850 (decode_add_er_char): New function.
1851 (decode_coding_utf8): Use `decode_flush_er_chars' and
1852 `decode_add_er_char'.
1854 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1856 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1857 done before `decode_output_utf8_partial_char'.
1859 * mule-charset.c (complex_vars_of_mule_charset): Specify
1860 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1861 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1863 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * mule-charset.c (decode_defined_char): New function; search
1867 (decode_builtin_char): Don't search mother if
1868 XCHARSET_MAX_CODE(charset) == 0.
1869 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1870 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1871 (Fdecode_char): Use `decode_defined_char' instead of
1872 `DECODE_DEFINED_CHAR'.
1873 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1874 mother of `Vcharset_ucs_jis'.
1876 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1877 instead of `DECODE_DEFINED_CHAR'.
1879 * char-ucs.h (decode_defined_char): Renamed from
1880 `DECODE_DEFINED_CHAR'; changed to normal function.
1881 (DECODE_CHAR): Use `decode_defined_char' instead of
1882 `DECODE_DEFINED_CHAR'.
1884 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1886 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1888 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1890 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1892 (Quse_entity_reference): New variable.
1896 (coding_system_description): Add description for
1897 `ccs_priority_list'.
1898 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1899 (allocate_coding_system): Initialize `ccs_priority_list' in
1901 (Fmake_coding_system): Add description about
1902 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1904 (Fcoding_system_property): Accept `disable-composition' and
1905 `use-entity-reference' in UTF-2000.
1906 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1908 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1909 (decode_coding_utf8): Decode entity-reference if
1910 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1911 (char_encode_utf8): Encode non-Unicode characters as
1912 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1914 (syms_of_file_coding): Add new symbols `use-entity-reference',
1916 (vars_of_file_coding): Add new variable
1917 `coded-charset-entity-reference-alist'.
1918 (complex_vars_of_file_coding): Declare `disable-composition' and
1919 `use-entity-reference' to be coding-system-properties in UTF-2000.
1921 * file-coding.h (struct Lisp_Coding_System): Add new member
1922 `use_entity_reference' and `ccs_priority_list'.
1923 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1924 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1925 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1927 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1929 * chartab.c (save_uint8_byte_table): Don't clear the table.
1930 (save_uint16_byte_table): Likewise.
1931 (save_byte_table): Likewise.
1932 (Fmount_char_attribute_table): New function.
1933 (syms_of_chartab): Add new builtin function
1934 `mount-char-attribute-table'.
1936 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1938 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1940 (load_char_decoding_entry_maybe): Open database as read-only mode.
1942 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1943 open database as "w+" mode.
1944 (load_char_attribute_maybe): Open database as read-only mode.
1945 (Fload_char_attribute_table): Likewise.
1947 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1949 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1950 (char_table_description): Delete member `db_file'.
1951 (Fmake_char_table): Don't refer `ct->db_file'.
1952 (Fcopy_char_table): Likewise.
1953 (Fsave_char_attribute_table): Likewise.
1954 (Fclose_char_attribute_table): Likewise.
1955 (Freset_char_attribute_table): Likewise.
1956 (load_char_attribute_maybe): Likewise.
1957 (Fload_char_attribute_table): Likewise.
1959 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1961 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1963 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1964 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1966 (load_char_attribute_maybe): Likewise.
1967 (Fload_char_attribute_table): Likewise.
1969 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1971 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1972 `ct->db_file' unconditionally.
1974 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1976 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1978 (char_table_description): Add description for `db_file' and `db'
1980 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1982 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1983 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1984 (Fclose_char_attribute_table): New function.
1985 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1986 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1988 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1989 (syms_of_chartab): Add new builtin function
1990 `Fclose_char_attribute_table'.
1992 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1994 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1996 (load_char_attribute_maybe): Change interface.
1997 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1999 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2001 * database.h: Add an EXFUN for `Fdatabase_live_p'.
2003 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2005 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
2006 instead of `DECODE_CHAR' for mother; don't use special code for
2007 chinese-big5 to use code space of chinese-big5-1 and
2009 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
2010 `MAX_CHAR_BIG5_CDP' for chinese-big5.
2012 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
2013 (MAX_CHAR_BIG5_CDP): Revival.
2015 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2017 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
2018 the XLFD registry-encoding name of `chinese-big5'.
2020 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2022 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2023 (Qchinese_big5_cdp): Deleted.
2024 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2025 (complex_vars_of_mule_charset): Delete coded-charset
2028 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2029 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2030 `CHARSET_ID_OFFSET - n' for private CCS.
2031 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2032 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2033 of `MIN_LEADING_BYTE'.
2034 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2035 `(CHARSET_ID_OFFSET - 97)'.
2036 (MIN_CHAR_BIG5_CDP): Deleted.
2037 (MAX_CHAR_BIG5_CDP): Deleted.
2039 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2041 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2043 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2045 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2046 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2049 * chartab.c (Vutf_2000_version): Moved to mule.c.
2050 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2052 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2054 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2055 when HAVE_CHISE_CLIENT is not defined.
2057 * mule.c (vars_of_mule): Provide feature `chise' when
2058 HAVE_CHISE_CLIENT is defined.
2060 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2062 * config.h.in (UTF2000): Add comment.
2063 (HAVE_CHISE_CLIENT): New macro.
2065 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2067 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2069 (Fput_char_attribute): Likewise.
2070 (char_attribute_system_db_file): Encode file-name of attribute.
2071 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2074 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2076 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2077 (Fsave_charset_mapping_table): Use
2078 `char_attribute_system_db_file'.
2079 (load_char_decoding_entry_maybe): Likewise.
2081 * chartab.h (Qsystem_char_id): New external variable.
2082 (char_attribute_system_db_file): New prototype.
2084 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2085 (char_attribute_system_db_file): New function.
2086 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2087 (Freset_char_attribute_table): Likewise.
2088 (load_char_attribute_maybe): Likewise.
2089 (Fload_char_attribute_table): Likewise.
2090 (syms_of_chartab): Add new symbol `system-char-id'.
2092 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2094 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2095 `XCHARSET_GRAPHIC(ccs)'.
2097 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2099 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2101 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2103 * chartab.c (Q_ucs_variants): New variable.
2104 (syms_of_chartab): Add new symbol `->ucs-variants'.
2105 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2106 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2107 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2109 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2111 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2112 `HAVE_DATABASE' is defined.
2113 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2114 `HAVE_DATABASE' is defined.
2116 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2118 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2120 (Freset_char_attribute_table): New function.
2121 (syms_of_chartab): Add new builtin function
2122 `reset-char-attribute-table'.
2124 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2126 * chartab.c (load_char_attribute_maybe): Don't make directories.
2128 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2130 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2132 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2135 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2137 * mule-charset.c (Fsave_charset_mapping_table): Use
2138 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2140 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2141 instead of `XCHARSET_CHARS'.
2143 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2145 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2146 (XCHARSET_BYTE_SIZE): Likewise.
2148 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2150 (XCHARSET_BYTE_SIZE): Likewise.
2152 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2154 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2155 data-directory to store database.
2156 (Fsave_char_attribute_table): Likewise.
2157 (load_char_attribute_maybe): Likewise.
2158 (Fload_char_attribute_table): Likewise.
2160 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2162 * mule-charset.c (Fsave_charset_mapping_table): New function.
2163 (syms_of_mule_charset): Add new builtin function
2164 `save-charset-mapping-table'.
2166 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2168 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2169 (get_ccs_octet_table): New inline function.
2170 (put_ccs_octet_table): Likewise.
2171 (decoding_table_put_char): Use `get_ccs_octet_table' and
2172 `put_ccs_octet_table'.
2173 (decoding_table_remove_char): Use `decoding_table_put_char'.
2174 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2176 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2177 into encoding_table.
2178 (make_charset): Use Qunbound instead Qnil as initial value of
2181 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2183 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2184 element is Qunloaded.
2185 (map_over_uint16_byte_table): Likewise.
2186 (map_over_byte_table): Likewise.
2187 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2188 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2189 database support, load encoding-table of the specified
2190 coded-charset if it is not loaded yet.
2191 (save_uint8_byte_table): New function of UTF-2000 with external
2193 (save_uint16_byte_table): Likewise.
2194 (save_byte_table): Likewise.
2195 (Fput_char_attribute): Don't store value into external database
2196 even if the external database feature is supported in UTF-2000;
2197 set `attribute' as name of char-table if the external database
2198 feature is supported.
2199 (Fsave_char_attribute_table): New function in UTF-2000.
2200 (syms_of_chartab): Add new builtin function
2201 `save-char-attribute-table' in UTF-2000.
2203 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2205 * chartab.c (char_attribute_table_to_put): New variable in
2207 (Qput_char_table_map_function): Likewise.
2208 (value_to_put): Likewise.
2209 (Fput_char_table_map_function): New function in UTF-2000.
2210 (put_char_table): Use `Fmap_char_attribute' for
2211 CHARTAB_RANGE_CHARSET in UTF-2000.
2212 (Fput_char_attribute): Store symbol instead of string in
2213 `XCHAR_TABLE_NAME (table)'.
2214 (load_char_attribute_maybe): Likewise.
2215 (syms_of_chartab): Add new symbol/function
2216 `put-char-table-map-function'.
2218 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2220 * database.h: Add new EXFUN for `Fmap_database'.
2222 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2223 (syms_of_database): Likewise.
2225 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2227 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2228 (XCHAR_TABLE_UNLOADED): Likewise.
2230 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2231 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2232 HAVE_DATABASE is defined.
2233 (char_attribute_table_to_load): New variable of UTF-2000 with
2234 external database support.
2235 (Qload_char_attribute_table_map_function): Likewise.
2236 (Fload_char_attribute_table_map_function): New function of
2237 UTF-2000 with external database support.
2238 (Fload_char_attribute_table): New function of UTF-2000.
2239 (Fmap_char_attribute): Call Fload_char_attribute_table if
2240 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2241 (syms_of_chartab): Add new symbol and function
2242 `load-char-attribute-table-map-function' in UTF-2000 with external
2243 database support; add new function `load-char-attribute-table' in
2246 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2248 * chartab.h (load_char_attribute_maybe): New prototype for
2249 UTF-2000 with DATABASE support.
2250 (get_char_id_table): Use `load_char_attribute_maybe' if
2251 HAVE_DATABASE is defined.
2253 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2254 with DATABASE support.
2256 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2258 * chartab.c (Fput_char_attribute): Use S-expression as key of
2261 * chartab.h (get_char_id_table): Use S-expression as key of
2264 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2266 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2267 if an element is not loaded, load the corresponding attributes
2268 from an external database.
2269 (map_over_uint16_byte_table): Likewise.
2270 (map_over_byte_table): Likewise.
2271 (map_char_table): Modify for `map_over_uint8_byte_table',
2272 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2273 element is not loaded, load the corresponding attributes from an
2275 (Fput_char_attribute): Change initial values to Qunloaded.
2277 * chartab.h (get_char_id_table): If a character attribute is not
2278 loaded and the attribute value is not found in an external
2279 database, store Qunbound as the attribute value.
2281 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2283 * chartab.c (BT_UINT8_unloaded): New macro.
2284 (UINT8_VALUE_P): Accept Qunloaded.
2285 (UINT8_ENCODE): Likewise.
2286 (UINT8_DECODE): Likewise.
2287 (BT_UINT16_unloaded): New macro.
2288 (UINT16_VALUE_P): Accept Qunloaded.
2289 (UINT16_ENCODE): Likewise.
2290 (UINT16_DECODE): Likewise.
2291 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2293 (mark_char_table): Mark `ct->name' in UTF-2000.
2294 (char_table_description): Add `name' in UTF-2000.
2295 (Fmake_char_table): Initialize `ct->name'.
2296 (Fcopy_char_table): Copy `ct->name'.
2297 (Fput_char_attribute): Store value into an external database if
2298 HAVE_DATABASE is defined.
2300 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2302 (CHAR_TABLE_NAME): New macro in UTF-2000.
2303 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2304 (get_char_id_table): Try to read an external database if Qunloaded
2305 is stored in a table.
2307 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2310 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2312 * database.h: Add EXFUN definitions for Fopen_database,
2313 Fput_database, Fget_database and Fclose_database.
2315 * data.c (Qunloaded): New variable in UTF-2000.
2317 * lisp.h (Qunloaded): New variable in UTF-2000.
2319 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2321 * mule-charset.c (put_char_ccs_code_point): Modify for
2322 `decoding_table_remove_char' and `decoding_table_put_char'.
2323 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2325 * char-ucs.h (decoding_table_remove_char): Change arguments to
2326 hide decoding_table vector.
2327 (decoding_table_put_char): Likewise.
2329 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2331 * mule-charset.c (decoding_table_remove_char): Moved to
2333 (decoding_table_put_char): Likewise.
2335 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2336 from mule-charset.c].
2337 (decoding_table_remove_char): New inline function [moved from
2339 (decoding_table_put_char): Likewise.
2341 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2343 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2346 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2348 * mule-charset.c (decode_builtin_char): Support mother charsets.
2350 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2352 * mule-charset.c (Q94x94x60): New variable.
2353 (charset_code_point): Support conversion `94x94x60'.
2354 (Fmake_charset): Likewise.
2355 (syms_of_mule_charset): Add new symbol `94x94x60'.
2357 * char-ucs.h (CONVERSION_94x94x60): New macro.
2359 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2361 * mule-charset.c (charset_code_point): Unify code about
2364 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2366 * mule-charset.c (charset_code_point): Merge code about builtin
2367 characters into code about mother charsets; don't use
2368 `range_charset_code_point'.
2369 (range_charset_code_point): Deleted.
2371 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2373 * mule-charset.c (Qcode_offset): New variable.
2374 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2375 `max-code'; accept new property `code-offset'.
2376 (syms_of_mule_charset): Add new symbol `code-offset'.
2378 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2380 * mule-charset.c (range_charset_code_point): Fixed.
2382 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2384 * mule-charset.c (decode_builtin_char): Change semantics of
2385 code-offset of coded-charset.
2386 (charset_code_point): Likewise.
2387 (range_charset_code_point): Likewise.
2388 (complex_vars_of_mule_charset): Modify for the change.
2390 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2392 * mule-charset.c (Fencode_char): Reverse arguments.
2394 * mule-charset.c (charset_code_point): Fixed.
2396 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2398 * mule-charset.c (Vcharset_mojikyo): Deleted.
2399 (Vcharset_mojikyo_2022_1): Deleted.
2400 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2401 (Qmin_code): New variable in UTF-2000.
2402 (Qmax_code): Likewise.
2403 (Qmother): Likewise.
2404 (Qconversion): Likewise.
2406 (Qmojikyo): Deleted.
2407 (Qmojikyo_2022_1): Deleted.
2408 (Qmojikyo_pj_{1..22}): Deleted.
2409 (mark_charset): Mark `cs->mother'.
2410 (charset_description): Add description for `mother'.
2411 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2412 new arguments `mother' and `conversion'; use
2413 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2414 (charset_code_point): Moved from char-ucs.h; support `mother'
2416 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2417 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2418 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2419 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2420 allow 2 as the value of `graphic' in UTF-2000; add new properties
2421 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2422 require `final' in UTF-2000; modify for `make_charset'.
2423 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2424 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2425 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2426 (Fencode_char): New function.
2427 (syms_of_mule_charset): Add new builtin function `encode-char' in
2428 UTF-2000; add new symbols `min-code', `max-code', `mother',
2429 `conversion' and `94x60'; delete symbols `mojikyo',
2430 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2431 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2432 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2433 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2435 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2436 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2438 * char-ucs.h (Vcharset_mojikyo): Deleted.
2439 (Vcharset_mojikyo_2022_1): Deleted.
2440 (LEADING_BYTE_MOJIKYO): Deleted.
2441 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2442 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2443 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2444 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2445 add new member `mother'; add new member `conversion'.
2446 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2447 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2448 (CHARSET_MOTHER): New macro.
2449 (CHARSET_CONVERSION): New macro.
2450 (CONVERSION_IDENTICAL): New macro.
2451 (CONVERSION_94x60): New macro.
2452 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2453 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2454 (XCHARSET_MOTHER): New macro.
2455 (XCHARSET_CONVERSION): New macro.
2456 (MIN_CHAR_MOJIKYO): Deleted.
2457 (MAX_CHAR_MOJIKYO): Deleted.
2458 (DECODE_MOJIKYO_2022): Deleted.
2459 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2460 (charset_code_point): Changed to non-inline function.
2461 (encode_char_1): Use `charset_code_point'.
2462 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2464 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2466 * lread.c (read_compiled_function): Fix prototype.
2467 (read_vector): Likewise.
2469 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2471 * lrecord.h (struct lrecord_header): Delete `older'.
2472 (set_lheader_implementation): Delete code for `older'.
2473 (set_lheader_older_implementation): Deleted.
2474 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2475 (OLDER_RECORD_P): Deleted.
2476 (OLDER_RECORD_HEADER_P): Deleted.
2477 (alloc_older_lcrecord): Deleted.
2478 (alloc_older_lcrecord_type): Deleted.
2480 * alloc.c (all_older_lcrecords): Deleted.
2481 (alloc_older_lcrecord): Deleted.
2482 (disksave_object_finalization_1): Delete code for older objects.
2483 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2484 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2486 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2488 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2489 instead of `make_older_vector'.
2490 (put_char_ccs_code_point): Likewise.
2491 (mark_charset): Mark `cs->decoding_table'.
2492 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2494 * lisp.h (make_older_vector): Deleted.
2495 (make_vector_newer): Deleted.
2497 * config.h.in (HAVE_GGC): Deleted.
2499 * alloc.c (make_older_vector): Deleted.
2500 (make_vector_newer_1): Deleted.
2501 (make_vector_newer): Deleted.
2503 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2506 (Qideograph_daikanwa_2): New variable.
2507 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2508 (complex_vars_of_mule_charset): Add new coded-charset
2509 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2510 `LEADING_BYTE_DAIKANWA'.
2512 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2513 (LEADING_BYTE_DAIKANWA_1): New macro.
2514 (LEADING_BYTE_DAIKANWA_2): New macro.
2515 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2517 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2519 * mule-charset.c (complex_vars_of_mule_charset): Change
2520 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2521 the second revised version.
2523 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2525 * mule-charset.c (Vcharset_ucs_smp): New variable.
2526 (Vcharset_ucs_sip): New variable.
2527 (Qucs_smp): New variable.
2528 (Qucs_sip): New variable.
2529 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2530 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2531 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2532 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2533 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2534 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2536 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2537 (LEADING_BYTE_UCS_SIP): New macro.
2538 (MIN_CHAR_SMP): New macro.
2539 (MAX_CHAR_SMP): New macro.
2540 (MIN_CHAR_SIP): New macro.
2541 (MAX_CHAR_SIP): New macro.
2543 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2545 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2548 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2550 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2551 value; don't store value into `encoding_table' of `Lisp_Charset'.
2552 (mark_charset): `encoding_table' was deleted.
2553 (charset_description): Likewise.
2554 (make_charset): Likewise.
2555 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2556 `put_char_ccs_code_point'.
2558 * chartab.h (Fput_char_attribute): New EXFUN.
2560 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2561 is unified with normal symbol space.
2562 (Fget_char_attribute): Likewise.
2563 (Fput_char_attribute): Likewise; behavior of
2564 `put_char_ccs_code_point' is changed.
2566 * char-ucs.h: Include "elhash.h".
2567 (Vchar_attribute_hash_table): New external variable.
2568 (struct Lisp_Charset): Delete `encoding_table'.
2569 (CHARSET_ENCODING_TABLE): New implementation; refer
2570 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2573 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2575 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2578 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2580 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2583 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2585 * chartab.c (uint8_byte_table_description): New constant.
2586 (uint8-byte-table): Use `uint8_byte_table_description'.
2587 (uint16_byte_table_description): New constant.
2588 (uint16-byte-table): Use `uint16_byte_table_description'.
2590 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2593 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2595 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2597 * mule-charset.c (Vcharset_ucs_ks): New variable.
2598 (Qucs_ks): New variable.
2599 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2600 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2602 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2604 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2606 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2607 (Fdecode_char): Likewise.
2609 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2611 (Fdefine_char): Modify for Fdecode_char.
2612 (Ffind_char): Likewise.
2614 * mule-charset.c (Fdecode_char): Add new optional argument
2616 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2618 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2620 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2621 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2622 (allocate_coding_system): Initialize initial-charsets of
2623 CODESYS_BIG5 in XEmacs UTF-2000.
2624 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2625 CODESYS_BIG5 in XEmacs UTF-2000.
2626 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2627 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2629 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2631 (Qideograph_hanziku_{1 .. 12}): Likewise.
2632 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2634 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2635 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2636 `ideograph-hanziku-{1 .. 12}'.
2638 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2639 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2640 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2641 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2642 (DECODE_DEFINED_CHAR): New inline function.
2643 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2645 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2647 * mule-charset.c (Vcharset_china3_jef): Renamed from
2648 `Vcharset_japanese_jef_china3'.
2649 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2650 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2651 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2652 (syms_of_mule_charset): Rename `china3-jef' from
2653 `japanese-jef-china3'.
2654 (complex_vars_of_mule_charset): Likewise; rename
2655 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2657 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2658 `LEADING_BYTE_JEF_CHINA3'.
2659 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2660 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2662 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2664 * mule-charset.c (encode_builtin_char_1): Comment out special code
2665 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2667 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2668 (MAX_CHAR_MOJIKYO_0): Comment out.
2669 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2670 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2671 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2672 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2674 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2676 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2677 (Qideograph_cbeta): New variable.
2678 (encode_builtin_char_1): Comment out special code for
2679 coded-charset `mojikyo' and `japanese-jef-china3'.
2680 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2681 (complex_vars_of_mule_charset): Add new coded-charset
2684 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2685 (MIN_CHAR_CBETA): New macro.
2686 (MAX_CHAR_CBETA): New macro.
2688 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2690 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2691 (LEADING_BYTE_JEF_CHINA3): New macro.
2692 (MIN_CHAR_JEF_CHINA3): New macro.
2693 (MAX_CHAR_JEF_CHINA3): Likewise.
2694 (DECODE_CHAR): Fixed.
2696 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2698 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2699 (Qjapanese_jef_china3): New variable.
2700 (encode_builtin_char_1): Support `japanese-jef-china3'.
2701 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2702 (complex_vars_of_mule_charset): Add new coded-charset
2703 `japanese-jef-china3'.
2705 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2707 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2708 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2709 94^4, 96^3, 96^4, 128^n and 256^n set.
2710 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2711 (map_char_table): Likewise.
2713 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2715 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2718 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2720 * chartab.h (get_char_id_table): New inline function.
2722 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2725 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2727 * chartab.h (decode_char_table_range): New prototype in XEmacs
2729 (put_char_id_table): New inline function in XEmacs UTF-2000.
2731 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2733 (decode_char_table_range): Delete static declaration in XEmacs
2736 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2738 * chartab.c (put_char_id_table): Use `put_char_table'.
2740 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2742 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2743 (map_over_uint16_byte_table): Likewise.
2744 (map_over_byte_table): Likewise.
2745 (map_char_table): Modify for `map_over_uint8_byte_table',
2746 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2749 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2751 * chartab.c (struct map_char_table_for_charset_arg): New
2753 (map_char_table_for_charset_fun): New function.
2754 (map_char_table): Use `map_char_table' for encoding_table of
2757 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2759 * chartab.c (map_char_table): Check a character is found in
2760 range->charset instead of non default value is defined in
2761 char-table when range is CHARTAB_RANGE_ROW.
2763 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2765 * chartab.c (map_char_id_table): Deleted.
2766 (Fmap_char_attribute): Use `map_char_table' instead of
2767 `map_char_id_table'.
2769 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2771 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2773 (update_syntax_table): Deleted in XEmacs UTF-2000.
2775 * syntax.c (find_defun_start): Use `syntax_table' instead of
2776 `mirror_syntax_table' in XEmacs UTF-2000.
2777 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2779 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2781 (Fmatching_paren): Likewise.
2782 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2784 (find_start_of_comment): Likewise.
2785 (find_end_of_comment): Likewise.
2786 (Fforward_comment): Likewise.
2787 (scan_lists): Likewise.
2788 (char_quoted): Likewise.
2789 (Fbackward_prefix_chars): Likewise.
2790 (scan_sexps_forward): Likewise.
2791 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2792 (update_syntax_table): Likewise.
2794 * search.c (skip_chars): Use `syntax_table' instead of
2795 `mirror_syntax_table' in XEmacs UTF-2000.
2796 (wordify): Likewise.
2797 (Freplace_match): Likewise.
2799 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2800 `mirror_syntax_table' in XEmacs UTF-2000.
2801 (WORDCHAR_P_UNSAFE): Likewise.
2802 (re_match_2_internal): Likewise.
2804 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2805 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2807 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2808 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2810 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2813 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2815 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2816 (char_table_description): Delete `mirror_table' in XEmacs
2818 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2820 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2821 (Fcopy_char_table): Likewise.
2822 (put_char_table): Don't call `update_syntax_table' in XEmacs
2825 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2826 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2827 (casify_region_internal): Likewise.
2829 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2831 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2832 `mirror_syntax_table' in XEmacs UTF-2000.
2834 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2835 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2836 (Fexpand_abbrev): Likewise.
2838 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2840 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2842 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2844 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2845 (map_over_uint16_byte_table): Likewise.
2846 (map_over_byte_table): Likewise.
2847 (get_char_id_table): Refer `cit->default_value'.
2848 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2849 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2850 of character-id ranges.
2851 (mark_char_table): Mark `ct->default_value'.
2852 (char_table_description): Add `default_value'.
2853 (fill_char_table): Use `default_value'.
2854 (decode_char_table_range): Decode `nil' as
2855 `CHARTAB_RANGE_DEFAULT'.
2856 (get_char_id_table): Refer `cit->default_value'.
2857 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2858 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2859 temporary hack; check value of char-table is bound or not.
2860 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2862 * chartab.h (struct Lisp_Char_Table): Add new member
2863 `default_value' in XEmacs UTF-2000.
2864 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2865 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2868 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2870 * chartab.h (Lisp_Char_ID_Table): Deleted.
2872 * chartab.c (char_table_description): Fix typo.
2873 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2874 `Lisp_Char_ID_Table'.
2876 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2878 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2881 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2884 * chartab.h (XCHAR_ID_TABLE): Deleted.
2885 (XSETCHAR_ID_TABLE): Deleted.
2886 (CHAR_ID_TABLE_P): Deleted.
2888 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2890 (Fget_composite_char): Likewise.
2891 (put_char_table): Likewise.
2892 (add_char_attribute_alist_mapper): Fixed.
2893 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2895 (Fget_char_attribute): Likewise.
2896 (Fget_char_attribute): Likewise.
2897 (Fmap_char_attribute): Likewise.
2899 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2901 (encode_char_1): Likewise.
2903 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2905 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2908 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2909 instead of `XCHAR_ID_TABLE'.
2910 (remove_char_ccs): Likewise.
2912 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2914 (Fget_composite_char): Likewise.
2915 (Fchar_variants): Likewise.
2916 (put_char_table): Likewise.
2917 (add_char_attribute_alist_mapper): Likewise.
2918 (Fchar_attribute_alist): Likewise.
2919 (Fget_char_attribute): Likewise.
2920 (Fput_char_attribute): Likewise.
2921 (Fmap_char_attribute): Likewise.
2922 (Fmap_char_attribute): Likewise.
2924 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2926 (encode_char_1): Likewise.
2928 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2930 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2931 `Lisp_Char_ID_Table'.
2932 (mark_char_id_table): Deleted.
2933 (print_char_id_table): Likewise.
2934 (char_id_table_equal): Likewise.
2935 (char_id_table_hash): Likewise.
2936 (char_id_table_description): Likewise.
2937 (char_id_table): Likewise.
2938 (make_char_id_table): Use `Fmake_char_table' and
2940 (get_char_id_table): Use `Lisp_Char_Table' instead of
2941 `Lisp_Char_ID_Table'.
2942 (put_char_id_table): Likewise.
2943 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2945 (Fremove_char_attribute): Likewise.
2946 (syms_of_chartab): Don't define type `char-id-table'.
2948 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2949 (char_id_table): Likewise.
2950 (GC_CHAR_ID_TABLE_P): Likewise.
2951 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2952 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2953 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2954 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2955 (get_char_id_table): Use `Lisp_Char_Table' instead of
2956 `Lisp_Char_ID_Table'.
2957 (put_char_id_table_0): Likewise.
2958 (put_char_id_table): Likewise.
2960 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2962 * chartab.h: Lisp_Byte_Table related codes are moved from
2965 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2967 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2969 * chartab.h: Don't include "chartab.h".
2970 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2971 (Lisp_Char_ID_Table): Likewise.
2972 (char_id_table): Likewise.
2973 (XCHAR_ID_TABLE): Likewise.
2974 (XSETCHAR_ID_TABLE): Likewise.
2975 (CHAR_ID_TABLE_P): Likewise.
2976 (GC_CHAR_ID_TABLE_P): Likewise.
2977 (get_char_id_table): Likewise.
2979 * char-ucs.h: Include "chartab.h".
2980 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2981 (Lisp_Char_ID_Table): Likewise.
2982 (char_id_table): Likewise.
2983 (XCHAR_ID_TABLE): Likewise.
2984 (XSETCHAR_ID_TABLE): Likewise.
2985 (CHAR_ID_TABLE_P): Likewise.
2986 (GC_CHAR_ID_TABLE_P): Likewise.
2987 (get_char_id_table): Likewise.
2989 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2991 * chartab.c (copy_uint8_byte_table): New function.
2992 (copy_uint16_byte_table): New function.
2993 (copy_byte_table): New function.
2994 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2996 (map_over_uint16_byte_table): Likewise.
2997 (map_over_byte_table): Likewise.
2998 (get_byte_table): Move prototype to chartab.h.
2999 (put_byte_table): Likewise.
3000 (put_char_id_table_0): Moved to chartab.h.
3001 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
3002 (char_table_entry_equal): Likewise.
3003 (char_table_entry_hash): Likewise.
3004 (char_table_entry_description): Likewise.
3005 (char_table_entry): Likewise.
3006 (make_char_table_entry): Likewise.
3007 (copy_char_table_entry): Likewise.
3008 (get_non_ascii_char_table_value): Likewise.
3009 (map_over_charset_ascii): Likewise.
3010 (map_over_charset_control_1): Likewise.
3011 (map_over_charset_row): Likewise.
3012 (map_over_other_charset): Likewise.
3013 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
3014 (print_char_table): Likewise.
3015 (char_table_equal): Likewise.
3016 (char_table_hash): Likewise.
3017 (char_table_description): Likewise.
3018 (fill_char_table): Likewise.
3019 (Fcopy_char_table): Likewise.
3020 (get_char_table): Likewise.
3021 (Fget_range_char_table): Likewise.
3022 (put_char_table): Likewise.
3023 (map_char_table): Likewise.
3024 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3027 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3029 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3030 `Vauto_fill_chars' in XEmacs UTF-2000.
3032 * chartab.h (get_byte_table): New prototype [moved from
3034 (put_byte_table): Likewise [moved from chartab.c].
3035 (put_char_id_table_0): New inline function [moved from chartab.c].
3036 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3037 (Lisp_Char_Table_Entry): Likewise.
3038 (char_table_entry): Likewise.
3039 (XCHAR_TABLE_ENTRY): Likewise.
3040 (XSETCHAR_TABLE_ENTRY): Likewise.
3041 (CHAR_TABLE_ENTRYP): Likewise.
3042 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3043 (NUM_ASCII_CHARS): Likewise.
3044 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3045 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3047 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3049 * chartab.c (get_char_id_table): Change interface.
3050 (put_char_id_table_0): New function.
3051 (put_char_id_table): Change interface; new implementation.
3052 (Fget_composite_char): Modify for interface change of
3053 `get_char_id_table'.
3054 (Fchar_variants): Likewise.
3055 (add_char_attribute_alist_mapper): Likewise.
3056 (Fchar_attribute_alist): Likewise.
3057 (Fget_char_attribute): Likewise.
3058 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3059 as same as character as the first argument like `put-char-table';
3060 modify for interface change of `put_char_id_table'.
3061 (Fremove_char_attribute): Modify for interface change of
3062 `put_char_id_table'.
3064 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3066 * text-coding.c: Sync up with XEmacs 21.2.41.
3067 (COMPOSE_ADD_CHAR): Modify for interface change of
3068 `get_char_id_table'.
3070 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3071 change of `put_char_id_table'.
3072 (remove_char_ccs): Likewise.
3074 * chartab.h (put_char_id_table): Change interface.
3076 * char-ucs.h (get_char_id_table): Change interface.
3077 (charset_code_point): Modify for interface change of
3078 `get_char_id_table'.
3079 (encode_char_1): Likewise.
3081 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3083 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3085 (map_over_uint16_byte_table): Likewise.
3086 (map_over_byte_table): Likewise.
3087 (map_char_id_table): Add new argument `range' like
3089 (Fmap_char_attribute): Add new argument `range' like
3092 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3094 * chartab.c (map_over_uint8_byte_table): Change interface of
3095 mapping function to use struct chartab_range instead of Emchar.
3096 (map_over_uint16_byte_table): Likewise.
3097 (map_over_byte_table): Likewise.
3098 (map_char_id_table): Likewise.
3099 (struct slow_map_char_id_table_arg): Deleted.
3100 (slow_map_char_id_table_fun): Deleted.
3101 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3102 function `slow_map_char_table_fun' instead of struct
3103 `slow_map_char_id_table_arg' and function
3104 `slow_map_char_id_table_fun'.
3106 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3108 * mule-charset.c: Move char-it-table related codes to chartab.c.
3109 (Vutf_2000_version): Moved to chartab.c.
3110 (Fdefine_char): Likewise.
3111 (Ffind_char): Likewise.
3112 (syms_of_mule_charset): Move types `uint8-byte-table',
3113 `uint16-byte-table', `byte-table' and `char-id-table' to
3114 chartab.c; move functions `char_attribute_list,
3115 `find_char_attribute_table, `char_attribute_alist,
3116 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3117 `map_char_attribute, `define_char, `find_char, `char_variants and
3118 `get_composite_char to chartab.c; move symbols `=>ucs',
3119 `->decomposition', `compat', `isolated', `initial', `medial',
3120 `final', `vertical', `noBreak', `fraction', `super', `sub',
3121 `circle', `square', `wide', `narrow', `small' and `font' to
3123 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3124 setting codes for `Vcharacter_composition_table' and
3125 `Vcharacter_variant_table' to chartab.c.
3126 (complex_vars_of_mule_charset): Move setting code for
3127 `Vchar_attribute_hash_table' to chartab.c.
3129 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3130 (make_char_id_table): New prototype.
3131 (put_char_id_table): Likewise.
3132 (Fget_char_attribute): Likewise.
3134 * chartab.c: Move char-id-table related code from mule-charset.c.
3135 (Vutf_2000_version): Moved from mule-charset.c.
3137 * char-ucs.h (Qucs): New external variable.
3138 (put_char_ccs_code_point): New prototype.
3139 (remove_char_ccs): Likewise.
3141 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3143 * mule-charset.c (Vcharset_ucs_jis): New variable.
3144 (Qucs_jis): Likewise.
3145 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3146 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3148 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3150 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3152 * mule-charset.c (map_over_uint8_byte_table): New function.
3153 (map_over_uint16_byte_table): Likewise.
3154 (map_over_byte_table): Likewise.
3155 (map_char_id_table): Likewise.
3156 (slow_map_char_id_table_fun): Likewise.
3157 (Fmap_char_attribute): Likewise.
3158 (syms_of_mule_charset): Add new function `map-char-attribute'.
3160 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3162 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3163 (syms_of_mule_charset): Add new function `find-char'.
3165 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3167 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3169 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3170 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3172 (complex_vars_of_mule_charset): Add new coded-charset
3173 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3174 `ideograph-gt-pj-*'.
3176 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3178 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3180 * mule-charset.c (encode_builtin_char_1): Purge codes about
3181 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3182 {MIN|MAX}_CHAR_HEBREW.
3183 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3184 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3186 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3187 (MAX_CHAR_GREEK): Purged.
3188 (MIN_CHAR_CYRILLIC): Purged.
3189 (MAX_CHAR_CYRILLIC): Purged.
3190 (MIN_CHAR_HEBREW): Commented out.
3191 (MAX_CHAR_HEBREW): Likewise.
3193 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3195 * mule-charset.c (Qto_ucs): New variable.
3196 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3197 (Fdefine_char): Likewise.
3198 (syms_of_mule_charset): Add new symbol `=>ucs'.
3200 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3202 * mule-charset.c (Fdecode_char): Fixed.
3204 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3206 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3207 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3210 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3212 * mule-charset.c (Vcharset_ucs_big5): New variable.
3213 (Qucs_big5): Likewise.
3214 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3215 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3217 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3219 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3221 * mule-charset.c (decode_builtin_char): Check Big5 code range
3222 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3224 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3226 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3227 (Qchinese_gb12345): Likewise.
3228 (Fdecode_builtin_char): Fixed.
3229 (syms_of_mule_charset): Add `chinese-gb12345'.
3230 (complex_vars_of_mule_charset): Add coded-charset
3233 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3234 (LEADING_BYTE_CHINESE_GB12345): New macro.
3236 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3238 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3239 and `latin-viscii-upper' for `latin-viscii'.
3241 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3243 * mule-charset.c (Fdecode_builtin_char): Comment out
3244 regularization code for ISO-IR GR representation.
3246 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3248 * mule-charset.c (decode_builtin_char): New function; renamed from
3249 `make_builtin_char'; return -1 instead of signal.
3250 (Fdecode_builtin_char): Use `decode_builtin_char'.
3252 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3253 `make_builtin_char'.
3254 (DECODE_CHAR): Use `decode_builtin_char' instead of
3255 `make_builtin_char'; use mapping table of `chinese-big5' for
3256 `chinese-big5-{1,2}'.
3258 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3260 * text-coding.c (char_encode_big5): New function.
3261 (char_finish_big5): Likewise.
3262 (reset_encoding_stream): Use `char_encode_big5' and
3263 `char_finish_big5' for CODESYS_BIG5.
3264 (mule_encode): Don't use `encode_coding_big5'.
3265 (encode_coding_big5): Deleted.
3267 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3269 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3270 0x81- in XEmacs UTF-2000.
3271 (detect_coding_big5): Likewise.
3273 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3275 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3276 generate character-id if the CCS property does not have
3277 corresponding predefined character.
3278 (make_builtin_char): Return -1 if corresponding predefined
3279 character is not found.
3280 (Fdecode_char): Return nil if corresponding character is not
3282 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3283 don't map to builtin ucs space.
3285 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3287 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3288 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3290 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3292 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3293 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3294 (Qideograph_gt): Likewise.
3295 (Qideograph_gt_pj_{1..11}): Likewise.
3296 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3297 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3298 `ideograph-gt-pj-11'.
3299 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3300 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3301 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3303 * char-ucs.h (LEADING_BYTE_GT): New macro.
3304 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3305 (MIN_CHAR_GT): Likewise.
3306 (MAX_CHAR_GT): Likewise.
3308 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3310 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3311 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3313 * doprnt.c (unsigned_int_converters): Add `c'.
3314 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3316 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3317 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3319 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3320 (MAX_CHAR_MOJIKYO_0): New macro.
3321 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3323 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3325 * mule-charset.c (Fdefine_char): Delete cemented out code.
3326 (encode_builtin_char_1): Modify for new allocation of builtin
3329 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3331 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3333 * mule-charset.c (Vcharset_ucs_cns): New variable.
3334 (Qucs_cns): New variable.
3335 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3336 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3338 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3340 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3342 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3344 * search.c (search_buffer): Make `charset_base_code' as
3345 character-id >> 6 to eliminate the corresponding last byte in
3346 UTF-8 representation [I'm not sure it is right thing].
3347 (boyer_moore): Likewise.
3349 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3351 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3352 representation in MULE.
3354 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3356 * text-coding.c (Fmake_coding_system): Use
3357 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3358 `EXTERNAL_PROPERTY_LIST_LOOP'.
3360 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3362 * text-coding.c (decode_output_utf8_partial_char): New function.
3363 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3365 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3367 * text-coding.c (decode_coding_utf8): Output original byte
3368 sequence if it is broken; change order of conditions.
3370 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3373 * mb-multibyte.h (BYTE_ASCII_P):
3374 Use bit ops for char-signedness safety.
3375 (BYTE_C0_P): Use bit ops for char-signedness safety.
3376 (BYTE_C1_P): Use bit ops for char-signedness safety.
3378 * character.h: (XCHAR_OR_CHAR_INT):
3379 Always use inline function.
3380 Remove redundant type checking assert() - XINT will abort quite
3383 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3385 * text-coding.c: (Fencode_shift_jis_char):
3386 (Fencode_big5_char):
3387 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3388 Replace 0 with '\0' when working with bytes.
3389 Replace initial "(" with "\(" in docstrings.
3391 (Fmake_coding_system):
3392 When type is ccl and value is vector, register it with a proper
3393 symbol. And checks whether the given ccl program is valid.
3394 (mule_decode): When calling ccl_driver, if src indicates
3395 NULL pointer, set an empty string instead.
3396 (mule_encode): Likewise.
3399 (detect_coding_sjis):
3400 (decode_coding_sjis):
3401 (detect_coding_big5):
3402 (decode_coding_big5):
3403 (detect_coding_ucs4):
3404 (decode_coding_ucs4):
3405 (detect_coding_utf8):
3406 (decode_coding_utf8):
3407 (detect_coding_iso2022):
3408 (decode_coding_iso2022):
3409 (decode_coding_no_conversion):
3411 Make all detecting and decoding functions take an Extbyte * arg.
3412 (text_encode_generic):
3413 (encode_coding_big5):
3414 (encode_coding_no_conversion):
3416 Make all encoding functions take a Bufbyte * arg.
3417 Use size_t instead of unsigned int for memory sizes.
3418 Only cast to unsigned char whenever dereferencing Extbyte *.
3420 (struct lrecord_description fcd_description_1): Use countof.
3421 (complex_vars_of_file_coding):
3422 Use countof instead of sizeof.
3423 Use CHECK_NATNUM instead of CHECK_INT.
3425 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3427 * mule-charset.c (Fget_char_attribute): Add new optional argument
3429 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3430 (remove_char_ccs): Likewise.
3432 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3434 * text-coding.c (char_encode_shift_jis): New implementation in
3436 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3439 * mule-charset.c (Vcharset_chinese_big5): New variable in
3441 (Qchinese_big5): New variable in UTF-2000.
3442 (BIG5_SAME_ROW): New macro in UTF-2000.
3443 (make_builtin_char): Use builtin characters of
3444 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3445 characters of `Vcharset_chinese_big5'.
3446 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3447 (complex_vars_of_mule_charset): Add new coded-charset
3448 `chinese-big5' in UTF-2000.
3450 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3451 (Vcharset_chinese_big5): New external variable declaration.
3452 (Vcharset_japanese_jisx0208_1990): Likewise.
3454 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3456 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3458 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3460 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3462 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3463 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3464 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3467 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3469 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3471 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3473 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3476 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3478 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3479 for `CHARSET_BY_ATTRIBUTES'.
3480 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3481 `CHARSET_BY_ATTRIBUTES'.
3483 * text-coding.c (struct decoding_stream): Rename member `CH' to
3485 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3486 (decode_coding_sjis): Likewise.
3487 (decode_coding_big5): Likewise.
3488 (decode_coding_ucs4): Likewise.
3489 (decode_coding_utf8): Likewise.
3490 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3491 `CHARSET_BY_ATTRIBUTES'.
3492 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3493 `str->counter'; decode 3, 4 bytes sets.
3494 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3496 (decode_coding_no_conversion): Use `str->cpos' instead of
3499 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3500 (Qmojikyo_2022_1): New variable.
3501 (make_charset): Don't use `CHARSET_TYPE_*'.
3502 (range_charset_code_point): Support coded-charset
3504 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3505 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3506 `CHARSET_BY_ATTRIBUTES'.
3507 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3508 `CHARSET_BY_ATTRIBUTES'.
3509 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3510 (complex_vars_of_mule_charset): Add new coded-charset
3513 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3514 interface; changed to inline function.
3516 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3517 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3518 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3519 (CHARSET_TYPE_94): Deleted.
3520 (CHARSET_TYPE_94X94): Deleted.
3521 (CHARSET_TYPE_96): Deleted.
3522 (CHARSET_TYPE_96X96): Deleted.
3523 (CHARSET_TYPE_128): Deleted.
3524 (CHARSET_TYPE_128X128): Deleted.
3525 (CHARSET_TYPE_256): Deleted.
3526 (CHARSET_TYPE_256X256): Deleted.
3527 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3529 (DECODE_MOJIKYO_2022): New inline function.
3530 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3531 `Vcharset_mojikyo_2022_1'.
3533 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3535 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3537 (put_byte_table): Likewise.
3538 (char_id_table_equal): Use `get_byte_table' [new implementation].
3540 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3542 * mule-charset.c: Include <limits.h> in UTF-2000.
3543 (BT_UINT8_MIN): New macro in UTF-2000.
3544 (BT_UINT8_MAX): New macro in UTF-2000.
3545 (BT_UINT8_t): New macro in UTF-2000.
3546 (BT_UINT8_nil): New macro in UTF-2000.
3547 (BT_UINT8_unbound): New macro in UTF-2000.
3548 (INT_UINT8_P): New inline function in UTF-2000.
3549 (UINT8_VALUE_P): New inline function in UTF-2000.
3550 (UINT8_ENCODE): New inline function in UTF-2000.
3551 (UINT8_DECODE): New inline function in UTF-2000.
3552 (mark_uint8_byte_table): New function in UTF-2000.
3553 (print_uint8_byte_table): New function in UTF-2000.
3554 (uint8_byte_table_equal): New function in UTF-2000.
3555 (uint8_byte_table_hash): New function in UTF-2000.
3556 (make_uint8_byte_table): New function in UTF-2000.
3557 (uint8_byte_table_same_value_p): New function in UTF-2000.
3558 (BT_UINT16_MIN): New macro in UTF-2000.
3559 (BT_UINT16_MAX): New macro in UTF-2000.
3560 (BT_UINT16_t): New macro in UTF-2000.
3561 (BT_UINT16_nil): New macro in UTF-2000.
3562 (BT_UINT16_unbound): New macro in UTF-2000.
3563 (INT_UINT16_P): New inline function in UTF-2000.
3564 (UINT16_VALUE_P): New inline function in UTF-2000.
3565 (UINT16_ENCODE): New inline function in UTF-2000.
3566 (UINT16_DECODE): New inline function in UTF-2000.
3567 (UINT8_TO_UINT16): New inline function in UTF-2000.
3568 (mark_uint16_byte_table): New function in UTF-2000.
3569 (print_uint16_byte_table): New function in UTF-2000.
3570 (uint16_byte_table_equal): New function in UTF-2000.
3571 (uint16_byte_table_hash): New function in UTF-2000.
3572 (make_uint16_byte_table): New function in UTF-2000.
3573 (uint16_byte_table_same_value_p): New function in UTF-2000.
3574 (print_byte_table): New function in UTF-2000.
3575 (byte-table): Use `print_byte_table' as printer.
3576 (make_byte_table): Delete second argument `older'.
3577 (byte_table_same_value_p): New function in UTF-2000.
3578 (copy_byte_table): Deleted.
3579 (get_byte_table): New function in UTF-2000.
3580 (put_byte_table): New function in UTF-2000.
3581 (print_char_id_table): New function in UTF-2000.
3582 (char-id-table): Use `print_char_id_table' as printer.
3583 (make_char_id_table): Delete second argument `older'.
3584 (get_char_id_table): Use `get_byte_table [new implementation].
3585 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3587 (Ffind_char_attribute_table): New function in UTF-2000.
3588 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3589 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3590 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3591 (syms_of_mule_charset): Add new function
3592 `find-char-attribute-table' in UTF-2000.
3594 * lrecord.h (enum lrecord_type): Add
3595 `lrecord_type_uint16_byte_table' and
3596 `lrecord_type_uint8_byte_table'.
3598 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3599 (Lisp_Uint8_Byte_Table): New type.
3600 (XUINT8_BYTE_TABLE): New macro.
3601 (XSETUINT8_BYTE_TABLE): New macro.
3602 (UINT8_BYTE_TABLE_P): New macro.
3603 (GC_UINT8_BYTE_TABLE_P): New macro.
3604 (struct Lisp_Uint16_Byte_Table): New structure.
3605 (Lisp_Uint16_Byte_Table): New type.
3606 (XUINT16_BYTE_TABLE): New macro.
3607 (XSETUINT16_BYTE_TABLE): New macro.
3608 (UINT16_BYTE_TABLE_P): New macro.
3609 (GC_UINT16_BYTE_TABLE_P): New macro.
3611 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3613 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3614 (Vcharacter_ideographic_strokes_table): Deleted.
3615 (Vcharacter_total_strokes_table): Deleted.
3616 (Vcharacter_morohashi_daikanwa_table): Deleted.
3617 (Vcharacter_decomposition_table): Deleted.
3618 (Qname): Deleted because it is duplicated.
3619 (Qideographic_radical): Deleted.
3620 (Qideographic_strokes): Deleted.
3621 (Qtotal_strokes): Deleted.
3622 (Qmorohashi_daikanwa): Deleted.
3623 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3624 `ideographic-radical', `ideographic-strokes', `total-strokes',
3625 `morohashi-daikanwa' and `->decomposition'.
3626 (Fget_char_attribute): Likewise.
3627 (Fput_char_attribute): Likewise; use `make-vector' instead of
3628 `make_older_vector' for `->decomposition' value.
3629 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3630 `ideograph-daikanwa'.
3631 (syms_of_mule_charset): Delete builtin symbols `name',
3632 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3633 `morohashi-daikanwa'.
3634 (vars_of_mule_charset): Don't setup
3635 `Vcharacter_ideographic_radical_table',
3636 `Vcharacter_ideographic_strokes_table',
3637 `Vcharacter_total_strokes_table',
3638 `Vcharacter_morohashi_daikanwa_table' and
3639 `Vcharacter_decomposition_table'.
3641 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3643 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3644 `make_older_vector', `make_vector_newer_1' and
3645 `make_vector_newer'.
3647 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3648 `make_older_vector' and `make_vector_newer'.
3650 * config.h.in (HAVE_GGC): New macro.
3652 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3654 * mule-charset.c (struct char_attribute_list_closure): New
3655 structure in UTF-2000.
3656 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3657 (Fchar_attribute_list): Likewise.
3658 (Fset_charset_mapping_table): Use `make_vector_newer'.
3659 (Fdecode_builtin_char): New function in UTF-2000.
3660 (syms_of_mule_charset): Add new function `char-attribute-list' and
3661 `decode-builtin-char' in UTF-2000.
3663 * lisp.h (make_vector_newer): New prototype.
3665 * alloc.c (make_vector_newer_1): New function.
3666 (make_vector_newer): New function.
3668 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3670 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3673 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3675 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3676 (Vcharacter_attribute_table): Deleted.
3677 (Vcharacter_name_table): Deleted.
3678 (put_char_attribute): Deleted.
3679 (remove_char_attribute): Deleted.
3680 (struct char_attribute_alist_closure): New structure.
3681 (add_char_attribute_alist_mapper): New function.
3682 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3683 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3684 (Fget_char_attribute): Likewise.
3685 (Fput_char_attribute): Likewise.
3686 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3687 of `remove_char_attribute'.
3688 (Fdefine_char): Return character.
3689 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3690 and `Vcharacter_name_table'.
3691 (complex_vars_of_mule_charset): Likewise
3692 `Vchar_attribute_hash_table'.
3694 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3696 * character.h (CHARC_CHARSET): New macro.
3697 (CHARC_CHARSET_ID): New macro.
3698 (CHARC_CODE_POINT): New macro.
3699 (CHARC_COLUMNS): New macro.
3700 (CHARC_TO_CHAR): New inline function.
3701 (CHARC_EQ): New inline function.
3702 (CHARC_ASCII_EQ): New inline function.
3703 (CHARC_IS_SPACE): New inline function.
3704 (ASCII_TO_CHARC): New inline function.
3706 * char-ucs.h (encode_char_2): Deleted.
3707 (ENCODE_CHAR): Use `encode_char_1' again.
3708 (breakup_char_1): Likewise.
3709 (CHAR_TO_CHARC): New inline function.
3711 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3713 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3715 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3716 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3717 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3718 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3719 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3721 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3723 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3725 (x_output_display_block): Use `CHARC_CHARSET' and
3728 * redisplay-tty.c (tty_output_display_block): Use
3730 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3732 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3734 * insdel.c (find_charsets_in_charc_string): Use
3736 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3737 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3738 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3739 (convert_charc_string_into_malloced_string): Likewise.
3741 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3743 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3744 instead of <Emchar_dynarr *> for buf; use
3745 `convert_bufbyte_string_into_charc_dynarr' instead of
3746 `convert_bufbyte_string_into_emchar_dynarr'; use
3747 `find_charsets_in_charc_string' instead of
3748 `find_charsets_in_emchar_string'.
3751 - Include "character.h".
3752 (struct rune): New member `cglyph'; delete member `chr'.
3754 * redisplay.c (redisplay_text_width_charc_string): New function;
3755 delete `redisplay_text_width_emchar_string'.
3756 (rtw_charc_dynarr): New variable; renamed from
3757 `rtw_emchar_dynarr'.
3758 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3759 `rtw_emchar_dynarr'; use
3760 `convert_bufbyte_string_into_charc_dynarr' instead of
3761 `convert_bufbyte_string_into_emchar_dynarr'; use
3762 `redisplay_text_width_charc_string' instead of
3763 `redisplay_text_width_emchar_string'.
3764 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3765 instead of `rtw_emchar_dynarr'; use
3766 `convert_bufbyte_string_into_charc_dynarr' instead of
3767 `convert_bufbyte_string_into_emchar_dynarr'.
3768 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3769 `redisplay_text_width_charc_string' instead of
3770 `redisplay_text_width_emchar_string'.
3771 (create_text_block): Modify for <struct rune> change.
3772 (generate_formatted_string_db): Likewise.
3773 (create_string_text_block): Likewise.
3774 (pixel_to_glyph_translation): Likewise.
3776 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3777 instead of <const Emchar *>.
3778 (x_text_width): Likewise.
3779 (x_output_display_block): Use <Charc_dynarr *> instead
3780 <Emchar_dynarr *>; modify for <structure rune> change.
3781 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3784 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3785 <const Emchar *>; use `charc_string_displayed_columns' instead of
3786 `emchar_string_displayed_columns'.
3787 (tty_output_display_block): Use <Charc_dynarr *> instead of
3788 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3789 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3790 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3791 `tty_output_emchar_dynarr_dynarr'.
3792 (tty_output_charc_dynarr): New function; delete
3793 `tty_output_charc_dynarr'.
3795 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3796 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3797 <Emchar_dynarr *> for buf; use
3798 `convert_bufbyte_string_into_charc_dynarr' instead of
3799 `convert_bufbyte_string_into_emchar_dynarr'.
3801 * frame.c (title_string_charc_dynarr): New variable; renamed from
3802 `title_string_emchar_dynarr'.
3803 (generate_title_string): Use `title_string_charc_dynarr' instead
3804 of `title_string_emchar_dynarr'; use
3805 `convert_charc_string_into_malloced_string' instead of
3806 `convert_emchar_string_into_malloced_string'.
3807 (init_frame): Use `title_string_charc_dynarr' instead of
3808 `title_string_emchar_dynarr'.
3811 - Include "character.h".
3812 (struct console_methods): Use <const Charc *> instead of <const
3813 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3814 <Emchar_dynarr *> in output_string_method.
3816 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3819 * console-stream.c (stream_text_width): Use <const Charc *>
3820 instead of <const Emchar *>.
3822 * character.h (Charc_dynarr): New type.
3824 * char-ucs.h (structure Charc): New structure; define new type
3827 * char-lb.h (DECODE_CHAR): New inline function.
3828 (encode_char_1): New inline function.
3829 (ENCODE_CHAR): New macro.
3830 (structure Charc): New structure; define new type `Charc'.
3832 * char-1byte.h (Vcharset_control_1): New macro.
3833 (Vcharset_latin_iso8859_1): New macro.
3834 (DECODE_CHAR): New inline function.
3835 (encode_char_1): New inline function.
3836 (ENCODE_CHAR): New macro.
3837 (structure Charc): New structure; define new type `Charc'.
3839 * insdel.c (find_charsets_in_charc_string): New function; delete
3840 `find_charsets_in_emchar_string'.
3841 (charc_string_displayed_columns): New function; delete
3842 `emchar_string_displayed_columns'.
3843 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3844 `convert_bufbyte_string_into_emchar_dynarr'.
3845 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3846 `convert_charc_string_into_bufbyte_dynarr'.
3847 (convert_charc_string_into_malloced_string): New function; delete
3848 `convert_charc_string_into_malloced_string'.
3850 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3851 `find_charsets_in_emchar_string'.
3852 (charc_string_displayed_columns): New prototype; delete
3853 `emchar_string_displayed_columns'.
3854 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3855 `convert_charc_string_into_bufbyte_dynarr'.
3856 (convert_charc_string_into_malloced_string): New prototype; delete
3857 `convert_charc_string_into_malloced_string'.
3859 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3861 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3863 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3865 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3867 * char-ucs.h: Use <short> for <Charset_ID>.
3869 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3872 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3874 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3877 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3879 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3881 (Qmorohashi_daikanwa): New variable.
3882 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3883 for `morohashi-daikanwa' attribute.
3884 (Fget_char_attribute): Likewise.
3885 (Fput_char_attribute): Likewise.
3886 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3887 has the same value of `ideograph-daikanwa'.
3888 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3889 (vars_of_mule_charset): Setup
3890 `Vcharacter_morohashi_daikanwa_table'.
3892 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3894 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3896 (add_charset_to_list_mapper): Add `key' instead of
3897 `XCHARSET_NAME (value)' to return aliases.
3899 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3901 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3903 (Vcharacter_ideographic_strokes_table): New variable.
3904 (Qideographic_radical): New variable.
3905 (Qideographic_strokes): New variable.
3906 (Fchar_attribute_alist): Use
3907 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3908 attribute; use `Vcharacter_ideographic_strokes_table' for
3909 `ideographic-strokes' attribute.
3910 (Fget_char_attribute): Likewise.
3911 (Fput_char_attribute): Likewise.
3912 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3913 `ideographic-strokes'.
3914 (vars_of_mule_charset): Setup
3915 `Vcharacter_ideographic_radical_table' and
3916 `Vcharacter_ideographic_strokes_table'.
3918 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3920 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3921 (Qtotal_strokes): New variable.
3922 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3923 `total-strokes' attribute.
3924 (Fget_char_attribute): Likewise.
3925 (Fput_char_attribute): Likewise.
3926 (syms_of_mule_charset): Add new symbol `total-strokes'.
3927 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3929 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3931 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3932 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3934 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3935 `->decomposition' attribute.
3936 (Fput_char_attribute): Likewise.
3937 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3939 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3941 * mule-charset.c (decoding_table_check_elements): New function.
3942 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3944 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3946 * mule-charset.c (Fset_charset_mapping_table): Use
3947 `put_char_ccs_code_point'.
3949 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3951 * mule-charset.c (decoding_table_put_char): New inline function.
3952 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3954 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3956 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3957 (XCHARSET_BYTE_SIZE): New macro.
3958 (decoding_table_remove_char): New inline function.
3959 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3960 `decoding_table_remove_char'.
3961 (remove_char_ccs): Use `decoding_table_remove_char'.
3962 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3964 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3966 * mule-charset.c (Vcharacter_name_table): New variable.
3967 (Qname): New variable.
3968 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3970 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3971 `Vcharacter_name_table' for `name' attribute.
3972 (Fremove_char_attribute): Use function `remove_char_ccs'.
3973 (put_char_ccs_code_point): New function.
3974 (remove_char_ccs): New function.
3975 (syms_of_mule_charset): Add new symbol `name'.
3976 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3978 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3980 * mule-charset.c (make_byte_table): Add new argument `older'.
3981 (make_char_id_table): Likewise.
3982 (copy_char_id_table): Comment out because it is not used.
3983 (put_char_id_table): Modify for `make_byte_table'.
3984 (Fput_char_attribute): Make encoding_table as older object;
3985 inherit older bit of `Vcharacter_composition_table'.
3986 (mark_charset): Don't mark `cs->encoding_table'.
3987 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3988 normal object; make `Vcharacter_composition_table' as an older
3989 object; delete staticpro for `Vcharacter_composition_table'; make
3990 `Vcharacter_variant_table' as a normal object.
3992 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3993 (mark_object): Don't check older object in UTF-2000.
3995 * lrecord.h (struct lrecord_header): Add new member `older' in
3997 (set_lheader_implementation): Setup `SLI_header->older' in
3999 (set_lheader_older_implementation): New macro in UTF-2000.
4000 (OLDER_RECORD_P): New macro in UTF-2000.
4001 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
4002 (alloc_older_lcrecord): New prototype in UTF-2000.
4003 (alloc_older_lcrecord_type): New macro in UTF-2000.
4005 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4007 * mule-charset.c (byte_table_description): Use
4008 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
4009 (char_id_table_description): Delete bogus `, 1'.
4010 (Fget_char_attribute): Refer encoding_table of each coded-charset
4011 to get value of coded-charset attribute of a character.
4012 (Fput_char_attribute): Use `make_older_vector' instead of
4013 `make_vector'; use encoding_table of each coded-charset to store
4014 value of coded-charset attribute of a character.
4015 (Fremove_char_attribute): Use encoding_table of each coded-charset
4016 to store value of coded-charset attribute of a character.
4017 (mark_charset): Mark `cs->encoding_table'; don't mark
4018 `cs->decoding_table'.
4019 (charset_description): Add description of new member
4021 (make_charset): Initialize `encoding_table'.
4023 * char-ucs.h (struct Lisp_Charset): Add new member
4025 (CHARSET_ENCODING_TABLE): New macro.
4026 (XCHARSET_ENCODING_TABLE): New macro.
4027 (charset_code_point): New implementation.
4028 (encode_char_1): Likewise.
4030 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4031 (disksave_object_finalization_1): Call finalizers of
4032 `all_older_lcrecords' in UTF-2000.
4033 (make_older_vector): New function in UTF-2000.
4034 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4037 * lisp.h (make_older_vector): New prototype in UTF-2000.
4039 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4041 * lrecord.h (enum lrecord_type): Rename
4042 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4044 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4045 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4046 `get_char_code_table'.
4048 * mule-charset.c (mark_char_id_table): Renamed from
4049 `mark_char_code_table'.
4050 (char_id_table_equal): Renamed from `char_code_table_equal'.
4051 (char_id_table_hash): Renamed from `char_code_table_hash'.
4052 (make_char_id_table): Renamed from `make_char_code_table'.
4053 (copy_char_id_table): Renamed from `copy_char_code_table'.
4054 (get_char_id_table): Renamed from `get_char_code_table'.
4055 (put_char_id_table): Renamed from `put_char_code_table'.
4056 (to_char_id): Renamed from `to_char_code'.
4058 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4059 `Lisp_Char_Code_Table'.
4060 (char_id_table): Renamed from `char_code_table'.
4061 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4062 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4063 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4064 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4065 (get_char_id_table): Renamed from `get_char_code_table'.
4067 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4069 * lrecord.h (enum lrecord_type): Rename
4070 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4072 * mule-charset.c (mark_byte_table): Renamed from
4073 `mark_char_byte_table'.
4074 (byte_table_equal): Renamed from `char_byte_table_equal'.
4075 (byte_table_hash): Renamed from `byte_table_hash'.
4076 (make_byte_table): Renamed from `make_byte_table'.
4077 (copy_byte_table): Renamed from `copy_char_byte_table'.
4079 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4080 `Lisp_Char_Byte_Table'.
4081 (byte_table): Renamed from `char_byte_table'.
4082 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4083 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4084 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4085 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4087 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4089 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4090 (dfc_convert_to_internal_format): Likewise.
4092 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4093 * text-coding.c (Fcoding_system_alias_p): New function.
4094 * text-coding.c (Fcoding_system_aliasee): New function.
4095 * text-coding.c (append_suffix_to_symbol): New function.
4096 * text-coding.c (dangling_coding_system_alias_p): New function.
4097 * text-coding.c (Ffind_coding_system):
4098 * text-coding.c (Fcopy_coding_system):
4099 * text-coding.c (encode_coding_no_conversion):
4100 * text-coding.c (syms_of_file_coding):
4101 * text-coding.c (vars_of_file_coding):
4102 Rewrite coding system alias code.
4103 Allow nested aliases, like symbolic links.
4104 Allow redefinition of coding system aliases.
4105 Prevent existence of dangling coding system aliases.
4106 Eliminate convert_to_external_format.
4107 Eliminate convert_to_internal_format.
4109 * text-coding.c: Change enum eol_type to eol_type_t.
4111 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4113 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4114 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4116 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4117 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4119 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4121 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4122 `ideograph-daikanwa'.
4124 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4125 (Vcharset_ucs_bmp): Likewise.
4126 (Vcharset_mojikyo): Add new extern variable definition.
4127 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4128 (Vcharset_latin_iso8859_3): Likewise.
4129 (Vcharset_latin_iso8859_4): Likewise.
4130 (Vcharset_latin_iso8859_9): Likewise.
4131 (Vcharset_latin_viscii_lower): Likewise.
4132 (Vcharset_latin_viscii_upper): Likewise.
4133 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4134 `mojikyo' code-point is used to decode.
4135 (encode_char_2): New function [to convert `mojikyo' code-point to
4136 Mojikyo font encoding].
4137 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4138 (breakup_char_1): Likewise.
4139 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4141 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4143 * text-coding.c (Fmake_coding_system): Add document about
4144 `disable-composition' property.
4146 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4148 * text-coding.c (Qdisable_composition): New variable; delete
4150 (Fmake_coding_system): Add new property `disable-composite';
4151 delete property `composite'.
4152 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4153 instead of `!CODING_SYSTEM_COMPOSITE'.
4154 (syms_of_file_coding): Add new symbol `disable-composition';
4155 delete symbol `composite'.
4157 * file-coding.h (struct Lisp_Coding_System): Add
4158 `disable_composition'; delete `enable_composition'.
4159 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4160 `CODING_SYSTEM_COMPOSITE'.
4161 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4162 `XCODING_SYSTEM_COMPOSITE'.
4164 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4166 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4169 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4171 * text-coding.c (Qcomposite): New variable.
4172 (Fmake_coding_system): Add new property `composite'.
4173 (struct decoding_stream): Add `combined_char_count',
4174 `combined_chars' and `combining_table' in UTF-2000.
4175 (COMPOSE_FLUSH_CHARS): New macro.
4176 (COMPOSE_ADD_CHAR): New macro.
4177 (reset_decoding_stream): Reset `str->combined_char_count' and
4178 `str->combining_table' in UTF-2000.
4179 (decode_coding_iso2022): Modify for character-decomposition.
4180 (syms_of_file_coding): Add new symbol `composite'.
4182 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4184 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4185 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4186 of `Vcharacter_composition_table' if `->decomposition' property
4188 (Qlatin_tcvn5712): New variable.
4189 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4190 (complex_vars_of_mule_charset): Add new coded-charset
4193 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4195 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4197 * file-coding.h (struct Lisp_Coding_System): Add
4198 `enable_composition'.
4199 (CODING_SYSTEM_COMPOSITE): New macro.
4200 (XCODING_SYSTEM_COMPOSITE): New macro.
4202 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4204 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4206 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4208 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4209 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4211 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4213 * mule-charset.c (Vcharset_mojikyo): New variable.
4214 (Fdefine_char): Don't use coded-charset which does not have
4215 non-builtin character range to allocate character-id.
4216 (Qmojikyo): New variable.
4217 (syms_of_mule_charset): Add new symbol `mojikyo'.
4218 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4220 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4221 (LEADING_BYTE_MOJIKYO): New macro.
4222 (MIN_CHAR_MOJIKYO): New macro.
4223 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4224 (MAX_CHAR_MOJIKYO): New macro.
4226 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4228 * mule-charset.c (remove_char_attribute): Fixed.
4230 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4232 * mule-charset.c (remove_char_attribute): New function.
4233 (Fremove_char_attribute): New function.
4234 (encode_builtin_char_1): Comment out builtin-support for
4235 greek-iso8859-7 and cyrillic-iso8859-5.
4236 (Fdecode_char): Check `code' is an integer.
4237 (syms_of_mule_charset): Add `remove-char-attribute'.
4238 (MIN_CHAR_GREEK): Deleted.
4239 (MAX_CHAR_GREEK): Likewise.
4240 (MIN_CHAR_CYRILLIC): Likewise.
4241 (MAX_CHAR_CYRILLIC): Likewise.
4242 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4243 MAX_CHAR_GREEK for `greek-iso8859-7'.
4245 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4246 (MAX_CHAR_GREEK): Likewise.
4247 (MIN_CHAR_CYRILLIC): Likewise.
4248 (MAX_CHAR_CYRILLIC): Likewise.
4250 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4252 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4253 format is used without `ucs' property.
4254 (Fdecode_char): Fix problem with GR representation.
4255 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4256 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4258 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4260 * mule-charset.c (make_builtin_char): New function.
4261 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4262 (Fset_charset_mapping_table): Modify for new representation of
4264 (Fdecode_char): New function.
4265 (syms_of_mule_charset): Add new builtin function `decode-char' in
4268 * char-ucs.h (make_builtin_char): New prototype.
4269 (DECODE_CHAR): New inline function.
4270 (MAKE_CHAR): Use `DECODE_CHAR'.
4272 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4274 * text-coding.c (parse_charset_conversion_specs): Use
4275 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4277 (iso2022_designate): Likewise.
4279 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4280 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4282 * mule-charset.c (Vcharset_ucs): New variable.
4283 (print_charset): Change design; use `CHARSET_CHARS' and
4284 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4285 (make_charset): Change signature to specify `chars' and
4286 `dimension' instead of `type'.
4287 (range_charset_code_point): Modify for 256^n-set.
4288 (encode_builtin_char_1): Encode as `ucs' in default.
4289 (Fmake_charset): Modify for `make_charset'.
4290 (Fmake_reverse_direction_charset): Likewise.
4291 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4293 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4296 * char-ucs.h (Vcharset_ucs): New variable.
4297 (LEADING_BYTE_UCS): New macro.
4298 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4299 and `chars' to `unsigned short' from `unsigned int'.
4300 (CHARSET_TYPE): Deleted.
4301 (XCHARSET_TYPE): Deleted.
4303 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4305 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4307 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4308 (ENCODE_CHAR): New macro.
4310 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4312 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4313 to 0.14 (Kawachi-Katakami).
4315 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4317 * text-coding.c (char_encode_shift_jis): Modify for
4318 `charset_code_point'.
4319 (char_encode_iso2022): Likewise.
4321 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4322 (integer) instead of list of <Lisp_Object>s (integers) as the
4323 format of code-point of a coded-charset.
4324 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4325 (encode_builtin_char_1): New function; delete
4326 `split_builtin_char'.
4327 (charset_code_point): Return <int> instead of <Lisp_Object>.
4328 (Fsplit_char): Don't use `SPLIT_CHAR'.
4330 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4331 prototype for `split_builtin_char'.
4332 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4333 (charset_code_point): Likewise.
4334 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4335 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4337 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4339 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4340 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4342 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4344 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4346 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4347 (MAX_CHAR_OBS_94x94): Deleted.
4349 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4351 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4353 * char-ucs.h (MAX_CHAR_BMP): New macro.
4355 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4357 * text-coding.c: Sync with r21-2-24.
4359 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4361 * file-coding.c: Modify for UTF-2000.
4363 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4365 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4368 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4370 * mule-charset.c (split_builtin_char): Delete builtin support for
4371 `katakana-jisx0201'.
4372 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4373 BMP area in builtin representation.
4375 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4376 `Vcharset_katakana_jisx0201'.
4378 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4380 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4381 (Qisolated): New variable.
4382 (Qinitial): New variable.
4383 (Qmedial): New variable.
4384 (Qfinal): New variable.
4385 (Qvertical): New variable.
4386 (Qsmall): New variable.
4387 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4388 `Qvertical' and `Qsmall'.
4389 (Qmojikyo_pj_[1 .. 21]): New variable.
4390 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4391 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4392 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4395 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4397 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4398 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4399 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4401 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4403 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4404 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4406 (Qjapanese_jisx0208_1990): New variable.
4407 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4408 (complex_vars_of_mule_charset): Add new coded-charset
4409 `japanese-jisx0208-1990'.
4411 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4412 (MIN_CHAR_JIS_X0208_1990): New macro.
4413 (MAX_CHAR_JIS_X0208_1990): New macro.
4415 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4417 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4418 coded-charset is not found.
4420 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4422 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4423 (Fdefine_char): Use `Fmake_char'.
4425 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4427 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4428 (Vcharset_hiragana_jisx0208): Deleted.
4429 (Vcharset_katakana_jisx0208): Deleted.
4430 (Qideograph_daikanwa): New variable.
4431 (Qhiragana_jisx0208): Deleted.
4432 (Qkatakana_jisx0208): Deleted.
4433 (split_builtin_char): Split `ideograph-daikanwa'.
4434 (Fsplit_char): New implementation for UTF-2000.
4435 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4436 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4437 (complex_vars_of_mule_charset): Add new coded-charset
4438 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4439 `katakana-jisx0208'.
4441 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4442 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4443 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4444 (MIN_CHAR_DAIKANWA): New macro.
4445 (MAX_CHAR_DAIKANWA): New macro.
4447 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4449 * data.c (Fstring_to_number): Don't recognize floating point if
4452 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4454 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4456 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4458 * mule-charset.c (Qsquare): New variable.
4459 (to_char_code): Add `Qsquare'.
4460 (syms_of_mule_charset): Add new symbol `square'.
4462 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4464 * mule-charset.c (Qcircle): New variable.
4465 (to_char_code): Add `Qcircle'.
4466 (syms_of_mule_charset): Add new symbol `circle'.
4468 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4470 * mule-charset.c (Qfont): New variable.
4471 (to_char_code): Add `Qfont'.
4472 (syms_of_mule_charset): Add new symbol `font'.
4474 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4476 * mule-charset.c (Qsub): New variable.
4477 (to_char_code): Add `Qsub'.
4478 (syms_of_mule_charset): Add new symbol `sub'.
4480 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4482 * mule-charset.c (Fput_char_attribute): Convert each element of
4483 VALUE to GL position if ATTRIBUTE is a GR-set,
4485 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4487 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4488 coded-charset is a GR-set.
4490 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4492 * mule-charset.c (Fput_char_attribute): Check each element of
4493 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4495 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4497 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4499 (Qethiopic_ucs): New variable in UTF-2000.
4500 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4501 (complex_vars_of_mule_charset): Add new coded-charset
4502 `ethiopic-ucs' in UTF-2000.
4504 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4505 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4507 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4509 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4511 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4513 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4516 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4518 * mule-charset.c (Vcharacter_variant_table): New variable.
4519 (Q_ucs): New variable.
4520 (Fchar_variants): New function.
4521 (Fput_char_attribute): Register `->ucs' value to
4522 `Vcharacter_variant_table'.
4523 (syms_of_mule_charset): Add new function `char-variants' and new
4525 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4527 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4529 * mule-charset.c (get_char_code_table): Allow negative character
4531 (put_char_code_table): Likewise.
4532 (Vcharacter_composition_table): New variable.
4533 (Q_decomposition): New variable.
4534 (Qwide): New variable.
4535 (Qnarrow): New variable.
4536 (Qcompat): New variable.
4537 (QnoBreak): New variable.
4538 (Qsuper): New variable.
4539 (Qfraction): New variable.
4540 (to_char_code): New function.
4541 (Fget_composite_char): New function.
4542 (Fput_char_attribute): Register `->decomposition' value to
4543 `Vcharacter_composition_table'.
4544 (syms_of_mule_charset): Add new function `get-composite-char', new
4545 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4546 `super' and `fraction'.
4547 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4549 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4551 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4552 character; copy the return value.
4554 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4556 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4558 * mule-charset.c (range_charset_code_point): Must use make_int.
4559 (split_builtin_char): New function.
4561 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4563 * mule-charset.c (char_byte_table): Change name from
4564 "char-code-table" to "char-byte-table".
4565 (mark_char_code_table): New function.
4566 (char_code_table_equal): New function.
4567 (char_code_table_hash): New function.
4568 (char_code_table_description): New constant.
4569 (char_code_table): New type.
4570 (make_char_code_table): New function.
4571 (copy_char_code_table): New function.
4572 (get_char_code_table): Modify for `char_code_table' type.
4573 (put_char_code_table): Likewise.
4574 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4577 * char-ucs.h (char_code_table): New type.
4578 (XCHAR_CODE_TABLE): New macro.
4579 (XSETCHAR_CODE_TABLE): New macro.
4580 (CHAR_CODE_TABLE_P): New macro.
4581 (GC_CHAR_CODE_TABLE_P): New macro.
4582 (struct Lisp_Char_Code_Table): New structure.
4584 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4586 * mule-charset.c (Fmake_charset): Setup byte_offset for
4589 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4591 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4594 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4596 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4599 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4601 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4602 charset, it is regarded as a charset.
4603 (put_char_attribute): New function in UTF-2000.
4604 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4605 charset, mapping-table of the charset is modified.
4606 (Fdefine_char): New function in UTF-2000.
4607 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4608 `Fput_char_attribute'.
4609 (syms_of_mule_charset): Add new function `define-char' and new
4610 symbol `ucs' in UTF-2000.
4611 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4613 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4615 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4616 non-UTF-2000 configuration.
4618 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4620 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4621 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4623 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4625 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4626 (Fset_charset_mapping_table): Likewise.
4628 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4629 (CHARSET_ENCODING_TABLE): Delete.
4630 (XCHARSET_ENCODING_TABLE): Delete.
4631 (charset_code_point): New interface.
4633 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4635 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4636 instead of `charset_get_byte1' and `charset_get_byte2'.
4638 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4639 (charset_get_byte2): Deleted.
4641 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4643 * char-ucs.h (SPLIT_CHAR): New inline function.
4644 (breakup_char_1): Use `SPLIT_CHAR'.
4646 * mule-charset.c (range_charset_code_point): New function.
4647 (charset_code_point): New function.
4649 * char-ucs.h (range_charset_code_point): New interface.
4650 (breakup_char_1): Use `range_charset_code_point'.
4652 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4654 * mule-charset.c (Fmake_charset): Delete unused local variable
4657 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4658 (breakup_char_1): Find a charset and code-point in
4659 `Vcharacter_attribute_table'.
4661 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4663 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4666 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4668 * mule-charset.c (Vcharacter_attribute_table): New variable.
4669 (Fchar_attribute_alist): New function.
4670 (Fget_char_attribute): New function.
4671 (Fput_char_attribute): New function.
4672 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4674 (syms_of_mule_charset): Add new function `char-attribute-alist',
4675 `get-char-attribute' and `put-char-attribute'.
4676 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4678 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4680 * mule-charset.c (Fmake_charset): Just use
4681 `get_unallocated_leading_byte'.
4683 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4684 sets; don't use final-byte based number for private sets.
4686 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4688 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4691 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4693 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4696 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4698 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4699 of `CHAR_LEADING_BYTE' in UTF-2000.
4701 * insdel.c (find_charsets_in_bufbyte_string): Use
4702 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4703 (find_charsets_in_emchar_string): Likewise.
4705 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4706 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4708 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4709 (CHAR_CHARSET_ID): New macro.
4711 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4713 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4714 charset-id - MIN_LEADING_BYTE.
4715 (put_char_table): Likewise.
4717 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4719 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4720 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4721 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4722 (CHARSET_ID_OFFSET): New macro.
4723 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4724 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4725 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4726 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4728 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4730 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4731 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4732 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4733 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4734 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4736 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4738 * mule-charset.c (next_allocated_leading_byte): New variable in
4740 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4741 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4742 (get_unallocated_leading_byte): Simply use
4743 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4744 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4747 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4748 (MAX_LEADING_BYTE_PRIVATE): New macro.
4749 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4750 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4752 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4754 * mule-charset.c (Fmake_charset): Allocate final-byte based
4755 charset-id for 94-set, 96-set and 94x94-set.
4757 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4759 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4761 (Fmake_charset): Likewise.
4762 (complex_vars_of_mule_charset): Modify the font registry of
4763 `ucs-bmp' not to match `Ethiopic-Unicode'.
4765 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4767 * mule-charset.c (complex_vars_of_mule_charset): Add font
4768 registory of `ucs-bmp'.
4770 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4772 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4773 coded-charsets in `default-coded-charset-priority-list' when
4774 breaking up a character.
4776 * mule-charset.c (Vcharset_latin_viscii): New variable.
4777 (Qlatin_viscii): New variable.
4778 (make_charset): Don't use `decoding_table'.
4779 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4781 (Fset_charset_mapping_table): New implementation.
4782 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4783 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4784 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4785 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4786 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4787 charset `latin_viscii'.
4789 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4790 (CHARSET_TYPE_94X94): Change to 1 from 2.
4791 (CHARSET_TYPE_96): Change to 2 from 1.
4792 (CHARSET_TYPE_128): New macro.
4793 (CHARSET_TYPE_128X128): Change to 5 from 4.
4794 (CHARSET_TYPE_256): New macro.
4795 (CHARSET_TYPE_256X256): Change to 7 from 5.
4796 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4798 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4800 * text-coding.c (char_encode_shift_jis): Refer
4801 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4802 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4804 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4805 (char_byte_table_equal): New function in UTF-2000.
4806 (char_byte_table_hash): New function in UTF-2000.
4807 (char_byte_table_description): New constant in UTF-2000.
4808 (char_byte_table): New type in UTF-2000.
4809 (make_char_byte_table): New function in UTF-2000.
4810 (copy_char_byte_table): New function in UTF-2000.
4811 (make_char_code_table): New macro in UTF-2000.
4812 (get_char_code_table): New function in UTF-2000.
4813 (put_char_code_table): New function in UTF-2000.
4814 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4815 (charset_description): Add setting in UTF-2000.
4816 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4817 `CHARSET_TO_BYTE1_TABLE(cs)'.
4818 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4819 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4820 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4821 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4822 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4823 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4824 `CHARSET_TO_BYTE2_TABLE(cs)'.
4826 * char-ucs.h (char_byte_table): New type.
4827 (XCHAR_BYTE_TABLE): New macro.
4828 (XSETCHAR_BYTE_TABLE): New macro.
4829 (CHAR_BYTE_TABLE_P): New macro.
4830 (GC_CHAR_BYTE_TABLE_P): New macro.
4831 (struct Lisp_Char_Byte_Table): New structure.
4832 (get_char_code_table): New interface.
4833 (Emchar_to_byte_table): Deleted.
4834 (get_byte_from_character_table): Deleted.
4835 (struct Lisp_Charset): Add `encoding_table'; delete
4836 `to_byte1_table' and `to_byte2_table'.
4837 (CHARSET_ENCODING_TABLE): New macro.
4838 (CHARSET_TO_BYTE1_TABLE): Deleted.
4839 (CHARSET_TO_BYTE2_TABLE): Deleted.
4840 (XCHARSET_ENCODING_TABLE): New macro.
4841 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4842 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4844 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4846 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4847 `vietnamese-viscii-*'.
4849 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4851 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4852 (Qvietnamese_viscii_upper): New variable.
4853 (Fdefine_charset_alias): New function.
4854 (syms_of_mule_charset): Add new function `define-charset-alias'.
4855 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4856 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4859 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4861 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4862 (MAX_CHAR_OBS_94x94): New macro.
4863 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4866 * mule-charset.c (put_byte_from_character_table): Change unit size
4868 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4870 (Fmake_reverse_direction_charset): Modify dummy argument of
4871 `make_charset' for non-UTF-2000 environment.
4873 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4875 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4877 * mule-charset.c (destroy_byte_from_character_table): New macro.
4878 (latin_jisx0201_to_ucs): Deleted.
4879 (latin_iso8859_2_to_ucs): Deleted.
4880 (latin_iso8859_3_to_ucs): Deleted.
4881 (latin_iso8859_4_to_ucs): Deleted.
4882 (latin_iso8859_9_to_ucs): Deleted.
4883 (latin_viscii_lower_to_ucs): Deleted.
4884 (latin_viscii_upper_to_ucs): Deleted.
4885 (mark_charset): Mark `cs->decoding_table'.
4886 (Fcharset_mapping_table): Fix DOC-string.
4887 (Fset_charset_mapping_table): New function.
4888 (syms_of_mule_charset): Add nwe function
4889 `set-charset-mapping-table'.
4890 (complex_vars_of_mule_charset): Don't setup and use
4893 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4895 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4898 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4900 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4901 (Vcharset_katakana_jisx0208): New variable.
4902 (Qhiragana_jisx0208): New variable.
4903 (Qkatakana_jisx0208): New variable.
4904 (make_charset): Add new argument `byte_offset'.
4905 (charset_get_byte1): Modify for new coded-charset definition; use
4906 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4907 `XCHARSET_BYTE_OFFSET'.
4908 (Fmake_charset): Modify for `make_charset'.
4909 (Fmake_reverse_direction_charset): Likewise.
4910 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4911 `katakana-jisx0208'.
4912 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4913 `.' in font registry of charset `katakana-jisx0201',
4914 `latin-jisx0201', `vietnamese-viscii-lower' and
4915 `vietnamese-viscii-upper'; modify DOC-string of charset
4916 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4917 registry of charset `japanese-jisx0208' not to use font for JIS
4918 X0208:1990; add new charset `hiragana-jisx0208' and
4919 `katakana-jisx0208'.
4921 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4922 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4923 (struct Lisp_Charset): Add `byte_offset'.
4924 (CHARSET_BYTE_OFFSET): New macro.
4925 (XCHARSET_UCS_MIN): New macro.
4926 (XCHARSET_UCS_MAX): New macro.
4927 (XCHARSET_CODE_OFFSET): New macro.
4928 (XCHARSET_BYTE_OFFSET): New macro.
4929 (MIN_CHAR_HIRAGANA): New macro.
4930 (MAX_CHAR_HIRAGANA): New macro.
4931 (MIN_CHAR_KATAKANA): New macro.
4932 (MAX_CHAR_KATAKANA): New macro.
4933 (MAKE_CHAR): Modify for new coded-charset definition; use
4934 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4935 `XCHARSET_BYTE_OFFSET'.
4937 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4939 * mule-charset.c (CHAR96): Deleted.
4940 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4942 (latin_iso8859_2_to_ucs): Likewise.
4943 (latin_iso8859_3_to_ucs): Likewise.
4944 (latin_iso8859_4_to_ucs): Likewise.
4945 (latin_iso8859_9_to_ucs): Likewise.
4946 (latin_viscii_lower_to_ucs): Likewise.
4947 (latin_viscii_upper_to_ucs): Likewise.
4948 (latin_tcvn5712_to_ucs): Commented out.
4949 (make_charset): Change type of argument `decoding_table' from
4950 <Emchar*> to <Lisp_Object> [vector of characters].
4951 (Fmake_charset): Modify for `make_charset'.
4952 (Fmake_reverse_direction_charset): Likewise.
4953 (Fcharset_mapping_table): New function in UTF-2000.
4954 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4956 (complex_vars_of_mule_charset): Modify for type change of
4957 `*_to_ucs'; modify for `make_charset'.
4959 * char-ucs.h (struct Lisp_Charset): Change type of
4960 `decoding_table' from <Emchar*> to <Lisp_Object>.
4961 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4963 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4965 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4966 error with non-UTF-2000-Mule.
4968 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4970 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4972 (Vcharset_chinese_cns11643_4): Likewise.
4973 (Vcharset_chinese_cns11643_5): Likewise.
4974 (Vcharset_chinese_cns11643_6): Likewise.
4975 (Vcharset_chinese_cns11643_7): Likewise.
4976 (Qchinese_cns11643_3): Likewise.
4977 (Qchinese_cns11643_4): Likewise.
4978 (Qchinese_cns11643_5): Likewise.
4979 (Qchinese_cns11643_6): Likewise.
4980 (Qchinese_cns11643_7): Likewise.
4981 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4982 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4983 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4984 (complex_vars_of_mule_charset): Likewise.
4986 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4988 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4990 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4991 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4993 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4995 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4997 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4998 (breakup_char_1): Likewise.
5000 * text-coding.c (char_encode_iso2022): Keep designated charsets if
5001 one of them includes the specified character.
5003 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5005 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
5007 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5009 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
5011 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5013 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
5014 definition for non-UTF-2000 Mule.
5015 (latin_iso8859_3_to_ucs): Likewise.
5016 (latin_iso8859_4_to_ucs): Likewise.
5017 (latin_iso8859_9_to_ucs): Likewise.
5018 (latin_jisx0201_to_ucs): Likewise.
5019 (MIN_CHAR_THAI): Likewise.
5020 (MAX_CHAR_THAI): Likewise.
5021 (MIN_CHAR_GREEK): Likewise.
5022 (MAX_CHAR_GREEK): Likewise.
5023 (MIN_CHAR_HEBREW): Likewise.
5024 (MAX_CHAR_HEBREW): Likewise.
5025 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5026 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5027 (MIN_CHAR_CYRILLIC): Likewise.
5028 (MAX_CHAR_CYRILLIC): Likewise.
5030 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5032 * char-ucs.h (breakup_char_1): Use
5033 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5034 thai-tis620 and katakana-jisx0201 area.
5036 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5038 * char-ucs.h (breakup_char_1): Use
5039 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5042 * text-coding.c (reset_encoding_stream): Fixed.
5043 (char_encode_ucs4): Delete `& 255'.
5045 * char-ucs.h (breakup_char_1): Use
5046 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5048 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5050 * file-coding.c (Fmake_coding_system): Don't set up
5051 `codesys->fixed.size'.
5052 (encode_coding_no_conversion): Don't refer
5053 `str->codesys->fixed.size'.
5055 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5057 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5058 (latin_a_char_to_byte1): Deleted.
5059 (latin_a_char_to_byte2): Deleted.
5061 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5063 * mule-charset.c (make_charset): Add new argument `ucs_min',
5064 `ucs_max' and `code_offset'.
5065 (charset_get_byte1): New implementation [delete specific charset
5066 depended implementations].
5067 (Fmake_charset): Modify for `make_charset'.
5068 (Fmake_reverse_direction_charset): Likewise.
5069 (complex_vars_of_mule_charset): Likewise.
5071 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5073 (CHARSET_UCS_MIN): New macro.
5074 (CHARSET_UCS_MAX): New macro.
5075 (CHARSET_CODE_OFFSET): New macro.
5076 (MAKE_CHAR): Delete charset depended definitions [except
5079 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5081 * char-ucs.h (breakup_char_1): Use
5082 `Vdefault_coded_charset_priority_list' for C0-Controls,
5083 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5085 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5087 * char-ucs.h (charset_get_byte1): New function.
5088 (XCHARSET_GET_BYTE1): Deleted.
5089 (charset_get_byte2): New function.
5090 (XCHARSET_GET_BYTE2): Deleted.
5091 (Vdefault_coded_charset_priority_list): New external variable.
5092 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5093 `Vdefault_preferred_coded_charset_list'.
5095 * mule-charset.c (charset_get_byte1): New function.
5096 (charset_get_byte2): New function.
5097 (Vdefault_coded_charset_priority_list): New variable.
5098 (vars_of_mule_charset): Add new variable
5099 `default-coded-charset-priority-list'.
5101 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5103 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5104 (XCHARSET_GET_BYTE2): New inline function.
5105 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5106 `XCHARSET_GET_BYTE2'.
5108 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5110 * mule-charset.c (make_charset): Initialize
5111 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5112 NULL if table is not defined.
5114 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5116 * text-coding.c (char_encode_shift_jis): Use
5117 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5118 `ucs_to_latin_jisx0201'.
5120 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5121 (ucs_to_latin_iso8859_2): Deleted.
5122 (ucs_to_latin_iso8859_3): Deleted.
5123 (ucs_to_latin_iso8859_4): Deleted.
5124 (ucs_to_latin_iso8859_9): Deleted.
5125 (ucs_to_latin_viscii_lower): Deleted.
5126 (ucs_to_latin_viscii_upper): Deleted.
5127 (ucs_to_latin_tcvn5712): Deleted.
5128 (make_charset): Add new argument `decoding_table'; set up
5129 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5130 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5131 `decoding_table' is defined in UTF-2000.
5132 (Fmake_charset): Modify for `make_charset'.
5133 (Fmake_reverse_direction_charset): Likewise.
5134 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5135 and `GENERATE_96_SET'.
5137 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5138 (ucs_to_latin_jisx0201): Deleted.
5139 (latin_iso8859_2_to_ucs): Deleted.
5140 (ucs_to_latin_iso8859_2): Deleted.
5141 (latin_iso8859_3_to_ucs): Deleted.
5142 (ucs_to_latin_iso8859_3): Deleted.
5143 (latin_iso8859_4_to_ucs): Deleted.
5144 (ucs_to_latin_iso8859_4): Deleted.
5145 (latin_iso8859_9_to_ucs): Deleted.
5146 (ucs_to_latin_iso8859_9): Deleted.
5147 (latin_viscii_lower_to_ucs): Deleted.
5148 (ucs_to_latin_viscii_lower): Deleted.
5149 (latin_viscii_upper_to_ucs): Deleted.
5150 (ucs_to_latin_viscii_upper): Deleted.
5151 (struct Lisp_Charset): Renamed `encoding_table' to
5152 `to_byte1_table'; add `to_byte2_table'.
5153 (CHARSET_DECODING_TABLE): New macro.
5154 (CHARSET_TO_BYTE1_TABLE): New macro.
5155 (CHARSET_TO_BYTE2_TABLE): New macro.
5156 (XCHARSET_DECODING_TABLE): New macro.
5157 (XCHARSET_TO_BYTE1_TABLE): New macro.
5158 (XCHARSET_TO_BYTE2_TABLE): New macro.
5159 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5161 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5162 don't use `ucs_to_*' tables.
5164 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5166 * text-coding.c (Fmake_coding_system): Don't set up
5167 `codesys->fixed.size'.
5168 (encode_coding_no_conversion): Use `if' instead of `switch'.
5170 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5172 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5174 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5175 (Fmake_charset): Modify for `make_charset'.
5176 (Fmake_reverse_direction_charset): Likewise.
5177 (complex_vars_of_mule_charset): Likewise.
5179 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5181 * text-coding.c (char_encode_shift_jis): Use table
5182 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5184 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5186 * text-coding.c (text_encode_generic): Use `if' instead of
5188 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5191 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5193 * text-coding.c (encode_coding_sjis): Deleted.
5194 (char_encode_shift_jis): New function.
5195 (char_finish_shift_jis): New function.
5196 (reset_encoding_stream): Set up `encode_char' and `finish' for
5197 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5198 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5199 (char_encode_utf8): Treat `eol_type'.
5201 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5203 * file-coding.c (decode_coding_iso2022): Use
5204 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5206 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5208 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5211 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5213 * char-lb.h (CHAR_COLUMNS): New macro.
5215 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5217 * text-coding.c (char_encode_ucs4): New function.
5218 (char_finish_ucs4): New function.
5219 (encode_coding_ucs4): Deleted.
5220 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5221 (text_encode_generic): Delete local variable `charset' and `half'.
5222 (ucs_to_mule_table): Deleted.
5223 (mule_to_ucs_table): Deleted.
5224 (Fset_ucs_char): Deleted.
5225 (ucs_to_char): Deleted.
5226 (Fucs_char): Deleted.
5227 (Fset_char_ucs): Deleted.
5228 (Fchar_ucs): Deleted.
5229 (decode_ucs4): Deleted.
5230 (mule_char_to_ucs4): Deleted.
5231 (encode_ucs4): Deleted.
5232 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5233 (decode_coding_utf8): Likewise.
5234 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5235 (char_encode_iso2022): Fixed.
5236 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5237 `Fset_char_ucs' and `Fchar_ucs'.
5238 (complex_vars_of_file_coding): Don't initialize
5239 `ucs_to_mule_table'.
5241 * objects-tty.c (tty_initialize_font_instance): Don't use
5244 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5247 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5248 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5250 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5251 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5252 (emchar_string_displayed_columns): Likewise.
5254 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5255 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5256 (string_column_at_point): Likewise.
5257 (Fmove_to_column): Likewise.
5259 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5260 `encoding_table' and `decoding_table'.
5261 (CHARSET_REP_BYTES): Deleted.
5262 (XCHARSET_REP_BYTES): Deleted.
5263 (XCHARSET_COLUMNS): Deleted.
5264 (CHAR_COLUMNS): New macro.
5265 (lookup_composite_char): Deleted unconditionally.
5266 (composite_char_string): Likewise.
5268 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5270 * char-ucs.h (Emchar_to_byte_table): New type.
5271 (get_byte_from_character_table): New function interface.
5272 (Vcharset_latin_jisx0201): New variable.
5273 (latin_jisx0201_to_ucs): New variable.
5274 (ucs_to_latin_jisx0201): New variable.
5275 (Vcharset_latin_iso8859_2): New variable.
5276 (latin_iso8859_2_to_ucs): New variable.
5277 (ucs_to_latin_iso8859_2): New variable.
5278 (Vcharset_latin_iso8859_3): New variable.
5279 (latin_iso8859_3_to_ucs): New variable.
5280 (ucs_to_latin_iso8859_3): New variable.
5281 (Vcharset_latin_iso8859_4): New variable.
5282 (latin_iso8859_4_to_ucs): New variable.
5283 (ucs_to_latin_iso8859_4): New variable.
5284 (Vcharset_latin_iso8859_9): New variable.
5285 (latin_iso8859_9_to_ucs): New variable.
5286 (ucs_to_latin_iso8859_9): New variable.
5287 (Vcharset_latin_viscii_lower): New variable.
5288 (latin_viscii_lower_to_ucs): New variable.
5289 (ucs_to_latin_viscii_lower): New variable.
5290 (Vcharset_latin_viscii_upper): New variable.
5291 (latin_viscii_upper_to_ucs): New variable.
5292 (ucs_to_latin_viscii_upper): New variable.
5293 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5294 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5295 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5296 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5297 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5298 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5299 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5300 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5301 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5302 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5304 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5305 (Vcharset_latin_viscii_upper): New variable.
5306 (make_byte_from_character_table): New function.
5307 (put_byte_from_character_table): New function.
5308 (get_byte_from_character_table): New function.
5309 (CHAR96): New macro.
5310 (ucs_to_latin_jisx0201): New variable.
5311 (latin_jisx0201_to_ucs): New variable.
5312 (ucs_to_latin_iso8859_2): New variable.
5313 (latin_iso8859_2_to_ucs): New variable.
5314 (ucs_to_latin_iso8859_3): New variable.
5315 (latin_iso8859_3_to_ucs): New variable.
5316 (ucs_to_latin_iso8859_4): New variable.
5317 (latin_iso8859_4_to_ucs): New variable.
5318 (ucs_to_latin_iso8859_9): New variable.
5319 (latin_iso8859_9_to_ucs): New variable.
5320 (ucs_to_latin_viscii_lower): New variable.
5321 (latin_viscii_lower_to_ucs): New variable.
5322 (ucs_to_latin_viscii_upper): New variable.
5323 (latin_viscii_upper_to_ucs): New variable.
5324 (ucs_to_latin_tcvn5712): New variable.
5325 (latin_tcvn5712_to_ucs): New variable.
5326 (Qlatin_viscii_lower): New variable.
5327 (Qlatin_viscii_upper): New variable.
5328 (syms_of_mule_charset): Set up new symbol
5329 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5330 (complex_vars_of_mule_charset): Set up new charset
5331 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5332 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5333 `ucs_to_<CHARSET>' tables.
5335 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5337 * text-coding.c: New file.
5339 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5341 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5343 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5344 (MAKE_CHAR): Modify for `ucs-bmp'.
5345 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5346 non-MULE characters of BMP.
5348 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5350 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5353 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5356 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5357 - Include character.h for `CHAR_ASCII_P'.
5359 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5361 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5362 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5364 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5365 (BYTE_C0_P): Likewise.
5366 (BYTE_C1_P): Likewise.
5367 (Lstream_get_emchar_1): Likewise.
5368 (Lstream_fput_emchar): Likewise.
5369 (Lstream_funget_emchar): Likewise.
5370 (copy_internal_to_external): Likewise.
5371 (copy_external_to_internal): Likewise.
5373 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5374 (BYTE_C0_P): Likewise.
5375 (BYTE_C1_P): Likewise.
5376 (Lstream_get_emchar_1): Likewise.
5377 (Lstream_fput_emchar): Likewise.
5378 (Lstream_funget_emchar): Likewise.
5379 (copy_internal_to_external): Likewise.
5380 (copy_external_to_internal): Likewise.
5382 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5383 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5385 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5386 (BYTE_ASCII_P): Moved to mb-1byte.h.
5388 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5390 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5392 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5393 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5394 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5395 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5396 (VALIDATE_CHARPTR_FORWARD): Likewise.
5397 (simple_charptr_emchar): Moved to mb-multibyte.h.
5398 (simple_set_charptr_emchar): Likewise.
5399 (simple_charptr_copy_char): Likewise.
5400 (non_ascii_charptr_emchar): Likewise.
5401 (non_ascii_set_charptr_emchar): Likewise.
5402 (non_ascii_charptr_copy_char): Likewise.
5403 (charptr_emchar): Moved to mb-*byte.h.
5404 (set_charptr_emchar): Likewise.
5405 (charptr_copy_char): Likewise.
5407 * mb-1byte.h, mb-multibyte.h: New files.
5409 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5411 * mb-utf-8.h (MULTIBYTE): New macro.
5412 (MAX_EMCHAR_LEN): Moved from buffer.h.
5413 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5415 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5417 * mb-lb.h, multibyte.h: New files.
5419 * char-1byte.h (Charset_ID): Moved from buffer.h.
5420 (MIN_LEADING_BYTE): Likewise.
5421 (LEADING_BYTE_ASCII): Likewise.
5422 (NUM_LEADING_BYTES): Likewise.
5423 (CHARSETP): Likewise.
5424 (CHARSET_BY_LEADING_BYTE): Likewise.
5425 (XCHARSET_LEADING_BYTE): Likewise.
5426 (XCHARSET_GRAPHIC): Likewise.
5427 (XCHARSET_COLUMNS): Likewise.
5428 (XCHARSET_DIMENSION): Likewise.
5429 (CHAR_CHARSET): Likewise.
5430 (CHAR_LEADING_BYTE): Likewise.
5431 (BREAKUP_CHAR): Likewise.
5432 (Vcharset_ascii): Likewise.
5434 * buffer.h: Include multibyte.h unconditionally.
5435 (VALID_CHARPTR_P): Moved to multibyte.h.
5436 (ASSERT_VALID_CHARPTR): Likewise.
5437 (REAL_INC_CHARPTR): Likewise.
5438 (REAL_INC_CHARBYTIND): Likewise.
5439 (REAL_DEC_CHARPTR): Likewise.
5440 (INC_CHARPTR): Likewise.
5441 (INC_CHARBYTIND): Likewise.
5442 (DEC_CHARPTR): Likewise.
5443 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5444 (VALIDATE_CHARPTR_FORWARD): Likewise.
5445 (charptr_n_addr): Likewise.
5446 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5447 (simple_charptr_emchar): Moved to multibyte.h.
5448 (simple_set_charptr_emchar): Likewise.
5449 (simple_charptr_copy_char): Likewise.
5450 (non_ascii_charptr_emchar): Likewise.
5451 (non_ascii_set_charptr_emchar): Likewise.
5452 (non_ascii_charptr_copy_char): Likewise.
5453 (charptr_emchar): Likewise.
5454 (set_charptr_emchar): Likewise.
5455 (charptr_copy_char): Likewise.
5456 (charptr_emchar_n): Likewise.
5457 (Charset_ID): Moved to char-1byte.h.
5458 (Vcharset_ascii): Likewise.
5459 (CHAR_CHARSET): Likewise.
5460 (CHAR_LEADING_BYTE): Likewise.
5461 (LEADING_BYTE_ASCII): Likewise.
5462 (NUM_LEADING_BYTES): Likewise.
5463 (MIN_LEADING_BYTE): Likewise.
5464 (CHARSETP): Likewise.
5465 (CHARSET_BY_LEADING_BYTE): Likewise.
5466 (XCHARSET_LEADING_BYTE): Likewise.
5467 (XCHARSET_GRAPHIC): Likewise.
5468 (XCHARSET_COLUMNS): Likewise.
5469 (XCHARSET_DIMENSION): Likewise.
5470 (BREAKUP_CHAR): Likewise.
5472 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5474 * character.h: Add document about interface for characters.
5476 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5477 (MAKE_CHAR): Delete comment about
5478 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5479 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5480 (BREAKUP_CHAR): Modify name of arguments.
5481 (CHAR_CHARSET): Modify name of argument.
5483 * buffer.h: Delete document about Emchar accessors.
5485 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5487 * character.h (CHAR_INTP): Moved from buffer.h
5488 (CHAR_OR_CHAR_INTP): Likewise.
5489 (XCHAR_OR_CHAR_INT): Likewise.
5490 (CHECK_CHAR_COERCE_INT): Likewise.
5492 * buffer.h (CHAR_INTP): Moved to character.h
5493 (CHAR_OR_CHAR_INTP): Likewise.
5494 (XCHAR_OR_CHAR_INT): Likewise.
5495 (CHECK_CHAR_COERCE_INT): Likewise.
5497 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5500 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5501 - Include char-1byte.h, char-lb.h or char-ucs.h.
5503 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5505 * buffer.h: Include character unconditionally.
5506 (valid_char_p): Moved to char-*.h.
5507 (non_ascii_valid_char_p): Moved to char-lb.h.
5509 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5511 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5513 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5514 in UTF-2000 because it is not ported yet and not to use
5515 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5516 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5517 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5519 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5520 (CHAR_ASCII_P): Moved from character.h.
5522 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5523 (CHAR_ASCII_P): Likewise.
5524 (CHAR_FIELD1_MASK): Deleted.
5525 (CHAR_FIELD2_MASK): Deleted.
5526 (CHAR_FIELD3_MASK): Deleted.
5527 (MAX_CHAR_BASIC_LATIN): New macro.
5528 (CHAR_FIELD1): Deleted.
5529 (CHAR_FIELD2_INTERNAL): Deleted.
5530 (CHAR_FIELD3_INTERNAL): Deleted.
5531 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5532 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5533 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5534 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5535 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5536 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5537 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5538 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5539 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5540 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5541 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5542 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5543 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5544 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5545 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5546 (MIN_CHAR_COMPOSITION): Deleted.
5547 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5548 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5550 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5552 * buffer.h: Include mb-utf-8.h in UTF-2000.
5554 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5556 * mb-utf-8.h: New file.
5558 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5560 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5563 * mule-charset.h, buffer.h (Charset_ID): New type.
5565 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5567 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5568 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5569 instead of `MULE_CHAR_PRIVATE_OFFSET',
5570 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5571 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5572 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5574 * character.h (Vcharset_japanese_jisx0212): New variable
5577 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5579 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5580 (charset_by_attributes): Delete array about direction.
5581 (latin_a_char_to_charset): New variable in UTF-2000.
5582 (latin_a_char_to_byte1): New variable in UTF-2000.
5583 (latin_a_char_to_byte2): New variable in UTF-2000.
5584 (Qucs_bmp): New variable.
5585 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5587 (next_allocated_2_byte_leading_byte): Likewise.
5588 (non_ascii_set_charptr_emchar): Likewise.
5589 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5590 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5591 `charset_by_attributes'.
5592 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5593 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5594 and `CHARSET_BY_LEADING_BYTE'.
5595 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5596 `utf-2000-version' to `vars_of_mule_charset'.
5597 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5598 define `leading-code-private-11' in UTF-2000; move setting of
5599 `utf-2000-version' from `syms_of_mule_charset'.
5600 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5603 * character.h (Charset_ID): New type.
5604 (LEADING_BYTE_UCS_BMP): New macro.
5605 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5606 (CHARSET_ID_OFFSET_94): New macro.
5607 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5608 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5609 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5611 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5612 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5613 (CHARSET_ID_OFFSET_96): New macro.
5614 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5615 CHARSET_ID_OFFSET_96 and final-byte.
5616 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5617 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5618 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5619 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5620 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5621 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5622 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5623 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5624 (LEADING_BYTE_THAI_TIS620): Likewise.
5625 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5626 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5627 (CHARSET_ID_OFFSET_94x94): New macro.
5628 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5629 CHARSET_ID_OFFSET_94x94 and final-byte.
5630 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5631 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5632 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5633 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5634 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5635 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5636 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5637 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5638 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5639 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5640 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5641 (CHARSET_TYPE_128X128): New macro.
5642 (CHARSET_TYPE_256X256): New macro.
5643 (XCHARSET_PRIVATE_P): Delete unconditionally.
5644 (charset_by_attributes): Delete array about direction.
5645 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5646 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5647 (MIN_CHAR_94): New macro.
5648 (MAX_CHAR_94): New macro.
5649 (MIN_CHAR_96): New macro.
5650 (MAX_CHAR_96): New macro.
5651 (MIN_CHAR_94x94): New macro.
5652 (MAX_CHAR_94x94): New macro.
5653 (MIN_CHAR_96x96): New macro.
5654 (MAX_CHAR_96x96): New macro.
5655 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5656 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5657 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5659 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5660 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5661 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5662 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5663 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5664 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5665 `XCHARSET_LEADING_BYTE' to make code-point.
5666 (latin_a_char_to_charset): New variable.
5667 (latin_a_char_to_byte1): New variable.
5668 (latin_a_char_to_byte2): New variable.
5669 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5670 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5671 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5673 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5674 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5675 (find_charsets_in_emchar_string): Likewise.
5676 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5678 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5680 (decode_coding_iso2022): Likewise.
5682 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5685 * redisplay.c (redisplay_text_width_emchar_string): Use
5686 `Charset_ID' instead of `unsigned char'.
5687 (redisplay_frame_text_width_string): Likewise.
5689 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5692 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5693 instead of `unsigned char'.
5694 (face_cachel_charset_font_metric_info): Likewise.
5696 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5697 (get_non_ascii_char_table_value): Likewise.
5698 (get_char_table): Likewise.
5699 (put_char_table): Likewise.
5700 (map_over_other_charset): Likewise.
5701 (map_char_table): Likewise.
5703 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5704 instead of `unsigned char'.
5706 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5708 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5709 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5711 * mule-charset.c (leading_code_private_11): Don't define in
5714 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5715 in UTF-2000 because it is not ported yet and not to use
5716 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5718 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5720 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5722 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5724 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5727 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5728 of unsigned char to store leading-byte.
5730 * chartab.c (get_non_ascii_char_table_value): Don't use
5731 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5733 * file-coding.c (encode_coding_big5): Delete bogus implementation
5736 * character.h (LEADING_BYTE_*): Delete definition for
5738 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5739 (LEADING_BYTE_PREFIX_P): Deleted.
5740 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5741 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5742 (BUFBYTE_LEADING_BYTE_P): Deleted.
5743 (CHARSET_PRIVATE_P): Deleted unconditionally.
5744 (rep_bytes_by_first_byte): Deleted unconditionally.
5745 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5746 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5747 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5748 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5749 (CHAR_FIELD2): Deleted.
5750 (CHAR_FIELD3): Deleted.
5751 (MAKE_CHAR): Delete definition for non-UTF-2000.
5752 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5753 (breakup_char_1): New implementation.
5754 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5755 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5757 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5759 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5762 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5764 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5765 (CHARSET_PRIVATE_P): Likewise.
5766 (XCHARSET_PRIVATE_P): Likewise.
5767 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5769 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5771 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5773 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5775 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5776 (NUM_LEADING_BYTES): Changed from 128 to 256.
5777 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5778 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5780 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5782 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5784 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5785 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5786 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5787 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5788 (Qchinese_cns11643_3): New variable in UTF2000.
5789 (Qchinese_cns11643_4): New variable in UTF2000.
5790 (Qchinese_cns11643_5): New variable in UTF2000.
5791 (Qchinese_cns11643_6): New variable in UTF2000.
5792 (Qchinese_cns11643_7): New variable in UTF2000.
5793 (syms_of_mule_charset): Define `chinese-cns11643-3',
5794 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5795 and `chinese-cns11643-7' in UTF2000.
5796 (vars_of_mule_charset): Initialize
5797 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5799 (complex_vars_of_mule_charset): Setup charset
5800 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5801 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5803 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5805 * mule-charset.c: Move setting for `leading-code-private-11' from
5806 `syms_of_mule_charset' to `vars_of_mule_charset'.
5808 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5810 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5811 and `NUM_LEADING_BYTES' in assert.
5813 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5815 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5817 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5818 `NUM_LEADING_BYTES' instead of 128.
5820 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5822 * mule-charset.h (charset_by_leading_byte): Use
5823 `NUM_LEADING_BYTES' instead of 128.
5824 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5826 * mule-charset.c (charset_by_leading_byte): Use
5827 `NUM_LEADING_BYTES' instead of 128.
5828 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5830 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5833 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5835 * mule-charset.c (syms_of_mule_charset): Update to
5838 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5840 * file-coding.c (encode_coding_sjis): New implementation for
5841 UTF2000. (decode_coding_sjis): Ditto.
5843 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5845 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5846 Don't define in UTF2000.
5848 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5851 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5852 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5855 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5857 * config.h.in (CHAR_IS_UCS4): New macro.
5859 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5860 conventional MULE representation.
5861 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5863 * mule-charset.h: Reverted to original.
5865 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5866 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5867 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5869 * character.h: New file.
5871 * file-coding.c (Fmake_coding_system): Set 1 to
5872 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5874 (encode_coding_no_conversion): New implementation for UTF2000.
5876 * file-coding.h (struct Lisp_Coding_System): Add new member
5879 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5881 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5882 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5883 (encode_coding_iso2022): New implementation for UTF2000.
5885 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5887 * mule-canna.c (c2mu): New implementation for UTF2000.
5890 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5892 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5894 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5896 * file-coding.c (reset_encoding_stream): Set 0 to
5897 `str->iso2022.current_char_boundary' in UTF2000.
5898 (encode_utf8): Don't define in UTF2000.
5899 (encode_coding_utf8): New implementation for UTF-8 representation
5901 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5903 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5905 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5907 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5909 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5911 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5913 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5914 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5915 as UTF-8 in UTF2000.
5916 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5917 (non_ascii_valid_char_p): Don't define in UTF2000.
5918 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5919 (Lstream_get_emchar_1): Likewise.
5920 (utf-2000-version): New variable in UTF2000.
5922 * lread.c (read_escape): Add new reader `u'.
5924 * insdel.c (three_to_one_table): Don't define in UTF2000.
5925 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5926 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5928 (bytind_to_bufpos_func): Likewise.
5929 (buffer_mule_signal_inserted_region): Likewise.
5930 (vars_of_insdel): Don't initialize `three_to_one_table'.
5931 (init_buffer_text): Use `buf->text->mule_size' instead of
5932 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5935 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5936 UTF-8 representation in UTF2000.
5937 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5938 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5939 (decode_coding_iso2022): Don't define local variable `lb' in
5940 UTF2000; don't use LEADING_BYTE in UTF2000; use
5941 `DECODE_ADD_UCS_CHAR' in UTF2000.
5942 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5944 * config.h.in (UTF2000): New macro.
5946 * buffer.h (struct buffer_text): Add new member `mule_size' and
5947 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5948 (valid_char_p): Return always 1 in UTF2000.
5949 (MAX_EMCHAR_LEN): 6 in UTF2000.
5950 (three_to_one_table): Don't define in UTF2000.
5951 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5953 (real_bytind_to_bufpos): Likewise.
5955 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5957 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5959 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5960 representation change.
5961 (Vutf_2000_version): New variable.
5962 (leading_code_private_11): New variable.
5963 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5964 `leading-code-private-11'.
5966 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5967 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5968 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5969 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5970 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5971 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5972 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5973 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5974 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5975 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5976 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5977 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5978 (MIN_CHAR_GREEK): New macro.
5979 (MAX_CHAR_GREEK): New macro.
5980 (MIN_CHAR_CYRILLIC): New macro.
5981 (MAX_CHAR_CYRILLIC): New macro.
5982 (MIN_CHAR_HEBREW): New macro.
5983 (MAX_CHAR_HEBREW): New macro.
5984 (MIN_CHAR_THAI): New macro.
5985 (MAX_CHAR_THAI): New macro.
5986 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5987 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5988 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5989 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5990 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5991 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5992 (CHAR_FIELD2): New inline function.
5993 (CHAR_FIELD3): New inline function.
5994 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5995 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5996 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5997 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5998 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5999 (MIN_CHAR_COMPOSITION): Likewise.
6000 (CHAR_LEADING_BYTE): Modified for character representation change.
6001 (MAKE_CHAR): Likewise.
6003 * lisp.h (Vcharset_latin_iso8859_1): New variable.
6004 (Vcharset_greek_iso8859_7): Likewise.
6005 (Vcharset_cyrillic_iso8859_5): Likewise.
6006 (Vcharset_hebrew_iso8859_8): Likewise.
6007 (Vcharset_thai_tis620): Likewise.
6008 (Vcharset_katakana_jisx0201): Likewise.
6010 2008-12-28 Vin Shelton <acs@xemacs.org>
6012 * XEmacs 21.4.22 is released
6014 2008-12-27 Vin Shelton <acs@xemacs.org>
6016 * syswindows.h: Don't define wide character interfaces for Cygwin
6019 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6021 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6023 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6025 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6026 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6028 2008-12-25 Vin Shelton <acs@xemacs.org>
6030 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6031 By Julian Bradfield in
6032 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6034 * mule-ccl.c (ccl_driver):
6036 2007-10-07 Vin Shelton <acs@xemacs.org>
6038 * XEmacs 21.4.21 is released
6040 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6042 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6044 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6046 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6047 (png_instantiate): Initialize setjmp_buffer early, and avoid
6048 recursive entry to error handler.
6050 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6052 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6055 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6057 * event-Xt.c (x_reset_modifier_mapping):
6058 * event-gtk.c (gtk_reset_modifier_mapping):
6059 Zero out the device's modifier map once we've freed it, to prevent
6060 a double free on a re-entrant call.
6062 2007-05-17 Vin Shelton <acs@xemacs.org>
6064 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6065 64-bit linux. Patch from Hans de Graaff.
6067 2007-05-02 Vin Shelton <acs@xemacs.org>
6069 * dumper.c (pdump): Don't close pdump_fd (already closed by
6070 fclose() call. Patch from Steve Higham.
6071 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6072 already closed. Patch inspired by Steve Higham.
6074 2007-05-01 Vin Shelton <acs@xemacs.org>
6076 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6077 (mswindows_fstat): Ditto.
6078 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6080 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6082 * postgresql.c: Update Steve Baur's email address by his request.
6083 * postgresql.h: Ditto.
6085 2007-01-04 Vin Shelton <acs@xemacs.org>
6087 * fileio.c (check_writable): Check old-style readonly bit only for
6090 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6092 * src/fileio.c (check_writable):
6093 Cope with the fact that the read-only attribute trumps Windows NTFS
6097 2006-12-09 Vin Shelton <acs@xemacs.org>
6099 * XEmacs 21.4.20 is released
6101 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6103 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6104 relocated the definitions to be used sooner in file.
6105 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6106 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6109 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6111 * sound.c (init_native_sound):
6112 Only X11 and GTK devices can possibly not be on the console of the
6113 associated machine. Fixes a crash when init_native_sound is called
6114 on a msprinter device.
6116 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6118 * buffer.c (buffer-file-name): Document invariant.
6119 (buffer-file-truename): Sync wording to buffer-file-name.
6120 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6123 2006-11-19 Benson Margulies <benson@dchbk.us>
6125 * fileio.c: Add code to use full Win32 API to check for write
6126 access. Win32 has the general design policy that you aren't
6127 supposed to ask this question, since security checks change
6128 depending on asynchronous processes. Nonetheless, there is a way,
6129 by acting as if we are a server doing interpretive access
6132 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6134 * bytecode.c: Use xnew_array instead of alloca.
6136 2006-07-04 Vin Shelton <acs@xemacs.org>
6138 * redisplay-msw.c: Fix tiny, but crucial typo.
6140 2006-06-22 Jerry James <james@xemacs.org>
6142 * EmacsShell-sub.c (ChangeManaged):
6143 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6145 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6146 checking if it is NULL. Also fix a memory leak.
6147 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6148 dereference it, not the other way around.
6149 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6151 * dumper.c (pdump_register_struct): Ditto.
6152 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6153 to (short) warnpath overflow warnpath.
6154 * extents.c (detach_all_extents): Call extent_list_delete_all with
6155 a non-NULL parameter only.
6156 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6157 NULL width and height.
6158 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6159 xic before checking if they are NULL.
6160 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6162 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6163 * nas.c (Err): Fix a memory leak.
6164 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6165 Don't create the buffer if there is nothing to do.
6166 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6167 * redisplay-output.c (redisplay_output_layout): Ditto.
6168 * redisplay-tty.c (tty_output_display_block): Ditto.
6169 * redisplay-x.c (x_output_display_block): Ditto.
6170 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6171 dereference instance->scrollbar_data if it is NULL.
6172 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6173 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6174 for sb->scrollbar_data.
6175 * sound.c (init_native_sound): Avoid a buffer overflow by
6176 allocating a buffer with the appropriate size.
6178 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6180 * EmacsShell-sub.c (RootGeometryManager):
6181 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6182 Based on a suggestion by Francois L'Archeveque.
6184 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6186 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6187 current values found in GNU Emacs.
6189 2006-03-17 Vin Shelton <acs@xemacs.org>
6191 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6192 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6194 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6195 'hex_initialized' because it conflicts with 'initialized' in
6198 2006-01-28 Vin Shelton <acs@xemacs.org>
6200 * XEmacs 21.4.19 is released
6202 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6204 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6206 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6208 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6211 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6213 * database.c: Suppress compiler warning under Cygwin.
6214 * database.c: Removed __FreeBSD__ check, should be handled by
6215 HAVE_U_xxx_T defines.
6217 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6219 * console.c (stuff_buffered_input): Compile body only if
6222 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6224 * callproc.c: #include sysdir.h, so that any appropriate Mule
6225 magic happens with the chdir() call when calling a subprocess.
6227 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6229 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6230 * mule-ccl.c: Check that a character set exists before using it
6231 to create a character.
6233 2005-12-06 Vin Shelton <acs@xemacs.org>
6235 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6238 2005-12-03 Vin Shelton <acs@xemacs.org>
6240 * XEmacs 21.4.18 is released
6242 2005-11-27 Kean Johnston <kean@armory.com>
6244 * redisplay-tty.c (set_tty_modes):
6245 (reset_tty_modes): disable auto-margins if the terminal supports
6247 (init_tty_for_redisplay): fix cursor shape.
6249 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6251 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6252 for control-1 characters properly, both when reading multibyte
6253 characters and writing them.
6255 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6257 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6258 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6259 were seeing with incremental selection transfer failing.
6261 2005-11-26 Vin Shelton <acs@xemacs.org>
6263 * callproc.c (Fold_call_process_internal): Create the buffer if it
6264 does not already exist. The original patch came from Ben Wing in
6265 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6267 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6269 * callproc.c: Process-related docstring improvements spurred by
6272 2005-11-25 Vin Shelton <acs@xemacs.org>
6274 * depend: Regenerated.
6276 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6278 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6279 says it clashes with a global with the same name.
6281 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6283 * sysdll.c (dll_open): Under MacOS X return NULL under the
6284 filename is NULL. Fixes problems finding local symbols under 10.4
6287 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6289 * config.h.in: New HAVE_U_INT*_T defines.
6291 * database.c: Only use u_int*_t typedefs if not already
6294 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6296 * src/process-unix.c (unix_open_network_stream): moved
6297 'portbuf' buffer out of an inner block as it is used in the
6298 entire function. With gcc4, the stack may get corrupted
6299 after leaving this block. This patches adjusts the size of
6300 the used buffer also; static '128' bytes are far too much
6301 currently and might not suffice for future architectures
6302 (e.g. for 512 bit ones ;)). Instead of, use only the really
6303 required space (max octets * ln(256)/ln(10) chars + space
6304 for '\0' and the sign)
6306 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6308 * callproc.c: Include sysdir.h, so any necessary Mule processing
6309 is done on the current directory name before starting a new
6312 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6314 * chartab.c (Fchar_table_p):
6315 (Fget_range_char_table):
6318 Describe range representation and fix typo.
6320 2005-02-12 Vin Shelton <acs@xemacs.org>
6322 * emacs.c (shut_down_emacs): Advise users to send email to the
6323 xemacs-beta list instead of crashes@xemacs.org.
6325 2005-02-03 David Evers <extsw@appliedgenerics.com>
6327 * process-unix.c (unix_send_process): Flush the last chunk, even
6328 when the pipe is blocked.
6330 2005-02-06 Vin Shelton <acs@xemacs.org>
6332 * XEmacs 21.4.17 is released
6334 2005-01-31 Ben Wing <ben@xemacs.org>
6337 Define assert_failed() always.
6339 Always define ABORT().
6341 2005-01-25 Ben Wing <ben@xemacs.org>
6344 * Makefile.in.in (%.o):
6345 Don't compile executable as Windows (-mwindows) under Cygwin.
6346 Semi-recent changes to Cygwin's executable-startup handling make
6347 it impossible to access the TTY this way.
6349 Don't use special linker file under Cygwin (cygwin.sc) except
6350 when non-PDUMP (even in this case it is highly questionable); you
6353 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6354 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6356 2005-01-29 Ben Wing <ben@xemacs.org>
6358 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6360 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6362 2005-01-29 Ben Wing <ben@xemacs.org>
6364 * bytecode.c (optimize_compiled_function):
6366 * print.c (long_to_string):
6367 Add casts to avoid warning.
6370 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6371 #### The better solution is to move the TIFF and JPEG code to
6374 * glyphs-msw.c (mswindows_xbm_instantiate):
6375 Define __STDC__ to avoid problems with compface.h.
6377 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6379 * EmacsShell-sub.c (ABORT):
6380 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6381 * EmacsShell-sub.c (RootGeometryManager):
6383 * EmacsShell.c (ABORT):
6384 * EmacsShell.c (EmacsShellUpdateSizeHints):
6385 * alloc.c (free_lcrecord):
6386 * alloca.c (i00afunc):
6387 * buffer.c (delete_from_buffer_alist):
6388 * buffer.c (MARKED_SLOT):
6389 * bytecode.c (execute_rare_opcode):
6390 * bytecode.c (optimize_byte_code):
6391 * bytecode.c (Ffetch_bytecode):
6392 * chartab.c (char_table_type_to_symbol):
6393 * chartab.c (Freset_char_table):
6394 * chartab.c (decode_char_table_range):
6395 * chartab.c (Fget_range_char_table):
6396 * chartab.c (check_valid_char_table_value):
6397 * chartab.c (map_char_table):
6398 * chartab.c (slow_map_char_table_fun):
6399 * chartab.c (chartab_instantiate):
6400 * cm.c (cmcheckmagic):
6401 * console-msw.c (DHEADER):
6402 * console.c (MARKED_SLOT):
6403 * data.c (finish_marking_weak_lists):
6404 * data.c (encode_weak_list_type):
6405 * debug.h (DASSERT):
6406 * device-gtk.c (gtk_init_device):
6407 * device-msw.c (mswindows_get_default_margin):
6408 * device-tty.c (tty_init_device):
6409 * device-x.c (get_device_from_display):
6410 * device-x.c (x_get_visual_depth):
6411 * doprnt.c (parse_doprnt_spec):
6412 * doprnt.c (get_doprnt_args):
6413 * dumper.c (pdump_get_indirect_count):
6414 * dumper.c (pdump_register_sub):
6415 * dumper.c (pdump_register_object):
6416 * dumper.c (pdump_register_struct):
6417 * dumper.c (pdump_dump_data):
6418 * dumper.c (pdump_reloc_one):
6419 * elhash.c (print_hash_table):
6420 * elhash.c (make_standard_lisp_hash_table):
6421 * elhash.c (hash_table_instantiate):
6423 * emacs.c (Fforce_debugging_signal):
6424 * emacs.c (sort_args):
6426 * emacs.c (assert_failed):
6427 * eval.c (throw_or_bomb_out):
6428 * eval.c (signal_1):
6431 * event-Xt.c (emacs_Xt_mapping_action):
6432 * event-Xt.c (Xt_process_to_emacs_event):
6434 * event-stream.c (check_event_stream_ok):
6435 * event-stream.c (Fadd_timeout):
6436 * event-stream.c (Fadd_async_timeout):
6437 * event-stream.c (Fdiscard_input):
6438 * event-stream.c (execute_internal_event):
6439 * event-stream.c (Frecent_keys):
6440 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6441 * event-stream.c (lookup_command_event):
6442 * event-unixoid.c (poll_fds_for_input):
6444 * events.c (mark_event):
6445 * events.c (event_equal):
6446 * events.c (event_hash):
6447 * events.c (Fmake_event):
6448 * events.c (Fdeallocate_event):
6449 * events.c (event_chain_find_previous):
6450 * events.c (event_to_character):
6451 * events.c (format_event_object):
6452 * events.c (Fevent_type):
6453 * events.c (event_pixel_translation):
6454 * events.c (Fevent_properties):
6455 * extents.c (extent_in_region_p):
6456 * extents.c (print_extent):
6457 * extents.c (process_extents_for_insertion_mapper):
6458 * extents.c (report_extent_modification_mapper):
6459 * extents.c (glyph_layout_to_symbol):
6460 * faces.c (face_validate):
6461 * file-coding.c (eol_type_to_symbol):
6462 * file-coding.c (subsidiary_coding_system):
6463 * file-coding.c (Fcoding_system_type):
6464 * file-coding.c (Fcoding_system_property):
6465 * file-coding.c (mule_decode):
6466 * file-coding.c (mule_encode):
6467 * file-coding.c (encode_coding_ucs4):
6468 * file-coding.c (encode_coding_utf8):
6469 * file-coding.c (parse_iso2022_esc):
6470 * file-coding.c (encode_coding_iso2022):
6475 * fns.c (Fbase64_encode_region):
6476 * fns.c (Fbase64_encode_string):
6477 * fns.c (Fbase64_decode_region):
6478 * fns.c (Fbase64_decode_string):
6479 * font-lock.c (find_context):
6480 * font-lock.c (context_to_symbol):
6481 * frame-gtk.c (gtk_set_frame_pointer):
6482 * frame-gtk.c (gtk_update_frame_external_traits):
6483 * frame-x.c (x_wm_mark_shell_size_user_specified):
6484 * frame-x.c (x_wm_mark_shell_position_user_specified):
6485 * frame-x.c (x_wm_set_shell_iconic_p):
6486 * frame-x.c (x_wm_set_cell_size):
6487 * frame-x.c (x_wm_set_variable_size):
6488 * frame-x.c (x_wm_store_class_hints):
6489 * frame-x.c (x_wm_maybe_store_wm_command):
6490 * frame-x.c (x_initialize_frame_size):
6491 * frame-x.c (x_update_frame_external_traits):
6493 * frame.c (delete_frame_internal):
6494 * frame.c (mouse_pixel_position_1):
6495 * frame.c (change_frame_size_1):
6496 * free-hook.c (check_free):
6497 * free-hook.c (check_realloc):
6498 * free-hook.c (note_block_input):
6499 * free-hook.c (log_gcpro):
6500 * gccache-gtk.c (gc_cache_lookup):
6501 * glyphs-eimage.c (tiff_memory_write):
6502 * glyphs-gtk.c (gtk_finalize_image_instance):
6503 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6504 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6505 * glyphs-gtk.c (gtk_xpm_instantiate):
6506 * glyphs-gtk.c (gtk_unmap_subwindow):
6507 * glyphs-gtk.c (gtk_map_subwindow):
6508 * glyphs-gtk.c (gtk_button_redisplay):
6510 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6511 * glyphs-x.c (init_image_instance_from_xbm_inline):
6512 * glyphs-x.c (extract_xpm_color_names):
6513 * glyphs-x.c (x_xpm_instantiate):
6514 * glyphs.c (get_image_instantiator_governing_domain):
6515 * glyphs.c (print_image_instance):
6516 * glyphs.c (image_instance_equal):
6517 * glyphs.c (image_instance_hash):
6518 * glyphs.c (encode_image_instance_type):
6519 * glyphs.c (make_image_instance_1):
6520 * glyphs.c (inherit_instantiate):
6521 * glyphs.c (image_instantiate):
6522 * glyphs.c (allocate_glyph):
6523 * glyphs.c (Fglyph_type):
6524 * glyphs.c (redisplay_subwindow):
6525 * glyphs.c (display_table_entry):
6526 * gtk-glue.c (xemacs_list_to_gtklist):
6527 * gtk-glue.c (xemacs_gtklist_to_list):
6528 * gtk-glue.c (xemacs_list_to_array):
6529 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6530 * gutter.c (gutter_was_visible):
6531 * gutter.c (get_gutter_coords):
6532 * input-method-xlib.c (get_XIM_input):
6533 * insdel.c (bufpos_to_bytind_func):
6534 * insdel.c (bytind_to_bufpos_func):
6535 * insdel.c (move_gap):
6536 * intl.c (x_get_composed_input):
6537 * keymap.c (keymap_lookup_directly):
6538 * keymap.c (keymap_delete_inverse_internal):
6539 * keymap.c (ensure_meta_prefix_char_keymapp):
6540 * keymap.c (accessible_keymaps_mapper_1):
6541 * keymap.c (where_is_recursive_mapper):
6544 * lread.c (read_atom):
6545 * lstream.c (Lstream_delete):
6546 * lstream.c (make_lisp_buffer_stream_1):
6547 * macros.c (pop_kbd_macro_event):
6548 * malloc.c (malloc):
6550 * marker.c (bi_marker_position):
6551 * marker.c (set_bi_marker_position):
6552 * menubar-gtk.c (menu_descriptor_to_widget_1):
6553 * menubar-msw.c (prune_menubar):
6554 * menubar-x.c (set_frame_menubar):
6555 * mule-charset.c (get_unallocated_leading_byte):
6556 * mule-charset.h (CHAR_LEADING_BYTE):
6557 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6558 * nt.c (init_environment):
6559 * nt.c (generate_inode_val):
6560 * ntproc.c (delete_child):
6561 * ntproc.c (_sys_read_ahead):
6562 * ntproc.c (create_child):
6563 * objects.c (color_instantiate):
6564 * objects.c (font_instantiate):
6565 * objects.c (face_boolean_instantiate):
6566 * print.c (printing_major_badness):
6567 * process-nt.c (nt_send_process):
6568 * process-unix.c (unix_send_process):
6569 * process.c (get_process):
6570 * ralloc.c (obtain):
6571 * ralloc.c (relinquish):
6572 * ralloc.c (relocate_blocs):
6573 * ralloc.c (resize_bloc):
6574 * ralloc.c (r_alloc_free):
6575 * ralloc.c (r_re_alloc):
6576 * ralloc.c (r_alloc_thaw):
6577 * ralloc.c (init_ralloc):
6578 * ralloc.c (Free_Addr_Block):
6579 * ralloc.c (r_alloc):
6580 * redisplay-gtk.c (gtk_output_display_block):
6581 * redisplay-msw.c (mswindows_output_display_block):
6582 * redisplay-output.c (get_next_display_block):
6583 * redisplay-output.c (get_cursor_size_and_location):
6584 * redisplay-output.c (redisplay_output_layout):
6585 * redisplay-output.c (redisplay_clear_region):
6586 * redisplay-tty.c (tty_output_display_block):
6587 * redisplay-x.c (x_output_display_block):
6588 * redisplay.c (add_propagation_runes):
6589 * redisplay.c (add_glyph_rune):
6590 * redisplay.c (create_text_block):
6591 * redisplay.c (add_margin_runes):
6592 * redisplay.c (create_left_glyph_block):
6593 * redisplay.c (create_right_glyph_block):
6594 * redisplay.c (create_string_text_block):
6595 * redisplay.c (regenerate_window):
6596 * redisplay.c (REGEN_INC_FIND_START_END):
6597 * redisplay.c (redisplay_frame):
6598 * redisplay.c (point_in_line_start_cache):
6601 * regex.c (re_compile_fastmap):
6602 * regex.c (re_match_2_internal):
6603 * regex.c (regerror):
6604 * scrollbar-gtk.c (gtk_scrollbar_loop):
6605 * scrollbar-gtk.c (scrollbar_cb):
6606 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6607 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6608 * scrollbar-x.c (x_update_scrollbar_instance_status):
6609 * scrollbar-x.c (x_scrollbar_loop):
6610 * scrollbar-x.c (x_update_frame_scrollbars):
6611 * search.c (search_command):
6612 * search.c (Fmatch_data):
6613 * select-x.c (motif_clipboard_cb):
6614 * signal.c (interrupt_signal):
6615 * specifier.c (specifier_add_spec):
6616 * specifier.c (specifier_instance_from_inst_list):
6617 * specifier.c (specifier_instance):
6619 * specifier.h (struct specifier_methods):
6620 * strftime.c (add_num_time_t):
6621 * sunplay.c (init_device):
6622 * symbols.c (Fsetplist):
6623 * symbols.c (do_symval_forwarding):
6624 * symbols.c (store_symval_forwarding):
6626 * symbols.c (Fbuilt_in_variable_type):
6627 * symbols.c (decode_magic_handler_type):
6628 * symbols.c (handler_type_from_function_symbol):
6629 * syntax.c (update_syntax_cache):
6630 * sysdep.c (init_baud_rate):
6631 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6632 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6633 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6634 * toolbar.c (get_toolbar_coords):
6635 * ui-gtk.c (build_gtk_boxed):
6636 * ui-gtk.c (describe_gtk_arg):
6637 * ui-gtk.c (gtk_type_to_lisp):
6638 * ui-gtk.c (lisp_to_gtk_type):
6639 * ui-gtk.c (lisp_to_gtk_ret_type):
6640 * ui-gtk.c (lisp_to_flag):
6641 * unexnt.c (read_in_bss):
6642 * unexnt.c (map_in_heap):
6643 * window.c (real_window):
6644 * window.c (window_display_lines):
6645 * window.c (window_display_buffer):
6646 * window.c (set_window_display_buffer):
6647 * window.c (window_modeline_height):
6648 * window.c (unshow_buffer):
6649 * window.c (window_loop):
6650 * window.c (Fget_lru_window):
6651 * window.c (Fsplit_window):
6652 * window.c (Fset_window_configuration):
6653 * window.c (saved_window_index):
6654 * xgccache.c (gc_cache_lookup):
6655 abort() -> ABORT(). Eliminate preprocessor games with abort()
6656 since it creates huge problems in VC7, solvable only by including
6657 massive amounts of files in every compile (and not worth it).
6661 Inclusion of process.h does not need to be before lisp.h any more.
6662 Move later and remove comment about abort().
6664 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6666 * regex.c (re_match_2_internal):
6667 Correctly initialize loop which clears uninitialized registers.
6669 2005-01-28 Vin Shelton <acs@xemacs.org>
6671 * sheap.c (more_static_core): Applied Ben's version of the long
6674 2005-01-24 Vin Shelton <acs@xemacs.org>
6676 * sheap.c (more_static_core): Reformatted printf string so
6677 gcc-3.3.3 will compile this on Cygwin.
6679 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6681 * console.c (function_key_map): Reference `key-binding'.
6683 * keymap.c (Vkey_translation_map): Improve docstring.
6685 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6687 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6688 * window.c (window_loop): [fix] Take into account
6689 `allow-deletion-of-last-visible-frame' variable.
6690 * window.c (replace-buffer-in-windows): Ditto.
6692 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6694 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6696 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6698 * event-gtk.c: Recognise AltGr as a valid modifier.
6700 2005-01-12 Ville Skyttä <scop@xemacs.org>
6702 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6704 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6706 Fix backreference bug caught by test suite.
6708 * regex.c (regex_compile):
6709 Make backref duplicate internal register.
6711 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6713 Documentation, code clarification, and warning suppression.
6715 * regex.c (regex_compile):
6717 (re_match_2_internal):
6718 Improve comments and avoid redundant braces. [Most of the big hunk
6719 at l. 4710 is indentation; use diff -w to see the real changes.]
6720 (alt_match_null_string_p):
6721 (common_op_match_null_string_p):
6722 Avoid shadowing global on Mac OS X 10.4, at least.
6724 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6726 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6727 introduced with shy groups fix). [Already applied, probably
6728 with the second "fix shy groups" patch of 2004-10-07.]
6730 2005-01-10 Steve Youngs <steve@sxemacs.org>
6732 From Andrey Slusar <anrays@gmail.com>:
6734 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6736 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6738 * Makefile (RECURSIVE_MAKE): Removed.
6739 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6740 handling parallel builds.
6742 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6744 * Makefile.in.in: Enable support for parallel builds.
6746 2005-01-09 Steve Youngs <steve@sxemacs.org>
6748 From Andrey Slusar <anrays@gmail.com>:
6750 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6751 FreeBSD version is >= 199701 _and_ < 600006.
6753 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6755 * scrollbar.c (compute_scrollbar_instance_usage):
6756 Only call device method compute_scrollbar_instance_usage() if it
6759 2004-12-05 Vin Shelton <acs@xemacs.org>
6761 * XEmacs 21.4.16 is released
6763 2004-12-04 Vin Shelton <acs@xemacs.org>
6765 * depend: Regenerated.
6767 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6769 * regex.c (re_match_2_internal): Map internal to external
6770 registers. Fixes bug identified by Steve Youngs 2004-09-30
6771 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6773 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6775 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6776 to fix a crash. Also, check the buffer is live and it
6777 really exists in buffer_list. If the buffer is not in the list,
6780 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6782 Fix shy groups by implementing recording of all groups for
6783 repetition and backtracking. Backport from 21.5.
6785 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6786 external_to_internal_register, external_to_internal_register_size,
6787 and update comments for re_nsub.
6789 * regex.c (re_opcode_t): Update comments.
6790 (print_compiled_pattern): Ouput external_to_internal_register,
6791 external_to_internal_register_size, and re_ngroups for debugging.
6792 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6793 (regex_compile): Update header comment.
6794 Ensure that all groups are recorded so that repeat matches and
6795 backtracking work correctly. Comment related warning for groups >
6797 (re_search_2): Construct map of API indexes (which count only
6798 nonshy groups) to internal register numbers, and keep it updated.
6800 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6802 * frame-gtk.c (gtk_make_frame_visible):
6803 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6804 show/hide. This is what X uses and is prevents previously hidden
6805 widgets from suddenly reappearing.
6806 * gtk-xemacs.c (gtk_xemacs_paint):
6807 * gtk-xemacs.c (gtk_xemacs_draw):
6808 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6810 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6811 size and location changes so that they can be seen before the next
6812 idle event. Without this rapid changes to scrollbar properties
6815 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6818 * console-gtk.h (struct gtk_frame):
6819 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6820 Add hash tables track tab_control callback data.
6821 Added #defines for GTK object data names.
6822 Declaration of gtk_widget_to_frame().
6823 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6824 * frame-gtk.c (gtk_widget_to_frame): New.
6825 * frame-gtk.c (gtk_create_widgets):
6826 * frame-gtk.c (allocate_gtk_frame_struct):
6827 * frame-gtk.c (gtk_mark_frame):
6828 Manage frame callbakc hash tables.
6829 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6830 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6831 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6833 * glyphs-gtk.c (gtk_widget_query_geometry): New
6834 * glyphs-gtk.c (gtk_register_gui_item): New
6835 * glyphs-gtk.c (gtk_add_tab_item): New
6836 * glyphs-gtk.c (gtk_tab_control_callback): New
6837 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6838 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6839 Use correct list when loading item.
6840 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6841 Register new methods.
6842 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6843 default size, for widgets.
6844 * gui-x.c: Improved comment.
6845 * menubar-gtk.c (__generic_button_callback): Use
6846 gtk_widget_to_frame instead of __get_channel.
6848 * ui-gtk.c: Use symbolic names for GTK object data.
6850 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6852 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6854 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6856 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6858 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6860 * malloc.c (morecore): siz is a long because in some architectures
6861 (eg ia-64) an int cannot hold the address range. Additional patch
6862 from the SuSe distribution.
6864 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6867 * malloc.c: lim_data is a long because in some architectures
6868 (eg ia-64) an int cannot hold the address range.
6869 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6870 instead of ulimit() because ulimit() always returns -1.
6872 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6874 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6876 2004-06-11 David Kastrup <dak@gnu.org>
6878 * search.c (match_limit): Don't flag an error if match-data
6879 exceeding the allocated search_regs.num_regs gets requested, just
6882 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6884 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6885 replace symbolic color entries with the real colors specified in
6886 xpm-color-symbols, before passing the XPM to gtk.
6887 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6888 instead of a GTK specific field, so that it is used in by generic
6891 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6893 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6894 coredump from deref of NULL ptr (ExtData)
6896 2004-04-19 Jerry James <james@xemacs.org>
6898 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6899 VALBITS to compute the location of the sign bit.
6900 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6901 of VALBITS with EMACS_INT_MAX.
6902 * events.c (Fevent_timestamp): Ditto.
6903 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6904 compute the halfway point to timestamp wraparound.
6905 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6906 EMACS_INT_MIN instead of using VALBITS.
6907 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6908 incorrect number with VALBITS.
6909 * fns.c (Frandom): Correct number of integer bits in docstring.
6910 Use INT_VALBITS instead of VALBITS to compute the denominator.
6911 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6912 build random numbers.
6914 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6916 * event-gtk.c (gtk_event_to_emacs_event):
6918 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6919 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6920 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6921 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6922 * menubar-gtk.c (__activate_menu):
6923 * menubar-gtk.c (convert_underscores):
6924 * menubar-gtk.c (remove_underscores):
6925 * menubar-gtk.c (menu_convert):
6926 * menubar-gtk.c (menu_descriptor_to_widget_1):
6927 * menubar-gtk.c (menu_descriptor_to_widget):
6928 * menubar-gtk.c (menu_can_reuse_widget):
6929 * menubar-gtk.c (menu_create_menubar):
6930 * menubar-gtk.c (gtk_popup_menu):
6931 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6932 Added support for Gtk menu bar and menu item mnemonics.
6934 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6936 * sysdll.c: (dll_function): Added support for finding symbols in
6937 Darwin shared libraries as well in Darwin bundles.
6938 * sysdll.c (image_for_address): New
6939 * sysdll.c (my_find_image): New
6940 * sysdll.c (search_linked_libs): New
6942 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6944 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6945 return to GTK requires a different API to marshalling data to use
6947 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6949 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6951 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6953 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6955 * glyphs.c (process_image_string_instantiator):
6956 (Fset_console_type_image_conversion_list):
6957 Stop GCC from warning about shadowing of `exp'.
6959 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6961 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6963 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6965 2004-02-03 Vin Shelton <acs@xemacs.org>
6967 * glyphs.c (image_instance_layout): Remove pointless assertion.
6968 * regex.c (regex_grow_registers): Return type is void.
6970 2004-02-02 Vin Shelton <acs@xemacs.org>
6972 * XEmacs 21.4.15 is released
6974 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6976 * device-x.c (x_error_handler): Don't call stderr_out
6978 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6980 * buffer.c (other-buffer): Clarify documentation of order of
6981 arguments for FSF Emacs.
6983 2003-10-11 Olivier Galibert <galibert@pobox.com>
6985 * window.c (Fdelete_window): Dirty the mirror structure _before_
6986 marking the window deleted.
6988 2003-09-15 Jerry James <james@xemacs.org>
6990 * event-msw.c (debug_mswin_messages): Conditionally compile
6991 messages missing from the Cygwin headers.
6993 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6995 * data.c (eq_with_ebola_notice): Fix typo in comment.
6996 (Ftrue_list_p): Improve docstring.
6998 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
7000 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
7002 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
7004 * search.c (trivial_regexp_p): Regexps containing "\{" are
7005 nontrivial. Thanks to Manfred Bartz for reporting the bug and
7006 Stefan Monnier for suggesting a diagnosis.
7008 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
7010 * elhash.c (make-hash-table): Clarify use of :test #'equal.
7012 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
7014 * search.c (Fsearch_forward):
7016 Document negative count.
7018 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7020 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7022 2003-09-13 Martin Buchholz <martin@xemacs.org>
7024 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7026 2003-09-15 Vin Shelton <acs@xemacs.org>
7028 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7031 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7033 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7034 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7035 (re_match_2_internal): Use TRANSLATE instead of
7036 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7037 non-ASCII char case conversion.
7039 2003-09-08 Mike Sperber <mike@xemacs.org>
7041 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7042 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7044 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7046 * .gdbinit (pobj): fix printing of symbol name.
7048 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7050 * frame-x.c (x_layout_widgets): When resizing is about to cause
7051 frame size slip, mark it for redisplay.
7053 2003-08-18 Jerry James <james@xemacs.org>
7055 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7057 2003-09-03 Vin Shelton <acs@xemacs.org>
7059 * XEmacs 21.4.14 is released
7061 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7063 * config.h.in (REGEX_MALLOC): Make it configure'able.
7065 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7067 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7069 * sysdll.c (dll_init):
7070 * sysdll.c (dll_open):
7071 * sysdll.c (dll_close):
7072 * sysdll.c (dll_function):
7073 * sysdll.c (dll_variable):
7074 * sysdll.c (dll_error):
7075 Add support for loading bundles using Darwin/MacOSX
7078 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7080 * process.c (start-process-internal): Document coding systems.
7082 2003-07-30 Jerry James <james@xemacs.org>
7084 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7086 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7088 * event-msw.c (mswindows_enqueue_mouse_button_event):
7089 * event-msw.c (mswindows_wnd_proc):
7090 enqueue button event when scrollwheel event isn't handled by
7091 mswindows_handle_mousewheel_event, such as when the scrollbars
7094 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7096 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7098 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7100 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7102 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7104 * regex.c (re_match_2_internal): Fix matching degenerate word
7107 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7109 * XEmacs 21.4.13 is released
7111 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7113 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7114 * lisp.h (<inttypes.h>):
7115 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7118 2003-03-15 Martin Buchholz <martin@xemacs.org>
7120 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7121 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7122 Result: "temacs can only be run in -batch mode."
7123 Fix: Check xemacs executable candidate for directory-ness.
7125 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7127 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7128 they conflict with <sys/types.h>.
7130 2003-02-14 Martin Buchholz <martin@xemacs.org>
7132 * database.c: Berkeley DB wants __STDC__ to be defined.
7134 2003-02-13 Martin Buchholz <martin@xemacs.org>
7136 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7138 2003-02-01 Martin Buchholz <martin@xemacs.org>
7140 * process-unix.c (unix_send_process): Fix C++ compile error.
7142 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7144 * Added .dylib as an acceptable shared library file extension
7145 * to support MacOSX.
7147 2003-02-01 Martin Buchholz <martin@xemacs.org>
7149 * EmacsFrameP.h (EmacsFramePart):
7150 Kludge to allow compiling with Motif1, but linking with Motif2.
7152 2003-01-28 Martin Buchholz <martin@xemacs.org>
7154 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7157 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7159 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7161 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7163 * sysdll.c: Included lisp.h to define needed alloca_array.
7165 2003-02-13 Martin Buchholz <martin@xemacs.org>
7167 Make XEmacs redisplay 10 times faster.
7168 If, that is, you're using a slow X connection and MoveOpaque.
7169 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7170 Use compress_motion = TRUE.
7171 * EmacsFrame.c (emacsFrameClassRec):
7172 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7173 * EmacsManager.c (emacsManagerClassRec):
7174 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7176 2003-01-30 Vin Shelton <acs@xemacs.org>
7178 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7180 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7182 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7183 Patch by Martin Buchholz.
7185 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7187 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7188 Thanks to icc for warning and Martin Buchholz for reporting.
7190 2003-01-29 Vin Shelton <acs@xemacs.org>
7192 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7194 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7195 remember to multiply by the element size.
7197 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7199 * XEmacs 21.4.12 "Portable Code" is released.
7201 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7203 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7204 * s/cygwin.sc: new linker file.
7206 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7208 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7210 * redisplay-x.c (x_output_string): Use X11-specified types.
7211 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7212 * emacs.c (__free_hook): Use typeof with Intel compiler.
7213 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7215 2003-01-08 Andy Piper <andy@xemacs.org>
7217 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7218 reserve size during unexec().
7220 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7222 * process-unix.c (unix_create_process): Don't let outchannel block.
7224 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7226 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7227 Needed for IsBadReadPtr().
7229 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7231 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7233 2002-12-14 Ben Wing <ben@xemacs.org>
7235 * callint.c: Declaration error.
7237 * dumper.c (pdump_load): Warning fix.
7238 * process.c: GCPRO error.
7239 * glyphs.c (unmap_subwindow):
7240 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7241 * event-stream.c (maybe_kbd_translate): Wrong argument to
7242 character_to_event().
7244 * alloc.c (garbage_collect_1):
7246 * emacs.c (debug_can_access_memory):
7247 * emacs.c (fatal_error_signal):
7248 * emacs.c (mswindows_handle_hardware_exceptions):
7251 * emacs.c (assert_failed):
7252 * emacs.c (syms_of_emacs):
7255 * print.c (std_handle_out_va):
7256 * print.c (write_string_to_stdio_stream):
7257 * print.c (write_fmt_string):
7258 * print.c (printing_badness):
7259 * print.c (printing_major_badness):
7260 * print.c (print_internal):
7261 * print.c (debug_print_no_newline):
7262 * print.c (debug_backtrace):
7263 Be more defensive in handling bad values when printing. Add code
7264 from trunk involving inhibit_non_essential_printing_operations.
7265 When going down or in debug_print(), don't do external conversion
7266 and such and try really, really hard when printing to avoid core
7267 dumping. Add force-debugging-signal, debug_break().
7269 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7271 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7272 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7274 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7276 * database.c: Fix open_database. Berkeley DB API has changed in
7277 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7279 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7281 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7283 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7285 * event-Xt.c (Xt_timeout):
7286 (Xt_timeout_callback):
7287 (emacs_Xt_add_timeout):
7288 (emacs_Xt_remove_timeout):
7289 (Xt_timeout_to_emacs_event):
7290 Turn completed_timeouts from a stack into a queue. Fixes
7291 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7293 2002-11-07 Wolfram Gloger <wg@malloc.de>
7295 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7296 * emacs.c (main): Assert that mmap'd allocation is disabled.
7298 2002-10-14 Andy Piper <andy@xemacs.org>
7300 * glyphs-widget.c (layout_query_geometry): add in fiddle
7301 factor. Include border text in width layout calculation.
7302 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7304 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7306 * XEmacs 21.4.10 "Military Intelligence" is released.
7308 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7310 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7311 using the NAS private array SoundFileInfo that no longer exists in
7312 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7313 and earlier. This is broken for some versions between 1.5a and
7316 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7318 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7320 * emacs.c (shut_down_emacs): Improve crash message.
7322 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7324 * file-coding.c (determine_real_coding_system): Check for coding
7325 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7326 shebangs and Python PEP 263.
7328 2002-10-08 Andy Piper <andy@xemacs.org>
7330 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7331 if static sizes haven't been set.
7333 2002-08-30 Mike Alexander <mta@arbortext.com>
7335 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7338 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7340 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7342 2002-09-20 Mike Sperber <mike@xemacs.org>
7344 (This partially gets back my patch from 2002-07-20 without the
7346 * callproc.c (child_setup): Remove Ben's comment noting confusion
7347 over the file descriptors >= 3: close_process_descs() doesn't
7348 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7349 * process-unix.c (unix_create_process): Call
7350 begin_dont_check_for_quit to inhibit unwanted interaction (and
7351 thus breaking of X event synchronicity) in the child.
7353 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7355 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7358 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7360 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7361 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7362 the xemacs process did not exit, but looped infinitely here. This
7365 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7367 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7368 (find_context): Improve comments.
7370 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7371 (re_match_2): An XCHAR_TABLE operation was missing.
7373 Many of the following changes were inspired by Andy Piper's (now
7374 obsolete) patch to make syntax-table text property lookup optional.
7378 * syntax.h (top level): Document semantics of syntax flags.
7379 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7380 * syntax.c, syntax.h (top level): Document syntax cache better in
7383 [Instrument syntax caching (temporary change)]
7385 * syntax.h (enum syntax_cache_statistics_functions, struct
7386 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7387 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7388 * syntax.c (scan_words, Fforward_comment, scan_lists,
7389 Fbackward_prefix_characters):
7390 * font-lock.c (find_context):
7391 Use them to instrument syntax caching.
7392 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7393 syntax_cache_statistics_function_names): New type and variables.
7394 * syntax.c (update_syntax_cache): Update and report statistics.
7396 [Major syntax cache optimizations]
7398 syntax.c (lookup_syntax_properties): Default off.
7400 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7401 * syntax.c (update_syntax_cache):
7402 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7404 [Minor syntax cache optimizations and code clarifications]
7406 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7407 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7408 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7409 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7410 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7411 (Code clarification.)
7413 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7414 scan_lists): Compute code from syncode, use Boolean macros instead
7415 of redundant masking operations. (Code clarification; any decent
7416 compiler can do this optimization.)
7418 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7421 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7422 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7423 use F*_single_property_change instead of F*_extent_change.
7424 Currently F*_single_property_change is _much_ less efficient.
7426 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7427 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7428 syntax_cache.object properly, don't leave Qt or Qnil.
7429 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7430 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7431 tests for Qt or Qnil.
7433 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7435 * redisplay.c (point_in_line_start_cache):
7436 * extents.c (print_extent_1):
7439 * extents.c (Fset_extent_property): Document `syntax-table' property.
7441 * extents.h (Fnext_single_property_change): EXFUN it.
7443 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7445 * search.c (clear_unused_search_regs): New static function.
7449 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7450 Minor clarifications in comments.
7452 * regex.c (re_match_2_internal): Ensure no stale submatches.
7454 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7456 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7458 2002-08-29 Jerry James <james@xemacs.org>
7460 * lisp.h: structrures -> structures.
7462 2002-06-03 Andy Piper <andy@xemacs.org>
7464 * frame.c (frame_conversion_internal): add conversion appropriate
7465 for setting frame dimensions in pixels.
7467 * console.h (struct console_methods): add device-specific widget
7470 * emacs.c (main_1): initialize glyph vars.
7472 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7473 (handle_focus_event_2): new function. Allow focus to
7474 be set to a particular window and widget.
7475 (enqueue_focus_event): new function. Create a
7476 synthetic focus event.
7477 (emacs_Xt_handle_magic_event): call
7478 handle_focus_event_2.
7480 * frame.c (Fset_frame_pixel_height): new function. Allow
7481 pixel-based sizing. Does the right thing on character-oriented
7483 (Fset_frame_pixel_width): ditto.
7484 (Fset_frame_pixel_size): ditto.
7485 (syms_of_frame): declare.
7487 * general-slots.h: add :vertically-justify and
7488 :horizontally-justify.
7490 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7491 (mswindows_widget_border_width): new function.
7492 (mswindows_combo_box_instantiate): set border widths.
7493 (console_type_create_glyphs_mswindows): declare.
7496 (check_valid_justification): allow vertical and horizontal
7498 (widget_border_width): new function. Call device methods.
7499 (widget_instance_border_width): ditto.
7500 (logical_unit_height): new function. Determine the height of a
7501 logical-unit. Logical units are intended to provide grid-like
7502 layout for subcontrols in a layout. If the layout is
7503 :vertically-justify top then subcontrols will be positioned on
7504 logical-unit boundaries, thus allowing adjacent subcontrols to
7506 (widget_logical_unit_height): ditto for widgets.
7507 (redisplay_widget): misc cleanup.
7508 (widget_spacing): new function. Call device specific
7509 methods. Intended to be the default gap between adjacent widgets.
7510 (widget_query_geometry): use new spacing functions to determine
7511 appropriate geometry.
7512 (initialize_widget_image_instance): initialize horizontal and
7513 vertical justification.
7514 (widget_instantiate): use logica-units where appropriate for
7515 sizing large widgets.
7516 (button_query_geometry): use widget_instance_border_width.
7517 (tree_view_query_geometry): ditto.
7518 (tab_control_query_geometry): ditto.
7519 (edit_field_query_geometry): new function.
7520 (layout_update): pick up :justify, :horizontally-justify and
7521 :vertically-justify none of which worked previously. :justify is
7522 used as a fallback for both horizontal and vertical justification.
7523 (layout_query_geometry): use logical units to size appropriately.
7524 (layout_layout): ditto.
7525 (Fwidget_logical_to_character_width): new function. Allow users to
7526 convert from logical units to characters so that frame sizes can
7527 be set appropriately.
7528 (Fwidget_logical_to_character_height): ditto.
7529 (syms_of_glyphs_widget): declare.
7530 (image_instantiator_edit_fields): add edit_field_query_geometry.
7531 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7532 :horizontally-justify.
7533 (specifier_vars_of_glyphs_widget): new function. Declare
7534 Vwidget_border_width which is not yet used.
7536 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7537 (x_widget_border_width): new function.
7538 (x_widget_instantiate): create a sensible name for widgets.
7539 (console_type_create_glyphs_x): declare x_widget_border_width.
7541 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7542 (struct Lisp_Image_Instance): add :vertically-justify and
7543 :horizontally-justify.
7544 (LAYOUT_JUSTIFY_TOP): new.
7545 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7546 (ROUND_UP): new macro. Round argument up to next integral
7549 * redisplay-output.c (redisplay_output_layout): misc formatting.
7551 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7553 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7555 * XEmacs 21.4.9 "Informed Management" is released.
7557 2002-08-19 Andy Piper <andy@xemacs.org>
7559 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7562 * realpath.c (xrealpath): normalize drive spec also so that dir
7563 sep chars are not mixed on cygwin.
7565 2002-08-06 Jerry James <james@xemacs.org>
7567 * window.c (Fsplit_window): Count only half of the divider width
7568 against the left window when splitting horizontally.
7570 2002-06-24 Andy Piper <andy@xemacs.org>
7572 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7573 toolbar was cleared.
7575 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7576 function. Split out from mswindows_output_frame_toolbars.
7577 (mswindows_output_frame_toolbars): move clear pieces to
7578 mswindows_output_frame_toolbars.
7580 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7581 out from gtk_output_frame_toolbars.
7582 (gtk_output_frame_toolbars): move clear pieces to
7583 gtk_clear_frame_toolbars.
7585 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7586 the frame is cleared. How this ever worked before is a mystery.
7587 (x_output_frame_toolbars): Only output toolbars.
7588 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7590 * gutter.c (update_gutter_geometry):
7591 Mark frame layout changed.
7592 (update_frame_gutter_geometry, update_frame_gutters):
7593 Respect frame_layout_changed.
7595 * console.h (struct console_methods): add
7596 clear_frame_toolbars_method.
7598 * redisplay.c (redisplay_frame): call
7599 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7601 * toolbar.h: declare update_frame_toolbars_geometry.
7603 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7604 out from update_frame_toolbars. Call clear_frame_toolbars.
7605 (update_frame_toolbars): only output, do not change geometry.
7607 * redisplay.c: add frame_layout_changed.
7609 * redisplay.h: add frame_layout_changed.
7610 (CLASS_RESET_CHANGED_FLAGS): set it.
7611 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7612 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7613 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7615 * device.h (struct device): add frame_layout_changed.
7616 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7618 * frame.h (struct frame): add frame_layout_changed.
7619 (MARK_FRAME_LAYOUT_CHANGED): new.
7621 2002-06-30 Mike Alexander <mta@arbortext.com>
7623 * event-msw.c (mswindows_need_event): Don't wait for a new message
7624 if the queue is not empty. Suggested by Paul Moore.
7626 2002-06-12 Andy Piper <andy@xemacs.org>
7628 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7629 for printing on accurately.
7631 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7633 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7634 WM_ACTIVATE message. Make sure that the frame is visible if the
7635 window is visible. This seemss to fix the problem where XEmacs
7636 appears to freeze after switching desktops with certain virtual
7638 (debug_output_mswin_message): Added code to output message
7639 parameters for WM_WINDOWPOSCHANGED,
7640 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7642 2002-05-25 Andy Piper <andy@xemacs.org>
7644 * select-x.c (vars_of_select_x): Fix docstring of
7645 x-selection-strict-motif-ownership
7647 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7649 * keymap.c (get_keymap):
7650 Add comment about do_autoload GCPROs own args.
7652 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7654 * bytecode.c (execute_optimized_program): check_opcode ifdef
7655 ERROR_CHECK_BYTE_CODE.
7657 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7659 Thanks to Ben Wing and Michael Sperber.
7661 * eval.c (Fcommand_execute):
7664 (Fmacroexpand_internal):
7665 (function_argcount):
7666 callint.c (Fcall_interactively):
7667 Add comment about do_autoload GCPROs own args.
7669 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7671 * eval.c (Ffuncall): Extra braces to placate GCC.
7673 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7675 * backtrace.h (grow_specpdl):
7677 * EmacsFrame.c (EmacsFrameSetValues):
7678 * eval.c (grow_specpdl):
7679 * ExternalShell.c (hack_event_masks_1):
7680 * glyphs-x.c (convert_EImage_to_XImage):
7681 (x_finalize_image_instance):
7682 * ralloc.c (page_size):
7684 * xgccache.c (gc_cache_hash):
7685 Fix unsigned comparison warnings.
7687 2002-07-29 Jerry James <james@xemacs.org>
7689 * lread.c (locate_file): Any nonnegative return value indicates
7690 success if MODE is nonnegative.
7692 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7694 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7697 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7699 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7701 * dumper.c (pdump_get_indirect_count):
7702 (pdump_scan_by_alignment):
7703 (pdump_dump_root_struct_ptrs):
7704 (pdump_dump_rtables):
7705 (pdump_dump_root_objects):
7707 * nas.c (WaveOpenDataForReading):
7708 * fns.c (print_bit_vector):
7709 * font-lock.c (SINGLE_SYNTAX_STYLE):
7710 * glyphs.c (check_for_ignored_expose):
7711 (find_matching_subwindow):
7713 * imgproc.c (get_histogram):
7714 * redisplay.c (point_in_line_start_cache):
7715 * redisplay-output.c (redisplay_unmap_subwindows):
7716 * symbols.c (defsymbol_massage_name_1):
7717 (defkeyword_massage_name):
7718 (deferror_massage_name_and_message):
7719 * redisplay-x.c (x_output_string):
7720 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7721 * frame.h (struct frame):
7722 * filelock.c (current_lock_owner):
7723 * doprnt.c (emacs_doprnt_1):
7724 * lisp.h (struct Lisp_Bit_Vector):
7728 2002-02-13 Ben Wing <ben@xemacs.org>
7730 * event-stream.c (reset_key_echo):
7731 * event-stream.c (reset_this_command_keys):
7732 * event-stream.c (execute_command_event):
7733 If console is dead as a result of C-x 5 0, then post-command stuff
7734 needs to be careful and do only non-console-specific stuff.
7736 2002-07-01 Mike Sperber <mike@xemacs.org>
7738 * process-unix.c (unix_send_process): Mark coding_outstream as
7739 non-open upon SIGPIPE.
7741 * event-stream.c (Fnext_event): Reorder switch cases to something
7744 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7746 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7747 Don't bogusly reinitialize ascii_character property.
7749 2002-07-08 Mike Sperber <mike@xemacs.org>
7751 * process.c (Fstart_process_internal): Do error checking before we
7752 fork off the child, so the child can't muck with the state of the
7755 2002-07-08 Mike Sperber <mike@xemacs.org>
7757 * ralloc.c (init_ralloc): Allocate properly for pdump.
7759 2002-06-12 Andy Piper <andy@xemacs.org>
7761 * glyphs.c (query_string_geometry): check the string.
7763 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7766 2002-06-17 Jerry James <james@xemacs.org>
7768 * sysdll.c: Remove RTLD_GLOBAL initialization.
7769 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7771 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7773 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7775 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7777 * sysdep.c (sys_rename): Make sys_rename work for the case where
7778 Windows rename sets errno to EACCES if target file exists.
7780 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7782 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7783 Fix detection of metric units to work on Win95
7785 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7787 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7789 2002-04-25 Andy Piper <andy@xemacs.org>
7791 * redisplay.c (create_text_block): Remove extra comment trailer.
7793 2002-04-24 Andy Piper <andy@xemacs.org>
7795 * redisplay.c (create_text_block): Don't actually add propagation
7796 data if the line ends after we have added a glyph.
7798 2002-04-22 Andy Piper <andy@xemacs.org>
7800 * extents.c (extent_fragment_update): check for glyphs we have
7801 previously displayed.
7802 * extents.c (print_extent_1): warning removal.
7803 * extents.h: change prototype.
7804 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7805 widths correctly for wide glyphs.
7806 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7807 * redisplay.c (prop_type): add PROP_GLYPH.
7808 * redisplay.c (struct prop_block): add glyph type
7809 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7810 to the propagation data.
7811 * redisplay.c (create_text_block): if there is a glyph in the
7812 propagation data use it to salt extent_fragment_update.
7813 * redisplay.c (create_string_text_block): ditto.
7815 2002-04-13 Nix <nix@esperi.demon.co.uk>
7817 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7818 * redisplay-output.c (compare_runes): Compare them.
7819 * redisplay.c: Update copyright date.
7820 * redisplay.c (pos_data): Add need_baseline_computation field.
7821 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7822 need_baseline_computation; zero yoffset. Set max_pixmap_height
7823 for all pixmaps, not just automatically positioned ones.
7824 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7825 * redisplay.c (calculate_baseline): New, compute textual baseline.
7826 * redisplay.c (add_glyph_rune): Call them.
7827 * redisplay.c (create_text_block): Likewise.
7828 * redisplay.c (create_overlay_glyph_block): Likewise.
7829 * redisplay.c (add_margin_runes): Likewise.
7830 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7832 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7833 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7834 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7835 * redisplay-msw.c (mswindows_output_string): Likewise.
7836 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7837 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7838 * redisplay-x.c (x_output_display_block): Likewise.
7840 2002-03-28 Ben Wing <ben@xemacs.org>
7842 * redisplay.c: Fixed bug in redisplay
7843 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7844 and down of the lines, since they're bigger than the line
7845 size. (It was seen most obviously when there's a horizontal scroll
7846 bar, e.g. do C-h a glyph or something like that.) The problem was
7847 that the glyph-contrib-p setting on glyphs was ignored even if it
7848 was set properly, which it wasn't until now.
7850 2002-04-24 Andy Piper <andy@xemacs.org>
7852 * lisp.h (Dynarr_end): Fix definition.
7854 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7856 * redisplay.c (mark_redisplay): Remove call to
7857 update_frame_window_mirror.
7859 2001-11-15 Andy Piper <andy@xemacs.org>
7861 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7864 2002-02-13 Andy Piper <andy@xemacs.org>
7866 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7867 we did in fact enqueue the XM_MAPFRAME event.
7869 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7871 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7872 to fix problem switching between virtual desktops under virtuawin
7873 virtual window manager.
7875 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7877 * event-msw.c: Typo fix.
7878 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7879 magic XM_MAPFRAME event has been sent.
7881 2001-11-23 Andy Piper <andy@xemacs.org>
7883 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7885 2001-11-21 Andy Piper <andy@xemacs.org>
7887 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7888 mouse events outside the frame.
7890 2002-03-20 Andy Piper <andy@xemacs.org>
7892 * menubar-msw.c (mswindows_popup_menu): warning removal.
7893 * dialog-msw.c (dialog_popped_down): ditto.
7895 2001-12-11 Andy Piper <andy@xemacs.org>
7897 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7898 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7900 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7901 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7902 * menubar-msw.c (mswindows_popup_menu): ditto.
7904 2001-10-29 Andy Piper <andy@xemacs.org>
7906 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7909 2002-01-03 Andy Piper <andy@xemacs.org>
7911 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7915 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7917 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7918 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7919 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7920 Detect and handle case where machine is set up for metric units
7922 2002-04-02 Andy Piper <andy@xemacs.org>
7924 * dired-msw.c (mswindows_get_files):
7925 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7926 completely handled by XEmacs. Suggested by Thomas Vogler
7927 <mail@thomas-vogler.de>.
7929 2001-11-14 Andy Piper <andy@xemacs.org>
7931 * nt.c (REG_ROOT): change registry key to XEmacs.
7933 2002-04-27 Andy Piper <andy@xemacs.org>
7935 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7937 2002-04-26 Andy Piper <andy@xemacs.org>
7939 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7942 2002-03-14 Mike Alexander <mta@arbortext.com>
7944 * event-msw.c (mswindows_unwait_process): New, remove process from
7946 * process-nt.c (nt_finalize_process_data): Call
7947 mswindows_unwait_process
7948 * console-msw.h: Declare mswindows_unwait_process
7950 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7952 * editfns.c (Fdecode_time):
7953 (Fformat_time_string):
7954 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7955 (make_time): Warning elimination (change arg name).
7957 2001-11-24 Andy Piper <andy@xemacs.org>
7959 * window.c (Fsplit_window): Doc return type.
7961 2002-04-01 Andy Piper <andy@xemacs.org>
7963 * emacs.c (Fkill_emacs): Only output message box in interactive
7966 2002-04-26 Andy Piper <andy@xemacs.org>
7968 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7971 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7973 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7976 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7978 * XEmacs 21.4.8 "Honest Recruiter" is released.
7980 2002-05-07 Nix <nix@esperi.demon.co.uk>
7982 Supersedes 2002-04-17 patch.
7984 * process.h (PROCESS_LIVE_P): Use the process status as
7985 evidence of health, not the state of the input stream.
7986 (PROCESS_READABLE_P): Say if the process is readable
7987 from. (It may be dead nonetheless.)
7988 (CHECK_READABLE_PROCESS): Test for that condition.
7990 * process.c (create_process): Use PROCESS_READABLE_P.
7991 (read_process_output, set_process_filter): Likewise.
7993 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7994 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7996 This code is #if 0'd, this is not the time to add new functions:
7998 * process.c (Fprocess_readable_p): Report readability status.
7999 * process.c (Qprocess_readable_p): New, associated symbol...
8000 * process.c (syms_of_process): ... initialize it.
8002 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
8004 * XEmacs 21.4.7 "Economic Science" is released.
8006 2002-04-17 Nix <nix@esperi.demon.co.uk>
8008 * process.h (PROCESS_LIVE_P): Use the process status as
8009 evidence of health, not the state of the input stream.
8011 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
8013 * sysdep.c (sys_siglist): change "signum" to "signal"
8015 2001-04-21 Martin Buchholz <martin@xemacs.org>
8017 * s/darwin.h: New file.
8018 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8020 2002-04-23 Andreas Jaeger <aj@suse.de>
8022 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8023 which use lib64 for 64-bit libs.
8024 (START_FILES): Likewise.
8026 2002-02-11 Mike Sperber <mike@xemacs.org>
8029 (x_IO_error_handler):
8030 (x_init_device): Temporarily keep device in static variable
8031 `device_being_initialized' so we can recover gracefully from
8032 internal XOpenDevice failure. (XOpenDevice is documented to
8033 return NULL on failure, but sometimes calls the IO error handler
8036 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8038 * dired.c (Ffile_name_all_completions): Change documentation --
8039 remove reference to completion-ignored-extensions.
8040 * dired.c (vars_of_dired): Change documentation for
8041 completion-ignored-extensions -- remove reference to
8042 file-name-all-completions.
8044 2002-03-06 Jerry James <james@xemacs.org>
8046 * emodules.c (emodules_load): Fix multiple loading of same module.
8048 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8049 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8050 RTLD_LAZY to avoid incorrect symbol binding when using nested
8051 shared libraries on Solaris.
8053 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8055 * fileio.c (Ffind_file_name_handler): Improve docstring.
8057 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8059 * fns.c (Fmapconcat): Improve docstring.
8061 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8063 * device-gtk.c: Add prototype for
8064 emacs_gtk_selection_clear_event_handle.
8065 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8066 selection. Setup signal handler for "selection_clear_event"
8067 (emacs_gtk_selection_clear_event_handle).
8069 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8070 other applications owning the clipboard (based on
8071 x_handle_selection_clear).
8073 2001-12-23 William M. Perry <wmperry@gnu.org>
8075 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8077 2002-01-04 Martin Buchholz <martin@xemacs.org>
8079 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8081 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8083 * XEmacs 21.4.6 "Common Lisp" is released.
8085 2001-12-16 Torsten Duwe <duwe@caldera.de>
8087 * search.c (Freplace_match): Add missing sub-expression functionality.
8089 * buffer.c (decode_buffer): Add a check for pointer type to
8090 decode_buffer, before gcc's CSE optimization reorders a
8091 dereference in front of the allow_string test.
8093 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8095 * window.c (window_loop): Fix bug that sometimes prevented
8096 window_loop() from iterating across multiple devices. Also, at
8097 Ben's request, changed infloop-detecting code to abort() instead
8098 of silently terminating window_loop().
8100 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8102 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8103 * editfns.c (make_time): New function.
8104 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8105 * lisp.h (make_time): Prototype and comment it.
8106 * dired.c (wasteful_word_to_lisp): Deprecate.
8107 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8109 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8111 * fileio.c (auto_save_1): Use current coding system, not
8114 2001-11-13 Ben Wing <ben@xemacs.org>
8117 * window.c (window_truncation_on):
8118 * window.c (syms_of_window):
8119 truncate-partial-width-windows should respect the buffer being
8120 displayed, like other redisplay vars.
8122 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8124 * event-stream.c (Fread_key_sequence): save current buffer.
8126 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8128 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8130 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8132 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8134 2001-10-26 Mike Alexander <mta@arbortext.com>
8136 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8138 2001-10-25 Andy Piper <andy@xemacs.org>
8141 * dialog-msw.c (handle_directory_proc): new function.
8142 (handle_directory_dialog_box): new fucntion.
8143 (handle_file_dialog_box): use new directory dialog support.
8144 (mswindows_make_dialog_box_internal): ditto.
8145 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8147 (mswindows_find_frame): make global.
8148 * fileio.c (Fexpand_file_name): build fix.
8149 * general-slots.h: add Qdirectory.
8150 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8152 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8153 cygwin not leaving win32 paths unchanged.
8154 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8155 cygwin runtime to do path conversion.
8156 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8157 (syms_of_win32): add new function.
8158 * window.c (window_loop): build fix.
8160 2001-10-15 Andy Piper <andy@xemacs.org>
8162 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8164 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8166 * XEmacs 21.4.5 "Civil Service" is released.
8168 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8170 * glyphs-x.c: Force buffer-tab highlight update when moving the
8171 buffer, avoiding an ugly black border, used for keyboard focus
8172 indication, on a widget that can never have keyboard focus, the
8175 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8177 * process-unix.c (unix_open_multicast_group): Remove too much
8178 conversion between host and network byte order.
8180 2001-09-10 Nix <nix@esperi.demon.co.uk>
8182 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8183 before replacing them.
8185 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8188 * src/window.c (undedicate_windows): Use it.
8189 * src/window.h: Add prototype.
8191 2001-09-17 Ben Wing <ben@xemacs.org>
8193 * fileio.c (normalize_filename):
8194 * fileio.c (Fexpand_file_name):
8195 Fix various C++ compile errors in Andy's recent code.
8197 * callint.c (Fcall_interactively):
8198 * editfns.c (Ftemp_directory):
8199 * editfns.c (Fuser_full_name):
8200 * emacs.c (argmatch):
8201 * lread.c (locate_file_map_suffixes):
8202 * redisplay-x.c (x_ring_bell):
8203 Fix sign-compare warnings.
8205 2001-09-08 Andy Piper <andy@xemacs.org>
8207 * fileio.c (normalize_filename): copied from nt.c
8208 * (Ffile_name_directory): enable win32 paths under cygwin.
8209 * (Ffile_name_nondirectory): ditto.
8210 * (directory_file_name): ditto.
8211 * (Fexpand_file_name): ditto.
8212 * (Ffile_truename): ditto.
8213 * (Fsubstitute_in_file_name): ditto.
8214 * (Ffile_name_absolute_p): ditto.
8215 * (Ffile_readable_p): ditto.
8217 2001-09-08 Andy Piper <andy@xemacs.org>
8219 * device-msw.c (mswindows_finish_init_device): remove dde
8221 * device-msw.c (mswindows_init_dde): factor out from
8222 mswindows_finish_init_device()
8223 * device-msw.c (init_mswindows_very_early): new function
8224 initialize but don't enable dde.
8225 * emacs.c (main_1): call init_mswindows_very_early.
8227 * event-msw.c (mswindows_dde_callback): only execute when we are
8229 * symsinit.h: declare init_mswindows_very_early.
8231 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8233 [sjt: This has been in 21.5 for months with no complaints.]
8235 * console.h (struct console_methods): Added flags member.
8236 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8237 (CONMETH_IMPL_FLAG):
8238 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8239 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8241 * device.c (window_system_pixelated_geometry): Use the above macros.
8243 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8244 implememntation flag.
8245 * device.h (DEVICE_DISPLAY_P): Use it.
8247 * frame.c (delete_frame_internal): Use the above macro.
8249 * redisplay.c (redisplay_device): Use it.
8250 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8251 (redisplay_frame): Ditto.
8253 * device-msw.c (mswindows_device_implementation_flags): Removed.
8254 (msprinter_device_implementation_flags): Removed.
8255 (console_type_create_device_mswindows): Removed references to
8256 implementation_flags methods, set implementation flags here.
8257 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8259 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8260 (console_type_create_device_gtk): Removed method declaration.
8261 Added commented out statement which semantically matches the
8262 commented out statement in the above removed method.
8264 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8266 The attached patch fixes a few warnings.
8268 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8269 * src/frame-gtk.c: guard against GNOME calls in GTK only
8270 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8271 * src/select-gtk.c: prototype lisp_to_time
8273 2001-06-08 Ben Wing <ben@xemacs.org>
8275 ------ gc-in-window-procedure fixes ------
8278 * alloc.c (struct post_gc_action):
8279 * alloc.c (register_post_gc_action):
8280 * alloc.c (run_post_gc_actions):
8281 * alloc.c (garbage_collect_1):
8282 Create "post-gc actions", to avoid those dreaded "GC during window
8283 procedure" problems.
8286 Abort, clean and simple, when GC in window procedure. We want
8287 to flush these puppies out.
8290 * glyphs-msw.c (finalize_destroy_window):
8291 * glyphs-msw.c (mswindows_finalize_image_instance):
8292 Use a post-gc action when destroying subwindows.
8295 Declare register_post_gc_action().
8298 * scrollbar-msw.c (unshow_that_mofo):
8299 Use a post-gc action when unshowing scrollbar windows, if in gc.
8301 * redisplay.c (mark_redisplay):
8302 Add comment about the utter evilness of what's going down here.
8304 ------ cygwin setitimer fixes ------
8306 * Makefile.in.in (sheap_objs):
8307 * Makefile.in.in (profile_objs):
8308 * Makefile.in.in (objs):
8309 Compile profile.c only when HAVE_SETITIMER.
8311 * nt.c (mswindows_sigset):
8312 * nt.c (mswindows_sighold):
8313 * nt.c (mswindows_sigrelse):
8314 * nt.c (mswindows_sigpause):
8315 * nt.c (mswindows_raise):
8316 * nt.c (close_file_data):
8320 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8323 * profile.c (Fstart_profiling):
8324 * profile.c (Fstop_profiling):
8325 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8326 instead of just plain setitimer().
8329 * signal.c (set_one_shot_timer):
8331 Define qxe_setitimer() as an encapsulation around setitimer() --
8332 call setitimer() directly unless Cygwin or MS Win, in which case
8333 we use our simulated version in win32.c.
8336 * systime.h (struct itimerval):
8337 * systime.h (ITIMER_REAL):
8338 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8339 comment about "qxe" and the policy regarding encapsulation.
8342 * win32.c (setitimer_helper_proc):
8343 * win32.c (setitimer_helper_period):
8344 * win32.c (setitimer_helper):
8345 * win32.c (mswindows_setitimer):
8346 Move setitimer() emulation here, so Cygwin can use it.
8347 Rename a couple of functions and variables to be longer and more
8348 descriptive. In setitimer_helper_proc(), send the signal
8349 using either mswindows_raise() or (on Cygwin) kill(). If for
8350 some reason we are still getting lockups, we'll change the kill()
8351 to directly invoke the signal handlers.
8353 ------ windows shell fixes ------
8357 Comments about how these two files must die.
8359 * callproc.c (init_callproc):
8360 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8361 not just COMSPEC. (more correct and closer to FSF.) Don't
8362 force a value for SHELL into the environment. (Comments added
8363 to explain why not.)
8365 * nt.c (init_user_info):
8366 Don't shove a fabricated SHELL into the environment. See above.
8368 2001-06-01 Ben Wing <ben@xemacs.org>
8370 * Makefile.in.in (ldflags):
8371 eliminate that pesky "defaulting to 00401000" warning.
8375 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8377 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8378 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8380 2001-04-24 Jerry James <james@xemacs.org>
8382 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8385 2001-06-01 Ben Wing <ben@xemacs.org>
8387 * event-msw.c (debug_mswin_messages):
8388 conditionalize the messages that were causing compile errors.
8389 (if only macros could generate #ifdef statements ...)
8391 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8393 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8395 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8397 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8399 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8401 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8402 * process-unix.c (unix_canonicalize_host_name):
8403 sysdep.c (init_system_name):
8404 Use it to conditionally support IPv6 canonicalization.
8406 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8409 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8411 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8413 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8414 attempt is made to scroll when no scroll bar is available.
8416 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8418 * input-method-motif.c (XIM_delete_frame): New callback.
8419 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8420 got deleted from 21.4.3.)
8422 2001-06-01 Ben Wing <ben@xemacs.org>
8424 * nt.c (mswindows_utime):
8425 * nt.c (close_file_data):
8426 fix off-by-one-indirection error.
8428 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8430 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8431 because set_file_times() now takes Lisp_Object path, instead of
8433 * nt.c: Include buffer.h.
8434 * nt.c (convert_from_time_t): New.
8435 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8436 not set mtime correctly.
8437 * nt.h: Declare mswindows_utime().
8438 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8439 path, instead of char*.
8440 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8442 2001-05-30 Ben Wing <ben@xemacs.org>
8446 (Stephen, just take all event-msw.c patches. This includes
8447 the "iconify" fix below.)
8450 * event-msw.c (mswindows_dequeue_dispatch_event):
8451 * event-msw.c (assert):
8452 * event-msw.c (emacs_mswindows_quit_p):
8453 * event-msw.c (debug_mswin_messages):
8454 * event-msw.c (debug_output_mswin_message):
8455 * event-msw.c (vars_of_event_mswindows):
8456 Fix yet more problems with C-g handling.
8457 Implement debug-mswindows-events.
8459 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8461 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8463 2001-05-23 Ben Wing <ben@xemacs.org>
8465 * event-msw.c (winsock_writer):
8466 * event-msw.c (winsock_closer):
8467 prior kludgy code was clobbering the buffer, thinking it was
8468 "unused" space to store an unneeded return value; instead, use
8469 the variable we've already got staring us in the face.
8471 2001-05-17 Andy Piper <andy@xemacs.org>
8473 * sysfile.h: don't assume that file attributes are boolean
8475 2001-05-23 Ben Wing <ben@xemacs.org>
8477 * device-msw.c (msprinter_init_device):
8478 signal an error rather than crash with an unavailable network
8479 printer (from Mike Alexander).
8482 * event-msw.c (struct winsock_stream):
8483 * event-msw.c (winsock_writer):
8484 * event-msw.c (winsock_closer):
8485 * event-msw.c (make_winsock_stream_1):
8486 cleanup headers. fix (hopefully) an error with data corruption
8487 when sending to a network connection.
8489 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8490 to handle the ~user prefix by (a) always assuming we're referencing
8491 ourselves and not even verifying the user -- hence any file with
8492 a tilde as its first char is invalid! (b) if there wasn't a slash
8493 following the filename, the pointer was set *past* the end of
8494 file and we started reading from uninitialized memory. Now we
8495 simply treat these as files, always.
8497 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8499 2001-05-19 Ben Wing <ben@xemacs.org>
8501 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8504 * process-nt.c (vars_of_process_nt):
8505 remove unused mswindows-quote-process-args. rec for 21.4.
8507 2001-05-12 Ben Wing <ben@xemacs.org>
8509 * event-msw.c (mswindows_dde_callback):
8510 * event-msw.c (mswindows_wnd_proc):
8511 eliminate cygwin warnings.
8513 2001-05-06 Ben Wing <ben@xemacs.org>
8517 * device-msw.c (print_dialog_worker):
8518 * device-msw.c (mswindows_handle_print_dialog_box):
8519 * device-msw.c (syms_of_device_mswindows):
8520 * dialog-msw.c (mswindows_make_dialog_box_internal):
8522 implement printing the selection when it's selected.
8524 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8526 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8528 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8530 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8531 EMACS_INT is signed.
8533 2001-04-15 Michael Lausch <mla@1012surf.net>
8535 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8536 gtk_widget_request_size() to give scrollbar >0 width for
8539 2001-05-30 William M. Perry <wmperry@gnu.org>
8541 * event-gtk.c: Check for buttons as modifier keys.
8543 2001-05-25 Craig Lanning <CraigL@Knology.net>
8546 Properly find MinGW's <process.h> inside Cygwin's restructured
8547 include directories. Don't try to include <cygwin/version.h>
8548 since we are dropping support for MinGW in versions of Cygwin
8551 Drop support for MinGW in versions of Cygwin before b21.
8553 Properly find MinGW's <process.h> inside Cygwin's restructured
8554 include directories.
8556 Drop support for MinGW in versions of Cygwin before b21.
8558 Even though a.out.h is no longer detected by configure, allow
8559 MinGW to use it until we figure out how to do the job with Win32.
8561 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8563 * syntax.c (find_start_of_comment):
8564 Fix `unbalanced parentheses' bug when dealing with mixed comment
8565 styles in c++/java/etc. mode
8567 2001-05-29 Mike Alexander <mta@arbortext.com>
8569 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8570 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8572 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8574 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8576 2001-03-31 Mike Sperber <mike@xemacs.org>
8578 * search.c (Freplace_match): Support FSF-style specification of
8579 match subexpression when applied to a buffer.
8581 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8583 * event-stream.c (is_scrollbar_event): add missing semicolon
8585 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8587 * Makefile.in.in: Use TAR macro instead of hardcoding
8588 tar. Allows use of GNU tar instead of system tar
8590 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8592 * event-stream.c (is_scrollbar_event): add missing semicolon
8594 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8596 * XEmacs 21.4.3 "Academic Rigor" is released.
8598 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8600 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8602 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8604 * buffer.c (Vcase_fold_search): Remove obsolete
8605 comment about non ASCII case-fold-search. This
8606 bug has been fixed by case-table changes.
8608 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8610 * event-msw.c: Restore include of events-mod.h.
8612 2001-04-22 zhaoway <zw@debian.org>
8614 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8617 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8619 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8621 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8623 * mule-charset.c (Fmake_charset): Add missing else.
8625 2001-04-23 Ben Wing <ben@xemacs.org>
8627 * event-msw.c (FAKE_MOD_QUIT):
8628 * event-msw.c (mswindows_dequeue_dispatch_event):
8629 * event-msw.c (mswindows_wnd_proc):
8630 * event-msw.c (emacs_mswindows_quit_p):
8631 Get critical quit working.
8633 2001-05-05 Ben Wing <ben@xemacs.org>
8637 * device-msw.c (mswindows_get_default_margin):
8638 * frame-msw.c (mswindows_size_frame_internal):
8639 * frame-msw.c (msprinter_init_frame_1):
8640 * frame-msw.c (vars_of_frame_mswindows):
8641 Change top/bottom margin defaults to 0.5 inches.
8643 2001-05-01 Martin Buchholz <martin@xemacs.org>
8645 Fix link error with gcc 3.0 on Linux.
8646 * terminfo.c (UP): Remove.
8647 * terminfo.c (BC): Remove.
8648 * terminfo.c (PC): Remove.
8649 They weren't used, and in any case, these symbols should be
8650 defined in the *library*.
8652 2001-05-03 Martin Buchholz <martin@xemacs.org>
8654 * s/aix4.h: Fix crash with xlc -O3.
8655 Improve comment explaining how -O3 works.
8657 2001-04-15 Ben Wing <ben@xemacs.org>
8660 * event-stream.c (Fnext_event):
8661 * event-stream.c (is_scrollbar_event):
8662 * event-stream.c (execute_command_event):
8663 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8664 crash' problem. His fix introduces other problems. We filter
8665 out scrollbar events specifically, making them somewhat invisible
8666 to command-building, and not appearing in `this-command-keys'.
8667 More work is still needed (see comments in event-stream.c), but
8668 this fixes all the major problems.
8670 2001-04-20 Ben Wing <ben@xemacs.org>
8672 * .cvsignore: Added stuff for Windows.
8674 2001-04-28 Ben Wing <ben@xemacs.org>
8676 * buffer.c (Ferase_buffer):
8677 * editfns.c (buffer_insert1):
8678 * editfns.c (Finsert_before_markers):
8679 * editfns.c (Finsert_string):
8680 * editfns.c (Finsert_char):
8681 * editfns.c (Fdelete_region):
8682 * editfns.c (Fwiden):
8683 * editfns.c (Fnarrow_to_region):
8684 remove bogus lines setting zmacs_region_stays to 0.
8686 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8688 * process-unix.c (unix_open_network_stream): If connect() fails
8689 invalidate file descriptor after closing it.
8691 2001-03-08 Mike Alexander <mta@arbortext.com>
8693 * event-msw.c (mswindows_need_event_in_modal_loop):
8694 Don't dispatch a message if we didn't get one.
8695 (mswindows_need_event):
8696 Terminate the correct process when one exits instead of the first
8697 one on Vprocess_list and look for process termination when in
8698 mswindows_protect_modal_loop.
8700 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8702 * XEmacs 21.4.1 "Copyleft" is released.
8704 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8706 * input-method-motif.c (XIM_delete_frame): New callback.
8707 (XIM_init_frame): Register it.
8709 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8711 * XEmacs 21.4.0 "Solid Vapor" is released.
8713 2001-04-15 Ben Wing <ben@xemacs.org>
8715 * cmdloop.c (call_command_loop):
8716 Fix braino in bit-rotting code.
8718 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8720 * extents.c (Fset_extent_endpoints): Force creation of extent info
8721 in buffer_or_string.
8723 * extents.c (process_extents_for_insertion_mapper): Correctly
8724 check for open-open zero-length extents.
8726 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8728 * lisp.h: New typedefs Memory_count, Element_count.
8731 Sign-compare warning elimination: several unsigned -> signed.
8732 Based on work by Ben Wing <ben@xemacs.org>.
8734 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8736 * XEmacs 21.2.47 "Zephir" is released.
8738 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8740 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8742 2001-04-03 Mike Sperber <mike@xemacs.org>
8744 * search.c: Revert previous patch due because of release.
8746 2001-03-30 Ben Wing <ben@xemacs.org>
8749 Add missing killpg prototype.
8752 Add a comment about fixing problems when a new entry is added
8755 * frame-msw.c (mswindows_init_frame_1):
8756 Fix compile warnings.
8758 * menubar.c (vars_of_menubar):
8759 Provide `menu-accelerator-support' to indicate that we properly
8760 support %_ in menu specifications, so that package code can
8761 conditionalize on this (and remove %_ from menu specifications
8766 * scrollbar-msw.c (can_scroll):
8768 Fix handling of mouse wheel under Windows to follow standards --
8769 now scrolls window under pointer, not selected window.
8771 2001-03-31 Mike Sperber <mike@xemacs.org>
8773 * search.c (Freplace_match): Support FSF-style specification of
8774 match subexpression when applied to a buffer.
8776 2001-03-15 Martin Buchholz <martin@xemacs.org>
8778 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8779 function to modify KEYMAP, so map over a copy of the hash table.
8781 2001-03-21 Martin Buchholz <martin@xemacs.org>
8783 * XEmacs 21.2.46 "Urania" is released.
8785 2001-03-20 Dan Holmsand <dan@eyebee.com>
8787 * realpath.c (xrealpath): Make file-truename work with symlinks to
8788 /cygdrive paths on cygwin. Always lowercase drive-letters on
8790 (cygwin_readlink): Don't try to find canonical filename unless
8793 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8795 * ChangeLog: Log GTK merge.
8801 Revert gratuitous whitespace changes from GTK merge.
8803 * emacs.c: Document end of complex #ifdef @ l. 1495.
8806 2001-03-12 Andy Piper <andy@xemacs.org>
8808 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8809 have to do likewise.
8811 2001-03-12 Andy Piper <andy@xemacs.org>
8813 * sysdep.c: we only support mingw now.
8815 2001-03-09 Andy Piper <andy@xemacs.org>
8817 * unexcw.c (copy_executable_and_dump_data_section): making approx
8818 overrun a warning only.
8820 2001-03-10 William M. Perry <wmperry@aventail.com>
8822 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8823 satisfy Stephen's identical-after-cpp plea.
8825 2001-03-02 Ben Wing <ben@xemacs.org>
8828 * cmds.c (Fforward_char):
8832 Augment documentation of the most common motion commands to make
8833 note of the shifted-motion support.
8835 2001-03-02 Ben Wing <ben@xemacs.org>
8837 * nt.c (mswindows_fstat):
8838 * nt.c (mswindows_stat):
8839 * search.c (boyer_moore):
8840 Fix compile warnings under Windows.
8842 * sysdep.c (sys_readdir):
8843 Fix buggy filename-conversion code under Mule.
8845 2001-03-09 William M. Perry <wmperry@aventail.com>
8867 * redisplay-output.c:
8873 The Great GTK Merge.
8880 * emacs-widget-accessors.c:
8894 * native-gtk-toolbar.c:
8905 The Great GTK Merge: new files.
8907 2001-02-26 Ben Wing <ben@xemacs.org>
8909 Reapplied Lstream change.
8911 2001-02-26 Ben Wing <ben@xemacs.org>
8913 Undid the last change, since it is more controversial than I
8914 thought. It should be back in at some point soon.
8916 2001-02-25 Ben Wing <ben@xemacs.org>
8919 * callproc.c (Fold_call_process_internal):
8920 * event-msw.c (ntpipe_slurp_reader):
8921 * event-msw.c (ntpipe_shove_writer):
8922 * event-msw.c (winsock_reader):
8923 * event-msw.c (winsock_writer):
8925 * file-coding.c (detect_eol_type):
8926 * file-coding.c (detect_coding_type):
8927 * file-coding.c (determine_real_coding_system):
8928 * file-coding.c (Fdetect_coding_region):
8929 * file-coding.c (decoding_reader):
8930 * file-coding.c (decoding_writer):
8931 * file-coding.c (mule_decode):
8932 * file-coding.c (Fdecode_coding_region):
8933 * file-coding.c (encoding_reader):
8934 * file-coding.c (encoding_writer):
8935 * file-coding.c (mule_encode):
8936 * file-coding.c (Fencode_coding_region):
8937 * file-coding.c (detect_coding_sjis):
8938 * file-coding.c (decode_coding_sjis):
8939 * file-coding.c (encode_coding_sjis):
8940 * file-coding.c (detect_coding_big5):
8941 * file-coding.c (decode_coding_big5):
8942 * file-coding.c (encode_coding_big5):
8943 * file-coding.c (detect_coding_ucs4):
8944 * file-coding.c (decode_coding_ucs4):
8945 * file-coding.c (encode_coding_ucs4):
8946 * file-coding.c (detect_coding_utf8):
8947 * file-coding.c (decode_coding_utf8):
8948 * file-coding.c (encode_coding_utf8):
8949 * file-coding.c (detect_coding_iso2022):
8950 * file-coding.c (decode_coding_iso2022):
8951 * file-coding.c (encode_coding_iso2022):
8952 * file-coding.c (decode_coding_no_conversion):
8953 * file-coding.c (encode_coding_no_conversion):
8954 * glyphs-x.c (write_lisp_string_to_temp_file):
8955 * gpmevent.c (tty_get_foreign_selection):
8958 * lstream.c (Lstream_flush_out):
8959 * lstream.c (Lstream_adding):
8960 * lstream.c (Lstream_write_1):
8961 * lstream.c (Lstream_write):
8962 * lstream.c (Lstream_raw_read):
8963 * lstream.c (Lstream_read_more):
8964 * lstream.c (Lstream_read):
8965 * lstream.c (Lstream_unread):
8966 * lstream.c (Lstream_fputc):
8967 * lstream.c (stdio_reader):
8968 * lstream.c (stdio_writer):
8969 * lstream.c (filedesc_reader):
8970 * lstream.c (filedesc_writer):
8971 * lstream.c (lisp_string_reader):
8972 * lstream.c (struct fixed_buffer_stream):
8973 * lstream.c (make_fixed_buffer_input_stream):
8974 * lstream.c (make_fixed_buffer_output_stream):
8975 * lstream.c (fixed_buffer_reader):
8976 * lstream.c (fixed_buffer_writer):
8977 * lstream.c (struct resizing_buffer_stream):
8978 * lstream.c (resizing_buffer_writer):
8979 * lstream.c (dynarr_writer):
8980 * lstream.c (lisp_buffer_reader):
8981 * lstream.c (lisp_buffer_writer):
8983 * lstream.h (lstream_implementation):
8984 * lstream.h (struct lstream):
8986 * process-nt.c (nt_send_process):
8987 * process-unix.c (unix_send_process):
8989 Correct Lstream lossage due to mixing of signed and unsigned
8990 quantities. All Lstream uses of size_t and ssize_t are now a
8991 single signed data type Lstream_data_count. This fixes problems
8992 under Windows with sending large quantities of data to a process,
8993 and may well fix other subtle bugs.
8995 2001-02-23 Martin Buchholz <martin@xemacs.org>
8997 * XEmacs 21.2.45 "Thelxepeia" is released.
8999 2001-02-21 Martin Buchholz <martin@xemacs.org>
9001 * lisp-union.h (XSETINT):
9004 Reverse previous change of 2001-02-06.
9006 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
9008 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
9010 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9011 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
9012 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
9013 * regex.c (POS_AS_IN_BUFFER): removed
9014 * regex.c (re_search_2):
9015 * regex.c (re_match_2):
9016 Don't use an offset of 1 when calculating buffer positions, since
9017 `BI_BUF_BEGV' does it already.
9019 2001-02-18 Wim Dumon <wim@easics.be>
9021 * insdel.c (prepare_to_modify_buffer): Also check for
9022 supersession when clash-detection is enabled.
9024 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9026 * regex.c (re_match_2_internal):
9027 Convert temp characters from 'const unsigned char' to 're_char'.
9028 Fix crashing bug with extended characters under mule.
9029 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9030 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9031 font-lock, pdump, and new syntax-table code.
9032 * syntax.c (find_start_of_comment):
9033 (find_end_of_comment):
9035 Fix crashing bugs involving moving beyond end of buffer.
9036 * syntax.c (find_start_of_comment):
9037 Fixed logic to allow proper detection of cases where the same
9038 character is used to end both a two-char comment start and a
9039 two-char comment end sequence. Fixes `(forward-comment -1)'.
9040 * syntax.c (find_start_of_comment):
9041 Return position just past last comment-end character for all cases
9042 (previously was only done for two-char comment-end sequences).
9043 * syntax.c (forward-comment):
9044 Take value returned from `find_end_of_comment', rather than
9046 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9047 Properly deal with BUFFERP (syntax_cache.object)
9049 2001-02-17 Martin Buchholz <martin@xemacs.org>
9051 * alloc.c (Fgarbage_collect):
9052 * alloc.c (make_bit_vector_from_byte_vector):
9053 -Wsign-compare-correctness.
9055 2001-02-16 Martin Buchholz <martin@xemacs.org>
9057 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9058 (XSETCHAR): Likewise.
9059 (XSETOBJ): Likewise.
9061 2001-02-15 Martin Buchholz <martin@xemacs.org>
9063 * mule-canna.c (canna-func-delete_previous):
9064 Rename to canna-func-delete-previous.
9066 2001-02-14 Martin Buchholz <martin@xemacs.org>
9068 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9070 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9072 * font-lock.c (find_context): Fix C++ compile errors introduced by
9075 2001-02-13 Martin Buchholz <martin@xemacs.org>
9077 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9078 pragma, but earlier ones barf on the same pragma.
9080 2001-02-06 Mike Sperber <mike@xemacs.org>
9082 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9083 `configure-mule-lisp-directory'.
9085 2001-02-12 Martin Buchholz <martin@xemacs.org>
9087 Make sure dump-id.c is compiled in the same way as other .c's.
9088 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9089 * dump-id.h: Remove.
9090 * emacs.c: Move dump-id.h into dumper.h.
9091 * dumper.h: Move dump-id.h into dumper.h.
9093 Use standard .c.o rule for building dump-id.o.
9094 Remove preprocessor flags from link command.
9095 Add dump-id.o to ${otherobjs} if PDUMP.
9097 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9099 Port FSF 20.7 syntax table improvements.
9103 Fixups for new syntax table stuff.
9104 * dired.c: Include syntax.c.
9105 (Fdirectory_files): Initialize regex_match_object and
9107 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9108 and Fget_char_property.
9110 Use ported FSF 20.7 syntax table improvements.
9115 2001-02-09 Martin Buchholz <martin@xemacs.org>
9117 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9118 Unixware's enum boolean from sys/types.h.
9120 2001-02-10 Martin Buchholz <martin@xemacs.org>
9122 Fix support for building with latest Purify.
9123 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9124 (PURIFY_FLAGS): Likewise.
9126 2001-02-09 Martin Buchholz <martin@xemacs.org>
9128 * fileio.c (lisp_string_set_file_times): New.
9129 * fileio.c (Fcopy_file): Use it.
9131 (copy-file filename non-ascii-filename t t)
9132 ==> No such file or directory, non-ascii-filename
9134 2001-02-10 Martin Buchholz <martin@xemacs.org>
9136 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9137 USHRT_MAX seems clearer than ~0 anyways.
9139 2001-02-09 Martin Buchholz <martin@xemacs.org>
9141 dumper improvements. Inspired by Olivier.
9142 * dumper.c (pdump_max_align): New.
9143 * dumper.c (pdump_add_entry): Use pdump_max_align.
9144 * dumper.c (pdump_get_entry_list): Likewise.
9145 * dumper.c (pdump_scan_by_alignment): Likewise.
9146 Don't iterate through unnecessary alignments.
9147 * dumper.c (pdump_file_get): No need to align result of malloc().
9148 * dumper.c (pdump_mallocadr): Remove.
9149 The result of malloc() is guaranteed to be maximally aligned.
9150 * dumper.c: s/elmt/elt/g;
9151 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9152 * dumper.c (pdump_alert_undump_object): Likewise.
9153 * dumper.c (pdump_align_table):
9154 Don't support alignments > 64.
9155 Store ALIGNOF's, not shift counts, in table.
9157 2001-02-09 Martin Buchholz <martin@xemacs.org>
9159 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9160 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9161 * systime.h: Use HAVE_UTIME.
9162 * sysdep.c (struct utimbuf): Remove.
9163 * sysdep.c (set_file_times): Prefer utime() to utimes().
9164 * config.h.in (HAVE_UTIME): New.
9165 * config.h.in (HAVE_UTIME_H): Remove.
9166 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9168 2001-02-09 Martin Buchholz <martin@xemacs.org>
9170 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9172 2001-02-08 Martin Buchholz <martin@xemacs.org>
9174 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9176 2001-02-08 Martin Buchholz <martin@xemacs.org>
9178 * XEmacs 21.2.44 "Thalia" is released.
9180 2001-02-06 Martin Buchholz <martin@xemacs.org>
9182 Fixes crashes in kill-emacs on some systems.
9183 * process-unix.c (unix_kill_child_process):
9184 It's OK for kill() to fail with ESRCH.
9186 2001-02-07 Martin Buchholz <martin@xemacs.org>
9188 Contortions to make .gdbinit tricks work on most systems.
9189 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9190 * alloc.c (dbg_valmask): Make non-const.
9191 * alloc.c (dbg_typemask): Make non-const.
9192 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9193 * alloc.c (dbg_valbits): Make non-const.
9194 * alloc.c (dbg_gctypebits): Make non-const.
9195 * .gdbinit (decode_object): Make it work with AIX cc.
9197 2001-02-06 Martin Buchholz <martin@xemacs.org>
9199 * elhash.c (make_general_lisp_hash_table):
9200 Use simpler and more efficient calloc to clear entries.
9202 2001-02-07 Martin Buchholz <martin@xemacs.org>
9204 * window.c (window_scroll): Work around an AIX C compiler bug.
9205 Fixes 'scroll-up' does nothing problem with xlC.
9207 2001-02-05 Martin Buchholz <martin@xemacs.org>
9209 * .gdbinit: Remove obsolete comment.
9211 2001-01-31 Mike Alexander <mta@arbortext.com>
9213 * select.c (Fown_selection_internal): Set owned_p for device
9216 2001-02-01 Martin Buchholz <martin@xemacs.org>
9219 "not" cannot be used as a macro name as it is an operator in C++
9220 * config.h.in: Stop #defining `not'.
9221 * chartab.c (check_category_char): not ==> not_p
9222 * chartab.h: Likewise.
9223 * regex.c (re_match_2_internal): Likewise.
9225 2001-02-02 Martin Buchholz <martin@xemacs.org>
9227 * lisp-disunion.h: Fix up comments.
9229 2001-01-31 Martin Buchholz <martin@xemacs.org>
9231 * keymap.c (define_key_check_and_coerce_keysym):
9233 Support mouse-6 and mouse-7 bindings in the obvious way.
9235 2001-02-01 Martin Buchholz <martin@xemacs.org>
9237 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9239 2001-01-30 Martin Buchholz <martin@xemacs.org>
9241 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9242 Previous patch missed DEFVAR_INT_MAGIC.
9243 Make sure future DEFVAR_foo use correct types.
9244 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9245 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9246 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9247 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9248 * (DEFVAR_INT): Likewise.
9249 * redisplay.c (vertical_clip): Should be of type Fixnum.
9250 * redisplay.c (horizontal_clip): Likewise.
9251 * lisp.h (dump_add_opaque_int): New.
9252 (dump_add_opaque_fixnum): New.
9254 2001-01-29 Andy Piper <andy@xemacs.org>
9256 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9257 since they can be eval'ed
9259 2001-01-29 Martin Buchholz <martin@xemacs.org>
9261 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9262 Oops, XEmacs redefines `class'. Use `typename' instead.
9264 2001-01-28 Martin Buchholz <martin@xemacs.org>
9266 * dumper.c: Fix C++ compile errors.
9268 2001-01-29 Martin Buchholz <martin@xemacs.org>
9270 * tparam.c: Use correct prototypes.
9272 2001-01-28 Martin Buchholz <martin@xemacs.org>
9274 * sysproc.h: #include util.h for NetBSD's openpty.
9276 2001-01-27 Martin Buchholz <martin@xemacs.org>
9278 More 64-bit correctness.
9279 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9280 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9282 This finally finishes the 64-bit SGI port.
9283 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9284 * symbols.c: Fix up comments and type casts.
9285 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9286 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9287 * symeval.h (Fixnum): New type.
9288 * symeval.h (symbol_value_type): Fix up comment.
9304 * mule-canna.c: A million DEFVAR_INTs here...
9305 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9318 s/int/Fixnum/g in DEFVAR_INT declarations.
9320 2001-01-26 Martin Buchholz <martin@xemacs.org>
9322 Port pdump to SGI alignment-sensitive environment.
9323 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9324 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9326 Define and use aligned reading and writing macros.
9327 Use buffered stdio instead of posix i/o for faster dumping.
9328 Eliminate kludgy 256 byte space for header.
9329 Read and write from dump file using structs for alignment safety.
9330 * dumper.c (pdump_align_stream): New.
9331 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9332 * dumper.c (PDUMP_READ_ALIGNED): New.
9333 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9334 * dumper.c (pdump_static_Lisp_Object): New struct.
9335 * dumper.c (pdump_static_pointer): New struct.
9336 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9337 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9338 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9339 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9341 * dumper.c (pdump_backtrace):
9342 * dumper.c (pdump_get_indirect_count):
9343 * dumper.c (pdump_register_object):
9344 * dumper.c (pdump_register_struct):
9345 * dumper.c (pdump_reloc_one):
9346 * dumper.c (pdump_scan_by_alignment):
9347 * dumper.c (pdump_dump_from_root_struct_ptrs):
9348 * dumper.c (pdump_dump_opaques):
9349 * dumper.c (pdump_dump_rtables):
9350 * dumper.c (pdump_dump_from_root_objects):
9352 * dumper.c (pdump_load_finish):
9353 Use aligned reading and writing.
9355 * dumper.c (pdump_free): Make static.
9356 * dumper.c (pdump_hFile): Likewise.
9357 * dumper.c (pdump_hMap): Likewise.
9359 2001-01-26 Martin Buchholz <martin@xemacs.org>
9361 * XEmacs 21.2.43 "Terspichore" is released.
9363 2001-01-25 Martin Buchholz <martin@xemacs.org>
9365 Type fiddling for window_config.saved_windows_count
9366 * window.c (struct window_config):
9367 Make saved_windows_count member unsigned.
9368 * window.c (sizeof_window_config_for_n_windows):
9369 Make parameter unsigned.
9370 * window.c (mark_window_config):
9371 * window.c (window_config_equal):
9372 * window.c (free_window_configuration):
9373 * window.c (Fset_window_configuration):
9374 * window.c (count_windows):
9375 * window.c (Fcurrent_window_configuration):
9376 * window.c (reinit_vars_of_window):
9377 Update all callers and users.
9379 2001-01-25 Martin Buchholz <martin@xemacs.org>
9381 Alignment correctness for flexible arrays.
9382 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9383 Make alignment-correct. Add interesting comments.
9384 * alloc.c (size_vector):
9385 * alloc.c (make_vector_internal):
9386 * alloc.c (make_bit_vector_internal):
9387 * alloc.c (sweep_bit_vectors_1):
9388 * fns.c (size_bit_vector):
9389 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9390 * window.c (sizeof_window_config_for_n_windows):
9391 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9393 2001-01-24 Martin Buchholz <martin@xemacs.org>
9395 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9397 2001-01-23 Andy Piper <andy@xemacs.org>
9399 * select.c (Fown_selection_internal): pass owned_p
9401 * select-msw.c (mswindows_own_selection): New Signature.
9403 * console.h (struct console_methods): add owned_p to
9406 * select-x.c (x_own_selection): pass owned_p
9407 (hack_motif_clipboard_selection): use owned_p
9408 (vars_of_select_x): new variable -
9409 x_selection_strict_motif_ownership.
9411 2001-01-23 Martin Buchholz <martin@xemacs.org>
9413 * specifier.h (specifier_data_offset): Remove pointless parens.
9414 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9416 2001-01-24 Martin Buchholz <martin@xemacs.org>
9418 Make Lisp_Object sizeof methods be alignment-correct.
9419 pdump must restore objects to the same alignment as the C compiler
9420 assumes. It really matters on SGIs.
9421 * lstream.c (aligned_sizeof_lstream): New.
9422 (sizeof_lstream): Use aligned_sizeof_lstream.
9423 (Lstream_new): Likewise.
9424 * opaque.c (aligned_sizeof_opaque): New.
9425 (sizeof_opaque): Use aligned_sizeof_opaque.
9426 (make_opaque): Likewise.
9427 * specifier.c (aligned_sizeof_specifier): New.
9428 (sizeof_specifier): Use aligned_sizeof_specifier.
9429 (make_specifier_internal): Likewise.
9431 2001-01-23 Martin Buchholz <martin@xemacs.org>
9433 * lstream.h (struct lstream): Use max_align_t for trailing data.
9434 * specifier.h (struct Lisp_Specifier): Likewise.
9436 2001-01-22 Martin Buchholz <martin@xemacs.org>
9438 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9439 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9440 (CCL_SUSPEND): Likewise.
9441 (CCL_INVALID_CMD): Likewise.
9442 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9443 (ccl_driver): Likewise.
9444 (CCL_WRITE_CHAR): Macro hygiene.
9445 (CCL_WRITE_STRING): Macro hygiene.
9447 2001-01-22 Martin Buchholz <martin@xemacs.org>
9449 Port "portable" dumper to SunOS 4 and HP-UX.
9450 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9451 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9452 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9454 2001-01-22 Martin Buchholz <martin@xemacs.org>
9456 * lisp.h (ALIGNOF): A better definition for C++.
9458 2001-01-20 Martin Buchholz <martin@xemacs.org>
9461 Fix printf warnings: int format, long int arg.
9462 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9463 (PUSH_FAILURE_POINT): Use correct printf formats.
9464 (POP_FAILURE_POINT): Use correct printf formats.
9465 Use do {...} while (0)
9467 2001-01-20 Martin Buchholz <martin@xemacs.org>
9469 * XEmacs 21.2.42 "Poseidon" is released.
9471 2001-01-20 Martin Buchholz <martin@xemacs.org>
9473 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9475 2001-01-19 Martin Buchholz <martin@xemacs.org>
9477 De-kludgify FIXED_TYPE free list frobbing.
9478 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9479 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9480 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9481 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9482 * alloc.c (LRECORD_FREE_P): New.
9483 * alloc.c (MARK_LRECORD_AS_FREE): New.
9484 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9485 * alloc.c (STRUCT_FREE_P): Deleted.
9486 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9487 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9488 * alloc.c (STRING_CHARS_FREE_P): New.
9489 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9490 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9491 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9492 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9493 * alloc.c (resize_string): Use new definitions.
9494 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9495 * alloc.c (verify_string_chars_integrity): Use new definitions.
9496 * alloc.c (compact_string_chars): Use new definitions.
9497 * alloc.c: Update monster comments.
9498 * lrecord.h (lrecord_type): Add some new lrecord types for
9501 2001-01-18 Martin Buchholz <martin@xemacs.org>
9503 Improve alignment hackery.
9504 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9505 (max_align_t): Moved from opaque.h - general purpose.
9506 (ALIGN_PTR): Use size_t, not long.
9507 * opaque.h (max_align_t): Move to lisp.h.
9509 2001-01-18 Norbert Koch <nk@LF.net>
9511 * gui.h: Fix and add prototypes to fix build problems.
9513 2001-01-18 Martin Buchholz <martin@xemacs.org>
9515 temacs is going away, so `dump-temacs' is now a bad name.
9516 * .dbxrc (dump-temacs): Rename to `dmp'.
9517 * .gdbinit (dump-temacs): Rename to `dmp'.
9519 2001-01-17 Andy Piper <andy@xemacs.org>
9521 * glyphs.c (print_image_instance): comment to make martin happy.
9523 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9526 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9528 (mswindows_tab_control_redisplay): warning suppression.
9530 * glyphs-widget.c (widget_update): re-write to cope with updated
9532 (widget_instantiate): use new gui_item functions.
9533 (tab_control_update): deleted.
9534 (progress_gauge_update): deleted.
9535 (image_instantiator_progress_guage): take out update reference.
9536 (image_instantiator_tree_view): ditto.
9537 (image_instantiator_tab_control): ditto.
9539 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9541 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9542 return whether anything was changed.
9543 (update_gui_item_keywords): as it sounds.
9545 * gui.h: declare widget_gui_parse_item_keywords.
9547 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9548 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9550 2001-01-17 Martin Buchholz <martin@xemacs.org>
9552 * XEmacs 21.2.41 "Polyhymnia" is released.
9554 2001-01-16 Didier Verna <didier@xemacs.org>
9556 * glyphs.c (image_instantiate): don't use fallbacks when
9557 instantiating a face's background pixmap by inheritance.
9559 2001-01-14 Mike Sperber <mike@xemacs.org>
9561 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9562 Conditionalize accordingly.
9564 2001-01-16 Martin Buchholz <martin@xemacs.org>
9566 * dumper.c (pdump_file_get): Fix a compiler warning.
9568 2001-01-15 Martin Buchholz <martin@xemacs.org>
9570 Make Purify happy when pdumping.
9571 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9572 iniitalizing all bits of new lisp object memory.
9573 * symbols.c (Fmake_local_variable): Likewise.
9574 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9575 * symbols.c (Fdefvaralias): Likewise.
9576 * mule-charset.c (vars_of_mule_charset): Likewise.
9578 2001-01-15 Martin Buchholz <martin@xemacs.org>
9579 Add the `-nd' flag when running pre-dump operations under the debugger.
9580 * .dbxrc (run-temacs): Add `-nd'.
9581 * .dbxrc (update-elc): Likewise.
9582 * .dbxrc (dump-temacs): Likewise.
9583 * .gdbinit (run-temacs): Likewise.
9584 * .gdbinit (check-temacs): Likewise.
9585 * .gdbinit (update-elc): Likewise.
9586 * .gdbinit (dump-temacs): Likewise.
9588 2001-01-14 Martin Buchholz <martin@xemacs.org>
9590 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9591 export OBJECT_MODE=64
9592 configure --pdump --use-union-type=no
9593 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9594 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9596 * miscplay.c (sndcnv8U_2mono):
9597 Avoid two uses of `++' in the same expression.
9598 Suppresses a GCC warning.
9600 2001-01-13 Martin Buchholz <martin@xemacs.org>
9602 Make sure future compilers don't miscompile alloc.c.
9604 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9605 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9607 2001-01-12 Martin Buchholz <martin@xemacs.org>
9609 * dumper.c: A little post-pdump-rename comment fixup.
9611 2001-01-09 Jerry James <james@eecs.ku.edu>
9613 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9615 2001-01-13 Martin Buchholz <martin@xemacs.org>
9617 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9621 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9624 replace_symbol pdump_wire_lists pdump_weak_object_chains
9625 replace_symbol pdump_wire_list dump_add_weak_object_chain
9627 replace_symbol pdump_wires pdump_root_objects
9628 replace_symbol pdump_wire dump_add_root_object
9630 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9631 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9633 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9634 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9635 replace_symbol dumpstructinfo pdump_root_struct_ptr
9636 replace_symbol dumpstruct dump_add_root_struct_ptr
9638 replace_symbol dumpopaque dump_add_opaque
9639 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9640 replace_symbol dumpopaqueinfos pdump_opaques
9641 replace_symbol dumpopaqueinfo pdump_opaque
9643 replace_symbol nb_structdump nb_root_struct_ptrs
9644 replace_symbol nb_opaquedump nb_opaques
9646 replace_symbol align_table pdump_align_table
9647 replace_symbol dump_header pdump_header
9649 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9650 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9653 2001-01-12 Martin Buchholz <martin@xemacs.org>
9655 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9656 optimizing bytecount_to_charcount().
9658 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9661 (HAVE_DLFCN_H): Removed.
9662 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9664 2001-01-06 Martin Buchholz <martin@xemacs.org>
9666 Portable dumper maintainability improvements.
9667 * alloc.c (staticpro):
9668 * alloc.c (staticpro_nodump):
9669 * alloc.c (garbage_collect_1):
9670 * alloc.c (reinit_alloc_once_early):
9671 * alloc.c (init_alloc_once_early):
9672 * alloc.c: Move dumper functions to alloc.c.
9673 * dumper.c (pdump_backtrace):
9674 * dumper.c (pdump_dump_structs):
9675 * dumper.c (pdump_dump_opaques):
9676 * dumper.c (pdump_dump_rtables):
9677 * dumper.c (pdump_dump_wired):
9679 * dumper.c (pdump_load_check):
9680 * dumper.c (pdump_load_finish):
9681 * dumper.c (pdump_file_unmap):
9682 * dumper.c (pdump_file_get):
9683 * dumper.c (pdump_resource_free):
9684 * dumper.c (pdump_resource_get):
9685 * dumper.c (pdump_file_free):
9686 * dumper.c (pdump_file_try):
9687 * dumper.c (pdump_load):
9688 Remove fixed size limits on staticpro(), staticpro_nodump(),
9689 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9690 Remove custom code for dumping lrecord_implementations_table - use
9692 Remove (most of the) custom code for dumping staticpros - dump it
9693 like any other dynarr.
9695 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9696 * dumper.c: Moved functions from alloc.c.
9697 * alloc.c (dumpstruct): Moved to dumper.c.
9698 * alloc.c (dumpopaque): Likewise.
9699 * alloc.c (pdump_wire): Likewise.
9700 * alloc.c (pdump_wire_list): Likewise.
9702 * lisp.h (Dynarr_sizeof): New.
9703 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9704 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9705 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9707 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9708 * lisp.h (dumpopaque): ditto.
9709 * lisp.h (pdump_wire): ditto.
9710 * lisp.h (pdump_wire_list): ditto.
9712 2001-01-09 Martin Buchholz <martin@xemacs.org>
9714 * make-src-depend (PrintPatternDeps):
9715 Use `sort' to make output independent of perl version.
9717 2001-01-08 Martin Buchholz <martin@xemacs.org>
9720 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9721 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9723 2001-01-03 Didier Verna <didier@xemacs.org>
9725 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9726 that `focus_frame' is alive before thinking of calling
9727 `redisplay_redraw_cursor' on it.
9729 2001-01-08 Martin Buchholz <martin@xemacs.org>
9731 * XEmacs 21.2.40 is released.
9733 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9735 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9737 2001-01-06 Martin Buchholz <martin@xemacs.org>
9739 * alloc.c (dbg_valmask): Make const.
9740 * alloc.c (dbg_typemask): Make const.
9741 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9742 * alloc.c (dbg_valbits): Make const.
9743 * alloc.c (dbg_gctypebits): Make const.
9745 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9747 * redisplay-x.c (x_bevel_area):
9748 redisplay.h (struct rune):
9749 Typo fixes in comments.
9751 2001-01-05 Andy Piper <andy@xemacs.org>
9753 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9756 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9758 2001-01-05 Martin Buchholz <martin@xemacs.org>
9760 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9762 * mule-ccl.c (stack_idx_of_map_multiple):
9763 Non const global data must not be initialized!
9764 Found by MIYASHITA Hisashi.
9766 2001-01-02 Andy Piper <andy@xemacs.org>
9768 * frame.c (change_frame_size): make sure frame size is always
9771 * glyphs.c (image_instance_layout): minor code reuse.
9773 * window.c (Fcurrent_window_configuration): revert previous
9776 2001-01-02 Martin Buchholz <martin@xemacs.org>
9779 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9781 2000-12-31 Andy Piper <andy@xemacs.org>
9783 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9784 when widget gets unmapped.
9786 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9787 function. Make sure widgets losing focus don't just drop it.
9788 (handle_focus_event_1): record the widget with focus.
9790 2000-12-31 Andy Piper <andy@xemacs.org>
9792 * window.c (allocate_window): use
9793 make_image_instance_cache_hash_table.
9794 (make_dummy_parent): ditto.
9795 (Fset_window_configuration): ditto.
9797 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9799 * glyphs.c (process_image_string_instantiator): use
9801 (get_image_instantiator_governing_domain): ditto.
9802 (normalize_image_instantiator): ditto.
9803 (instantiate_image_instantiator): ditto.
9804 (make_image_instance_1): ditto.
9805 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9806 (instantiator_eq_equal): new function for use with instance hash
9808 (instantiator_eq_hash): ditto.
9809 (make_image_instance_cache_hash_table): create a suitable hash
9810 table for storing image instances.
9812 * elhash.h (hash_table_weakness): new internal weakness type
9813 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9814 declare new functions.
9816 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9817 another weakness type for glyphs.
9818 (make_standard_lisp_hash_table): new function split out from
9819 make_general_lisp_hash_table.
9820 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9821 (hash_table_instantiate): ditto.
9822 (Fmake_hash_table): ditto.
9824 2000-12-31 Martin Buchholz <martin@xemacs.org>
9826 * XEmacs 21.2.39 is released.
9828 2000-12-29 Andy Piper <andy@xemacs.org>
9830 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9832 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9833 the frame has changed so that we pick up geometry changes such as
9836 2000-12-28 Andy Piper <andy@xemacs.org>
9838 * lastfile.c (my_ebss): make a char array so we can pad the
9839 bss. Fixes cygwin unexec.
9841 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9843 2000-12-26 Andy Piper <andy@xemacs.org>
9845 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9846 comments and try and be more precise about a non-/SIGIO world.
9847 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9850 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9851 we don't normalize to zero width or height.
9853 2000-12-24 Andy Piper <andy@xemacs.org>
9855 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9857 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9859 * s/sco5.h: SCO 5 has pty support.
9861 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9863 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9864 input-method-xlib.c contains whole contents of input-method-xfs.c,
9865 so we can use input-method-xlib.c's code for USE_XFONTSET
9867 * input-method-xfs.c: removed.
9869 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9871 * file-coding.h (enum coding_category_type): reorder enumerators to
9872 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9873 (now one greater than largest real coding_category_type enumerator).
9874 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9875 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9876 Fcoding_category_list, Fset_coding_priority_list,
9877 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9878 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9880 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9882 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9883 * redisplay-output.c (redisplay_output_window): Clear top of window
9884 when face is changed.
9885 * redisplay-x.c (x_redraw_exposed_window): Call
9886 redisplay_clear_top_of_window.
9887 * redisplay.h: Publish redisplay_clear_top_of_window.
9889 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9891 * buffer.c (Fkill_buffer): Map over all devices.
9892 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9893 (list_windows): New function.
9894 (list_all_windows): Ditto.
9895 (Freplace_buffer_in_windows): Use them.
9897 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9899 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9900 (Fopen_database): Use `db_create' instead of `db_open'.
9901 (syms_of_database): Initialize Qqueue.
9903 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9905 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9906 buffer_local_face_property.
9907 * buffer.h (struct buffer): New member buffer_local_face_property.
9908 * window.c (Fset_window_buffer): Mark window's face as changed
9909 when buffer has buffer local face.
9910 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9911 * objects.c (color_after_change): Set buffer_local_face_property
9912 when locale of face specifier is buffer.
9913 * objects.c (font_after_change): Ditto.
9914 * objects.c (face_boolean_after_change): Ditto.
9915 * glyphs.c (image_after_change): Ditto.
9917 2000-12-09 Dan Holmsand <dan@eyebee.com>
9919 * nt.c (mswindows_fstat): Report file permissions, volume serial
9920 number, etc. Code adapted from FSF Emacs 20.7.
9922 2000-12-09 Dan Holmsand <dan@eyebee.com>
9924 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9925 of stat when we don't have symbolic links, to make sure
9926 mswindows_stat is called on mswindows.
9928 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9930 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9932 2000-12-12 Martin Buchholz <martin@xemacs.org>
9934 * doprnt.c (emacs_doprnt_1): More printing fixes.
9935 Make printing of numbers compatible with libc and FSF Emacs.
9936 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9937 Use the system printf to do most of the hard work of formatting,
9938 instead of doprnt_1().
9939 Calculate memory to allocate for format string.
9940 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9941 (doprnt_1): Cleaner code and documentation.
9943 2000-12-01 Jerry James <james@eecs.ukans.edu>
9945 * Makefile.in.in: Use the loop variable to install headers.
9947 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9949 * window.c (Fsplit_window): Don't invalidate face cache.
9951 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9953 * minibuf.c (Fall_completions): Undo the previous change
9954 which removed checking elements start with space.
9956 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9958 * mule-canna.c: Didier suppression.
9960 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9962 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9963 (warning suppression). Add English comment translations.
9965 2000-12-05 Martin Buchholz <martin@xemacs.org>
9967 * unexelfsgi.c (unexec): Better test for mmap failure.
9969 2000-12-05 Martin Buchholz <martin@xemacs.org>
9971 * XEmacs 21.2.38 is released.
9973 2000-12-05 Martin Buchholz <martin@xemacs.org>
9975 * redisplay.c (bar-cursor): Make a user variable.
9977 * symsinit.h: Add init_postgresql_from_environment.
9979 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9981 * regex.c: Convert to clean C.
9983 2000-12-05 Dan Holmsand <dan@eyebee.com>
9986 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9988 (sys_readlink): renamed to system_readlink to avoid conflict with
9989 the other sys_readlink.
9991 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9993 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9995 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9997 * postgresql.c (init_postgresql_from_environment): new function.
9998 (vars_of_postgresql): Move code initializing Lisp variables out and
9999 into init_postgresql_from_environment.
10000 emacs.c (main_1): Call init_postgresql_from_environment if and only
10001 if running a dumped XEmacs.
10003 2000-08-31 Dan Holmsand <dan@eyebee.com>
10005 * buffer.c: Make find-file-compare-truenames default to true on
10008 * realpath.c (win32_abs_start):
10010 (win32_readlink): New functions.
10011 (xrealpath): Return really real filenames on windows.
10013 * fileio.c (Ffile_truename): Make file-truename work on windows.
10015 2000-11-29 Didier Verna <didier@xemacs.org>
10017 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
10018 * faces.c (update_face_cachel_data): use it.
10019 * faces.c (add_face_cachel): use it. Complete background pixmap
10020 frobbing in face cache if `update_face_cachel_data' has not done so.
10022 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10024 * search.c (string_match_1): Don't set last_thing_searched
10025 when search failed.
10027 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10029 * buffer.c: Include casetab.h
10030 (common_init_complex_vars_of_buffer): Use new case-table object.
10031 * buffer.h: Include casetab.h
10032 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10033 (DOWNCASE_TABLE_OF): Ditto.
10034 * bufslots.h: Remove char-tables and add case-table.
10035 * casetab.c: Include casetab.h
10036 (CASE_TABLE_P): Removed.
10037 (mark_case_table): New function.
10038 (allocate_case_table): New function.
10039 (Fcase_table_p): Use new case-table.
10040 (case_table_char): New function.
10041 (Fget_case_table): Ditto.
10042 (Fput_case_table): Ditto.
10043 (Fput_case_table_pair): Ditto.
10044 (Fcopy_case_table): Ditto.
10045 (Fcurrent_case_table): Return case-table.
10046 (Fstandard_case_table): Return case-table.
10047 (Fset_case_table): Fix doc-string.
10048 (set_case_table): Use case-table
10049 (syms_of_casetab): DEFSUBR new functions.
10050 (complex_vars_of_casetab): Set up standard case-table.
10051 * casetab.h: New file.
10052 * editfns.c: Include casetab.h
10053 (Fcompare_buffer_substrings): Use case-table.
10054 * inline.c: Include casetab.h
10055 * lisp.h: Remove bogus extern.
10056 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10057 * search.c: Include casetab.h
10058 (TRANSLATE_ASCII): Removed.
10059 (TRANSLATE): Unconditionally translate character.
10060 (looking_at_1): Use case-table.
10061 (string_match_1): Ditto.
10062 (fast_string_match): Ditto.
10063 (search_command): Ditto.
10064 (search_buffer): Separate boyer_moore. Check whether
10065 boyer_moore is possible.
10066 (simple_search): New function.
10067 (boyer_moore): Separated from search_buffer. Translate char.
10069 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10071 * regex.c (RE_TR_ASCII): Removed.
10072 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10073 (PATFETCH): Call PATFETCH_RAW.
10074 (PATFETCH_RAW): Fetch Emchar.
10075 (PATUNFETCH): Decrement charptr.
10076 (GET_BUFFER_SPACE): Rename b to buf_end.
10078 (BUF_PUSH_2): Ditto.
10079 (BUF_PUSH_3): Ditto.
10080 (EXTEND_BUFFER): Ditto.
10081 (SET_LIST_BIT): Ditto.
10082 (regex_compile): Ditto. Translate non ASCII char.
10083 (compile_range): Ditto.
10084 (re_search_2): Ditto.
10085 (re_match_2_internal): Compare Emchar.
10086 (bcmp_translate): Ditto.
10088 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10090 * lisp.h (basic char/int typedefs): comment improvement.
10092 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10094 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10095 unstomp inhibit_site_lisp. Improve comments.
10097 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10099 * mule-charset.c (Fcharset_property): improve type checking, comments.
10101 2000-11-28 Andy Piper <andy@xemacs.org>
10103 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10104 clipped display for windows in the gutter also.
10105 (redisplay_display_boxes_in_window_p): change semantics of return
10106 codes to be more intuitive.
10108 * gutter.h: declare display_boxes_in_gutter_p.
10110 * gutter.c (display_boxes_in_gutter_p): new function for
10113 2000-11-22 Andy Piper <andy@xemacs.org>
10115 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10118 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10120 * callproc.c (Fold_call_process_internal):
10121 * gpm.c (Freceive_gpm_event):
10122 (tty_get_foreign_selection): Might be just warning supression.
10123 * fileio.c (Fwrite_region_internal):
10124 (Fset_visited_file_modtime):
10125 * keymap.c (event_matches_key_specifier_p):
10126 Initialize GCPROed variable.
10128 * menubar-x.c (command_builder_find_menu_accelerator):
10129 Initialize before use.
10131 2000-11-23 Andy Piper <andy@xemacs.org>
10133 * unexcw.c (unexec): make the resulting executable executable.
10135 2000-11-21 Martin Buchholz <martin@xemacs.org>
10137 * doc.c (get_doc_string):
10138 Use size_t, not int, for result of XSTRING_LENGTH.
10140 * cmds.c (Fdelete_char):
10141 * cmds.c (Fpoint_at_eol):
10142 * cmds.c (Fself_insert_command):
10143 Use EMACS_INT, not int, for result of XINT.
10144 Someday, someone will want to insert more than 2**31 identical characters.
10146 * cmds.c (Fdelete_char):
10147 * cmds.c (Fdelete_backward_char):
10148 * syntax.c (Fforward_word):
10149 * syntax.c (Fforward_comment):
10150 Make COUNT argument optional, for consistency with forward-char et al.
10152 2000-11-22 Martin Buchholz <martin@xemacs.org>
10155 * print.c (long_to_string):
10156 Return a useful value: the pointer at end of data written.
10159 Use `static const char * const' for constant strings.
10160 (union printf_arg): Delete `i', `ui' members.
10163 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10164 Do all printf-ing via the `l' specifier.
10165 Use EMACS_INT instead of int.
10168 2000-11-20 Didier Verna <didier@xemacs.org>
10170 * faces.c (update_face_cachel_data): don't frob the background
10171 pixmap when the window is being created. The face is needed but
10172 does not exist yet.
10174 2000-11-20 Andy Piper <andy@xemacs.org>
10176 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10177 messing with a debug environment.
10179 2000-11-20 Martin Buchholz <martin@xemacs.org>
10181 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10183 2000-11-20 Martin Buchholz <martin@xemacs.org>
10185 * casetab.c (Fcase_table_p): Fix compile error and crash.
10187 2000-11-18 Philip Aston <philipa@mail.com>
10189 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10191 2000-11-18 Martin Buchholz <martin@xemacs.org>
10193 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10194 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10196 2000-11-17 Martin Buchholz <martin@xemacs.org>
10198 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10199 * unexelf.c: Use HAVE_ELF_H.
10200 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10201 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10202 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10203 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10205 So this is an unexelfsgi.c from a different line of development.
10207 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10209 * regex.c (RE_TR_ASCII): New function.
10210 (RE_TRANSLATE): Call it.
10212 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10214 * buffer.h (TRT_TABLE_OF): Remove assert.
10215 (IN_TRT_TABLE_DOMAIN): Removed.
10217 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10219 * free-hook.c (log_gcpro):
10220 (show_gcprohist): Add support for GCPRO5.
10222 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10224 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10226 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10228 * symeval.h: Declare flush_all_buffer_local_cache.
10230 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10231 (flush_buffer_local_cache): Added.
10232 (flush_all_buffer_local_cache): Added.
10234 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10236 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10237 (pdump_dump_data): Ditto.
10238 (pdump_reloc_one): Ditto.
10239 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10243 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10245 * buffer.c: Remove if 0'ed entry.
10246 * buffer.h: Rewrite TRT to use char-table.
10247 * bufslots.h: Remove mirror tables.
10248 * casetab.c: Remove mirror tables.
10249 (CASE_TABLE_P): New macro.
10250 (Fcase_table_p): Element of a case table is string or char-table.
10251 (make_mirror_trt_table): Removed.
10252 (set_case_table): Setup char-table from strings for backward
10254 * dired.c (Fdirectory_files):
10255 * dired-msw.c: (mswindows_get_files):
10256 * lisp.h: Change prototype of re_pattern_buffer.
10257 * regex.c: (RE_TRANSLATE): New macro.
10258 (TRANSLATE_P): Ditto.
10259 Change translate to type RE_TRANSLATE_TYPE.
10260 * regex.h: Define RE_TRANSLATE_TYPE
10261 * search.c (TRANSLATE): New macro.
10262 (TRANSLATE_ASCII): New macro.
10263 Translate table is changed to Lisp_Object.
10264 (signal_failure): Inhibit return.
10266 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10273 Do UNGCPRO before return.
10275 2000-11-14 Martin Buchholz <martin@xemacs.org>
10277 * XEmacs 21.2.37 is released.
10279 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10281 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10282 Add comments about discarded return value.
10284 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10287 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10289 2000-10-27 Andy Piper <andy@xemacs.org>
10291 * gutter.c (Fset_default_gutter_position): default left and right
10292 gutters to visible.
10293 (calculate_gutter_size): calculate resonable heuristic for left
10294 and right gutter sizes.
10295 (specifier_vars_of_gutter): change left and right gutter sizes to
10297 (calculate_gutter_size_from_display_lines): new function.
10298 (output_gutter): check for resizing on left and right gutters.
10299 (clear_gutter): don't special case top and left gutters.
10300 (specifier_vars_of_gutter): use new signature for
10301 set_specifier_caching.
10303 * glyphs-x.c (x_redisplay_widget): spelling fix.
10304 * glyphs.c (specifier_vars_of_glyphs):
10305 * menubar.c (specifier_vars_of_menubar):
10306 * redisplay.c (specifier_vars_of_redisplay):
10307 * toolbar.c (specifier_vars_of_toolbar):
10308 * window.c (specifier_vars_of_window):
10309 * scrollbar.c (specifier_vars_of_scrollbar):
10310 (complex_vars_of_scrollbar): use new signature for
10311 set_specifier_caching.
10313 * specifier.c (set_specifier_caching): include recompute flag.
10314 (recompute_one_cached_specifier_in_window): always recompute if
10316 (recompute_one_cached_specifier_in_frame): ditto.
10318 * specifier.h (struct specifier_caching): add recompute flag.
10320 2000-10-24 Andy Piper <andy@xemacs.org>
10322 * unexcw.c (copy_executable_and_dump_data_section): add new
10323 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10326 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10328 * console-x.h (x_device): New member modifier_release_time.
10329 * event-Xt.c (x_handle_sticky_modifiers):
10330 Bound interval modifier keys are sticky.
10331 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10332 * events.h: extern it.
10334 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10336 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10338 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10340 * event-stream.c (execute_command_event): Preserve current_events
10341 and the like when event is misc-user-event.
10342 Inhibit quit during the call to maybe_echo_keys.
10344 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10346 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10347 symlink when buffer is killed.
10348 (inhibit_clash_detection): New variable.
10350 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10352 * console.c (Fset_input_method): Trigger redisplay on tty.
10354 2000-11-07 Martin Buchholz <martin@xemacs.org>
10356 * process.c (Fprocess_status): Revert to previous behavior:
10357 (process-status "nosuchprocess") ==> nil
10359 2000-11-06 Martin Buchholz <martin@xemacs.org>
10361 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10362 Work around another GCC 2.95.2 optimizer bug.
10364 2000-11-02 Martin Buchholz <martin@xemacs.org>
10366 * process.c (Fget_process): Use LIST_LOOP_2.
10367 (kill_buffer_processes): Use LIST_LOOP_2.
10369 * minibuf.c (Fall_completions):
10370 Delete old non-functional code for FSF fourth argument.
10372 * frame.c (frame_matches_frame_spec):
10373 Renamed from `frame_matches_frametype'. Update all callers.
10374 (device_matches_device_spec):
10375 Renamed from 'device_matches_console_spec'. Update all callers.
10377 * doc.c (Fsubstitute_command_keys):
10378 Remove buffer overflow crash. Small code cleanups.
10380 * casetab.c (check_case_table): Simpler code.
10382 * window.c (Freplace_buffer_in_windows):
10383 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10384 (and similar implementation) as Fdelete_windows_on.
10385 Update all callers.
10387 * alloc.c (Fmake_list):
10388 * alloc.c (make_vector):
10389 * alloc.c (Fmake_vector):
10390 * alloc.c (make_bit_vector):
10391 * alloc.c (Fmake_bit_vector):
10392 * alloc.c (Fbit_vector):
10393 * alloc.c (Fmake_string):
10394 * alloc.c (Fpurecopy):
10395 * alloc.c (Fmemory_limit):
10397 * buffer.c (Fget_buffer):
10398 * buffer.c (Fkill_buffer):
10399 * buffer.c (complex_vars_of_buffer):
10400 * bytecode.c (Fcompiled_function_stack_depth):
10401 * callint.c (Fprefix_numeric_value):
10403 * event-stream.c (Fread_key_sequence):
10405 * casetab.c (Fcase_table_p):
10406 * casetab.c (check_case_table):
10407 * casetab.c (Fset_case_table):
10408 * casetab.c (Fset_standard_case_table):
10410 * chartab.c (Fchar_table_type):
10411 * chartab.c (Freset_char_table):
10412 * chartab.c (Fget_char_table):
10413 * chartab.c (Fget_range_char_table):
10414 * chartab.c (Fput_char_table):
10415 * chartab.c (Fmap_char_table):
10416 * chartab.c (Fcategory_table_p):
10417 * chartab.c (Fcheck_category_at):
10418 * chartab.c (Fchar_in_category_p):
10419 * chartab.c (Fcategory_table):
10420 * chartab.c (Fcopy_category_table):
10421 * chartab.c (Fset_category_table):
10422 * chartab.c (Fcategory_designator_p):
10423 * chartab.c (Fcategory_table_value_p):
10424 * cmds.c (Fdelete_char):
10425 * cmds.c (Fdelete_backward_char):
10426 * cmds.c (Fself_insert_command):
10427 * cmds.c (Fself_insert_internal):
10428 * console.c (Fvalid_console_type_p):
10429 * console.c (Fcdfw_console):
10430 * console.c (Fconsole_type):
10431 * console.c (Fconsole_name):
10432 * console.c (Fconsole_device_list):
10433 * console.c (Fconsole_on_window_system_p):
10436 * data.c (Fold_eq):
10437 * data.c (Fsubr_interactive):
10438 * data.c (Fchar_to_int):
10439 * data.c (Fint_to_char):
10440 * data.c (Fsetcar):
10441 * data.c (Fsetcdr):
10442 * data.c (Fnumber_to_string):
10443 * data.c (Fstring_to_number):
10445 * database.c (mark_database):
10446 * database.c (finalize_database):
10447 * database.c (Fdatabase_live_p):
10448 * database.c (Fdatabasep):
10449 * device-x.c (Fx_get_resource):
10450 * device.c (Fdfw_device):
10452 * dired.c (Ffile_name_completion):
10453 * dired.c (Ffile_name_all_completions):
10454 * dired.c (Fuser_name_completion):
10455 * dired.c (Fuser_name_completion_1):
10456 * dired.c (Fuser_name_all_completions):
10457 * doc.c (Fdocumentation):
10458 * doc.c (Fdocumentation_property):
10459 * doc.c (Fsubstitute_command_keys):
10461 * editfns.c (Fchar_to_string):
10462 * editfns.c (Fstring_to_char):
10463 * editfns.c (Ftemp_directory):
10464 * editfns.c (Finsert_char):
10465 * editfns.c (Fbuffer_substring_no_properties):
10466 * editfns.c (Fnarrow_to_region):
10467 * editfns.c (Fchar_equal):
10468 * editfns.c (Fchar_Equal):
10469 * editfns.c (Ftranspose_regions):
10470 * emacs.c (Fdump_emacs):
10472 * eval.c (Fcommand_execute):
10473 * eval.c (Fautoload):
10474 * eval.c (Fbacktrace):
10475 * eval.c (Fbacktrace_frame):
10477 * events.c (Fcopy_event):
10478 * events.c (Fcharacter_to_event):
10479 * events.c (Fevent_button):
10480 * events.c (Fevent_process):
10482 * extents.c (Fnext_extent_change):
10483 * extents.c (Fextent_property):
10484 * faces.c (Ffacep):
10485 * faces.c (Fmake_face):
10487 * file-coding.c (Fencode_shift_jis_char):
10488 * file-coding.c (Fencode_big5_char):
10489 * fileio.c (Ffile_name_directory):
10490 * fileio.c (Ffile_name_nondirectory):
10491 * fileio.c (Ffile_name_as_directory):
10492 * fileio.c (Fdirectory_file_name):
10493 * fileio.c (Ffile_truename):
10494 * fileio.c (Fsubstitute_in_file_name):
10495 * fileio.c (Ffile_modes):
10496 * fileio.c (Fset_file_modes):
10497 * fileio.c (Fset_default_file_modes):
10498 * fileio.c (Fverify_visited_file_modtime):
10499 * floatfns.c (Facos):
10500 * floatfns.c (Fasin):
10501 * floatfns.c (Fatan):
10502 * floatfns.c (Fcos):
10503 * floatfns.c (Fsin):
10504 * floatfns.c (Ftan):
10505 * floatfns.c (Fbessel_j0):
10506 * floatfns.c (Fbessel_j1):
10507 * floatfns.c (Fbessel_jn):
10508 * floatfns.c (Fbessel_y0):
10509 * floatfns.c (Fbessel_y1):
10510 * floatfns.c (Fbessel_yn):
10511 * floatfns.c (Ferf):
10512 * floatfns.c (Ferfc):
10513 * floatfns.c (Flog_gamma):
10514 * floatfns.c (Fexp):
10515 * floatfns.c (Fexpt):
10516 * floatfns.c (Flog):
10517 * floatfns.c (Flog10):
10518 * floatfns.c (Fsqrt):
10519 * floatfns.c (Fcube_root):
10520 * floatfns.c (Facosh):
10521 * floatfns.c (Fasinh):
10522 * floatfns.c (Fatanh):
10523 * floatfns.c (Fcosh):
10524 * floatfns.c (Fsinh):
10525 * floatfns.c (Ftanh):
10526 * floatfns.c (Fabs):
10527 * floatfns.c (Ffloat):
10528 * floatfns.c (Flogb):
10529 * floatfns.c (Fceiling):
10530 * floatfns.c (Ffloor):
10531 * floatfns.c (Fround):
10532 * floatfns.c (Ftruncate):
10533 * floatfns.c (Ffceiling):
10534 * floatfns.c (Fffloor):
10535 * floatfns.c (Ffround):
10536 * floatfns.c (Fftruncate):
10537 * fns.c (Fstring_equal):
10538 * fns.c (Fstring_lessp):
10541 * fns.c (vconcat2):
10542 * fns.c (vconcat3):
10543 * fns.c (Fsubstring):
10545 * fns.c (Fold_assoc):
10546 * fns.c (assoc_no_quit):
10548 * fns.c (Fold_assq):
10549 * fns.c (assq_no_quit):
10551 * fns.c (Fold_rassoc):
10553 * fns.c (Fold_rassq):
10554 * fns.c (rassq_no_quit):
10555 * fns.c (Fremassoc):
10556 * fns.c (remassoc_no_quit):
10557 * fns.c (Fremassq):
10558 * fns.c (remassq_no_quit):
10559 * fns.c (Fremrassoc):
10560 * fns.c (Fremrassq):
10561 * fns.c (remrassq_no_quit):
10563 * fns.c (Fplist_get):
10564 * fns.c (Fplist_put):
10565 * fns.c (Fplist_remprop):
10566 * fns.c (Fplist_member):
10567 * fns.c (Flax_plist_get):
10568 * fns.c (Flax_plist_put):
10569 * fns.c (Flax_plist_remprop):
10570 * fns.c (Flax_plist_member):
10572 * fns.c (Fold_equal):
10573 * fns.c (Frequire):
10574 * fns.c (Fbase64_encode_region):
10575 * fns.c (Fbase64_encode_string):
10576 * fns.c (Fbase64_decode_region):
10578 * frame.c (frame_matches_frame_spec):
10579 * frame.c (device_matches_device_spec):
10580 * frame.c (next_frame):
10581 * frame.c (previous_frame):
10582 * frame.c (Fnext_frame):
10583 * frame.c (Fprevious_frame):
10584 * frame.c (Fframe_property):
10585 * frame.c (Fset_frame_height):
10586 * frame.c (Fset_frame_size):
10590 * glyphs.c (decode_error_behavior_flag):
10591 * glyphs.c (Fmake_image_instance):
10592 * indent.c (Findent_to):
10593 * intl.c (Fignore_defer_gettext):
10594 * keymap.c (Fkeymapp):
10595 * keymap.c (Flookup_key):
10597 * lread.c (Fload_internal):
10598 * lread.c (Feval_buffer):
10599 * lread.c (Feval_region):
10600 * macros.c (Fexecute_kbd_macro):
10601 * marker.c (set_marker_internal):
10602 * marker.c (Fset_marker):
10603 * marker.c (set_marker_restricted):
10604 * marker.c (Fcopy_marker):
10605 * marker.c (noseeum_copy_marker):
10607 * menubar.c (Fpopup_menu):
10609 * mule-charset.c (Fcharset_name):
10610 * mule-charset.c (Fchar_charset):
10611 * mule-charset.c (Fchar_octet):
10612 * mule-charset.c (Fsplit_char):
10613 * mule-wnnfns.c (Fwnn_open):
10614 * mule-wnnfns.c (Fwnn_dict_comment):
10615 * mule-wnnfns.c (Fwnn_quit_henkan):
10616 * mule-wnnfns.c (Fwnn_word_toroku):
10617 * mule-wnnfns.c (Fwnn_word_sakujo):
10618 * mule-wnnfns.c (Fwnn_word_use):
10619 * mule-wnnfns.c (Fwnn_hindo_set):
10621 * objects.c (Fmake_color_instance):
10622 * objects.c (Fmake_font_instance):
10623 * print.c (Fwrite_char):
10625 * process.c (mark_process):
10626 * process.c (print_process):
10627 * process.c (get_process_from_usid):
10628 * process.c (Fprocessp):
10629 * process.c (Fprocess_live_p):
10630 * process.c (Fget_process):
10631 * process.c (Fget_buffer_process):
10632 * process.c (get_process):
10633 * process.c (Fprocess_id):
10634 * process.c (Fprocess_name):
10635 * process.c (Fprocess_command):
10636 * process.c (init_process_io_handles):
10637 * process.c (start_process_unwind):
10638 * process.c (Fstart_process_internal):
10639 * process.c (Fopen_multicast_group_internal):
10640 * process.c (Fset_process_window_size):
10641 * process.c (read_process_output):
10642 * process.c (send_process):
10643 * process.c (Fprocess_tty_name):
10644 * process.c (Fset_process_buffer):
10645 * process.c (Fprocess_buffer):
10646 * process.c (Fprocess_mark):
10647 * process.c (set_process_filter):
10648 * process.c (Fset_process_filter):
10649 * process.c (Fprocess_filter):
10650 * process.c (Fprocess_send_region):
10651 * process.c (Fprocess_send_string):
10652 * process.c (exec_sentinel):
10653 * process.c (Fset_process_sentinel):
10654 * process.c (Fprocess_sentinel):
10655 * process.c (status_notify):
10656 * process.c (Fprocess_status):
10657 * process.c (Fprocess_exit_status):
10658 * process.c (process_send_signal):
10659 * process.c (Fprocess_send_eof):
10660 * process.c (deactivate_process):
10661 * process.c (remove_process):
10662 * process.c (Fdelete_process):
10663 * process.c (kill_buffer_processes):
10664 * process.c (Fprocess_kill_without_query):
10665 * process.c (Fprocess_kill_without_query_p):
10667 * rangetab.c (Fget_range_table):
10668 * rangetab.c (Fput_range_table):
10669 * rangetab.c (Fremove_range_table):
10670 * rangetab.c (Fclear_range_table):
10672 * search.c (Fskip_chars_forward):
10673 * search.c (Fskip_chars_backward):
10674 * search.c (Fskip_syntax_forward):
10675 * search.c (Fskip_syntax_backward):
10676 * search.c (search_command):
10677 * search.c (Freplace_match):
10678 * search.c (Fregexp_quote):
10679 * select.c (Fown_selection_internal):
10680 * select.c (Fselection_owner_p):
10681 * select.c (Fselection_exists_p):
10682 * select.c (Fget_selection_internal):
10685 * symbols.c (Fintern):
10686 * symbols.c (Fintern_soft):
10687 * symbols.c (Funintern):
10688 * symbols.c (Fapropos_internal):
10689 * symbols.c (Fset_default):
10691 * syntax.c (Fsyntax_table_p):
10692 * syntax.c (Fcopy_syntax_table):
10693 * syntax.c (Fset_syntax_table):
10694 * syntax.c (Fchar_syntax):
10695 * syntax.c (syntax_match):
10696 * syntax.c (Fmatching_paren):
10697 * syntax.c (Fforward_word):
10698 * syntax.c (scan_lists):
10699 * syntax.c (Fscan_lists):
10700 * syntax.c (Fscan_sexps):
10701 * syntax.c (Fparse_partial_sexp):
10702 * toolbar.c (Fcheck_toolbar_button_syntax):
10705 * window.c (Fwindowp):
10706 * window.c (Fwindow_live_p):
10707 * window.c (Fwindow_point):
10708 * window.c (Fdelete_window):
10709 * window.c (Fnext_window):
10710 * window.c (Fprevious_window):
10711 * window.c (Fother_window):
10712 * window.c (window_loop):
10713 * window.c (Fget_lru_window):
10714 * window.c (Fsplit_window):
10715 * window.c (Fenlarge_window):
10716 * window.c (Fenlarge_window_pixels):
10717 * window.c (Fshrink_window):
10718 * window.c (Fshrink_window_pixels):
10719 * window.c (change_window_height):
10720 * window.c (Fwindow_configuration_p):
10721 * window.c (Fcurrent_window_configuration):
10723 * casefiddle.c (casify_object):
10724 * casefiddle.c (Fupcase):
10725 * casefiddle.c (Fdowncase):
10726 * casefiddle.c (Fcapitalize):
10727 * casefiddle.c (Fupcase_initials):
10728 * casefiddle.c (casify_region_internal):
10729 * casefiddle.c (casify_region):
10730 * casefiddle.c (Fupcase_region):
10731 * casefiddle.c (Fdowncase_region):
10732 * casefiddle.c (Fcapitalize_region):
10733 * casefiddle.c (Fupcase_initials_region):
10734 * casefiddle.c (Fupcase_word):
10735 * casefiddle.c (Fdowncase_word):
10736 * casefiddle.c (Fcapitalize_word):
10737 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10738 Replace 0 with '\0' when working with bytes.
10739 Replace initial "(" with "\(" in docstrings.
10741 2000-11-01 Martin Buchholz <martin@xemacs.org>
10743 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10745 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10747 2000-10-31 Martin Buchholz <martin@xemacs.org>
10749 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10751 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10753 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10756 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10758 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10759 (inhibit_auto_save_session): New variable.
10760 (vars_of_fileio): Declare and initialize them.
10761 * fileio.c (Fdo_auto_save): Don't create session file if
10762 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10764 2000-10-31 Martin Buchholz <martin@xemacs.org>
10766 * sgiplay.c (play_internal): C++ compilability.
10767 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10768 * callproc.c (Fold_call_process_internal):
10769 Remove unused vars `env', `first'.
10770 * scrollbar.c (update_scrollbar_instance):
10771 #### unused var `current_window'.
10772 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10773 etc. within #ifdef NOT_YET.
10774 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10775 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10776 * specifier.c (specifier_instance):
10777 #### unused var `tag'.
10778 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10780 2000-10-27 Martin Buchholz <martin@xemacs.org>
10782 * fns.c (Fbutlast):
10783 * fns.c (list_sort):
10784 * fns.c (Ffillarray):
10785 * fns.c (bytecode_nconc2):
10788 * fns.c (Fmapconcat):
10789 Be pedantically 64-bit correct. For the time when someone will
10790 want to have a list with length > 2**32.
10792 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10793 Work around MIPSpro compiler bug.
10795 * process-unix.c (unix_kill_child_process): Add snarky comment.
10796 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10798 * config.h.in: Oops, _getpt ==> _getpty
10800 2000-10-26 Martin Buchholz <martin@xemacs.org>
10804 Use void*, not char*, as return type of alloca().
10806 * alloc.c (free_marker): Side effect inside assert expression!
10808 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10810 * mule-charset.c (Fset_charset_ccl_program): To check
10811 if the given ccl program is valid, use setup_ccl_program()
10812 instead of CHECK_VECTOR().
10813 (Fmake_charset): Likewise.
10815 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10817 * faces.c (get_extent_fragment_face_cache_index):
10818 Fix cachel.merged_faces memory leak.
10820 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10822 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10823 Reset MSB of octets obtained by DECODE_SJIS
10824 because of the incompatibility with Emacs.
10825 (ccl_driver)<CCL_ENCODE_SJIS>:
10826 Set MSB of octets before passing them to
10827 ENCODE_SJIS because of the incompatibility
10830 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10832 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10833 (DECLARE_LRECORD): Undo the last change.
10834 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10836 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10838 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10839 the implementation to lrecord_implementations_table.
10841 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10843 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10844 initial value of `lrecord_type_##c_name' and
10845 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10846 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10847 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10848 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10849 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10851 2000-10-17 Martin Buchholz <martin@xemacs.org>
10853 * miscplay.c (sndcnv8S_2mono):
10854 (sndcnv2monounsigned):
10855 (sndcnvULaw_2linear):
10857 Remove implementation-defined behavior.
10859 2000-10-12 Martin Buchholz <martin@xemacs.org>
10861 * input-method-xlib.c: Warning suppression.
10863 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10865 * mule-ccl.c: Sync up with Emacs 21.0.90.
10866 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10868 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10870 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10871 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10872 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10873 leading char belongs to official 2-dimensional charset.
10874 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10875 write the given character as is. Otherwise,
10876 if it is a multibyte char, convert it by
10877 non_ascii_set_charptr_emchar, then write it.
10878 (CCL_WRITE_STRING): Likewise.
10879 (ccl_get_compiled_code): New function.
10880 (setup_ccl_program): When ccl_prog is invalid,
10882 (Fregister_code_conversion_map): New function.
10883 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10885 * mule-ccl.h: Sync up with Emacs 21.0.90.
10886 (Fregister_ccl_program): export it.
10888 * redisplay-msw.c (separate_textual_runs):
10889 If ccl program is not valid, don't do ccl conversion.
10891 * redisplay-x.c (separate_textual_runs): Ditto.
10893 * file-coding.c (Fmake_coding_system):
10894 When type is ccl and value is vector, register it
10895 with a proper symbol. And checks whether the
10896 given ccl program is valid.
10897 (mule_decode): When calling ccl_driver, if src indicates
10898 NULL pointer, set an empty string instead.
10899 (mule_encode): Likewise.
10901 2000-10-11 Martin Buchholz <martin@xemacs.org>
10903 The following large batch of changes gets us back to a state of
10904 C++ compilability. Extbyte is now a char, which means that
10905 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10907 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10909 * sound.c (Fplay_sound): Type correctness.
10911 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10912 (x_get_window_property): Type correctness.
10913 (receive_incremental_selection): unsigned char ==> Extbyte
10914 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10915 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10916 (Fx_store_cutbuffer_internal): Type correctness.
10918 * process-unix.c (try_to_initialize_subtty): Type correctness.
10920 * objects-x.c (x_print_color_instance): Type correctness.
10921 (x_print_font_instance): Type correctness.
10922 (x_list_fonts): SExtbyte ==> Extbyte.
10923 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10924 (x_find_charset_font): SExtbyte ==> Extbyte.
10925 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10926 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10927 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10928 Use bufbyte_strcmp.
10930 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10931 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10932 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10933 (BYTE_C0_P): Use bit ops for char-signedness safety.
10934 (BYTE_C1_P): Use bit ops for char-signedness safety.
10935 (CHARSET_BY_LEADING_BYTE):
10936 (CHARSET_BY_ATTRIBUTES):
10937 Always use inline function.
10938 Use type_checking_assert.
10941 * mule-charset.c (non_ascii_charptr_copy_char):
10942 Modify to work with both ASCII and non-ASCII characters.
10943 Improve docs and variable names.
10944 Replace over-clever fall-through switch with a simple loop.
10945 (Lstream_get_emchar_1):
10946 Replace over-clever fall-through switch with a simple loop.
10948 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10949 Warning suppression.
10951 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10952 the return value of Lstream_getc, which could be EOF as well.
10954 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10956 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10957 APIs can be used on Extbytes without casts. Risky!
10958 (SExtbyte): Remove.
10959 (UExtbyte): Remove.
10961 * input-method-xlib.c (XIM_init_device):
10962 Use Xlib.h instead of IntrinsicP.h.
10963 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10964 which will break in X11R7.
10965 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10966 to call XRegisterIMInstantiateCallback with correct types.
10968 * gui-x.c (button_item_to_widget_value): Type correctness.
10970 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10972 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10973 (xbm_instantiate_1): Type correctness.
10974 (BUILD_GLYPH_INST): Type correctness.
10976 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10979 (decode_coding_sjis):
10980 (decode_coding_big5):
10981 (decode_coding_ucs4):
10982 (decode_coding_utf8):
10983 (decode_coding_iso2022):
10984 (decode_coding_no_conversion):
10985 Make all decoding functions take an Extbyte * arg.
10986 (encode_coding_sjis):
10987 (encode_coding_big5):
10988 (encode_coding_ucs4):
10989 (encode_coding_utf8):
10990 (encode_coding_iso2022):
10991 (encode_coding_no_conversion):
10992 Make all encoding functions take a Bufbyte * arg.
10993 Use size_t instead of unsigned int for memory sizes.
10994 Only cast to unsigned char whenever dereferencing Extbyte *.
10996 * doc.c (unparesseuxify_doc_string): Type correctness.
10998 * console-x.c (split_up_display_spec):
10999 Rewrite without using details of internal string representation.
11000 (x_semi_canonicalize_device_connection): Type correctness.
11003 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
11004 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
11005 (HAVE_XFREE386): Removed.
11007 * buffer.h (DEC_CHARPTR): `const' correctness.
11008 (bufbyte_strcmp): New.
11009 (bufbyte_memcmp): New.
11011 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
11013 * buffer.h (XCHAR_OR_CHAR_INT):
11014 Always use inline function.
11015 Remove redundant type checking assert() - XINT will abort quite nicely.
11017 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11019 * search.c (Freplace_match): Set newtext to an empty string.
11021 2000-10-10 Martin Buchholz <martin@xemacs.org>
11023 * s/decosf1-3.h: Remove #include of stropts.h
11024 * s/ptx.h: Remove #include of stropts.h
11025 * s/usg5-4.h: Remove #include of stropts.h
11028 Use stropts.h, not sys/stropts.h.
11029 Use strtio.h, not sys/strtio.h.
11031 2000-10-04 Martin Buchholz <martin@xemacs.org>
11033 * XEmacs 21.2.36 is released.
11035 2000-09-21 Andy Piper <andy@xemacs.org>
11037 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11038 changes still involve copying the widget tree.
11039 (update_widget_face): make sure a change is register in the widget
11040 tree. Call update_tab_widget_face appropriately.
11041 (update_tab_widget_face): ditto.
11042 (x_tab_control_redisplay): make sure non-structural changes still
11043 involve copying the widget tree.
11045 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11047 * lread.c (locate_file): Check the path element is non-nil.
11049 2000-10-02 Martin Buchholz <martin@xemacs.org>
11051 * lisp.h: Warning suppression for SCO compilers.
11053 * redisplay-tty.c (reset_tty_modes): Fix crash.
11054 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11056 2000-09-27 Martin Buchholz <martin@xemacs.org>
11058 Big signal/process handling overhaul. Bugs fixed:
11059 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11060 M-x comint-kill-subjob should work for both values nil and t of
11061 process-connection-type. It was broken on most platforms.
11062 Testing on Irix and Cygwin still needed. Other plaforms tested.
11063 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11064 * process-unix.c: Signal/Process handling overhaul.
11065 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11066 (allocate_pty): Use all available modern methods of allocating
11067 ptys, falling back to old style BSD allocation as a last resort.
11068 Use allegedly more secure Unix98 pty allocation by default.
11069 (allocate_pty_the_old_fashioned_way): New. the last resort.
11070 (unix_create_process): Push ptem, ldterm, ttcompat where
11071 available. Autoconfiscate.
11072 (try_to_initialize_subtty): New.
11073 (unix_kill_child_process): Proper signal handling for ptys on most
11074 platforms, using special knowledge of AIX, BSD, etc...
11075 (unix_create_process): Always disconnect_controlling_terminal() for
11076 subprocesses, whether using ptys or not.
11077 * process.h: Remove old getpt-dependent PTY code.
11078 * process.c (Fprocess_send_signal): New, obvious generic function.
11079 (decode_signal): New.
11080 (Finterrupt_process):
11084 (Fcontinue_process):
11085 (Fsignal_process): Use decode_signal.
11086 (process_send_signal):
11087 Many docstring corrections.
11088 Allow any signal to be sent to a process object.
11089 * config.h.in: Add symbols for big signal/process overhaul.
11090 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11091 * sysproc.h: Include process-related headers, where available:
11092 sys/stropts.h sys/strtio.h pty.h libutil.h
11100 Remove old S&M pty stuff.
11101 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11102 * systty.h: Simplify cpp hackery, improve comments.
11103 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11105 * editfns.c (Fformat_time_string):
11106 Be a little more paranoid with the return value of ctime.
11108 * fileio.c (check_executable):
11110 Use symbolic constants X_OK, W_OK.
11112 * console-x.c (split_up_display_spec): Fix a warning.
11114 2000-10-02 Martin Buchholz <martin@xemacs.org>
11116 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11117 * ntproc.c (sys_spawnve): make_string ==> build_string
11118 Small clarity improvements.
11120 2000-09-30 Martin Buchholz <martin@xemacs.org>
11122 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11124 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11126 * config.h.in (HAVE_STRCASECMP): Remove.
11128 2000-09-29 Martin Buchholz <martin@xemacs.org>
11130 * redisplay-output.c (redisplay_output_pixmap):
11131 Cleaner and possibly more 64-bit correct code.
11133 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11135 * dumper.c (pdump_load_finish): move restoration of
11136 `noninteractive1' to emacs.c (main_1).
11137 * emacs.c (main_1): protect LISP-visible command-line flags
11140 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11142 * Makefile.in.in (versionclean): Use EXE_TARGET and
11143 DUMP_TARGET instead of literal program names.
11145 2000-09-20 Martin Buchholz <martin@xemacs.org>
11147 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11149 2000-09-19 Martin Buchholz <martin@xemacs.org>
11151 * *: Spelling mega-patch
11153 2000-09-19 Martin Buchholz <martin@xemacs.org>
11155 * fns.c (bad_bad_turtle):
11156 Delete "Eek!" comment, since we fixed the bug to which it refers.
11158 2000-09-16 Martin Buchholz <martin@xemacs.org>
11160 * alloca.c: Replace REGISTER with register.
11162 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11164 * file-coding.c (ucs_to_char): Use countof.
11166 2000-09-16 Martin Buchholz <martin@xemacs.org>
11168 * file-coding.c: (ucs_to_char):
11169 (complex_vars_of_file_coding):
11170 Use countof instead of sizeof.
11171 Use CHECK_NATNUM instead of CHECK_INT.
11173 * sysdep.c (strcasecmp): Remove.
11174 * device-x.c (ascii_strcasecmp): New.
11175 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11176 Avoid using non-standard non-portable strcasecmp.
11178 2000-09-16 Martin Buchholz <martin@xemacs.org>
11180 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11181 * font-lock.c: remove reference to emacsfns.h.
11182 * search.c: small doc improvement.
11183 * event-Xt.c: correct file names in comments.
11184 * console-x.h Correct file names in comments.
11185 * frame.c: Correct file names in comments.
11186 * event-stream.c: remove Energize from comments.
11188 2000-09-15 Martin Buchholz <martin@xemacs.org>
11190 * symeval.h (DEFERROR_STANDARD):
11193 (DEFSYMBOL_NO_DUMP):
11194 (DEFSYMBOL_MULTIWORD_PREDICATE):
11195 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11197 The construct &##name is not sensible C.
11198 Fixes compilation errors with Unixware native compiler.
11200 2000-09-14 Martin Buchholz <martin@xemacs.org>
11202 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11203 (next_frame_internal): Removed. We now just have next_frame.
11205 Write a simpler and cleaner one-pass algorithm.
11206 Remove called_from_delete_device arg and #ifdefed-out code.
11208 Renamed from prev_frame. Update callers.
11209 Cleaned up to have an analogous implementation to next_frame.
11210 (other_visible_frames_internal): Remove the
11211 called_from_delete_device bogus arg, and hence, remove this
11212 function. Just use other_visible_frames().
11214 * window.c (Fnext_window):
11215 Prettify docstring.
11216 Since next_frame() is guaranteed to return a frame, remove check
11217 for nil inserted in previous patch.
11218 (Fprevious_window):
11219 Prettify docstring.
11220 Make code look more like Fnext_window.
11222 Respect the `console' arg when iterating through windows.
11223 Fixes bug: (get-buffer-window buffer t device) not respecting
11225 This function needs more work, as others have pointed out.
11227 * frame.h: Rename prev_frame to previous_frame.
11228 device_matches_console_spec no longer takes a `frame' arg.
11233 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11234 From "Golubev I. N." <gin@mo.msk.ru>.
11236 * make-src-depend: Fix typo.
11238 2000-09-13 Martin Buchholz <martin@xemacs.org>
11240 * window.c (Fnext_window):
11241 next_frame() might return nil, not a frame.
11243 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11245 * frame.c (next_frame_internal):
11246 We've passed a frame if we've passed its device.
11248 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11249 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11251 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11253 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11254 Allow option to suppress accelerators in menu/dialog items.
11255 (populate_or_checksum_helper): Pass dialog title through above.
11257 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11259 * event-msw.c (mswindows_key_to_emacs_keysym):
11260 Add "pause" key, fix "menu" key.
11262 2000-09-09 Martin Buchholz <martin@xemacs.org>
11264 * eval.c (reinit_vars_of_eval):
11265 Increase max_lisp_eval_depth to 1000,
11266 required for thai-xtis.el to byte-compile under some circumstances.
11268 2000-09-04 Martin Buchholz <martin@xemacs.org>
11270 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11271 From Kenichi Handa.
11273 2000-09-01 Martin Buchholz <martin@xemacs.org>
11275 * make-src-depend: Make the generated Makefiles smaller.
11277 * s/hpux.h (SETUP_SLAVE_PTY):
11278 Provide a %d in the format string for the errno argument.
11280 * editfns.c (Ftemp_directory):
11282 Avoid buffer overrun on very long file name.
11284 * input-method-xlib.c (XIM_init_device):
11285 6th parameter of XRegisterIMInstantiateCallback has different
11286 pointer types on different OSes, so simply cast to (void *).
11288 * unexhp9k800.c: Warning fixes. Fiddly changes.
11290 * sysdll.c (dll_open):
11291 shl_load will hang hard if passed a NULL filename.
11292 Simply return NULL for compatibility with dlopen.
11293 * sysdll.c: Conform to XEmacs coding standards.
11295 * sysdep.c (get_pty_max_bytes):
11296 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11298 2000-08-31 Martin Buchholz <martin@xemacs.org>
11300 * tooltalk.c: Add #include <syssignal.h>
11302 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11304 * s/hpux.h: Don't use undefined function sigunblock().
11306 2000-08-31 Martin Buchholz <martin@xemacs.org>
11308 * config.h.in: Add HAVE_BALLOON_HELP.
11309 * emacs.c: Use HAVE_BALLOON_HELP.
11310 * Makefile.in.in (x_objs):
11311 Make Balloon Help conditional on finding shape.h.
11313 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11315 * syntax.c (regex_emacs_buffer_p): New variable.
11316 * syntax.h (regex_emacs_buffer_p): extern.
11317 * search.c (looking_at_1):
11319 (fast_string_match):
11320 (search_buffer): Set regex_emacs_buffer_p.
11321 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11322 when before_dot, at_dot, after_dot.
11324 2000-08-23 Andy Piper <andy@xemacs.org>
11326 * gui-x.c (popup_selection_callback): Only set action_occurred
11327 when we really have an image instance.
11328 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11330 2000-08-23 Andy Piper <andy@xemacs.org>
11332 * gui-msw.c (mswindows_handle_gui_wm_command): set
11334 * gui-x.c (popup_selection_callback): ditto.
11336 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11337 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11338 (struct Lisp_Image_Instance): add action_occurred flag.
11340 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11341 (image_instance_changed): ditto.
11342 (reset_frame_subwindow_instance_cache): only unmap windows - do
11343 not remove them from the cache also.
11345 * glyphs-widget.c (tab_control_update): better debug.
11346 (progress_gauge_update): ditto.
11347 (layout_update): ditto.
11348 (layout_instantiate): ditto.
11349 (tab_control_order_only_changed): cope with null pending items.
11351 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11352 debug. Force selection of an item when an action occurred. Cope
11353 with null pending_items.
11354 (mswindows_progress_gauge_redisplay): better debug.
11355 * glyphs-x.c (x_tab_control_redisplay): ditto.
11357 * redisplay.c (redisplay_frame): reset the frame cache if the
11360 * window.c (Fset_window_configuration): potentially re-enable
11362 (window_unmap_subwindows): need to finalize instances here since
11363 it is only used in mark_window_as_deleted.
11365 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11367 * nas.c (SndOpenDataForReading):
11368 nas.c (WaveOpenDataForReading):
11369 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11370 Somehow escaped from the 2000-08-14 patch.
11372 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11374 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11375 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11377 2000-08-21 Andy Piper <andy@xemacs.org>
11379 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11380 window if it is not already displayed.
11382 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11383 it is not already displayed.
11385 * window.c (Fset_window_configuration): don't reset the frame
11388 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11389 instances from the frame cache if we are actually finalizing them.
11390 (reset_frame_subwindow_instance_cache): reset frame cache only
11391 after unmapping everything.
11392 (map_subwindow): set displayed flag after mapping.
11394 2000-08-21 Martin Buchholz <martin@xemacs.org>
11396 * data.c (indirect_function):
11397 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11399 * eval.c (function_argcount):
11400 Use original function when signaling errors.
11402 2000-08-18 Andy Piper <andy@xemacs.org>
11404 * frame.c (delete_frame_internal): use new
11405 free_frame_subwindow_instances name.
11407 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11408 (add_tab_item): make return type correct.
11409 (mswindows_tab_control_instantiate): assert index of tab.
11410 (mswindows_tab_control_redisplay): Re-code to use
11411 gui_item_equal_sans_selected and gui_item_list_find_selected.
11413 * glyphs-widget.c (tab_control_update): Correct comment.
11415 * window.c (window_unmap_subwindows): use new
11416 unmap_subwindow_instance_cache_mapper.
11417 (window_unmap_subwindows_cache_mapper): deleted.
11418 (Fset_window_configuration): comparisons should now be with
11419 EQ. Preserve the subwindow instance cache across configuration
11421 (allocate_window): ditto.
11422 (make_dummy_parent): ditto.
11424 * glyphs.c (free_frame_subwindow_instances): rename from
11425 free_frame_subwindow_instance_cache. finalize all instances rather
11426 than just those in the display cache.
11427 (finalize_all_subwindow_instances): walk windows unmapping and
11428 finalizing subwindows.
11429 (unmap_subwindow_instance_cache_mapper): moved from
11430 window.c. Allow finalization as well as unmapping.
11432 * gui.c (gui_item_list_find_selected): new function.
11434 * gui.h (gui_item_list_find_selected): declare.
11436 * glyphs-x.c (x_tab_control_redisplay): pick tab
11437 explicitly. Re-code to use gui_item_equal_sans_selected and
11438 gui_item_list_find_selected.
11440 * glyphs-x.h: add lwlib-utils.h
11442 * buffer.c (Frecord_buffer): undo previous change.
11444 2000-08-09 Vin Shelton <acs@xemacs.org>
11446 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11447 possible. Create temporary files more securely. The patch was
11448 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11449 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11450 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11453 2000-08-07 Ben Wing <ben@xemacs.org>
11455 * getloadavg.c: remove duplicate (and windows-breaking)
11456 includes of fcntl.h and sys/file.h.
11458 * nt.c: remove duplicate getloadavg() definition.
11460 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11463 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11465 * eval.c (function_argcount): If function needs to be autoloaded
11466 actually use the loaded definition.
11469 2000-08-05 Ben Wing <ben@xemacs.org>
11471 * getloadavg.c: add prototype for getloadavg(). remove
11472 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11473 of the code). remove duplicate header includes.
11475 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11477 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11478 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11479 useful load average.
11481 * alloc.c (reinit_alloc_once_early): removed references to
11482 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11483 the lisp vars are the only things referencing the malloc_sbrk_*
11484 vars, and they were already if 0'd out. these vars only exist
11485 in the older malloc.c, which is basically unused, and they're
11486 only for informational purposes.
11488 * m\*.h: removed useless VIRT_ADDR_VARIES.
11490 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11492 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11494 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11495 color if the image is a mono pixmap.
11497 2000-07-30 Ben Wing <ben@xemacs.org>
11499 * Makefile.in.in (release):
11502 * buffer.c (directory_is_current_directory):
11503 * dired-msw.c (mswindows_get_files):
11505 * dired.c (Fdirectory_files):
11506 * dired.c (file_name_completion_stat):
11507 * dired.c (Ffile_attributes):
11508 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11509 preprocessor tricks, to avoid problems on some machines
11512 * callproc.c (egetenv): GC docs.
11515 * console-msw.h (struct mswindows_dialog_id):
11516 * lrecord.h (lrecord_type):
11517 New object for use with MSW dialogs.
11519 * console.h (struct console_methods):
11520 New enable/disable frame methods, for proper modal dialogs.
11522 * device-msw.c (msprinter_default_printer): Fix to follow
11523 proper Mule conventions.
11526 * device-msw.c (signal_open_printer_error):
11527 * device-msw.c (msprinter_init_device):
11528 * device-msw.c (ensure_not_printing):
11529 * device-msw.c (plist_get_margin):
11530 * device-msw.c (Fmsprinter_select_settings):
11531 * device-msw.c (finalize_devmode):
11532 * device-msw.c (Fmsprinter_settings_despecialize):
11533 * device-msw.c (signal_enum_priner_error):
11534 * extents.c (decode_extent):
11535 * extents.c (decode_map_extents_flags):
11536 * extents.c (decode_extent_at_flag):
11537 * extents.c (Fextent_at):
11538 * extents.c (Fextents_at):
11539 * extents.c (symbol_to_glyph_layout):
11540 [[[[2]]]] Use structured errors.
11543 * dialog-msw.c (mswindows_is_dialog_msg):
11544 * dialog-msw.c (mark_mswindows_dialog_id):
11545 * dialog-msw.c (dialog_proc):
11546 * dialog-msw.c (handle_question_dialog_box):
11547 * dialog-msw.c (syms_of_dialog_mswindows):
11548 Define new object to clean up marking; use it as a dialog identifier.
11549 Call new delete-dialog-box-hook.
11551 * dialog-x.c (dbox_selection_callback):
11552 * dialog-x.c (dbox_descriptor_to_widget_value):
11553 * dialog-x.c (x_make_dialog_box_internal):
11554 Call new delete-dialog-box-hook.
11558 * dialog.c (syms_of_dialog):
11559 * dialog.c (vars_of_dialog):
11560 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11563 * eval.c (signal_call_debugger):
11564 when noninteractive, output stack traces on the console instead
11565 of in a (never-seen) buffer.
11567 * eval.c (signal_type_error):
11568 * eval.c (invalid_argument_2):
11570 new funs for use w/structured errors.
11573 * event-Xt.c (x_to_emacs_keysym):
11574 * event-Xt.c (describe_event):
11575 * event-Xt.c (emacs_Xt_event_handler):
11576 * event-Xt.c (vars_of_event_Xt):
11578 * event-msw.c (mswindows_wnd_proc):
11579 * event-msw.c (vars_of_event_mswindows):
11580 rename {x,mswindows}-debug-events to debug-{}-events for
11581 consistency with other debug-foo variables.
11584 document next-event more clearly.
11586 * fileio.c (Ffile_name_directory):
11587 * fileio.c (Ffile_name_nondirectory):
11588 * fileio.c (Funhandled_file_name_directory):
11589 * fileio.c (file_name_as_directory):
11590 * fileio.c (Ffile_name_as_directory):
11591 * fileio.c (directory_file_name):
11592 * fileio.c (Fdirectory_file_name):
11593 * fileio.c (Fmake_temp_name):
11594 * fileio.c (Ffile_truename):
11595 * fileio.c (Fsubstitute_in_file_name):
11596 * fileio.c (expand_and_dir_to_file):
11597 * fileio.c (barf_or_query_if_file_exists):
11598 * fileio.c (check_executable):
11599 * fileio.c (Ffile_exists_p):
11600 * fileio.c (Ffile_writable_p):
11601 * fileio.c (Ffile_directory_p):
11602 * fileio.c (Ffile_regular_p):
11603 * fileio.c (Ffile_modes):
11604 * fileio.c (Ffile_newer_than_file_p):
11605 * fileio.c (Fverify_visited_file_modtime):
11606 * fileio.c (Fset_visited_file_modtime):
11607 * fileio.c (auto_save_1):
11612 * frame-msw.c (mswindows_init_frame_1):
11613 * frame-msw.c (mswindows_enable_frame):
11614 * frame-msw.c (error_frame_unsizable):
11615 * frame-msw.c (msprinter_init_frame_1):
11616 * frame-msw.c (msprinter_init_frame_3):
11617 * frame-msw.c (console_type_create_frame_mswindows):
11619 implement new enable/disable frame methods.
11622 * frame-x.c (x_enable_frame):
11623 * frame-x.c (console_type_create_frame_x):
11624 implement new enable/disable frame methods.
11627 * frame.c (Fdisable_frame):
11628 * frame.c (syms_of_frame):
11629 * frame.h (struct frame):
11630 implement new enable/disable frame methods/functions.
11635 * glyphs-msw.c (mswindows_widget_instantiate):
11636 comment that initial-focus should be implemented.
11639 * glyphs-widget.c (check_valid_instantiator):
11640 * glyphs-widget.c (check_valid_orientation):
11641 * glyphs-widget.c (check_valid_tab_orientation):
11642 * glyphs-widget.c (check_valid_justification):
11643 * glyphs-widget.c (check_valid_border):
11644 * glyphs-widget.c (check_valid_callback):
11645 * glyphs-widget.c (check_valid_int_or_function):
11646 * glyphs-widget.c (check_valid_string_or_vector):
11647 * glyphs-widget.c (check_valid_item_list_1):
11648 * glyphs-widget.c (widget_validate):
11649 * glyphs-widget.c (combo_box_validate):
11650 * glyphs-widget.c (widget_instantiate):
11651 * glyphs-widget.c (syms_of_glyphs_widget):
11652 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11653 * glyphs-widget.c (image_instantiator_combo_box):
11654 * glyphs-widget.c (image_instantiator_scrollbar):
11655 * glyphs-widget.c (image_instantiator_tab_control):
11656 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11658 support (unimplemented) keyword initial-focus.
11659 reindent long macros.
11661 * glyphs-x.c (x_redisplay_widget):
11662 * glyphs-x.c (x_button_instantiate):
11663 * glyphs-x.c (x_button_redisplay):
11664 * glyphs-x.c (x_progress_gauge_instantiate):
11665 * glyphs-x.c (x_edit_field_instantiate):
11666 * glyphs-x.c (x_combo_box_instantiate):
11667 * glyphs-x.c (x_tab_control_instantiate):
11668 * glyphs-x.c (x_label_instantiate):
11670 * gui-x.c (button_item_to_widget_value):
11671 * gui-x.c (gui_items_to_widget_values_1):
11672 * gui-x.c (gui_item_children_to_widget_values):
11673 * gui-x.c (gui_items_to_widget_values):
11675 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11676 add new flag to gui-parsing routines to indicate whether
11677 accelerator specs should be supported.
11679 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11681 * glyphs.h (struct Lisp_Image_Instance):
11682 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11683 add initial-focus flag.
11686 * gui.c (syms_of_gui):
11687 * gui.c (vars_of_gui):
11688 clean up menu-no-selection-hook.
11691 support delete-dialog-box-hook.
11693 * lread.c (Fload_internal):
11694 * lread.c (locate_file_in_directory_mapper):
11698 * lrecord.h (struct toolbar_button):
11699 * lrecord.h (syms_of_toolbar):
11700 document how to create a new object.
11702 * menubar-msw.c (mswindows_char_is_accelerator):
11703 may be called on frames w/o menus.
11705 * menubar.c (vars_of_menubar):
11706 clean up :filter docs.
11713 * process-nt.c (validate_signal_number):
11714 * process-nt.c (signal_cannot_launch):
11715 * process-nt.c (nt_create_process):
11716 * process-nt.c (nt_send_process):
11717 * process-nt.c (nt_kill_child_process):
11718 * process-nt.c (nt_open_network_stream):
11719 * process-nt.c (syms_of_process_nt):
11721 delete quote-handling. call new lisp code that does it better.
11723 * process-unix.c (connect_to_file_descriptor):
11724 * process-unix.c (allocate_pty):
11725 * process-unix.c (unix_send_process):
11726 * process-unix.c (unix_kill_child_process):
11727 * process-unix.c (unix_open_network_stream):
11728 * process-unix.c (unix_open_multicast_group):
11732 * process.c (Fstart_process_internal):
11733 (2). need to canonicalize process path even if absolute.
11735 * select-msw.c (symbol_to_ms_cf):
11736 * select-msw.c (ms_cf_to_symbol):
11737 * select-msw.c (cf_is_autofreed):
11738 * select-msw.c (mswindows_destroy_selection):
11740 * select.c (syms_of_select):
11742 support dibv5, fix bugs. (from Mike Alexander)
11744 * select.c (Fget_selection_internal):
11745 * select.c (select_convert_out):
11748 * sysdep.c (xemacs_stat):
11751 * sysdep.c (mkdir):
11752 * sysdep.c (rmdir):
11753 but keep original stat() here because we provide encapsulation
11757 * sysfile.h (fstat):
11758 remove stat garbage.
11761 fix X/MSW conflict.
11762 don't include tchar.h. it's inappropriate because it makes
11763 compile-time distinctions when we want runtime distinctions.
11764 (we provide our own tchar replacements)
11767 use default object printer for toolbar-button.
11770 make sure we don't encapsulate.
11772 * window.c (vars_of_window):
11773 emphasize that temp-buffer-show-hook is obsolete.
11775 2000-08-05 Martin Buchholz <martin@xemacs.org>
11777 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11778 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11780 * events.c (Fevent_timestamp_lessp):
11781 Not 64-bit clean. Use EMACS_INT, not int.
11783 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11785 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11786 unsigned int and changed the last enum to
11787 lrecord_type_last_built_in_type.
11788 (lrecord_implementations_table): changed prototype to know how
11789 long the array is supposed to be.
11790 (lrecord_type_count): new unsigned int to keep track of the
11791 current number of lisp lrecord types.
11792 (DEFINE_EXTERNAL_LRECORD):
11793 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11794 dynamic-modules to declare new lisp types. They are the same
11795 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11796 int for each new type, and increment lrecord_type_count by 1.
11798 * alloc.c (lrecord_implementations_table): Changed to reference
11799 lrecord_type_last_built_in_type for the size of the array.
11800 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11802 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11804 * glyphs.h (check_valid_item_list): Renamed from
11805 check_valid_item_list_1.
11807 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11809 * select.c (Qselect_coerce): New.
11810 * select.c (Vselection_coercion_alist): New.
11811 * select.c (syms_of_select): Declare.
11812 * select.c (get-selection-internal): Use it.
11813 Use the new select-coerce functionality.
11815 * select.c (select_coerce): New.
11816 * select.h (select_coerce): Declare.
11817 New function to coerce one type of data into another.
11819 2000-08-03 Martin Buchholz <martin@xemacs.org>
11821 * callproc.c (Fcall_process_internal):
11822 (Fcall_process_internal):
11823 * process-unix.c (unix_create_process):
11824 Save and restore the value of errno, so that error messages are accurate.
11826 2000-08-01 Martin Buchholz <martin@xemacs.org>
11828 * elhash.c (print_hash_table):
11829 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11830 Prettify docstrings and indentation.
11832 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11834 * window.c (Fwindow_pixel_edges): Subtract frame border and
11837 2000-07-31 Andy Piper <andy@xemacs.org>
11839 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11840 will acknowledge the change.
11842 * glyphs.h: declare tab_control_order_only_changed.
11844 * glyphs-x.c (x_tab_control_redisplay): use
11845 tab_control_order_only_changed.
11847 * glyphs-widget.c (tab_control_order_only_changed): new function.
11849 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11850 tab_control_order_only_changed.
11852 * gui.c (gui_item_equal_sans_selected): new function.
11853 (gui_item_equal): use it.
11855 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11856 :properties in favor of :items..
11858 * glyphs-widget.c (check_valid_item_list): rename from
11859 check_valid_item_list_1.
11860 (check_valid_item_list_1): renamed.
11861 (combo_box_validate): deprecate :properties in favor of :items.
11862 (widget_instantiate): ditto.
11863 (tab_control_update): ditto.
11864 (image_instantiator_combo_box): ditto.
11865 (image_instantiator_tree_view): ditto.
11866 (image_instantiator_tab_control): ditto.
11867 (layout_post_instantiate): remove dead code.
11869 * print.c (debug_print_no_newline): only write to debugger if in
11872 * elhash.c (Fmake_hash_table): update doc string.
11874 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11875 messages whilst in GC. This at least stops XEmacs crashing but has
11876 the potential for wierd behaviour.
11878 2000-07-31 Martin Buchholz <martin@xemacs.org>
11881 Make existence of s&m files optional.
11883 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11884 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11885 * s/gnu.h: Remove HAVE_GETLOADAVG.
11886 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11887 * s/sol2.h: Remove HAVE_GETLOADAVG.
11888 * lisp.h: Remove getloadavg() declaration.
11890 Include <sys/loadavg.h> if available.
11891 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11892 * config.h.in: Group together getloadavg()-related macros.
11893 Use only configure-time tests to detect getloadavg().
11895 2000-07-30 Martin Buchholz <martin@xemacs.org>
11897 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11899 2000-07-25 Andy Piper <andy@xemacs.org>
11901 * syswindows.h: add tchar.h for native builds.
11903 * frame.c (syms_of_frame): remove set-glyph-image.
11905 * general-slots.h: add Qset_glyph_image.
11907 * glyphs-widget.c (layout_update): add domain arg to
11909 (syms_of_glyphs_widget): remove set-glyph-image.
11911 2000-07-23 Ben Wing <ben@xemacs.org>
11913 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11916 2000-07-22 Andy Piper <andy@xemacs.org>
11918 * symsinit.h: add syms_of_win32().
11920 * gui-msw.c (syms_of_gui_mswindows): remove
11921 Fmswindows_shell_execute.
11922 (Fmswindows_shell_execute): moved to win32.c.
11924 * emacs.c (main_1): add syms_of_win32 ().
11926 * win32.c (init_potentially_nonexistent_functions): rewrite in
11927 compiler-friendly terms.
11928 (Fmswindows_shell_execute): move here from gui-msw.c.
11929 (syms_of_win32): new.
11931 * device-msw.c (Fmswindows_printer_list): clean up args to
11933 Don't include tchar under cygwin or mingw.
11934 (msprinter_default_printer): make cygwin-friendly.
11936 2000-07-21 Andy Piper <andy@xemacs.org>
11938 * glyphs-widget.c (image_instantiator_tree_view): use tab
11939 control's update function.
11940 (layout_property): new function. Retrieve items.
11942 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11943 function. Re-populate the tree view from the pending items.
11945 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11946 is designated the parent if the domain is an image instance. This
11947 is needed so that dirtiness can be cascade up the hierarchy and
11948 thus for layout children to be redisplayed correctly.
11949 (allocate_image_instance): rename glyph -> parent.
11951 * redisplay.h: change redisplay_output_layout signature.
11953 * redisplay-msw.c (mswindows_output_display_block): use domain
11956 * redisplay-x.c (x_output_display_block): use domain arg.
11958 2000-07-10 Andy Piper <andy@xemacs.org>
11960 * window.c (Fset_window_configuration): add comment.
11962 * redisplay-output.c (compare_runes):
11963 (redisplay_output_subwindow): redisplay rather than update subwindow.
11964 (redisplay_output_layout): ditto.
11966 * redisplay-msw.c (mswindows_frame_output_end):
11967 (mswindows_frame_output_end): make defer window pos optional.
11969 * lisp.h: add Flast.
11971 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11972 normalize method. Change update method to be for changed
11973 instantiators. Add redisplay method. Change signature of layout
11975 (struct Lisp_Image_Instance): add instantiator.
11976 (IMAGE_INSTANCE_INSTANTIATOR): new.
11977 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11978 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11979 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11982 (find_instantiator_differences): new function.
11983 (Fset_instantiator_property): new convenience function.
11984 (check_image_instance_structure): strictly check for vector
11986 (normalize_image_instantiator): make non-static.
11987 (instantiate_image_instantiator): pass on dest_mask and use new
11988 signatures for image_instance_layout and friends.
11989 (mark_image_instance): mark the instantiator. Mark the subwindow
11990 face not the widget face.
11991 (image_instance_equal): add instantiator.
11992 (image_instance_hash): ditto.
11993 (allocate_image_instance): ditto.
11994 (Fset_image_instance_property): removed.
11995 (Fimage_instance_file_name): ditto.
11996 (Fcolorize_image_instance): ditto.
11997 (image_instance_layout): add offsets to be set.
11998 (update_image_instance): new function. update an image instance
11999 from its changed instantiator.
12000 (inherit_normalize): add dest_mask.
12001 (xbm_normalize): ditto.
12002 (xface_normalize): ditto.
12003 (xpm_normalize): ditto.
12004 (text_update): set_property -> update.
12005 (image_instantiate): use the glyph identity as a hash key, not the
12007 (glyph_width): use new image_instance_layout signature.
12008 (glyph_ascent): ditto.
12009 (glyph_descent): ditto.
12010 (glyph_height): ditto.
12011 (glyph_query_geometry): ressurrect.
12012 (glyph_layout): ditto.
12013 (redisplay_subwindow): update -> redisplay.
12014 (syms_of_glyphs): add Fset_instantiator_property.
12015 (image_instantiator_format_create): set_property -> update.
12018 (autodetect_normalize): add dest_maks to signature.
12019 (x_redisplay_subwindow): update -> redisplay.
12020 (x_redisplay_widget): ditto.
12021 (x_button_redisplay): ditto.
12022 (x_progress_gauge_redisplay): ditto.
12023 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12025 (console_type_create_glyphs_x): update -> redisplay.
12026 (image_instantiator_format_create_glyphs_x): ditto.
12029 (check_valid_instantiator): disallow glyphs in the instantiator,
12030 they must now be vectors.
12031 (check_valid_instantiator_list): ditto.
12032 (glyph_instantiator_to_glyph): use internal symbol rather than
12034 (widget_update): renamed from widget_set_property. Call cascaded
12036 (redisplay_widget): renamed from update_widget.
12037 (widget_layout): image_instance_layout now takes position as well
12039 (widget_normalize): ditto.
12040 (widget_instantiate): ditto.
12041 (tab_control_query_geometry) ditto.:
12042 (tab_control_update): renamed from tab_control_set_property.
12043 (progress_gauge_update): set_property -> update.
12044 (layout_normalize): rewrite so that child instantiators are
12046 (layout_update): new function. Create glyphs from the normalized
12047 children and cope with any other layout keywords. We do not
12048 instantiate children here that will be take care of by
12049 redisplay_output_layout.
12050 (layout_instantiate): call layout_update and not much else.
12051 (layout_post_instantiate): not sure whether this is needed
12053 (layout_query_geometry): query glyph geometry rather than
12054 image_instance geometry.
12055 (layout_layout): set offsets from pass in parameters. Use glyph
12056 geometry and layout functions rather than image instance ones.
12057 (native_layout_layout): ditto.
12058 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12059 (image_instantiator_widget): set_property -> update.
12060 (image_instantiator_buttons): ditto.
12061 (image_instantiator_progress_guage): ditto.
12062 (image_instantiator_tab_control): ditto.
12063 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12064 (image_instantiator_layout): add update method.
12066 * glyphs-msw.c (bmp_normalize):
12067 (mswindows_resource_normalize): add dest_mask so that it can be
12068 proprogated by layout_normalize.
12069 (begin_defer_window_pos): make optional because it may not be the
12070 right thing to do and it introduces differences with X.
12071 (mswindows_unmap_subwindow): ditto.
12072 (mswindows_map_subwindow): ditto.
12073 (mswindows_redisplay_subwindow): renamed from
12074 mswindows_update_subwindow.
12075 (mswindows_redisplay_widget): ditto.
12076 (mswindows_button_redisplay): renamed from
12077 mswindows_button_update. Update is now what the instantiation
12078 function does for a changed instantiator.
12079 (mswindows_progress_gauge_instantiate): set the progress value
12080 here if appropriate.
12081 (mswindows_tab_control_redisplay): cope with re-ordering of the
12082 members of the tab widget by simply selecting the new top
12083 widget. This makes things appear ok if you click on a tab.
12084 (mswindows_combo_box_instantiate): image_instance_layout now takes
12085 position as well as size.
12086 (mswindows_progress_gauge_redisplay): renamed from
12087 mswindows_progress_gauge_update.
12088 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12089 (image_instantiator_format_create_glyphs_mswindows): ditto.
12091 * glyphs-eimage.c (jpeg_normalize):
12094 (tiff_normalize): add dest_mask so that it can be proprogated by
12098 (print_hash_table):
12099 (hash_table_weakness_validate):
12100 (decode_hash_table_weakness):
12101 (Fhash_table_weakness):
12102 (Fhash_table_type):
12103 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12105 * console.h (struct console_methods): move update_* to
12108 2000-07-20 Ben Wing <ben@xemacs.org>
12110 * *.[ch] (XSETOBJ): remove unused middle argument.
12111 lisp-disunion.h: correct wrap_object() to one argument.
12113 2000-07-15 Ben Wing <ben@xemacs.org>
12116 * s/cygwin32.h (CYGWIN_CONV_PATH):
12117 Add missing logb prototype for v1.1.
12118 Use post-b20 names and alias to pre-b20 names when pre-b20.
12120 * s/windowsnt.h: [5].
12122 2000-07-15 Ben Wing <ben@xemacs.org>
12124 * Makefile.in.in (x_objs):
12125 * Makefile.in.in (sheap_objs):
12126 * Makefile.in.in (objs):
12127 added win32.o, cosmetic cleanups.
12129 * alloc.c (Fmake_byte_code):
12130 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12131 etc. macros which declare their own args now.
12133 * alloc.c (syms_of_alloc):
12134 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12137 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12139 * buffer.c (Fget_file_buffer):
12140 Fixed GCPRO problem.
12142 * buffer.c (get_truename_buffer):
12143 Fixed comment about GC checking.
12145 * buffer.c (syms_of_buffer):
12146 Undeclared those dedicated frame funs.
12150 Define convenience macros for internal/external conversions.
12151 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12152 and Qenvironment_variable_encoding for cleaner code.
12155 Remove dedicated-frame; in lisp.
12157 * bytecode.c (funcall_compiled_function):
12160 * bytecode.c (syms_of_bytecode):
12164 * console-msw.c (mswindows_show_console): Rewrote.
12166 * console-msw.c (Fmswindows_debugging_output): New.
12167 Sends to OutputDebugString (special MSWin debugger interface).
12169 * console-msw.c (Fmswindows_message_box):
12170 Fixed stupid bugs so it works when called from kill-emacs.
12172 * console-msw.c (syms_of_console_mswindows):
12173 Declare Fmswindows_debugging_output.
12176 New MSWin prototypes.
12178 * console-msw.h (struct mswindows_frame):
12179 New entry last-click-mods for improved button-modifier support.
12181 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12182 New struct entry `popup' with corresponding accessor.
12185 * console-x.c (split_up_display_spec):
12186 * console-x.c (get_display_arg_connection):
12187 * console-x.c (x_semi_canonicalize_console_connection):
12188 * console-x.c (x_canonicalize_device_connection):
12189 [[[6]]]: Change char to more specific type.
12190 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12192 * console-x.c (x_semi_canonicalize_console_connection):
12193 * console-x.c (x_canonicalize_device_connection):
12194 [[[9]]]: Fix up error signalling to use new structured error system.
12197 [[[4]]]: Define codesys aliases:
12198 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12199 Qx_color_name_encoding, Qx_display_name_encoding.
12201 * console.h (struct console_methods):
12202 New method make_dialog_box_internal supersedes older
12203 popup_dialog_box method.
12206 Define many new errors, part of new structured errors.
12208 * data.c (init_errors_once_early):
12209 * data.c (syms_of_data):
12212 * device-msw.c (mswindows_init_device):
12213 [[[5]]]: Cleanup to support NT 3.51.
12215 * device-msw.c (decode_devmode): Cleanup.
12217 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12218 * device-msw.c (mswindows_handle_print_dialog_box):
12219 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12220 * device-msw.c (syms_of_device_mswindows):
12221 Delete the dialog box primitives recently introduced by Kirill and
12222 instead interface to general dialog box interface.
12225 * device-x.c (compute_x_app_name):
12226 * device-x.c (x_init_device):
12227 * device-x.c (Fx_valid_keysym_name_p):
12228 * device-x.c (Fx_set_font_path):
12232 * device.h (wrap_device): New.
12233 First of its kind; meant to replace XSETDEVICE.
12235 * dialog-msw.c: Many file-dialog symbols.
12237 * dialog-msw.c (mswindows_register_popup_frame): New.
12238 * dialog-msw.c (mswindows_is_dialog_msg): New.
12239 For supporting kbd traversal in dialog boxes.
12241 * dialog-msw.c (dialog_proc):
12242 Support hitting ESC in dialogs.
12244 * dialog-msw.c (struct):
12245 Common dialog box errors.
12247 * dialog-msw.c (handle_file_dialog_box): New.
12248 Add file dialog code.
12250 * dialog-msw.c (handle_question_dialog_box):
12251 Redo existing code to support new question dialog syntax.
12253 * dialog-msw.c (console_type_create_dialog_mswindows):
12254 We support new dialog console method.
12256 * dialog-msw.c (syms_of_dialog_mswindows):
12257 * dialog-msw.c (vars_of_dialog_mswindows):
12258 New file dialog symbols, vars.
12261 * dialog-x.c (maybe_run_dbox_text_callback):
12262 * dialog-x.c (dbox_descriptor_to_widget_value):
12263 * dialog-x.c (x_make_dialog_box_internal):
12264 * dialog-x.c (console_type_create_dialog_x):
12265 Mule-ize entire file.
12266 Redo to support question dialog syntax.
12270 * dialog.c (Fmake_dialog_box_internal):
12271 * dialog.c (syms_of_dialog):
12272 Kill old popup-dialog-box, replace with new primitive.
12273 Just call device method or signal error.
12275 * eldap.c (Fldap_open):
12276 * eldap.c (Fldap_search_basic):
12277 * eldap.c (Fldap_add):
12278 * eldap.c (Fldap_modify):
12283 * emacs.c (make_arg_list_1):
12284 * emacs.c (make_arg_list):
12285 Mule-ize call to dll_init().
12289 * emacs.c (make_argc_argv):
12290 * emacs.c (free_argc_argv):
12291 * emacs.c (init_cmdargs):
12292 * emacs.c (main_1):
12293 * emacs.c (Fkill_emacs):
12294 * emacs.c (Fdump_emacs):
12295 Update comments about what can be used in syms_* etc.
12296 Call init_win32() when necessary.
12297 Fix up MS Win dialog box in kill-buffer to actually work right.
12308 * eval.c (condition_case_3):
12310 * eval.c (function_argcount):
12311 * eval.c (funcall_lambda):
12314 * eval.c (type_error): New.
12315 * eval.c (maybe_type_error): New.
12316 * eval.c (continuable_type_error): New.
12317 * eval.c (maybe_continuable_type_error): New.
12318 * eval.c (type_error_with_frob): New.
12319 * eval.c (maybe_type_error_with_frob): New.
12320 * eval.c (continuable_type_error_with_frob): New.
12321 * eval.c (maybe_continuable_type_error_with_frob): New.
12322 New functions for use with structured errors.
12325 * event-Xt.c (x_event_to_emacs_event):
12326 Buttons are now modifiers too.
12328 * event-Xt.c (emacs_Xt_current_event_timestamp):
12329 Implement new event method.
12330 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12333 * event-msw.c (ntpipe_shove_writer): [5].
12334 * event-msw.c (mswindows_enqueue_mouse_button_event):
12335 * event-msw.c (mswindows_drain_windows_queue):
12336 * event-msw.c (mswindows_wnd_proc): [7].
12337 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12338 * event-msw.c (mswindows_modifier_state):
12339 Throughout: support new button modifiers.
12341 * event-msw.c (emacs_mswindows_current_event_timestamp):
12342 Implement new event method.
12343 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12346 * event-stream.c (event_stream_current_event_timestamp): New.
12347 * event-stream.c (maybe_kbd_translate): New functionality.
12348 * event-stream.c (vars_of_event_stream):
12349 Document new kbd-translate-table functionality.
12351 * event-stream.c (Fcurrent_event_timestamp): New.
12352 New primitive for use in fabricated events.
12353 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12355 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12358 * events.c (Fmake_event):
12359 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12363 * events.c (format_event_object): fix gcc warnings.
12365 * events.c (Fevent_timestamp): Document new primitives.
12367 * events.c (TIMESTAMP_HALFSPACE): New.
12369 * events.c (Fevent_timestamp_lessp): New. New primitive for
12370 comparing timestamps correctly (half-space algorithm).
12372 * events.c (Fevent_modifier_bits): Doc fix.
12374 * events.c (Fevent_modifiers): Major doc addition.
12375 * events.c (event_x_y_pixel_internal): Typo fix.
12376 * events.c (syms_of_events): Declare new primitives.
12379 Update long comment for button modifiers, timestamps.
12381 * events.h (struct event_stream):
12382 New current_event_timestamp method.
12385 * extents.c (extent_in_region_p):
12386 * extents.c (decode_extent):
12387 * extents.c (Fset_extent_parent):
12388 * extents.c (decode_map_extents_flags):
12392 * extents.c (struct extent_at_arg):
12393 * extents.c (decode_extent_at_flag):
12394 * extents.c (extent_at_mapper):
12395 * extents.c (extent_at_bytind):
12396 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12397 * extents.c (Fextents_at): New primitive. [9].
12398 * extents.c (symbol_to_glyph_layout): [9].
12399 Support new primitive `extents-at'.
12402 * extents.c (get_text_property_bytind):
12403 extent_at_bytind has another arg.
12406 * extents.c (syms_of_extents): New primitive.
12408 * file-coding.c (Fmake_coding_system): [1].
12409 * file-coding.c (subsidiary_coding_system): fix gcc warning
12410 * file-coding.c (syms_of_file_coding): [2].
12412 * fileio.c (Fexpand_file_name):
12413 * fileio.c (Fsysnetunam):
12414 * fileio.c (Ffile_exists_p):
12415 * fileio.c (Ffile_executable_p):
12416 * fileio.c (Fverify_visited_file_modtime):
12419 * fileio.c (syms_of_fileio): [2].
12421 * filelock.c (lock_file_1):
12422 * filelock.c (current_lock_owner):
12423 * filelock.c (lock_if_free):
12424 * filelock.c (lock_file):
12425 * filelock.c (unlock_file):
12428 * fns.c (concat): Fix gcc warning.
12431 * fns.c (Fold_member):
12433 * fns.c (Fold_memq):
12434 * fns.c (memq_no_quit):
12436 * fns.c (Fold_assoc):
12438 * fns.c (Fold_assq):
12439 * fns.c (assq_no_quit):
12441 * fns.c (Fold_rassoc):
12443 * fns.c (Fold_rassq):
12444 * fns.c (rassq_no_quit):
12446 * fns.c (Fold_delete):
12448 * fns.c (Fold_delq):
12449 * fns.c (delq_no_quit):
12450 * fns.c (Fremassoc):
12451 * fns.c (Fremassq):
12452 * fns.c (remassq_no_quit):
12453 * fns.c (Fremrassoc):
12454 * fns.c (Fremrassq):
12455 * fns.c (remrassq_no_quit):
12456 * fns.c (Freverse):
12460 * frame-msw.c (mswindows_init_frame_1):
12461 * frame-msw.c (mswindows_delete_frame):
12462 Register popups with dialog code so keyboard traversing works.
12464 * frame-tty.c (tty_raise_frame_no_select): [1].
12467 * frame-x.c (x_set_frame_text_value):
12468 * frame-x.c (x_set_frame_properties):
12469 * frame-x.c (x_create_widgets):
12473 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12475 * frame.h (wrap_frame): New.
12476 Macro like wrap_device.
12479 * general.c (SYMBOL):
12480 * general.c (syms_of_general):
12481 Major reorg. This is now just a wrapper and symbols themselves
12482 are listed in general-slots.h.
12484 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12485 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12487 * glyphs-msw.c (mswindows_native_layout_instantiate):
12488 Add DS_CONTROL so keyboard traversal will work.
12491 * glyphs-widget.c (syms_of_glyphs_widget):
12492 Move some symbols to general-slots.h.
12495 * glyphs-x.c (xbm_instantiate_1):
12496 * glyphs-x.c (x_xbm_instantiate):
12497 * glyphs-x.c (x_xface_instantiate):
12498 * glyphs-x.c (autodetect_instantiate):
12499 * glyphs-x.c (cursor_font_instantiate):
12500 * glyphs-x.c (x_update_widget):
12501 * glyphs-x.c (x_widget_instantiate):
12502 * glyphs.c (bitmap_to_lisp_data):
12503 * glyphs.c (pixmap_to_lisp_data):
12506 * glyphs.c (syms_of_glyphs):
12510 * gui-x.c (print_widget_value):
12511 * gui-x.c (menu_separator_style_and_to_external):
12512 * gui-x.c (add_accel_and_to_external):
12513 * gui-x.c (button_item_to_widget_value):
12514 * gui-x.c (gui_items_to_widget_values_1):
12515 * gui-x.c (gui_items_to_widget_values):
12516 * gui-x.c (syms_of_gui_x):
12517 * gui-x.c (vars_of_gui_x):
12518 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12522 Muleize, prototype changes matching gui-x.c.
12525 * gui.c (separator_string_p):
12526 * gui.c (gui_item_add_keyval_pair):
12527 * gui.c (make_gui_item_from_keywords_internal):
12528 * gui.c (signal_too_long_error):
12529 * gui.c (parse_gui_item_tree_item):
12530 * gui.c (syms_of_gui):
12531 * gui.c (vars_of_gui):
12533 menu-no-selection-hook moved here (used by MSWin).
12534 Move some symbols to general-slots.h.
12538 * insdel.c (get_buffer_pos_char):
12539 * insdel.c (get_buffer_range_char):
12542 * keymap.c (keymap_lookup_directly):
12543 * keymap.c (keymap_store):
12544 * keymap.c (ensure_meta_prefix_char_keymapp):
12545 * keymap.c (describe_map):
12547 Support new button modifiers.
12549 * lisp-disunion.h (wrap_object):
12550 * lisp-disunion.h (XSETOBJ):
12551 Rename make_obj to wrap_object.
12554 * lisp-union.h (make_int):
12555 * lisp-union.h (make_char):
12556 Support wrap_object.
12559 * lisp.h (LIST_LOOP):
12560 * lisp.h (EXTERNAL_LIST_LOOP):
12561 * lisp.h (LIST_LOOP_2):
12562 * lisp.h (EXTERNAL_LIST_LOOP_1):
12563 * lisp.h (EXTERNAL_LIST_LOOP_2):
12564 * lisp.h (EXTERNAL_LIST_LOOP_3):
12565 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12566 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12567 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12568 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12569 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12570 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12571 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12572 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12573 * lisp.h (struct Lisp_Symbol):
12574 * lisp.h (maybe_continuable_error_with_frob):
12575 Fix up section comments.
12576 Add new types for char to indicate usage.
12577 Delete symbols auto-generated from general-slots.h.
12578 Add prototypes for structured error functions.
12579 Add long comments describing looping macros and change interface
12580 so that lvalues are automatically declared.
12581 Add NO_DECLARE macro in case callers want to declare lvalues
12584 * lread.c (read_syntax_error):
12585 * lread.c (continuable_read_syntax_error):
12586 * lread.c (read_structure):
12587 * lread.c (sequence_reader):
12588 * lread.c (read_list_conser):
12589 * lread.c (read_compiled_function):
12590 Rename syntax_error and continuable_syntax_error to avoid clash
12591 with same-named structured error functions.
12593 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12594 * menubar-msw.c (populate_menu_add_item):
12595 * menubar-msw.c (populate_or_checksum_helper):
12600 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12601 Mule-ize whole file.
12603 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12605 * mule-charset.c (Fmake_charset):
12606 * mule-wnnfns.c (Fwnn_set_param):
12609 * ntproc.c (create_child):
12610 * ntproc.c (Fwin32_set_current_locale):
12611 Add comments portending doom.
12614 * objects-msw.c (old_font_enum_callback_2):
12615 * objects-msw.c (font_enum_callback_1):
12616 * objects-msw.c (mswindows_enumerate_fonts):
12620 * objects-x.c (allocate_nearest_color):
12621 * objects-x.c (x_parse_nearest_color):
12622 * objects-x.c (x_initialize_color_instance):
12623 * objects-x.c (x_print_color_instance):
12624 * objects-x.c (x_finalize_color_instance):
12625 * objects-x.c (x_valid_color_name_p):
12626 * objects-x.c (x_initialize_font_instance):
12627 * objects-x.c (x_print_font_instance):
12628 * objects-x.c (valid_x_font_name_p):
12629 * objects-x.c (truename_via_FONT_prop):
12630 * objects-x.c (truename_via_random_props):
12631 * objects-x.c (truename_via_XListFonts):
12632 * objects-x.c (x_font_truename):
12633 * objects-x.c (x_font_instance_truename):
12634 * objects-x.c (x_font_instance_properties):
12635 * objects-x.c (x_list_fonts):
12636 * objects-x.c (x_find_charset_font):
12637 Mule-ize entire file.
12644 * print.c (std_handle_out_external):
12645 * print.c (debug_print_no_newline):
12646 * print.c (syms_of_print):
12647 Output to all debugger kinds in debug-print.
12648 Fix console-output code under MSWin to actually work.
12650 * process-nt.c (send_signal):
12651 * process-nt.c (nt_create_process):
12652 Use newer Unicode macros.
12654 * process-unix.c (unix_create_process):
12655 * process-unix.c (unix_canonicalize_host_name):
12656 * process-unix.c (unix_open_network_stream):
12662 * search.c (syms_of_search):
12665 * select-msw.c (mswindows_destroy_selection):
12668 * select-x.c (symbol_to_x_atom):
12671 * select.c (syms_of_select):
12674 * sound.c (Fplay_sound_file):
12678 * specifier.c (decode_specifier_type):
12679 * specifier.c (Fvalid_specifier_locale_type_p):
12680 * specifier.c (check_valid_locale_or_locale_type):
12681 * specifier.c (decode_locale):
12682 * specifier.c (decode_locale_type):
12683 * specifier.c (decode_locale_list):
12684 * specifier.c (check_valid_domain):
12685 * specifier.c (decode_specifier_tag_set):
12686 * specifier.c (Fcanonicalize_tag_set):
12687 * specifier.c (Fdefine_specifier_tag):
12688 * specifier.c (Fspecifier_tag_predicate):
12689 * specifier.c (check_valid_inst_list):
12690 * specifier.c (check_valid_spec_list):
12691 * specifier.c (decode_how_to_add_specification):
12692 * specifier.c (check_modifiable_specifier):
12693 * specifier.c (specifier_add_spec):
12694 * specifier.c (boolean_validate):
12695 * specifier.c (display_table_validate):
12698 * specifier.c (syms_of_specifier):
12699 Move some symbols to general-slots.h.
12703 * symbols.c (Fmapatoms):
12704 * symbols.c (Fapropos_internal):
12707 * symbols.c (set_default_buffer_slot_variable):
12708 * symbols.c (set_default_console_slot_variable):
12711 * symbols.c (defsymbol_massage_name_1):
12712 * symbols.c (defkeyword_massage_name):
12713 * symbols.c (deferror_1):
12714 * symbols.c (deferror):
12715 * symbols.c (deferror_massage_name_and_message):
12717 * symeval.h (DEFSYMBOL):
12718 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12720 * symbols.c (syms_of_symbols):
12724 * symsinit.h (init_win32): New.
12725 Also new is syms_of_dialog_mswindows.
12728 Add new Unicode macros, missing Cygwin wide-char functions,
12729 convenience conversion macros for Qmswindows_tstr, macros for
12730 encapsulating required MSWin <-> Cygwin filename conversions,
12731 prototype for dynamically-extracted (not in NT 3.51) functions.
12736 * tooltalk.c (Fadd_tooltalk_message_arg):
12737 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12738 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12741 * tooltalk.c (syms_of_tooltalk):
12745 * unexnt.c (unexec):
12746 Fix up headers, declaration of unexec() to be more standard.
12748 2000-07-20 Martin Buchholz <martin@xemacs.org>
12750 * offix.h: Revert change to guard macros - they're used in offix.c!
12752 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12754 * lisp.h: Defsubred Fdelete.
12756 * console-msw.h: (msprinter_default_printer): Added.
12758 * console-msw.c (msprinter_canonicalize_console_connection):
12759 (msprinter_canonicalize_device_connection): Added.
12761 * device-msw.c (msprinter_default_printer):
12762 (Fmswingows_get_default_printer):
12763 (signal_enum_priner_error):
12764 (Fmswingows_printer_list): Added.
12766 2000-07-19 Martin Buchholz <martin@xemacs.org>
12768 * XEmacs 21.2.35 is released.
12770 2000-07-19 Martin Buchholz <martin@xemacs.org>
12772 * select-x.c (x_handle_selection_request):
12773 Text selected in xemacs and pasted into xterm failed to appear.
12774 Spelling fixes and cosmetic changes.
12776 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12778 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12779 XEmacs frame (fix for doubling chars in dialog boxes).
12781 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12783 * select.c (select_convert_in, select_convert_out):
12784 Don't call intern() every time.
12786 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12787 * select.c (vars_of_select): Initialise them.
12789 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12791 * select.c (selection-coercible-types): New.
12793 * select.c (own-selection-internal):
12794 * select.c (get-selection-internal):
12795 MULE bug fix - these should default to COMPOUND_TEXT and not
12796 STRING for MULE. I think.
12798 * select.c (select_convert_out): Use selection-coercible-types
12799 to find types that we can attempt to perform coercions on.
12801 2000-07-18 Martin Buchholz <martin@xemacs.org>
12805 Add coding: cookie to identify encoding.
12807 * mule-canna.c (CANNA_mode_keys): make static.
12808 Use proper prototypes, even for functions of no arguments.
12809 Remove external prototype for Fding().
12811 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12813 * select.c (syms_of_select): Add missing DEFSUBR.
12815 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12817 * select.c (get_selection_internal, own_selection_internal):
12818 Make the type default to STRING, rather than placing a nil type
12819 into Vselection_alist.
12821 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12823 * gpmevent.c (tty_selection_exists_p):
12824 * gpmevent.c (tty_own_selection):
12825 Updated parameter lists.
12827 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12829 * select.h (selection-alist): Removed declaration.
12831 * select.h (get_local_selection):
12832 * select.c (get_local_selection):
12835 * select.h (convert_selection): Removed declaration.
12836 * select.c (convert_selection): Removed.
12837 This function belongs in Lisp.
12839 * select.h (select_convert_in): Declare.
12840 * select.h (select_convert_out): Declare.
12841 * select.c (select_convert_in): New.
12842 * select.c (select_convert_out): New.
12843 New conversion functions for other files to call.
12845 * select.h (select_notify_buffer_kill): Declare.
12846 * select.c (select_notify_buffer_kill): New.
12847 New functions that get called from kill-buffer.
12849 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12850 X-specific lisp code.
12852 * select.h: Declare some of the lisp-visible functions for
12855 * select.c (clean_local_selection_data): Removed. This was
12856 a disgusting function, and previously should have been in
12857 select-x.c in any case. The functionality is now provided
12858 in select-convert-from-integer (select.el).
12860 * select.c (available-selection-types): Fixed stupidity where
12861 INTEGER and ATOM got added twice. Also add STRING when we see an
12864 * select.c (get-selection-internal): Removed symbol stripping. No
12865 longer causes conversion when data comes from the internal cache.
12867 * select.c (syms_of_select): Added new functions.
12869 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12870 error checking - previously this called abort!
12872 * select-x.c (x_own_selection): Changed comment.
12874 * select-x.c (x_handle_selection_request): Use select_convert_out.
12875 Don't mess with selection-alist; it's an internal variable of select.c.
12877 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12879 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12880 rather than messing with selection-alist.
12882 * select-msw.c (mswindows_get_foreign_selection):
12883 Use TO_INTERNAL_FORMAT rather than hacking.
12885 2000-07-14 Martin Buchholz <martin@xemacs.org>
12887 * process-unix.c (unix_open_multicast_group):
12888 (unix_open_multicast_group): Remove useless casts.
12890 2000-07-13 Martin Buchholz <martin@xemacs.org>
12892 * sound.c (Fplay_sound): Fix `unused variable' warning.
12894 * emacs.c (main): Use correct type for _environ on SCO5.
12896 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12898 * console.h (own_selection_method):
12899 * console.h (selection_exists_p_method):
12900 * console.h (available_selection_types_method): New.
12901 * console.h (register_selection_data_type_method): New.
12902 * console.h (selection_data_type_name): New.
12904 * console-msw.h (mswindows_destroy_selection): Declare it. New
12905 function & alist to track GlobalAlloc()'d handles that need
12906 releasing when the clipboard data gets replaced or emptied.
12908 * event-msw.c (mswindows_wnd_proc): Call it.
12910 * lisp.h, general.c (Qappend): New symbol representing a
12913 * select.c (own-selection-internal):
12914 * select.c (selection-exists-p):
12915 * select.c (available-selection-types): New.
12916 * select.c (register-selection-data-type): New.
12917 * select.c (selection-data-type-name): New. New functions to deal
12918 with device-specific selection data formats.
12919 * select.c (selection-converter-out-alist): Renamed.
12920 * select.c (selection-converter-in-alist): New.
12921 * select.c (selection-appender-alist): New. Added new alists.
12922 * select.c (syms_of_select, vars_of_select): Added new symbols &
12924 * select.c (get_local_selection): Split.
12925 * select.c: Removed spurious type checking - selections may now be
12926 of any type, not just strings.
12927 * select.c (own-selection-internal):
12929 * select.h, select.c (convert_selection): New. Created
12930 convert_selection() function based on get_local_selection().
12931 * select.h, select.c (QCF_*): New symbols representing mswindows
12933 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12934 symbols representing `how-to-add' modes.
12936 * select-msw.c (x_sym_p): New.
12937 * select-msw.c (symbol_to_ms_cf): New.
12938 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12939 symbols & clipboard formats. Can also handle string names.
12940 * select-msw.c (mswindows_own_selection):
12941 * select-msw.c (mswindows_selection_exists_p):
12942 Added `data-type' parameter. Use it.
12943 * select-msw.c (mswindows_available_selection_types): New.
12944 * select-msw.c (mswindows_register_selection_data_type): New.
12945 * select-msw.c (mswindows_selection_data_type_name): New.
12946 * select-msw.c (mswindows_own_selection):
12947 * select-msw.c (mswindows_get_foreign_selection):
12948 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12949 * select-msw.c (console_create_select_mswindows): Added new methods.
12950 * select-msw.c (mswindows_destroy_selection): New.
12951 * select-msw.c (Vhandle_alist): New list.
12952 * select-msw.c (mswindows_own_selection):
12954 * select-x.c (x_own_selection):
12955 * select-x.c (x_selection_exists_p):
12956 * select-x.c: Added some comments about maybe using new
12958 * select-x.c (x_own_selection):
12960 * specifier.c: Remove definition of Qappend (now in general.c)
12961 * specifier.c (syms_of_specifier): Remove Qappend.
12963 2000-07-12 Martin Buchholz <martin@xemacs.org>
12965 * config.h.in: Add socklen_t.
12967 * s/decosf4-0.h: No special compiler flags needed or desired.
12968 In particular, undefine _BSD for DEC OSF 4.0.
12970 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12972 * redisplay-msw.c (msprinter_frame_output_end): Added.
12973 (console_type_create_redisplay_mswindows): Referred the above.
12975 * frame.c (setup_frame_without_minibuffer): Do not create a
12976 default minibuffer frame on a printer device.
12978 * frame-msw.c (apply_dc_geometry): Added.
12979 (msprinter_start_page):
12980 (msprinter_init_frame_3):
12981 (msprinter_eject_page): Use it.
12983 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12984 and removed residual duplex and orientation properties.
12986 2000-07-11 Martin Buchholz <martin@xemacs.org>
12988 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12990 * unexalpha.c: Remove system prototypes from C sources!
12992 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12994 * eval.c: Remove references to M-x edit-options in DEFUNs for
12995 `defvar' and `defconst'.
12997 2000-07-09 Martin Buchholz <martin@xemacs.org>
12999 * config.h.in: Remove SMART_INCLUDE hackery.
13001 PostgreSQL hacking:
13002 * config.h.in: Don't use SMART_INCLUDE.
13004 * postgresql.h: Include libpq-fe.h here. Fix typo.
13005 * inline.c: Simply #include "postgresql.h"
13007 - Don't use SMART_INCLUDE
13008 - Use simply "const".
13009 - Use standard doc string conventions.
13010 - Use correct type for result of PQstatus.
13012 2000-07-09 Martin Buchholz <martin@xemacs.org>
13014 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
13016 C++ compilation changes.
13017 * config.h.in (EXTERN_C): Define.
13018 * config.h.in (not): This is also a C++ keyword.
13019 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13020 * cm.c: Use EXTERN_C.
13021 * redisplay-tty.c: Use EXTERN_C.
13022 * sysdep.c: Use EXTERN_C. Remove Gould support.
13024 2000-07-09 Martin Buchholz <martin@xemacs.org>
13026 * general.c: Remove duplicate definition for Qfunction.
13028 2000-07-08 Ben Wing <ben@xemacs.org>
13030 * device-msw.c (msprinter_init_device):
13031 * device-msw.c (sync_printer_with_devmode):
13032 * device-msw.c (handle_devmode_changes):
13033 * device-msw.c (print_dialog_worker):
13034 * device-msw.c (Fmsprinter_apply_settings):
13035 * device-msw.c (hash_devmode):
13036 * device-msw.c (Fmsprinter_settings_despecialize):
13037 use Qmswindows_tstr, not Qctext.
13039 * vm-limit.c (check_memory_limits):
13040 avoid infinite loop printing warning messages.
13042 2000-07-05 Craig Lanning <lanning@scra.org>
13044 * Makefile.in.in: Add support for including the Windows resources
13045 when building with the cygwin and mingw targets.
13047 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13048 not set or not correct.
13049 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13050 (init_initial_directory): Don't try to use $PWD on the
13051 WIN32_NATIVE target.
13054 [[Add -mwindows to eliminate console window.]] not required --ben
13055 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13056 (MAIL_USE_POP): removed; now handled by configure.
13058 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13059 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13060 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13061 (MAIL_USE_POP): removed; now handled by configure.
13062 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13063 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13064 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13066 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13067 up from <winsock.h> via systime.h.
13068 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13069 (getpagesize): from Dan Holmsand, added.
13070 Added #endif which was left dangling by Ben's mega patch; added
13071 comment to help prevent this in the future.
13073 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13075 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13077 * console-msw.h (struct mswindows_device): Removed unnecessary
13078 cached device geometry values.
13079 Added update_tick and an accessor macro.
13080 (Lisp_Devmode): Added lrecord declaration.
13081 (struct msprinter_device): Contain devmode as a Lisp object.
13082 Added mswindows_get_selected_frame_hwnd();
13084 * console.h (struct console_methods): Indentation nitpicking.
13086 * device-msw.c (mswindows_init_device): Do not initialize geometry
13087 cache. Initialize update tick.
13088 (mswindows_device_system_metrics): Ask the device for its geometry.
13089 (global_free_2_maybe):
13090 (devmode_to_hglobal):
13091 (handle_printer_changes):
13092 (ensure_not_printing):
13093 (print_dialog_worker):
13094 (Fmsprinter_print_setup_dialog):
13095 (Fmsprinter_print_dialog):
13096 (plist_get_margin):
13097 (plist_set_margin):
13098 (Fmsprinter_page_setup_dialog): Added functions.
13099 (sync_printer_with_devmode):
13100 (handle_devmode_changes):
13101 (Fmsprinter_get_settings):
13102 (Fmsprinter_select_settings):
13103 (Fmsprinter_apply_settings):
13104 (allocate_devmode):
13105 (Fmsprinter_settings_copy):
13106 (Fmsprinter_settings_despecialize):
13108 (finalize_devmode):
13110 (hash_devmode): Added functions
13111 (syms_of_device_mswindows): Init devmode lrecord class.
13113 * device.h: Added an exfun for find-device.
13115 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13116 geometry; although, recreate the device compatible DC.
13118 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13119 (msprinter_init_frame_3):
13120 (msprinter_frame_property):
13121 (msprinter_internal_frame_property_p):
13122 (msprinter_frame_properties):
13123 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13124 print job properties (will move to device settings).
13126 * lisp.h: Added symbols.
13128 * general.c (syms_of_general): Declared them.
13130 * hash.c (string_hash): Added.
13132 * lrecord.h (lrecord_type): Added devmode lrecord type.
13134 2000-07-02 Mike Sperber <mike@xemacs.org>
13136 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13139 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13141 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13144 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13146 * data.c (Fstring_to_number): Don't recognize floating point if
13149 2000-06-22 Martin Buchholz <martin@xemacs.org>
13151 * glyphs-widget.c (tab_control_query_geometry):
13152 (widget_query_geometry):
13153 (button_query_geometry):
13154 * glyphs.c (text_query_geometry):
13155 Enforce type correctness.
13157 2000-06-18 Martin Buchholz <martin@xemacs.org>
13159 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13160 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13162 2000-06-17 Martin Buchholz <martin@xemacs.org>
13164 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13165 conflicts with gcc's fixincluded version of FOO.h.
13167 * glyphs.h (image_instance_geometry): Remove trailing `,'
13169 2000-06-08 Mike Alexander <mta@arbortext.com>
13171 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13172 (shove_thread): Don't write the same output twice
13173 (make_ntpipe_output_stream): Increase priority of shove thread
13174 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13176 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13179 2000-06-12 Ben Wing <ben@xemacs.org>
13181 * s\mingw32.h (sigset):
13182 * s\windowsnt.h (sigset):
13183 rename msw_ to mswindows_ for consistency with general convention.
13185 2000-06-12 Ben Wing <ben@xemacs.org>
13188 * console-msw.c (mswindows_get_console_hwnd):
13189 * console-msw.c (mswindows_ensure_console_allocated):
13190 * console-msw.c (mswindows_hide_console):
13191 * console-msw.c (mswindows_show_console):
13192 * console-msw.c (mswindows_ensure_console_buffered):
13193 * console-msw.c (mswindows_output_console_string):
13194 * console-msw.c (mswindows_windows9x_p):
13196 * device-msw.c (mswindows_get_workspace_coords):
13197 * device-msw.c (mswindows_device_system_metrics):
13198 * dialog-msw.c (mswindows_popup_dialog_box):
13199 * event-msw.c (mswindows_wnd_proc):
13200 * frame-msw.c (mswindows_size_frame_internal):
13201 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13202 * menubar-msw.c (displayable_menu_item):
13203 * menubar-msw.c (mswindows_char_is_accelerator):
13205 * nt.c (mswindows_sigset):
13206 * nt.c (mswindows_sigrelse):
13207 * nt.c (mswindows_sigpause):
13208 * nt.c (mswindows_raise):
13209 * nt.c (timer_proc):
13211 * ntproc.c (find_child_console):
13212 * ntproc.c (sys_kill):
13214 * print.c (std_handle_out_external):
13215 * process-nt.c (find_child_console):
13216 * process-nt.c (send_signal_the_95_way):
13217 * process-nt.c (ensure_console_window_exists):
13218 * process-nt.c (nt_create_process):
13220 rename msw_ to mswindows_ for consistency with general convention.
13224 include nt.h, not syswindows.h.
13226 * nt.c (mswindows_fstat):
13227 * nt.c (mswindows_stat):
13228 prefix mswindows_ instead of attempting to directly override the
13229 library functions. fix declarations.
13232 include syswindows.h. move some sysdep.h stuff here.
13235 include syswindows.h, not <windows.h>.
13243 * sysdep.c (sys_fstat):
13244 * sysdep.c (sys_stat):
13245 call mswindows versions when appropriate.
13248 move mswin decls to nt.h.
13251 add long comment describing appropriate use of the various windows
13254 2000-06-11 Ben Wing <ben@xemacs.org>
13256 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13258 2000-06-10 Ben Wing <ben@xemacs.org>
13260 * Makefile.in.in (release):
13261 Correction to make sure xemacs.exe always dumped when correct.
13265 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13267 * buffer.c (set_buffer_internal):
13268 [[[[2]]]]: Remove HAVE_FEP code.
13270 * buffer.c (init_initial_directory):
13274 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13278 * callproc.c (call_process_cleanup):
13279 * callproc.c (Fold_call_process_internal):
13280 * callproc.c (child_setup):
13281 * callproc.c (getenv_internal):
13282 * callproc.c (init_callproc):
13283 * callproc.c (vars_of_callproc):
13284 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13285 __CYGWIN32__ -> CYGWIN.
13286 DOS_NT -> WIN32_NATIVE.
13287 Remove MSDOS support/references, converting to WIN32_NATIVE
13289 __MINGW32__ -> MINGW.
13290 Fix windows.h includes.
13291 Remove bogus HAVE_NTGUI.
13297 mswindows_message_outputted added for use in allowing startup
13298 errors on the console to be seen.
13300 * console-msw.c (msw_ensure_console_allocated):
13301 * console-msw.c (msw_output_console_string):
13302 * console-msw.c (DHEADER):
13303 * console-msw.c (DOPAQUE_DATA):
13304 * console-msw.c (DEVENT):
13305 * console-msw.c (DCONS):
13306 * console-msw.c (DCONSCDR):
13307 * console-msw.c (DSTRING):
13308 * console-msw.c (DVECTOR):
13309 * console-msw.c (DSYMBOL):
13310 * console-msw.c (DSYMNAME):
13313 * console-stream.c (stream_init_console):
13314 Fix text/binary problems.
13317 * device-msw.c (mswindows_finish_init_device):
13318 * device-msw.c (mswindows_delete_device):
13321 * device.c (handle_asynch_device_change):
13325 * dgif_lib.c (DGifOpenFileName):
13326 * dgif_lib.c (DGifOpenFileHandle):
13327 * dgif_lib.c (DGifGetLine):
13328 * dgif_lib.c (DGifGetPixel):
13329 Added config.h/lisp.h, fix up includes.
13336 * dired.c (file_name_completion):
13337 * dired.c (Ffile_attributes):
13338 * dired.c (syms_of_dired):
13342 * dumper.c (pdump_file_unmap):
13343 * dumper.c (pdump_load):
13347 * editfns.c (Ftemp_directory):
13348 * editfns.c (user_login_name):
13349 * editfns.c (Fuser_real_login_name):
13350 * editfns.c (get_home_directory):
13353 * elhash.c (finish_marking_weak_hash_tables):
13354 [[[[5]]]]: Fix GCC warnings.
13357 * emacs.c (mswindows_handle_hardware_exceptions):
13358 * emacs.c (make_arg_list_1):
13359 * emacs.c (main_1):
13360 * emacs.c (Fkill_emacs):
13361 * emacs.c (Fdump_emacs):
13363 Fix problems with nested crashes, add long comment.
13365 * event-Xt.c (init_event_Xt_late):
13369 * event-msw.c (mswindows_dde_callback):
13370 * event-msw.c (mswindows_handle_sticky_modifiers):
13371 * event-msw.c (mswindows_wnd_proc):
13375 * events.c (character_to_event):
13379 * fileio.c (Ffile_name_directory):
13380 * fileio.c (Ffile_name_nondirectory):
13381 * fileio.c (directory_file_name):
13382 * fileio.c (Fexpand_file_name):
13383 * fileio.c (Fsubstitute_in_file_name):
13384 * fileio.c (Ffile_name_absolute_p):
13385 * fileio.c (check_executable):
13386 * fileio.c (Ffile_readable_p):
13387 * fileio.c (Ffile_accessible_directory_p):
13388 * fileio.c (Ffile_modes):
13389 * fileio.c (Funix_sync):
13390 * fileio.c (vars_of_fileio):
13393 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13395 Expand getdefdir defn.
13396 Fix bogus rename() comment.
13398 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13399 to use standard XEmacs include files, e.g. sysfile.h, rather
13400 than system-specific includes.
13406 * frame.c (vars_of_frame):
13410 * getloadavg.c (getloadavg):
13412 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13413 (We don't use it elsewhere in the code; just add a comment.)
13420 * glyphs-msw.c (mswindows_resource_instantiate):
13423 * glyphs-x.c (x_native_layout_instantiate):
13426 * gui-msw.c (Fmswindows_shell_execute):
13435 * lread.c (locate_file_in_directory_mapper):
13442 * mem-limits.h (get_lim_data):
13454 * nt.c (rva_to_section):
13455 * nt.c (mswindows_executable_type):
13457 Fix closedir() defn.
13460 [[[[8]]]]: *_OK defs moved to sysfile.h.
13469 * print.c (std_handle_out_external):
13473 * process-nt.c (nt_create_process):
13475 try to fix process quoting somewhat.
13477 * process-unix.c (unix_create_process):
13481 * process.c (vars_of_process):
13488 * realpath.c (xrealpath):
13491 * redisplay-tty.c (init_tty_for_redisplay):
13501 * sheap.c (more_static_core):
13502 * sheap.c (report_sheap_usage):
13506 * signal.c (alarm_signal):
13513 * strftime.c (zone_name):
13516 * symsinit.h (init_sunpro):
13520 commctrl.h not in Cygwin b20.1.
13523 * sysdep.c (endif):
13524 * sysdep.c (sys_subshell):
13525 * sysdep.c (init_baud_rate):
13526 * sysdep.c (emacs_get_tty):
13527 * sysdep.c (emacs_set_tty):
13528 * sysdep.c (tty_init_sys_modes_on_device):
13529 * sysdep.c (init_system_name):
13530 * sysdep.c (sys_open):
13531 * sysdep.c (interruptible_open):
13532 * sysdep.c (sys_fopen):
13533 * sysdep.c (sys_mkdir):
13534 * sysdep.c (sys_rename):
13535 * sysdep.c (get_process_times_1):
13542 * sysdir.h (DIRENTRY_NONEMPTY):
13545 * sysdll.c (dll_init):
13551 added text/binary defs.
13557 * sysproc.h (EDESTADDRREQ):
13558 * sysproc.h (poll_fds_for_input):
13575 Always define WIN32_LEAN_AND_MEAN.
13577 * unexcw.c (unexec):
13581 * unexec.c (copy_text_and_data):
13582 * unexec.c (adjust_lnnoptrs):
13586 * unexnt.c (_start):
13589 2000-06-07 Ben Wing <ben@xemacs.org>
13591 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13592 was used only as a model. We've long since extracted any useful
13593 logic or code out of this. (I just did an exhaustive search.)
13595 * s\msdos.h: Removed.
13597 * s\windows95.h: Removed.
13599 2000-06-10 Ben Wing <ben@xemacs.org>
13603 Don't use extern with fun defs.
13607 Remove nt\inc include.
13608 Remove getdisk, getdefdir. (The former is unused, the latter
13609 expanded in fileio.h.)
13612 * s\windowsnt.h (WIN32_NATIVE):
13613 * s\windowsnt.h (HAVE_STRCASECMP):
13615 Add long comment about preprocessor changes.
13616 Remove getdisk, getdefdir. (The former is unused, the latter
13617 expanded in fileio.h.)
13619 2000-06-10 Ben Wing <ben@xemacs.org>
13628 Remove bogus/unused NO_SOCK_SIGIO.
13630 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13632 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13635 2000-06-04 Mike Sperber <mike@xemacs.org>
13637 * casetab.c (set_case_table): For `set-standard-case-table',
13638 actually deposit the new case tables where the rest of XEmacs can
13641 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13643 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13645 2000-06-05 Ben Wing <ben@xemacs.org>
13647 * callproc.c (child_setup): Don't do close_load_descs() under
13648 MS Windows. Put in a comment explaining why.
13650 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13652 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13653 Toolkit shell" which breaks `kill-compilation' on Windows NT
13654 native, retaining STDERR handling improvements.
13656 2000-06-01 Andreas Jaeger <aj@suse.de>
13658 * s/s390.h: Support for S390, based on a patch by Martin
13659 Schwidefsky <schwidefsky@de.ibm.com>.
13661 2000-05-30 Andy Piper <andy@xemacs.org>
13663 * window.c (allocate_window):
13664 (make_dummy_parent):
13665 (Fset_window_configuration): use new hashtable type.
13667 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13668 (struct image_instantiator_methods):
13669 (struct Lisp_Image_Instance): make instance geometry signed.
13671 * glyphs.c (instantiate_image_instantiator):
13672 (image_instance_query_geometry):
13673 (image_instance_layout):
13674 (image_instance_layout):
13675 (query_string_geometry):
13676 (text_query_geometry):
13677 (image_instantiate):
13678 (image_instantiate):
13679 (cache_subwindow_instance_in_frame_maybe):
13680 (subwindow_query_geometry): make instance geometry signed.
13682 * glyphs-widget.c (widget_query_geometry):
13684 (button_query_geometry):
13685 (tree_view_query_geometry):
13686 (tab_control_query_geometry):
13687 (layout_query_geometry):
13689 (native_layout_layout): make instance geometry signed.
13691 2000-05-29 Olivier Galibert <galibert@pobox.com>
13693 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13696 * general.c (syms_of_general): Add Qfull_assoc symbol.
13698 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13700 (decode_weak_list_type): Decode full-assoc type.
13701 (encode_weak_list_type): Encode full-assoc type.
13702 (Fmake_weak_list): Update doc string.
13704 2000-05-30 Andy Piper <andy@xemacs.org>
13706 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13708 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13709 (decode_hash_table_weakness): ditto.
13710 (Fhash_table_weakness): ditto.
13711 (Fhash_table_type): ditto.
13712 (finish_marking_weak_hash_tables): ditto.
13713 (hash_table_weakness_validate): ditto.
13714 (syms_of_elhash): ditto.
13716 2000-05-28 Martin Buchholz <martin@xemacs.org>
13718 * XEmacs 21.2.34 is released.
13720 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13722 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13724 (updating_line_start_cache): Gone.
13725 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13726 generic code to force a minimum of 1 line laid out in the
13729 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13731 * glyphs.c (instantiate_image_instantiator): Check for initialized
13732 height & width no longer special cases IMAGE_NOTHING.
13733 (nothing_instantiate): Set height and width of instance.
13735 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13737 * unexelf.c (unexec): Search for ".data" section.
13738 Initialize new_data2_offset from old_data_index.
13739 Remove redundant check for ElfW.
13741 2000-05-23 Andy Piper <andy@xemacs.org>
13743 * glyphs.c (get_image_instantiator_governing_domain): allow more
13744 specific domains as the governing domain rather than expecting an
13745 exact match. This fixes problems with layouts.
13747 2000-05-22 Andy Piper <andy@xemacs.org>
13749 * redisplay-output.c (compare_runes): check for non-images
13751 * glyphs.c (set_glyph_dirty_p): ditto.
13752 (update_glyph_cachel_data): ditto.
13754 * glyphs-widget.c (layout_post_instantiate): ditto.
13755 (layout_post_instantiate): ditto.
13757 * event-msw.c (mswindows_wnd_proc): warning removal.
13759 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13761 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13763 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13765 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13767 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13768 (mswindows_executable_type): mingw32 now has enough headers for
13771 2000-05-20 Andy Piper <andy@xemacs.org>
13773 * console-msw.c (mswindows_output_last_error): ; -> ,
13775 2000-05-12 Andy Piper <andy@xemacs.org>
13777 * console-msw.c (FROB): compare ints with ints.
13779 2000-05-11 Andy Piper <andy@xemacs.org>
13781 * glyphs-x.c (x_finalize_image_instance): make minimal build
13784 2000-05-20 Ben Wing <ben@xemacs.org>
13787 * event-Xt.c (vars_of_event_Xt):
13788 move modifier-keys-are-sticky to event-stream.c.
13791 * event-msw.c (mswindows_enqueue_mouse_button_event):
13792 * event-msw.c (key_needs_default_processing_p):
13793 * event-msw.c (XEMSW_LCONTROL):
13794 * event-msw.c (mswindows_handle_sticky_modifiers):
13795 * event-msw.c (FROB):
13796 * event-msw.c (clear_sticky_modifiers):
13797 * event-msw.c (output_modifier_keyboard_state):
13798 * event-msw.c (output_alt_keyboard_state):
13799 * event-msw.c (mswindows_wnd_proc):
13800 * event-msw.c (mswindows_modifier_state):
13801 * event-msw.c (emacs_mswindows_handle_magic_event):
13802 implement sticky modifiers.
13805 * event-stream.c (vars_of_event_stream):
13806 move modifier-keys-are-sticky here.
13809 add CHECK_FUNCTION.
13812 implement map-range-table.
13815 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13817 * redisplay-tty.c (reset_tty_modes):
13818 (tty_redisplay_shutdown): Adjust argument type to
13819 tty_frame_output_end.
13821 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13823 * eval.c (Fbacktrace): Don't output a line with only right
13826 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13828 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13829 (Fpq_reset_poll): Ditto.
13831 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13833 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13835 2000-05-16 Ben Wing <ben@xemacs.org>
13838 * buffer.c (dfc_convert_to/from_internal_format):
13839 * buffer.c (reinit_vars_of_buffer):
13840 Fix conversion functions to allow reentrancy.
13843 * console-msw.c (mswindows_output_last_error):
13844 New fun, generally useful -- output a human-readable
13845 version of GetLastError() on the console.
13848 * console-msw.h (struct mswindows_frame):
13849 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13851 * console-stream.c (stream_output_begin):
13852 * console-stream.c (stream_output_end):
13853 * console-stream.c (stream_output_vertical_divider):
13854 * console-stream.c (stream_clear_region):
13855 * console-stream.c (stream_flash):
13856 * console-stream.c (console_type_create_stream):
13857 Delete blank stream methods, not needed.
13859 * console.h (struct console_methods):
13860 Split begin/end methods into window and frame.
13863 * event-msw.c (mswindows_handle_paint):
13864 * event-msw.c (output_alt_keyboard_state):
13865 * event-msw.c (mswindows_wnd_proc):
13866 * event-msw.c (vars_of_event_mswindows):
13867 Comment about problems with ignored-expose.
13868 Define mswindows-debug-events; not really implemented.
13870 * frame-msw.c (mswindows_init_frame_1):
13874 * glyphs-msw.c (begin_defer_window_pos):
13875 * glyphs-msw.c (mswindows_unmap_subwindow):
13876 * glyphs-msw.c (mswindows_map_subwindow):
13877 * glyphs-msw.c (mswindows_resize_subwindow):
13878 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13880 * glyphs.c (make_image_instance_1):
13883 * gutter.c (Fredisplay_gutter_area):
13884 Use new begin/end methods.
13886 * lisp.h (Dynarr_new2):
13890 * redisplay-msw.c (mswindows_frame_output_begin):
13891 * redisplay-msw.c (mswindows_frame_output_end):
13892 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13893 New begin/end methods -- handle DeferWindowPos.
13895 * redisplay-output.c (redisplay_move_cursor):
13896 * redisplay-output.c (redraw_cursor_in_window):
13897 * redisplay-output.c (redisplay_update_line):
13898 * redisplay-output.c (redisplay_output_window):
13899 New begin/end methods.
13902 * redisplay-tty.c (tty_frame_output_begin):
13903 * redisplay-tty.c (tty_frame_output_end):
13904 * redisplay-tty.c (console_type_create_redisplay_tty):
13905 New begin/end methods.
13908 * redisplay-x.c (x_window_output_begin):
13909 * redisplay-x.c (x_window_output_end):
13910 * redisplay-x.c (console_type_create_redisplay_x):
13911 New begin/end methods.
13913 * redisplay.c (redisplay_frame):
13914 * redisplay.c (Fredisplay_echo_area):
13915 New begin/end methods.
13916 use MAYBE_DEVMETH for clear_frame; it may not exist.
13918 * window.h (WINDOW_XFRAME):
13919 WINDOW_XFOO macros -- get locale and decode struct pointer.
13922 2000-05-12 Ben Wing <ben@xemacs.org>
13925 * emacs.c (ensure_no_quitting_from_now_on):
13926 * emacs.c (fatal_error_signal):
13927 * emacs.c (mswindows_handle_hardware_exceptions):
13929 * emacs.c (Fkill_emacs):
13930 * emacs.c (shut_down_emacs):
13931 * emacs.c (assert_failed):
13932 various improvements in fatal error handling.
13935 move preparing_for_armageddon to emacs.c.
13938 declare fatal_error_in_progress.
13941 * print.c (std_handle_out_external):
13942 * print.c (std_handle_out_va):
13943 * print.c (stderr_out):
13944 * print.c (stdout_out):
13945 use console under mswin when no standard output.
13946 don't do code conversion during fatal error.
13948 * scrollbar.c (Fscrollbar_page_up):
13949 * scrollbar.c (Fscrollbar_page_down):
13950 fix missing else. reindent.
13952 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13956 * glyphs.h (GLYPH_CACHEL_DESCENT):
13957 (GLYPH_CACHEL_DESCENT):
13958 (GLYPH_CACHEL_DESCENT):
13959 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13960 used in case these are inline functions.
13961 Use more absurd values to error check.
13963 include window.h for error check functions.
13965 2000-05-11 Ben Wing <ben@xemacs.org>
13967 * cmdloop.c (Freally_early_error_handler):
13968 Display message box under windows; otherwise, message will disappear
13969 before it can be viewed.
13972 * console-msw.c (Fmswindows_message_box):
13973 * console-msw.c (FROB):
13974 * console-msw.c (syms_of_console_mswindows):
13975 Define new fun `mswindows-message-box'.
13976 #### I will merge this into `popup-dialog-box'; just give me
13980 * general.c (syms_of_general):
13981 Some new symbols used in `mswindows-message-box'.
13984 * glyphs.c (Fset_image_instance_property):
13985 put warning in this fun.
13988 * glyphs.h (GLYPH_CACHEL_WIDTH):
13989 * glyphs.h (GLYPH_CACHEL_ASCENT):
13990 * glyphs.h (GLYPH_CACHEL):
13991 * glyphs.h (GLYPH_CACHEL_GLYPH):
13992 define error-checking versions to try to catch a bug i've seen --
13993 redisplay gets in an infinite loop because the glyph width of the
13994 continuation glyph is 65535.
13997 Extern message-box stuff.
13999 * window.c (allocate_window):
14000 * window.c (make_dummy_parent):
14001 * window.c (Fset_window_configuration):
14002 Use EQUAL not EQ for subwindow caches to make them work a bit
14003 better. (Something is still very broken.)
14006 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
14008 * glyphs.c (image_instantiate): Suppress gcc warnings.
14009 (Fmake_image_instance): Fix doc string.
14010 * specifier.c (Fmake_specifier): Ditto.
14012 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
14014 * paths.h.in (PATH_LOCK): Removed.
14015 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
14016 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
14018 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14020 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14021 Document (featurep '(and xemacs 21.02)).
14023 2000-05-09 Ben Wing <ben@xemacs.org>
14025 * buffer.c (complex_vars_of_buffer):
14026 update modeline-format doc.
14029 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14032 timeline of all released versions of Emacs, for use in creating
14033 authorship comments and in synching up.
14035 * glyphs-widget.c (image_instantiator_buttons):
14036 * glyphs-widget.c (image_instantiator_edit_fields):
14037 * glyphs-widget.c (image_instantiator_combo_box):
14038 * glyphs-widget.c (image_instantiator_scrollbar):
14039 * glyphs-widget.c (image_instantiator_progress_guage):
14040 * glyphs-widget.c (image_instantiator_tree_view):
14041 * glyphs-widget.c (image_instantiator_tab_control):
14042 * glyphs-widget.c (image_instantiator_labels):
14043 * glyphs-widget.c (image_instantiator_layout):
14044 * glyphs-widget.c (image_instantiator_native_layout):
14045 rename decode_domain method to governing_domain.
14048 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14049 * glyphs.c (add_entry_to_device_ii_format_list):
14050 make sure we don't put an entry more than once into the list.
14051 * glyphs.c (check_instance_cache_mapper):
14052 *************************************************************
14053 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14055 *************************************************************
14056 * glyphs.c (get_image_instantiator_governing_domain):
14057 clean up, expand on new concept of governing domain.
14058 * glyphs.c (instantiate_image_instantiator):
14059 * glyphs.c (allocate_image_instance):
14060 use governing_domain instead of cache_domain in naming.
14061 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14062 * glyphs.c (make_image_instance_1):
14063 * glyphs.c (Fmake_image_instance):
14064 allow for any domain (not just device), and process the
14065 governing domain correctly. very big doc fix.
14066 * glyphs.c (Fimage_instance_domain):
14067 new primitive, to retrieve the governing domain of an image instance.
14068 * glyphs.c (image_instantiate):
14069 use new governing_domain stuff. this fixes a crash you could get
14070 by instantiating certain widget glyphs in frame locales. (should
14071 signal an error instead of crashing.)
14072 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14073 * glyphs.c (Fglyphp): clean up doc.
14074 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14075 * glyphs.c (syms_of_glyphs):
14076 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14077 * glyphs.c (image_instantiator_format_create): add some comments about
14079 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14080 for current-display-table. (Apparently Hrjove implemented in 1998 a
14081 design I wrote up in 1996, but didn't update the doc string.)
14083 * glyphs.h: clean up a doc string.
14084 * glyphs.h (governing_domain):
14085 * glyphs.h (struct image_instantiator_methods):
14086 changes for governing_domain stuff.
14089 * gutter.c (Fgutter_specifier_p):
14090 * gutter.c (Fgutter_size_specifier_p):
14091 * gutter.c (Fgutter_visible_specifier_p):
14093 * objects.c (Fcolor_specifier_p):
14094 * objects.c (Ffont_specifier_p):
14095 * objects.c (Fface_boolean_specifier_p):
14096 doc strings moved to make-*-specifier.
14098 * redisplay.c (add_disp_table_entry_runes_1):
14099 * redisplay.c (generate_fstring_runes):
14100 * redisplay.c (screen):
14101 add random comments and doc strings.
14104 * specifier.c (Fmake_specifier):
14105 major overhaul of this doc string.
14107 * specifier.c (Fvalid_specifier_domain_p):
14108 comment about the bogosity of image instances being domains.
14109 * specifier.c (decode_domain):
14110 now non-static, used in glyphs.c.
14111 * specifier.c (specifier_instance):
14112 comment about the bogosity of image instances being domains.
14113 * specifier.c (Fgeneric_specifier_p):
14114 move doc string to make-generic-specifier.
14115 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14119 * specifier.h (DOMAIN_FRAME):
14120 * specifier.h (DOMAIN_LIVE_P):
14121 * specifier.h (DOMAIN_XDEVICE):
14123 add comments about problems with these macros.
14124 prototype for decode_domain.
14127 * toolbar.c (Ftoolbar_specifier_p):
14128 move doc string to `make-toolbar-specifier'.
14130 * window.c (window_unmap_subwindows_cache_mapper):
14131 *************************************************************
14132 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14134 *************************************************************
14136 2000-05-09 Andy Piper <andy@xemacs.org>
14138 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14140 * window.c (Fset_window_configuration): reset the frame subwindow
14141 cache and re-initialize the window subwindow caches.
14143 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14145 2000-05-09 Ben Wing <ben@xemacs.org>
14147 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14150 2000-04-26 Mike Woolley <mike@bulsara.com>
14152 * ntheap.c: Changed recreate_heap to limit the amount reserved
14153 for the heap to that which is actually available. Also now
14154 displays a message box (with some dignostics) in the event that
14155 it still can't start.
14157 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14159 * callproc.c (Fold_call_process_internal): GCPRO path
14161 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14163 Patch by Bill Perry.
14165 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14166 back data instead of #ifdef.
14167 (Fscrollbar_page_down): ditto.
14169 2000-05-07 Ben Wing <ben@xemacs.org>
14172 Kludge for defining Qmswindows_tstr.
14175 * nt.c (open_input_file):
14176 * nt.c (open_output_file):
14177 * nt.c (rva_to_section):
14178 * nt.c (mswindows_executable_type):
14179 Move all memory-mapped-file routines here (some were in unexnt.c,
14180 which is bad because they are used by process-nt.c, and unexnt
14181 won't be around when portable dumping). Synched the above routines
14185 Removed ifdef'd out bogus code.
14186 Fixed some prototypes.
14188 * nt.h (file_data):
14189 * nt.h (OFFSET_TO_RVA):
14190 * nt.h (RVA_TO_OFFSET):
14191 * nt.h (RVA_TO_PTR):
14192 Moved the memory-mapped-file structures, macros and prototypes
14193 here, to parallel nt.c. ntheap.h should really be removed
14194 entirely, and it's a non-portable-dumper specific file.
14196 * ntheap.h (round_to_next):
14197 Moved the memory-mapped-file structures, macros and prototypes
14200 * ntproc.c (compare_env):
14201 Moved rva_to_section and mswindows_executable_type to nt.c.
14202 Moved compare_env to process-nt.c.
14203 ntproc.c will die, one day.
14205 * ntproc.c (sys_spawnve):
14206 Account for win32_ -> mswindows_.
14209 * process-nt.c (struct nt_process_data):
14210 * process-nt.c (ensure_console_window_exists):
14211 * process-nt.c (compare_env):
14212 * process-nt.c (nt_create_process):
14213 * process-nt.c (nt_kill_process_by_pid):
14214 * process-nt.c (syms_of_process_nt):
14215 * process-nt.c (vars_of_process_nt):
14216 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14217 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14218 changes). Eliminate our old `nt-quote-process-args' mechanism.
14219 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14220 Move compare_env here from ntproc.c.
14222 * process.c (Fprocess_send_region):
14223 Takes an optional fourth argument, BUFFER, which should fix some
14224 problems with call-process.
14227 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14230 Move ICC_BAR_CLASSES to syscommctrl.h.
14231 Add preliminary macros for MSWindows/Mule. More to come.
14234 * unexnt.c (unexec):
14235 open_output_file moved to nt.c.
14238 2000-05-05 Andy Piper <andy@xemacs.org>
14240 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14241 instance from the frame cache also since GC may catch up too late
14242 to make frame deletion sane.
14244 2000-05-04 Andy Piper <andy@xemacs.org>
14246 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14247 (x_finalize_image_instance): ungcpro on deletion.
14249 * glyphs.c (image_instantiator_format_create): give pointers a
14250 query geometry method so that the geometry is at least set.
14252 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14253 initialize layouts if using widgets.
14255 2000-05-03 Andy Piper <andy@xemacs.org>
14257 * nt.c: remove bogus reference to sysmmsystem.h
14259 * gui-x.c (popup_selection_callback): fix no selection abort.
14261 2000-05-02 Andy Piper <andy@xemacs.org>
14263 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14264 (mswindows_widget_instantiate): ditto.
14266 * glyphs-widget.c (initialize_widget_image_instance): initialize
14267 children correctly.
14268 (widget_instantiate): cope with children and items in the same
14271 * glyphs.c (mark_image_instance): cope with children as a first
14273 (image_instance_equal): ditto.
14274 (image_instance_hash): ditto.
14275 (image_instance_changed): ditto.
14277 2000-04-30 Andy Piper <andy@xemacs.org>
14279 * glyphs.c (subwindow_query_geometry): new function. Return some
14281 (subwindow_instantiate): don't assign dimensions if none have been
14283 (image_instantiator_format_create): add subwindow_query_geometry.
14284 (print_image_instance): cope with layouts as widgets.
14286 2000-04-29 Andy Piper <andy@xemacs.org>
14288 * frame.c (delete_frame_internal): call
14289 free_frame_subwindow_instance_cache so that all subwindows are
14290 finalized before their parent.
14291 (mark_frame): remove subwindow_cachels.
14292 (Fmake_frame): remove subwindow_cachel manipulation.
14293 (allocate_frame_core): subwindow_instance_cache is a weak list.
14294 (delete_frame_internal): set subwindow_instance_cache to nil.
14296 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14298 (mswindows_finalize_image_instance): use the device
14299 not the domain as the domain may have died already.
14301 * glyphs-x.c (x_finalize_image_instance): ditto.
14302 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14305 * redisplay-output.c (redisplay_unmap_subwindows): update for
14306 subwindow instance cache as a weak list.
14307 (redisplay_unmap_subwindows_maybe): ditto.
14308 (redisplay_unmap_subwindows_except_us): ditto.
14310 * glyphs.c (unmap_subwindow): error checking will check the domain
14311 so don't deal with it here. Don't use cachels anymore.
14312 (map_subwindow): ditto.
14313 (update_subwindow_cachel_data): remove old accessor names.
14314 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14315 (Fresize_subwindow): don't update cachel.
14316 (mark_subwindow_cachels):
14317 (update_subwindow_cachel_data):
14318 (add_subwindow_cachel):
14319 (get_subwindow_cachel_index):
14320 (update_subwindow_cachel):
14321 (reset_subwindow_cachels):
14322 (mark_subwindow_cachels_as_not_updated): deleted.
14323 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14324 subwindow instance to the frame cache.
14325 (find_matching_subwindow): update for subwindow instance cache as
14327 (update_widget_instances): ditto.
14328 (image_instance_type_to_mask):inlined.
14329 (free_frame_subwindow_instance_cache): new function. finalize all
14330 subwindows that are instantiated.
14332 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14333 of cachel information.
14334 (IMAGE_INSTANCE_DISPLAY_X):
14335 (IMAGE_INSTANCE_DISPLAY_Y):
14336 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14337 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14338 (XIMAGE_INSTANCE_DISPLAY_X):
14339 (XIMAGE_INSTANCE_DISPLAY_Y):
14340 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14341 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14342 remove subwindow_cachel structure and function references.
14343 (image_instance_type_to_mask): inline from glyphs.c
14345 * redisplay.c (redisplay_frame): remove subwindow_cachel
14348 * frame.h (struct frame): remove subwindow_cachels.
14349 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14351 * frameslots.h: add subwindow_instance_cache.
14353 * window.c (replace_window): check subwindow cache of replacement.
14354 (window_unmap_subwindows_cache_mapper):
14355 (window_unmap_subwindows): new functions. Unmap all subwindows
14356 cached on this window.
14357 (mark_window_as_deleted): unmap all subwindows.
14359 2000-04-27 Andy Piper <andy@xemacs.org>
14361 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14363 * glyphs-widget.c (widget_layout): return something.
14364 (layout_layout): return something. Fail if not initialized.
14365 (layout_query_geometry): ditto.
14366 (image_instantiator_native_layout): new function. Initialized the
14367 native layout type.
14368 (widget_instantiate): don't do layout stuff here.
14370 * glyphs.c (instantiate_image_instantiator): reorded calling or
14371 instantiate and post_instantiate with layout in between.
14372 (image_instance_layout): be more selective about deciding whether
14373 the layout has been done or not.
14375 * glyphs.h (struct image_instantiator_methods): return a value
14376 from layout_method.
14378 2000-04-26 Andy Piper <andy@xemacs.org>
14380 * glyphs.c (allocate_image_instance): make initial width and
14381 height unspecified. Set initialized to 0.
14383 * syscommctrl.h new file. Encapsulates commctrl.h.
14385 * syswindows.h new file. Encapsulates windows.h.
14387 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14389 * console-msw.h: ditto.
14391 * redisplay-tty.c (tty_output_display_block): remove layout references.
14393 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14394 window handle rather than just the frame.
14396 * glyphs.c (mark_image_instance): remove layout references.
14397 (print_image_instance): ditto.
14398 (image_instance_equal): ditto.
14399 (image_instance_hash): ditto.
14400 (decode_image_instance_type): ditto.
14401 (encode_image_instance_type): ditto.
14402 (image_instantiate): ditto.
14403 (allocate_glyph): ditto.
14404 (Fimage_instance_height): ditto.
14405 (Fimage_instance_width): ditto.
14406 (update_subwindow): ditto.
14408 * redisplay-x.c (x_output_display_block): recode for layouts as
14411 * redisplay-output.c (redisplay_output_layout): recode for layouts
14413 (compare_runes): remove layout references.
14415 * redisplay-msw.c (mswindows_output_display_block): recode for
14416 layouts as widgets.
14418 * glyphs-widget.c (image_instantiator_layout): remove
14419 layout_possible_dest_types.
14420 (layout_possible_dest_types): deleted.
14422 * glyphs.h (image_instance_type): remove layout references.
14423 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14424 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14425 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14427 2000-04-25 Andy Piper <andy@xemacs.org>
14429 * glyphs-widget.c (image_instantiator_buttons):
14430 (image_instantiator_edit_fields):
14431 (image_instantiator_combo_box):
14432 (image_instantiator_scrollbar):
14433 (image_instantiator_progress_guage):
14434 (image_instantiator_tree_view):
14435 (image_instantiator_tab_control):
14436 (image_instantiator_labels):
14437 (image_instantiator_layout): call default post_instantiate method.
14438 (widget_post_instantiate): new function. Simply lays out the
14441 * glyphs.h (struct image_instantiator_methods): add
14442 post_instantiate method.
14444 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14447 2000-04-23 Andy Piper <andy@xemacs.org>
14449 * glyphs.h (struct image_instantiator_methods): add
14450 decode_domain_method.
14451 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14452 derived from the domain.
14453 (IMAGE_INSTANCE_FRAME): new accessor.
14454 (XIMAGE_INSTANCE_FRAME): ditto.
14456 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14457 instead of _SUBWINDOW_FRAME.
14458 (finalize_image_instance): ditto.
14459 (Fimage_instance_foreground): ditto.
14460 (Fimage_instance_background): ditto.
14461 (image_instantiate): ditto.
14462 (update_subwindow_cachel): ditto.
14463 (update_subwindow): ditto.
14464 (unmap_subwindow): ditto.
14465 (map_subwindow): ditto
14466 (subwindow_instantiate): ditto.
14467 * glyphs-msw.c (mswindows_update_widget): ditto.
14468 (mswindows_progress_gauge_instantiate): ditto.
14469 (mswindows_tab_control_update): ditto.
14470 * glyphs-x.c (x_update_widget): ditto.
14471 (x_widget_instantiate): ditto.
14472 (x_tab_control_instantiate): ditto.
14473 (x_tab_control_update): ditto.
14474 * event-msw.c (mswindows_wnd_proc): ditto
14476 * glyphs-widget.c (image_instantiator_layout): use
14477 subwindow_decode_domain.
14478 (image_instantiator_buttons): ditto.
14479 (image_instantiator_edit_fields): ditto.
14480 (image_instantiator_combo_box): ditto.
14481 (image_instantiator_scrollbar): ditto.
14482 (image_instantiator_progress_guage): ditto.
14483 (image_instantiator_tree_view): ditto.
14484 (image_instantiator_tab_control): ditto.
14485 (image_instantiator_labels): ditto.
14486 (image_instantiator_layout): ditto.
14488 * glyphs.c: add instance error checking to many functions.
14489 (instantiate_image_instantiator): decode device from cache_domain.
14490 (image_instantiate): partially rewrite by using
14491 decode_image_instantiator_domain to determine what domain the
14492 instance needs to be cached in.
14493 (decode_image_instantiator_domain): new function. Determine what
14494 domain the image needs to be cached in.
14495 (check_window_subwindow_cache): new error checking function.
14496 (check_instance_cache_mapper): ditto.
14497 (check_image_instance_structure): ditto.
14498 (subwindow_decode_domain): new function. Encodes a window as a
14499 subwindow's cache domain.
14500 (image_instantiator_format_create): use it for text and
14503 2000-04-21 Andy Piper <andy@xemacs.org>
14505 * glyphs.c (image_instance_device): new function.
14506 (image_instance_frame): new function.
14507 (image_instance_window): new function.
14508 (image_instance_live_p): new function.
14510 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14513 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14514 (IMAGE_INSTANCE_DOMAIN): new accessor.
14515 (XIMAGE_INSTANCE_DOMAIN): ditto.
14517 * glyphs-x.c (x_finalize_image_instance): device->domain.
14519 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14520 (mswindows_finalize_image_instance): ditto.
14522 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14523 (gif_instantiate): ditto.
14524 (png_instantiate): ditto.
14525 (tiff_instantiate): ditto.
14527 * glyphs.c (instantiate_image_instantiator): use domain rather
14529 (mark_image_instance): device -> domain.
14530 (print_image_instance): ditto.
14531 (finalize_image_instance): ditto.
14532 (image_instance_equal): ditto.
14533 (allocate_image_instance): ditto.
14534 (Fcolorize_image_instance): ditto.
14535 (query_string_geometry): ditto.
14536 (image_instantiate): ditto
14537 (query_string_font): ditto.
14538 (image_instantiate): ditto.
14539 (update_subwindow): ditto.
14540 (unmap_subwindow): ditto.
14541 (map_subwindow): ditto.
14542 (subwindow_instantiate): ditto.
14544 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14545 (DOMAIN_FRAME): ditto.
14546 (DOMAIN_WINDOW): ditto.
14547 (DOMAIN_LIVE_P): ditto.
14548 (XDOMAIN_DEVICE): ditto.
14549 (XDOMAIN_FRAME): ditto.
14550 (XDOMAIN_WINDOW): ditto.
14552 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14553 a valid specifier domain.
14555 2000-04-19 Andy Piper <andy@xemacs.org>
14557 * glyphs-widget.c (syms_of_glyphs_widget): remove
14558 widget-callback-current-channel.
14559 (vars_of_glyphs_widget): ditto.
14562 * gui.c (get_gui_callback): revert to previous behaviour.
14564 2000-04-18 Andy Piper <andy@xemacs.org>
14566 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14567 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14568 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14570 * glyphs.c (image_instance_equal): add margin_width.
14571 (image_instance_hash): ditto.
14573 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14574 (layout_query_geometry): ditto.
14575 (layout_layout): ditto.
14576 (syms_of_glyphs_widget): add margin-width.
14577 (image_instantiator_layout): allow margin-width.
14579 * glyphs.c (update_widget_instances): make a normal function.
14580 (syms_of_glyphs): remove Qupdate_widget_instances.
14583 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14584 so that we don't corrupt ideas about the last event or
14585 command. Remove widget-callback-current-channel fiddling.
14586 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14588 2000-05-01 Martin Buchholz <martin@xemacs.org>
14590 * XEmacs 21.2.33 is released.
14592 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14594 * make-src-depend: Allow dots in header file name.
14596 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14598 * mule-charset.h (struct charset_lookup): Add
14599 next_allocated_1_byte_leading_byte and
14600 next_allocated_2_byte_leading_byte.
14601 * mule-charset.c: Move above two variables so that those values
14604 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14606 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14607 when string length is zero.
14608 (find_charsets_in_emchar_string): Ditto.
14610 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14612 * lisp.h: extern Qdialog and Qmenubar.
14614 * gui-x.c: added events.h.
14615 also fixed typo which made the file uncompilable.
14617 * general.c: Added Qmenubar and Qdialog
14619 2000-04-28 Ben Wing <ben@xemacs.org>
14621 * frame-msw.c (mswindows_init_frame_1):
14622 * frame-msw.c (mswindows_mark_frame):
14623 * event-msw.c (mswindows_enqueue_dispatch_event):
14625 * console-msw.h (struct mswindows_frame):
14626 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14627 there are now three hash tables for callbacks.
14628 mswindows_enqueue_dispatch_event is no longer static.
14630 * dialog-x.c (maybe_run_dbox_text_callback):
14631 * dialog-x.c (dbox_descriptor_to_widget_value):
14632 switch to new cons3 form for callbacks.
14634 * glyphs-msw.c (mswindows_register_gui_item):
14635 * glyphs-msw.c (mswindows_widget_instantiate):
14636 * glyphs-msw.c (add_tree_item):
14637 * glyphs-msw.c (add_tab_item):
14638 new image instance parameter, so it can be passed to callback-ex.
14639 respect :callback-ex as well as :callback.
14641 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14644 * glyphs.c (print_image_instance):
14645 prettify, e.g. now prints widget type.
14648 certain funs have new image instance parameter.
14651 * gui.c (get_gui_callback):
14652 * gui.c (gui_item_add_keyval_pair):
14653 * gui.c (gui_item_init):
14654 * gui.c (gui_add_item_keywords_to_plist):
14655 * gui.c (mark_gui_item):
14656 * gui.c (gui_item_hash):
14657 * gui.c (gui_item_equal):
14658 * gui.c (copy_gui_item):
14659 * gui.c (syms_of_gui):
14660 recognize callback-ex in a number of places.
14661 also, fix the annoying "can't get out of yes-no dialog" bug.
14664 * gui.h (struct Lisp_Gui_Item):
14665 recognize callback-ex in a number of places.
14667 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14668 new parameter in button_item_to_widget_value.
14670 * glyphs-x.c (x_update_widget):
14671 * glyphs-x.c (x_button_instantiate):
14672 * glyphs-x.c (x_button_update):
14673 * glyphs-x.c (x_progress_gauge_instantiate):
14674 * glyphs-x.c (x_edit_field_instantiate):
14675 * glyphs-x.c (x_combo_box_instantiate):
14676 * glyphs-x.c (x_tab_control_instantiate):
14677 * glyphs-x.c (x_label_instantiate):
14678 new image instance parameter in various places.
14681 * event-Xt.c (enqueue_Xt_dispatch_event):
14682 this fun gets exported.
14685 * gui-msw.c (mswindows_handle_gui_wm_command):
14686 handle both :callback and :callback-ex, and generate our own
14687 event because it's one of the callback-ex arguments.
14690 * gui-x.c (popup_selection_callback):
14691 handle both :callback and :callback-ex, and generate our own
14692 event because it's one of the callback-ex arguments.
14693 * gui-x.c (button_item_to_widget_value):
14694 * gui-x.c (gui_items_to_widget_values_1):
14695 * gui-x.c (gui_item_children_to_widget_values):
14696 * gui-x.c (gui_items_to_widget_values):
14697 new image instance parameter in various places.
14699 * fns.c (Freplace_list):
14700 fix small typo in doc string.
14703 declare enqueue_Xt_dispatch_event.
14705 2000-04-28 Ben Wing <ben@xemacs.org>
14708 * buffer.c (Frecord_buffer):
14709 * buffer.c (syms_of_buffer):
14710 delete record-buffer-hook.
14713 * fns.c (Freplace_list):
14714 * fns.c (syms_of_fns):
14715 new primitive replace-list.
14718 slot for old buffer-alist.
14721 exfun replace-list.
14724 * redisplay.c (redisplay_frame):
14725 * redisplay.c (syms_of_redisplay):
14726 * redisplay.c (vars_of_redisplay):
14727 new hook buffer-list-changed-hook.
14730 2000-04-27 Ben Wing <ben@xemacs.org>
14732 * extents.h: extern in_modeline_generation.
14734 * redisplay.c (generate_formatted_string_db): set
14735 in_modeline_generation.
14737 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14738 flags if in modeline generation. otherwise frame-modified-tick
14739 is ticked far too often.
14740 Declare in_modeline_generation.
14742 2000-04-26 Ben Wing <ben@xemacs.org>
14744 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14746 (vars_of_emacs): add quick-build as an error-checking option.
14747 A bit kludgy, but there doesn't seem much point in creating
14748 a real var for this.
14750 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14752 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14754 * redisplay.h (struct display_line): Add a new variable,
14757 * redisplay.c (create_text_block): Set dl->line_continuation if
14758 the line continues.
14759 (create_string_text_block): Ditto.
14760 (regenerate_window_incrementally): Use line_continuation instead
14761 of searching continuation glyph.
14762 (add_margin_runes): Call add_glyph_rune.
14763 (add_glyph_rune): Handle margin glyph.
14765 2000-04-20 Martin Buchholz <martin@xemacs.org>
14767 * filelock.c (fill_in_lock_file_name):
14769 Check for IS_ANY_SEP instead of '/'.
14771 Avoid generating gratuitous garbage. Call user_login_name() directly.
14772 Never check errno without first seeing that system call failed.
14773 (unlock_file): Add GCPRO.
14774 (Flock_buffer): Fix docstring.
14775 (Ffile_locked_p): Fix docstring. Add GCPRO.
14777 2000-04-19 Martin Buchholz <martin@xemacs.org>
14779 * sysdep.c (get_pty_max_bytes):
14780 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14781 strings longer than 252 bytes.
14783 * md5.c: Unconditionally include ANSI header <limits.h>
14785 * glyphs-x.c (convert_EImage_to_XImage):
14786 * lisp-union.h (union Lisp_Object):
14787 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14789 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14791 * filelock.c (current_lock_owner): Remove unused variable o, p.
14793 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14795 * callint.c: Remove multiply defined symbol Qlet
14796 (syms_of_callint): ditto.
14798 2000-04-14 Andy Piper <andy@xemacs.org>
14800 * general.c (syms_of_general): add last-command, this-command, let
14803 * lisp.h: declare various symbols.
14805 * glyphs.h: declare Qwidget_callback_current_channel;
14807 * glyphs-widget.c (syms_of_glyphs_widget): add
14808 Qgui_callback_current_channel.
14809 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14811 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14812 widget-callback-current-channel when invoking the interactive
14813 arg. Also bind last-command and next-command when invoking the
14815 * gui-x.c (popup_selection_callback): ditto.
14817 * gui.c (get_gui_callback): massage args so that we are always
14818 calling eval. This allows us to add our own variable bindings
14821 * glyphs-x.c (x_button_instantiate): use
14822 gui_items_to_widget_values since this is GC safe.
14823 (x_progress_gauge_instantiate): ditto.
14824 (x_edit_field_instantiate): ditto.
14825 (x_label_instantiate): ditto.
14827 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14828 (emacs_Xt_event_widget_focus_out): new function
14829 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14831 (emacs_Xt_event_add_widget_actions): new function. add focus
14832 functions as actions.
14833 (init_event_Xt_late): use it.
14835 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14837 * event-stream.c (Fdispatch_event): Doc fix.
14839 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14841 * postgresql.c: Remove all references to PQsetenv*.
14843 * postgresql.h: Remove references to PGsetenvHandler object.
14844 * lrecord.h (lrecord_type): Ditto.
14846 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14848 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14849 real_heigh and real_width members, and accessor macros for these.
14851 * glyphs-msw.c (init_image_instance_geometry): New function.
14852 (init_image_instance_from_dibitmap): Use it.
14853 (mswindows_resource_instantiate): Use it.
14854 (init_image_instance_from_xbm_inline): Use it.
14855 (mswindows_initialize_image_instance_mask): Use real bitmap
14857 (mswindows_create_resized_bitmap): Ditto.
14858 (mswindows_create_resized_mask): Ditto.
14860 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14861 and bitmap to their surface size.
14863 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14865 * process-unix.c (unix_send_process): Guard against process MIA
14866 after Faccept_process_output.
14868 2000-04-11 Ben Wing <ben@xemacs.org>
14870 * eval.c (unbind_to_hairy): fix brokenness introduced by
14871 nanosecond speed improvements.
14873 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14875 * sunplay.c (init_device): To play sounds correctly, the device
14876 apparently needs to be initialized at least once by XEmacs. Make
14879 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14881 * redisplay.c (add_margin_runes): Add text image glyph
14884 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14886 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14887 gcc is newer than 2.5.
14889 2000-04-06 Colin Rafferty <colin@xemacs.org>
14891 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14893 * fns.c (size_bit_vector):
14894 * alloc.c (size_vector):
14895 (make_vector_internal):
14896 (make_bit_vector_internal):
14897 (sweep_bit_vectors_1):
14898 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14900 2000-04-06 Andy Piper <andy@xemacs.org>
14902 * gmalloc.c (malloc): undo previous change.
14907 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14909 * line-number.c (buffer_line_number): Revert to former version.
14911 2000-04-06 Andy Piper <andy@xemacs.org>
14913 * gmalloc.c (malloc): add error checking.
14918 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14919 button_item_to_widget_value arg.
14921 * glyphs-x.c (x_button_instantiate): add extra
14922 button_item_to_widget_value arg.
14923 (x_progress_gauge_instantiate): ditto.
14924 (x_edit_field_instantiate): ditto.
14925 (x_label_instantiate): ditto.
14927 * gui-x.c (gui_items_to_widget_values_1): add extra
14928 button_item_to_widget_value arg.
14929 (button_item_to_widget_value): add extra menu_item_p arg.
14931 * gui-x.h: change signature of button_item_to_widget_value.
14933 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14934 button_item_to_widget_value arg.
14936 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14938 * buffer.h (struct buffer): auto_save_modified should be long.
14940 2000-04-05 Andy Piper <andy@xemacs.org>
14942 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14944 (button_query_geometry): give a little more room so that athena
14947 2000-04-05 Andy Piper <andy@xemacs.org>
14949 * faces.c (complex_vars_of_faces): The widget face should inherit
14950 the font of the gui-element face.
14952 2000-04-04 Andy Piper <andy@xemacs.org>
14954 * glyphs-x.c (x_button_update): new function. unconditionally
14955 update a button's state when the instance is dirty.
14956 (image_instantiator_format_create_glyphs_x): add x_button_update.
14957 (x_widget_instantiate): remove old resize cruft.
14959 2000-04-02 Andy Piper <andy@xemacs.org>
14961 * frame.c (change_frame_size_1): The introduction of gutters means
14962 that we need to allow 0 as a potential frame dimension.
14964 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14966 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14967 image glyph if allow_cursor.
14968 (add_hscroll_rune): Don't allow cursor to border glyph.
14969 (create_text_block): Ditto.
14971 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14972 text not in buffer.
14973 (redisplay_output_layout): Call ensure_face_cachel_complete for
14977 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14979 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14981 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14984 * redisplay-tty.c (tty_output_display_block): Delete the routine
14985 for text image glyph
14986 * redisplay-x.c (x_output_display_block): ditto
14987 * redisplay-msw.c (mswindows_output_display_block): ditto
14989 2000-02-02 Mike Alexander <mta@arbortext.com>
14991 Note: Some of these were committed by accident as part of other
14994 * regex.c (regex_compile): Avoid compiler warnings.
14996 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14998 * nt.h: Declare term_ntproc correctly.
15000 * nt.c: Remove incorrect declaration of get_home_directory which
15001 is declared correctly in lisp.h.
15003 * keymap.c (get_keyelt): Avoid compiler warnings.
15004 (raw_lookup_key_mapper): Avoid compiler warnings.
15006 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
15008 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
15010 * filemode.c (mode_string): Avoid compiler warnings.
15012 * file-coding.c (Fcoding_system_aliasee): Add return statement to
15015 * events-mod.h: Undef some things that winuser.h defines differently.
15017 * data.c (Faset): Avoid compiler warnings.
15019 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15021 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15023 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15024 Fall through to simple beep on error.
15025 Replace "extern" by real header file.
15027 * linuxplay.c: Use nativesound.h
15028 (play_sound_data): Return error code. Be less verbose on error.
15030 * sunplay.c: Use nativesound.h
15031 (play_sound_data): Return error code. Be less verbose on error.
15033 * ntplay.c: Use nativesound.h
15034 (play_sound_data): Return fake error code
15036 * sgiplay.c: Use nativesound.h
15037 (play_sound_data): Return error code
15039 * hpplay.c: Use nativesound.h, partially implement
15040 new error code. Break compilation until finished.
15041 (play_sound_data): error code.
15043 * nativesound.h (play_sound_file):
15044 (play_sound_data): Prototype in new header.
15046 2000-03-31 Andy Piper <andy@xemacs.org>
15048 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15049 for toggle and radio buttons.
15050 (image_instantiator_buttons): use it.
15052 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15054 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15055 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15056 found. Scrollbar event probably belonged to some old config.
15058 2000-03-31 Andy Piper <andy@xemacs.org>
15060 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15062 (initialize_widget_image_instance): default layout to
15063 LAYOUT_HORIZONTAL rather than 0.
15064 (widget_instantiate): reverse the item list at the end rather than
15066 (layout_layout): re-code for the border text at the front of the
15067 item list rather than at the end.
15068 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15069 provided by the user.
15070 (widget_query_geometry): comment.
15072 2000-03-30 Andy Piper <andy@xemacs.org>
15074 * glyphs-widget.c (image_instantiator_layout): allow standard
15075 widget keywords in layouts.
15077 * gutter.c (output_gutter): cope with nil gutter contents.
15079 * frame.c (Fset_frame_properties): add gutter docs.
15081 2000-03-29 Andy Piper <andy@xemacs.org>
15083 * toolbar-msw.c (TBSTYLE_FLAT): add.
15084 (mswindows_output_toolbar): minor fiddling.
15086 2000-03-29 Andy Piper <andy@xemacs.org>
15088 * gutter.c (output_gutter): force gutter size recalculation if
15089 what we are trying to display won't fit.
15090 (update_gutter_geometry): new function. A per-gutter version of
15091 update_frame_gutter_geometry.
15092 (update_frame_gutter_geometry): use it.
15093 (redraw_exposed_gutter): add extra debugging output.
15095 2000-03-28 Mike Alexander <mta@arbortext.com>
15097 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15098 (pdump_file_unmap): Implement it on Windows
15099 (pdump_file_get): Save alocated handles for pdump_file_unmap
15101 2000-03-28 Andy Piper <andy@xemacs.org>
15103 * gui.c (get_gui_callback): treat Quit specially.
15105 2000-03-27 Andy Piper <andy@xemacs.org>
15107 * glyphs.c (image_instantiate): be careful to check in the same
15110 2000-03-27 Didier Verna <didier@xemacs.org>
15112 * config.h.in: define the proper SMART_INCLUDE macro.
15113 handle renaming of `foo_h_path' to `foo_h_file'.
15115 * database.c: ditto.
15119 * linuxplay.c: ditto.
15121 * terminfo.c: ditto.
15123 * tooltalk.h: ditto.
15125 2000-03-27 Andy Piper <andy@xemacs.org>
15127 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15128 gets updated whenever the face might have changed.
15130 2000-03-26 Mike Alexander <mta@arbortext.com>
15132 * dumper.c (pdump_resource_free): Fix the comment.
15134 2000-03-21 Olivier Galibert <galibert@pobox.com>
15136 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15138 2000-03-22 Mike Alexander <mta@arbortext.com>
15140 * dumper.c: Include Windows headers on Windows
15141 (pdump_resource_free): Add a body to the function
15142 (pdump_load): exe_name -> exe_path and add some comments.
15144 2000-03-25 Mike Alexander <mta@arbortext.com>
15146 * gui.c (copy_gui_item_tree): Return a value in all cases
15148 2000-03-21 Didier Verna <didier@xemacs.org>
15150 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15152 (SMART_INCLUDE): new macro.
15153 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15154 the proper location.
15156 * postgresql.c: use it.
15160 2000-03-24 Andy Piper <andy@xemacs.org>
15162 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15165 2000-03-24 Andy Piper <andy@xemacs.org>
15167 * redisplay-output.c (compare_runes): use image_instance_changed
15168 to detect changes. Do not depend on glyphs_changed, only depend on
15170 (redisplay_output_layout): add debug messages.
15171 (compare_runes): ditto.
15173 * glyphs.h: declare new functions.
15174 (struct Lisp_Image_Instance): remove percent and associated
15177 * gui.h: declare new copying functions.
15179 * gui.c (copy_gui_item_tree): new function.
15180 (copy_gui_item): new function.
15181 (gui_item_id_hash): revert to standard hash.
15182 (gui_item_hash): ditto.
15183 (gui_item_hash_internal): deleted.
15184 (mark_gui_item): mark value.
15185 (gui_item_add_keyval_pair): add value.
15186 (gui_item_init): ditto.
15187 (gui_add_item_keywords_to_plist): ditto.
15188 (gui_item_equal): ditto.
15189 (syms_of_gui): add Q_value.
15191 * glyphs-x.c (x_progress_gauge_update): use pending items and
15192 value for setting the state.
15193 (x_update_widget): don't set items from pending here.
15195 * glyphs-widget.c (update_widget): update items here.
15196 (progress_gauge_set_property): use items for storing value. Put
15197 new value in pending items.
15199 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15200 items for new value. Convert percent -> value.
15201 (mswindows_tab_control_update): don't update items here.
15203 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15204 (update_subwindow): ditto.
15205 (image_instance_changed): new function. Compare hash values and
15206 past and present widget items.
15207 (image_instantiate): We more careful about where we instantiate
15209 (image_instantiate): add error checking.
15211 * gutter.c (syms_of_gutter): use -hook.
15213 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15215 * console-tty.c (Fset_console_tty_input_coding_system): Use
15217 (Fset_console_tty_output_coding_system): Use Qterminal.
15218 (tty_init_console): Use Qkeyboard and Qterminal.
15220 2000-03-21 Ben Wing <ben@xemacs.org>
15222 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15223 From Mike Alexander <mta@arbortext.com>.
15225 2000-03-21 Ben Wing <ben@xemacs.org>
15227 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15228 process brokenness. Proper implementation to come.
15230 Rename call-process-internal to old-call-process-internal.
15231 New impl. in process.el.
15233 2000-03-21 Martin Buchholz <martin@xemacs.org>
15235 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15237 2000-03-20 Andy Piper <andy@xemacs.org>
15239 * glyphs.c (full_list_hash): make hashes of the same elements in
15240 different orders return different values.
15242 2000-03-20 Martin Buchholz <martin@xemacs.org>
15244 * XEmacs 21.2.32 is released.
15246 2000-03-20 Martin Buchholz <martin@xemacs.org>
15248 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15249 (DFC_MALLOC_USE_CONVERTED_DATA):
15250 Add aliasing-safe casts to allow use with char* or unsigned char*
15253 * eldap.c (Fldap_open):
15254 (Fldap_search_basic):
15257 Make C++-compilable.
15258 Make sure GCPRO'ed variables are initialized.
15259 Use temp variables to avoid repeated calls to Flength.
15261 2000-03-16 Martin Buchholz <martin@xemacs.org>
15264 Make sure PATH_MAX is always defined.
15265 Include limits.h for PATH_MAX.
15266 Deprecate use of MAXPATHLEN.
15268 2000-03-10 Martin Buchholz <martin@xemacs.org>
15270 * emacs.c: Add reinit_vars_of_fileio.
15271 * symsinit.h: Add reinit_vars_of_fileio.
15272 * fileio.c (reinit_vars_of_fileio): New.
15273 * fileio.c (Fmake_temp_name):
15274 Initialize temp_name random number from microseconds to make
15275 collisions even less likely. Initialize always at process startup
15276 time. (make-temp-name) used to return the same file name twice in
15278 Random stylistic fiddling.
15281 2000-03-20 Andy Piper <andy@xemacs.org>
15283 * glyphs.c (image_instantiate): allow text glyphs to be
15284 instantiated in the minibuffer window.
15286 2000-03-19 Andy Piper <andy@xemacs.org>
15288 * glyphs.c (image_instance_hash): be careful about which items we
15291 * glyphs-widget.c (tab_control_set_property): record into pending
15292 items rather than the actual items.
15294 * glyphs-x.c (x_update_widget): use pending items to update with.
15296 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15299 * glyphs.c (mark_image_instance): mark pending items.
15301 * window.c (Fset_window_configuration): record the buffer.
15302 (Fselect_window): totally revert previous change which breaks many
15305 2000-03-18 Andy Piper <andy@xemacs.org>
15307 * glyphs-msw.c (mswindows_tab_control_update): force selected
15310 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15311 window domain cache, otherwise we get inconsistencies at
15312 startup. There is something fishy at startup which can lead to the
15313 minibuffer being the selected window when the gutter content is
15316 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15318 (parse_gui_item_tree_children): ditto.
15319 (parse_gui_item_tree_item): ditto.
15321 * glyphs.c (Fupdate_widget_instances): return something.
15323 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15325 * window.c (Fselect_window): Undo 2000-03-17 change.
15327 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15329 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15330 against v7.0 libraries. Insta-coredump city until the postgres
15333 2000-03-17 Andy Piper <andy@xemacs.org>
15335 * faces.c (complex_vars_of_faces): don't give the widget face an
15336 inherited background pixmap.
15338 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15341 * event-stream.c (Fdispatch_non_command_events): return something.
15343 * gutter.c (output_gutter): use widget face.
15344 (clear_gutter): ditto.
15346 * NEWS: adjust again.
15348 * window.c (Fselect_window): make sure this runs to completion to
15349 avoid oddities with Fset_window_configuration.
15350 (Fcurrent_window_configuration): in general do not save the
15351 minibuffer as the selected window.
15353 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15355 2000-03-16 Olivier Galibert <galibert@pobox.com>
15357 * emacs.c (Frunning_temacs_p): Revert previous patch.
15358 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15360 2000-03-16 Andy Piper <andy@xemacs.org>
15362 * glyphs-x.c (x_tab_control_update): if no widget values then
15365 * NEWS: update for new features.
15367 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15368 synthetic event to the native system.
15369 (reinit_vars_of_event_Xt): set force_event_pending to
15370 emacs_Xt_force_event_pending.
15372 * events.h (struct event_stream): add force_event_pending.
15374 * specifier.c (recompute_one_cached_specifier_in_window): add
15377 * redisplay.c (redisplay_frame): don't call
15378 update_frame_subwindows. Reset subwindow cachels when
15379 subwindows_changed, removing this was an optimization too far.
15381 * redisplay-output.c (compare_runes): reorganize so that we catch
15382 glyph changes when we want them. Set optimize_output when this
15383 would help layouts.
15384 (redisplay_output_layout): remove frame_really_changed, use
15385 optimize_output instead.
15387 * redisplay-msw.c (mswindows_output_display_block): reset
15388 optimize_output after outputting a glyph.
15389 * redisplay-x.c (x_output_display_block): ditto.
15390 * redisplay-tty.c (tty_output_display_block): ditto.
15392 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15394 (gutter_specs_changed): do specific gutter positions.
15395 (top_gutter_specs_changed): new function. Only update the
15396 specified gutter specs.
15397 (bottom_gutter_specs_changed): ditto.
15398 (left_gutter_specs_changed): ditto.
15399 (right_gutter_specs_changed): ditto.
15401 * gui.c (gui_item_hash_internal): new function, does a real hash.
15402 (gui_item_id_hash): use it.
15403 (gui_item_hash): hash the eval'ed gui_item.
15405 * gui-x.c (popup_selection_callback): send an eval event to call
15406 Fupdate_widget_instances.
15408 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15409 to call Fupdate_widget_instances.
15411 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15412 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15414 * glyphs.c: (update_frame_subwindows): deleted.
15415 (Fupdate_widget_instances): new function for updating the dirty
15416 state of widgets that might have changed.
15417 (syms_of_glyphs): add Qupdate_widget_instances.
15418 (full_list_hash): hash a list completely.
15419 (image_instance_hash): use it for items and properties.
15421 * frame-msw.c (mswindows_size_frame_internal): remove unused
15424 * faces.h (struct face_cachel): fix comment.
15426 * event-stream.c (Fdispatch_non_command_events): new
15427 function. Process non-command events, forcing an event cycle
15429 (syms_of_event_stream): declare.
15430 (event_stream_force_event_pending): new function. Force an event
15431 on the native event queue so that an event cycle will occur next
15435 (struct ntpipe_shove_stream):
15436 (mswindows_enqueue_dispatch_event):
15437 (mswindows_dequeue_dispatch_event):
15438 (mswindows_cancel_dispatch_event):
15439 (mswindows_pump_outstanding_events):
15440 (mswindows_drain_windows_queue):
15441 (mswindows_handle_paint):
15442 (mswindows_wnd_proc):
15443 (mswindows_key_to_emacs_keysym):
15444 (get_process_input_waitable):
15445 (emacs_mswindows_delete_stream_pair): re-indent file.
15446 (mswindows_need_event): do not process further fds if the windows
15447 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15448 fixes the 100% cpu problem.
15449 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15451 2000-03-15 Olivier Galibert <galibert@pobox.com>
15457 * emacs.c: Moved dump file searching to dumper.c.
15458 (Frunning_temacs_p): Fixed.
15460 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15461 last_lrecord_type_index_assigned.
15463 2000-02-20 Olivier Galibert <galibert@pobox.com>
15465 * symsinit.h: Added reinit parameter to init_console_stream
15468 * lisp.h: Added file parameter to pdump_load declaration.
15470 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15471 support. Added dump file searching.
15473 * config.h.in: Added EMACS_PROGNAME.
15475 * console-stream.c (init_console_stream): Fix reinitialisation
15476 when running from temacs.
15478 * alloc.c (pdump): Add id support.
15479 (pdump_load): Add file parameter and signature/id support.
15481 * Makefile.in.in: Add full pdump support.
15483 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15485 * postgresql.c: Update documentation to reflect latest code
15487 (print_result): Show tuple counts in printed representation when
15489 (Fpq_put_nbytes): MULE-ize.
15490 (Fpq_get_line_async): Ditto.
15492 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15494 * postgresql.c (Fpq_lo_import): Fix return value.
15495 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15497 2000-03-13 Ben Wing <ben@xemacs.org>
15499 * alloc.c (pdump_load):
15500 Fix compile warning under mswin.
15502 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15504 * postgresql.c: Mule-ization, bug fixes.
15505 Use PG_CODING to encapsulate coding system name changes.
15506 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15507 (pg-coding-system): Create.
15509 (Fpq_conn_defaults): Mule-ize.
15510 (Fpq_connectdb): Mule-ize & bug fix.
15511 (Fpq_connect_start): Mule-ize.
15512 (Fpq_set_client_encoding): Mule-ize.
15513 (Fpq_finish): Document `DEAD' connection status.
15514 (Fpq_clear): Ditto.
15515 (Fpq_pgconn): Mule-ize.
15516 (Fpq_exec): Mule-ize & bug fix.
15517 (Fpq_send_query): Ditto.
15518 (Fpq_get_result): Ditto.
15519 (Fpq_res_status): Mule-ize.
15520 (Fpq_result_error_message): Mule-ize.
15521 (Fpq_ntuples): fix comments.
15522 (Fpq_fname): Mule-ize.
15523 (Fpq_fnumber): Mule-ize.
15524 (Fpq_ftype): fix comments.
15525 (Fpq_get_value): Mule-ize.
15526 (Fpq_cmd_status): Ditto.
15527 (Fpq_cmd_tuples): Ditto.
15528 (Fpq_oid_value): Ditto.
15529 (Fpq_notifies): Ditto.
15530 (Fpq_lo_import): Ditto.
15531 (Fpq_lo_export): Ditto.
15532 (Fpq_get_line): Ditto.
15533 (Fpq_put_line): Mule-ize and bug fix.
15534 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15536 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15538 * postgresql.c (vars_of_postgresql): Mule-ize.
15539 (Fpq_conn_defaults): Ditto.
15541 2000-03-12 Ben Wing <ben@xemacs.org>
15543 * alloc.c (Fmake_byte_code):
15544 * alloc.c (debug_string_purity_print):
15545 * alloc.c (pdump_backtrace):
15546 * alloc.c (pdump_get_indirect_count):
15547 * alloc.c (pdump_register_sub):
15548 * alloc.c (pdump_register_object):
15549 * alloc.c (pdump_register_struct):
15550 * alloc.c (pdump_dump_data):
15551 * alloc.c (pdump_reloc_one):
15555 * console-msw.c (GetConsoleHwnd):
15556 * console-msw.c (msw_hide_console):
15557 * console-msw.c (msw_show_console):
15558 * console-msw.c (msw_ensure_console_buffered):
15559 * console-msw.c (msw_output_console_string):
15560 * console-msw.c (console_type_create_mswindows):
15562 a) Added functions to manipulate the console window for use with
15565 b) Added support for writing text to the console, which is now
15566 used under Windows when xemacs is not being run non-interactively,
15567 to write text that would otherwise be destined for stdout because
15568 under these circumstances, text written to stdout tends to
15569 disappear and not be seen.
15573 * event-Xt.c (x_event_to_emacs_event):
15574 * event-Xt.c (describe_event_window):
15575 * events-mod.h (XEMACS_MOD_CONTROL):
15577 * events.c (Fmake_event):
15578 * events.c (character_to_event):
15579 * events.c (event_to_character):
15580 * events.c (format_event_object):
15581 * events.c (Fevent_modifiers):
15583 * events.h (struct key_data):
15584 * events.h (struct button_data):
15585 * events.h (struct misc_user_data):
15586 * frame-x.c (Fcde_start_drag_internal):
15587 * frame-x.c (Foffix_start_drag_internal):
15588 * gpmevent.c (Freceive_gpm_event):
15590 * keymap.c (bucky_sym_to_bucky_bit):
15591 * keymap.c (control_meta_superify):
15592 * keymap.c (make_key_description):
15593 * keymap.c (keymap_lookup_directly):
15594 * keymap.c (create_bucky_submap):
15595 * keymap.c (keymap_store):
15596 * keymap.c (define_key_check_and_coerce_keysym):
15597 * keymap.c (define_key_parser):
15598 * keymap.c (define_key_alternate_name):
15599 * keymap.c (Fdefine_key):
15600 * keymap.c (raw_lookup_key_mapper):
15601 * keymap.c (struct map_keymap_unsorted_closure):
15602 * keymap.c (map_keymap_unsorted_mapper):
15603 * keymap.c (map_keymap_sort_predicate):
15604 * keymap.c (map_keymap_sorted):
15605 * keymap.c (accessible_keymaps_mapper_1):
15606 * keymap.c (where_is_recursive_mapper):
15607 * keymap.c (describe_map_mapper):
15608 * keymap.c (describe_map_sort_predicate):
15609 * keymap.c (describe_map):
15610 * keymap.c (complex_vars_of_keymap):
15611 And a number of other files, the key modifier preprocessor
15612 constants that xemacs uses have names that conflict with constants
15613 defined under MS Windows for other purposes, so they were renamed
15614 to begin with the prefix XEMACS_. The variables that hold such
15615 modifiers were changed to consistently be of type int to fix
15616 various compile warnings.
15618 * console.c (complex_vars_of_console):
15621 * device-msw.c (mswindows_finish_init_device):
15622 * device-msw.c (msw_get_workspace_coords):
15623 * device-msw.c (mswindows_device_system_metrics):
15624 and various other files, added support for a new
15625 device property called offset-workspace which returns the position
15626 of the upper left corner of the workspace area and goes along with
15627 the existing size-workspace property.
15630 * dialog-msw.c (push_bufbyte_string_as_unicode):
15631 * dialog-msw.c (mswindows_popup_dialog_box):
15632 Added support for XEmacs-style accelerator specifications in
15633 button text. Note: I didn't add support for this under X Windows,
15634 and somebody needs to do this.
15637 * dialog.c (Fpopup_dialog_box):
15638 Documented the support for accelerators that was just mentioned.
15640 editfns.c (get_home_directory): Changed behavior under Windows
15641 when HOME not defined; former behavior was irretrievably broken.
15644 * emacs.c (main_1):
15646 * minibuf.c (clear_echo_area_internal):
15647 * minibuf.c (echo_area_append):
15649 * print.c (std_handle_out_external):
15650 * print.c (std_handle_out_va):
15652 * print.c (write_string_to_stdio_stream):
15653 * print.c (output_string):
15654 * print.c (debug_print):
15655 * print.c (debug_backtrace):
15656 * print.c (debug_short_backtrace):
15657 Cleaned up the code that prints text to stdout so that this can be
15658 changed to output into a console window instead under MS Windows,
15659 as described above.
15662 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15663 * eval.c (internal_catch):
15664 * eval.c (unwind_to_catch):
15665 * eval.c (throw_or_bomb_out):
15666 * eval.c (condition_case_1):
15667 * eval.c (signal_1):
15668 * eval.c (check_error_state_sanity):
15669 * eval.c (call_with_suspended_errors_1):
15670 * eval.c (call_with_suspended_errors):
15671 * eval.c (reinit_vars_of_eval):
15672 Added code to catch throw loops and check for a pesky bug that may
15676 * event-msw.c (key_needs_default_processing_p):
15677 * event-msw.c (mswindows_wnd_proc):
15678 * event-msw.c (mswindows_modifier_state):
15679 * event-msw.c (emacs_mswindows_quit_p):
15680 * event-msw.c (vars_of_event_mswindows):
15681 a) Added support for using the alt key to select menu items as is
15682 standard under MS Windows. This is controlled using the variable
15683 menu-accelerator-enabled, just like under X Windows. There is an
15684 option on the options menu to turn this support on. I really
15685 think that it should be on by default under Windows, but I'm not
15686 going to make this change yet.
15688 b) Added support for dynamic display size changes under Windows.
15691 * event-stream.c (maybe_echo_keys):
15692 * event-stream.c (Fnext_event):
15693 * event-stream.c (command_builder_find_leaf):
15694 * event-stream.c (lookup_command_event):
15695 * event-stream.c (execute_command_event):
15696 * event-stream.c (pre_command_hook):
15697 * event-stream.c (post_command_hook):
15698 * event-stream.c (syms_of_event_stream):
15699 * event-stream.c (vars_of_event_stream):
15700 * event-stream.c (complex_vars_of_event_stream):
15701 * events.h (struct command_builder):
15703 a) Tried to clean up a little bit the horribly written x-specific
15704 accelerator code that crept into this file. I moved this code
15705 into menubar-x.c where it belongs. I also needed to move the
15706 command builder structure into the file events.h because it is
15707 accessed directly by this accelerator code. What I didn't do, but
15708 which should be done at some point, is to properly abstract this
15709 code using device methods instead of the kludgy way that it
15710 currently hooks into the event code.
15712 b) Added the lisp variables this-command-properties and
15713 last-command- properties, which should be used to synchronize two
15714 adjacent commands in preference to playing games with the variable
15715 this-command, which is typically what happens.
15717 c) Added some slightly nasty code to hook into the lisp support
15718 for shifted- motion-key selection. This is actually necessary for
15719 somewhat complicated reasons, which are described in
15720 simple.el. (NB: I think the proper thing would be to have the code
15721 that calls the pre and post command hooks also call out to generic
15722 lisp functions in simple.el, where all built-in stuff could be
15723 added. I will think about this more.)
15725 * event-unixoid.c (poll_fds_for_input):
15726 * lread.c (readchar):
15727 * redisplay-tty.c (tty_clear_frame):
15728 * redisplay-x.c (x_get_gc):
15729 * signal.c (interrupt_signal):
15730 And a whole bunch of other files: fixed up places that printed
15731 directly to stderr to instead call the function stderr_out so that
15732 the changes I made under Windows work correctly.
15734 * filemode.c (mode_string):
15738 * frame-msw.c (mswindows_size_frame_internal):
15739 Fixed the computation of frame size and position to keep the frame
15740 within the workspace area, rather than within the physical
15741 dimensions of the screen, so that the frame doesn't overlap window
15742 manager decorations, such as the start menu and toolbar, typically
15743 at the bottom of the screen.
15745 * frame.c (vars_of_frame):
15746 Changed the default frame title format under MS Windows to consist
15747 of buffername-XEmacs, which is standard under MS Windows. I think
15748 it might be a good idea to change this everywhere because I think
15749 it is superior to the current frame title format, but this is the
15750 kind of change that is likely to cause some people to get annoyed,
15751 so I'm not making it.
15753 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15755 * gui-msw.c (mswindows_handle_gui_wm_command):
15756 Fixed compile warnings.
15759 * gui-x.c (strdup_and_add_accel):
15760 * gui-x.c (button_item_to_widget_value):
15762 Added code to automatically put an accelerator onto the beginning
15763 of menu items that don't have one as is now the standard, and is
15764 described more later. Also fixed things so that the menu item
15765 name can be an evaluated expression, again a new standard.
15768 * gui.c (gui_item_add_keyval_pair):
15769 * gui.c (make_gui_item_from_keywords_internal):
15770 * gui.c (gui_add_item_keywords_to_plist):
15771 * gui.c (gui_item_accelerator):
15772 * gui.c (gui_name_accelerator):
15773 * gui.c (gui_item_included_p):
15774 * gui.c (gui_item_display_flush_left):
15775 * gui.c (gui_item_display_flush_right):
15776 * gui.c (parse_gui_item_tree_item):
15777 * gui.c (parse_gui_item_tree_children):
15778 * gui.c (parse_gui_item_tree_list):
15779 Mule-ized. Cleanup. GCPRO addition.
15781 * line-number.c (buffer_line_number):
15783 * lisp.h (EMACS_INT_MAX):
15784 Added the manifest constant EMACS_INT_MIN corresponding to the
15785 existing constant EMACS_INT_MAX. This is partially to fix compile
15786 warnings under Windows, and partly for cleanliness.
15789 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15790 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15791 * menubar-msw.c (displayable_menu_item):
15792 * menubar-msw.c (populate_menu_add_item):
15793 * menubar-msw.c (populate_or_checksum_helper):
15794 * menubar-msw.c (populate_menu):
15795 * menubar-msw.c (update_frame_menubar_maybe):
15796 * menubar-msw.c (prune_menubar):
15797 * menubar-msw.c (msw_char_is_accelerator):
15798 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15799 * menubar-msw.c (mswindows_handle_wm_command):
15800 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15801 * menubar-msw.c (mswindows_handle_wm_initmenu):
15802 * menubar-msw.c (mswindows_update_frame_menubars):
15803 * menubar-msw.c (mswindows_free_frame_menubars):
15804 * menubar-msw.c (mswindows_popup_menu):
15805 Fixed a bug in handling accelerators where an extra character
15806 would be displayed in the menu item. Also generalized the
15807 function displayable_menu_item because it is now used by the
15808 dialog box code as well. And finally, added code in the functions
15809 that create the menubar to extract a list of accelerators for the
15810 top level menubar, which is used in the event code to determine
15811 whether a particular alt-key combination should be used to invoke
15812 a menu item, or should be passed through to access the standard
15813 XEmacs keymap binding for this key combination.
15815 Much needed GCPROing.
15818 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15819 * menubar-x.c (menu_item_descriptor_to_widget_value):
15820 * menubar-x.c (restore_in_menu_callback):
15821 * menubar-x.c (x_popup_menu):
15822 * menubar-x.c (menu_move_up):
15823 * menubar-x.c (menu_move_down):
15824 * menubar-x.c (menu_move_left):
15825 * menubar-x.c (menu_move_right):
15826 * menubar-x.c (menu_select_item):
15827 * menubar-x.c (command_builder_operate_menu_accelerator):
15828 * menubar-x.c (menu_accelerator_junk_on_error):
15829 * menubar-x.c (command_builder_find_menu_accelerator):
15830 * menubar-x.c (Faccelerate_menu):
15832 Moved a whole bunch of code here that was previously in
15833 event-stream.c as described above. There is also code connected
15834 to the new standard of adding an accelerator to the beginning of
15835 menu items that don't have one as described above and below.
15838 * menubar.c (menu_parse_submenu_keywords):
15839 * menubar.c (Fmenu_find_real_submenu):
15840 * menubar.c (Fnormalize_menu_item_name):
15841 * menubar.c (syms_of_menubar):
15842 * menubar.c (vars_of_menubar):
15843 * menubar.c (complex_vars_of_menubar):
15845 a) Cleaned up a bunch of documentation and improved it.
15847 b) XEmacs now automatically adds an accelerator onto the beginning
15848 of any menu items that don't have one. I did this because there
15849 will inevitably be some menu items on the main menubar that don't
15850 have accelerators on them because the package that adds that
15851 particular menu item hasn't yet been fixed up to have accelerators
15852 in them and it looked rather strange to have some items with and
15853 some items without accelerators, especially since even in items
15854 without accelerators, you can, at least under windows, still
15855 access the item through an accelerator corresponding to the first
15856 character in the item's name. If people don't like this behavior,
15857 I can add a variable to turn it off optionally, but I'm not sure
15858 this is a good idea because we really do need to have accelerators
15859 on all of the menu items, and if a package doesn't like the
15860 accelerators being put on the first character, then it should put
15861 the accelerators where they belong.
15863 c) I made a behavior change, which is that the descriptor that
15864 specifies the text of the menu item, which formerly was just a
15865 string, can now also be an evaluated expression. This makes this
15866 descriptor parallel with all of the others, which could also be
15867 evaluated expressions. This also obviates the need for the
15868 keyword :label, which was previously listed in the documentation
15869 as unimplemented, and which was for the same purpose.
15874 * ntproc.c (new_child):
15875 * ntproc.c (sys_spawnve):
15876 * ntproc.c (find_child_console):
15877 * ntproc.c (sys_kill):
15878 Fixed compile warnings. By the way, this file should really go
15879 away entirely, and this will happen as soon as Kirill makes his
15880 final round of process cleanups, which affect the function
15884 * process-nt.c (struct nt_process_data):
15885 * process-nt.c (find_process_from_pid):
15886 * process-nt.c (send_signal_the_nt_way):
15887 * process-nt.c (enable_child_signals):
15888 * process-nt.c (find_child_console):
15889 * process-nt.c (send_signal_the_95_way):
15890 * process-nt.c (nt_finalize_process_data):
15891 * process-nt.c (ensure_console_window_exists):
15892 * process-nt.c (nt_create_process):
15893 * process-nt.c (nt_kill_child_process):
15894 * process-nt.c (nt_kill_process_by_pid):
15895 * process-nt.c (nt_open_network_stream):
15896 * process-nt.c (vars_of_process_nt):
15897 Copied over code from Emacs 20.5 to correctly send signals to sub-
15898 processes under Windows 95. Also added code to automatically
15899 create and hide console window when a sub-process is created under
15900 Windows 95, which obviates the need for the separate runemacs.exe
15901 executable, and finally implemented some variables that were
15902 implemented in Emacs 20.5, but previously not in XEmacs. These
15903 include mswindows- start-process-share-console and
15904 mswindows-start-process-inherit-error-mode. (Both of these only
15905 apply to Windows 95.)
15907 * regex.c (regex_compile): Fixed a compile warning.
15910 * select-msw.c (mswindows_own_selection):
15911 * select-msw.c (mswindows_get_foreign_selection):
15912 * select-msw.c (mswindows_disown_selection):
15913 * select-msw.c (console_type_create_select_mswindows):
15914 * select-msw.c (syms_of_select_mswindows):
15915 Cleaned up the file and implemented the device method
15916 selection_exists_p, which had accidentally been left out. Also
15917 removed four lisp functions that were remnants from before the
15918 time when the selection code was properly device abstracted.
15919 These functions are no longer needed because there are generic
15920 equivalents, and because they were added recently and don't exist
15921 in FSF Emacs, I don't think there's any problem with just deleting
15925 * sysdep.c (sys_subshell):
15926 Fixed a compile warning, although in this case there's probably
15927 something wrong with this code, and it ought to be looked into
15928 more thoroughly by somebody who understands it.
15931 * window.c (Fwindow_text_area_height):
15932 * window.c (Fwindow_width):
15933 * window.c (Fwindow_full_width):
15934 * window.c (Fwindow_pixel_width):
15935 * window.c (debug_print_window):
15936 * window.c (syms_of_window):
15937 Added functions window-text-area-height and window-full-width,
15938 which are functions for returning various width and height
15939 characteristics of a window. (One of these functions is necessary
15940 for making the file dialog box work correctly, and the other one
15941 was added for completeness.) Also added a table to the
15942 documentation for window-height which describes the entire scheme
15943 for accessing width and height characteristics of a window.
15945 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15947 * nt.c (fstat): Added a comment for another problem with
15948 non-encapsulated [f]stat(), reported by Adrian Aichner
15949 <aichner@ecf.teradyne.com>.
15951 2000-03-11 Andy Piper <andy@xemacs.org>
15953 * window.c (make_dummy_parent): initialize subwindow instance
15955 (Fset_window_configuration): zero extent_modiff.
15957 2000-03-10 Andy Piper <andy@xemacs.org>
15959 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15960 more changes can be triggered.
15961 (Fredisplay_frame): ditto.
15962 (Fredraw_device): ditto.
15963 (Fredisplay_device): ditto.
15964 (redisplay_frame): make non-static.
15965 (redisplay_frame): call update_frame_gutter_geometry outside of
15968 * gutter.h: declare update_frame_gutter_geometry.
15970 * redisplay.h: declare redisplay_frame.
15972 * gutter.c (update_frame_gutter_geometry): move geometry changes
15973 in update_frame_gutters here. Geometry changes can only occur
15974 outside of redisplay.
15975 (update_frame_gutters): remove geometry change code.
15976 (Fredisplay_gutter_area): make sure that we are in display when we
15977 update and that we have flushed any size changes.
15979 2000-03-11 Andy Piper <andy@xemacs.org>
15981 * alloc.c (pdump_dump_data): remove i & count shadows.
15983 2000-02-27 Mike Alexander <mta@arbortext.com>
15985 * sysdep.h: Declare pdump_read_file
15987 * sysdep.c (pdump_read_file): New function
15989 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15992 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15994 * lrecord.h: add `lrecord_type_pgsetenv'.
15996 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15998 * symsinit.h: declare (vars|syms)_of* functions.
15999 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
16001 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
16003 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
16005 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
16008 * emacs.c (main_1): Call postgres initialization code.
16010 * postgresql.h: New file. PostgreSQL RDBMS support.
16011 * postgresql.c: New file.
16013 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
16015 * redisplay-output.c (redisplay_output_display_block): Disable
16018 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16020 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16021 (Fcanna_henkan_next): Ditto.
16022 (Fcanna_bunsetu_henkou): Ditto.
16023 (Fcanna_henkan_kakutei): Ditto.
16024 (Fcanna_henkan_end): Ditto.
16025 (Fcanna_henkan_quit): Ditto.
16026 (Fcanna_henkan_next): Set retun value correctly.
16027 (c2mu): Use unsigned char instead of signed char.
16029 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16031 * emacs.c (main_1): Always call syms_of_gui.
16032 * inline.c: include gui.h
16034 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16036 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16037 converted to Lisp_Object.
16038 (Qtop_bottom): New variable.
16039 (syms_of_redisplay): Initialize it.
16040 * redisplay.h (Vvisible_bell): Ditto.
16041 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16042 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16043 only flash top and bottom.
16045 2000-03-08 Andy Piper <andy@xemacs.org>
16047 * buffer.c (Frename_buffer): record new buffer name the right way.
16049 2000-03-08 Andy Piper <andy@xemacs.org>
16051 * glyphs.c (update_subwindow): increase hash depth so that widget
16052 items get picked up properly.
16054 * redisplay-output.c (compare_runes): increase hash depth so that
16055 widget items get picked up properly.
16057 2000-03-08 Andy Piper <andy@xemacs.org>
16059 * gutter.c (output_gutter): add some debug.
16061 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16062 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16063 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16065 * redisplay-output.c (compare_runes): use display_hash to
16066 determine if glyphs really are not the same.
16068 * glyphs.c (update_subwindow): check display_hash to see if
16069 anything really needs to be updated. If not then do
16070 nothing. Record the display_hash after updating.
16071 (image_instance_equal): compare the image_instance face also.
16073 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16075 * redisplay.h: Fix comment style.
16077 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16079 * consle-msw.h (struct mswindows_frame):
16080 Added new member paint_pending to indicate whether a WM_PAINT
16081 magic event has been queued for this frame.
16083 * event-msw.c (mswindows_drain_windows_queue):
16084 Don't queue a WM_PAINT magic event if one is already queued.
16085 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16087 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16089 2000-03-07 Didier Verna <didier@xemacs.org>
16091 * dired.c: #include `regex.h' after `sysfile.h'.
16093 2000-03-06 Martin Buchholz <martin@xemacs.org>
16095 * sound.c (init_nas_sound): Fix compiler warning.
16097 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16099 (MARK_STRUCT_AS_FREE):
16100 (MARK_STRUCT_AS_NOT_FREE):
16101 Make `gcc -fstrict-aliasing' work properly.
16103 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16105 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16106 (mswindows_delete_device): Call CoUnnitialize().
16108 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16110 2000-02-25 <CraigL@DyCon.com>
16112 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16115 * sysdep.c: This extern declaration for environ prevents MinGW
16116 from finding the variable in CRTDLL.DLL.
16118 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16120 (SHGFI_EXETYPE): ..
16121 (WM_MOUSEWHEEL): ..
16122 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16124 (MMRESULT): Removed, now defined in cygwin's windows headers.
16126 (uid_t,gid_t,pid_t,ssize_t): ..
16127 (_timeb): Removed, MinGW defines both _timeb and timeb.
16128 (HAVE_H_ERRNO): Added.
16129 (HAVE_TZNAME): Added, configure is not detecting this.
16131 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16133 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16134 * syntax.c (syntax_match): Use it.
16136 * cmds.c: Import auto-fill-chars from FSF Emacs.
16137 (Vauto_fill_chars): New variables.
16138 (internal_self_insert): Check Vauto_fill_chars.
16140 Declare auto-fill-chars as a Lisp variable and initialize it.
16142 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16144 * fileio.c (Fmake_symbolic_link):
16146 Run handlers even if local machine doesn't have symlinks.
16148 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16150 * event-msw.c (mswindows_drain_windows_queue):
16151 Don't generate paint magic events for non-XEmacs frames.
16153 2000-03-05 Andy Piper <andy@xemacs.org>
16155 * redisplay.c (redisplay_frame): generate_displayable_area and
16156 friends assumes that we are not in GC, we therefore have to make
16157 sure that this doesn't happen.
16159 * gutter.c (calculate_gutter_size): generate_displayable_area
16160 assumes that we are not in GC, we therefore have to make sure that
16161 this doesn't happen.
16163 2000-03-05 Martin Buchholz <martin@xemacs.org>
16165 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16167 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16169 * redisplay.c (regenerate_window): Make sure we set a sane value
16170 for end_pos even if we jump out of the loop.
16171 (regenerate_window): Answer Ben's question :-).
16172 (start_end_of_last_line): Add may_error argument.
16173 (start_of_last_line):
16174 (end_of_last_line): Pass may_error = 0.
16175 (end_of_last_line_may_error): New function.
16176 (pixel_to_glyph_translation): Use it, so we don't crash in
16179 2000-03-04 Andy Piper <andy@xemacs.org>
16181 * window.h (struct window): add gutter_extent_modiff.
16183 * window.c (allocate_window): zero out gutter_extent_modiff.
16185 * redisplay.h: declare sync_display_line_structs.
16187 * redisplay.c (add_glyph_rune): add a better comment.
16189 * redisplay-output.c (sync_display_line_structs): made non-static.
16190 (compare_runes): remove unneccesary glyph cachel access.
16192 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16194 * gutter.c (output_gutter): don't output the gutter if extent
16195 changes only involve extents in buffers. use 4 sets of display
16197 (gutter_extent_signal_changed_region_maybe): new function. Mark
16198 extents in gutters as changed.
16199 (update_frame_gutters): use 4 sets of display lines.
16200 (reset_gutter_display_lines): ditto.
16201 (free_frame_gutters): ditto.
16202 (redraw_exposed_gutter): force output of gutters.
16204 * frame.h (struct frame): add 4 sets of gutter display lines.
16206 * extents.c: (extent_changed_for_redisplay): signal changes to
16207 extents in strings in the gutter as well as extents in buffers.
16209 2000-03-02 Andy Piper <andy@xemacs.org>
16211 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16213 * frame.c (Fmake_frame): make sure the gutters get initialized
16214 after the frame is visible.
16215 (set_frame_selected_window): re-arrange compilation macros a
16217 (change_frame_size_1): mark gutters changed.
16219 * device.c (Fset_device_class): mark gutters changed.
16221 2000-03-01 Andy Piper <andy@xemacs.org>
16223 * window.c (window_top_frame_gutter_height): deleted.
16224 (window_bottom_frame_gutter_height): ditto.
16225 (window_left_frame_gutter_height): ditto.
16226 (window_right_frame_gutter_height): ditto.
16227 (window_top_gutter_height): don't use them.
16228 (window_bottom_gutter_height): ditto.
16229 (window_left_gutter_width): ditto.
16230 (window_right_gutter_width): ditto.
16231 (Fsplit_window): ditto.
16232 (Fwindow_pixel_edges): don't use border dimensions here.
16234 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16235 (update_scrollbar_instance): ditto.
16237 * redisplay.c (generate_modeline): don't take gutters into account.
16238 (generate_modeline): ditto.
16239 (redisplay_frame): small gutter display optimization.
16241 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16243 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16244 gutters into account.
16246 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16247 for window position and type.
16249 * gutter.c (get_gutter_coords): fix for frame gutters.
16250 (update_frame_gutters): update frame geometry if the gutters have
16252 (init_frame_gutters): record current gutter geometries.
16254 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16256 (mswindows_widget_instantiate): ditto.
16258 * frame.h (struct frame): add current_gutter_bounds.
16260 * frame.c (change_frame_size_1): position window and minibuffer
16261 appropriately taking into account the frame gutters.
16263 * frame-x.c: (x_initialize_frame_size): take into account the
16266 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16268 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16270 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16272 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16274 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16276 * file-coding.c (reset_decoding_stream): Clear previous
16277 detection state when autodetect.
16279 2000-02-29 Didier Verna <didier@xemacs.org>
16281 * extents.c (set_extent_glyph_1): don't require extents to be
16284 2000-02-27 Andy Piper <andy@xemacs.org>
16286 * gutter.c (Fset_default_gutter_position): don't default left and
16287 right gutter visibility to t.
16288 (Fset_default_gutter_position): run
16289 default-gutter-position-changed-hook.
16290 (syms_of_gutter): add default-gutter-position-changed-hook.
16292 2000-02-26 Andy Piper <andy@xemacs.org>
16294 * specifier.c (Fmake_specifier): add gutter references.
16296 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16298 * lisp.h: declare Fvalid_plist_p.
16300 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16302 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16303 well as its visibility so that it gets reconstructed.
16304 (construct_window_gutter_spec): new function. Construct a string
16305 to be displayed in the gutter from a plist of strings. Take care
16306 to only use elements that are declared as visible.
16307 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16309 (gutter_validate): allow plists of strings in the specifier.
16310 (gutter_specs_changed): construct the real_gutter from the gutter
16311 specs using construct_window_gutter_spec.
16312 (gutter_visible_validate): gutter-visible is a new specifier type.
16313 (Fgutter_visible_specifier_p): new function for the new specifier.
16314 (syms_of_gutter): declare gutter-visible and
16315 Fgutter_visible_specifier_p.
16316 (specifier_type_create_gutter): intitalize new gutter-visible
16318 (reinit_specifier_type_create_gutter): ditto.
16319 (specifier_vars_of_gutter): use new specifier type for gutter
16321 (init_frame_gutters): construct real_gutter correctly.
16322 (Fgutter_specifier_p): beef up documentation.
16323 (Fgutter_size_specifier_p): ditto.
16325 * winslots.h: add real_gutter slots.
16327 2000-02-25 Andy Piper <andy@xemacs.org>
16329 * device-msw.c: Be kind to older cygwin versions. From Raymond
16330 Toy <toy@rtp.ericsson.se>.
16332 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16333 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16335 2000-02-25 Martin Buchholz <martin@xemacs.org>
16337 * elhash.c (MARK_OBJ): Practice macro hygiene.
16339 2000-02-24 Martin Buchholz <martin@xemacs.org>
16341 * miscplay.c: s/__inline__/inline/g;
16342 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16343 (get_device_compdc): INLINE ==> static inline
16344 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16345 find -name '*.h' | \
16346 xargs global-replace \
16347 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16349 2000-02-25 Andy Piper <andy@xemacs.org>
16351 * window.c (window_top_frame_gutter_height): new function.
16352 (window_top_window_gutter_height): ditto.
16353 (window_top_gutter_height): use them.
16354 (window_bottom_frame_gutter_height): new function.
16355 (window_bottom_window_gutter_height): ditto.
16356 (window_bottom_gutter_height): use them.
16357 (window_left_window_gutter_width): new function.
16358 (window_left_frame_gutter_width): ditto.
16359 (window_left_gutter_width): use them.
16360 (window_right_window_gutter_width): new function.
16361 (window_right_frame_gutter_width): ditto.
16362 (window_right_gutter_width): use them.
16363 (window_pixel_height): new function. calulate window pixel height
16364 with frame gutter involvement.
16365 (Fsplit_window): calculate new sizes taking frame gutters into
16367 (window_char_height_to_pixel_height): don't include frame gutters.
16368 (window_char_height): use window_pixel_height.
16369 (window_pixheight): rename from window_pixel_height.
16370 (change_window_height): use it.
16371 (window_pixel_height_to_char_height): don't include frame gutters.
16372 (window_char_width_to_pixel_width): ditto.
16374 2000-02-25 Andy Piper <andy@xemacs.org>
16376 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16379 2000-02-24 Martin Buchholz <martin@xemacs.org>
16381 * alloc.c (staticpro):
16382 (staticpro_nodump):
16387 (compact_string_chars):
16388 (pdump_dump_wired):
16389 Convert: if (foo) abort(); ==> assert (! foo);
16391 * eldap.c (Fldap_search_basic):
16395 Fix compiler warnings, and possible crashes if (random) return
16396 value were to be used.
16398 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16400 * device-msw.c: Workaround ResetDC failure.
16402 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16403 applying a devmode.
16405 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16406 (mswindows_text_width): Do not start printer page.
16408 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16410 * glyphs-msw.c: Added image methods to msprinter console and
16411 msprinter-specific image instantiation.
16413 2000-02-20 Mike Alexander <mta@arbortext.com>
16415 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16416 to avoid crashes when selection-sets-clipboard is on
16417 (mswindows_own_selection): ditto
16419 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16422 * redisplay-msw.c (get_frame_dc):
16423 (get_frame_compdc):
16425 * device-msw.c (mswindows_init_device):
16426 (mswindows_delete_device):
16427 (msprinter_init_device):
16428 (msprinter_delete_device):
16429 * frame-msw.c (mswindows_init_frame_1):
16430 (mswindows_delete_frame):
16431 (msprinter_init_frame_3):
16432 (msprinter_delete_frame): Move compatible DC to device object from
16433 frame object, for both mswindows and msprinter. Only one at a time
16434 is needed, it is a real waste to have one per frame!
16436 2000-02-23 Andy Piper <andy@xemacs.org>
16438 * glyphs.c: add dynamic width and height elements.
16439 (image_instance_equal): ditto.
16441 * glyphs-widget.c (widget_query_geometry): calculate width and
16442 height dynamically if required.
16443 (initialize_widget_image_instance): initialize dynamic dimensions.
16444 (widget_instantiate): pick-up dynamic dimensions.
16446 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16447 dynamic determination. Add appropriate macros.
16449 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16451 (WINDOW_GUTTER_SIZE): ditto.
16452 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16454 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16456 (get_frame_dc): ditto.
16458 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16461 2000-02-23 Martin Buchholz <martin@xemacs.org>
16463 * XEmacs 21.2.31 is released.
16465 2000-02-22 Ben Wing <ben@xemacs.org>
16467 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16469 2000-02-22 Andy Piper <andy@xemacs.org>
16471 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16473 2000-02-21 Mike Sperber <mike@xemacs.org>
16477 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16480 2000-02-21 Mike Sperber <mike@xemacs.org>
16482 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16484 2000-02-21 Martin Buchholz <martin@xemacs.org>
16486 * XEmacs 21.2.30 is released.
16488 2000-02-20 Martin Buchholz <martin@xemacs.org>
16490 Performance hacking.
16492 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16493 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16494 * emacs.c (main_1):
16496 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16497 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16498 * symeval.h (DEFVAR_SYMVAL_FWD):
16499 * symbols.c (guts_of_unbound_marker):
16500 Make all c_readonly objects also lisp_readonly and marked for life.
16501 * lrecord.h (struct lrecord_implementation):
16502 Document flags better.
16503 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16504 * lrecord.h (DECLARE_LRECORD):
16505 * lrecord.h (XSETRECORD):
16506 * lrecord.h (RECORDP):
16507 * lrecord.h (RECORD_TYPEP):
16508 * lrecord.h (RECORD_MARKER): New.
16509 * lrecord.h (error_check_*):
16510 * lrecord.h (CONCHECK_NONRECORD):
16511 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16512 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16513 * lrecord.h (set_lheader_implementation):
16514 * lrecord.h (enum lrecord_type): New.
16515 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16516 * alloc.c (disksave_object_finalization_1):
16517 * alloc.c (mark_object):
16518 * alloc.c (lrecord_type_index):
16519 * alloc.c (tick_lcrecord_stats):
16520 * alloc.c (Fgarbage_collect):
16521 * alloc.c (init_alloc_once_early):
16522 * alloc.c (pdump_load):
16523 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16524 * alloc.c (lrecord_type_index): Delete.
16525 Make lisp object type indexes be constant.
16526 Makes (byte-compile) 5% faster.
16527 Put all marker functions into their own array.
16528 Makes (garbage-collect) 5% faster.
16529 Optimize SYMBOL_VALUE_MAGIC_P.
16530 Makes (byte-compile) 2-3% faster.
16531 * config.h.in (gc_checking_assert): New.
16532 * alloc.c: Use gc_checking_assert().
16533 * .dbxrc: Make compatible with new object type implementation.
16534 * .gdbinit: Make compatible with new object type implementation.
16535 * alloc.c: Delete all symbols defined only for debugging, such as
16536 Lisp_Type_Vector and lrecord_charset.
16538 2000-02-21 Andy Piper <andy@xemacs.org>
16540 * gui-msw.c (Fmswindows_shell_execute): fix file location
16543 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16544 unshowing so that set_window_buffer doesn't undo
16545 kill_buffer_hook's hard work.
16547 * glyphs-widget.c (tab_control_query_geometry): don't count the
16548 first item when calculating geometry.
16550 * glyphs.c (map_subwindow): remove redundant code.
16551 (update_frame_subwindows): be more circumspect about when to
16554 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16555 when items haven't changed. Update faces if faces have changed as
16556 well as just the widget face.
16557 (x_tab_control_update): Update faces if faces have changed as well
16558 as just the widget face.
16560 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16562 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16564 (build_syscolor_string): Use mswindows_color_to_string to try to
16566 (mswindows_device_system_metrics): Reverse the foreground and
16567 background colors so that they match the documentation.
16569 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16570 they match the default Windows palette.
16571 (mswindows_color_to_string): New function.
16573 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16575 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16577 2000-02-18 Olivier Galibert <galibert@pobox.com>
16579 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16580 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16582 * symbols.c (init_symbols_once_early): Removed obsolete
16583 DATA_SEG_BITS related kludge.
16584 (defvar_magic): Ditto.
16586 * malloc.c: Removed obsolete DATA_SEG_BITS
16588 * mem-limits.h: Ditto.
16590 * Makefile.in.in: Removed obsolete HAVE_SHM
16593 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16595 * device-msw.c (mswindows_delete_device): Free DDE string
16598 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16600 * keymap.c (get_keyelt):
16601 * unexnt.c (unexec):
16602 * vm-limit.c (memory_warnings):
16603 * ntheap.c (recreate_heap):
16604 * ntheap.h (UNINIT_PTR):
16605 * select-msw.c (Fmswindows_get_clipboard):
16606 (Fmswindows_set_clipboard):
16607 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16609 * menubar-msw.c (displayable_menu_item):
16611 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16612 * sysdep.c (sys_subshell):
16613 * process-nt.c (nt_create_process):
16614 * nt.c (normalize_filename):
16615 (dostounix_filename):
16616 (unixtodos_filename):
16617 * ntproc.c (win32_executable_type):
16618 * ntplay.c (play_sound_data_1):
16620 * editfns.c (get_home_directory):
16621 * event-msw.c (struct winsock_stream):
16622 (mswindows_dde_callback):
16623 * device-msw.c (msprinter_init_device):
16624 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16626 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16627 mswindows_clear_toolbar were swapped!
16629 * objects-msw.c:(colormap_t):
16631 * emacs.c (struct standard_args): Fixed const jumble.
16633 * glyphs-widget.c (update_widget): Fixed comparison notation.
16635 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16637 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16638 __declspec(noreturn) syntax.
16640 2000-02-19 Martin Buchholz <martin@xemacs.org>
16642 * eldap.c (Fldap_open):
16643 (Fldap_search_basic):
16646 Use new coding system conversion macros.
16648 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16650 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16652 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16654 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16655 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16657 * eldap.c (Qadd, Qreplace): New constant symbols
16658 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16659 interruptions by XEmacs signals
16660 Remove unnecessary calls to slow_down_interrupts and
16661 speed_up_interrupts
16662 (Fldap_search_basic): Renamed from Fldap_search_internal
16663 Added new optional parameter VERBOSE that triggers the
16664 display of progress messages
16665 Remove unnecessary calls to slow_down_interrupts and
16666 speed_up_interrupts
16667 LDAP result code analysis rewritten
16668 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16669 (syms_of_eldap): Define the new symbols and functions
16672 2000-02-17 Martin Buchholz <martin@xemacs.org>
16674 * realpath.c: Determine PATH_MAX maximally portably.
16676 * insdel.c (bytecount_to_charcount): Optimize.
16677 The function used to be optimized for entirely ASCII sequences.
16678 Now it is optimized for successive characters from the same
16679 charset. This also wins big for _mostly_ ASCII sequences.
16681 * fileio.c (Ffile_truename): convert return from realpath() using
16682 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16683 - Rewrite GCPROing slightly.
16685 * sysdep.c (sys_open): Do filename conversion, like all other
16686 sys_* functions. Fixes bug:
16687 (let ((file-name-coding-system 'iso-8859-2))
16688 (write-region x y latin2-name))
16689 ==> writes filename using internal encoding.
16691 2000-02-18 Martin Buchholz <martin@xemacs.org>
16693 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16694 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16695 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16696 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16697 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16698 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16699 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16700 (CONST_IF_NOT_DEBUG): Delete.
16701 * alloc.c (this_one_is_unmarkable): Delete.
16702 (mark_object): Don't check for this_one_is_unmarkable. Use the
16703 c_readonly flag instead.
16704 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16706 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16708 * event-msw.c (mswindows_drain_windows_queue):
16709 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16710 away redundant repaint events.
16712 2000-02-17 Andy Piper <andy@xemacs.org>
16714 * redisplay.h: declare mark_redisplay_structs.
16716 * redisplay.c (redisplay_window):
16717 (redisplay_frame): don't check subwindows_state_changed.
16718 (mark_redisplay): mark gutters here.
16720 * glyphs.c: (instantiate_image_instantiator): always layout if we
16721 haven't done so already.
16722 (allocate_image_instance): don't mark as dirty.
16723 (update_subwindow): bind inhibit_quit.
16725 * gutter.c (mark_gutters): new function.
16727 * glyphs-x.c (x_update_widget): Always resize to get round a
16730 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16731 breaking absolutely everything.
16733 * gutter.h: declare mark_gutters.
16735 2000-02-16 Martin Buchholz <martin@xemacs.org>
16737 * XEmacs 21.2.29 is released.
16739 2000-02-15 Olivier Galibert <galibert@pobox.com>
16741 * fns.c (size_bit_vector): Fix computation of the size.
16743 2000-02-15 Martin Buchholz <martin@xemacs.org>
16745 * *.[ch]: Change CONST to const globally.
16746 find -name '*.[ch]' | \
16747 xargs global-replace \
16748 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16749 - Remove vestigial references to CONST_IS_LOSING
16751 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16753 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16754 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16755 events instead of dispatching them directly.
16756 (mswindows_handle_paint): New function to do repainting.
16757 (mswindows_wnd_proc):
16758 (emacs_mswindows_handle_magic_event): Call above function.
16760 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16762 * objects-msw.c (mswindows_create_font_variant): Return the new
16764 (initialize_font_instance): Get font metrics from the underlined
16765 variant of the font to cope with the case where the underlined
16766 font has a bigger descent.
16768 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16770 * gui.c (gui_item_accelerator): Return the first underlined
16771 character in item name.
16773 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16775 * lisp.h: Added Qprinter.
16777 * general.c (syms_of_general): Initialized it.
16779 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16781 (get_frame_compdc): Made inline.
16783 * console.h (struct console_methods): Added eject_page method.
16785 * frame.h: Added FRAME_DISPLAY_P and friends.
16786 Aligned backslahes in many macros in more readable fashion.
16787 Added page_number to struct frame, and an accessor macro
16790 * defice.h: Added DEVICE_DISPLAY_P and friends.
16792 * device.c (Fdevice_printer_p): Used these.
16794 * frame.c (allocate_frame_core): Initialize page number.
16795 (Fprint_job_page_number):
16796 (Fprint_job_eject_page): Implemented.
16798 * frame-msw.c (msprinter_eject_page): Added method.
16799 (msprinter_start_page): Added.
16801 * window.c (Fwindow_truncated_p): Fixed docstring.
16802 (Fwindow_last_line_visible_height): Implemented.
16804 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16806 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16808 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16810 * syntax.c (scan_words): Always advance at least one character.
16812 2000-02-13 Andy Piper <andy@xemacs.org>
16814 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16815 to make sure the glyph is in the cachels.
16817 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16818 global image instance flag.
16819 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16820 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16822 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16823 (Fset_image_instance_property): mark layout as changed.
16824 (invalidate_glyph_geometry_maybe): mark layout as changed.
16825 (glyph_width): use new NEEDS_LAYOUT macro.
16826 (glyph_ascent): ditto.
16827 (glyph_descent): ditto.
16828 (glyph_height): ditto.
16829 (image_instance_layout): mark layout as clean after laying out.
16830 (update_subwindow): don't mark layout as clean here.
16832 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16833 should no longer be needed.
16835 * glyphs-x.c (x_update_widget): sanitize asserts.
16836 (x_finalize_image_instance): sanitize assignment to widgets.
16838 * glyphs-widget.c (widget_instantiate): don't need to clear the
16841 2000-02-13 Martin Buchholz <martin@xemacs.org>
16843 * sysdep.c (getcwd): Use standard prototype.
16844 * sysdep.h (getcwd): Use standard prototype.
16846 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16847 (sequence, start, end).
16848 Remove redundant type checking.
16849 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16850 view of `caller-protects') to avoid a crash where the real fix was
16853 2000-02-12 Martin Buchholz <martin@xemacs.org>
16855 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16857 * s/sol2.h: Remove feature macro initialization.
16859 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16860 (vector_hash): New. Code from internal_hash.
16862 Fix up allocation subsystem comments.
16864 * config.h.in: Add __EXTENSIONS__ for Solaris.
16866 * systime.h (EMACS_GETTIMEOFDAY): New.
16867 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16868 Remove Solaris-specific code.
16869 Use void* for the (ignored) second arg for gettimeofday().
16871 * elhash.c (hash_table_hash): Implement it, finally.
16872 * elhash.c: Use hashcode_t.
16874 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16875 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16877 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16878 * fns.c (size_bit_vector):
16879 * alloc.c (size_vector):
16880 (make_vector_internal):
16881 (make_bit_vector_internal):
16882 (sweep_bit_vectors_1):
16883 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16885 2000-02-10 Martin Buchholz <martin@xemacs.org>
16887 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16888 Include strings.h to avoid warnings for bzero and strcasecmp.
16890 2000-02-10 Olivier Galibert <galibert@pobox.com>
16892 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16893 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16895 * fns.c (size_bit_vector): New. Declare bit vectors as a
16898 2000-02-10 Olivier Galibert <galibert@pobox.com>
16900 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16901 use a value field instead.
16902 (symbol_value_forward_forward): Use value field.
16903 (DEFVAR_SYMVAL_FWD): Use value field.
16904 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16905 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16906 (DEFVAR_CONST_INT): Ditto.
16907 (DEFVAR_BOOL): Ditto.
16908 (DEFVAR_CONST_BOOL): Ditto.
16909 (DEFVAR_INT_MAGIC): Ditto.
16910 (DEFVAR_BOOL_MAGIC): Ditto.
16912 * symbols.c (guts_of_unbound_marker): Use value field.
16913 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16914 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16916 * lisp.h: Declare dumpopaque and noninteractive1.
16918 * alloc.c (dumpopaque): Added.
16919 (pdump_dump_opaquevec): Added.
16920 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16921 (pdump_load): Reload opaque data. Sync noninteractive1 with
16924 2000-02-10 Andy Piper <andy@xemacs.org>
16926 * glyphs.c (image_instance_layout): if the size changes, mark it
16929 * redisplay-output.c (redisplay_output_layout): Update the
16931 (redisplay_output_subwindow): ditto.
16933 * glyphs.c (update_subwindow): make sure we reset flags for
16934 layouts as well as everything else.
16936 * glyphs-widget.c (layout_layout): don't need to set the instances
16939 2000-02-09 Martin Buchholz <martin@xemacs.org>
16941 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16942 not HAVE_DLOPEN, which is a lower-level thing.
16944 * .cvsignore: Ignore gmon.out
16946 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16948 * .cvsignore: Ignore portable dumper xemacs.dmp file
16950 2000-02-09 Andy Piper <andy@xemacs.org>
16952 * redisplay-output.c (redisplay_output_layout): be more clever
16953 about when we output based on the changed flags.
16955 * glyphs.h (struct image_instantiator_methods): add update_method.
16956 (struct Lisp_Image_Instance): add changed flags. Declare new
16957 macros for manipulating them.
16959 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16960 (image_instance_parent_glyph): find an image_instance's parent
16961 glyph or image_instance.
16962 (image_instance_layout): mark the size as changed.
16963 (set_image_instance_dirty_p): new function. mark an image
16964 instance, plus all of its parents, as dirty.
16965 (Fset_image_instance_property): use it.
16966 (Fglyph_animated_timeout_handler): use it.
16967 (update_subwindow): call update_widget and device methods for
16968 update_subwindow. Mark all changed flags as clean.
16969 (Fresize_subwindow): mark size as changed.
16971 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16973 (x_update_subwindow): only resize subwindows here.
16974 (x_update_widget): new function. Update all changed properties of
16976 (x_resize_subwindow): deleted.
16977 (x_widget_set_property): deleted.
16978 (x_progress_gauge_set_property): deleted.
16979 (x_progress_gauge_update): new function. Implement recorded
16981 (x_tab_control_update): ditto.
16982 (x_tab_control_set_property): deleted.
16983 (console_type_create_glyphs_x): declare new functions.
16984 (image_instantiator_format_create_glyphs_x): ditto.
16986 * glyphs-widget.c (widget_set_property): mark text changed.
16987 (update_widget): new function. Update properties of a widget.
16988 (widget_instantiate): for layouts make sure we set their
16989 children's parent correctly.
16990 (tab_control_set_property): new function. Record changes that will
16991 take place under redisplay's control.
16992 (progress_gauge_set_property): ditto.
16993 (image_instantiator_progress_guage): declare new functions.
16994 (image_instantiator_tab_control): ditto.
16996 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16998 (mswindows_update_widget): new function. Update all properties on
16999 a widget that have changed.
17000 (mswindows_button_update): new function. Update a button's set
17002 (mswindows_tab_control_update): new function. Update the items in
17004 (mswindows_tab_control_set_property): deleted.
17005 (mswindows_progress_gauge_update): new function. Update the
17006 progress gauge's progress.
17007 (mswindows_widget_set_property): deleted. This is all done
17008 asynchronously now.
17009 (mswindows_progress_gauge_set_property): ditto.
17010 (console_type_create_glyphs_mswindows): declare new methods.
17011 (image_instantiator_format_create_glyphs_mswindows): ditto.
17013 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
17014 (msprinter_set_frame_properties): ditto.
17016 * console.h (struct console_methods): Add update_widget_method.
17018 2000-02-09 Andy Piper <andy@xemacs.org>
17020 * gui-msw.c (Fmswindows_shell_execute): Make
17021 mswindows-shell-execute industrial strength.
17023 2000-02-08 Martin Buchholz <martin@xemacs.org>
17025 * lrecord.h: Make macro argument `props' match member function `plist'.
17028 * fns.c (Fremprop):
17029 * fns.c (Fobject_plist):
17032 Object property list frobbing cleanup.
17033 - Allow any lisp object (compared with `eq'), not just symbols, as
17034 keys in object plists.
17035 - Move symbol plist frobbing into symbols.c, where it belongs.
17036 - Move string plist frobbing into alloc.c, where it belongs.
17037 - Everything's an lrecord now, so no need to test for symbolp, etc.
17038 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17040 * extents.c: Reorder code to remove declarations.
17042 * frame.h (store_in_alist): Remove useless declaration.
17044 2000-02-07 Martin Buchholz <martin@xemacs.org>
17046 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17047 * config.h.in: Add HAVE_XCONVERTCASE.
17049 2000-02-07 Andy Piper <andy@xemacs.org>
17051 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17052 it breaks many things.
17054 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17056 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17057 actually can start a common comment type.
17058 * src/syntax.h (SYNTAX_END_P): ditto for end.
17060 2000-02-07 Martin Buchholz <martin@xemacs.org>
17062 * XEmacs 21.2.28 is released.
17064 2000-02-06 Martin Buchholz <martin@xemacs.org>
17066 * event-Xt.c (x_keysym_to_character): New.
17067 (maybe_define_x_key_as_self_inserting_character): New.
17068 (x_has_keysym): New.
17069 Auto-define all keys on the keyboard as self-insert-key.
17071 2000-02-02 Martin Buchholz <martin@xemacs.org>
17073 * menubar.c (vars_of_menubar): A small code simplification.
17075 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17078 * ExternalClient.c:
17079 * EmacsShell-sub.c:
17082 Use consistent style for specifying X resources.
17084 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17085 This makes (dontusethis-set-symbol-value-handler) actually usable.
17087 * lrecord.h (lrecord_decription_type):
17088 * alloc.c (pdump_register_sub):
17091 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17092 Comply with XEmacs coding style.
17093 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17094 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17096 * keymap.c (Faccessible_keymaps):
17097 Make (accessible-keymaps map "\C-h") do the Right Thing.
17098 Make (accessible-keymaps map []) do the Right Thing.
17099 Make (accessible-keymaps map "") do the Right Thing.
17100 (check_keymap_definition_loop): New function.
17101 (keymap_store_internal): Keep luser from shooting self in foot,
17102 via (define-key ctl-x-4-map "p" global-map).
17103 Remove fullness slot from struct Lisp_Keymap, since hash tables
17105 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17107 2000-01-30 Martin Buchholz <martin@xemacs.org>
17109 * redisplay.c (init_redisplay): Fix small memory leak.
17111 * elhash.c (pdump_reorganize_hash_table):
17112 Rename from reorganize_hash_table. Change prototype.
17113 Reuse the original memory for hentries. Save 100k.
17114 * alloc.c (PDUMP_READ): new macro.
17115 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17116 * alloc.c: No need to #ifndef before #undef.
17118 * print.c: Allow debug_print() to print readably by modifying
17119 debug_print_readably. Use consistent variable names.
17121 * .dbxrc: Try to get things to work even if stopped in a function
17122 without source available by explicitly specifying source files.
17123 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17125 * unexnt.c (_start): Removed bogus code which caused loading heap
17126 from differrent executable file.
17127 Removed bogus assignment to _fmode, which caused inconsistencies.
17129 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17131 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17132 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17133 Do not preliminary `#define signal sigset'.
17135 * systime.h: Do not prototype environ on windows nt and cygwin,
17136 this conflicts with system header.
17138 * syssignal.h: Use correct define for WINDOWSNT
17140 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17141 with system header.
17143 * sysdep.c (near start of file): Fixed commentary and rearranged
17144 ifdefs in readable order.
17145 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17148 (end_of_data): Do not compile in if using PDUMP.
17150 * symsinit.h: Prototyped vars_of_nt().
17152 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17153 (find_child_console): Use it.
17154 (sys_kill): Use it.
17156 * ntheap.h: Do not extern os_subtype.
17158 * ntheap.c (cache_system_info): Do not cache unneeded:
17159 nt_major_version, nt_minor_version and os_subtype.
17160 (recreate_heap): Do not compile in when PDUMPing.
17162 * nt.c (geteuid and friends): Use the new varibale
17163 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17164 (init_user_info): Removed the above mentioned hackery.
17165 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17166 stat has been fixed in the C runtime.
17167 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17169 * file-coding.c (struct file_coding_dump): Do not define
17170 ucs_to_mule_table in the struct if not MULE.
17171 (struct struct lrecord_description fcd_description_1): Do not dump
17174 * emacs.c (main_1): Call vars_of_nt().
17175 (right before Fdump_emacs_data): Don't need lastfile if using both
17176 portabe dumper and system malloc.
17178 * alloc.c (Fmemory_limit): Conditionalized out.
17179 (pdump): Use OPEN_BINARY for the portable dump file.
17180 (pdump_load): Ditto.
17182 2000-02-02 Mike Alexander <mta@arbortext.com>
17184 * nt.c (convert_time): Set tm_isdst before calling mktime and
17185 avoid calling it at all if the compiler supports 64 bit integers.
17186 Also initialize utc_base_ft before using it.
17188 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17190 * frame.c (change_frame_size_1): Take f->internal_border_width
17191 into consideration when calculating the width of the frame.
17193 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17195 * window.c (frame_min_height):
17196 (frame_size_valid_p):
17197 (frame_pixsize_valid_p): Added.
17198 (check_frame_size): Generalized.
17200 * window.h: Prototyped the above.
17203 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17204 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17205 Deleted Vwin32_* and Vbinary_process_* unused variables.
17207 * device-msw.c (msprinter_init_device): Do not get printer font
17208 list; Added DEVMODE functions.
17210 * frame-msw.c: Added lots of printer code.
17212 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17215 * console-msw.h: Added more msprinter device private slots.
17217 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17219 * event-msw.c (key_needs_default_processing_p): Added.
17220 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17222 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17224 * glyphs.c (image_instance_layout): Mark image instance as clean
17226 (glyph_dirty_p): Removed redundant function.
17227 (invalidate_glyph_geometry_maybe): Added.
17228 (update_glyph_cachel_data): Call it.
17230 * glyphs.h: Prototyped it.
17232 * redisplay.c (add_glyph_rune): Call it.
17233 (redisplay_window): Reset glyphs cachels when frame faces have
17234 changed, thus forcing recomputation of built-in border glyphs.
17236 2000-01-30 Martin Buchholz <martin@xemacs.org>
17238 * Makefile.in.in: Make portable dumper and purify play well together.
17239 Add imperfect, but better than nothing, support for pdump.
17240 Remove xemacs.dmp when temacs is re-generated.
17241 Don't ignore errors when dumping xemacs.
17243 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17245 2000-01-28 Andy Piper <andy@xemacs.org>
17247 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17248 (setup_normal_frame): ditto.
17249 (setup_frame_without_minibuffer): ditto.
17250 (setup_minibuffer_frame): ditto.
17251 (delete_frame_internal): ditto.
17252 (Fmake_frame_invisible): ditto.
17253 (Ficonify_frame): ditto.
17255 * window.h: change Fset_window_buffer signature.
17257 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17258 (Fset_window_buffer): allow recording of buffer if the window is
17259 the selected window.
17260 (window_loop): Use new Fset_window signature.
17262 2000-01-23 Daniel Pittman <daniel@danann.net>
17264 * config.h.in: Added template for `HAVE_ATHENA_3D'
17266 2000-01-29 Andy Piper <andy@xemacs.org>
17268 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17270 * gutter.c (output_gutter): Don't output if the window isn't live.
17272 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17274 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17275 of 01/12/00: Moved SetFocus back here where it belongs.
17277 2000-01-23 Andy Piper <andy@xemacs.org>
17279 * s/cygwin32.h: declare printer things.
17281 2000-01-26 Andy Piper <andy@xemacs.org>
17283 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17286 2000-01-24 Andy Piper <andy@xemacs.org>
17288 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17289 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17291 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17293 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17295 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17297 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17298 (mswindows_output_display_block): Avoid local shadows.
17300 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17301 (mswindows_enqueue_mouse_button_event): ditto.
17302 (mswindows_handle_gui_wm_command): remove declaration.
17304 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17307 * console-msw.h: Avoid shadows.
17308 (mswindows_get_toolbar_button_text):
17309 (emacs_mswindows_create_stream_pair):
17310 (emacs_mswindows_delete_stream_pair):
17311 (mswindows_handle_toolbar_wm_command): declare.
17313 * device-msw.c (build_syscolor_string): Avoid shadows.
17315 2000-01-23 Andy Piper <andy@xemacs.org>
17317 * glyphs-widget.c (widget_instantiate): reverse the items for
17318 layouts so that children are in the expected order.
17320 2000-01-28 Martin Buchholz <martin@xemacs.org>
17322 * ralloc.c: safe_bcopy ==> memmove
17323 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17324 * s/msdos.h: Remove BCOPY macros.
17325 * insdel.c (gap_right): Remove BCOPY conditional code.
17326 * insdel.c (gap_left): Remove BCOPY conditional code.
17327 XEmacs demands a working ANSI C compiler - hence memmove.
17329 * regex.c (regex_compile): Remove accidental use of trigraphs.
17331 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17333 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17336 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17338 * event-msw.c (mswindows_drain_windows_queue): Added the
17340 (mswindows_need_event): Commented the call to
17341 mswindows_drain_windows_queue().
17342 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17345 * console-msw.h: Moved a few function prototypes here from
17348 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17349 parameter from unsigned short to unsigned long.
17350 (Fmswindows_shell_execute): Added return value.
17352 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17354 * sysdep.c (init_system_name):
17355 process-unix.c (unix_canonicalized_host_name):
17356 Don't call freeaddrinfo() if getaddrinfo() fails.
17358 * process-unix.c (unix_open_unix_network_stream):
17359 Moved the code to get a port # into address loop.
17361 2000-01-27 Martin Buchholz <martin@xemacs.org>
17363 * buffer.c (reinit_vars_of_buffer):
17364 The right place to initialize conversion_in_dynarr and
17365 conversion_out_dynarr.
17367 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17369 * process-unix.c (unix_canonicalize_host_name): Muleize.
17370 (unix_open_network_stream): Muleize.
17372 * buffer.h: Fix up prototypes for ralloc.c functions.
17374 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17375 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17376 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17377 instead of gethostbyname()
17378 * process-unix.c: In unix_canonicalize_host_name() and
17379 unix_open_network_stream(), add code to use getaddrinfo()
17380 instead of gethostbyname().
17382 2000-01-27 Daniel Pittman <daniel@danann.net>
17384 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17385 libs when built with flat Athena.
17387 2000-01-27 Martin Buchholz <martin@xemacs.org>
17389 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17390 Use coding standards for function prototypes.
17392 2000-01-25 Martin Buchholz <martin@xemacs.org>
17394 * dialog-msw.c (push_lisp_string_as_unicode):
17395 * doc.c (unparesseuxify_doc_string):
17396 * dired.c (Fuser_name_completion_1):
17397 * dired.c (Fuser_name_all_completions):
17398 * dired.c (free_user_cache):
17399 * dired.c (user_name_completion):
17400 * console-x.c (get_display_arg_connection):
17401 * minibuf.c (clear_echo_area_internal):
17402 * minibuf.c (echo_area_append):
17403 * eldap.c (Fldap_open):
17404 * eldap.c (Fldap_search_internal):
17405 * frame-x.c (x_set_frame_text_value):
17406 * frame-x.c (x_set_frame_properties):
17407 * frame-x.c (x_create_widgets):
17408 * redisplay-tty.c (term_get_fkeys_1):
17409 * objects-x.c (x_parse_nearest_color):
17410 * objects-x.c (x_valid_color_name_p):
17411 * objects-x.c (x_initialize_font_instance):
17412 * objects-x.c (x_list_fonts):
17413 * objects-x.c (x_find_charset_font):
17414 * tooltalk.c (Fadd_tooltalk_message_arg):
17415 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17416 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17417 * process-unix.c (unix_create_process):
17418 * ntproc.c (sys_spawnve):
17419 * sound.c (Fplay_sound_file):
17420 * sound.c (Fplay_sound):
17421 * buffer.c (init_initial_directory):
17422 * buffer.c (init_buffer):
17423 * editfns.c (init_editfns):
17424 * editfns.c (Ftemp_directory):
17425 * editfns.c (Fuser_full_name):
17426 * editfns.c (uncache_home_directory):
17427 * editfns.c (get_home_directory):
17428 * editfns.c (Fuser_home_directory):
17429 * editfns.c (Fformat_time_string):
17430 * editfns.c (Fcurrent_time_string):
17431 * gui-x.c (button_item_to_widget_value):
17432 * database.c (Fopen_database):
17433 * event-Xt.c (x_to_emacs_keysym):
17434 * event-Xt.c (x_event_to_emacs_event):
17435 * event-Xt.c (describe_event_window):
17436 * event-msw.c (mswindows_wnd_proc):
17437 * glyphs-eimage.c (jpeg_instantiate):
17438 * glyphs-eimage.c (gif_instantiate):
17439 * glyphs-eimage.c (png_instantiate):
17440 * glyphs-eimage.c (tiff_instantiate):
17441 * glyphs-x.c (xbm_instantiate_1):
17442 * glyphs-x.c (x_xbm_instantiate):
17443 * glyphs-x.c (x_xface_instantiate):
17444 * glyphs-x.c (autodetect_instantiate):
17445 * glyphs-x.c (cursor_font_instantiate):
17446 * glyphs-x.c (x_widget_instantiate):
17447 * glyphs-x.c (x_widget_set_property):
17448 * glyphs-x.c (x_widget_property):
17449 * glyphs-x.c (BUILD_GLYPH_INST):
17450 * print.c (write_string_to_stdio_stream):
17451 * print.c (output_string):
17452 * print.c (Falternate_debugging_output):
17453 * print.c (Fexternal_debugging_output):
17454 * glyphs-msw.c (extract_xpm_color_names):
17455 * glyphs-msw.c (mswindows_xpm_instantiate):
17456 * glyphs-msw.c (bmp_instantiate):
17457 * glyphs-msw.c (resource_name_to_resource):
17458 * glyphs-msw.c (mswindows_resource_instantiate):
17459 * glyphs-msw.c (xbm_instantiate_1):
17460 * glyphs-msw.c (mswindows_xbm_instantiate):
17461 * glyphs-msw.c (mswindows_xface_instantiate):
17462 * glyphs-msw.c (mswindows_widget_instantiate):
17463 * glyphs-msw.c (add_tree_item):
17464 * glyphs-msw.c (add_tab_item):
17465 * glyphs-msw.c (mswindows_combo_box_instantiate):
17466 * glyphs-msw.c (mswindows_widget_property):
17467 * glyphs-msw.c (mswindows_combo_box_property):
17468 * glyphs-msw.c (mswindows_widget_set_property):
17469 * console.c (stuff_buffered_input):
17470 * objects-msw.c (mswindows_initialize_color_instance):
17471 * objects-msw.c (mswindows_valid_color_name_p):
17472 * objects-msw.c (mswindows_list_fonts):
17473 * objects-msw.c (mswindows_font_instance_truename):
17474 * bytecode.c (optimize_compiled_function):
17475 * select-x.c (symbol_to_x_atom):
17476 * select-x.c (x_atom_to_symbol):
17477 * select-x.c (hack_motif_clipboard_selection):
17478 * select-x.c (selection_data_to_lisp_data):
17479 * select-x.c (lisp_data_to_selection_data):
17480 * select-x.c (Fx_get_cutbuffer_internal):
17481 * select-x.c (Fx_store_cutbuffer_internal):
17482 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17483 * buffer.h (TO_INTERNAL_FORMAT): New function.
17484 * emacs.c (make_arg_list_1):
17485 * emacs.c (make_argc_argv):
17486 * emacs.c (main_1):
17487 * emacs.c (Fdump_emacs):
17488 * emacs.c (split_string_by_emchar_1):
17493 * device-x.c (x_init_device):
17494 * device-x.c (Fx_valid_keysym_name_p):
17495 * device-x.c (Fx_get_font_path):
17496 * device-x.c (Fx_set_font_path):
17497 * glyphs.c (bitmap_to_lisp_data):
17498 * glyphs.c (pixmap_to_lisp_data):
17499 * alloc.c (make_ext_string): Use coding system arguments. Update
17501 * alloc.c (build_string):
17502 * callproc.c (child_setup):
17503 * callproc.c (init_callproc):
17504 * fileio.c (lisp_strerror):
17505 * fileio.c (directory_file_name):
17506 * fileio.c (Fexpand_file_name):
17507 * fileio.c (Ffile_truename):
17508 * fileio.c (Fsysnetunam):
17509 * fileio.c (Fdo_auto_save):
17510 * sysdep.c (sys_readdir):
17511 * tests.c: New file. Allow adding C tests.
17512 Replace GET_* macros with a more comprehensible and flexible
17513 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17515 Any coding system can be used to do format conversion.
17516 Eliminate enum external_data_format.
17517 Eliminate convert_to_external_format.
17518 Eliminate convert_to_internal_format.
17519 Make sure file-name, keyboard, terminal, and ctext are always
17520 defined as coding systems or aliases. Make
17521 file-name-coding-system, terminal-coding-system, and
17522 keyboard-coding-system magical variables that are equivalent to
17523 defining the corresponding coding system aliases.
17525 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17526 * file-coding.c (Fcoding_system_alias_p): New function.
17527 * file-coding.c (Fcoding_system_aliasee): New function.
17528 * file-coding.c (append_suffix_to_symbol): New function.
17529 * file-coding.c (dangling_coding_system_alias_p): New function.
17530 * file-coding.c (Ffind_coding_system):
17531 * file-coding.c (Fcopy_coding_system):
17532 * file-coding.c (encode_coding_no_conversion):
17533 * file-coding.c (syms_of_file_coding):
17534 * file-coding.c (vars_of_file_coding):
17535 Rewrite coding system alias code.
17536 Allow nested aliases, like symbolic links.
17537 Allow redefinition of coding system aliases.
17538 Prevent existence of dangling coding system aliases.
17540 * dired.c (Fuser_name_completion_1):
17541 * dired.c (Fuser_name_all_completions):
17542 A crash would happen if user did QUIT in the middle of building
17543 user_name_cache. Remove redundant code in mainline and unwind_protect.
17546 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17548 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17549 an unsigned char *. Update all callers.
17551 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17553 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17555 2000-01-25 Martin Buchholz <martin@xemacs.org>
17557 * elhash.c (hentry_description): Use more portable definition.
17558 (resize_hash_table): Initialize new hentries using
17559 xnew_array_and_zero, thereby simplifying the code.
17561 * mule-charset.c (make_charset): Make sure entire object is
17562 initialized, to avoid Purify warnings.
17564 * alloc.c (resize_string): Fix unlikely crash with big strings.
17566 2000-01-24 Martin Buchholz <martin@xemacs.org>
17568 * realpath.c (xrealpath):
17569 Don't call getwd().
17571 2000-01-25 Martin Buchholz <martin@xemacs.org>
17573 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17575 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17577 * unexelfsgi.c (unexec): Change the way we decide which segment
17578 should be extended.
17580 Assumption that .bss section should be outside the PT_LOADable
17581 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17582 it's present) is inside the 'data' segment. This would fail the
17583 test which was used to find a segment to grow and cover new
17584 heap. Instead of this assumption, I created another one - on IRIX
17585 the segment to grow should start below .bss and it's address
17586 should extent above the end of .bss. Once this segment is
17587 identified, it's grown to accommodate the new heap and new
17588 zero-length .bss section is added at the end of .data2.
17590 2000-01-25 Martin Buchholz <martin@xemacs.org>
17592 * eval.c (Feval): Wrong number of arguments should use original
17593 function, not the indirect_function version of it.
17595 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17597 * glyphs-x.c (x_button_instantiate): Don't add image if
17598 it is not a pixmap.
17599 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17602 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17604 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17606 (DEFVAR_INT_MAGIC): Ditto.
17607 (DEFVAR_BOOL_MAGIC): Ditto.
17608 * glyphs.h: Reindent backslash.
17610 2000-01-24 Martin Buchholz <martin@xemacs.org>
17612 * glyphs-widget.c (layout_query_geometry):
17613 (layout_layout): Use correct types for gheight, gwidth.
17615 2000-01-24 Martin Buchholz <martin@xemacs.org>
17617 * EmacsManager.c (QueryGeometry): Purified.
17619 2000-01-23 Martin Buchholz <martin@xemacs.org>
17621 * alloc.c (make_float): Make sure entire object is initialized, to
17622 avoid Purify warnings.
17623 (pdump_register_sub): Remove useless assignment.
17624 (pdump): Use xmalloc, not malloc.
17625 (pdump_load): Use xmalloc, not malloc.
17627 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17634 * sysdep.c: Removed redundant #include <windows.h>
17636 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17638 * frame.c (delete_frame_internal): Do not delete device when its
17639 implementation so declares.
17640 (delete_frame_internal): Set device selected frame to nil when
17641 last frame goes away.
17643 * device-msw.c (msprinter_device_system_metrics): Implemented.
17644 (mswindows_device_system_metrics): Added 'device-dpi property.
17646 * device.c: (Fdevice_printer_p): Added.
17647 Added 'offset-workspace device metric.
17649 * console.h (device_metrics): Declared DM_offset_workspace.
17651 2000-01-23 Martin Buchholz <martin@xemacs.org>
17653 * fileio.c (Ffile_truename): Remove pointless and confusing
17654 initialization of elen.
17656 * glyphs-widget.c: Compiler warning fixes.
17658 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17660 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17661 instead of a Lisp_Object as argument to make it consistent with
17662 the other LIVE_P macros.
17663 (CHECK_LIVE_PROCESS): New macro.
17665 * process.c: Declare Qprocess_live_p.
17666 (Fprocess_live_p): New function.
17667 (create_process): Use PROCESS_LIVE_P.
17668 (read_process_output): Ditto.
17669 (set_process_filter): Ditto.
17670 (Fdelete_process): Ditto.
17671 (kill_buffer_processes): Ditto
17672 (process_send_signal): Use CHECK_LIVE_PROCESS.
17673 (Fprocess_input_coding_system): Check whether process is still
17674 alive (fix PR#1061).
17675 (Fprocess_output_coding_system): Ditto.
17676 (Fprocess_coding_system): Ditto.
17677 (Fset_process_input_coding_system): Ditto.
17678 (Fset_process_output_coding_system): Ditto.
17680 2000-01-23 Andy Piper <andy@xemacs.org>
17682 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17685 * glyphs.c (mark_image_instance): take into account changed
17686 image_instance format.
17687 (image_instance_equal): ditto.
17688 (image_instance_hash): ditto.
17690 * glyphs-widget.c (widget_instantiate): Incorporate layout
17691 instantiation here. Delay layout of the layout until later.
17692 (layout_instantiate): deleted.
17693 (layout_query_geometry): new function. get the geometry of a
17695 (layout_layout): layout a layout dynamically.
17696 (image_instantiator_widget): New function - splitting up
17697 image_instantiator_format_create_glyphs_widget for netwinder
17699 (image_instantiator_buttons):
17700 (image_instantiator_edit_fields):
17701 (image_instantiator_combo_box):
17702 (image_instantiator_scrollbar):
17703 (image_instantiator_progress_guage):
17704 (image_instantiator_tree_view):
17705 (image_instantiator_tab_control):
17706 (image_instantiator_labels):
17707 (image_instantiator_layout): ditto.
17708 (image_instantiator_format_create_glyphs_widget): Call preceding
17711 2000-01-22 Martin Buchholz <martin@xemacs.org>
17713 * process.c (Fset_process_coding_system):
17714 * device-x.c (Fx_keysym_hash_table):
17717 * lstream.c (Lstream_write): Return documented value, not 0.
17719 * fileio.c (directory_file_name):
17720 (Fsubstitute_in_file_name):
17721 (Fsubstitute_insert_file_contents_internal):
17722 (Fwrite_region_internal):
17727 Remove vestigial APOLLO-conditional code.
17729 2000-01-21 Martin Buchholz <martin@xemacs.org>
17731 * getpagesize.h: Add guard macros.
17732 * libsst.h: Add guard macros.
17733 * libst.h: Add guard macros.
17734 * line-number.h: Add guard macros.
17735 * ndir.h: Add guard macros.
17736 * sysfloat.h: Add guard macros.
17737 * sysfile.h: Add guard macros.
17738 * sysproc.h: Add guard macros.
17739 * syswait.h: Add guard macros.
17740 * xintrinsic.h: Add guard macros.
17741 * xintrinsicp.h: Add guard macros.
17742 * xmmanager.h: Add guard macros.
17743 * xmmanagerp.h: Add guard macros.
17744 * xmprimitive.h: Add guard macros.
17745 * xmu.h: Add guard macros.
17746 * gpmevent.h: Add copyright statement. Add guard macros.
17747 * miscplay.h: Add guard macros.
17748 * *.h: Use consistent C-standards-approved guard macro names.
17750 * opaque.c (make_opaque): Switch parameter order.
17751 * opaque.h (make_opaque): Switch parameter order.
17752 Update all callers.
17753 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17755 * config.h.in (type_checking_assert): Added.
17756 (bufpos_checking_assert): Added.
17758 2000-01-21 Martin Buchholz <martin@xemacs.org>
17760 * alloc.c: Harmless pdump changes.
17762 - spell alignment correctly.
17763 * sysdep.c: Use countof()
17765 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17767 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17768 initially_selected_for_input() console method, default to 0.
17769 (semi_canonicalize_console_connection): Try to delegate to
17770 canonicalize_console_connection if no such console method.
17771 (canonicalize_console_connection): Vice versa.
17772 (print_console): Do not print nil connection.
17774 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17775 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17776 (XDEVIMPF_FRAMELESS_OK): Added.
17777 (CONSOLE_INHERITS_METHOD): Added.
17779 * console-msw.c (mswindows_canonicalize_console_connection):
17781 (mswindows_canonicalize_device_connection): Added.
17783 * console-msw.h (struct msprinter_device): Added this struct and
17785 (mswindows_device): Made fontlist a lisp object.
17787 * device.c (semi_canonicalize_device_connection): Try to delegate
17788 to canonicalize_device_connection if no such console method.
17789 (canonicalize_device_connection): Vice versa.
17790 (print_device): Do not print nil connection.
17792 * device-msw.c (mswindows_init_device): Call InitCommonControls
17794 (mswindows_delete_device): Removed fontlist deallocation.
17795 (mswindows_mark_device): Added.
17797 * events.c (event_equal): Added abort() at unreached code.
17798 (event_hash): Ditto.
17800 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17801 fallback tags of Windows devices.
17803 * general.c (syms_of_general): Initialized Qmsprinter.
17805 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17806 of fallback tags of Windows devices.
17808 * lisp.h: Declared Qmsprinter.
17810 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17812 (mswindows_list_fonts): Ditto.
17813 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17814 that it can be used by both mswindows and msprinter devices.
17815 (initialize_font_instance): Added.
17816 (mswindows_initialize_font_instance): Use it.
17817 (msprinter_initialize_font_instance): Added.
17819 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17820 and implementation flags check.
17821 (redisplay_without_hooks): Changed the call to the above.
17822 (Fredraw_device): Ditto.
17823 (Fredisplay_device): Ditto.
17825 * redisplay-msw.c (get_frame_dc): Implemented.
17826 (get_frame_compdc): Implemented.
17827 (many functions): Use the two functions above to get device
17828 contexts, ether for a window or a printer.
17830 2000-01-21 Olivier Galibert <galibert@pobox.com>
17832 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17833 initialization here.
17834 (init_symbols_once_early): Call it.
17835 * emacs.c (main_1): Call it.
17836 * symsinit.h: Declare it.
17838 2000-01-19 Olivier Galibert <galibert@pobox.com>
17840 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17842 (pdump_backtrace): Ditto.
17843 (pdump_register_object): Ditto. Cleanup use of the pointers.
17844 (pdump_get_entry): Abort if trying to register a null pointer.
17845 (pdump_dump_data): Cleanup types when relocating.
17846 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17847 (pdump_dump_rtables): Remove bad casts.
17848 (pdump_load): Cleanup relocation w.r.t union type. Use a
17849 Lisp_Object instead of a EMACS_INT for the hashtable
17852 2000-01-20 Martin Buchholz <martin@xemacs.org>
17854 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17856 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17858 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17860 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17862 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17864 * faces.h (FACE_STRIKETHRU_P): Added.
17866 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17869 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17870 (mswindows_set_dc_font): New function, aware of font variants,
17871 separated from mswindows_update_dc.
17873 * objects-msw.h (struct mswindows_font_instance_data): Added
17876 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17877 cached fonts and the data structure.
17878 (mswindows_initialize_font_instance): Added creation of font data
17880 (mswindows_print_font_instance): Print at least something.
17881 (mswindows_create_font_variant): Implemented.
17882 (mswindows_get_hfont): Implemented.
17884 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17886 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17887 prototyping problem with msvc.
17889 * emacs.c (main_1): added syms_of_gui_mswindows() call
17891 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17892 syms_of_gui_mswindows() function
17894 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17896 2000-01-18 Martin Buchholz <martin@xemacs.org>
17898 * XEmacs 21.2.27 is released.
17900 2000-01-18 Martin Buchholz <martin@xemacs.org>
17902 * glyphs-eimage.c (struct tiff_error_struct):
17904 (tiff_warning_func):
17905 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17910 * unexec.c: Remove vestigial Lucid C code.
17914 * libsst.c: Ansify.
17915 Remove declarations of errno and strerror().
17917 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17919 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17921 2000-01-16 Martin Buchholz <martin@xemacs.org>
17923 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17926 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17931 Change enum eol_type to eol_type_t.
17933 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17935 * gui.c (get_gui_callback): Check cons before accessing car.
17937 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17939 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17940 (XSETSPECIFIER_TYPE): Ditto.
17942 2000-01-17 Didier Verna <didier@xemacs.org>
17944 * redisplay.c (generate_fstring_runes): compute string size in
17945 characters, not bytes.
17947 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17949 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17951 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17953 * print.c (print_error_message): Call print_prepare().
17955 2000-01-14 Martin Buchholz <martin@xemacs.org>
17957 * .dbxrc: Renamed from dbxrc.
17959 * events.c (event_to_character):
17960 Use `assert (foo)' instead of `if (!foo) abort()'
17962 * .gdbinit (xtype): Add documentation.
17963 * .gdbinit (check-temacs): New function.
17964 * .gdbinit (check-xemacs): New function.
17965 * dbxrc (check-xemacs): New function.
17966 * dbxrc (check-xemacs): New function.
17968 2000-01-14 Andy Piper <andy@xemacs.org>
17970 * glyphs-widget.c (widget_query_geometry): Make sure that we
17971 calculate default dimensions correctly.
17973 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17975 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17977 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17978 pdump_wire'd variable.
17980 * emacs.c: (main_1): Conditionalized calls to
17981 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17983 2000-01-13 Martin Buchholz <martin@xemacs.org>
17985 * window.c (Fset_window_configuration):
17986 * sysdep.c (_start):
17987 * input-method-motif.c (res):
17988 * event-Xt.c (Xt_process_to_emacs_event):
17989 Simple compiler warning fixes.
17991 * bytecode.c (funcall_compiled_function): Use the original
17992 function symbol on the backtrace list in preference to the
17993 compiled_function object in error messages.
17995 2000-01-13 Andy Piper <andy@xemacs.org>
17997 * glyphs-x.c (update_widget_face): Make sure we update the widget
17998 background as well as foreground.
18000 2000-01-13 Andy Piper <andy@xemacs.org>
18002 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
18003 fields to subwindow.
18004 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
18005 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
18006 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18007 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
18009 * glyphs-widget.c (check_valid_tab_orientation): new function.
18010 (initialize_widget_image_instance): zero orientation and
18012 (widget_instantiate): pick up orientation.
18013 (tab_control_query_geometry): return appropriate values for
18016 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
18017 appropriate creation flags for left, right and bottom tabs.
18019 * s/cygwin32.h: add tab definitions.
18021 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18023 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18024 frame upon hiding a subwindow.
18025 (mswindows_button_instantiate): Changed the push button style to
18027 (mswindows_button_instantiate): Removed button BS_NOTIFY
18029 (mswindows_button_instantiate): Removed redundant check for
18030 a disabled gui item.
18031 (mswindows_button_instantiate): Made use of WS_TABSTOP
18032 consistent: "operable" controls (edit, button, tree, scroll) have
18033 this style, "display-only" ones (static, progress gauge) do
18034 not. This style is currently ignored by XEmacs though. Also,
18035 removed the WS_EX_CONTROLPARENT style - it is not for children,
18036 it is for their parents!
18037 (mswindows_edit_field_instantiate): Ditto.
18038 (mswindows_progress_gauge_instantiate): Ditto.
18039 (mswindows_tree_view_instantiate): Ditto.
18040 (mswindows_tab_control_instantiate): Ditto.
18041 (mswindows_scrollbar_instantiate): Ditto.
18042 (mswindows_combo_box_instantiate): Ditto.
18043 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18044 style to the "clip" window.
18045 (mswindows_button_instantiate): Removed compilation warning by
18046 equally typing terms of the ?: operator.
18048 2000-01-12 Didier Verna <didier@xemacs.org>
18050 * redisplay.c (generate_fstring_runes): new parameter holding the
18051 last modeline-format extent.
18052 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18053 extent, fill the glyph block with it.
18054 (generate_fstring_runes): handle these parameters.
18055 (generate_formatted_string_db): ditto.
18057 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18058 glyphs'extents in the modeline.
18060 1999-01-11 Mike Woolley <mike@bulsara.com>
18062 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18063 256Mb, as a workaround for the non-starting problem many people
18066 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18068 * console-tty.c (Fset_console_tty_output_coding_system):
18069 Force redrawing tty frame.
18071 2000-01-10 Didier Verna <didier@xemacs.org>
18073 * redisplay.c (generate_fstring_runes): fix size computation bug.
18075 2000-01-09 William M. Perry <wmperry@aventail.com>
18077 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18079 2000-01-09 Andy Piper <andy@xemacs.org>
18081 * glyphs-msw.c: index -> i to avoid shadows.
18082 (xbm_create_bitmap_from_data): make static.
18083 (check_valid_string_or_int): deleted.
18084 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18086 * glyphs-x.c (x_update_subwindow): remove unused args.
18088 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18089 back pointer - this is done in allocate_image_instance.
18090 (query_string_font): return Qnil to make the compiler happy.
18091 (unmap_subwindow): set to ~0 to make the compiler happy.
18092 (glyph_query_geometry): comment out until used.
18093 (glyph_layout): ditto.
18095 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18097 * insdel.c (signal_after_change): Remove extraneous unbind_to().