1 2010-02-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (Fchar_feature_property): New function when LIBCHISE
5 (Fput_char_feature_property): Likewise.
6 (syms_of_chartab): Add new builtin functions
7 `char-feature-property' and `put-char-feature-property' when
10 2009-04-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
12 * mule-charset.c (Fmake_charset): Add DOC-string of 'iso-ir and
14 (Fcharset_property): Regard '=>iso-ir as same as `iso_ir.
16 2009-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * mule-charset.c (Qto_iso_ir): New variable for XEmacs CHISE.
19 (make_charset): Add new argument `iso_ir'.
20 (Fmake_charset): Add new property `=>iso-ir' in XEmacs CHISE.
21 (Fmake_reverse_direction_charset): Copy CHARSET_ISO_IR(cs) in
23 (Fcharset_property): Support `iso-ir' in XEmacs CHISE.
24 (syms_of_mule_charset): Add new builtin symbol `=>iso-ir' in
26 (complex_vars_of_mule_charset): Specify argument `iso_ir' of
27 function `make_charset'.
29 * char-ucs.h (LEADING_BYTE_*): Enclose negative value with ( ).
30 (struct Lisp_Charset): Add new member `iso_ir'.
31 (CHARSET_ISO_IR): New macro.
33 2009-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * mule-charset.c (Fdecode_char): Fix problem when decoding GR
36 code-point by GL charset.
38 2008-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * concord.c (concord_id_validate): New function.
41 (structure_type_create_concord): Use `concord_id_validate' instead
42 of `concord_name_validate' to accept integer and character as =id.
44 2008-09-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
46 * concord.c (func_for_each_object): Fix bug about GC-protection.
48 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
50 * concord.c (Fconcord_object_put): Check argument FEATURE is a
53 2008-09-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
55 * text-coding.c (struct decoding_stream): Add new member
56 `bom_flag' in XEmacs CHISE.
57 (reset_decoding_stream): Ignore U+FEFF in the beginning of stream
60 2008-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * mule-charset.c: Move definition of `=jis-x0208@1978' to
63 lisp/mule/mule-conf.el.
65 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
68 (make_charset): Add new argument `partial'.
69 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
70 (Fmake_reverse_direction_charset): Modify for `make_charset'.
71 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
73 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
74 `=jis-x0208' as a partial coded-charset.
76 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * text-coding.c (decode_add_er_char): Fix problem when a character
79 represented by an entity-reference is not defined.
81 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
86 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
88 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
91 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
94 is a relation feature.
96 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * chartab.c (syms_of_chartab): Define
99 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
101 * chartab.h (Q_denotational): New extern when UTF2000 or
102 HAVE_CONCORD is defined.
103 (Q_denotational_from): Likewise.
104 (Q_subsumptive): Likewise.
105 (Q_subsumptive_from): Likewise.
107 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * concord.c (concord_object_put): New function.
110 (Fconcord_object_put): Use `concord_object_put'.
112 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
114 * concord.c (Fconcord_define_object): New function.
115 (syms_of_concord): Add new builtin function
116 `concord-define-object'.
118 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
123 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * concord.c: Add EXFUN for Fconcord_object_get.
126 (Vconcord_genre_object_hash_table): New variable.
127 (concord_genre_cache_get_object): New function.
128 (concord_genre_cache_put_object): New function.
129 (Fconcord_make_object): Use object cache; put object-ID into `=id'
131 (Fconcord_object_put): Call `concord_index_sync' after
132 `concord_index_strid_put_obj'.
133 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
135 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
137 * concord.c (Fconcord_decode_object): Do GCPRO for
138 Fconcord_make_object.
139 (func_for_each_object): Likewise; do GCPRO for
140 for_each_object_closure->function.
141 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
142 for_each_object_closure->function, for_each_object_closure->genre,
143 for_each_object_closure->ds and for_each_object_closure->ret.
144 (concord_object_validate): Do GCPRO for Fconcord_make_object.
146 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
148 * concord.c: Add EXFUNs for Fconcord_decode_object and
150 (Fconcord_make_object): Change order of arguments.
151 (Fconcord_decode_object): Modify for Fconcord_make_object.
152 (func_for_each_object): Likewise.
153 (concord_object_validate): Likewise.
154 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
156 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
160 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * concord.c (Fconcord_decode_object): Try to use readable print
163 form as a key of Concord-index.
164 (Fconcord_object_get): Try to use readable print form as an ID of
166 (Fconcord_object_put): Try to use readable print form as an ID of
167 Concord-object and a feature value.
168 (Fconcord_object_spec): Try to use readable print form as an ID of
171 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
173 * concord.c (print_concord_object): Support readable form.
175 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * emacs.c (main_1): Call `structure_type_create_concord' when
178 HAVE_CONCORD is defined.
180 * symsinit.h (structure_type_create_concord): New prototype.
182 * concord.c (Qconcord_object): New variable.
185 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
187 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
188 char*> for genre-name.
189 (Fconcord_feature_list): Likewise.
190 (Fconcord_make_object): Likewise.
191 (Fconcord_decode_object): Likewise; use <char*> instead of
192 <unsigned char*> for feature_name and strid.
193 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
194 c_obj and feature_name.
195 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
197 (struct closure_for_object_spec): Use <char*> instead of <unsigned
198 char*> for member `object_id'.
199 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
200 char*> for feature-name.
201 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
203 (func_for_each_object): Cast to avoid warnings.
204 (Fconcord_foreach_object_in_feature): Use <char*> instead of
205 <unsigned char*> for genre_name and feature_name.
206 (concord_name_validate): New function.
207 (concord_object_validate): Likewise.
208 (concord_object_instantiate): Likewise.
209 (syms_of_concord): Add new builtin symbols `concord-object',
211 (structure_type_create_concord): New function.
213 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
215 * concord.c (Vconcord_ds_hash_table): New variable.
216 (Vconcord_genre_hash_table): New variable.
217 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
218 (Fconcord_ds_directory): New function.
219 (Fconcord_assign_genre): New function.
220 (Fconcord_genre_directory): New function.
221 (Fconcord_genre_ds): New function.
222 (Fconcord_feature_list): Allow to omit `ds'.
223 (Fconcord_make_object): Likewise.
224 (Fconcord_decode_object): Likewise.
225 (Fconcord_foreach_object_in_feature): Likewise.
226 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
227 Fconcord_assign_genre, Fconcord_genre_directory and
229 (vars_of_concord): Setup Vconcord_ds_hash_table and
230 Vconcord_genre_hash_table.
232 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
234 * concord.c (struct closure_for_each_object): Add new member
236 (func_for_each_object): Setup the return value to
237 `for_each_object_closure->ret'.
238 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
239 returns the value instead of Qt.
241 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * concord.c: New file.
245 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
248 `lrecord_type_concord_object'.
250 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * symsinit.h (syms_of_concord): New prototype.
253 (vars_of_concord): New prototype.
255 * emacs.c (main_1): Setup symbols and variable about concord if
256 HAVE_CONCORD is defined.
258 * config.h.in (HAVE_CONCORD): New macro.
260 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
262 * chartab.c (Fput_char_attribute): For each character relation
263 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
265 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
267 * chartab.c (Fput_char_attribute): Use
268 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
269 calling `put_char_composition'.
271 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
273 * chartab.c (Q_halfwidth_of): New variable.
274 (put_char_composition): Return `<-halfwidth' instead of
275 `=decomposition' for compatibility mapping to single character
277 (Fput_char_attribute): Convert char-specs in value of
278 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
279 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
281 (syms_of_chartab): Add new symbol `<-halfwidth'.
283 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
285 * chartab.c (put_char_composition): Return
286 `<-formed@{isolated|initial|medial|final}' for compatibility
287 mapping to single character tagged
288 `{isolated|initial|medial|final}'.
290 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
292 * chartab.c (Q_compat_of): Deleted.
293 (put_char_composition): Return `<-FOO' for compatibility mapping
294 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
295 of `symbol_name (XSYMBOL(...))'.
296 (Fput_char_attribute): Convert char-specs in value of
297 `{<-|->}font[^*]*' to characters and put reverse links.
298 (Fsave_char_attribute_table): Don't refer Q_compat_of.
299 (syms_of_chartab): Delete builtin symbol `<-compat'.
301 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
303 * chartab.c (Q_circled_of): New variable.
304 (put_char_composition): Return `<-circled' instead of
305 `=decomposition' for compatibility mapping to single character
307 (Fput_char_attribute): Convert char-specs in value of
308 `{<-|->}circled[^*]*' to characters and put reverse links.
309 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
311 (syms_of_chartab): Add new symbol `<-circled'.
313 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
315 * chartab.c (Qto_decomposition_at_circled): New variable.
316 (put_char_composition): Return `=>decomposition@circled' instead
317 of `=decomposition' for compatibility decomposition mapping tagged
319 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
321 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
323 * chartab.c (Q_subscript_of): New variable.
324 (put_char_composition): Return `<-subscript' instead of
325 `=decomposition' for compatibility mapping to single character
327 (Fput_char_attribute): Convert char-specs in value of
328 `{<-|->}subscript[^*]*' to characters and put reverse links.
329 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
331 (syms_of_chartab): Add new symbol `<-subscript'.
333 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * chartab.c (Q_superscript_of): New variable.
336 (put_char_composition): Return `<-superscript' instead of
337 `=decomposition' for compatibility mapping to single character
339 (Fput_char_attribute): Convert char-specs in value of
340 `{<-|->}superscript[^*]*' to characters and put reverse links.
341 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
343 (syms_of_chartab): Add new symbol `<-superscript'.
345 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * chartab.c (Qto_decomposition_at_compat): Deleted.
348 (Qto_decomposition_at_superscript): New variable.
349 (put_char_composition): Use `=>decomposition@superscript' instead
350 of `=decomposition' for compatibility decomposition mapping tagged
352 (Fput_char_attribute): Fix condition about `put_char_composition'.
353 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
354 add news symbol `=>decomposition@superscript'.
356 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
359 for compatibility decomposition mapping tagged FOO.
360 (Fput_char_attribute): Modify for `put_char_composition'.
362 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * chartab.c (Qto_decomposition_at_compat): New variable.
365 (Q_compat_of): Renamed from `Q_compatibility_of'.
366 (put_char_composition): Rename `Q_compatibility_of' to
367 `Q_compat_of'; return `=>decomposition@compat' for compatibility
368 decomposition mapping.
369 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
371 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
372 `<-compatibility' to `<-compat'.
374 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
376 * chartab.c (Q_compatibility_of): New variable.
377 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
378 object is proved to be a cons cell; return `<-compatibility' if
379 the first element of argument `value' is `compat'.
380 (Fput_char_attribute): Eliminate the first value if
381 `put_char_composition' returns `<-compatibility'.
382 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
383 for `<-compatibility'.
384 (syms_of_chartab): Add new symbol `<-compatibility'.
386 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * chartab.c (Q_canonical): New variable.
389 (put_char_composition): Return a feature name: return
390 `->canonical' if argument `value' specifies single character.
391 (Fput_char_attribute): Use `put_char_composition' to determine
392 feature name for `=decomposition' or `->denotational'.
393 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
395 (syms_of_chartab): Add new symbol `->canonical'.
397 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
399 * chartab.c (Qmap_decomposition): New variable.
400 (Fput_char_attribute): Convert `->decomposition' to
402 (syms_of_chartab): Add new symbol `=decomposition'.
404 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * chartab.c (Fget_range_char_table): Fix serious problem when
409 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * chartab.c (char_table_get_db): Use `read_from_c_string'.
413 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * lread.c (read_from_c_string): New function.
417 * lisp.h (read_from_c_string): New prototype.
419 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * chartab.c (Fput_char_attribute): Convert char-specs in value of
422 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
423 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
424 for `{<-|->}Oracle-Bones[^*]*'.
426 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
431 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * text-coding.c (Qccs_priority_list): New variable in XEmacs
435 (Fmake_coding_system): Support new property `ccs-priority-list' in
437 (Fcoding_system_property): Likewise.
438 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
439 Vdefault_coded_charset_priority_list in XEmacs CHISE.
440 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
442 (complex_vars_of_file_coding): Define new coding-system-property
443 `ccs-priority-list' in XEmacs CHISE.
445 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
447 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
449 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
450 changed to normal function.
451 (encode_char_2): Likewise.
453 * mule-charset.c (decoding_table_put_char): Copied from
454 char-ucs.h; changed to normal function.
455 (encode_char_2): Likewise.
457 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
461 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
462 (encode_char_2_search_children): New inline function.
463 (encode_char_2): Refer
464 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
465 and use `encode_char_2_search_children'.
467 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
470 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
471 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
472 (vars_of_mule_charset): Add new variable
473 `display-coded-charset-priority-use-inheritance' and
474 `display-coded-charset-priority-use-hierarchy-order'.
476 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * char-ucs.h (Q_subsumptive): New extern.
479 (Q_denotational): Likewise.
480 (encode_char_2): Search children specified by `->subsumptive' and
483 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
485 * mule-charset.c (complex_vars_of_mule_charset): Modify the
486 X-registry of `ucs-bmp'.
488 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
490 * chartab.c (char-variants): Refer `->subsumptive',
491 `->denotational' and `->identical' as same as `->ucs-unified'.
493 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
495 * chartab.c (Fput_char_attribute): Convert char-specs in value of
496 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
499 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
501 * text-coding.c: Add EXFUN for `Fregexp_quote'.
502 (decode_add_er_char): Fix problem about infinite loop when a CCS
503 specified in `coded-charset-entity-reference-alist' is not
506 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * mule-charset.c (syms_of_mule_charset): Rename
509 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
511 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
513 * fns.c (simplify_char_spec): Don't allocate new character-object
514 if specified char_spec does not have any CCS-features.
516 * chartab.h: Add EXFUN for Fdefine_char.
518 * chartab.c: Delete EXFUN for Fdefine_char.
520 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
522 * fns.c (simplify_char_spec): Use Fdefine_char instead of
523 Ffind_char for char-spec.
525 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
527 * lisp-disunion.h (XCHARVAL): Fix condition about
530 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
532 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
534 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
535 point; use <Emchar> instead of <int> for character-id.
537 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
539 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
540 (make_char): Likewise.
541 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
543 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
544 instead of <int> as the type of return value; use <Lisp_Object>
545 instead of <Emchar> as the type of argument.
546 (XCHARVAL[macro version]): Cast the result into <Emchar>.
548 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
549 syntaxcode> instead of <int>.
551 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
553 * chartab.c (put_char_composition): Use DECODE_CHAR to get
554 character corresponding with UCS code point.
555 (Fput_char_attribute): Likewise.
557 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
558 character in the UCS decoding-table if the char-id is not equal to
561 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
563 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
564 for aliases; write `description'; write
565 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
568 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
570 * chartab.c (Fsave_char_attribute_table): Don't use
571 `save_charset_properties'.
573 * mule-charset.c (Fsave_charset_properties): Renamed from
574 `save_charset_properties' and changed to Lisp function again;
575 write property `type' as `CCS'; write properties `final-byte' and
576 `mother' if they exists.
577 (syms_of_mule_charset): Revive builtin function
578 `save-charset-properties' when HAVE_LIBCHISE is defined.
580 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
583 instead of Vexec_directory.
584 (char_attribute_system_db_file): Likewise.
586 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
588 * chartab.c (Fsave_char_attribute_table): Use
589 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
592 * mule-charset.c (save_charset_properties): Renamed from
593 `Fsave_charset_properties'; changed to non-Lisp function.
594 (syms_of_mule_charset): Abolish builtin function
595 `save-charset-properties'.
597 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
599 * mule-charset.c (Fsave_charset_properties): New function when
600 HAVE_LIBCHISE is defined.
601 (syms_of_mule_charset): Add new builtin function
602 `save-charset-properties' when HAVE_LIBCHISE is defined.
604 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
606 * chartab.c (Fput_char_attribute): Convert char-specs in value of
607 `{<-|->}ancient[^*]*' to characters and put reverse links.
608 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
609 for `{<-|->}ancient[^*]*'.
611 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
613 * chartab.c (Fput_char_attribute): Convert char-specs in value of
614 `{<-|->}original[^*]*' to characters and put reverse links.
615 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
616 for `{<-|->}original[^*]*'.
618 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
620 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
622 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
624 * mule-charset.c (Qsystem_char_id): New variable.
626 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
627 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
629 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
631 * chartab.c (Fput_char_attribute): When processing a reference of
632 a character, put into the end of the reversed reference of each
635 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * chartab.c (Q_same): Deleted.
638 (Q_same_of): Deleted.
639 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
640 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
642 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
644 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
646 * chartab.c (Q_vulgar): Deleted.
647 (Q_vulgar_of): Deleted.
648 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
649 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
651 (syms_of_chartab): Don't define `{<-|->}vulgar'.
653 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
655 * chartab.c (Fput_char_attribute): Convert char-specs in value of
656 `{<-|->}wrong[^*]*' to characters and put reverse links.
657 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
658 for `{<-|->}wrong[^*]*'.
660 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
662 * chartab.c (Q_vulgar): New variable.
663 (Q_vulgar_of): New variable.
664 (Fput_char_attribute): Convert char-specs in value of
665 `{->|<-}vulgar' to characters and put reverse links.
666 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
668 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
670 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
672 * text-coding.c (decode_add_er_char): Must to quote prefix string
675 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
677 * mule-charset.c (put_char_ccs_code_point): Store characters of
678 =ucs whose code_points >= 0xF0000.
680 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
684 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
686 (complex_vars_of_mule_charset): Add new coded-charset
687 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
688 builtin characters over 0xEFFFF.
690 * chartab.c (syms_of_chartab): Don't define symbol
691 `system-char-id' in every case.
693 * char-ucs.h (Qsystem_char_id): New extern variable.
694 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
696 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * text-coding.c (char_encode_utf8): Try to use entity-references
699 for U-000F0000 ... U-0010FFFF.
701 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
703 * text-coding.c (ER_BUF_SIZE): New macro.
704 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
706 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
707 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
709 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
711 * chartab.c (find_char_feature_in_family): New function.
712 (Fchar_feature): Use `find_char_feature_in_family' with
713 `->identical', `<-subsumptive' and `<-denotational'.
715 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
717 * text-coding.c (char_encode_as_entity_reference): Allow prefix
718 within 8 characters; fix infinite loop.
720 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
722 * chartab.c (Q_same): New variable.
723 (Q_same_of): New variable.
724 (Fput_char_attribute): Convert char-specs in value of
725 `{->|<-}same' to characters and put reverse links.
726 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
728 (syms_of_chartab): Add new symbols `{->|<-}same'.
730 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
732 * chartab.c (Q_component): New variable.
733 (Q_component_of): Likewise.
734 (Fput_char_attribute): Convert char-specs in value of
735 `{->|<-}ideographic-component-forms' to characters and put reverse
737 (syms_of_chartab): Add new symbols
738 `{->|<-}ideographic-component-forms'.
740 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
742 * chartab.c (Q_identical): New variable.
743 (Q_identical_from): New variable.
744 (Fchar_feature): Regard `->identical' as a feature to find
746 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
747 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
748 for `{->|<-}identical'.
749 (syms_of_chartab): Add new symbols `{->|<-}identical'.
751 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
753 * char-ucs.h (encode_char_2): New inline function.
754 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
756 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * chartab.c (Fput_char_attribute): Convert char-specs to
759 characters in value of `ideographic-structure'.
760 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
761 for `{<-|->}simplified(@...)'.
762 (Fdefine_char): Try to use predefined character's id.
764 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
766 * fns.c (simplify_char_spec): Try to convert builtin chars to
769 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
771 * chartab.c (Fput_char_attribute): Convert char-specs in value of
772 `<-simplified[^*]*' to characters and put reverse links.
774 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
776 * chartab.c (Q_subsumptive): Renamed from Q_unified.
777 (Q_subsumptive_from): Renamed from Q_unified_from.
778 (Fchar_feature): Use `Q_subsumptive_from' instead of
780 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
782 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
783 `<-unified' to `<-subsumptive'.
785 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
787 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
788 inheritance itself; fix typo; stop recursive search if cyclic
789 inheritance is found.
791 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
793 * chartab.c (Q_denotational): New variable.
794 (Q_denotational_from): New variable.
795 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
796 (put_char_attribute): New function.
797 (Fput_char_attribute): Use `put_char_attribute'; regard
798 `->denotational' and `<-denotational' as same as `->unified' and
800 (syms_of_chartab): Add new symbols `->denotational' and
803 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
806 `Fget_char_attribute'.
807 (Fchar_variants): Likewise.
808 (get_char_table): Likewise.
809 (Fchar_feature): New function.
810 (put_char_composition): Use `Fchar_feature' instead of
811 `Fget_char_attribute'.
812 (Fput_char_attribute): Likewise; don't put the target character
813 into its `->unified' value.
814 (syms_of_chartab): Add new builtin function `char-feature'.
816 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
818 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
819 `Fget_char_attribute'.
820 (char_encode_utf8): Likewise.
822 * chartab.h: Add an EXFUN for `Fchar_feature'.
824 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
826 * chartab.c (Vnext_defined_char_id): New variable.
827 (Fput_char_attribute): Accept characters in `->unified'.
828 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
829 new characters which are not related with builtin char-id ranges.
830 (vars_of_chartab): Add new variable `next-defined-char-id'.
832 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
834 * chartab.c (Q_unified): New variable.
835 (Q_unified_from): New variable.
836 (Fput_char_attribute): Add code for `->unified'.
837 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
840 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * mule-charset.c (decode_ccs_conversion): New function.
843 (decode_defined_char): Use `decode_ccs_conversion'.
844 (decode_builtin_char): Likewise.
846 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
848 * char-ucs.h: Change some charset-ids of private coded-charsets.
850 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
852 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
853 (char_encode_as_entity_reference): Likewise.
854 (decode_coding_big5): Modify for `decode_defined_char' and
856 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
857 avoid compiler warning.
858 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
860 * mule-charset.c (decode_defined_char): Add new argument
861 `without_inheritance'.
862 (Fdecode_char): Add new optional argument `without_inheritance'.
863 (Fdecode_builtin_char): Modify for `Fdecode_char'.
865 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
866 (simplify_char_spec): Likewise.
868 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
871 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
872 (map_char_table): Likewise.
873 (Fdefine_char): Use `Fdecode_char' without inheritance.
874 (Ffind_char): Modify for `Fdecode_char'.
876 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
878 * char-ucs.h (decode_defined_char): Add new argument
879 `without_inheritance'.
880 (DECODE_CHAR): Likewise.
881 (MAKE_CHAR): Modify for `DECODE_CHAR'.
883 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
885 * chartab.c (Vchise_system_db_directory): New variable.
886 (vars_of_chartab): Add new variable `chise-system-db-directory'.
888 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
890 * chartab.c: EXFUN `Fmount_char_attribute_table'.
891 (print_chartab_range): Don't define when `UTF2000' is defined.
892 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
895 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
897 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
898 and optional argument `rehash' is specified, call
899 `open_chise_data_source_maybe' before
900 `chise_ds_foreach_char_feature_name' is called.
902 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
904 * chartab.c (char_attribute_list_reset_map_func): New function
905 when HAVE_LIBCHISE is defined.
906 (Fchar_attribute_list): Add new optional argument `rehash' when
907 HAVE_LIBCHISE is defined.
908 (open_chise_data_source_maybe): Use "chise-db" instead of
910 (char_attribute_system_db_file): Likewise.
911 (Fload_char_attribute_table): Use
912 `chise_feature_foreach_char_with_value' instead of
913 `chise_char_feature_value_iterate'.
915 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * chartab.c (Vchise_db_directory): New variable.
918 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
920 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
922 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
923 instead of HAVE_CHISE to specify using with libchise.
925 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
927 * chartab.h: Don't use HAVE_CHISE_CLIENT.
929 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
930 defined or HAVE_LIBCHISE_LIBCHISE is defined.
931 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
933 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
934 HAVE_CHISE to specify using with libchise.
935 (syms_of_chartab): Don't define symbol `system-char-id' when
936 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
938 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
940 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
941 specify CHISE DB support.
942 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
943 of `char_attribute_system_db_file' to check feature DB file.
945 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
946 HAVE_CHISE_CLIENT to specify CHISE DB support.
948 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
949 specify CHISE DB support.
950 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
952 (Freset_char_attribute_table): Use `chise_feature_setup_db'
953 instead of `char_attribute_system_db_file' to check feature DB
956 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
958 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
961 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
963 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
964 (Fsave_charset_mapping_table): Don't use
965 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
967 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
968 (HAVE_LIBCHISE): New macro.
970 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
972 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
973 (Fsave_char_attribute_table): Don't use
974 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
976 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
978 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
980 (save_uint16_byte_table): Likewise.
981 (save_byte_table): Likewise.
982 (char_table_get_db): Use `chise_ds_load_char_feature_value'
983 instead of `chise_char_load_feature_value'.
984 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
986 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
988 * chartab.h (struct Lisp_Char_Table): Delete member
989 `feature_table' if CHISE is defined.
991 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
992 (Fcopy_char_table): Likewise.
993 (char_table_open_db_maybe): Likewise.
994 (char_table_close_db_maybe): Likewise.
995 (char_table_get_db): Likewise.
996 (Fmount_char_attribute_table): Likewise.
997 (Fload_char_attribute_table): Likewise.
999 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1001 * mule-charset.c (load_char_decoding_entry_maybe): Use
1002 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
1005 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1007 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
1008 instead of `chise_open_data_source'.
1009 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
1012 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1014 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
1015 instead of `chise_ds_open_feature_table'.
1016 (char_table_close_db_maybe): Don't use `chise_ft_close'.
1018 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1020 * mule-charset.c (Fsave_charset_mapping_table): Use
1021 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
1022 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
1023 `chise_ccs_sync' instead of `chise_ccst_close'.
1024 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
1026 * chartab.c (open_chise_data_source_maybe): Modify for
1027 `chise_open_data_source'.
1028 (char_table_open_db_maybe): Modify for
1029 `chise_ds_open_feature_table'.
1031 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1033 * mule-charset.c (load_char_decoding_entry_maybe): Use
1034 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
1037 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1039 * mule-charset.c (Fsave_charset_mapping_table): Use
1040 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
1041 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
1042 `chise_dt_put_char' and `chise_dt_close'.
1043 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
1044 `chise_ccs_decode' and `chise_ccst_close' instead of
1045 `chise_ds_open_decoding_table', `chise_dt_get_char' and
1048 * chartab.c (char_table_get_db): Use
1049 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
1050 (load_char_attribute_table_map_func): Modify for
1051 `chise_char_feature_value_iterate'.
1052 (Fload_char_attribute_table): Use
1053 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
1055 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1057 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
1059 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1061 * chartab.c (put_char_table): Modify for inherited coded-charsets
1064 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1066 * chartab.c (Fput_char_table_map_function): Fixed.
1067 (word_boundary_p): Don't check charset in XEmacs CHISE.
1069 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1071 * mule-charset.c (Fsave_charset_mapping_table): Use
1072 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1073 instead of `chise_open_decoding_table'; refer
1074 `default_chise_data_source'; use `chise_dt_close' instead of
1075 `chise_close_decoding_table'.
1076 (load_char_decoding_entry_maybe): Likewise.
1078 * chartab.c (default_chise_data_source): New variable when `CHISE'
1080 (Fcopy_char_table): `ct->ds' is deleted.
1081 (open_chise_data_source_maybe): New function.
1082 (Fclose_char_data_source): New function.
1083 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1084 use `chise_ds_open_feature_table' instead of
1085 `chise_open_feature_table'.
1086 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1087 `chise_close_feature_table'; `cit->ds' is deleted.
1088 (syms_of_chartab): Add new builtin function
1089 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1091 * chartab.h (default_chise_data_source): New extern variable.
1092 (open_chise_data_source_maybe): New prototype.
1093 (struct Lisp_Char_Table): Delete `ds'.
1095 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1097 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1100 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1102 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1103 not defined; add code for non-libchise setting.
1104 (char_table_close_db_maybe): Likewise.
1105 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1107 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1108 even if `CHISE' is not defined.
1109 (Freset_char_attribute_table): Likewise.
1110 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1111 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1112 `char_table_get_db'.
1113 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1114 `char_table_close_db_maybe' even if `CHISE' is not defined.
1116 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1118 * chartab.c (char_table_open_db_maybe): New function.
1119 (char_table_close_db_maybe): New function.
1120 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1121 (Freset_char_attribute_table): Likewise.
1122 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1123 `char_table_close_db_maybe'.
1124 (Fload_char_attribute_table): Likewise.
1126 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1128 * chartab.c: Don't include <chise.h> because it is included in
1130 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1132 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1134 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1136 (Fclose_char_attribute_table): Close `ct->feature_table' and
1137 `ct->ds' when `CHISE' is defined.
1138 (Freset_char_attribute_table): Likewise.
1139 (load_char_attribute_maybe): Use `cit->ds' and
1140 `cit->feature_table' when `CHISE' is defined.
1141 (Fload_char_attribute_table): Likewise.
1143 * chartab.h: Include <chise.h> when `CHISE' is defined.
1144 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1145 when `CHISE' is defined.
1147 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1149 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1151 (char_table_description): Likewise.
1152 (Fmake_char_table): Likewise.
1153 (Fcopy_char_table): Likewise.
1154 (Fmount_char_attribute_table): Likewise.
1155 (Fclose_char_attribute_table): Likewise.
1156 (Freset_char_attribute_table): Likewise.
1157 (load_char_attribute_maybe): Likewise.
1158 (Fload_char_attribute_table): Likewise.
1160 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1163 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1165 * chartab.c (load_char_attribute_table_map_func): New function
1166 when CHISE is defined.
1167 (Qload_char_attribute_table_map_function): Don't define when CHISE
1169 (Fload_char_attribute_table_map_function): Likewise.
1170 (Fload_char_attribute_table): Use libchise when `CHISE' is
1172 (syms_of_chartab): Don't define
1173 `load-char-attribute-table-map-function' when CHISE is defined.
1175 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1177 * chartab.c: Include <chise.h> when `CHISE' is defined.
1178 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1180 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1182 * mule-charset.c (charset_code_point): Fix problem when searching
1183 in mother CCS fails with `defined_only' mode.
1185 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1187 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1188 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1189 (put_char_composition): Likewise.
1190 (Fput_char_attribute): Likewise.
1191 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1193 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1195 * chartab.c (Q_ucs): Deleted.
1196 (Fput_char_attribute): Don't refer `->ucs'.
1197 (Fdefine_char): Likewise.
1198 (Ffind_char): Likewise.
1199 (syms_of_chartab): Delete `->ucs'.
1201 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1203 * mule-charset.c (Qmap_cns11643_2): Renamed from
1204 `Qchinese_cns11643_2'.
1205 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1206 `chinese-cns11643-2'.
1207 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1210 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1212 * mule-charset.c (Qmap_cns11643_1): Renamed from
1213 `Qchinese_cns11643_1'.
1214 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1215 `chinese-cns11643-1'.
1216 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1219 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1221 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1222 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1224 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1227 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1229 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1230 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1232 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1235 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1237 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1238 (syms_of_mule_charset): Add new symbol `=big5' instead of
1240 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1242 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1244 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1245 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1247 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1250 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * mule-charset.c (Qmap_jis_x0212): Renamed from
1253 `Qjapanese_jisx0212'.
1254 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1255 `japanese-jisx0212'.
1256 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1259 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1261 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1262 `Qjapanese_jisx0208'.
1263 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1264 of `japanese-jisx0208'.
1265 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1268 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1271 `Qjapanese_jisx0208_1978'.
1272 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1273 of `japanese-jisx0208-1978'.
1274 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1277 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1280 only for XEmacs CHISE.
1282 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1284 * char-ucs.h: Compact non-ISO-IR charset-ids.
1285 (LEADING_BYTE_UCS): Changed to -177.
1286 (LEADING_BYTE_CONTROL_1): Changed to -77.
1287 (LEADING_BYTE_UCS_BMP): Changed to -176.
1288 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1290 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1292 * mule-charset.c (Qiso_ir): New variable.
1293 (Fmake_charset): Recognise new property `iso-ir'.
1294 (syms_of_mule_charset): Add new symbol `iso-ir'.
1296 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1298 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1299 n to -n; charset-id of non ISO-IR sets are changed to positive
1302 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1304 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1305 for &MCS-XXXXXXXX; values.
1307 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1309 * mule.c (Vxemacs_chise_version): Renamed from
1310 `Vutf_2000_version'.
1311 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1312 `utf-2000-version' as an alias for `xemacs-chise-version'.
1314 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1316 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1317 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1320 * config.h.in (CHISE): New macro.
1322 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1326 (Qmap_ucs): New variable.
1327 (syms_of_mule_charset): Add new symbol `=ucs'.
1328 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1330 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1331 (simplify_char_spec): Likewise.
1333 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1335 * char-ucs.h (Qmap_ucs): New extern variable.
1337 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1339 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1340 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1341 don't define it when UTF2000 is not defined.
1342 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1343 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1344 when UTF2000 is not defined.
1345 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1346 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1348 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1352 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1354 (syms_of_mule_charset): Delete `ucs-gb'.
1355 (complex_vars_of_mule_charset): Likewise.
1357 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1359 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1361 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1362 (Qucs_cns): Deleted.
1363 (syms_of_mule_charset): Delete `ucs-cns'.
1364 (complex_vars_of_mule_charset): Likewise.
1366 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1368 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1370 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1371 (Qucs_jis): Deleted.
1372 (syms_of_mule_charset): Delete `ucs-jis'.
1373 (complex_vars_of_mule_charset): Likewise.
1375 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1377 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1379 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1381 (syms_of_mule_charset): Delete `ucs-ks'.
1382 (complex_vars_of_mule_charset): Likewise.
1384 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1386 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1387 (Qideograph_daikanwa_2): Deleted.
1388 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1389 (complex_vars_of_mule_charset): Likewise.
1391 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1392 (LEADING_BYTE_DAIKANWA_1): Deleted.
1393 (LEADING_BYTE_DAIKANWA_2): Deleted.
1394 (MIN_CHAR_DAIKANWA): Deleted.
1395 (MAX_CHAR_DAIKANWA): Deleted.
1397 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1399 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1400 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1401 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1403 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1404 (Vcharset_ideograph_daikanwa): Deleted.
1405 (Qideograph_hanziku_{1..12}): Deleted.
1406 (Qideograph_daikanwa): Deleted.
1407 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1408 Vcharset_ideograph_daikanwa.
1409 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1410 `ideograph-hanziku-{1..12}'.
1411 (complex_vars_of_mule_charset): Likewise.
1413 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1415 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1417 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1418 (Qideograph_gt_pj_{1..11}): Deleted.
1419 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1420 (complex_vars_of_mule_charset): Likewise.
1422 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1424 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1425 (Vcharset_ideograph_gt): Deleted.
1426 (Qucs_big5): Deleted.
1427 (Qideograph_gt): Deleted.
1428 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1430 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1433 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1434 (LEADING_BYTE_GT): Deleted.
1435 (MIN_CHAR_GT): Deleted.
1436 (MAX_CHAR_GT): Deleted.
1438 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1442 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1445 (save_uint16_byte_table): Likewise.
1446 (save_byte_table): Likewise; convert values by it.
1447 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1448 for `ideographic-structure'.
1449 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1450 as the filter for `ideographic-structure'.
1452 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1454 * chartab.c (put_char_composition): New function.
1455 (Fput_char_attribute): Use `put_char_composition'; use
1456 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1458 * fns.c (simplify_char_spec): New function.
1459 (char_ref_simplify_spec): New function.
1460 (Fchar_refs_simplify_char_specs): New function.
1461 (syms_of_fns): Add new builtin function
1462 `char-refs-simplify-char-specs'.
1464 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1466 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1467 (Qideograph_cbeta): Deleted.
1468 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1469 (complex_vars_of_mule_charset): Likewise.
1471 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1472 (MIN_CHAR_CBETA): Comment out.
1473 (MAX_CHAR_CBETA): Likewise.
1475 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1477 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1478 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1479 CHISE client feature.
1481 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1483 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1485 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1487 * mule-charset.c (charset_lookup_description_1): Use
1488 `NUM_LEADING_BYTES' in UTF-2000.
1490 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1492 * char-ucs.h (GC_CHARSETP): Deleted.
1494 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1496 * char-ucs.h (MAX_CHAR_GT): Updated.
1498 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1500 * text-coding.c: Sync with XEmacs 21.4.10.
1502 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1504 * mule-charset.c (Vcharset_china3_jef): Deleted.
1505 (Qchina3_jef): Deleted.
1506 (syms_of_mule_charset): Don't define `china3-jef'.
1507 (complex_vars_of_mule_charset): Likewise.
1509 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1510 (MIN_CHAR_CHINA3_JEF): Comment out.
1511 (MAX_CHAR_CHINA3_JEF): Comment out.
1513 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1515 * mule-charset.c (Vcharset_ucs_gb): New variable.
1516 (Qucs_gb): New variable.
1517 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1518 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1520 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1522 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1524 * mule-charset.c (charset_code_point): if a coded-charset has a
1525 final-byte, don't inherit the builtin range of the mother CCS.
1527 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1529 * mule-charset.c (charset_code_point): Fix problem about
1532 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1534 * mule-charset.c (decode_builtin_char): Reorganized.
1536 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1538 * text-coding.c (char_encode_as_entity_reference): Modify for
1539 `charset_code_point'.
1540 (char_encode_shift_jis): Likewise.
1541 (char_encode_big5): Likewise.
1542 (char_encode_utf8): Likewise.
1543 (char_encode_iso2022): Likewise.
1545 * mule-charset.c (charset_code_point): Add new argument
1547 (Fencode_char): Add new optional argument `defined_only'.
1549 * chartab.c (put_char_table): Modify for `charset_code_point'.
1551 * char-ucs.h (charset_code_point): Add new argument
1553 (encode_char_1): Modify for `charset_code_point'.
1555 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1557 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1558 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1560 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1562 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1563 (Qjis_x0208): Likewise.
1564 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1565 XCHARSET_FINAL(charset).
1566 (charset_code_point): Modify condition for final-byte based
1568 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1569 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1570 in UTF-2000; specify `=jis-x0208' as the mother of
1571 `japanese-jisx0208-1978', `japanese-jisx0208' and
1572 `japanese-jisx0208-1990' in UTF-2000.
1574 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1576 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1578 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1580 * text-coding.c (decode_coding_utf16): Support UTF-16.
1581 (char_encode_utf16): Fixed.
1583 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1585 * text-coding.c (Qutf16): New variable in MULE.
1586 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1587 (Fcoding_system_type): Add `utf-16' in MULE.
1588 (struct detection_state): Add a structure for utf16 in MULE.
1589 (detect_coding_type): Setup st->utf16.mask in MULE.
1590 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1592 (reset_encoding_stream): Use `char_encode_utf16' and
1593 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1594 (detect_coding_utf16): New function [incomplete].
1595 (decode_coding_utf16): New function [support only UCS-2].
1596 (char_encode_utf16): New function.
1597 (char_finish_utf16): New function.
1598 (syms_of_file_coding): Add new symbol `utf-16'; setup
1599 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1601 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1603 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1604 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1606 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1608 * chartab.c (put_char_table): When a charset is specified as a
1609 range in UTF-2000, don't support builtin characters.
1611 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1613 * mule-charset.c (decode_defined_char): Don't refer external
1614 database if Qunbound or Qnil are found.
1615 (Fsave_charset_mapping_table): Don't define it if
1616 HAVE_CHISE_CLIENT is not defined.
1617 (Freset_charset_mapping_table): New function.
1618 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1619 found in external database.
1620 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1621 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1622 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1624 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1626 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1629 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1631 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1632 Q_lowercase, Q_uppercase in UTF-2000.
1634 * chartab.c (get_char_table): Add special code for the standard
1635 case table to use character attribute `->downcase' and
1636 `->uppercase' for case operations in UTF-2000.
1638 * casetab.c (Qflippedcase): New variable in UTF-2000.
1639 (Q_lowercase): Likewise.
1640 (Q_uppercase): Likewise.
1641 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1642 and `->uppercase' in UTF-2000.
1643 (complex_vars_of_casetab): Assign attribute name `downcase' to
1644 downcase and CANON table of Vstandard_case_table in UTF-2000;
1645 assign attribute name `flippedcase' to upcase and EQV table of
1646 Vstandard_case_table in UTF-2000.
1648 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1650 * text-coding.c (decode_add_er_char): Support isolated-chars.
1651 (char_encode_as_entity_reference): Likewise.
1653 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1655 * emacs.c (Vutf_2000_lisp_directory): New variable.
1656 (Vconfigure_utf_2000_lisp_directory): Likewise.
1657 (complex_vars_of_emacs): Add new variable
1658 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1660 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1662 * char-ucs.h (DECODE_CHAR): Delete special code for
1663 `chinese-big5-1' and `chinese-big5-2'.
1665 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1666 (Qbig5_2): Likewise.
1667 (decode_defined_char): Support CONVERSION_BIG5_1 and
1669 (decode_builtin_char): Likewise.
1670 (charset_code_point): Likewise.
1671 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1672 'conversion in UTF-2000.
1673 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1674 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1675 `chinese-big5-2' as children of `chinese-big5'.
1677 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1678 (CONVERSION_BIG5_2): New macro.
1680 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1682 * text-coding.c (char_encode_big5): Support entity-reference.
1684 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1686 * text-coding.c (char_encode_as_entity_reference): New function.
1687 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1689 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1691 * text-coding.c (decode_coding_big5): Support entity-reference
1694 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1696 * text-coding.c (allocate_coding_system): Initialize initial
1697 charsets for CODESYS_UTF8.
1698 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1699 charset-g2 for CODESYS_UTF8.
1700 (decode_coding_utf8): Use charset-g0.
1701 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1702 to force variants to map to UCS.
1704 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1706 * text-coding.c (Qutf_8_mcs): New variable.
1707 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1708 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1709 instead of `utf-8' in UTF-2000.
1711 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1713 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1714 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1715 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1716 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1717 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1718 CONVERSION_96x96x96x96 are introduced.
1719 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1720 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1721 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1723 * char-ucs.h (CONVERSION_94): New macro.
1724 (CONVERSION_96): New macro.
1725 (CONVERSION_94x94): New macro.
1726 (CONVERSION_96x96): New macro.
1727 (CONVERSION_94x94x94): New macro.
1728 (CONVERSION_96x96x96): New macro.
1729 (CONVERSION_94x94x94x60): New macro.
1730 (CONVERSION_94x94x94x94): New macro.
1731 (CONVERSION_96x96x96x96): New macro.
1733 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1735 * chartab.c (Vcharacter_variant_table): Deleted.
1736 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1737 of `Vcharacter_variant_table'.
1738 (Fput_char_attribute): Likewise.
1739 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1740 (complex_vars_of_chartab): Likewise.
1742 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1744 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1746 * fns.c (Qideographic_structure): New variable.
1747 (Qkeyword_char): New variable.
1748 (ids_format_unit): New function.
1749 (Fideographic_structure_to_ids): New function.
1750 (syms_of_fns): Add new symbols `ideographic-structure' and
1751 `:char'; add new builtin function `ideographic-structure-to-ids'.
1753 * data.c (Fchar_ref_p): New function.
1754 (syms_of_data): Add new builtin function `char-ref-p'.
1756 * chartab.h: Add an EXFUN for `Ffind_char'.
1758 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1760 * text-coding.c (Vcharacter_composition_table): Deleted.
1761 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1764 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1766 (Vcharacter_composition_table): Deleted.
1767 (Fget_composite_char): Use the implementation for external-DB
1768 support in every UTF-2000.
1769 (Fput_char_attribute): Likewise.
1770 (char_attribute_system_db_file): Don't define if external-DB
1771 feature is not available.
1772 (Fsave_char_attribute_table): Likewise.
1773 (Fmount_char_attribute_table): Likewise.
1774 (Fclose_char_attribute_table): Likewise.
1775 (Freset_char_attribute_table): Likewise.
1776 (Fload_char_attribute_table): Likewise.
1777 (syms_of_chartab): Don't define `save-char-attribute-table',
1778 `mount-char-attribute-table', `reset-char-attribute-table',
1779 `close-char-attribute-table' and `load-char-attribute-table' if
1780 external-DB feature is not available.
1781 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1783 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1785 * text-coding.c (Qcomposition): Add extern if external-DB feature
1787 (Vcharacter_composition_table): Don't add extern if external-DB
1788 feature is supported.
1789 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1790 character composition rule if external-DB feature is supported.
1792 * chartab.c (Vcharacter_composition_table): Don't define if
1793 external-DB feature is supported.
1794 (Qcomposition): New variable.
1795 (Fget_composite_char): New implementation for external-DB support.
1796 (Fput_char_attribute): Use `composition' property of each
1797 character instead of `Vcharacter_composition_table' to store
1798 character-composition rules if external-DB feature is supported.
1799 (syms_of_chartab): Add new symbol `composition'.
1800 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1801 external-DB feature is supported.
1803 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1805 * chartab.c (Vchar_db_stingy_mode): New variable.
1806 (load_char_attribute_maybe): Close database if
1807 Vchar_db_stingy_mode is not NIL.
1808 (Fload_char_attribute_table_map_function): Use
1809 `get_char_id_table_0' instead of `get_char_id_table'.
1810 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1812 * chartab.h (get_char_id_table_0): New inline function.
1813 (get_char_id_table): Use `get_char_id_table_0'.
1815 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1817 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1818 and `COMPOSE_ADD_CHAR'.
1819 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1821 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1823 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1824 instead of `DECODE_ADD_UCS_CHAR'.
1825 (COMPOSE_ADD_CHAR): Likewise.
1827 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1829 * text-coding.c (decode_flush_er_chars): New inline function.
1830 (decode_add_er_char): New function.
1831 (decode_coding_utf8): Use `decode_flush_er_chars' and
1832 `decode_add_er_char'.
1834 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1836 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1837 done before `decode_output_utf8_partial_char'.
1839 * mule-charset.c (complex_vars_of_mule_charset): Specify
1840 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1841 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1843 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1845 * mule-charset.c (decode_defined_char): New function; search
1847 (decode_builtin_char): Don't search mother if
1848 XCHARSET_MAX_CODE(charset) == 0.
1849 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1850 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1851 (Fdecode_char): Use `decode_defined_char' instead of
1852 `DECODE_DEFINED_CHAR'.
1853 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1854 mother of `Vcharset_ucs_jis'.
1856 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1857 instead of `DECODE_DEFINED_CHAR'.
1859 * char-ucs.h (decode_defined_char): Renamed from
1860 `DECODE_DEFINED_CHAR'; changed to normal function.
1861 (DECODE_CHAR): Use `decode_defined_char' instead of
1862 `DECODE_DEFINED_CHAR'.
1864 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1866 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1868 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1870 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1872 (Quse_entity_reference): New variable.
1876 (coding_system_description): Add description for
1877 `ccs_priority_list'.
1878 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1879 (allocate_coding_system): Initialize `ccs_priority_list' in
1881 (Fmake_coding_system): Add description about
1882 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1884 (Fcoding_system_property): Accept `disable-composition' and
1885 `use-entity-reference' in UTF-2000.
1886 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1888 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1889 (decode_coding_utf8): Decode entity-reference if
1890 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1891 (char_encode_utf8): Encode non-Unicode characters as
1892 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1894 (syms_of_file_coding): Add new symbols `use-entity-reference',
1896 (vars_of_file_coding): Add new variable
1897 `coded-charset-entity-reference-alist'.
1898 (complex_vars_of_file_coding): Declare `disable-composition' and
1899 `use-entity-reference' to be coding-system-properties in UTF-2000.
1901 * file-coding.h (struct Lisp_Coding_System): Add new member
1902 `use_entity_reference' and `ccs_priority_list'.
1903 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1904 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1905 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1907 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1909 * chartab.c (save_uint8_byte_table): Don't clear the table.
1910 (save_uint16_byte_table): Likewise.
1911 (save_byte_table): Likewise.
1912 (Fmount_char_attribute_table): New function.
1913 (syms_of_chartab): Add new builtin function
1914 `mount-char-attribute-table'.
1916 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1918 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1920 (load_char_decoding_entry_maybe): Open database as read-only mode.
1922 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1923 open database as "w+" mode.
1924 (load_char_attribute_maybe): Open database as read-only mode.
1925 (Fload_char_attribute_table): Likewise.
1927 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1929 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1930 (char_table_description): Delete member `db_file'.
1931 (Fmake_char_table): Don't refer `ct->db_file'.
1932 (Fcopy_char_table): Likewise.
1933 (Fsave_char_attribute_table): Likewise.
1934 (Fclose_char_attribute_table): Likewise.
1935 (Freset_char_attribute_table): Likewise.
1936 (load_char_attribute_maybe): Likewise.
1937 (Fload_char_attribute_table): Likewise.
1939 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1941 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1943 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1944 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1946 (load_char_attribute_maybe): Likewise.
1947 (Fload_char_attribute_table): Likewise.
1949 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1951 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1952 `ct->db_file' unconditionally.
1954 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1956 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1958 (char_table_description): Add description for `db_file' and `db'
1960 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1962 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1963 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1964 (Fclose_char_attribute_table): New function.
1965 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1966 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1968 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1969 (syms_of_chartab): Add new builtin function
1970 `Fclose_char_attribute_table'.
1972 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1974 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1976 (load_char_attribute_maybe): Change interface.
1977 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1979 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1981 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1983 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1985 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1986 instead of `DECODE_CHAR' for mother; don't use special code for
1987 chinese-big5 to use code space of chinese-big5-1 and
1989 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1990 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1992 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1993 (MAX_CHAR_BIG5_CDP): Revival.
1995 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1997 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1998 the XLFD registry-encoding name of `chinese-big5'.
2000 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2002 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
2003 (Qchinese_big5_cdp): Deleted.
2004 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
2005 (complex_vars_of_mule_charset): Delete coded-charset
2008 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
2009 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
2010 `CHARSET_ID_OFFSET - n' for private CCS.
2011 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
2012 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
2013 of `MIN_LEADING_BYTE'.
2014 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
2015 `(CHARSET_ID_OFFSET - 97)'.
2016 (MIN_CHAR_BIG5_CDP): Deleted.
2017 (MAX_CHAR_BIG5_CDP): Deleted.
2019 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2021 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
2023 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2025 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
2026 (vars_of_mule): Add new variable `utf-2000-version' [moved from
2029 * chartab.c (Vutf_2000_version): Moved to mule.c.
2030 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
2032 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2034 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
2035 when HAVE_CHISE_CLIENT is not defined.
2037 * mule.c (vars_of_mule): Provide feature `chise' when
2038 HAVE_CHISE_CLIENT is defined.
2040 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2042 * config.h.in (UTF2000): Add comment.
2043 (HAVE_CHISE_CLIENT): New macro.
2045 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2047 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
2049 (Fput_char_attribute): Likewise.
2050 (char_attribute_system_db_file): Encode file-name of attribute.
2051 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
2054 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2056 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
2057 (Fsave_charset_mapping_table): Use
2058 `char_attribute_system_db_file'.
2059 (load_char_decoding_entry_maybe): Likewise.
2061 * chartab.h (Qsystem_char_id): New external variable.
2062 (char_attribute_system_db_file): New prototype.
2064 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2065 (char_attribute_system_db_file): New function.
2066 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2067 (Freset_char_attribute_table): Likewise.
2068 (load_char_attribute_maybe): Likewise.
2069 (Fload_char_attribute_table): Likewise.
2070 (syms_of_chartab): Add new symbol `system-char-id'.
2072 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2074 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2075 `XCHARSET_GRAPHIC(ccs)'.
2077 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2079 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2081 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2083 * chartab.c (Q_ucs_variants): New variable.
2084 (syms_of_chartab): Add new symbol `->ucs-variants'.
2085 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2086 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2087 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2089 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2091 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2092 `HAVE_DATABASE' is defined.
2093 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2094 `HAVE_DATABASE' is defined.
2096 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2098 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2100 (Freset_char_attribute_table): New function.
2101 (syms_of_chartab): Add new builtin function
2102 `reset-char-attribute-table'.
2104 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2106 * chartab.c (load_char_attribute_maybe): Don't make directories.
2108 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2110 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2112 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2115 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2117 * mule-charset.c (Fsave_charset_mapping_table): Use
2118 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2120 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2121 instead of `XCHARSET_CHARS'.
2123 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2125 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2126 (XCHARSET_BYTE_SIZE): Likewise.
2128 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2130 (XCHARSET_BYTE_SIZE): Likewise.
2132 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2134 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2135 data-directory to store database.
2136 (Fsave_char_attribute_table): Likewise.
2137 (load_char_attribute_maybe): Likewise.
2138 (Fload_char_attribute_table): Likewise.
2140 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2142 * mule-charset.c (Fsave_charset_mapping_table): New function.
2143 (syms_of_mule_charset): Add new builtin function
2144 `save-charset-mapping-table'.
2146 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2148 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2149 (get_ccs_octet_table): New inline function.
2150 (put_ccs_octet_table): Likewise.
2151 (decoding_table_put_char): Use `get_ccs_octet_table' and
2152 `put_ccs_octet_table'.
2153 (decoding_table_remove_char): Use `decoding_table_put_char'.
2154 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2156 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2157 into encoding_table.
2158 (make_charset): Use Qunbound instead Qnil as initial value of
2161 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2163 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2164 element is Qunloaded.
2165 (map_over_uint16_byte_table): Likewise.
2166 (map_over_byte_table): Likewise.
2167 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2168 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2169 database support, load encoding-table of the specified
2170 coded-charset if it is not loaded yet.
2171 (save_uint8_byte_table): New function of UTF-2000 with external
2173 (save_uint16_byte_table): Likewise.
2174 (save_byte_table): Likewise.
2175 (Fput_char_attribute): Don't store value into external database
2176 even if the external database feature is supported in UTF-2000;
2177 set `attribute' as name of char-table if the external database
2178 feature is supported.
2179 (Fsave_char_attribute_table): New function in UTF-2000.
2180 (syms_of_chartab): Add new builtin function
2181 `save-char-attribute-table' in UTF-2000.
2183 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2185 * chartab.c (char_attribute_table_to_put): New variable in
2187 (Qput_char_table_map_function): Likewise.
2188 (value_to_put): Likewise.
2189 (Fput_char_table_map_function): New function in UTF-2000.
2190 (put_char_table): Use `Fmap_char_attribute' for
2191 CHARTAB_RANGE_CHARSET in UTF-2000.
2192 (Fput_char_attribute): Store symbol instead of string in
2193 `XCHAR_TABLE_NAME (table)'.
2194 (load_char_attribute_maybe): Likewise.
2195 (syms_of_chartab): Add new symbol/function
2196 `put-char-table-map-function'.
2198 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2200 * database.h: Add new EXFUN for `Fmap_database'.
2202 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2203 (syms_of_database): Likewise.
2205 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2207 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2208 (XCHAR_TABLE_UNLOADED): Likewise.
2210 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2211 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2212 HAVE_DATABASE is defined.
2213 (char_attribute_table_to_load): New variable of UTF-2000 with
2214 external database support.
2215 (Qload_char_attribute_table_map_function): Likewise.
2216 (Fload_char_attribute_table_map_function): New function of
2217 UTF-2000 with external database support.
2218 (Fload_char_attribute_table): New function of UTF-2000.
2219 (Fmap_char_attribute): Call Fload_char_attribute_table if
2220 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2221 (syms_of_chartab): Add new symbol and function
2222 `load-char-attribute-table-map-function' in UTF-2000 with external
2223 database support; add new function `load-char-attribute-table' in
2226 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2228 * chartab.h (load_char_attribute_maybe): New prototype for
2229 UTF-2000 with DATABASE support.
2230 (get_char_id_table): Use `load_char_attribute_maybe' if
2231 HAVE_DATABASE is defined.
2233 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2234 with DATABASE support.
2236 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2238 * chartab.c (Fput_char_attribute): Use S-expression as key of
2241 * chartab.h (get_char_id_table): Use S-expression as key of
2244 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2246 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2247 if an element is not loaded, load the corresponding attributes
2248 from an external database.
2249 (map_over_uint16_byte_table): Likewise.
2250 (map_over_byte_table): Likewise.
2251 (map_char_table): Modify for `map_over_uint8_byte_table',
2252 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2253 element is not loaded, load the corresponding attributes from an
2255 (Fput_char_attribute): Change initial values to Qunloaded.
2257 * chartab.h (get_char_id_table): If a character attribute is not
2258 loaded and the attribute value is not found in an external
2259 database, store Qunbound as the attribute value.
2261 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2263 * chartab.c (BT_UINT8_unloaded): New macro.
2264 (UINT8_VALUE_P): Accept Qunloaded.
2265 (UINT8_ENCODE): Likewise.
2266 (UINT8_DECODE): Likewise.
2267 (BT_UINT16_unloaded): New macro.
2268 (UINT16_VALUE_P): Accept Qunloaded.
2269 (UINT16_ENCODE): Likewise.
2270 (UINT16_DECODE): Likewise.
2271 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2273 (mark_char_table): Mark `ct->name' in UTF-2000.
2274 (char_table_description): Add `name' in UTF-2000.
2275 (Fmake_char_table): Initialize `ct->name'.
2276 (Fcopy_char_table): Copy `ct->name'.
2277 (Fput_char_attribute): Store value into an external database if
2278 HAVE_DATABASE is defined.
2280 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2282 (CHAR_TABLE_NAME): New macro in UTF-2000.
2283 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2284 (get_char_id_table): Try to read an external database if Qunloaded
2285 is stored in a table.
2287 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2290 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2292 * database.h: Add EXFUN definitions for Fopen_database,
2293 Fput_database, Fget_database and Fclose_database.
2295 * data.c (Qunloaded): New variable in UTF-2000.
2297 * lisp.h (Qunloaded): New variable in UTF-2000.
2299 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2301 * mule-charset.c (put_char_ccs_code_point): Modify for
2302 `decoding_table_remove_char' and `decoding_table_put_char'.
2303 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2305 * char-ucs.h (decoding_table_remove_char): Change arguments to
2306 hide decoding_table vector.
2307 (decoding_table_put_char): Likewise.
2309 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2311 * mule-charset.c (decoding_table_remove_char): Moved to
2313 (decoding_table_put_char): Likewise.
2315 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2316 from mule-charset.c].
2317 (decoding_table_remove_char): New inline function [moved from
2319 (decoding_table_put_char): Likewise.
2321 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2323 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2326 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2328 * mule-charset.c (decode_builtin_char): Support mother charsets.
2330 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2332 * mule-charset.c (Q94x94x60): New variable.
2333 (charset_code_point): Support conversion `94x94x60'.
2334 (Fmake_charset): Likewise.
2335 (syms_of_mule_charset): Add new symbol `94x94x60'.
2337 * char-ucs.h (CONVERSION_94x94x60): New macro.
2339 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2341 * mule-charset.c (charset_code_point): Unify code about
2344 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2346 * mule-charset.c (charset_code_point): Merge code about builtin
2347 characters into code about mother charsets; don't use
2348 `range_charset_code_point'.
2349 (range_charset_code_point): Deleted.
2351 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2353 * mule-charset.c (Qcode_offset): New variable.
2354 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2355 `max-code'; accept new property `code-offset'.
2356 (syms_of_mule_charset): Add new symbol `code-offset'.
2358 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2360 * mule-charset.c (range_charset_code_point): Fixed.
2362 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2364 * mule-charset.c (decode_builtin_char): Change semantics of
2365 code-offset of coded-charset.
2366 (charset_code_point): Likewise.
2367 (range_charset_code_point): Likewise.
2368 (complex_vars_of_mule_charset): Modify for the change.
2370 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2372 * mule-charset.c (Fencode_char): Reverse arguments.
2374 * mule-charset.c (charset_code_point): Fixed.
2376 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2378 * mule-charset.c (Vcharset_mojikyo): Deleted.
2379 (Vcharset_mojikyo_2022_1): Deleted.
2380 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2381 (Qmin_code): New variable in UTF-2000.
2382 (Qmax_code): Likewise.
2383 (Qmother): Likewise.
2384 (Qconversion): Likewise.
2386 (Qmojikyo): Deleted.
2387 (Qmojikyo_2022_1): Deleted.
2388 (Qmojikyo_pj_{1..22}): Deleted.
2389 (mark_charset): Mark `cs->mother'.
2390 (charset_description): Add description for `mother'.
2391 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2392 new arguments `mother' and `conversion'; use
2393 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2394 (charset_code_point): Moved from char-ucs.h; support `mother'
2396 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2397 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2398 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2399 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2400 allow 2 as the value of `graphic' in UTF-2000; add new properties
2401 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2402 require `final' in UTF-2000; modify for `make_charset'.
2403 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2404 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2405 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2406 (Fencode_char): New function.
2407 (syms_of_mule_charset): Add new builtin function `encode-char' in
2408 UTF-2000; add new symbols `min-code', `max-code', `mother',
2409 `conversion' and `94x60'; delete symbols `mojikyo',
2410 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2411 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2412 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2413 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2415 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2416 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2418 * char-ucs.h (Vcharset_mojikyo): Deleted.
2419 (Vcharset_mojikyo_2022_1): Deleted.
2420 (LEADING_BYTE_MOJIKYO): Deleted.
2421 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2422 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2423 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2424 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2425 add new member `mother'; add new member `conversion'.
2426 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2427 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2428 (CHARSET_MOTHER): New macro.
2429 (CHARSET_CONVERSION): New macro.
2430 (CONVERSION_IDENTICAL): New macro.
2431 (CONVERSION_94x60): New macro.
2432 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2433 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2434 (XCHARSET_MOTHER): New macro.
2435 (XCHARSET_CONVERSION): New macro.
2436 (MIN_CHAR_MOJIKYO): Deleted.
2437 (MAX_CHAR_MOJIKYO): Deleted.
2438 (DECODE_MOJIKYO_2022): Deleted.
2439 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2440 (charset_code_point): Changed to non-inline function.
2441 (encode_char_1): Use `charset_code_point'.
2442 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2444 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2446 * lread.c (read_compiled_function): Fix prototype.
2447 (read_vector): Likewise.
2449 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2451 * lrecord.h (struct lrecord_header): Delete `older'.
2452 (set_lheader_implementation): Delete code for `older'.
2453 (set_lheader_older_implementation): Deleted.
2454 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2455 (OLDER_RECORD_P): Deleted.
2456 (OLDER_RECORD_HEADER_P): Deleted.
2457 (alloc_older_lcrecord): Deleted.
2458 (alloc_older_lcrecord_type): Deleted.
2460 * alloc.c (all_older_lcrecords): Deleted.
2461 (alloc_older_lcrecord): Deleted.
2462 (disksave_object_finalization_1): Delete code for older objects.
2463 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2464 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2466 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2468 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2469 instead of `make_older_vector'.
2470 (put_char_ccs_code_point): Likewise.
2471 (mark_charset): Mark `cs->decoding_table'.
2472 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2474 * lisp.h (make_older_vector): Deleted.
2475 (make_vector_newer): Deleted.
2477 * config.h.in (HAVE_GGC): Deleted.
2479 * alloc.c (make_older_vector): Deleted.
2480 (make_vector_newer_1): Deleted.
2481 (make_vector_newer): Deleted.
2483 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2485 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2486 (Qideograph_daikanwa_2): New variable.
2487 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2488 (complex_vars_of_mule_charset): Add new coded-charset
2489 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2490 `LEADING_BYTE_DAIKANWA'.
2492 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2493 (LEADING_BYTE_DAIKANWA_1): New macro.
2494 (LEADING_BYTE_DAIKANWA_2): New macro.
2495 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2497 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2499 * mule-charset.c (complex_vars_of_mule_charset): Change
2500 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2501 the second revised version.
2503 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * mule-charset.c (Vcharset_ucs_smp): New variable.
2506 (Vcharset_ucs_sip): New variable.
2507 (Qucs_smp): New variable.
2508 (Qucs_sip): New variable.
2509 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2510 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2511 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2512 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2513 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2514 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2516 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2517 (LEADING_BYTE_UCS_SIP): New macro.
2518 (MIN_CHAR_SMP): New macro.
2519 (MAX_CHAR_SMP): New macro.
2520 (MIN_CHAR_SIP): New macro.
2521 (MAX_CHAR_SIP): New macro.
2523 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2525 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2528 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2530 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2531 value; don't store value into `encoding_table' of `Lisp_Charset'.
2532 (mark_charset): `encoding_table' was deleted.
2533 (charset_description): Likewise.
2534 (make_charset): Likewise.
2535 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2536 `put_char_ccs_code_point'.
2538 * chartab.h (Fput_char_attribute): New EXFUN.
2540 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2541 is unified with normal symbol space.
2542 (Fget_char_attribute): Likewise.
2543 (Fput_char_attribute): Likewise; behavior of
2544 `put_char_ccs_code_point' is changed.
2546 * char-ucs.h: Include "elhash.h".
2547 (Vchar_attribute_hash_table): New external variable.
2548 (struct Lisp_Charset): Delete `encoding_table'.
2549 (CHARSET_ENCODING_TABLE): New implementation; refer
2550 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2553 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2555 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2558 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2560 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2563 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2565 * chartab.c (uint8_byte_table_description): New constant.
2566 (uint8-byte-table): Use `uint8_byte_table_description'.
2567 (uint16_byte_table_description): New constant.
2568 (uint16-byte-table): Use `uint16_byte_table_description'.
2570 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2572 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2573 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2575 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2577 * mule-charset.c (Vcharset_ucs_ks): New variable.
2578 (Qucs_ks): New variable.
2579 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2580 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2582 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2584 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2586 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2587 (Fdecode_char): Likewise.
2589 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2591 (Fdefine_char): Modify for Fdecode_char.
2592 (Ffind_char): Likewise.
2594 * mule-charset.c (Fdecode_char): Add new optional argument
2596 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2598 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2600 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2601 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2602 (allocate_coding_system): Initialize initial-charsets of
2603 CODESYS_BIG5 in XEmacs UTF-2000.
2604 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2605 CODESYS_BIG5 in XEmacs UTF-2000.
2606 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2607 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2609 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2611 (Qideograph_hanziku_{1 .. 12}): Likewise.
2612 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2614 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2615 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2616 `ideograph-hanziku-{1 .. 12}'.
2618 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2619 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2620 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2621 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2622 (DECODE_DEFINED_CHAR): New inline function.
2623 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2625 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * mule-charset.c (Vcharset_china3_jef): Renamed from
2628 `Vcharset_japanese_jef_china3'.
2629 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2630 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2631 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2632 (syms_of_mule_charset): Rename `china3-jef' from
2633 `japanese-jef-china3'.
2634 (complex_vars_of_mule_charset): Likewise; rename
2635 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2637 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2638 `LEADING_BYTE_JEF_CHINA3'.
2639 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2640 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2642 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2644 * mule-charset.c (encode_builtin_char_1): Comment out special code
2645 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2647 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2648 (MAX_CHAR_MOJIKYO_0): Comment out.
2649 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2650 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2651 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2652 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2654 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2657 (Qideograph_cbeta): New variable.
2658 (encode_builtin_char_1): Comment out special code for
2659 coded-charset `mojikyo' and `japanese-jef-china3'.
2660 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2661 (complex_vars_of_mule_charset): Add new coded-charset
2664 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2665 (MIN_CHAR_CBETA): New macro.
2666 (MAX_CHAR_CBETA): New macro.
2668 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2670 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2671 (LEADING_BYTE_JEF_CHINA3): New macro.
2672 (MIN_CHAR_JEF_CHINA3): New macro.
2673 (MAX_CHAR_JEF_CHINA3): Likewise.
2674 (DECODE_CHAR): Fixed.
2676 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2678 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2679 (Qjapanese_jef_china3): New variable.
2680 (encode_builtin_char_1): Support `japanese-jef-china3'.
2681 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2682 (complex_vars_of_mule_charset): Add new coded-charset
2683 `japanese-jef-china3'.
2685 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2687 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2688 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2689 94^4, 96^3, 96^4, 128^n and 256^n set.
2690 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2691 (map_char_table): Likewise.
2693 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2695 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2698 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2700 * chartab.h (get_char_id_table): New inline function.
2702 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2705 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2707 * chartab.h (decode_char_table_range): New prototype in XEmacs
2709 (put_char_id_table): New inline function in XEmacs UTF-2000.
2711 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2713 (decode_char_table_range): Delete static declaration in XEmacs
2716 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2718 * chartab.c (put_char_id_table): Use `put_char_table'.
2720 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2722 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2723 (map_over_uint16_byte_table): Likewise.
2724 (map_over_byte_table): Likewise.
2725 (map_char_table): Modify for `map_over_uint8_byte_table',
2726 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2729 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2731 * chartab.c (struct map_char_table_for_charset_arg): New
2733 (map_char_table_for_charset_fun): New function.
2734 (map_char_table): Use `map_char_table' for encoding_table of
2737 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * chartab.c (map_char_table): Check a character is found in
2740 range->charset instead of non default value is defined in
2741 char-table when range is CHARTAB_RANGE_ROW.
2743 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2745 * chartab.c (map_char_id_table): Deleted.
2746 (Fmap_char_attribute): Use `map_char_table' instead of
2747 `map_char_id_table'.
2749 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2751 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2753 (update_syntax_table): Deleted in XEmacs UTF-2000.
2755 * syntax.c (find_defun_start): Use `syntax_table' instead of
2756 `mirror_syntax_table' in XEmacs UTF-2000.
2757 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2759 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2761 (Fmatching_paren): Likewise.
2762 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2764 (find_start_of_comment): Likewise.
2765 (find_end_of_comment): Likewise.
2766 (Fforward_comment): Likewise.
2767 (scan_lists): Likewise.
2768 (char_quoted): Likewise.
2769 (Fbackward_prefix_chars): Likewise.
2770 (scan_sexps_forward): Likewise.
2771 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2772 (update_syntax_table): Likewise.
2774 * search.c (skip_chars): Use `syntax_table' instead of
2775 `mirror_syntax_table' in XEmacs UTF-2000.
2776 (wordify): Likewise.
2777 (Freplace_match): Likewise.
2779 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2780 `mirror_syntax_table' in XEmacs UTF-2000.
2781 (WORDCHAR_P_UNSAFE): Likewise.
2782 (re_match_2_internal): Likewise.
2784 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2785 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2787 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2788 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2790 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2793 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2795 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2796 (char_table_description): Delete `mirror_table' in XEmacs
2798 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2800 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2801 (Fcopy_char_table): Likewise.
2802 (put_char_table): Don't call `update_syntax_table' in XEmacs
2805 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2806 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2807 (casify_region_internal): Likewise.
2809 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2811 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2812 `mirror_syntax_table' in XEmacs UTF-2000.
2814 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2815 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2816 (Fexpand_abbrev): Likewise.
2818 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2820 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2822 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2824 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2825 (map_over_uint16_byte_table): Likewise.
2826 (map_over_byte_table): Likewise.
2827 (get_char_id_table): Refer `cit->default_value'.
2828 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2829 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2830 of character-id ranges.
2831 (mark_char_table): Mark `ct->default_value'.
2832 (char_table_description): Add `default_value'.
2833 (fill_char_table): Use `default_value'.
2834 (decode_char_table_range): Decode `nil' as
2835 `CHARTAB_RANGE_DEFAULT'.
2836 (get_char_id_table): Refer `cit->default_value'.
2837 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2838 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2839 temporary hack; check value of char-table is bound or not.
2840 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2842 * chartab.h (struct Lisp_Char_Table): Add new member
2843 `default_value' in XEmacs UTF-2000.
2844 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2845 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2848 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2850 * chartab.h (Lisp_Char_ID_Table): Deleted.
2852 * chartab.c (char_table_description): Fix typo.
2853 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2854 `Lisp_Char_ID_Table'.
2856 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2858 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2861 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2864 * chartab.h (XCHAR_ID_TABLE): Deleted.
2865 (XSETCHAR_ID_TABLE): Deleted.
2866 (CHAR_ID_TABLE_P): Deleted.
2868 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2870 (Fget_composite_char): Likewise.
2871 (put_char_table): Likewise.
2872 (add_char_attribute_alist_mapper): Fixed.
2873 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2875 (Fget_char_attribute): Likewise.
2876 (Fget_char_attribute): Likewise.
2877 (Fmap_char_attribute): Likewise.
2879 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2881 (encode_char_1): Likewise.
2883 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2885 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2888 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2889 instead of `XCHAR_ID_TABLE'.
2890 (remove_char_ccs): Likewise.
2892 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2894 (Fget_composite_char): Likewise.
2895 (Fchar_variants): Likewise.
2896 (put_char_table): Likewise.
2897 (add_char_attribute_alist_mapper): Likewise.
2898 (Fchar_attribute_alist): Likewise.
2899 (Fget_char_attribute): Likewise.
2900 (Fput_char_attribute): Likewise.
2901 (Fmap_char_attribute): Likewise.
2902 (Fmap_char_attribute): Likewise.
2904 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2906 (encode_char_1): Likewise.
2908 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2910 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2911 `Lisp_Char_ID_Table'.
2912 (mark_char_id_table): Deleted.
2913 (print_char_id_table): Likewise.
2914 (char_id_table_equal): Likewise.
2915 (char_id_table_hash): Likewise.
2916 (char_id_table_description): Likewise.
2917 (char_id_table): Likewise.
2918 (make_char_id_table): Use `Fmake_char_table' and
2920 (get_char_id_table): Use `Lisp_Char_Table' instead of
2921 `Lisp_Char_ID_Table'.
2922 (put_char_id_table): Likewise.
2923 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2925 (Fremove_char_attribute): Likewise.
2926 (syms_of_chartab): Don't define type `char-id-table'.
2928 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2929 (char_id_table): Likewise.
2930 (GC_CHAR_ID_TABLE_P): Likewise.
2931 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2932 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2933 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2934 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2935 (get_char_id_table): Use `Lisp_Char_Table' instead of
2936 `Lisp_Char_ID_Table'.
2937 (put_char_id_table_0): Likewise.
2938 (put_char_id_table): Likewise.
2940 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2942 * chartab.h: Lisp_Byte_Table related codes are moved from
2945 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2947 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2949 * chartab.h: Don't include "chartab.h".
2950 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2951 (Lisp_Char_ID_Table): Likewise.
2952 (char_id_table): Likewise.
2953 (XCHAR_ID_TABLE): Likewise.
2954 (XSETCHAR_ID_TABLE): Likewise.
2955 (CHAR_ID_TABLE_P): Likewise.
2956 (GC_CHAR_ID_TABLE_P): Likewise.
2957 (get_char_id_table): Likewise.
2959 * char-ucs.h: Include "chartab.h".
2960 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2961 (Lisp_Char_ID_Table): Likewise.
2962 (char_id_table): Likewise.
2963 (XCHAR_ID_TABLE): Likewise.
2964 (XSETCHAR_ID_TABLE): Likewise.
2965 (CHAR_ID_TABLE_P): Likewise.
2966 (GC_CHAR_ID_TABLE_P): Likewise.
2967 (get_char_id_table): Likewise.
2969 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2971 * chartab.c (copy_uint8_byte_table): New function.
2972 (copy_uint16_byte_table): New function.
2973 (copy_byte_table): New function.
2974 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2976 (map_over_uint16_byte_table): Likewise.
2977 (map_over_byte_table): Likewise.
2978 (get_byte_table): Move prototype to chartab.h.
2979 (put_byte_table): Likewise.
2980 (put_char_id_table_0): Moved to chartab.h.
2981 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2982 (char_table_entry_equal): Likewise.
2983 (char_table_entry_hash): Likewise.
2984 (char_table_entry_description): Likewise.
2985 (char_table_entry): Likewise.
2986 (make_char_table_entry): Likewise.
2987 (copy_char_table_entry): Likewise.
2988 (get_non_ascii_char_table_value): Likewise.
2989 (map_over_charset_ascii): Likewise.
2990 (map_over_charset_control_1): Likewise.
2991 (map_over_charset_row): Likewise.
2992 (map_over_other_charset): Likewise.
2993 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2994 (print_char_table): Likewise.
2995 (char_table_equal): Likewise.
2996 (char_table_hash): Likewise.
2997 (char_table_description): Likewise.
2998 (fill_char_table): Likewise.
2999 (Fcopy_char_table): Likewise.
3000 (get_char_table): Likewise.
3001 (Fget_range_char_table): Likewise.
3002 (put_char_table): Likewise.
3003 (map_char_table): Likewise.
3004 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
3007 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3009 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
3010 `Vauto_fill_chars' in XEmacs UTF-2000.
3012 * chartab.h (get_byte_table): New prototype [moved from
3014 (put_byte_table): Likewise [moved from chartab.c].
3015 (put_char_id_table_0): New inline function [moved from chartab.c].
3016 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
3017 (Lisp_Char_Table_Entry): Likewise.
3018 (char_table_entry): Likewise.
3019 (XCHAR_TABLE_ENTRY): Likewise.
3020 (XSETCHAR_TABLE_ENTRY): Likewise.
3021 (CHAR_TABLE_ENTRYP): Likewise.
3022 (CHECK_CHAR_TABLE_ENTRY): Likewise.
3023 (NUM_ASCII_CHARS): Likewise.
3024 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
3025 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
3027 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3029 * chartab.c (get_char_id_table): Change interface.
3030 (put_char_id_table_0): New function.
3031 (put_char_id_table): Change interface; new implementation.
3032 (Fget_composite_char): Modify for interface change of
3033 `get_char_id_table'.
3034 (Fchar_variants): Likewise.
3035 (add_char_attribute_alist_mapper): Likewise.
3036 (Fchar_attribute_alist): Likewise.
3037 (Fget_char_attribute): Likewise.
3038 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
3039 as same as character as the first argument like `put-char-table';
3040 modify for interface change of `put_char_id_table'.
3041 (Fremove_char_attribute): Modify for interface change of
3042 `put_char_id_table'.
3044 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3046 * text-coding.c: Sync up with XEmacs 21.2.41.
3047 (COMPOSE_ADD_CHAR): Modify for interface change of
3048 `get_char_id_table'.
3050 * mule-charset.c (put_char_ccs_code_point): Modify for interface
3051 change of `put_char_id_table'.
3052 (remove_char_ccs): Likewise.
3054 * chartab.h (put_char_id_table): Change interface.
3056 * char-ucs.h (get_char_id_table): Change interface.
3057 (charset_code_point): Modify for interface change of
3058 `get_char_id_table'.
3059 (encode_char_1): Likewise.
3061 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3063 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3065 (map_over_uint16_byte_table): Likewise.
3066 (map_over_byte_table): Likewise.
3067 (map_char_id_table): Add new argument `range' like
3069 (Fmap_char_attribute): Add new argument `range' like
3072 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3074 * chartab.c (map_over_uint8_byte_table): Change interface of
3075 mapping function to use struct chartab_range instead of Emchar.
3076 (map_over_uint16_byte_table): Likewise.
3077 (map_over_byte_table): Likewise.
3078 (map_char_id_table): Likewise.
3079 (struct slow_map_char_id_table_arg): Deleted.
3080 (slow_map_char_id_table_fun): Deleted.
3081 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3082 function `slow_map_char_table_fun' instead of struct
3083 `slow_map_char_id_table_arg' and function
3084 `slow_map_char_id_table_fun'.
3086 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3088 * mule-charset.c: Move char-it-table related codes to chartab.c.
3089 (Vutf_2000_version): Moved to chartab.c.
3090 (Fdefine_char): Likewise.
3091 (Ffind_char): Likewise.
3092 (syms_of_mule_charset): Move types `uint8-byte-table',
3093 `uint16-byte-table', `byte-table' and `char-id-table' to
3094 chartab.c; move functions `char_attribute_list,
3095 `find_char_attribute_table, `char_attribute_alist,
3096 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3097 `map_char_attribute, `define_char, `find_char, `char_variants and
3098 `get_composite_char to chartab.c; move symbols `=>ucs',
3099 `->decomposition', `compat', `isolated', `initial', `medial',
3100 `final', `vertical', `noBreak', `fraction', `super', `sub',
3101 `circle', `square', `wide', `narrow', `small' and `font' to
3103 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3104 setting codes for `Vcharacter_composition_table' and
3105 `Vcharacter_variant_table' to chartab.c.
3106 (complex_vars_of_mule_charset): Move setting code for
3107 `Vchar_attribute_hash_table' to chartab.c.
3109 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3110 (make_char_id_table): New prototype.
3111 (put_char_id_table): Likewise.
3112 (Fget_char_attribute): Likewise.
3114 * chartab.c: Move char-id-table related code from mule-charset.c.
3115 (Vutf_2000_version): Moved from mule-charset.c.
3117 * char-ucs.h (Qucs): New external variable.
3118 (put_char_ccs_code_point): New prototype.
3119 (remove_char_ccs): Likewise.
3121 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3123 * mule-charset.c (Vcharset_ucs_jis): New variable.
3124 (Qucs_jis): Likewise.
3125 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3126 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3128 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3130 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3132 * mule-charset.c (map_over_uint8_byte_table): New function.
3133 (map_over_uint16_byte_table): Likewise.
3134 (map_over_byte_table): Likewise.
3135 (map_char_id_table): Likewise.
3136 (slow_map_char_id_table_fun): Likewise.
3137 (Fmap_char_attribute): Likewise.
3138 (syms_of_mule_charset): Add new function `map-char-attribute'.
3140 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3142 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3143 (syms_of_mule_charset): Add new function `find-char'.
3145 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3147 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3149 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3150 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3152 (complex_vars_of_mule_charset): Add new coded-charset
3153 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3154 `ideograph-gt-pj-*'.
3156 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3158 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3160 * mule-charset.c (encode_builtin_char_1): Purge codes about
3161 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3162 {MIN|MAX}_CHAR_HEBREW.
3163 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3164 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3166 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3167 (MAX_CHAR_GREEK): Purged.
3168 (MIN_CHAR_CYRILLIC): Purged.
3169 (MAX_CHAR_CYRILLIC): Purged.
3170 (MIN_CHAR_HEBREW): Commented out.
3171 (MAX_CHAR_HEBREW): Likewise.
3173 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3175 * mule-charset.c (Qto_ucs): New variable.
3176 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3177 (Fdefine_char): Likewise.
3178 (syms_of_mule_charset): Add new symbol `=>ucs'.
3180 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3182 * mule-charset.c (Fdecode_char): Fixed.
3184 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3186 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3187 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3190 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3192 * mule-charset.c (Vcharset_ucs_big5): New variable.
3193 (Qucs_big5): Likewise.
3194 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3195 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3197 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3199 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3201 * mule-charset.c (decode_builtin_char): Check Big5 code range
3202 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3204 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3206 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3207 (Qchinese_gb12345): Likewise.
3208 (Fdecode_builtin_char): Fixed.
3209 (syms_of_mule_charset): Add `chinese-gb12345'.
3210 (complex_vars_of_mule_charset): Add coded-charset
3213 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3214 (LEADING_BYTE_CHINESE_GB12345): New macro.
3216 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3218 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3219 and `latin-viscii-upper' for `latin-viscii'.
3221 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3223 * mule-charset.c (Fdecode_builtin_char): Comment out
3224 regularization code for ISO-IR GR representation.
3226 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3228 * mule-charset.c (decode_builtin_char): New function; renamed from
3229 `make_builtin_char'; return -1 instead of signal.
3230 (Fdecode_builtin_char): Use `decode_builtin_char'.
3232 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3233 `make_builtin_char'.
3234 (DECODE_CHAR): Use `decode_builtin_char' instead of
3235 `make_builtin_char'; use mapping table of `chinese-big5' for
3236 `chinese-big5-{1,2}'.
3238 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3240 * text-coding.c (char_encode_big5): New function.
3241 (char_finish_big5): Likewise.
3242 (reset_encoding_stream): Use `char_encode_big5' and
3243 `char_finish_big5' for CODESYS_BIG5.
3244 (mule_encode): Don't use `encode_coding_big5'.
3245 (encode_coding_big5): Deleted.
3247 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3249 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3250 0x81- in XEmacs UTF-2000.
3251 (detect_coding_big5): Likewise.
3253 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3255 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3256 generate character-id if the CCS property does not have
3257 corresponding predefined character.
3258 (make_builtin_char): Return -1 if corresponding predefined
3259 character is not found.
3260 (Fdecode_char): Return nil if corresponding character is not
3262 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3263 don't map to builtin ucs space.
3265 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3267 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3268 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3270 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3272 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3273 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3274 (Qideograph_gt): Likewise.
3275 (Qideograph_gt_pj_{1..11}): Likewise.
3276 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3277 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3278 `ideograph-gt-pj-11'.
3279 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3280 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3281 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3283 * char-ucs.h (LEADING_BYTE_GT): New macro.
3284 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3285 (MIN_CHAR_GT): Likewise.
3286 (MAX_CHAR_GT): Likewise.
3288 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3290 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3291 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3293 * doprnt.c (unsigned_int_converters): Add `c'.
3294 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3296 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3297 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3299 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3300 (MAX_CHAR_MOJIKYO_0): New macro.
3301 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3303 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3305 * mule-charset.c (Fdefine_char): Delete cemented out code.
3306 (encode_builtin_char_1): Modify for new allocation of builtin
3309 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3311 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3313 * mule-charset.c (Vcharset_ucs_cns): New variable.
3314 (Qucs_cns): New variable.
3315 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3316 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3318 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3320 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3322 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3324 * search.c (search_buffer): Make `charset_base_code' as
3325 character-id >> 6 to eliminate the corresponding last byte in
3326 UTF-8 representation [I'm not sure it is right thing].
3327 (boyer_moore): Likewise.
3329 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3331 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3332 representation in MULE.
3334 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3336 * text-coding.c (Fmake_coding_system): Use
3337 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3338 `EXTERNAL_PROPERTY_LIST_LOOP'.
3340 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3342 * text-coding.c (decode_output_utf8_partial_char): New function.
3343 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3345 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3347 * text-coding.c (decode_coding_utf8): Output original byte
3348 sequence if it is broken; change order of conditions.
3350 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3353 * mb-multibyte.h (BYTE_ASCII_P):
3354 Use bit ops for char-signedness safety.
3355 (BYTE_C0_P): Use bit ops for char-signedness safety.
3356 (BYTE_C1_P): Use bit ops for char-signedness safety.
3358 * character.h: (XCHAR_OR_CHAR_INT):
3359 Always use inline function.
3360 Remove redundant type checking assert() - XINT will abort quite
3363 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3365 * text-coding.c: (Fencode_shift_jis_char):
3366 (Fencode_big5_char):
3367 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3368 Replace 0 with '\0' when working with bytes.
3369 Replace initial "(" with "\(" in docstrings.
3371 (Fmake_coding_system):
3372 When type is ccl and value is vector, register it with a proper
3373 symbol. And checks whether the given ccl program is valid.
3374 (mule_decode): When calling ccl_driver, if src indicates
3375 NULL pointer, set an empty string instead.
3376 (mule_encode): Likewise.
3379 (detect_coding_sjis):
3380 (decode_coding_sjis):
3381 (detect_coding_big5):
3382 (decode_coding_big5):
3383 (detect_coding_ucs4):
3384 (decode_coding_ucs4):
3385 (detect_coding_utf8):
3386 (decode_coding_utf8):
3387 (detect_coding_iso2022):
3388 (decode_coding_iso2022):
3389 (decode_coding_no_conversion):
3391 Make all detecting and decoding functions take an Extbyte * arg.
3392 (text_encode_generic):
3393 (encode_coding_big5):
3394 (encode_coding_no_conversion):
3396 Make all encoding functions take a Bufbyte * arg.
3397 Use size_t instead of unsigned int for memory sizes.
3398 Only cast to unsigned char whenever dereferencing Extbyte *.
3400 (struct lrecord_description fcd_description_1): Use countof.
3401 (complex_vars_of_file_coding):
3402 Use countof instead of sizeof.
3403 Use CHECK_NATNUM instead of CHECK_INT.
3405 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3407 * mule-charset.c (Fget_char_attribute): Add new optional argument
3409 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3410 (remove_char_ccs): Likewise.
3412 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3414 * text-coding.c (char_encode_shift_jis): New implementation in
3416 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3419 * mule-charset.c (Vcharset_chinese_big5): New variable in
3421 (Qchinese_big5): New variable in UTF-2000.
3422 (BIG5_SAME_ROW): New macro in UTF-2000.
3423 (make_builtin_char): Use builtin characters of
3424 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3425 characters of `Vcharset_chinese_big5'.
3426 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3427 (complex_vars_of_mule_charset): Add new coded-charset
3428 `chinese-big5' in UTF-2000.
3430 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3431 (Vcharset_chinese_big5): New external variable declaration.
3432 (Vcharset_japanese_jisx0208_1990): Likewise.
3434 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3436 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3438 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3440 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3442 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3443 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3444 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3447 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3449 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3451 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3453 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3456 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3458 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3459 for `CHARSET_BY_ATTRIBUTES'.
3460 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3461 `CHARSET_BY_ATTRIBUTES'.
3463 * text-coding.c (struct decoding_stream): Rename member `CH' to
3465 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3466 (decode_coding_sjis): Likewise.
3467 (decode_coding_big5): Likewise.
3468 (decode_coding_ucs4): Likewise.
3469 (decode_coding_utf8): Likewise.
3470 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3471 `CHARSET_BY_ATTRIBUTES'.
3472 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3473 `str->counter'; decode 3, 4 bytes sets.
3474 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3476 (decode_coding_no_conversion): Use `str->cpos' instead of
3479 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3480 (Qmojikyo_2022_1): New variable.
3481 (make_charset): Don't use `CHARSET_TYPE_*'.
3482 (range_charset_code_point): Support coded-charset
3484 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3485 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3486 `CHARSET_BY_ATTRIBUTES'.
3487 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3488 `CHARSET_BY_ATTRIBUTES'.
3489 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3490 (complex_vars_of_mule_charset): Add new coded-charset
3493 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3494 interface; changed to inline function.
3496 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3497 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3498 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3499 (CHARSET_TYPE_94): Deleted.
3500 (CHARSET_TYPE_94X94): Deleted.
3501 (CHARSET_TYPE_96): Deleted.
3502 (CHARSET_TYPE_96X96): Deleted.
3503 (CHARSET_TYPE_128): Deleted.
3504 (CHARSET_TYPE_128X128): Deleted.
3505 (CHARSET_TYPE_256): Deleted.
3506 (CHARSET_TYPE_256X256): Deleted.
3507 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3509 (DECODE_MOJIKYO_2022): New inline function.
3510 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3511 `Vcharset_mojikyo_2022_1'.
3513 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3515 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3517 (put_byte_table): Likewise.
3518 (char_id_table_equal): Use `get_byte_table' [new implementation].
3520 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3522 * mule-charset.c: Include <limits.h> in UTF-2000.
3523 (BT_UINT8_MIN): New macro in UTF-2000.
3524 (BT_UINT8_MAX): New macro in UTF-2000.
3525 (BT_UINT8_t): New macro in UTF-2000.
3526 (BT_UINT8_nil): New macro in UTF-2000.
3527 (BT_UINT8_unbound): New macro in UTF-2000.
3528 (INT_UINT8_P): New inline function in UTF-2000.
3529 (UINT8_VALUE_P): New inline function in UTF-2000.
3530 (UINT8_ENCODE): New inline function in UTF-2000.
3531 (UINT8_DECODE): New inline function in UTF-2000.
3532 (mark_uint8_byte_table): New function in UTF-2000.
3533 (print_uint8_byte_table): New function in UTF-2000.
3534 (uint8_byte_table_equal): New function in UTF-2000.
3535 (uint8_byte_table_hash): New function in UTF-2000.
3536 (make_uint8_byte_table): New function in UTF-2000.
3537 (uint8_byte_table_same_value_p): New function in UTF-2000.
3538 (BT_UINT16_MIN): New macro in UTF-2000.
3539 (BT_UINT16_MAX): New macro in UTF-2000.
3540 (BT_UINT16_t): New macro in UTF-2000.
3541 (BT_UINT16_nil): New macro in UTF-2000.
3542 (BT_UINT16_unbound): New macro in UTF-2000.
3543 (INT_UINT16_P): New inline function in UTF-2000.
3544 (UINT16_VALUE_P): New inline function in UTF-2000.
3545 (UINT16_ENCODE): New inline function in UTF-2000.
3546 (UINT16_DECODE): New inline function in UTF-2000.
3547 (UINT8_TO_UINT16): New inline function in UTF-2000.
3548 (mark_uint16_byte_table): New function in UTF-2000.
3549 (print_uint16_byte_table): New function in UTF-2000.
3550 (uint16_byte_table_equal): New function in UTF-2000.
3551 (uint16_byte_table_hash): New function in UTF-2000.
3552 (make_uint16_byte_table): New function in UTF-2000.
3553 (uint16_byte_table_same_value_p): New function in UTF-2000.
3554 (print_byte_table): New function in UTF-2000.
3555 (byte-table): Use `print_byte_table' as printer.
3556 (make_byte_table): Delete second argument `older'.
3557 (byte_table_same_value_p): New function in UTF-2000.
3558 (copy_byte_table): Deleted.
3559 (get_byte_table): New function in UTF-2000.
3560 (put_byte_table): New function in UTF-2000.
3561 (print_char_id_table): New function in UTF-2000.
3562 (char-id-table): Use `print_char_id_table' as printer.
3563 (make_char_id_table): Delete second argument `older'.
3564 (get_char_id_table): Use `get_byte_table [new implementation].
3565 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3567 (Ffind_char_attribute_table): New function in UTF-2000.
3568 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3569 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3570 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3571 (syms_of_mule_charset): Add new function
3572 `find-char-attribute-table' in UTF-2000.
3574 * lrecord.h (enum lrecord_type): Add
3575 `lrecord_type_uint16_byte_table' and
3576 `lrecord_type_uint8_byte_table'.
3578 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3579 (Lisp_Uint8_Byte_Table): New type.
3580 (XUINT8_BYTE_TABLE): New macro.
3581 (XSETUINT8_BYTE_TABLE): New macro.
3582 (UINT8_BYTE_TABLE_P): New macro.
3583 (GC_UINT8_BYTE_TABLE_P): New macro.
3584 (struct Lisp_Uint16_Byte_Table): New structure.
3585 (Lisp_Uint16_Byte_Table): New type.
3586 (XUINT16_BYTE_TABLE): New macro.
3587 (XSETUINT16_BYTE_TABLE): New macro.
3588 (UINT16_BYTE_TABLE_P): New macro.
3589 (GC_UINT16_BYTE_TABLE_P): New macro.
3591 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3593 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3594 (Vcharacter_ideographic_strokes_table): Deleted.
3595 (Vcharacter_total_strokes_table): Deleted.
3596 (Vcharacter_morohashi_daikanwa_table): Deleted.
3597 (Vcharacter_decomposition_table): Deleted.
3598 (Qname): Deleted because it is duplicated.
3599 (Qideographic_radical): Deleted.
3600 (Qideographic_strokes): Deleted.
3601 (Qtotal_strokes): Deleted.
3602 (Qmorohashi_daikanwa): Deleted.
3603 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3604 `ideographic-radical', `ideographic-strokes', `total-strokes',
3605 `morohashi-daikanwa' and `->decomposition'.
3606 (Fget_char_attribute): Likewise.
3607 (Fput_char_attribute): Likewise; use `make-vector' instead of
3608 `make_older_vector' for `->decomposition' value.
3609 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3610 `ideograph-daikanwa'.
3611 (syms_of_mule_charset): Delete builtin symbols `name',
3612 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3613 `morohashi-daikanwa'.
3614 (vars_of_mule_charset): Don't setup
3615 `Vcharacter_ideographic_radical_table',
3616 `Vcharacter_ideographic_strokes_table',
3617 `Vcharacter_total_strokes_table',
3618 `Vcharacter_morohashi_daikanwa_table' and
3619 `Vcharacter_decomposition_table'.
3621 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3623 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3624 `make_older_vector', `make_vector_newer_1' and
3625 `make_vector_newer'.
3627 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3628 `make_older_vector' and `make_vector_newer'.
3630 * config.h.in (HAVE_GGC): New macro.
3632 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3634 * mule-charset.c (struct char_attribute_list_closure): New
3635 structure in UTF-2000.
3636 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3637 (Fchar_attribute_list): Likewise.
3638 (Fset_charset_mapping_table): Use `make_vector_newer'.
3639 (Fdecode_builtin_char): New function in UTF-2000.
3640 (syms_of_mule_charset): Add new function `char-attribute-list' and
3641 `decode-builtin-char' in UTF-2000.
3643 * lisp.h (make_vector_newer): New prototype.
3645 * alloc.c (make_vector_newer_1): New function.
3646 (make_vector_newer): New function.
3648 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3650 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3653 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3655 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3656 (Vcharacter_attribute_table): Deleted.
3657 (Vcharacter_name_table): Deleted.
3658 (put_char_attribute): Deleted.
3659 (remove_char_attribute): Deleted.
3660 (struct char_attribute_alist_closure): New structure.
3661 (add_char_attribute_alist_mapper): New function.
3662 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3663 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3664 (Fget_char_attribute): Likewise.
3665 (Fput_char_attribute): Likewise.
3666 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3667 of `remove_char_attribute'.
3668 (Fdefine_char): Return character.
3669 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3670 and `Vcharacter_name_table'.
3671 (complex_vars_of_mule_charset): Likewise
3672 `Vchar_attribute_hash_table'.
3674 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3676 * character.h (CHARC_CHARSET): New macro.
3677 (CHARC_CHARSET_ID): New macro.
3678 (CHARC_CODE_POINT): New macro.
3679 (CHARC_COLUMNS): New macro.
3680 (CHARC_TO_CHAR): New inline function.
3681 (CHARC_EQ): New inline function.
3682 (CHARC_ASCII_EQ): New inline function.
3683 (CHARC_IS_SPACE): New inline function.
3684 (ASCII_TO_CHARC): New inline function.
3686 * char-ucs.h (encode_char_2): Deleted.
3687 (ENCODE_CHAR): Use `encode_char_1' again.
3688 (breakup_char_1): Likewise.
3689 (CHAR_TO_CHARC): New inline function.
3691 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3693 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3695 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3696 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3697 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3698 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3699 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3701 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3703 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3705 (x_output_display_block): Use `CHARC_CHARSET' and
3708 * redisplay-tty.c (tty_output_display_block): Use
3710 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3712 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3714 * insdel.c (find_charsets_in_charc_string): Use
3716 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3717 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3718 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3719 (convert_charc_string_into_malloced_string): Likewise.
3721 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3723 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3724 instead of <Emchar_dynarr *> for buf; use
3725 `convert_bufbyte_string_into_charc_dynarr' instead of
3726 `convert_bufbyte_string_into_emchar_dynarr'; use
3727 `find_charsets_in_charc_string' instead of
3728 `find_charsets_in_emchar_string'.
3731 - Include "character.h".
3732 (struct rune): New member `cglyph'; delete member `chr'.
3734 * redisplay.c (redisplay_text_width_charc_string): New function;
3735 delete `redisplay_text_width_emchar_string'.
3736 (rtw_charc_dynarr): New variable; renamed from
3737 `rtw_emchar_dynarr'.
3738 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3739 `rtw_emchar_dynarr'; use
3740 `convert_bufbyte_string_into_charc_dynarr' instead of
3741 `convert_bufbyte_string_into_emchar_dynarr'; use
3742 `redisplay_text_width_charc_string' instead of
3743 `redisplay_text_width_emchar_string'.
3744 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3745 instead of `rtw_emchar_dynarr'; use
3746 `convert_bufbyte_string_into_charc_dynarr' instead of
3747 `convert_bufbyte_string_into_emchar_dynarr'.
3748 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3749 `redisplay_text_width_charc_string' instead of
3750 `redisplay_text_width_emchar_string'.
3751 (create_text_block): Modify for <struct rune> change.
3752 (generate_formatted_string_db): Likewise.
3753 (create_string_text_block): Likewise.
3754 (pixel_to_glyph_translation): Likewise.
3756 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3757 instead of <const Emchar *>.
3758 (x_text_width): Likewise.
3759 (x_output_display_block): Use <Charc_dynarr *> instead
3760 <Emchar_dynarr *>; modify for <structure rune> change.
3761 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3764 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3765 <const Emchar *>; use `charc_string_displayed_columns' instead of
3766 `emchar_string_displayed_columns'.
3767 (tty_output_display_block): Use <Charc_dynarr *> instead of
3768 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3769 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3770 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3771 `tty_output_emchar_dynarr_dynarr'.
3772 (tty_output_charc_dynarr): New function; delete
3773 `tty_output_charc_dynarr'.
3775 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3776 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3777 <Emchar_dynarr *> for buf; use
3778 `convert_bufbyte_string_into_charc_dynarr' instead of
3779 `convert_bufbyte_string_into_emchar_dynarr'.
3781 * frame.c (title_string_charc_dynarr): New variable; renamed from
3782 `title_string_emchar_dynarr'.
3783 (generate_title_string): Use `title_string_charc_dynarr' instead
3784 of `title_string_emchar_dynarr'; use
3785 `convert_charc_string_into_malloced_string' instead of
3786 `convert_emchar_string_into_malloced_string'.
3787 (init_frame): Use `title_string_charc_dynarr' instead of
3788 `title_string_emchar_dynarr'.
3791 - Include "character.h".
3792 (struct console_methods): Use <const Charc *> instead of <const
3793 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3794 <Emchar_dynarr *> in output_string_method.
3796 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3799 * console-stream.c (stream_text_width): Use <const Charc *>
3800 instead of <const Emchar *>.
3802 * character.h (Charc_dynarr): New type.
3804 * char-ucs.h (structure Charc): New structure; define new type
3807 * char-lb.h (DECODE_CHAR): New inline function.
3808 (encode_char_1): New inline function.
3809 (ENCODE_CHAR): New macro.
3810 (structure Charc): New structure; define new type `Charc'.
3812 * char-1byte.h (Vcharset_control_1): New macro.
3813 (Vcharset_latin_iso8859_1): New macro.
3814 (DECODE_CHAR): New inline function.
3815 (encode_char_1): New inline function.
3816 (ENCODE_CHAR): New macro.
3817 (structure Charc): New structure; define new type `Charc'.
3819 * insdel.c (find_charsets_in_charc_string): New function; delete
3820 `find_charsets_in_emchar_string'.
3821 (charc_string_displayed_columns): New function; delete
3822 `emchar_string_displayed_columns'.
3823 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3824 `convert_bufbyte_string_into_emchar_dynarr'.
3825 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3826 `convert_charc_string_into_bufbyte_dynarr'.
3827 (convert_charc_string_into_malloced_string): New function; delete
3828 `convert_charc_string_into_malloced_string'.
3830 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3831 `find_charsets_in_emchar_string'.
3832 (charc_string_displayed_columns): New prototype; delete
3833 `emchar_string_displayed_columns'.
3834 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3835 `convert_charc_string_into_bufbyte_dynarr'.
3836 (convert_charc_string_into_malloced_string): New prototype; delete
3837 `convert_charc_string_into_malloced_string'.
3839 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3841 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3843 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3845 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3847 * char-ucs.h: Use <short> for <Charset_ID>.
3849 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3852 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3854 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3857 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3859 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3861 (Qmorohashi_daikanwa): New variable.
3862 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3863 for `morohashi-daikanwa' attribute.
3864 (Fget_char_attribute): Likewise.
3865 (Fput_char_attribute): Likewise.
3866 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3867 has the same value of `ideograph-daikanwa'.
3868 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3869 (vars_of_mule_charset): Setup
3870 `Vcharacter_morohashi_daikanwa_table'.
3872 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3874 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3876 (add_charset_to_list_mapper): Add `key' instead of
3877 `XCHARSET_NAME (value)' to return aliases.
3879 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3881 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3883 (Vcharacter_ideographic_strokes_table): New variable.
3884 (Qideographic_radical): New variable.
3885 (Qideographic_strokes): New variable.
3886 (Fchar_attribute_alist): Use
3887 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3888 attribute; use `Vcharacter_ideographic_strokes_table' for
3889 `ideographic-strokes' attribute.
3890 (Fget_char_attribute): Likewise.
3891 (Fput_char_attribute): Likewise.
3892 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3893 `ideographic-strokes'.
3894 (vars_of_mule_charset): Setup
3895 `Vcharacter_ideographic_radical_table' and
3896 `Vcharacter_ideographic_strokes_table'.
3898 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3900 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3901 (Qtotal_strokes): New variable.
3902 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3903 `total-strokes' attribute.
3904 (Fget_char_attribute): Likewise.
3905 (Fput_char_attribute): Likewise.
3906 (syms_of_mule_charset): Add new symbol `total-strokes'.
3907 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3909 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3911 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3912 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3914 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3915 `->decomposition' attribute.
3916 (Fput_char_attribute): Likewise.
3917 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3919 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3921 * mule-charset.c (decoding_table_check_elements): New function.
3922 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3924 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3926 * mule-charset.c (Fset_charset_mapping_table): Use
3927 `put_char_ccs_code_point'.
3929 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3931 * mule-charset.c (decoding_table_put_char): New inline function.
3932 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3934 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3936 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3937 (XCHARSET_BYTE_SIZE): New macro.
3938 (decoding_table_remove_char): New inline function.
3939 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3940 `decoding_table_remove_char'.
3941 (remove_char_ccs): Use `decoding_table_remove_char'.
3942 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3944 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3946 * mule-charset.c (Vcharacter_name_table): New variable.
3947 (Qname): New variable.
3948 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3950 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3951 `Vcharacter_name_table' for `name' attribute.
3952 (Fremove_char_attribute): Use function `remove_char_ccs'.
3953 (put_char_ccs_code_point): New function.
3954 (remove_char_ccs): New function.
3955 (syms_of_mule_charset): Add new symbol `name'.
3956 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3958 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3960 * mule-charset.c (make_byte_table): Add new argument `older'.
3961 (make_char_id_table): Likewise.
3962 (copy_char_id_table): Comment out because it is not used.
3963 (put_char_id_table): Modify for `make_byte_table'.
3964 (Fput_char_attribute): Make encoding_table as older object;
3965 inherit older bit of `Vcharacter_composition_table'.
3966 (mark_charset): Don't mark `cs->encoding_table'.
3967 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3968 normal object; make `Vcharacter_composition_table' as an older
3969 object; delete staticpro for `Vcharacter_composition_table'; make
3970 `Vcharacter_variant_table' as a normal object.
3972 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3973 (mark_object): Don't check older object in UTF-2000.
3975 * lrecord.h (struct lrecord_header): Add new member `older' in
3977 (set_lheader_implementation): Setup `SLI_header->older' in
3979 (set_lheader_older_implementation): New macro in UTF-2000.
3980 (OLDER_RECORD_P): New macro in UTF-2000.
3981 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3982 (alloc_older_lcrecord): New prototype in UTF-2000.
3983 (alloc_older_lcrecord_type): New macro in UTF-2000.
3985 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3987 * mule-charset.c (byte_table_description): Use
3988 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3989 (char_id_table_description): Delete bogus `, 1'.
3990 (Fget_char_attribute): Refer encoding_table of each coded-charset
3991 to get value of coded-charset attribute of a character.
3992 (Fput_char_attribute): Use `make_older_vector' instead of
3993 `make_vector'; use encoding_table of each coded-charset to store
3994 value of coded-charset attribute of a character.
3995 (Fremove_char_attribute): Use encoding_table of each coded-charset
3996 to store value of coded-charset attribute of a character.
3997 (mark_charset): Mark `cs->encoding_table'; don't mark
3998 `cs->decoding_table'.
3999 (charset_description): Add description of new member
4001 (make_charset): Initialize `encoding_table'.
4003 * char-ucs.h (struct Lisp_Charset): Add new member
4005 (CHARSET_ENCODING_TABLE): New macro.
4006 (XCHARSET_ENCODING_TABLE): New macro.
4007 (charset_code_point): New implementation.
4008 (encode_char_1): Likewise.
4010 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
4011 (disksave_object_finalization_1): Call finalizers of
4012 `all_older_lcrecords' in UTF-2000.
4013 (make_older_vector): New function in UTF-2000.
4014 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
4017 * lisp.h (make_older_vector): New prototype in UTF-2000.
4019 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4021 * lrecord.h (enum lrecord_type): Rename
4022 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
4024 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
4025 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
4026 `get_char_code_table'.
4028 * mule-charset.c (mark_char_id_table): Renamed from
4029 `mark_char_code_table'.
4030 (char_id_table_equal): Renamed from `char_code_table_equal'.
4031 (char_id_table_hash): Renamed from `char_code_table_hash'.
4032 (make_char_id_table): Renamed from `make_char_code_table'.
4033 (copy_char_id_table): Renamed from `copy_char_code_table'.
4034 (get_char_id_table): Renamed from `get_char_code_table'.
4035 (put_char_id_table): Renamed from `put_char_code_table'.
4036 (to_char_id): Renamed from `to_char_code'.
4038 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
4039 `Lisp_Char_Code_Table'.
4040 (char_id_table): Renamed from `char_code_table'.
4041 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
4042 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
4043 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
4044 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
4045 (get_char_id_table): Renamed from `get_char_code_table'.
4047 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4049 * lrecord.h (enum lrecord_type): Rename
4050 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
4052 * mule-charset.c (mark_byte_table): Renamed from
4053 `mark_char_byte_table'.
4054 (byte_table_equal): Renamed from `char_byte_table_equal'.
4055 (byte_table_hash): Renamed from `byte_table_hash'.
4056 (make_byte_table): Renamed from `make_byte_table'.
4057 (copy_byte_table): Renamed from `copy_char_byte_table'.
4059 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
4060 `Lisp_Char_Byte_Table'.
4061 (byte_table): Renamed from `char_byte_table'.
4062 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
4063 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4064 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4065 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4067 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4069 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4070 (dfc_convert_to_internal_format): Likewise.
4072 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4073 * text-coding.c (Fcoding_system_alias_p): New function.
4074 * text-coding.c (Fcoding_system_aliasee): New function.
4075 * text-coding.c (append_suffix_to_symbol): New function.
4076 * text-coding.c (dangling_coding_system_alias_p): New function.
4077 * text-coding.c (Ffind_coding_system):
4078 * text-coding.c (Fcopy_coding_system):
4079 * text-coding.c (encode_coding_no_conversion):
4080 * text-coding.c (syms_of_file_coding):
4081 * text-coding.c (vars_of_file_coding):
4082 Rewrite coding system alias code.
4083 Allow nested aliases, like symbolic links.
4084 Allow redefinition of coding system aliases.
4085 Prevent existence of dangling coding system aliases.
4086 Eliminate convert_to_external_format.
4087 Eliminate convert_to_internal_format.
4089 * text-coding.c: Change enum eol_type to eol_type_t.
4091 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4093 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4094 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4096 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4097 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4099 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4101 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4102 `ideograph-daikanwa'.
4104 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4105 (Vcharset_ucs_bmp): Likewise.
4106 (Vcharset_mojikyo): Add new extern variable definition.
4107 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4108 (Vcharset_latin_iso8859_3): Likewise.
4109 (Vcharset_latin_iso8859_4): Likewise.
4110 (Vcharset_latin_iso8859_9): Likewise.
4111 (Vcharset_latin_viscii_lower): Likewise.
4112 (Vcharset_latin_viscii_upper): Likewise.
4113 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4114 `mojikyo' code-point is used to decode.
4115 (encode_char_2): New function [to convert `mojikyo' code-point to
4116 Mojikyo font encoding].
4117 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4118 (breakup_char_1): Likewise.
4119 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4121 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4123 * text-coding.c (Fmake_coding_system): Add document about
4124 `disable-composition' property.
4126 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4128 * text-coding.c (Qdisable_composition): New variable; delete
4130 (Fmake_coding_system): Add new property `disable-composite';
4131 delete property `composite'.
4132 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4133 instead of `!CODING_SYSTEM_COMPOSITE'.
4134 (syms_of_file_coding): Add new symbol `disable-composition';
4135 delete symbol `composite'.
4137 * file-coding.h (struct Lisp_Coding_System): Add
4138 `disable_composition'; delete `enable_composition'.
4139 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4140 `CODING_SYSTEM_COMPOSITE'.
4141 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4142 `XCODING_SYSTEM_COMPOSITE'.
4144 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4146 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4149 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4151 * text-coding.c (Qcomposite): New variable.
4152 (Fmake_coding_system): Add new property `composite'.
4153 (struct decoding_stream): Add `combined_char_count',
4154 `combined_chars' and `combining_table' in UTF-2000.
4155 (COMPOSE_FLUSH_CHARS): New macro.
4156 (COMPOSE_ADD_CHAR): New macro.
4157 (reset_decoding_stream): Reset `str->combined_char_count' and
4158 `str->combining_table' in UTF-2000.
4159 (decode_coding_iso2022): Modify for character-decomposition.
4160 (syms_of_file_coding): Add new symbol `composite'.
4162 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4164 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4165 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4166 of `Vcharacter_composition_table' if `->decomposition' property
4168 (Qlatin_tcvn5712): New variable.
4169 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4170 (complex_vars_of_mule_charset): Add new coded-charset
4173 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4175 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4177 * file-coding.h (struct Lisp_Coding_System): Add
4178 `enable_composition'.
4179 (CODING_SYSTEM_COMPOSITE): New macro.
4180 (XCODING_SYSTEM_COMPOSITE): New macro.
4182 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4184 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4186 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4188 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4189 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4191 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4193 * mule-charset.c (Vcharset_mojikyo): New variable.
4194 (Fdefine_char): Don't use coded-charset which does not have
4195 non-builtin character range to allocate character-id.
4196 (Qmojikyo): New variable.
4197 (syms_of_mule_charset): Add new symbol `mojikyo'.
4198 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4200 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4201 (LEADING_BYTE_MOJIKYO): New macro.
4202 (MIN_CHAR_MOJIKYO): New macro.
4203 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4204 (MAX_CHAR_MOJIKYO): New macro.
4206 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4208 * mule-charset.c (remove_char_attribute): Fixed.
4210 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4212 * mule-charset.c (remove_char_attribute): New function.
4213 (Fremove_char_attribute): New function.
4214 (encode_builtin_char_1): Comment out builtin-support for
4215 greek-iso8859-7 and cyrillic-iso8859-5.
4216 (Fdecode_char): Check `code' is an integer.
4217 (syms_of_mule_charset): Add `remove-char-attribute'.
4218 (MIN_CHAR_GREEK): Deleted.
4219 (MAX_CHAR_GREEK): Likewise.
4220 (MIN_CHAR_CYRILLIC): Likewise.
4221 (MAX_CHAR_CYRILLIC): Likewise.
4222 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4223 MAX_CHAR_GREEK for `greek-iso8859-7'.
4225 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4226 (MAX_CHAR_GREEK): Likewise.
4227 (MIN_CHAR_CYRILLIC): Likewise.
4228 (MAX_CHAR_CYRILLIC): Likewise.
4230 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4232 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4233 format is used without `ucs' property.
4234 (Fdecode_char): Fix problem with GR representation.
4235 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4236 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4238 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4240 * mule-charset.c (make_builtin_char): New function.
4241 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4242 (Fset_charset_mapping_table): Modify for new representation of
4244 (Fdecode_char): New function.
4245 (syms_of_mule_charset): Add new builtin function `decode-char' in
4248 * char-ucs.h (make_builtin_char): New prototype.
4249 (DECODE_CHAR): New inline function.
4250 (MAKE_CHAR): Use `DECODE_CHAR'.
4252 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4254 * text-coding.c (parse_charset_conversion_specs): Use
4255 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4257 (iso2022_designate): Likewise.
4259 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4260 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4262 * mule-charset.c (Vcharset_ucs): New variable.
4263 (print_charset): Change design; use `CHARSET_CHARS' and
4264 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4265 (make_charset): Change signature to specify `chars' and
4266 `dimension' instead of `type'.
4267 (range_charset_code_point): Modify for 256^n-set.
4268 (encode_builtin_char_1): Encode as `ucs' in default.
4269 (Fmake_charset): Modify for `make_charset'.
4270 (Fmake_reverse_direction_charset): Likewise.
4271 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4273 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4276 * char-ucs.h (Vcharset_ucs): New variable.
4277 (LEADING_BYTE_UCS): New macro.
4278 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4279 and `chars' to `unsigned short' from `unsigned int'.
4280 (CHARSET_TYPE): Deleted.
4281 (XCHARSET_TYPE): Deleted.
4283 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4285 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4287 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4288 (ENCODE_CHAR): New macro.
4290 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4292 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4293 to 0.14 (Kawachi-Katakami).
4295 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4297 * text-coding.c (char_encode_shift_jis): Modify for
4298 `charset_code_point'.
4299 (char_encode_iso2022): Likewise.
4301 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4302 (integer) instead of list of <Lisp_Object>s (integers) as the
4303 format of code-point of a coded-charset.
4304 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4305 (encode_builtin_char_1): New function; delete
4306 `split_builtin_char'.
4307 (charset_code_point): Return <int> instead of <Lisp_Object>.
4308 (Fsplit_char): Don't use `SPLIT_CHAR'.
4310 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4311 prototype for `split_builtin_char'.
4312 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4313 (charset_code_point): Likewise.
4314 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4315 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4317 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4319 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4320 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4322 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4324 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4326 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4327 (MAX_CHAR_OBS_94x94): Deleted.
4329 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4331 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4333 * char-ucs.h (MAX_CHAR_BMP): New macro.
4335 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4337 * text-coding.c: Sync with r21-2-24.
4339 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4341 * file-coding.c: Modify for UTF-2000.
4343 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4345 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4348 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4350 * mule-charset.c (split_builtin_char): Delete builtin support for
4351 `katakana-jisx0201'.
4352 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4353 BMP area in builtin representation.
4355 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4356 `Vcharset_katakana_jisx0201'.
4358 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4360 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4361 (Qisolated): New variable.
4362 (Qinitial): New variable.
4363 (Qmedial): New variable.
4364 (Qfinal): New variable.
4365 (Qvertical): New variable.
4366 (Qsmall): New variable.
4367 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4368 `Qvertical' and `Qsmall'.
4369 (Qmojikyo_pj_[1 .. 21]): New variable.
4370 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4371 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4372 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4375 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4377 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4378 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4379 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4381 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4383 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4384 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4386 (Qjapanese_jisx0208_1990): New variable.
4387 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4388 (complex_vars_of_mule_charset): Add new coded-charset
4389 `japanese-jisx0208-1990'.
4391 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4392 (MIN_CHAR_JIS_X0208_1990): New macro.
4393 (MAX_CHAR_JIS_X0208_1990): New macro.
4395 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4397 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4398 coded-charset is not found.
4400 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4402 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4403 (Fdefine_char): Use `Fmake_char'.
4405 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4407 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4408 (Vcharset_hiragana_jisx0208): Deleted.
4409 (Vcharset_katakana_jisx0208): Deleted.
4410 (Qideograph_daikanwa): New variable.
4411 (Qhiragana_jisx0208): Deleted.
4412 (Qkatakana_jisx0208): Deleted.
4413 (split_builtin_char): Split `ideograph-daikanwa'.
4414 (Fsplit_char): New implementation for UTF-2000.
4415 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4416 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4417 (complex_vars_of_mule_charset): Add new coded-charset
4418 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4419 `katakana-jisx0208'.
4421 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4422 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4423 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4424 (MIN_CHAR_DAIKANWA): New macro.
4425 (MAX_CHAR_DAIKANWA): New macro.
4427 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4429 * data.c (Fstring_to_number): Don't recognize floating point if
4432 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4434 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4436 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4438 * mule-charset.c (Qsquare): New variable.
4439 (to_char_code): Add `Qsquare'.
4440 (syms_of_mule_charset): Add new symbol `square'.
4442 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4444 * mule-charset.c (Qcircle): New variable.
4445 (to_char_code): Add `Qcircle'.
4446 (syms_of_mule_charset): Add new symbol `circle'.
4448 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4450 * mule-charset.c (Qfont): New variable.
4451 (to_char_code): Add `Qfont'.
4452 (syms_of_mule_charset): Add new symbol `font'.
4454 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4456 * mule-charset.c (Qsub): New variable.
4457 (to_char_code): Add `Qsub'.
4458 (syms_of_mule_charset): Add new symbol `sub'.
4460 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4462 * mule-charset.c (Fput_char_attribute): Convert each element of
4463 VALUE to GL position if ATTRIBUTE is a GR-set,
4465 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4467 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4468 coded-charset is a GR-set.
4470 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4472 * mule-charset.c (Fput_char_attribute): Check each element of
4473 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4475 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4477 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4479 (Qethiopic_ucs): New variable in UTF-2000.
4480 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4481 (complex_vars_of_mule_charset): Add new coded-charset
4482 `ethiopic-ucs' in UTF-2000.
4484 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4485 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4487 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4489 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4491 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4493 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4496 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4498 * mule-charset.c (Vcharacter_variant_table): New variable.
4499 (Q_ucs): New variable.
4500 (Fchar_variants): New function.
4501 (Fput_char_attribute): Register `->ucs' value to
4502 `Vcharacter_variant_table'.
4503 (syms_of_mule_charset): Add new function `char-variants' and new
4505 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4507 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4509 * mule-charset.c (get_char_code_table): Allow negative character
4511 (put_char_code_table): Likewise.
4512 (Vcharacter_composition_table): New variable.
4513 (Q_decomposition): New variable.
4514 (Qwide): New variable.
4515 (Qnarrow): New variable.
4516 (Qcompat): New variable.
4517 (QnoBreak): New variable.
4518 (Qsuper): New variable.
4519 (Qfraction): New variable.
4520 (to_char_code): New function.
4521 (Fget_composite_char): New function.
4522 (Fput_char_attribute): Register `->decomposition' value to
4523 `Vcharacter_composition_table'.
4524 (syms_of_mule_charset): Add new function `get-composite-char', new
4525 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4526 `super' and `fraction'.
4527 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4529 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4531 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4532 character; copy the return value.
4534 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4536 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4538 * mule-charset.c (range_charset_code_point): Must use make_int.
4539 (split_builtin_char): New function.
4541 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4543 * mule-charset.c (char_byte_table): Change name from
4544 "char-code-table" to "char-byte-table".
4545 (mark_char_code_table): New function.
4546 (char_code_table_equal): New function.
4547 (char_code_table_hash): New function.
4548 (char_code_table_description): New constant.
4549 (char_code_table): New type.
4550 (make_char_code_table): New function.
4551 (copy_char_code_table): New function.
4552 (get_char_code_table): Modify for `char_code_table' type.
4553 (put_char_code_table): Likewise.
4554 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4557 * char-ucs.h (char_code_table): New type.
4558 (XCHAR_CODE_TABLE): New macro.
4559 (XSETCHAR_CODE_TABLE): New macro.
4560 (CHAR_CODE_TABLE_P): New macro.
4561 (GC_CHAR_CODE_TABLE_P): New macro.
4562 (struct Lisp_Char_Code_Table): New structure.
4564 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4566 * mule-charset.c (Fmake_charset): Setup byte_offset for
4569 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4571 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4574 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4576 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4579 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4581 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4582 charset, it is regarded as a charset.
4583 (put_char_attribute): New function in UTF-2000.
4584 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4585 charset, mapping-table of the charset is modified.
4586 (Fdefine_char): New function in UTF-2000.
4587 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4588 `Fput_char_attribute'.
4589 (syms_of_mule_charset): Add new function `define-char' and new
4590 symbol `ucs' in UTF-2000.
4591 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4593 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4595 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4596 non-UTF-2000 configuration.
4598 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4600 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4601 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4603 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4605 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4606 (Fset_charset_mapping_table): Likewise.
4608 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4609 (CHARSET_ENCODING_TABLE): Delete.
4610 (XCHARSET_ENCODING_TABLE): Delete.
4611 (charset_code_point): New interface.
4613 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4615 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4616 instead of `charset_get_byte1' and `charset_get_byte2'.
4618 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4619 (charset_get_byte2): Deleted.
4621 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4623 * char-ucs.h (SPLIT_CHAR): New inline function.
4624 (breakup_char_1): Use `SPLIT_CHAR'.
4626 * mule-charset.c (range_charset_code_point): New function.
4627 (charset_code_point): New function.
4629 * char-ucs.h (range_charset_code_point): New interface.
4630 (breakup_char_1): Use `range_charset_code_point'.
4632 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4634 * mule-charset.c (Fmake_charset): Delete unused local variable
4637 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4638 (breakup_char_1): Find a charset and code-point in
4639 `Vcharacter_attribute_table'.
4641 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4643 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4646 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4648 * mule-charset.c (Vcharacter_attribute_table): New variable.
4649 (Fchar_attribute_alist): New function.
4650 (Fget_char_attribute): New function.
4651 (Fput_char_attribute): New function.
4652 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4654 (syms_of_mule_charset): Add new function `char-attribute-alist',
4655 `get-char-attribute' and `put-char-attribute'.
4656 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4658 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4660 * mule-charset.c (Fmake_charset): Just use
4661 `get_unallocated_leading_byte'.
4663 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4664 sets; don't use final-byte based number for private sets.
4666 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4668 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4671 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4673 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4676 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4678 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4679 of `CHAR_LEADING_BYTE' in UTF-2000.
4681 * insdel.c (find_charsets_in_bufbyte_string): Use
4682 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4683 (find_charsets_in_emchar_string): Likewise.
4685 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4686 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4688 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4689 (CHAR_CHARSET_ID): New macro.
4691 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4693 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4694 charset-id - MIN_LEADING_BYTE.
4695 (put_char_table): Likewise.
4697 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4699 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4700 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4701 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4702 (CHARSET_ID_OFFSET): New macro.
4703 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4704 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4705 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4706 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4708 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4710 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4711 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4712 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4713 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4714 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4716 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4718 * mule-charset.c (next_allocated_leading_byte): New variable in
4720 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4721 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4722 (get_unallocated_leading_byte): Simply use
4723 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4724 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4727 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4728 (MAX_LEADING_BYTE_PRIVATE): New macro.
4729 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4730 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4732 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4734 * mule-charset.c (Fmake_charset): Allocate final-byte based
4735 charset-id for 94-set, 96-set and 94x94-set.
4737 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4739 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4741 (Fmake_charset): Likewise.
4742 (complex_vars_of_mule_charset): Modify the font registry of
4743 `ucs-bmp' not to match `Ethiopic-Unicode'.
4745 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4747 * mule-charset.c (complex_vars_of_mule_charset): Add font
4748 registory of `ucs-bmp'.
4750 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4752 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4753 coded-charsets in `default-coded-charset-priority-list' when
4754 breaking up a character.
4756 * mule-charset.c (Vcharset_latin_viscii): New variable.
4757 (Qlatin_viscii): New variable.
4758 (make_charset): Don't use `decoding_table'.
4759 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4761 (Fset_charset_mapping_table): New implementation.
4762 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4763 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4764 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4765 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4766 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4767 charset `latin_viscii'.
4769 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4770 (CHARSET_TYPE_94X94): Change to 1 from 2.
4771 (CHARSET_TYPE_96): Change to 2 from 1.
4772 (CHARSET_TYPE_128): New macro.
4773 (CHARSET_TYPE_128X128): Change to 5 from 4.
4774 (CHARSET_TYPE_256): New macro.
4775 (CHARSET_TYPE_256X256): Change to 7 from 5.
4776 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4778 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4780 * text-coding.c (char_encode_shift_jis): Refer
4781 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4782 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4784 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4785 (char_byte_table_equal): New function in UTF-2000.
4786 (char_byte_table_hash): New function in UTF-2000.
4787 (char_byte_table_description): New constant in UTF-2000.
4788 (char_byte_table): New type in UTF-2000.
4789 (make_char_byte_table): New function in UTF-2000.
4790 (copy_char_byte_table): New function in UTF-2000.
4791 (make_char_code_table): New macro in UTF-2000.
4792 (get_char_code_table): New function in UTF-2000.
4793 (put_char_code_table): New function in UTF-2000.
4794 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4795 (charset_description): Add setting in UTF-2000.
4796 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4797 `CHARSET_TO_BYTE1_TABLE(cs)'.
4798 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4799 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4800 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4801 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4802 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4803 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4804 `CHARSET_TO_BYTE2_TABLE(cs)'.
4806 * char-ucs.h (char_byte_table): New type.
4807 (XCHAR_BYTE_TABLE): New macro.
4808 (XSETCHAR_BYTE_TABLE): New macro.
4809 (CHAR_BYTE_TABLE_P): New macro.
4810 (GC_CHAR_BYTE_TABLE_P): New macro.
4811 (struct Lisp_Char_Byte_Table): New structure.
4812 (get_char_code_table): New interface.
4813 (Emchar_to_byte_table): Deleted.
4814 (get_byte_from_character_table): Deleted.
4815 (struct Lisp_Charset): Add `encoding_table'; delete
4816 `to_byte1_table' and `to_byte2_table'.
4817 (CHARSET_ENCODING_TABLE): New macro.
4818 (CHARSET_TO_BYTE1_TABLE): Deleted.
4819 (CHARSET_TO_BYTE2_TABLE): Deleted.
4820 (XCHARSET_ENCODING_TABLE): New macro.
4821 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4822 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4824 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4826 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4827 `vietnamese-viscii-*'.
4829 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4831 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4832 (Qvietnamese_viscii_upper): New variable.
4833 (Fdefine_charset_alias): New function.
4834 (syms_of_mule_charset): Add new function `define-charset-alias'.
4835 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4836 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4839 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4841 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4842 (MAX_CHAR_OBS_94x94): New macro.
4843 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4846 * mule-charset.c (put_byte_from_character_table): Change unit size
4848 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4850 (Fmake_reverse_direction_charset): Modify dummy argument of
4851 `make_charset' for non-UTF-2000 environment.
4853 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4855 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4857 * mule-charset.c (destroy_byte_from_character_table): New macro.
4858 (latin_jisx0201_to_ucs): Deleted.
4859 (latin_iso8859_2_to_ucs): Deleted.
4860 (latin_iso8859_3_to_ucs): Deleted.
4861 (latin_iso8859_4_to_ucs): Deleted.
4862 (latin_iso8859_9_to_ucs): Deleted.
4863 (latin_viscii_lower_to_ucs): Deleted.
4864 (latin_viscii_upper_to_ucs): Deleted.
4865 (mark_charset): Mark `cs->decoding_table'.
4866 (Fcharset_mapping_table): Fix DOC-string.
4867 (Fset_charset_mapping_table): New function.
4868 (syms_of_mule_charset): Add nwe function
4869 `set-charset-mapping-table'.
4870 (complex_vars_of_mule_charset): Don't setup and use
4873 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4875 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4878 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4880 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4881 (Vcharset_katakana_jisx0208): New variable.
4882 (Qhiragana_jisx0208): New variable.
4883 (Qkatakana_jisx0208): New variable.
4884 (make_charset): Add new argument `byte_offset'.
4885 (charset_get_byte1): Modify for new coded-charset definition; use
4886 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4887 `XCHARSET_BYTE_OFFSET'.
4888 (Fmake_charset): Modify for `make_charset'.
4889 (Fmake_reverse_direction_charset): Likewise.
4890 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4891 `katakana-jisx0208'.
4892 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4893 `.' in font registry of charset `katakana-jisx0201',
4894 `latin-jisx0201', `vietnamese-viscii-lower' and
4895 `vietnamese-viscii-upper'; modify DOC-string of charset
4896 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4897 registry of charset `japanese-jisx0208' not to use font for JIS
4898 X0208:1990; add new charset `hiragana-jisx0208' and
4899 `katakana-jisx0208'.
4901 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4902 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4903 (struct Lisp_Charset): Add `byte_offset'.
4904 (CHARSET_BYTE_OFFSET): New macro.
4905 (XCHARSET_UCS_MIN): New macro.
4906 (XCHARSET_UCS_MAX): New macro.
4907 (XCHARSET_CODE_OFFSET): New macro.
4908 (XCHARSET_BYTE_OFFSET): New macro.
4909 (MIN_CHAR_HIRAGANA): New macro.
4910 (MAX_CHAR_HIRAGANA): New macro.
4911 (MIN_CHAR_KATAKANA): New macro.
4912 (MAX_CHAR_KATAKANA): New macro.
4913 (MAKE_CHAR): Modify for new coded-charset definition; use
4914 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4915 `XCHARSET_BYTE_OFFSET'.
4917 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4919 * mule-charset.c (CHAR96): Deleted.
4920 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4922 (latin_iso8859_2_to_ucs): Likewise.
4923 (latin_iso8859_3_to_ucs): Likewise.
4924 (latin_iso8859_4_to_ucs): Likewise.
4925 (latin_iso8859_9_to_ucs): Likewise.
4926 (latin_viscii_lower_to_ucs): Likewise.
4927 (latin_viscii_upper_to_ucs): Likewise.
4928 (latin_tcvn5712_to_ucs): Commented out.
4929 (make_charset): Change type of argument `decoding_table' from
4930 <Emchar*> to <Lisp_Object> [vector of characters].
4931 (Fmake_charset): Modify for `make_charset'.
4932 (Fmake_reverse_direction_charset): Likewise.
4933 (Fcharset_mapping_table): New function in UTF-2000.
4934 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4936 (complex_vars_of_mule_charset): Modify for type change of
4937 `*_to_ucs'; modify for `make_charset'.
4939 * char-ucs.h (struct Lisp_Charset): Change type of
4940 `decoding_table' from <Emchar*> to <Lisp_Object>.
4941 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4943 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4945 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4946 error with non-UTF-2000-Mule.
4948 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4950 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4952 (Vcharset_chinese_cns11643_4): Likewise.
4953 (Vcharset_chinese_cns11643_5): Likewise.
4954 (Vcharset_chinese_cns11643_6): Likewise.
4955 (Vcharset_chinese_cns11643_7): Likewise.
4956 (Qchinese_cns11643_3): Likewise.
4957 (Qchinese_cns11643_4): Likewise.
4958 (Qchinese_cns11643_5): Likewise.
4959 (Qchinese_cns11643_6): Likewise.
4960 (Qchinese_cns11643_7): Likewise.
4961 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4962 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4963 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4964 (complex_vars_of_mule_charset): Likewise.
4966 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4968 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4970 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4971 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4973 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4975 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4977 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4978 (breakup_char_1): Likewise.
4980 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4981 one of them includes the specified character.
4983 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4985 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4987 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4989 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4991 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4993 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4994 definition for non-UTF-2000 Mule.
4995 (latin_iso8859_3_to_ucs): Likewise.
4996 (latin_iso8859_4_to_ucs): Likewise.
4997 (latin_iso8859_9_to_ucs): Likewise.
4998 (latin_jisx0201_to_ucs): Likewise.
4999 (MIN_CHAR_THAI): Likewise.
5000 (MAX_CHAR_THAI): Likewise.
5001 (MIN_CHAR_GREEK): Likewise.
5002 (MAX_CHAR_GREEK): Likewise.
5003 (MIN_CHAR_HEBREW): Likewise.
5004 (MAX_CHAR_HEBREW): Likewise.
5005 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
5006 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
5007 (MIN_CHAR_CYRILLIC): Likewise.
5008 (MAX_CHAR_CYRILLIC): Likewise.
5010 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
5012 * char-ucs.h (breakup_char_1): Use
5013 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
5014 thai-tis620 and katakana-jisx0201 area.
5016 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5018 * char-ucs.h (breakup_char_1): Use
5019 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
5022 * text-coding.c (reset_encoding_stream): Fixed.
5023 (char_encode_ucs4): Delete `& 255'.
5025 * char-ucs.h (breakup_char_1): Use
5026 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
5028 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5030 * file-coding.c (Fmake_coding_system): Don't set up
5031 `codesys->fixed.size'.
5032 (encode_coding_no_conversion): Don't refer
5033 `str->codesys->fixed.size'.
5035 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5037 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
5038 (latin_a_char_to_byte1): Deleted.
5039 (latin_a_char_to_byte2): Deleted.
5041 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5043 * mule-charset.c (make_charset): Add new argument `ucs_min',
5044 `ucs_max' and `code_offset'.
5045 (charset_get_byte1): New implementation [delete specific charset
5046 depended implementations].
5047 (Fmake_charset): Modify for `make_charset'.
5048 (Fmake_reverse_direction_charset): Likewise.
5049 (complex_vars_of_mule_charset): Likewise.
5051 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
5053 (CHARSET_UCS_MIN): New macro.
5054 (CHARSET_UCS_MAX): New macro.
5055 (CHARSET_CODE_OFFSET): New macro.
5056 (MAKE_CHAR): Delete charset depended definitions [except
5059 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
5061 * char-ucs.h (breakup_char_1): Use
5062 `Vdefault_coded_charset_priority_list' for C0-Controls,
5063 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5065 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5067 * char-ucs.h (charset_get_byte1): New function.
5068 (XCHARSET_GET_BYTE1): Deleted.
5069 (charset_get_byte2): New function.
5070 (XCHARSET_GET_BYTE2): Deleted.
5071 (Vdefault_coded_charset_priority_list): New external variable.
5072 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5073 `Vdefault_preferred_coded_charset_list'.
5075 * mule-charset.c (charset_get_byte1): New function.
5076 (charset_get_byte2): New function.
5077 (Vdefault_coded_charset_priority_list): New variable.
5078 (vars_of_mule_charset): Add new variable
5079 `default-coded-charset-priority-list'.
5081 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5083 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5084 (XCHARSET_GET_BYTE2): New inline function.
5085 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5086 `XCHARSET_GET_BYTE2'.
5088 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5090 * mule-charset.c (make_charset): Initialize
5091 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5092 NULL if table is not defined.
5094 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5096 * text-coding.c (char_encode_shift_jis): Use
5097 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5098 `ucs_to_latin_jisx0201'.
5100 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5101 (ucs_to_latin_iso8859_2): Deleted.
5102 (ucs_to_latin_iso8859_3): Deleted.
5103 (ucs_to_latin_iso8859_4): Deleted.
5104 (ucs_to_latin_iso8859_9): Deleted.
5105 (ucs_to_latin_viscii_lower): Deleted.
5106 (ucs_to_latin_viscii_upper): Deleted.
5107 (ucs_to_latin_tcvn5712): Deleted.
5108 (make_charset): Add new argument `decoding_table'; set up
5109 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5110 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5111 `decoding_table' is defined in UTF-2000.
5112 (Fmake_charset): Modify for `make_charset'.
5113 (Fmake_reverse_direction_charset): Likewise.
5114 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5115 and `GENERATE_96_SET'.
5117 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5118 (ucs_to_latin_jisx0201): Deleted.
5119 (latin_iso8859_2_to_ucs): Deleted.
5120 (ucs_to_latin_iso8859_2): Deleted.
5121 (latin_iso8859_3_to_ucs): Deleted.
5122 (ucs_to_latin_iso8859_3): Deleted.
5123 (latin_iso8859_4_to_ucs): Deleted.
5124 (ucs_to_latin_iso8859_4): Deleted.
5125 (latin_iso8859_9_to_ucs): Deleted.
5126 (ucs_to_latin_iso8859_9): Deleted.
5127 (latin_viscii_lower_to_ucs): Deleted.
5128 (ucs_to_latin_viscii_lower): Deleted.
5129 (latin_viscii_upper_to_ucs): Deleted.
5130 (ucs_to_latin_viscii_upper): Deleted.
5131 (struct Lisp_Charset): Renamed `encoding_table' to
5132 `to_byte1_table'; add `to_byte2_table'.
5133 (CHARSET_DECODING_TABLE): New macro.
5134 (CHARSET_TO_BYTE1_TABLE): New macro.
5135 (CHARSET_TO_BYTE2_TABLE): New macro.
5136 (XCHARSET_DECODING_TABLE): New macro.
5137 (XCHARSET_TO_BYTE1_TABLE): New macro.
5138 (XCHARSET_TO_BYTE2_TABLE): New macro.
5139 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5141 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5142 don't use `ucs_to_*' tables.
5144 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5146 * text-coding.c (Fmake_coding_system): Don't set up
5147 `codesys->fixed.size'.
5148 (encode_coding_no_conversion): Use `if' instead of `switch'.
5150 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5152 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5154 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5155 (Fmake_charset): Modify for `make_charset'.
5156 (Fmake_reverse_direction_charset): Likewise.
5157 (complex_vars_of_mule_charset): Likewise.
5159 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5161 * text-coding.c (char_encode_shift_jis): Use table
5162 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5164 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5166 * text-coding.c (text_encode_generic): Use `if' instead of
5168 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5171 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5173 * text-coding.c (encode_coding_sjis): Deleted.
5174 (char_encode_shift_jis): New function.
5175 (char_finish_shift_jis): New function.
5176 (reset_encoding_stream): Set up `encode_char' and `finish' for
5177 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5178 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5179 (char_encode_utf8): Treat `eol_type'.
5181 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5183 * file-coding.c (decode_coding_iso2022): Use
5184 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5186 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5188 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5191 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5193 * char-lb.h (CHAR_COLUMNS): New macro.
5195 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5197 * text-coding.c (char_encode_ucs4): New function.
5198 (char_finish_ucs4): New function.
5199 (encode_coding_ucs4): Deleted.
5200 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5201 (text_encode_generic): Delete local variable `charset' and `half'.
5202 (ucs_to_mule_table): Deleted.
5203 (mule_to_ucs_table): Deleted.
5204 (Fset_ucs_char): Deleted.
5205 (ucs_to_char): Deleted.
5206 (Fucs_char): Deleted.
5207 (Fset_char_ucs): Deleted.
5208 (Fchar_ucs): Deleted.
5209 (decode_ucs4): Deleted.
5210 (mule_char_to_ucs4): Deleted.
5211 (encode_ucs4): Deleted.
5212 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5213 (decode_coding_utf8): Likewise.
5214 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5215 (char_encode_iso2022): Fixed.
5216 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5217 `Fset_char_ucs' and `Fchar_ucs'.
5218 (complex_vars_of_file_coding): Don't initialize
5219 `ucs_to_mule_table'.
5221 * objects-tty.c (tty_initialize_font_instance): Don't use
5224 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5227 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5228 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5230 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5231 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5232 (emchar_string_displayed_columns): Likewise.
5234 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5235 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5236 (string_column_at_point): Likewise.
5237 (Fmove_to_column): Likewise.
5239 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5240 `encoding_table' and `decoding_table'.
5241 (CHARSET_REP_BYTES): Deleted.
5242 (XCHARSET_REP_BYTES): Deleted.
5243 (XCHARSET_COLUMNS): Deleted.
5244 (CHAR_COLUMNS): New macro.
5245 (lookup_composite_char): Deleted unconditionally.
5246 (composite_char_string): Likewise.
5248 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5250 * char-ucs.h (Emchar_to_byte_table): New type.
5251 (get_byte_from_character_table): New function interface.
5252 (Vcharset_latin_jisx0201): New variable.
5253 (latin_jisx0201_to_ucs): New variable.
5254 (ucs_to_latin_jisx0201): New variable.
5255 (Vcharset_latin_iso8859_2): New variable.
5256 (latin_iso8859_2_to_ucs): New variable.
5257 (ucs_to_latin_iso8859_2): New variable.
5258 (Vcharset_latin_iso8859_3): New variable.
5259 (latin_iso8859_3_to_ucs): New variable.
5260 (ucs_to_latin_iso8859_3): New variable.
5261 (Vcharset_latin_iso8859_4): New variable.
5262 (latin_iso8859_4_to_ucs): New variable.
5263 (ucs_to_latin_iso8859_4): New variable.
5264 (Vcharset_latin_iso8859_9): New variable.
5265 (latin_iso8859_9_to_ucs): New variable.
5266 (ucs_to_latin_iso8859_9): New variable.
5267 (Vcharset_latin_viscii_lower): New variable.
5268 (latin_viscii_lower_to_ucs): New variable.
5269 (ucs_to_latin_viscii_lower): New variable.
5270 (Vcharset_latin_viscii_upper): New variable.
5271 (latin_viscii_upper_to_ucs): New variable.
5272 (ucs_to_latin_viscii_upper): New variable.
5273 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5274 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5275 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5276 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5277 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5278 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5279 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5280 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5281 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5282 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5284 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5285 (Vcharset_latin_viscii_upper): New variable.
5286 (make_byte_from_character_table): New function.
5287 (put_byte_from_character_table): New function.
5288 (get_byte_from_character_table): New function.
5289 (CHAR96): New macro.
5290 (ucs_to_latin_jisx0201): New variable.
5291 (latin_jisx0201_to_ucs): New variable.
5292 (ucs_to_latin_iso8859_2): New variable.
5293 (latin_iso8859_2_to_ucs): New variable.
5294 (ucs_to_latin_iso8859_3): New variable.
5295 (latin_iso8859_3_to_ucs): New variable.
5296 (ucs_to_latin_iso8859_4): New variable.
5297 (latin_iso8859_4_to_ucs): New variable.
5298 (ucs_to_latin_iso8859_9): New variable.
5299 (latin_iso8859_9_to_ucs): New variable.
5300 (ucs_to_latin_viscii_lower): New variable.
5301 (latin_viscii_lower_to_ucs): New variable.
5302 (ucs_to_latin_viscii_upper): New variable.
5303 (latin_viscii_upper_to_ucs): New variable.
5304 (ucs_to_latin_tcvn5712): New variable.
5305 (latin_tcvn5712_to_ucs): New variable.
5306 (Qlatin_viscii_lower): New variable.
5307 (Qlatin_viscii_upper): New variable.
5308 (syms_of_mule_charset): Set up new symbol
5309 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5310 (complex_vars_of_mule_charset): Set up new charset
5311 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5312 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5313 `ucs_to_<CHARSET>' tables.
5315 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5317 * text-coding.c: New file.
5319 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5321 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5323 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5324 (MAKE_CHAR): Modify for `ucs-bmp'.
5325 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5326 non-MULE characters of BMP.
5328 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5330 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5333 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5336 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5337 - Include character.h for `CHAR_ASCII_P'.
5339 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5341 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5342 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5344 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5345 (BYTE_C0_P): Likewise.
5346 (BYTE_C1_P): Likewise.
5347 (Lstream_get_emchar_1): Likewise.
5348 (Lstream_fput_emchar): Likewise.
5349 (Lstream_funget_emchar): Likewise.
5350 (copy_internal_to_external): Likewise.
5351 (copy_external_to_internal): Likewise.
5353 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5354 (BYTE_C0_P): Likewise.
5355 (BYTE_C1_P): Likewise.
5356 (Lstream_get_emchar_1): Likewise.
5357 (Lstream_fput_emchar): Likewise.
5358 (Lstream_funget_emchar): Likewise.
5359 (copy_internal_to_external): Likewise.
5360 (copy_external_to_internal): Likewise.
5362 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5363 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5365 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5366 (BYTE_ASCII_P): Moved to mb-1byte.h.
5368 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5370 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5372 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5373 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5374 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5375 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5376 (VALIDATE_CHARPTR_FORWARD): Likewise.
5377 (simple_charptr_emchar): Moved to mb-multibyte.h.
5378 (simple_set_charptr_emchar): Likewise.
5379 (simple_charptr_copy_char): Likewise.
5380 (non_ascii_charptr_emchar): Likewise.
5381 (non_ascii_set_charptr_emchar): Likewise.
5382 (non_ascii_charptr_copy_char): Likewise.
5383 (charptr_emchar): Moved to mb-*byte.h.
5384 (set_charptr_emchar): Likewise.
5385 (charptr_copy_char): Likewise.
5387 * mb-1byte.h, mb-multibyte.h: New files.
5389 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5391 * mb-utf-8.h (MULTIBYTE): New macro.
5392 (MAX_EMCHAR_LEN): Moved from buffer.h.
5393 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5395 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5397 * mb-lb.h, multibyte.h: New files.
5399 * char-1byte.h (Charset_ID): Moved from buffer.h.
5400 (MIN_LEADING_BYTE): Likewise.
5401 (LEADING_BYTE_ASCII): Likewise.
5402 (NUM_LEADING_BYTES): Likewise.
5403 (CHARSETP): Likewise.
5404 (CHARSET_BY_LEADING_BYTE): Likewise.
5405 (XCHARSET_LEADING_BYTE): Likewise.
5406 (XCHARSET_GRAPHIC): Likewise.
5407 (XCHARSET_COLUMNS): Likewise.
5408 (XCHARSET_DIMENSION): Likewise.
5409 (CHAR_CHARSET): Likewise.
5410 (CHAR_LEADING_BYTE): Likewise.
5411 (BREAKUP_CHAR): Likewise.
5412 (Vcharset_ascii): Likewise.
5414 * buffer.h: Include multibyte.h unconditionally.
5415 (VALID_CHARPTR_P): Moved to multibyte.h.
5416 (ASSERT_VALID_CHARPTR): Likewise.
5417 (REAL_INC_CHARPTR): Likewise.
5418 (REAL_INC_CHARBYTIND): Likewise.
5419 (REAL_DEC_CHARPTR): Likewise.
5420 (INC_CHARPTR): Likewise.
5421 (INC_CHARBYTIND): Likewise.
5422 (DEC_CHARPTR): Likewise.
5423 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5424 (VALIDATE_CHARPTR_FORWARD): Likewise.
5425 (charptr_n_addr): Likewise.
5426 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5427 (simple_charptr_emchar): Moved to multibyte.h.
5428 (simple_set_charptr_emchar): Likewise.
5429 (simple_charptr_copy_char): Likewise.
5430 (non_ascii_charptr_emchar): Likewise.
5431 (non_ascii_set_charptr_emchar): Likewise.
5432 (non_ascii_charptr_copy_char): Likewise.
5433 (charptr_emchar): Likewise.
5434 (set_charptr_emchar): Likewise.
5435 (charptr_copy_char): Likewise.
5436 (charptr_emchar_n): Likewise.
5437 (Charset_ID): Moved to char-1byte.h.
5438 (Vcharset_ascii): Likewise.
5439 (CHAR_CHARSET): Likewise.
5440 (CHAR_LEADING_BYTE): Likewise.
5441 (LEADING_BYTE_ASCII): Likewise.
5442 (NUM_LEADING_BYTES): Likewise.
5443 (MIN_LEADING_BYTE): Likewise.
5444 (CHARSETP): Likewise.
5445 (CHARSET_BY_LEADING_BYTE): Likewise.
5446 (XCHARSET_LEADING_BYTE): Likewise.
5447 (XCHARSET_GRAPHIC): Likewise.
5448 (XCHARSET_COLUMNS): Likewise.
5449 (XCHARSET_DIMENSION): Likewise.
5450 (BREAKUP_CHAR): Likewise.
5452 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5454 * character.h: Add document about interface for characters.
5456 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5457 (MAKE_CHAR): Delete comment about
5458 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5459 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5460 (BREAKUP_CHAR): Modify name of arguments.
5461 (CHAR_CHARSET): Modify name of argument.
5463 * buffer.h: Delete document about Emchar accessors.
5465 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5467 * character.h (CHAR_INTP): Moved from buffer.h
5468 (CHAR_OR_CHAR_INTP): Likewise.
5469 (XCHAR_OR_CHAR_INT): Likewise.
5470 (CHECK_CHAR_COERCE_INT): Likewise.
5472 * buffer.h (CHAR_INTP): Moved to character.h
5473 (CHAR_OR_CHAR_INTP): Likewise.
5474 (XCHAR_OR_CHAR_INT): Likewise.
5475 (CHECK_CHAR_COERCE_INT): Likewise.
5477 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5480 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5481 - Include char-1byte.h, char-lb.h or char-ucs.h.
5483 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5485 * buffer.h: Include character unconditionally.
5486 (valid_char_p): Moved to char-*.h.
5487 (non_ascii_valid_char_p): Moved to char-lb.h.
5489 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5491 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5493 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5494 in UTF-2000 because it is not ported yet and not to use
5495 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5496 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5497 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5499 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5500 (CHAR_ASCII_P): Moved from character.h.
5502 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5503 (CHAR_ASCII_P): Likewise.
5504 (CHAR_FIELD1_MASK): Deleted.
5505 (CHAR_FIELD2_MASK): Deleted.
5506 (CHAR_FIELD3_MASK): Deleted.
5507 (MAX_CHAR_BASIC_LATIN): New macro.
5508 (CHAR_FIELD1): Deleted.
5509 (CHAR_FIELD2_INTERNAL): Deleted.
5510 (CHAR_FIELD3_INTERNAL): Deleted.
5511 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5512 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5513 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5514 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5515 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5516 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5517 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5518 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5519 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5520 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5521 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5522 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5523 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5524 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5525 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5526 (MIN_CHAR_COMPOSITION): Deleted.
5527 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5528 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5530 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5532 * buffer.h: Include mb-utf-8.h in UTF-2000.
5534 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5536 * mb-utf-8.h: New file.
5538 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5540 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5543 * mule-charset.h, buffer.h (Charset_ID): New type.
5545 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5547 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5548 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5549 instead of `MULE_CHAR_PRIVATE_OFFSET',
5550 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5551 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5552 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5554 * character.h (Vcharset_japanese_jisx0212): New variable
5557 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5559 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5560 (charset_by_attributes): Delete array about direction.
5561 (latin_a_char_to_charset): New variable in UTF-2000.
5562 (latin_a_char_to_byte1): New variable in UTF-2000.
5563 (latin_a_char_to_byte2): New variable in UTF-2000.
5564 (Qucs_bmp): New variable.
5565 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5567 (next_allocated_2_byte_leading_byte): Likewise.
5568 (non_ascii_set_charptr_emchar): Likewise.
5569 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5570 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5571 `charset_by_attributes'.
5572 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5573 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5574 and `CHARSET_BY_LEADING_BYTE'.
5575 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5576 `utf-2000-version' to `vars_of_mule_charset'.
5577 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5578 define `leading-code-private-11' in UTF-2000; move setting of
5579 `utf-2000-version' from `syms_of_mule_charset'.
5580 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5583 * character.h (Charset_ID): New type.
5584 (LEADING_BYTE_UCS_BMP): New macro.
5585 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5586 (CHARSET_ID_OFFSET_94): New macro.
5587 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5588 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5589 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5591 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5592 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5593 (CHARSET_ID_OFFSET_96): New macro.
5594 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5595 CHARSET_ID_OFFSET_96 and final-byte.
5596 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5597 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5598 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5599 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5600 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5601 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5602 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5603 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5604 (LEADING_BYTE_THAI_TIS620): Likewise.
5605 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5606 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5607 (CHARSET_ID_OFFSET_94x94): New macro.
5608 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5609 CHARSET_ID_OFFSET_94x94 and final-byte.
5610 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5611 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5612 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5613 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5614 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5615 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5616 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5617 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5618 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5619 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5620 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5621 (CHARSET_TYPE_128X128): New macro.
5622 (CHARSET_TYPE_256X256): New macro.
5623 (XCHARSET_PRIVATE_P): Delete unconditionally.
5624 (charset_by_attributes): Delete array about direction.
5625 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5626 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5627 (MIN_CHAR_94): New macro.
5628 (MAX_CHAR_94): New macro.
5629 (MIN_CHAR_96): New macro.
5630 (MAX_CHAR_96): New macro.
5631 (MIN_CHAR_94x94): New macro.
5632 (MAX_CHAR_94x94): New macro.
5633 (MIN_CHAR_96x96): New macro.
5634 (MAX_CHAR_96x96): New macro.
5635 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5636 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5637 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5639 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5640 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5641 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5642 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5643 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5644 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5645 `XCHARSET_LEADING_BYTE' to make code-point.
5646 (latin_a_char_to_charset): New variable.
5647 (latin_a_char_to_byte1): New variable.
5648 (latin_a_char_to_byte2): New variable.
5649 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5650 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5651 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5653 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5654 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5655 (find_charsets_in_emchar_string): Likewise.
5656 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5658 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5660 (decode_coding_iso2022): Likewise.
5662 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5665 * redisplay.c (redisplay_text_width_emchar_string): Use
5666 `Charset_ID' instead of `unsigned char'.
5667 (redisplay_frame_text_width_string): Likewise.
5669 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5672 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5673 instead of `unsigned char'.
5674 (face_cachel_charset_font_metric_info): Likewise.
5676 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5677 (get_non_ascii_char_table_value): Likewise.
5678 (get_char_table): Likewise.
5679 (put_char_table): Likewise.
5680 (map_over_other_charset): Likewise.
5681 (map_char_table): Likewise.
5683 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5684 instead of `unsigned char'.
5686 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5688 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5689 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5691 * mule-charset.c (leading_code_private_11): Don't define in
5694 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5695 in UTF-2000 because it is not ported yet and not to use
5696 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5698 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5700 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5702 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5704 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5707 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5708 of unsigned char to store leading-byte.
5710 * chartab.c (get_non_ascii_char_table_value): Don't use
5711 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5713 * file-coding.c (encode_coding_big5): Delete bogus implementation
5716 * character.h (LEADING_BYTE_*): Delete definition for
5718 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5719 (LEADING_BYTE_PREFIX_P): Deleted.
5720 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5721 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5722 (BUFBYTE_LEADING_BYTE_P): Deleted.
5723 (CHARSET_PRIVATE_P): Deleted unconditionally.
5724 (rep_bytes_by_first_byte): Deleted unconditionally.
5725 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5726 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5727 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5728 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5729 (CHAR_FIELD2): Deleted.
5730 (CHAR_FIELD3): Deleted.
5731 (MAKE_CHAR): Delete definition for non-UTF-2000.
5732 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5733 (breakup_char_1): New implementation.
5734 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5735 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5737 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5739 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5742 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5744 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5745 (CHARSET_PRIVATE_P): Likewise.
5746 (XCHARSET_PRIVATE_P): Likewise.
5747 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5749 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5751 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5753 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5755 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5756 (NUM_LEADING_BYTES): Changed from 128 to 256.
5757 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5758 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5760 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5762 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5764 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5765 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5766 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5767 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5768 (Qchinese_cns11643_3): New variable in UTF2000.
5769 (Qchinese_cns11643_4): New variable in UTF2000.
5770 (Qchinese_cns11643_5): New variable in UTF2000.
5771 (Qchinese_cns11643_6): New variable in UTF2000.
5772 (Qchinese_cns11643_7): New variable in UTF2000.
5773 (syms_of_mule_charset): Define `chinese-cns11643-3',
5774 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5775 and `chinese-cns11643-7' in UTF2000.
5776 (vars_of_mule_charset): Initialize
5777 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5779 (complex_vars_of_mule_charset): Setup charset
5780 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5781 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5783 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5785 * mule-charset.c: Move setting for `leading-code-private-11' from
5786 `syms_of_mule_charset' to `vars_of_mule_charset'.
5788 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5790 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5791 and `NUM_LEADING_BYTES' in assert.
5793 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5795 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5797 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5798 `NUM_LEADING_BYTES' instead of 128.
5800 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5802 * mule-charset.h (charset_by_leading_byte): Use
5803 `NUM_LEADING_BYTES' instead of 128.
5804 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5806 * mule-charset.c (charset_by_leading_byte): Use
5807 `NUM_LEADING_BYTES' instead of 128.
5808 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5810 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5813 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5815 * mule-charset.c (syms_of_mule_charset): Update to
5818 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5820 * file-coding.c (encode_coding_sjis): New implementation for
5821 UTF2000. (decode_coding_sjis): Ditto.
5823 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5825 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5826 Don't define in UTF2000.
5828 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5831 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5832 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5835 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5837 * config.h.in (CHAR_IS_UCS4): New macro.
5839 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5840 conventional MULE representation.
5841 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5843 * mule-charset.h: Reverted to original.
5845 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5846 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5847 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5849 * character.h: New file.
5851 * file-coding.c (Fmake_coding_system): Set 1 to
5852 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5854 (encode_coding_no_conversion): New implementation for UTF2000.
5856 * file-coding.h (struct Lisp_Coding_System): Add new member
5859 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5861 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5862 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5863 (encode_coding_iso2022): New implementation for UTF2000.
5865 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5867 * mule-canna.c (c2mu): New implementation for UTF2000.
5870 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5872 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5874 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5876 * file-coding.c (reset_encoding_stream): Set 0 to
5877 `str->iso2022.current_char_boundary' in UTF2000.
5878 (encode_utf8): Don't define in UTF2000.
5879 (encode_coding_utf8): New implementation for UTF-8 representation
5881 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5883 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5885 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5887 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5889 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5891 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5893 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5894 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5895 as UTF-8 in UTF2000.
5896 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5897 (non_ascii_valid_char_p): Don't define in UTF2000.
5898 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5899 (Lstream_get_emchar_1): Likewise.
5900 (utf-2000-version): New variable in UTF2000.
5902 * lread.c (read_escape): Add new reader `u'.
5904 * insdel.c (three_to_one_table): Don't define in UTF2000.
5905 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5906 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5908 (bytind_to_bufpos_func): Likewise.
5909 (buffer_mule_signal_inserted_region): Likewise.
5910 (vars_of_insdel): Don't initialize `three_to_one_table'.
5911 (init_buffer_text): Use `buf->text->mule_size' instead of
5912 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5915 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5916 UTF-8 representation in UTF2000.
5917 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5918 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5919 (decode_coding_iso2022): Don't define local variable `lb' in
5920 UTF2000; don't use LEADING_BYTE in UTF2000; use
5921 `DECODE_ADD_UCS_CHAR' in UTF2000.
5922 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5924 * config.h.in (UTF2000): New macro.
5926 * buffer.h (struct buffer_text): Add new member `mule_size' and
5927 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5928 (valid_char_p): Return always 1 in UTF2000.
5929 (MAX_EMCHAR_LEN): 6 in UTF2000.
5930 (three_to_one_table): Don't define in UTF2000.
5931 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5933 (real_bytind_to_bufpos): Likewise.
5935 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5937 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5939 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5940 representation change.
5941 (Vutf_2000_version): New variable.
5942 (leading_code_private_11): New variable.
5943 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5944 `leading-code-private-11'.
5946 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5947 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5948 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5949 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5950 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5951 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5952 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5953 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5954 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5955 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5956 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5957 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5958 (MIN_CHAR_GREEK): New macro.
5959 (MAX_CHAR_GREEK): New macro.
5960 (MIN_CHAR_CYRILLIC): New macro.
5961 (MAX_CHAR_CYRILLIC): New macro.
5962 (MIN_CHAR_HEBREW): New macro.
5963 (MAX_CHAR_HEBREW): New macro.
5964 (MIN_CHAR_THAI): New macro.
5965 (MAX_CHAR_THAI): New macro.
5966 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5967 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5968 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5969 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5970 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5971 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5972 (CHAR_FIELD2): New inline function.
5973 (CHAR_FIELD3): New inline function.
5974 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5975 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5976 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5977 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5978 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5979 (MIN_CHAR_COMPOSITION): Likewise.
5980 (CHAR_LEADING_BYTE): Modified for character representation change.
5981 (MAKE_CHAR): Likewise.
5983 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5984 (Vcharset_greek_iso8859_7): Likewise.
5985 (Vcharset_cyrillic_iso8859_5): Likewise.
5986 (Vcharset_hebrew_iso8859_8): Likewise.
5987 (Vcharset_thai_tis620): Likewise.
5988 (Vcharset_katakana_jisx0201): Likewise.
5990 2008-12-28 Vin Shelton <acs@xemacs.org>
5992 * XEmacs 21.4.22 is released
5994 2008-12-27 Vin Shelton <acs@xemacs.org>
5996 * syswindows.h: Don't define wide character interfaces for Cygwin
5999 2008-03-05 Dominique Quatravaux <domq@cpan.org>
6001 * glyphs-gtk.c: Fixed compilation under gcc 4.x.
6003 2008-11-01 Stephen J. Turnbull <stephen@xemacs.org>
6005 * regex.c (re_search_2): Fix at_dot by changing charpos to bytepos.
6006 From Julian Bradfield <18654.1143.304851.782755@krk.inf.ed.ac.uk>.
6008 2008-12-25 Vin Shelton <acs@xemacs.org>
6010 * mule-ccl.c (ccl_driver): Fix off-by-one error.
6011 By Julian Bradfield in
6012 <18691.16568.526264.972026@krk.inf.ed.ac.uk>.
6014 * mule-ccl.c (ccl_driver):
6016 2007-10-07 Vin Shelton <acs@xemacs.org>
6018 * XEmacs 21.4.21 is released
6020 2007-08-14 Marcus Crestani <crestani@xemacs.org>
6022 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
6024 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
6026 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
6027 (png_instantiate): Initialize setjmp_buffer early, and avoid
6028 recursive entry to error handler.
6030 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
6032 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
6035 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
6037 * event-Xt.c (x_reset_modifier_mapping):
6038 * event-gtk.c (gtk_reset_modifier_mapping):
6039 Zero out the device's modifier map once we've freed it, to prevent
6040 a double free on a re-entrant call.
6042 2007-05-17 Vin Shelton <acs@xemacs.org>
6044 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
6045 64-bit linux. Patch from Hans de Graaff.
6047 2007-05-02 Vin Shelton <acs@xemacs.org>
6049 * dumper.c (pdump): Don't close pdump_fd (already closed by
6050 fclose() call. Patch from Steve Higham.
6051 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
6052 already closed. Patch inspired by Steve Higham.
6054 2007-05-01 Vin Shelton <acs@xemacs.org>
6056 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
6057 (mswindows_fstat): Ditto.
6058 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
6060 2007-02-08 Adrian Aichner <adrian@xemacs.org>
6062 * postgresql.c: Update Steve Baur's email address by his request.
6063 * postgresql.h: Ditto.
6065 2007-01-04 Vin Shelton <acs@xemacs.org>
6067 * fileio.c (check_writable): Check old-style readonly bit only for
6070 2006-12-25 Benson I. Margulies <benson@dchbk.us>
6072 * src/fileio.c (check_writable):
6073 Cope with the fact that the read-only attribute trumps Windows NTFS
6077 2006-12-09 Vin Shelton <acs@xemacs.org>
6079 * XEmacs 21.4.20 is released
6081 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
6083 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
6084 relocated the definitions to be used sooner in file.
6085 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
6086 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
6089 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6091 * sound.c (init_native_sound):
6092 Only X11 and GTK devices can possibly not be on the console of the
6093 associated machine. Fixes a crash when init_native_sound is called
6094 on a msprinter device.
6096 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6098 * buffer.c (buffer-file-name): Document invariant.
6099 (buffer-file-truename): Sync wording to buffer-file-name.
6100 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6103 2006-11-19 Benson Margulies <benson@dchbk.us>
6105 * fileio.c: Add code to use full Win32 API to check for write
6106 access. Win32 has the general design policy that you aren't
6107 supposed to ask this question, since security checks change
6108 depending on asynchronous processes. Nonetheless, there is a way,
6109 by acting as if we are a server doing interpretive access
6112 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6114 * bytecode.c: Use xnew_array instead of alloca.
6116 2006-07-04 Vin Shelton <acs@xemacs.org>
6118 * redisplay-msw.c: Fix tiny, but crucial typo.
6120 2006-06-22 Jerry James <james@xemacs.org>
6122 * EmacsShell-sub.c (ChangeManaged):
6123 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6125 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6126 checking if it is NULL. Also fix a memory leak.
6127 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6128 dereference it, not the other way around.
6129 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6131 * dumper.c (pdump_register_struct): Ditto.
6132 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6133 to (short) warnpath overflow warnpath.
6134 * extents.c (detach_all_extents): Call extent_list_delete_all with
6135 a non-NULL parameter only.
6136 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6137 NULL width and height.
6138 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6139 xic before checking if they are NULL.
6140 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6142 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6143 * nas.c (Err): Fix a memory leak.
6144 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6145 Don't create the buffer if there is nothing to do.
6146 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6147 * redisplay-output.c (redisplay_output_layout): Ditto.
6148 * redisplay-tty.c (tty_output_display_block): Ditto.
6149 * redisplay-x.c (x_output_display_block): Ditto.
6150 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6151 dereference instance->scrollbar_data if it is NULL.
6152 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6153 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6154 for sb->scrollbar_data.
6155 * sound.c (init_native_sound): Avoid a buffer overflow by
6156 allocating a buffer with the appropriate size.
6158 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6160 * EmacsShell-sub.c (RootGeometryManager):
6161 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6162 Based on a suggestion by Francois L'Archeveque.
6164 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6166 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6167 current values found in GNU Emacs.
6169 2006-03-17 Vin Shelton <acs@xemacs.org>
6171 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6172 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6174 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6175 'hex_initialized' because it conflicts with 'initialized' in
6178 2006-01-28 Vin Shelton <acs@xemacs.org>
6180 * XEmacs 21.4.19 is released
6182 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6184 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6186 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6188 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6191 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6193 * database.c: Suppress compiler warning under Cygwin.
6194 * database.c: Removed __FreeBSD__ check, should be handled by
6195 HAVE_U_xxx_T defines.
6197 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6199 * console.c (stuff_buffered_input): Compile body only if
6202 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6204 * callproc.c: #include sysdir.h, so that any appropriate Mule
6205 magic happens with the chdir() call when calling a subprocess.
6207 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6209 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6210 * mule-ccl.c: Check that a character set exists before using it
6211 to create a character.
6213 2005-12-06 Vin Shelton <acs@xemacs.org>
6215 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6218 2005-12-03 Vin Shelton <acs@xemacs.org>
6220 * XEmacs 21.4.18 is released
6222 2005-11-27 Kean Johnston <kean@armory.com>
6224 * redisplay-tty.c (set_tty_modes):
6225 (reset_tty_modes): disable auto-margins if the terminal supports
6227 (init_tty_for_redisplay): fix cursor shape.
6229 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6231 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6232 for control-1 characters properly, both when reading multibyte
6233 characters and writing them.
6235 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6237 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6238 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6239 were seeing with incremental selection transfer failing.
6241 2005-11-26 Vin Shelton <acs@xemacs.org>
6243 * callproc.c (Fold_call_process_internal): Create the buffer if it
6244 does not already exist. The original patch came from Ben Wing in
6245 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6247 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6249 * callproc.c: Process-related docstring improvements spurred by
6252 2005-11-25 Vin Shelton <acs@xemacs.org>
6254 * depend: Regenerated.
6256 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6258 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6259 says it clashes with a global with the same name.
6261 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6263 * sysdll.c (dll_open): Under MacOS X return NULL under the
6264 filename is NULL. Fixes problems finding local symbols under 10.4
6267 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6269 * config.h.in: New HAVE_U_INT*_T defines.
6271 * database.c: Only use u_int*_t typedefs if not already
6274 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6276 * src/process-unix.c (unix_open_network_stream): moved
6277 'portbuf' buffer out of an inner block as it is used in the
6278 entire function. With gcc4, the stack may get corrupted
6279 after leaving this block. This patches adjusts the size of
6280 the used buffer also; static '128' bytes are far too much
6281 currently and might not suffice for future architectures
6282 (e.g. for 512 bit ones ;)). Instead of, use only the really
6283 required space (max octets * ln(256)/ln(10) chars + space
6284 for '\0' and the sign)
6286 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6288 * callproc.c: Include sysdir.h, so any necessary Mule processing
6289 is done on the current directory name before starting a new
6292 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6294 * chartab.c (Fchar_table_p):
6295 (Fget_range_char_table):
6298 Describe range representation and fix typo.
6300 2005-02-12 Vin Shelton <acs@xemacs.org>
6302 * emacs.c (shut_down_emacs): Advise users to send email to the
6303 xemacs-beta list instead of crashes@xemacs.org.
6305 2005-02-03 David Evers <extsw@appliedgenerics.com>
6307 * process-unix.c (unix_send_process): Flush the last chunk, even
6308 when the pipe is blocked.
6310 2005-02-06 Vin Shelton <acs@xemacs.org>
6312 * XEmacs 21.4.17 is released
6314 2005-01-31 Ben Wing <ben@xemacs.org>
6317 Define assert_failed() always.
6319 Always define ABORT().
6321 2005-01-25 Ben Wing <ben@xemacs.org>
6324 * Makefile.in.in (%.o):
6325 Don't compile executable as Windows (-mwindows) under Cygwin.
6326 Semi-recent changes to Cygwin's executable-startup handling make
6327 it impossible to access the TTY this way.
6329 Don't use special linker file under Cygwin (cygwin.sc) except
6330 when non-PDUMP (even in this case it is highly questionable); you
6333 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6334 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6336 2005-01-29 Ben Wing <ben@xemacs.org>
6338 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6340 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6342 2005-01-29 Ben Wing <ben@xemacs.org>
6344 * bytecode.c (optimize_compiled_function):
6346 * print.c (long_to_string):
6347 Add casts to avoid warning.
6350 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6351 #### The better solution is to move the TIFF and JPEG code to
6354 * glyphs-msw.c (mswindows_xbm_instantiate):
6355 Define __STDC__ to avoid problems with compface.h.
6357 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6359 * EmacsShell-sub.c (ABORT):
6360 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6361 * EmacsShell-sub.c (RootGeometryManager):
6363 * EmacsShell.c (ABORT):
6364 * EmacsShell.c (EmacsShellUpdateSizeHints):
6365 * alloc.c (free_lcrecord):
6366 * alloca.c (i00afunc):
6367 * buffer.c (delete_from_buffer_alist):
6368 * buffer.c (MARKED_SLOT):
6369 * bytecode.c (execute_rare_opcode):
6370 * bytecode.c (optimize_byte_code):
6371 * bytecode.c (Ffetch_bytecode):
6372 * chartab.c (char_table_type_to_symbol):
6373 * chartab.c (Freset_char_table):
6374 * chartab.c (decode_char_table_range):
6375 * chartab.c (Fget_range_char_table):
6376 * chartab.c (check_valid_char_table_value):
6377 * chartab.c (map_char_table):
6378 * chartab.c (slow_map_char_table_fun):
6379 * chartab.c (chartab_instantiate):
6380 * cm.c (cmcheckmagic):
6381 * console-msw.c (DHEADER):
6382 * console.c (MARKED_SLOT):
6383 * data.c (finish_marking_weak_lists):
6384 * data.c (encode_weak_list_type):
6385 * debug.h (DASSERT):
6386 * device-gtk.c (gtk_init_device):
6387 * device-msw.c (mswindows_get_default_margin):
6388 * device-tty.c (tty_init_device):
6389 * device-x.c (get_device_from_display):
6390 * device-x.c (x_get_visual_depth):
6391 * doprnt.c (parse_doprnt_spec):
6392 * doprnt.c (get_doprnt_args):
6393 * dumper.c (pdump_get_indirect_count):
6394 * dumper.c (pdump_register_sub):
6395 * dumper.c (pdump_register_object):
6396 * dumper.c (pdump_register_struct):
6397 * dumper.c (pdump_dump_data):
6398 * dumper.c (pdump_reloc_one):
6399 * elhash.c (print_hash_table):
6400 * elhash.c (make_standard_lisp_hash_table):
6401 * elhash.c (hash_table_instantiate):
6403 * emacs.c (Fforce_debugging_signal):
6404 * emacs.c (sort_args):
6406 * emacs.c (assert_failed):
6407 * eval.c (throw_or_bomb_out):
6408 * eval.c (signal_1):
6411 * event-Xt.c (emacs_Xt_mapping_action):
6412 * event-Xt.c (Xt_process_to_emacs_event):
6414 * event-stream.c (check_event_stream_ok):
6415 * event-stream.c (Fadd_timeout):
6416 * event-stream.c (Fadd_async_timeout):
6417 * event-stream.c (Fdiscard_input):
6418 * event-stream.c (execute_internal_event):
6419 * event-stream.c (Frecent_keys):
6420 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6421 * event-stream.c (lookup_command_event):
6422 * event-unixoid.c (poll_fds_for_input):
6424 * events.c (mark_event):
6425 * events.c (event_equal):
6426 * events.c (event_hash):
6427 * events.c (Fmake_event):
6428 * events.c (Fdeallocate_event):
6429 * events.c (event_chain_find_previous):
6430 * events.c (event_to_character):
6431 * events.c (format_event_object):
6432 * events.c (Fevent_type):
6433 * events.c (event_pixel_translation):
6434 * events.c (Fevent_properties):
6435 * extents.c (extent_in_region_p):
6436 * extents.c (print_extent):
6437 * extents.c (process_extents_for_insertion_mapper):
6438 * extents.c (report_extent_modification_mapper):
6439 * extents.c (glyph_layout_to_symbol):
6440 * faces.c (face_validate):
6441 * file-coding.c (eol_type_to_symbol):
6442 * file-coding.c (subsidiary_coding_system):
6443 * file-coding.c (Fcoding_system_type):
6444 * file-coding.c (Fcoding_system_property):
6445 * file-coding.c (mule_decode):
6446 * file-coding.c (mule_encode):
6447 * file-coding.c (encode_coding_ucs4):
6448 * file-coding.c (encode_coding_utf8):
6449 * file-coding.c (parse_iso2022_esc):
6450 * file-coding.c (encode_coding_iso2022):
6455 * fns.c (Fbase64_encode_region):
6456 * fns.c (Fbase64_encode_string):
6457 * fns.c (Fbase64_decode_region):
6458 * fns.c (Fbase64_decode_string):
6459 * font-lock.c (find_context):
6460 * font-lock.c (context_to_symbol):
6461 * frame-gtk.c (gtk_set_frame_pointer):
6462 * frame-gtk.c (gtk_update_frame_external_traits):
6463 * frame-x.c (x_wm_mark_shell_size_user_specified):
6464 * frame-x.c (x_wm_mark_shell_position_user_specified):
6465 * frame-x.c (x_wm_set_shell_iconic_p):
6466 * frame-x.c (x_wm_set_cell_size):
6467 * frame-x.c (x_wm_set_variable_size):
6468 * frame-x.c (x_wm_store_class_hints):
6469 * frame-x.c (x_wm_maybe_store_wm_command):
6470 * frame-x.c (x_initialize_frame_size):
6471 * frame-x.c (x_update_frame_external_traits):
6473 * frame.c (delete_frame_internal):
6474 * frame.c (mouse_pixel_position_1):
6475 * frame.c (change_frame_size_1):
6476 * free-hook.c (check_free):
6477 * free-hook.c (check_realloc):
6478 * free-hook.c (note_block_input):
6479 * free-hook.c (log_gcpro):
6480 * gccache-gtk.c (gc_cache_lookup):
6481 * glyphs-eimage.c (tiff_memory_write):
6482 * glyphs-gtk.c (gtk_finalize_image_instance):
6483 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6484 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6485 * glyphs-gtk.c (gtk_xpm_instantiate):
6486 * glyphs-gtk.c (gtk_unmap_subwindow):
6487 * glyphs-gtk.c (gtk_map_subwindow):
6488 * glyphs-gtk.c (gtk_button_redisplay):
6490 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6491 * glyphs-x.c (init_image_instance_from_xbm_inline):
6492 * glyphs-x.c (extract_xpm_color_names):
6493 * glyphs-x.c (x_xpm_instantiate):
6494 * glyphs.c (get_image_instantiator_governing_domain):
6495 * glyphs.c (print_image_instance):
6496 * glyphs.c (image_instance_equal):
6497 * glyphs.c (image_instance_hash):
6498 * glyphs.c (encode_image_instance_type):
6499 * glyphs.c (make_image_instance_1):
6500 * glyphs.c (inherit_instantiate):
6501 * glyphs.c (image_instantiate):
6502 * glyphs.c (allocate_glyph):
6503 * glyphs.c (Fglyph_type):
6504 * glyphs.c (redisplay_subwindow):
6505 * glyphs.c (display_table_entry):
6506 * gtk-glue.c (xemacs_list_to_gtklist):
6507 * gtk-glue.c (xemacs_gtklist_to_list):
6508 * gtk-glue.c (xemacs_list_to_array):
6509 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6510 * gutter.c (gutter_was_visible):
6511 * gutter.c (get_gutter_coords):
6512 * input-method-xlib.c (get_XIM_input):
6513 * insdel.c (bufpos_to_bytind_func):
6514 * insdel.c (bytind_to_bufpos_func):
6515 * insdel.c (move_gap):
6516 * intl.c (x_get_composed_input):
6517 * keymap.c (keymap_lookup_directly):
6518 * keymap.c (keymap_delete_inverse_internal):
6519 * keymap.c (ensure_meta_prefix_char_keymapp):
6520 * keymap.c (accessible_keymaps_mapper_1):
6521 * keymap.c (where_is_recursive_mapper):
6524 * lread.c (read_atom):
6525 * lstream.c (Lstream_delete):
6526 * lstream.c (make_lisp_buffer_stream_1):
6527 * macros.c (pop_kbd_macro_event):
6528 * malloc.c (malloc):
6530 * marker.c (bi_marker_position):
6531 * marker.c (set_bi_marker_position):
6532 * menubar-gtk.c (menu_descriptor_to_widget_1):
6533 * menubar-msw.c (prune_menubar):
6534 * menubar-x.c (set_frame_menubar):
6535 * mule-charset.c (get_unallocated_leading_byte):
6536 * mule-charset.h (CHAR_LEADING_BYTE):
6537 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6538 * nt.c (init_environment):
6539 * nt.c (generate_inode_val):
6540 * ntproc.c (delete_child):
6541 * ntproc.c (_sys_read_ahead):
6542 * ntproc.c (create_child):
6543 * objects.c (color_instantiate):
6544 * objects.c (font_instantiate):
6545 * objects.c (face_boolean_instantiate):
6546 * print.c (printing_major_badness):
6547 * process-nt.c (nt_send_process):
6548 * process-unix.c (unix_send_process):
6549 * process.c (get_process):
6550 * ralloc.c (obtain):
6551 * ralloc.c (relinquish):
6552 * ralloc.c (relocate_blocs):
6553 * ralloc.c (resize_bloc):
6554 * ralloc.c (r_alloc_free):
6555 * ralloc.c (r_re_alloc):
6556 * ralloc.c (r_alloc_thaw):
6557 * ralloc.c (init_ralloc):
6558 * ralloc.c (Free_Addr_Block):
6559 * ralloc.c (r_alloc):
6560 * redisplay-gtk.c (gtk_output_display_block):
6561 * redisplay-msw.c (mswindows_output_display_block):
6562 * redisplay-output.c (get_next_display_block):
6563 * redisplay-output.c (get_cursor_size_and_location):
6564 * redisplay-output.c (redisplay_output_layout):
6565 * redisplay-output.c (redisplay_clear_region):
6566 * redisplay-tty.c (tty_output_display_block):
6567 * redisplay-x.c (x_output_display_block):
6568 * redisplay.c (add_propagation_runes):
6569 * redisplay.c (add_glyph_rune):
6570 * redisplay.c (create_text_block):
6571 * redisplay.c (add_margin_runes):
6572 * redisplay.c (create_left_glyph_block):
6573 * redisplay.c (create_right_glyph_block):
6574 * redisplay.c (create_string_text_block):
6575 * redisplay.c (regenerate_window):
6576 * redisplay.c (REGEN_INC_FIND_START_END):
6577 * redisplay.c (redisplay_frame):
6578 * redisplay.c (point_in_line_start_cache):
6581 * regex.c (re_compile_fastmap):
6582 * regex.c (re_match_2_internal):
6583 * regex.c (regerror):
6584 * scrollbar-gtk.c (gtk_scrollbar_loop):
6585 * scrollbar-gtk.c (scrollbar_cb):
6586 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6587 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6588 * scrollbar-x.c (x_update_scrollbar_instance_status):
6589 * scrollbar-x.c (x_scrollbar_loop):
6590 * scrollbar-x.c (x_update_frame_scrollbars):
6591 * search.c (search_command):
6592 * search.c (Fmatch_data):
6593 * select-x.c (motif_clipboard_cb):
6594 * signal.c (interrupt_signal):
6595 * specifier.c (specifier_add_spec):
6596 * specifier.c (specifier_instance_from_inst_list):
6597 * specifier.c (specifier_instance):
6599 * specifier.h (struct specifier_methods):
6600 * strftime.c (add_num_time_t):
6601 * sunplay.c (init_device):
6602 * symbols.c (Fsetplist):
6603 * symbols.c (do_symval_forwarding):
6604 * symbols.c (store_symval_forwarding):
6606 * symbols.c (Fbuilt_in_variable_type):
6607 * symbols.c (decode_magic_handler_type):
6608 * symbols.c (handler_type_from_function_symbol):
6609 * syntax.c (update_syntax_cache):
6610 * sysdep.c (init_baud_rate):
6611 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6612 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6613 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6614 * toolbar.c (get_toolbar_coords):
6615 * ui-gtk.c (build_gtk_boxed):
6616 * ui-gtk.c (describe_gtk_arg):
6617 * ui-gtk.c (gtk_type_to_lisp):
6618 * ui-gtk.c (lisp_to_gtk_type):
6619 * ui-gtk.c (lisp_to_gtk_ret_type):
6620 * ui-gtk.c (lisp_to_flag):
6621 * unexnt.c (read_in_bss):
6622 * unexnt.c (map_in_heap):
6623 * window.c (real_window):
6624 * window.c (window_display_lines):
6625 * window.c (window_display_buffer):
6626 * window.c (set_window_display_buffer):
6627 * window.c (window_modeline_height):
6628 * window.c (unshow_buffer):
6629 * window.c (window_loop):
6630 * window.c (Fget_lru_window):
6631 * window.c (Fsplit_window):
6632 * window.c (Fset_window_configuration):
6633 * window.c (saved_window_index):
6634 * xgccache.c (gc_cache_lookup):
6635 abort() -> ABORT(). Eliminate preprocessor games with abort()
6636 since it creates huge problems in VC7, solvable only by including
6637 massive amounts of files in every compile (and not worth it).
6641 Inclusion of process.h does not need to be before lisp.h any more.
6642 Move later and remove comment about abort().
6644 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6646 * regex.c (re_match_2_internal):
6647 Correctly initialize loop which clears uninitialized registers.
6649 2005-01-28 Vin Shelton <acs@xemacs.org>
6651 * sheap.c (more_static_core): Applied Ben's version of the long
6654 2005-01-24 Vin Shelton <acs@xemacs.org>
6656 * sheap.c (more_static_core): Reformatted printf string so
6657 gcc-3.3.3 will compile this on Cygwin.
6659 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6661 * console.c (function_key_map): Reference `key-binding'.
6663 * keymap.c (Vkey_translation_map): Improve docstring.
6665 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6667 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6668 * window.c (window_loop): [fix] Take into account
6669 `allow-deletion-of-last-visible-frame' variable.
6670 * window.c (replace-buffer-in-windows): Ditto.
6672 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6674 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6676 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6678 * event-gtk.c: Recognise AltGr as a valid modifier.
6680 2005-01-12 Ville Skyttä <scop@xemacs.org>
6682 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6684 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6686 Fix backreference bug caught by test suite.
6688 * regex.c (regex_compile):
6689 Make backref duplicate internal register.
6691 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6693 Documentation, code clarification, and warning suppression.
6695 * regex.c (regex_compile):
6697 (re_match_2_internal):
6698 Improve comments and avoid redundant braces. [Most of the big hunk
6699 at l. 4710 is indentation; use diff -w to see the real changes.]
6700 (alt_match_null_string_p):
6701 (common_op_match_null_string_p):
6702 Avoid shadowing global on Mac OS X 10.4, at least.
6704 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6706 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6707 introduced with shy groups fix). [Already applied, probably
6708 with the second "fix shy groups" patch of 2004-10-07.]
6710 2005-01-10 Steve Youngs <steve@sxemacs.org>
6712 From Andrey Slusar <anrays@gmail.com>:
6714 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6716 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6718 * Makefile (RECURSIVE_MAKE): Removed.
6719 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6720 handling parallel builds.
6722 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6724 * Makefile.in.in: Enable support for parallel builds.
6726 2005-01-09 Steve Youngs <steve@sxemacs.org>
6728 From Andrey Slusar <anrays@gmail.com>:
6730 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6731 FreeBSD version is >= 199701 _and_ < 600006.
6733 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6735 * scrollbar.c (compute_scrollbar_instance_usage):
6736 Only call device method compute_scrollbar_instance_usage() if it
6739 2004-12-05 Vin Shelton <acs@xemacs.org>
6741 * XEmacs 21.4.16 is released
6743 2004-12-04 Vin Shelton <acs@xemacs.org>
6745 * depend: Regenerated.
6747 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6749 * regex.c (re_match_2_internal): Map internal to external
6750 registers. Fixes bug identified by Steve Youngs 2004-09-30
6751 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6753 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6755 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6756 to fix a crash. Also, check the buffer is live and it
6757 really exists in buffer_list. If the buffer is not in the list,
6760 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6762 Fix shy groups by implementing recording of all groups for
6763 repetition and backtracking. Backport from 21.5.
6765 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6766 external_to_internal_register, external_to_internal_register_size,
6767 and update comments for re_nsub.
6769 * regex.c (re_opcode_t): Update comments.
6770 (print_compiled_pattern): Ouput external_to_internal_register,
6771 external_to_internal_register_size, and re_ngroups for debugging.
6772 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6773 (regex_compile): Update header comment.
6774 Ensure that all groups are recorded so that repeat matches and
6775 backtracking work correctly. Comment related warning for groups >
6777 (re_search_2): Construct map of API indexes (which count only
6778 nonshy groups) to internal register numbers, and keep it updated.
6780 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6782 * frame-gtk.c (gtk_make_frame_visible):
6783 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6784 show/hide. This is what X uses and is prevents previously hidden
6785 widgets from suddenly reappearing.
6786 * gtk-xemacs.c (gtk_xemacs_paint):
6787 * gtk-xemacs.c (gtk_xemacs_draw):
6788 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6790 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6791 size and location changes so that they can be seen before the next
6792 idle event. Without this rapid changes to scrollbar properties
6795 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6798 * console-gtk.h (struct gtk_frame):
6799 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6800 Add hash tables track tab_control callback data.
6801 Added #defines for GTK object data names.
6802 Declaration of gtk_widget_to_frame().
6803 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6804 * frame-gtk.c (gtk_widget_to_frame): New.
6805 * frame-gtk.c (gtk_create_widgets):
6806 * frame-gtk.c (allocate_gtk_frame_struct):
6807 * frame-gtk.c (gtk_mark_frame):
6808 Manage frame callbakc hash tables.
6809 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6810 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6811 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6813 * glyphs-gtk.c (gtk_widget_query_geometry): New
6814 * glyphs-gtk.c (gtk_register_gui_item): New
6815 * glyphs-gtk.c (gtk_add_tab_item): New
6816 * glyphs-gtk.c (gtk_tab_control_callback): New
6817 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6818 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6819 Use correct list when loading item.
6820 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6821 Register new methods.
6822 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6823 default size, for widgets.
6824 * gui-x.c: Improved comment.
6825 * menubar-gtk.c (__generic_button_callback): Use
6826 gtk_widget_to_frame instead of __get_channel.
6828 * ui-gtk.c: Use symbolic names for GTK object data.
6830 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6832 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6834 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6836 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6838 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6840 * malloc.c (morecore): siz is a long because in some architectures
6841 (eg ia-64) an int cannot hold the address range. Additional patch
6842 from the SuSe distribution.
6844 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6847 * malloc.c: lim_data is a long because in some architectures
6848 (eg ia-64) an int cannot hold the address range.
6849 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6850 instead of ulimit() because ulimit() always returns -1.
6852 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6854 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6856 2004-06-11 David Kastrup <dak@gnu.org>
6858 * search.c (match_limit): Don't flag an error if match-data
6859 exceeding the allocated search_regs.num_regs gets requested, just
6862 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6864 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6865 replace symbolic color entries with the real colors specified in
6866 xpm-color-symbols, before passing the XPM to gtk.
6867 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6868 instead of a GTK specific field, so that it is used in by generic
6871 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6873 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6874 coredump from deref of NULL ptr (ExtData)
6876 2004-04-19 Jerry James <james@xemacs.org>
6878 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6879 VALBITS to compute the location of the sign bit.
6880 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6881 of VALBITS with EMACS_INT_MAX.
6882 * events.c (Fevent_timestamp): Ditto.
6883 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6884 compute the halfway point to timestamp wraparound.
6885 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6886 EMACS_INT_MIN instead of using VALBITS.
6887 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6888 incorrect number with VALBITS.
6889 * fns.c (Frandom): Correct number of integer bits in docstring.
6890 Use INT_VALBITS instead of VALBITS to compute the denominator.
6891 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6892 build random numbers.
6894 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6896 * event-gtk.c (gtk_event_to_emacs_event):
6898 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6899 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6900 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6901 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6902 * menubar-gtk.c (__activate_menu):
6903 * menubar-gtk.c (convert_underscores):
6904 * menubar-gtk.c (remove_underscores):
6905 * menubar-gtk.c (menu_convert):
6906 * menubar-gtk.c (menu_descriptor_to_widget_1):
6907 * menubar-gtk.c (menu_descriptor_to_widget):
6908 * menubar-gtk.c (menu_can_reuse_widget):
6909 * menubar-gtk.c (menu_create_menubar):
6910 * menubar-gtk.c (gtk_popup_menu):
6911 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6912 Added support for Gtk menu bar and menu item mnemonics.
6914 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6916 * sysdll.c: (dll_function): Added support for finding symbols in
6917 Darwin shared libraries as well in Darwin bundles.
6918 * sysdll.c (image_for_address): New
6919 * sysdll.c (my_find_image): New
6920 * sysdll.c (search_linked_libs): New
6922 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6924 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6925 return to GTK requires a different API to marshalling data to use
6927 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6929 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6931 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6933 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6935 * glyphs.c (process_image_string_instantiator):
6936 (Fset_console_type_image_conversion_list):
6937 Stop GCC from warning about shadowing of `exp'.
6939 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6941 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6943 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6945 2004-02-03 Vin Shelton <acs@xemacs.org>
6947 * glyphs.c (image_instance_layout): Remove pointless assertion.
6948 * regex.c (regex_grow_registers): Return type is void.
6950 2004-02-02 Vin Shelton <acs@xemacs.org>
6952 * XEmacs 21.4.15 is released
6954 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6956 * device-x.c (x_error_handler): Don't call stderr_out
6958 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6960 * buffer.c (other-buffer): Clarify documentation of order of
6961 arguments for FSF Emacs.
6963 2003-10-11 Olivier Galibert <galibert@pobox.com>
6965 * window.c (Fdelete_window): Dirty the mirror structure _before_
6966 marking the window deleted.
6968 2003-09-15 Jerry James <james@xemacs.org>
6970 * event-msw.c (debug_mswin_messages): Conditionally compile
6971 messages missing from the Cygwin headers.
6973 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6975 * data.c (eq_with_ebola_notice): Fix typo in comment.
6976 (Ftrue_list_p): Improve docstring.
6978 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6980 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6982 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6984 * search.c (trivial_regexp_p): Regexps containing "\{" are
6985 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6986 Stefan Monnier for suggesting a diagnosis.
6988 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6990 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6992 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6994 * search.c (Fsearch_forward):
6996 Document negative count.
6998 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
7000 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
7002 2003-09-13 Martin Buchholz <martin@xemacs.org>
7004 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
7006 2003-09-15 Vin Shelton <acs@xemacs.org>
7008 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
7011 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
7013 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
7014 (re_search_2): Match the first byte of Bufbyte, not Emchar.
7015 (re_match_2_internal): Use TRANSLATE instead of
7016 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
7017 non-ASCII char case conversion.
7019 2003-09-08 Mike Sperber <mike@xemacs.org>
7021 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
7022 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
7024 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
7026 * .gdbinit (pobj): fix printing of symbol name.
7028 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
7030 * frame-x.c (x_layout_widgets): When resizing is about to cause
7031 frame size slip, mark it for redisplay.
7033 2003-08-18 Jerry James <james@xemacs.org>
7035 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
7037 2003-09-03 Vin Shelton <acs@xemacs.org>
7039 * XEmacs 21.4.14 is released
7041 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
7043 * config.h.in (REGEX_MALLOC): Make it configure'able.
7045 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
7047 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
7049 * sysdll.c (dll_init):
7050 * sysdll.c (dll_open):
7051 * sysdll.c (dll_close):
7052 * sysdll.c (dll_function):
7053 * sysdll.c (dll_variable):
7054 * sysdll.c (dll_error):
7055 Add support for loading bundles using Darwin/MacOSX
7058 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
7060 * process.c (start-process-internal): Document coding systems.
7062 2003-07-30 Jerry James <james@xemacs.org>
7064 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
7066 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
7068 * event-msw.c (mswindows_enqueue_mouse_button_event):
7069 * event-msw.c (mswindows_wnd_proc):
7070 enqueue button event when scrollwheel event isn't handled by
7071 mswindows_handle_mousewheel_event, such as when the scrollbars
7074 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
7076 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
7078 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
7080 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
7082 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
7084 * regex.c (re_match_2_internal): Fix matching degenerate word
7087 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
7089 * XEmacs 21.4.13 is released
7091 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7093 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7094 * lisp.h (<inttypes.h>):
7095 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7098 2003-03-15 Martin Buchholz <martin@xemacs.org>
7100 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7101 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7102 Result: "temacs can only be run in -batch mode."
7103 Fix: Check xemacs executable candidate for directory-ness.
7105 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7107 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7108 they conflict with <sys/types.h>.
7110 2003-02-14 Martin Buchholz <martin@xemacs.org>
7112 * database.c: Berkeley DB wants __STDC__ to be defined.
7114 2003-02-13 Martin Buchholz <martin@xemacs.org>
7116 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7118 2003-02-01 Martin Buchholz <martin@xemacs.org>
7120 * process-unix.c (unix_send_process): Fix C++ compile error.
7122 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7124 * Added .dylib as an acceptable shared library file extension
7125 * to support MacOSX.
7127 2003-02-01 Martin Buchholz <martin@xemacs.org>
7129 * EmacsFrameP.h (EmacsFramePart):
7130 Kludge to allow compiling with Motif1, but linking with Motif2.
7132 2003-01-28 Martin Buchholz <martin@xemacs.org>
7134 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7137 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7139 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7141 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7143 * sysdll.c: Included lisp.h to define needed alloca_array.
7145 2003-02-13 Martin Buchholz <martin@xemacs.org>
7147 Make XEmacs redisplay 10 times faster.
7148 If, that is, you're using a slow X connection and MoveOpaque.
7149 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7150 Use compress_motion = TRUE.
7151 * EmacsFrame.c (emacsFrameClassRec):
7152 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7153 * EmacsManager.c (emacsManagerClassRec):
7154 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7156 2003-01-30 Vin Shelton <acs@xemacs.org>
7158 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7160 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7162 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7163 Patch by Martin Buchholz.
7165 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7167 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7168 Thanks to icc for warning and Martin Buchholz for reporting.
7170 2003-01-29 Vin Shelton <acs@xemacs.org>
7172 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7174 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7175 remember to multiply by the element size.
7177 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7179 * XEmacs 21.4.12 "Portable Code" is released.
7181 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7183 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7184 * s/cygwin.sc: new linker file.
7186 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7188 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7190 * redisplay-x.c (x_output_string): Use X11-specified types.
7191 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7192 * emacs.c (__free_hook): Use typeof with Intel compiler.
7193 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7195 2003-01-08 Andy Piper <andy@xemacs.org>
7197 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7198 reserve size during unexec().
7200 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7202 * process-unix.c (unix_create_process): Don't let outchannel block.
7204 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7206 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7207 Needed for IsBadReadPtr().
7209 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7211 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7213 2002-12-14 Ben Wing <ben@xemacs.org>
7215 * callint.c: Declaration error.
7217 * dumper.c (pdump_load): Warning fix.
7218 * process.c: GCPRO error.
7219 * glyphs.c (unmap_subwindow):
7220 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7221 * event-stream.c (maybe_kbd_translate): Wrong argument to
7222 character_to_event().
7224 * alloc.c (garbage_collect_1):
7226 * emacs.c (debug_can_access_memory):
7227 * emacs.c (fatal_error_signal):
7228 * emacs.c (mswindows_handle_hardware_exceptions):
7231 * emacs.c (assert_failed):
7232 * emacs.c (syms_of_emacs):
7235 * print.c (std_handle_out_va):
7236 * print.c (write_string_to_stdio_stream):
7237 * print.c (write_fmt_string):
7238 * print.c (printing_badness):
7239 * print.c (printing_major_badness):
7240 * print.c (print_internal):
7241 * print.c (debug_print_no_newline):
7242 * print.c (debug_backtrace):
7243 Be more defensive in handling bad values when printing. Add code
7244 from trunk involving inhibit_non_essential_printing_operations.
7245 When going down or in debug_print(), don't do external conversion
7246 and such and try really, really hard when printing to avoid core
7247 dumping. Add force-debugging-signal, debug_break().
7249 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7251 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7252 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7254 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7256 * database.c: Fix open_database. Berkeley DB API has changed in
7257 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7259 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7261 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7263 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7265 * event-Xt.c (Xt_timeout):
7266 (Xt_timeout_callback):
7267 (emacs_Xt_add_timeout):
7268 (emacs_Xt_remove_timeout):
7269 (Xt_timeout_to_emacs_event):
7270 Turn completed_timeouts from a stack into a queue. Fixes
7271 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7273 2002-11-07 Wolfram Gloger <wg@malloc.de>
7275 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7276 * emacs.c (main): Assert that mmap'd allocation is disabled.
7278 2002-10-14 Andy Piper <andy@xemacs.org>
7280 * glyphs-widget.c (layout_query_geometry): add in fiddle
7281 factor. Include border text in width layout calculation.
7282 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7284 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7286 * XEmacs 21.4.10 "Military Intelligence" is released.
7288 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7290 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7291 using the NAS private array SoundFileInfo that no longer exists in
7292 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7293 and earlier. This is broken for some versions between 1.5a and
7296 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7298 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7300 * emacs.c (shut_down_emacs): Improve crash message.
7302 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7304 * file-coding.c (determine_real_coding_system): Check for coding
7305 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7306 shebangs and Python PEP 263.
7308 2002-10-08 Andy Piper <andy@xemacs.org>
7310 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7311 if static sizes haven't been set.
7313 2002-08-30 Mike Alexander <mta@arbortext.com>
7315 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7318 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7320 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7322 2002-09-20 Mike Sperber <mike@xemacs.org>
7324 (This partially gets back my patch from 2002-07-20 without the
7326 * callproc.c (child_setup): Remove Ben's comment noting confusion
7327 over the file descriptors >= 3: close_process_descs() doesn't
7328 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7329 * process-unix.c (unix_create_process): Call
7330 begin_dont_check_for_quit to inhibit unwanted interaction (and
7331 thus breaking of X event synchronicity) in the child.
7333 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7335 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7338 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7340 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7341 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7342 the xemacs process did not exit, but looped infinitely here. This
7345 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7347 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7348 (find_context): Improve comments.
7350 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7351 (re_match_2): An XCHAR_TABLE operation was missing.
7353 Many of the following changes were inspired by Andy Piper's (now
7354 obsolete) patch to make syntax-table text property lookup optional.
7358 * syntax.h (top level): Document semantics of syntax flags.
7359 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7360 * syntax.c, syntax.h (top level): Document syntax cache better in
7363 [Instrument syntax caching (temporary change)]
7365 * syntax.h (enum syntax_cache_statistics_functions, struct
7366 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7367 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7368 * syntax.c (scan_words, Fforward_comment, scan_lists,
7369 Fbackward_prefix_characters):
7370 * font-lock.c (find_context):
7371 Use them to instrument syntax caching.
7372 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7373 syntax_cache_statistics_function_names): New type and variables.
7374 * syntax.c (update_syntax_cache): Update and report statistics.
7376 [Major syntax cache optimizations]
7378 syntax.c (lookup_syntax_properties): Default off.
7380 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7381 * syntax.c (update_syntax_cache):
7382 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7384 [Minor syntax cache optimizations and code clarifications]
7386 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7387 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7388 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7389 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7390 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7391 (Code clarification.)
7393 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7394 scan_lists): Compute code from syncode, use Boolean macros instead
7395 of redundant masking operations. (Code clarification; any decent
7396 compiler can do this optimization.)
7398 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7401 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7402 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7403 use F*_single_property_change instead of F*_extent_change.
7404 Currently F*_single_property_change is _much_ less efficient.
7406 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7407 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7408 syntax_cache.object properly, don't leave Qt or Qnil.
7409 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7410 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7411 tests for Qt or Qnil.
7413 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7415 * redisplay.c (point_in_line_start_cache):
7416 * extents.c (print_extent_1):
7419 * extents.c (Fset_extent_property): Document `syntax-table' property.
7421 * extents.h (Fnext_single_property_change): EXFUN it.
7423 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7425 * search.c (clear_unused_search_regs): New static function.
7429 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7430 Minor clarifications in comments.
7432 * regex.c (re_match_2_internal): Ensure no stale submatches.
7434 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7436 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7438 2002-08-29 Jerry James <james@xemacs.org>
7440 * lisp.h: structrures -> structures.
7442 2002-06-03 Andy Piper <andy@xemacs.org>
7444 * frame.c (frame_conversion_internal): add conversion appropriate
7445 for setting frame dimensions in pixels.
7447 * console.h (struct console_methods): add device-specific widget
7450 * emacs.c (main_1): initialize glyph vars.
7452 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7453 (handle_focus_event_2): new function. Allow focus to
7454 be set to a particular window and widget.
7455 (enqueue_focus_event): new function. Create a
7456 synthetic focus event.
7457 (emacs_Xt_handle_magic_event): call
7458 handle_focus_event_2.
7460 * frame.c (Fset_frame_pixel_height): new function. Allow
7461 pixel-based sizing. Does the right thing on character-oriented
7463 (Fset_frame_pixel_width): ditto.
7464 (Fset_frame_pixel_size): ditto.
7465 (syms_of_frame): declare.
7467 * general-slots.h: add :vertically-justify and
7468 :horizontally-justify.
7470 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7471 (mswindows_widget_border_width): new function.
7472 (mswindows_combo_box_instantiate): set border widths.
7473 (console_type_create_glyphs_mswindows): declare.
7476 (check_valid_justification): allow vertical and horizontal
7478 (widget_border_width): new function. Call device methods.
7479 (widget_instance_border_width): ditto.
7480 (logical_unit_height): new function. Determine the height of a
7481 logical-unit. Logical units are intended to provide grid-like
7482 layout for subcontrols in a layout. If the layout is
7483 :vertically-justify top then subcontrols will be positioned on
7484 logical-unit boundaries, thus allowing adjacent subcontrols to
7486 (widget_logical_unit_height): ditto for widgets.
7487 (redisplay_widget): misc cleanup.
7488 (widget_spacing): new function. Call device specific
7489 methods. Intended to be the default gap between adjacent widgets.
7490 (widget_query_geometry): use new spacing functions to determine
7491 appropriate geometry.
7492 (initialize_widget_image_instance): initialize horizontal and
7493 vertical justification.
7494 (widget_instantiate): use logica-units where appropriate for
7495 sizing large widgets.
7496 (button_query_geometry): use widget_instance_border_width.
7497 (tree_view_query_geometry): ditto.
7498 (tab_control_query_geometry): ditto.
7499 (edit_field_query_geometry): new function.
7500 (layout_update): pick up :justify, :horizontally-justify and
7501 :vertically-justify none of which worked previously. :justify is
7502 used as a fallback for both horizontal and vertical justification.
7503 (layout_query_geometry): use logical units to size appropriately.
7504 (layout_layout): ditto.
7505 (Fwidget_logical_to_character_width): new function. Allow users to
7506 convert from logical units to characters so that frame sizes can
7507 be set appropriately.
7508 (Fwidget_logical_to_character_height): ditto.
7509 (syms_of_glyphs_widget): declare.
7510 (image_instantiator_edit_fields): add edit_field_query_geometry.
7511 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7512 :horizontally-justify.
7513 (specifier_vars_of_glyphs_widget): new function. Declare
7514 Vwidget_border_width which is not yet used.
7516 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7517 (x_widget_border_width): new function.
7518 (x_widget_instantiate): create a sensible name for widgets.
7519 (console_type_create_glyphs_x): declare x_widget_border_width.
7521 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7522 (struct Lisp_Image_Instance): add :vertically-justify and
7523 :horizontally-justify.
7524 (LAYOUT_JUSTIFY_TOP): new.
7525 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7526 (ROUND_UP): new macro. Round argument up to next integral
7529 * redisplay-output.c (redisplay_output_layout): misc formatting.
7531 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7533 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7535 * XEmacs 21.4.9 "Informed Management" is released.
7537 2002-08-19 Andy Piper <andy@xemacs.org>
7539 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7542 * realpath.c (xrealpath): normalize drive spec also so that dir
7543 sep chars are not mixed on cygwin.
7545 2002-08-06 Jerry James <james@xemacs.org>
7547 * window.c (Fsplit_window): Count only half of the divider width
7548 against the left window when splitting horizontally.
7550 2002-06-24 Andy Piper <andy@xemacs.org>
7552 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7553 toolbar was cleared.
7555 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7556 function. Split out from mswindows_output_frame_toolbars.
7557 (mswindows_output_frame_toolbars): move clear pieces to
7558 mswindows_output_frame_toolbars.
7560 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7561 out from gtk_output_frame_toolbars.
7562 (gtk_output_frame_toolbars): move clear pieces to
7563 gtk_clear_frame_toolbars.
7565 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7566 the frame is cleared. How this ever worked before is a mystery.
7567 (x_output_frame_toolbars): Only output toolbars.
7568 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7570 * gutter.c (update_gutter_geometry):
7571 Mark frame layout changed.
7572 (update_frame_gutter_geometry, update_frame_gutters):
7573 Respect frame_layout_changed.
7575 * console.h (struct console_methods): add
7576 clear_frame_toolbars_method.
7578 * redisplay.c (redisplay_frame): call
7579 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7581 * toolbar.h: declare update_frame_toolbars_geometry.
7583 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7584 out from update_frame_toolbars. Call clear_frame_toolbars.
7585 (update_frame_toolbars): only output, do not change geometry.
7587 * redisplay.c: add frame_layout_changed.
7589 * redisplay.h: add frame_layout_changed.
7590 (CLASS_RESET_CHANGED_FLAGS): set it.
7591 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7592 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7593 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7595 * device.h (struct device): add frame_layout_changed.
7596 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7598 * frame.h (struct frame): add frame_layout_changed.
7599 (MARK_FRAME_LAYOUT_CHANGED): new.
7601 2002-06-30 Mike Alexander <mta@arbortext.com>
7603 * event-msw.c (mswindows_need_event): Don't wait for a new message
7604 if the queue is not empty. Suggested by Paul Moore.
7606 2002-06-12 Andy Piper <andy@xemacs.org>
7608 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7609 for printing on accurately.
7611 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7613 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7614 WM_ACTIVATE message. Make sure that the frame is visible if the
7615 window is visible. This seemss to fix the problem where XEmacs
7616 appears to freeze after switching desktops with certain virtual
7618 (debug_output_mswin_message): Added code to output message
7619 parameters for WM_WINDOWPOSCHANGED,
7620 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7622 2002-05-25 Andy Piper <andy@xemacs.org>
7624 * select-x.c (vars_of_select_x): Fix docstring of
7625 x-selection-strict-motif-ownership
7627 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7629 * keymap.c (get_keymap):
7630 Add comment about do_autoload GCPROs own args.
7632 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7634 * bytecode.c (execute_optimized_program): check_opcode ifdef
7635 ERROR_CHECK_BYTE_CODE.
7637 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7639 Thanks to Ben Wing and Michael Sperber.
7641 * eval.c (Fcommand_execute):
7644 (Fmacroexpand_internal):
7645 (function_argcount):
7646 callint.c (Fcall_interactively):
7647 Add comment about do_autoload GCPROs own args.
7649 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7651 * eval.c (Ffuncall): Extra braces to placate GCC.
7653 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7655 * backtrace.h (grow_specpdl):
7657 * EmacsFrame.c (EmacsFrameSetValues):
7658 * eval.c (grow_specpdl):
7659 * ExternalShell.c (hack_event_masks_1):
7660 * glyphs-x.c (convert_EImage_to_XImage):
7661 (x_finalize_image_instance):
7662 * ralloc.c (page_size):
7664 * xgccache.c (gc_cache_hash):
7665 Fix unsigned comparison warnings.
7667 2002-07-29 Jerry James <james@xemacs.org>
7669 * lread.c (locate_file): Any nonnegative return value indicates
7670 success if MODE is nonnegative.
7672 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7674 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7677 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7679 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7681 * dumper.c (pdump_get_indirect_count):
7682 (pdump_scan_by_alignment):
7683 (pdump_dump_root_struct_ptrs):
7684 (pdump_dump_rtables):
7685 (pdump_dump_root_objects):
7687 * nas.c (WaveOpenDataForReading):
7688 * fns.c (print_bit_vector):
7689 * font-lock.c (SINGLE_SYNTAX_STYLE):
7690 * glyphs.c (check_for_ignored_expose):
7691 (find_matching_subwindow):
7693 * imgproc.c (get_histogram):
7694 * redisplay.c (point_in_line_start_cache):
7695 * redisplay-output.c (redisplay_unmap_subwindows):
7696 * symbols.c (defsymbol_massage_name_1):
7697 (defkeyword_massage_name):
7698 (deferror_massage_name_and_message):
7699 * redisplay-x.c (x_output_string):
7700 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7701 * frame.h (struct frame):
7702 * filelock.c (current_lock_owner):
7703 * doprnt.c (emacs_doprnt_1):
7704 * lisp.h (struct Lisp_Bit_Vector):
7708 2002-02-13 Ben Wing <ben@xemacs.org>
7710 * event-stream.c (reset_key_echo):
7711 * event-stream.c (reset_this_command_keys):
7712 * event-stream.c (execute_command_event):
7713 If console is dead as a result of C-x 5 0, then post-command stuff
7714 needs to be careful and do only non-console-specific stuff.
7716 2002-07-01 Mike Sperber <mike@xemacs.org>
7718 * process-unix.c (unix_send_process): Mark coding_outstream as
7719 non-open upon SIGPIPE.
7721 * event-stream.c (Fnext_event): Reorder switch cases to something
7724 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7726 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7727 Don't bogusly reinitialize ascii_character property.
7729 2002-07-08 Mike Sperber <mike@xemacs.org>
7731 * process.c (Fstart_process_internal): Do error checking before we
7732 fork off the child, so the child can't muck with the state of the
7735 2002-07-08 Mike Sperber <mike@xemacs.org>
7737 * ralloc.c (init_ralloc): Allocate properly for pdump.
7739 2002-06-12 Andy Piper <andy@xemacs.org>
7741 * glyphs.c (query_string_geometry): check the string.
7743 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7746 2002-06-17 Jerry James <james@xemacs.org>
7748 * sysdll.c: Remove RTLD_GLOBAL initialization.
7749 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7751 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7753 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7755 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7757 * sysdep.c (sys_rename): Make sys_rename work for the case where
7758 Windows rename sets errno to EACCES if target file exists.
7760 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7762 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7763 Fix detection of metric units to work on Win95
7765 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7767 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7769 2002-04-25 Andy Piper <andy@xemacs.org>
7771 * redisplay.c (create_text_block): Remove extra comment trailer.
7773 2002-04-24 Andy Piper <andy@xemacs.org>
7775 * redisplay.c (create_text_block): Don't actually add propagation
7776 data if the line ends after we have added a glyph.
7778 2002-04-22 Andy Piper <andy@xemacs.org>
7780 * extents.c (extent_fragment_update): check for glyphs we have
7781 previously displayed.
7782 * extents.c (print_extent_1): warning removal.
7783 * extents.h: change prototype.
7784 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7785 widths correctly for wide glyphs.
7786 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7787 * redisplay.c (prop_type): add PROP_GLYPH.
7788 * redisplay.c (struct prop_block): add glyph type
7789 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7790 to the propagation data.
7791 * redisplay.c (create_text_block): if there is a glyph in the
7792 propagation data use it to salt extent_fragment_update.
7793 * redisplay.c (create_string_text_block): ditto.
7795 2002-04-13 Nix <nix@esperi.demon.co.uk>
7797 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7798 * redisplay-output.c (compare_runes): Compare them.
7799 * redisplay.c: Update copyright date.
7800 * redisplay.c (pos_data): Add need_baseline_computation field.
7801 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7802 need_baseline_computation; zero yoffset. Set max_pixmap_height
7803 for all pixmaps, not just automatically positioned ones.
7804 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7805 * redisplay.c (calculate_baseline): New, compute textual baseline.
7806 * redisplay.c (add_glyph_rune): Call them.
7807 * redisplay.c (create_text_block): Likewise.
7808 * redisplay.c (create_overlay_glyph_block): Likewise.
7809 * redisplay.c (add_margin_runes): Likewise.
7810 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7812 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7813 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7814 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7815 * redisplay-msw.c (mswindows_output_string): Likewise.
7816 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7817 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7818 * redisplay-x.c (x_output_display_block): Likewise.
7820 2002-03-28 Ben Wing <ben@xemacs.org>
7822 * redisplay.c: Fixed bug in redisplay
7823 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7824 and down of the lines, since they're bigger than the line
7825 size. (It was seen most obviously when there's a horizontal scroll
7826 bar, e.g. do C-h a glyph or something like that.) The problem was
7827 that the glyph-contrib-p setting on glyphs was ignored even if it
7828 was set properly, which it wasn't until now.
7830 2002-04-24 Andy Piper <andy@xemacs.org>
7832 * lisp.h (Dynarr_end): Fix definition.
7834 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7836 * redisplay.c (mark_redisplay): Remove call to
7837 update_frame_window_mirror.
7839 2001-11-15 Andy Piper <andy@xemacs.org>
7841 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7844 2002-02-13 Andy Piper <andy@xemacs.org>
7846 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7847 we did in fact enqueue the XM_MAPFRAME event.
7849 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7851 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7852 to fix problem switching between virtual desktops under virtuawin
7853 virtual window manager.
7855 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7857 * event-msw.c: Typo fix.
7858 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7859 magic XM_MAPFRAME event has been sent.
7861 2001-11-23 Andy Piper <andy@xemacs.org>
7863 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7865 2001-11-21 Andy Piper <andy@xemacs.org>
7867 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7868 mouse events outside the frame.
7870 2002-03-20 Andy Piper <andy@xemacs.org>
7872 * menubar-msw.c (mswindows_popup_menu): warning removal.
7873 * dialog-msw.c (dialog_popped_down): ditto.
7875 2001-12-11 Andy Piper <andy@xemacs.org>
7877 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7878 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7880 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7881 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7882 * menubar-msw.c (mswindows_popup_menu): ditto.
7884 2001-10-29 Andy Piper <andy@xemacs.org>
7886 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7889 2002-01-03 Andy Piper <andy@xemacs.org>
7891 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7895 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7897 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7898 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7899 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7900 Detect and handle case where machine is set up for metric units
7902 2002-04-02 Andy Piper <andy@xemacs.org>
7904 * dired-msw.c (mswindows_get_files):
7905 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7906 completely handled by XEmacs. Suggested by Thomas Vogler
7907 <mail@thomas-vogler.de>.
7909 2001-11-14 Andy Piper <andy@xemacs.org>
7911 * nt.c (REG_ROOT): change registry key to XEmacs.
7913 2002-04-27 Andy Piper <andy@xemacs.org>
7915 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7917 2002-04-26 Andy Piper <andy@xemacs.org>
7919 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7922 2002-03-14 Mike Alexander <mta@arbortext.com>
7924 * event-msw.c (mswindows_unwait_process): New, remove process from
7926 * process-nt.c (nt_finalize_process_data): Call
7927 mswindows_unwait_process
7928 * console-msw.h: Declare mswindows_unwait_process
7930 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7932 * editfns.c (Fdecode_time):
7933 (Fformat_time_string):
7934 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7935 (make_time): Warning elimination (change arg name).
7937 2001-11-24 Andy Piper <andy@xemacs.org>
7939 * window.c (Fsplit_window): Doc return type.
7941 2002-04-01 Andy Piper <andy@xemacs.org>
7943 * emacs.c (Fkill_emacs): Only output message box in interactive
7946 2002-04-26 Andy Piper <andy@xemacs.org>
7948 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7951 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7953 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7956 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7958 * XEmacs 21.4.8 "Honest Recruiter" is released.
7960 2002-05-07 Nix <nix@esperi.demon.co.uk>
7962 Supersedes 2002-04-17 patch.
7964 * process.h (PROCESS_LIVE_P): Use the process status as
7965 evidence of health, not the state of the input stream.
7966 (PROCESS_READABLE_P): Say if the process is readable
7967 from. (It may be dead nonetheless.)
7968 (CHECK_READABLE_PROCESS): Test for that condition.
7970 * process.c (create_process): Use PROCESS_READABLE_P.
7971 (read_process_output, set_process_filter): Likewise.
7973 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7974 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7976 This code is #if 0'd, this is not the time to add new functions:
7978 * process.c (Fprocess_readable_p): Report readability status.
7979 * process.c (Qprocess_readable_p): New, associated symbol...
7980 * process.c (syms_of_process): ... initialize it.
7982 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7984 * XEmacs 21.4.7 "Economic Science" is released.
7986 2002-04-17 Nix <nix@esperi.demon.co.uk>
7988 * process.h (PROCESS_LIVE_P): Use the process status as
7989 evidence of health, not the state of the input stream.
7991 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7993 * sysdep.c (sys_siglist): change "signum" to "signal"
7995 2001-04-21 Martin Buchholz <martin@xemacs.org>
7997 * s/darwin.h: New file.
7998 Thanks to Greg Parker <gparker@cs.stanford.edu>.
8000 2002-04-23 Andreas Jaeger <aj@suse.de>
8002 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
8003 which use lib64 for 64-bit libs.
8004 (START_FILES): Likewise.
8006 2002-02-11 Mike Sperber <mike@xemacs.org>
8009 (x_IO_error_handler):
8010 (x_init_device): Temporarily keep device in static variable
8011 `device_being_initialized' so we can recover gracefully from
8012 internal XOpenDevice failure. (XOpenDevice is documented to
8013 return NULL on failure, but sometimes calls the IO error handler
8016 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
8018 * dired.c (Ffile_name_all_completions): Change documentation --
8019 remove reference to completion-ignored-extensions.
8020 * dired.c (vars_of_dired): Change documentation for
8021 completion-ignored-extensions -- remove reference to
8022 file-name-all-completions.
8024 2002-03-06 Jerry James <james@xemacs.org>
8026 * emodules.c (emodules_load): Fix multiple loading of same module.
8028 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
8029 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
8030 RTLD_LAZY to avoid incorrect symbol binding when using nested
8031 shared libraries on Solaris.
8033 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
8035 * fileio.c (Ffind_file_name_handler): Improve docstring.
8037 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
8039 * fns.c (Fmapconcat): Improve docstring.
8041 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
8043 * device-gtk.c: Add prototype for
8044 emacs_gtk_selection_clear_event_handle.
8045 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
8046 selection. Setup signal handler for "selection_clear_event"
8047 (emacs_gtk_selection_clear_event_handle).
8049 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
8050 other applications owning the clipboard (based on
8051 x_handle_selection_clear).
8053 2001-12-23 William M. Perry <wmperry@gnu.org>
8055 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
8057 2002-01-04 Martin Buchholz <martin@xemacs.org>
8059 * keymap.c (define_key_alternate_name): Parenthesize EQ.
8061 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
8063 * XEmacs 21.4.6 "Common Lisp" is released.
8065 2001-12-16 Torsten Duwe <duwe@caldera.de>
8067 * search.c (Freplace_match): Add missing sub-expression functionality.
8069 * buffer.c (decode_buffer): Add a check for pointer type to
8070 decode_buffer, before gcc's CSE optimization reorders a
8071 dereference in front of the allow_string test.
8073 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
8075 * window.c (window_loop): Fix bug that sometimes prevented
8076 window_loop() from iterating across multiple devices. Also, at
8077 Ben's request, changed infloop-detecting code to abort() instead
8078 of silently terminating window_loop().
8080 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
8082 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
8083 * editfns.c (make_time): New function.
8084 (Fencode_time): Use it instead of wasteful_word_to_lisp.
8085 * lisp.h (make_time): Prototype and comment it.
8086 * dired.c (wasteful_word_to_lisp): Deprecate.
8087 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
8089 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8091 * fileio.c (auto_save_1): Use current coding system, not
8094 2001-11-13 Ben Wing <ben@xemacs.org>
8097 * window.c (window_truncation_on):
8098 * window.c (syms_of_window):
8099 truncate-partial-width-windows should respect the buffer being
8100 displayed, like other redisplay vars.
8102 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8104 * event-stream.c (Fread_key_sequence): save current buffer.
8106 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8108 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8110 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8112 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8114 2001-10-26 Mike Alexander <mta@arbortext.com>
8116 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8118 2001-10-25 Andy Piper <andy@xemacs.org>
8121 * dialog-msw.c (handle_directory_proc): new function.
8122 (handle_directory_dialog_box): new fucntion.
8123 (handle_file_dialog_box): use new directory dialog support.
8124 (mswindows_make_dialog_box_internal): ditto.
8125 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8127 (mswindows_find_frame): make global.
8128 * fileio.c (Fexpand_file_name): build fix.
8129 * general-slots.h: add Qdirectory.
8130 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8132 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8133 cygwin not leaving win32 paths unchanged.
8134 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8135 cygwin runtime to do path conversion.
8136 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8137 (syms_of_win32): add new function.
8138 * window.c (window_loop): build fix.
8140 2001-10-15 Andy Piper <andy@xemacs.org>
8142 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8144 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8146 * XEmacs 21.4.5 "Civil Service" is released.
8148 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8150 * glyphs-x.c: Force buffer-tab highlight update when moving the
8151 buffer, avoiding an ugly black border, used for keyboard focus
8152 indication, on a widget that can never have keyboard focus, the
8155 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8157 * process-unix.c (unix_open_multicast_group): Remove too much
8158 conversion between host and network byte order.
8160 2001-09-10 Nix <nix@esperi.demon.co.uk>
8162 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8163 before replacing them.
8165 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8168 * src/window.c (undedicate_windows): Use it.
8169 * src/window.h: Add prototype.
8171 2001-09-17 Ben Wing <ben@xemacs.org>
8173 * fileio.c (normalize_filename):
8174 * fileio.c (Fexpand_file_name):
8175 Fix various C++ compile errors in Andy's recent code.
8177 * callint.c (Fcall_interactively):
8178 * editfns.c (Ftemp_directory):
8179 * editfns.c (Fuser_full_name):
8180 * emacs.c (argmatch):
8181 * lread.c (locate_file_map_suffixes):
8182 * redisplay-x.c (x_ring_bell):
8183 Fix sign-compare warnings.
8185 2001-09-08 Andy Piper <andy@xemacs.org>
8187 * fileio.c (normalize_filename): copied from nt.c
8188 * (Ffile_name_directory): enable win32 paths under cygwin.
8189 * (Ffile_name_nondirectory): ditto.
8190 * (directory_file_name): ditto.
8191 * (Fexpand_file_name): ditto.
8192 * (Ffile_truename): ditto.
8193 * (Fsubstitute_in_file_name): ditto.
8194 * (Ffile_name_absolute_p): ditto.
8195 * (Ffile_readable_p): ditto.
8197 2001-09-08 Andy Piper <andy@xemacs.org>
8199 * device-msw.c (mswindows_finish_init_device): remove dde
8201 * device-msw.c (mswindows_init_dde): factor out from
8202 mswindows_finish_init_device()
8203 * device-msw.c (init_mswindows_very_early): new function
8204 initialize but don't enable dde.
8205 * emacs.c (main_1): call init_mswindows_very_early.
8207 * event-msw.c (mswindows_dde_callback): only execute when we are
8209 * symsinit.h: declare init_mswindows_very_early.
8211 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8213 [sjt: This has been in 21.5 for months with no complaints.]
8215 * console.h (struct console_methods): Added flags member.
8216 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8217 (CONMETH_IMPL_FLAG):
8218 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8219 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8221 * device.c (window_system_pixelated_geometry): Use the above macros.
8223 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8224 implememntation flag.
8225 * device.h (DEVICE_DISPLAY_P): Use it.
8227 * frame.c (delete_frame_internal): Use the above macro.
8229 * redisplay.c (redisplay_device): Use it.
8230 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8231 (redisplay_frame): Ditto.
8233 * device-msw.c (mswindows_device_implementation_flags): Removed.
8234 (msprinter_device_implementation_flags): Removed.
8235 (console_type_create_device_mswindows): Removed references to
8236 implementation_flags methods, set implementation flags here.
8237 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8239 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8240 (console_type_create_device_gtk): Removed method declaration.
8241 Added commented out statement which semantically matches the
8242 commented out statement in the above removed method.
8244 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8246 The attached patch fixes a few warnings.
8248 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8249 * src/frame-gtk.c: guard against GNOME calls in GTK only
8250 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8251 * src/select-gtk.c: prototype lisp_to_time
8253 2001-06-08 Ben Wing <ben@xemacs.org>
8255 ------ gc-in-window-procedure fixes ------
8258 * alloc.c (struct post_gc_action):
8259 * alloc.c (register_post_gc_action):
8260 * alloc.c (run_post_gc_actions):
8261 * alloc.c (garbage_collect_1):
8262 Create "post-gc actions", to avoid those dreaded "GC during window
8263 procedure" problems.
8266 Abort, clean and simple, when GC in window procedure. We want
8267 to flush these puppies out.
8270 * glyphs-msw.c (finalize_destroy_window):
8271 * glyphs-msw.c (mswindows_finalize_image_instance):
8272 Use a post-gc action when destroying subwindows.
8275 Declare register_post_gc_action().
8278 * scrollbar-msw.c (unshow_that_mofo):
8279 Use a post-gc action when unshowing scrollbar windows, if in gc.
8281 * redisplay.c (mark_redisplay):
8282 Add comment about the utter evilness of what's going down here.
8284 ------ cygwin setitimer fixes ------
8286 * Makefile.in.in (sheap_objs):
8287 * Makefile.in.in (profile_objs):
8288 * Makefile.in.in (objs):
8289 Compile profile.c only when HAVE_SETITIMER.
8291 * nt.c (mswindows_sigset):
8292 * nt.c (mswindows_sighold):
8293 * nt.c (mswindows_sigrelse):
8294 * nt.c (mswindows_sigpause):
8295 * nt.c (mswindows_raise):
8296 * nt.c (close_file_data):
8300 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8303 * profile.c (Fstart_profiling):
8304 * profile.c (Fstop_profiling):
8305 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8306 instead of just plain setitimer().
8309 * signal.c (set_one_shot_timer):
8311 Define qxe_setitimer() as an encapsulation around setitimer() --
8312 call setitimer() directly unless Cygwin or MS Win, in which case
8313 we use our simulated version in win32.c.
8316 * systime.h (struct itimerval):
8317 * systime.h (ITIMER_REAL):
8318 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8319 comment about "qxe" and the policy regarding encapsulation.
8322 * win32.c (setitimer_helper_proc):
8323 * win32.c (setitimer_helper_period):
8324 * win32.c (setitimer_helper):
8325 * win32.c (mswindows_setitimer):
8326 Move setitimer() emulation here, so Cygwin can use it.
8327 Rename a couple of functions and variables to be longer and more
8328 descriptive. In setitimer_helper_proc(), send the signal
8329 using either mswindows_raise() or (on Cygwin) kill(). If for
8330 some reason we are still getting lockups, we'll change the kill()
8331 to directly invoke the signal handlers.
8333 ------ windows shell fixes ------
8337 Comments about how these two files must die.
8339 * callproc.c (init_callproc):
8340 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8341 not just COMSPEC. (more correct and closer to FSF.) Don't
8342 force a value for SHELL into the environment. (Comments added
8343 to explain why not.)
8345 * nt.c (init_user_info):
8346 Don't shove a fabricated SHELL into the environment. See above.
8348 2001-06-01 Ben Wing <ben@xemacs.org>
8350 * Makefile.in.in (ldflags):
8351 eliminate that pesky "defaulting to 00401000" warning.
8355 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8357 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8358 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8360 2001-04-24 Jerry James <james@xemacs.org>
8362 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8365 2001-06-01 Ben Wing <ben@xemacs.org>
8367 * event-msw.c (debug_mswin_messages):
8368 conditionalize the messages that were causing compile errors.
8369 (if only macros could generate #ifdef statements ...)
8371 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8373 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8375 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8377 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8379 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8381 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8382 * process-unix.c (unix_canonicalize_host_name):
8383 sysdep.c (init_system_name):
8384 Use it to conditionally support IPv6 canonicalization.
8386 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8389 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8391 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8393 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8394 attempt is made to scroll when no scroll bar is available.
8396 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8398 * input-method-motif.c (XIM_delete_frame): New callback.
8399 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8400 got deleted from 21.4.3.)
8402 2001-06-01 Ben Wing <ben@xemacs.org>
8404 * nt.c (mswindows_utime):
8405 * nt.c (close_file_data):
8406 fix off-by-one-indirection error.
8408 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8410 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8411 because set_file_times() now takes Lisp_Object path, instead of
8413 * nt.c: Include buffer.h.
8414 * nt.c (convert_from_time_t): New.
8415 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8416 not set mtime correctly.
8417 * nt.h: Declare mswindows_utime().
8418 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8419 path, instead of char*.
8420 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8422 2001-05-30 Ben Wing <ben@xemacs.org>
8426 (Stephen, just take all event-msw.c patches. This includes
8427 the "iconify" fix below.)
8430 * event-msw.c (mswindows_dequeue_dispatch_event):
8431 * event-msw.c (assert):
8432 * event-msw.c (emacs_mswindows_quit_p):
8433 * event-msw.c (debug_mswin_messages):
8434 * event-msw.c (debug_output_mswin_message):
8435 * event-msw.c (vars_of_event_mswindows):
8436 Fix yet more problems with C-g handling.
8437 Implement debug-mswindows-events.
8439 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8441 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8443 2001-05-23 Ben Wing <ben@xemacs.org>
8445 * event-msw.c (winsock_writer):
8446 * event-msw.c (winsock_closer):
8447 prior kludgy code was clobbering the buffer, thinking it was
8448 "unused" space to store an unneeded return value; instead, use
8449 the variable we've already got staring us in the face.
8451 2001-05-17 Andy Piper <andy@xemacs.org>
8453 * sysfile.h: don't assume that file attributes are boolean
8455 2001-05-23 Ben Wing <ben@xemacs.org>
8457 * device-msw.c (msprinter_init_device):
8458 signal an error rather than crash with an unavailable network
8459 printer (from Mike Alexander).
8462 * event-msw.c (struct winsock_stream):
8463 * event-msw.c (winsock_writer):
8464 * event-msw.c (winsock_closer):
8465 * event-msw.c (make_winsock_stream_1):
8466 cleanup headers. fix (hopefully) an error with data corruption
8467 when sending to a network connection.
8469 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8470 to handle the ~user prefix by (a) always assuming we're referencing
8471 ourselves and not even verifying the user -- hence any file with
8472 a tilde as its first char is invalid! (b) if there wasn't a slash
8473 following the filename, the pointer was set *past* the end of
8474 file and we started reading from uninitialized memory. Now we
8475 simply treat these as files, always.
8477 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8479 2001-05-19 Ben Wing <ben@xemacs.org>
8481 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8484 * process-nt.c (vars_of_process_nt):
8485 remove unused mswindows-quote-process-args. rec for 21.4.
8487 2001-05-12 Ben Wing <ben@xemacs.org>
8489 * event-msw.c (mswindows_dde_callback):
8490 * event-msw.c (mswindows_wnd_proc):
8491 eliminate cygwin warnings.
8493 2001-05-06 Ben Wing <ben@xemacs.org>
8497 * device-msw.c (print_dialog_worker):
8498 * device-msw.c (mswindows_handle_print_dialog_box):
8499 * device-msw.c (syms_of_device_mswindows):
8500 * dialog-msw.c (mswindows_make_dialog_box_internal):
8502 implement printing the selection when it's selected.
8504 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8506 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8508 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8510 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8511 EMACS_INT is signed.
8513 2001-04-15 Michael Lausch <mla@1012surf.net>
8515 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8516 gtk_widget_request_size() to give scrollbar >0 width for
8519 2001-05-30 William M. Perry <wmperry@gnu.org>
8521 * event-gtk.c: Check for buttons as modifier keys.
8523 2001-05-25 Craig Lanning <CraigL@Knology.net>
8526 Properly find MinGW's <process.h> inside Cygwin's restructured
8527 include directories. Don't try to include <cygwin/version.h>
8528 since we are dropping support for MinGW in versions of Cygwin
8531 Drop support for MinGW in versions of Cygwin before b21.
8533 Properly find MinGW's <process.h> inside Cygwin's restructured
8534 include directories.
8536 Drop support for MinGW in versions of Cygwin before b21.
8538 Even though a.out.h is no longer detected by configure, allow
8539 MinGW to use it until we figure out how to do the job with Win32.
8541 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8543 * syntax.c (find_start_of_comment):
8544 Fix `unbalanced parentheses' bug when dealing with mixed comment
8545 styles in c++/java/etc. mode
8547 2001-05-29 Mike Alexander <mta@arbortext.com>
8549 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8550 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8552 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8554 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8556 2001-03-31 Mike Sperber <mike@xemacs.org>
8558 * search.c (Freplace_match): Support FSF-style specification of
8559 match subexpression when applied to a buffer.
8561 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8563 * event-stream.c (is_scrollbar_event): add missing semicolon
8565 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8567 * Makefile.in.in: Use TAR macro instead of hardcoding
8568 tar. Allows use of GNU tar instead of system tar
8570 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8572 * event-stream.c (is_scrollbar_event): add missing semicolon
8574 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8576 * XEmacs 21.4.3 "Academic Rigor" is released.
8578 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8580 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8582 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8584 * buffer.c (Vcase_fold_search): Remove obsolete
8585 comment about non ASCII case-fold-search. This
8586 bug has been fixed by case-table changes.
8588 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8590 * event-msw.c: Restore include of events-mod.h.
8592 2001-04-22 zhaoway <zw@debian.org>
8594 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8597 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8599 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8601 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8603 * mule-charset.c (Fmake_charset): Add missing else.
8605 2001-04-23 Ben Wing <ben@xemacs.org>
8607 * event-msw.c (FAKE_MOD_QUIT):
8608 * event-msw.c (mswindows_dequeue_dispatch_event):
8609 * event-msw.c (mswindows_wnd_proc):
8610 * event-msw.c (emacs_mswindows_quit_p):
8611 Get critical quit working.
8613 2001-05-05 Ben Wing <ben@xemacs.org>
8617 * device-msw.c (mswindows_get_default_margin):
8618 * frame-msw.c (mswindows_size_frame_internal):
8619 * frame-msw.c (msprinter_init_frame_1):
8620 * frame-msw.c (vars_of_frame_mswindows):
8621 Change top/bottom margin defaults to 0.5 inches.
8623 2001-05-01 Martin Buchholz <martin@xemacs.org>
8625 Fix link error with gcc 3.0 on Linux.
8626 * terminfo.c (UP): Remove.
8627 * terminfo.c (BC): Remove.
8628 * terminfo.c (PC): Remove.
8629 They weren't used, and in any case, these symbols should be
8630 defined in the *library*.
8632 2001-05-03 Martin Buchholz <martin@xemacs.org>
8634 * s/aix4.h: Fix crash with xlc -O3.
8635 Improve comment explaining how -O3 works.
8637 2001-04-15 Ben Wing <ben@xemacs.org>
8640 * event-stream.c (Fnext_event):
8641 * event-stream.c (is_scrollbar_event):
8642 * event-stream.c (execute_command_event):
8643 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8644 crash' problem. His fix introduces other problems. We filter
8645 out scrollbar events specifically, making them somewhat invisible
8646 to command-building, and not appearing in `this-command-keys'.
8647 More work is still needed (see comments in event-stream.c), but
8648 this fixes all the major problems.
8650 2001-04-20 Ben Wing <ben@xemacs.org>
8652 * .cvsignore: Added stuff for Windows.
8654 2001-04-28 Ben Wing <ben@xemacs.org>
8656 * buffer.c (Ferase_buffer):
8657 * editfns.c (buffer_insert1):
8658 * editfns.c (Finsert_before_markers):
8659 * editfns.c (Finsert_string):
8660 * editfns.c (Finsert_char):
8661 * editfns.c (Fdelete_region):
8662 * editfns.c (Fwiden):
8663 * editfns.c (Fnarrow_to_region):
8664 remove bogus lines setting zmacs_region_stays to 0.
8666 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8668 * process-unix.c (unix_open_network_stream): If connect() fails
8669 invalidate file descriptor after closing it.
8671 2001-03-08 Mike Alexander <mta@arbortext.com>
8673 * event-msw.c (mswindows_need_event_in_modal_loop):
8674 Don't dispatch a message if we didn't get one.
8675 (mswindows_need_event):
8676 Terminate the correct process when one exits instead of the first
8677 one on Vprocess_list and look for process termination when in
8678 mswindows_protect_modal_loop.
8680 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8682 * XEmacs 21.4.1 "Copyleft" is released.
8684 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8686 * input-method-motif.c (XIM_delete_frame): New callback.
8687 (XIM_init_frame): Register it.
8689 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8691 * XEmacs 21.4.0 "Solid Vapor" is released.
8693 2001-04-15 Ben Wing <ben@xemacs.org>
8695 * cmdloop.c (call_command_loop):
8696 Fix braino in bit-rotting code.
8698 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8700 * extents.c (Fset_extent_endpoints): Force creation of extent info
8701 in buffer_or_string.
8703 * extents.c (process_extents_for_insertion_mapper): Correctly
8704 check for open-open zero-length extents.
8706 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8708 * lisp.h: New typedefs Memory_count, Element_count.
8711 Sign-compare warning elimination: several unsigned -> signed.
8712 Based on work by Ben Wing <ben@xemacs.org>.
8714 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8716 * XEmacs 21.2.47 "Zephir" is released.
8718 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8720 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8722 2001-04-03 Mike Sperber <mike@xemacs.org>
8724 * search.c: Revert previous patch due because of release.
8726 2001-03-30 Ben Wing <ben@xemacs.org>
8729 Add missing killpg prototype.
8732 Add a comment about fixing problems when a new entry is added
8735 * frame-msw.c (mswindows_init_frame_1):
8736 Fix compile warnings.
8738 * menubar.c (vars_of_menubar):
8739 Provide `menu-accelerator-support' to indicate that we properly
8740 support %_ in menu specifications, so that package code can
8741 conditionalize on this (and remove %_ from menu specifications
8746 * scrollbar-msw.c (can_scroll):
8748 Fix handling of mouse wheel under Windows to follow standards --
8749 now scrolls window under pointer, not selected window.
8751 2001-03-31 Mike Sperber <mike@xemacs.org>
8753 * search.c (Freplace_match): Support FSF-style specification of
8754 match subexpression when applied to a buffer.
8756 2001-03-15 Martin Buchholz <martin@xemacs.org>
8758 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8759 function to modify KEYMAP, so map over a copy of the hash table.
8761 2001-03-21 Martin Buchholz <martin@xemacs.org>
8763 * XEmacs 21.2.46 "Urania" is released.
8765 2001-03-20 Dan Holmsand <dan@eyebee.com>
8767 * realpath.c (xrealpath): Make file-truename work with symlinks to
8768 /cygdrive paths on cygwin. Always lowercase drive-letters on
8770 (cygwin_readlink): Don't try to find canonical filename unless
8773 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8775 * ChangeLog: Log GTK merge.
8781 Revert gratuitous whitespace changes from GTK merge.
8783 * emacs.c: Document end of complex #ifdef @ l. 1495.
8786 2001-03-12 Andy Piper <andy@xemacs.org>
8788 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8789 have to do likewise.
8791 2001-03-12 Andy Piper <andy@xemacs.org>
8793 * sysdep.c: we only support mingw now.
8795 2001-03-09 Andy Piper <andy@xemacs.org>
8797 * unexcw.c (copy_executable_and_dump_data_section): making approx
8798 overrun a warning only.
8800 2001-03-10 William M. Perry <wmperry@aventail.com>
8802 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8803 satisfy Stephen's identical-after-cpp plea.
8805 2001-03-02 Ben Wing <ben@xemacs.org>
8808 * cmds.c (Fforward_char):
8812 Augment documentation of the most common motion commands to make
8813 note of the shifted-motion support.
8815 2001-03-02 Ben Wing <ben@xemacs.org>
8817 * nt.c (mswindows_fstat):
8818 * nt.c (mswindows_stat):
8819 * search.c (boyer_moore):
8820 Fix compile warnings under Windows.
8822 * sysdep.c (sys_readdir):
8823 Fix buggy filename-conversion code under Mule.
8825 2001-03-09 William M. Perry <wmperry@aventail.com>
8847 * redisplay-output.c:
8853 The Great GTK Merge.
8860 * emacs-widget-accessors.c:
8874 * native-gtk-toolbar.c:
8885 The Great GTK Merge: new files.
8887 2001-02-26 Ben Wing <ben@xemacs.org>
8889 Reapplied Lstream change.
8891 2001-02-26 Ben Wing <ben@xemacs.org>
8893 Undid the last change, since it is more controversial than I
8894 thought. It should be back in at some point soon.
8896 2001-02-25 Ben Wing <ben@xemacs.org>
8899 * callproc.c (Fold_call_process_internal):
8900 * event-msw.c (ntpipe_slurp_reader):
8901 * event-msw.c (ntpipe_shove_writer):
8902 * event-msw.c (winsock_reader):
8903 * event-msw.c (winsock_writer):
8905 * file-coding.c (detect_eol_type):
8906 * file-coding.c (detect_coding_type):
8907 * file-coding.c (determine_real_coding_system):
8908 * file-coding.c (Fdetect_coding_region):
8909 * file-coding.c (decoding_reader):
8910 * file-coding.c (decoding_writer):
8911 * file-coding.c (mule_decode):
8912 * file-coding.c (Fdecode_coding_region):
8913 * file-coding.c (encoding_reader):
8914 * file-coding.c (encoding_writer):
8915 * file-coding.c (mule_encode):
8916 * file-coding.c (Fencode_coding_region):
8917 * file-coding.c (detect_coding_sjis):
8918 * file-coding.c (decode_coding_sjis):
8919 * file-coding.c (encode_coding_sjis):
8920 * file-coding.c (detect_coding_big5):
8921 * file-coding.c (decode_coding_big5):
8922 * file-coding.c (encode_coding_big5):
8923 * file-coding.c (detect_coding_ucs4):
8924 * file-coding.c (decode_coding_ucs4):
8925 * file-coding.c (encode_coding_ucs4):
8926 * file-coding.c (detect_coding_utf8):
8927 * file-coding.c (decode_coding_utf8):
8928 * file-coding.c (encode_coding_utf8):
8929 * file-coding.c (detect_coding_iso2022):
8930 * file-coding.c (decode_coding_iso2022):
8931 * file-coding.c (encode_coding_iso2022):
8932 * file-coding.c (decode_coding_no_conversion):
8933 * file-coding.c (encode_coding_no_conversion):
8934 * glyphs-x.c (write_lisp_string_to_temp_file):
8935 * gpmevent.c (tty_get_foreign_selection):
8938 * lstream.c (Lstream_flush_out):
8939 * lstream.c (Lstream_adding):
8940 * lstream.c (Lstream_write_1):
8941 * lstream.c (Lstream_write):
8942 * lstream.c (Lstream_raw_read):
8943 * lstream.c (Lstream_read_more):
8944 * lstream.c (Lstream_read):
8945 * lstream.c (Lstream_unread):
8946 * lstream.c (Lstream_fputc):
8947 * lstream.c (stdio_reader):
8948 * lstream.c (stdio_writer):
8949 * lstream.c (filedesc_reader):
8950 * lstream.c (filedesc_writer):
8951 * lstream.c (lisp_string_reader):
8952 * lstream.c (struct fixed_buffer_stream):
8953 * lstream.c (make_fixed_buffer_input_stream):
8954 * lstream.c (make_fixed_buffer_output_stream):
8955 * lstream.c (fixed_buffer_reader):
8956 * lstream.c (fixed_buffer_writer):
8957 * lstream.c (struct resizing_buffer_stream):
8958 * lstream.c (resizing_buffer_writer):
8959 * lstream.c (dynarr_writer):
8960 * lstream.c (lisp_buffer_reader):
8961 * lstream.c (lisp_buffer_writer):
8963 * lstream.h (lstream_implementation):
8964 * lstream.h (struct lstream):
8966 * process-nt.c (nt_send_process):
8967 * process-unix.c (unix_send_process):
8969 Correct Lstream lossage due to mixing of signed and unsigned
8970 quantities. All Lstream uses of size_t and ssize_t are now a
8971 single signed data type Lstream_data_count. This fixes problems
8972 under Windows with sending large quantities of data to a process,
8973 and may well fix other subtle bugs.
8975 2001-02-23 Martin Buchholz <martin@xemacs.org>
8977 * XEmacs 21.2.45 "Thelxepeia" is released.
8979 2001-02-21 Martin Buchholz <martin@xemacs.org>
8981 * lisp-union.h (XSETINT):
8984 Reverse previous change of 2001-02-06.
8986 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8988 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8990 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8991 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8992 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8993 * regex.c (POS_AS_IN_BUFFER): removed
8994 * regex.c (re_search_2):
8995 * regex.c (re_match_2):
8996 Don't use an offset of 1 when calculating buffer positions, since
8997 `BI_BUF_BEGV' does it already.
8999 2001-02-18 Wim Dumon <wim@easics.be>
9001 * insdel.c (prepare_to_modify_buffer): Also check for
9002 supersession when clash-detection is enabled.
9004 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
9006 * regex.c (re_match_2_internal):
9007 Convert temp characters from 'const unsigned char' to 're_char'.
9008 Fix crashing bug with extended characters under mule.
9009 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
9010 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
9011 font-lock, pdump, and new syntax-table code.
9012 * syntax.c (find_start_of_comment):
9013 (find_end_of_comment):
9015 Fix crashing bugs involving moving beyond end of buffer.
9016 * syntax.c (find_start_of_comment):
9017 Fixed logic to allow proper detection of cases where the same
9018 character is used to end both a two-char comment start and a
9019 two-char comment end sequence. Fixes `(forward-comment -1)'.
9020 * syntax.c (find_start_of_comment):
9021 Return position just past last comment-end character for all cases
9022 (previously was only done for two-char comment-end sequences).
9023 * syntax.c (forward-comment):
9024 Take value returned from `find_end_of_comment', rather than
9026 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
9027 Properly deal with BUFFERP (syntax_cache.object)
9029 2001-02-17 Martin Buchholz <martin@xemacs.org>
9031 * alloc.c (Fgarbage_collect):
9032 * alloc.c (make_bit_vector_from_byte_vector):
9033 -Wsign-compare-correctness.
9035 2001-02-16 Martin Buchholz <martin@xemacs.org>
9037 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
9038 (XSETCHAR): Likewise.
9039 (XSETOBJ): Likewise.
9041 2001-02-15 Martin Buchholz <martin@xemacs.org>
9043 * mule-canna.c (canna-func-delete_previous):
9044 Rename to canna-func-delete-previous.
9046 2001-02-14 Martin Buchholz <martin@xemacs.org>
9048 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
9050 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
9052 * font-lock.c (find_context): Fix C++ compile errors introduced by
9055 2001-02-13 Martin Buchholz <martin@xemacs.org>
9057 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
9058 pragma, but earlier ones barf on the same pragma.
9060 2001-02-06 Mike Sperber <mike@xemacs.org>
9062 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
9063 `configure-mule-lisp-directory'.
9065 2001-02-12 Martin Buchholz <martin@xemacs.org>
9067 Make sure dump-id.c is compiled in the same way as other .c's.
9068 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
9069 * dump-id.h: Remove.
9070 * emacs.c: Move dump-id.h into dumper.h.
9071 * dumper.h: Move dump-id.h into dumper.h.
9073 Use standard .c.o rule for building dump-id.o.
9074 Remove preprocessor flags from link command.
9075 Add dump-id.o to ${otherobjs} if PDUMP.
9077 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
9079 Port FSF 20.7 syntax table improvements.
9083 Fixups for new syntax table stuff.
9084 * dired.c: Include syntax.c.
9085 (Fdirectory_files): Initialize regex_match_object and
9087 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
9088 and Fget_char_property.
9090 Use ported FSF 20.7 syntax table improvements.
9095 2001-02-09 Martin Buchholz <martin@xemacs.org>
9097 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9098 Unixware's enum boolean from sys/types.h.
9100 2001-02-10 Martin Buchholz <martin@xemacs.org>
9102 Fix support for building with latest Purify.
9103 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9104 (PURIFY_FLAGS): Likewise.
9106 2001-02-09 Martin Buchholz <martin@xemacs.org>
9108 * fileio.c (lisp_string_set_file_times): New.
9109 * fileio.c (Fcopy_file): Use it.
9111 (copy-file filename non-ascii-filename t t)
9112 ==> No such file or directory, non-ascii-filename
9114 2001-02-10 Martin Buchholz <martin@xemacs.org>
9116 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9117 USHRT_MAX seems clearer than ~0 anyways.
9119 2001-02-09 Martin Buchholz <martin@xemacs.org>
9121 dumper improvements. Inspired by Olivier.
9122 * dumper.c (pdump_max_align): New.
9123 * dumper.c (pdump_add_entry): Use pdump_max_align.
9124 * dumper.c (pdump_get_entry_list): Likewise.
9125 * dumper.c (pdump_scan_by_alignment): Likewise.
9126 Don't iterate through unnecessary alignments.
9127 * dumper.c (pdump_file_get): No need to align result of malloc().
9128 * dumper.c (pdump_mallocadr): Remove.
9129 The result of malloc() is guaranteed to be maximally aligned.
9130 * dumper.c: s/elmt/elt/g;
9131 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9132 * dumper.c (pdump_alert_undump_object): Likewise.
9133 * dumper.c (pdump_align_table):
9134 Don't support alignments > 64.
9135 Store ALIGNOF's, not shift counts, in table.
9137 2001-02-09 Martin Buchholz <martin@xemacs.org>
9139 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9140 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9141 * systime.h: Use HAVE_UTIME.
9142 * sysdep.c (struct utimbuf): Remove.
9143 * sysdep.c (set_file_times): Prefer utime() to utimes().
9144 * config.h.in (HAVE_UTIME): New.
9145 * config.h.in (HAVE_UTIME_H): Remove.
9146 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9148 2001-02-09 Martin Buchholz <martin@xemacs.org>
9150 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9152 2001-02-08 Martin Buchholz <martin@xemacs.org>
9154 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9156 2001-02-08 Martin Buchholz <martin@xemacs.org>
9158 * XEmacs 21.2.44 "Thalia" is released.
9160 2001-02-06 Martin Buchholz <martin@xemacs.org>
9162 Fixes crashes in kill-emacs on some systems.
9163 * process-unix.c (unix_kill_child_process):
9164 It's OK for kill() to fail with ESRCH.
9166 2001-02-07 Martin Buchholz <martin@xemacs.org>
9168 Contortions to make .gdbinit tricks work on most systems.
9169 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9170 * alloc.c (dbg_valmask): Make non-const.
9171 * alloc.c (dbg_typemask): Make non-const.
9172 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9173 * alloc.c (dbg_valbits): Make non-const.
9174 * alloc.c (dbg_gctypebits): Make non-const.
9175 * .gdbinit (decode_object): Make it work with AIX cc.
9177 2001-02-06 Martin Buchholz <martin@xemacs.org>
9179 * elhash.c (make_general_lisp_hash_table):
9180 Use simpler and more efficient calloc to clear entries.
9182 2001-02-07 Martin Buchholz <martin@xemacs.org>
9184 * window.c (window_scroll): Work around an AIX C compiler bug.
9185 Fixes 'scroll-up' does nothing problem with xlC.
9187 2001-02-05 Martin Buchholz <martin@xemacs.org>
9189 * .gdbinit: Remove obsolete comment.
9191 2001-01-31 Mike Alexander <mta@arbortext.com>
9193 * select.c (Fown_selection_internal): Set owned_p for device
9196 2001-02-01 Martin Buchholz <martin@xemacs.org>
9199 "not" cannot be used as a macro name as it is an operator in C++
9200 * config.h.in: Stop #defining `not'.
9201 * chartab.c (check_category_char): not ==> not_p
9202 * chartab.h: Likewise.
9203 * regex.c (re_match_2_internal): Likewise.
9205 2001-02-02 Martin Buchholz <martin@xemacs.org>
9207 * lisp-disunion.h: Fix up comments.
9209 2001-01-31 Martin Buchholz <martin@xemacs.org>
9211 * keymap.c (define_key_check_and_coerce_keysym):
9213 Support mouse-6 and mouse-7 bindings in the obvious way.
9215 2001-02-01 Martin Buchholz <martin@xemacs.org>
9217 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9219 2001-01-30 Martin Buchholz <martin@xemacs.org>
9221 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9222 Previous patch missed DEFVAR_INT_MAGIC.
9223 Make sure future DEFVAR_foo use correct types.
9224 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9225 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9226 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9227 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9228 * (DEFVAR_INT): Likewise.
9229 * redisplay.c (vertical_clip): Should be of type Fixnum.
9230 * redisplay.c (horizontal_clip): Likewise.
9231 * lisp.h (dump_add_opaque_int): New.
9232 (dump_add_opaque_fixnum): New.
9234 2001-01-29 Andy Piper <andy@xemacs.org>
9236 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9237 since they can be eval'ed
9239 2001-01-29 Martin Buchholz <martin@xemacs.org>
9241 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9242 Oops, XEmacs redefines `class'. Use `typename' instead.
9244 2001-01-28 Martin Buchholz <martin@xemacs.org>
9246 * dumper.c: Fix C++ compile errors.
9248 2001-01-29 Martin Buchholz <martin@xemacs.org>
9250 * tparam.c: Use correct prototypes.
9252 2001-01-28 Martin Buchholz <martin@xemacs.org>
9254 * sysproc.h: #include util.h for NetBSD's openpty.
9256 2001-01-27 Martin Buchholz <martin@xemacs.org>
9258 More 64-bit correctness.
9259 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9260 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9262 This finally finishes the 64-bit SGI port.
9263 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9264 * symbols.c: Fix up comments and type casts.
9265 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9266 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9267 * symeval.h (Fixnum): New type.
9268 * symeval.h (symbol_value_type): Fix up comment.
9284 * mule-canna.c: A million DEFVAR_INTs here...
9285 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9298 s/int/Fixnum/g in DEFVAR_INT declarations.
9300 2001-01-26 Martin Buchholz <martin@xemacs.org>
9302 Port pdump to SGI alignment-sensitive environment.
9303 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9304 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9306 Define and use aligned reading and writing macros.
9307 Use buffered stdio instead of posix i/o for faster dumping.
9308 Eliminate kludgy 256 byte space for header.
9309 Read and write from dump file using structs for alignment safety.
9310 * dumper.c (pdump_align_stream): New.
9311 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9312 * dumper.c (PDUMP_READ_ALIGNED): New.
9313 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9314 * dumper.c (pdump_static_Lisp_Object): New struct.
9315 * dumper.c (pdump_static_pointer): New struct.
9316 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9317 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9318 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9319 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9321 * dumper.c (pdump_backtrace):
9322 * dumper.c (pdump_get_indirect_count):
9323 * dumper.c (pdump_register_object):
9324 * dumper.c (pdump_register_struct):
9325 * dumper.c (pdump_reloc_one):
9326 * dumper.c (pdump_scan_by_alignment):
9327 * dumper.c (pdump_dump_from_root_struct_ptrs):
9328 * dumper.c (pdump_dump_opaques):
9329 * dumper.c (pdump_dump_rtables):
9330 * dumper.c (pdump_dump_from_root_objects):
9332 * dumper.c (pdump_load_finish):
9333 Use aligned reading and writing.
9335 * dumper.c (pdump_free): Make static.
9336 * dumper.c (pdump_hFile): Likewise.
9337 * dumper.c (pdump_hMap): Likewise.
9339 2001-01-26 Martin Buchholz <martin@xemacs.org>
9341 * XEmacs 21.2.43 "Terspichore" is released.
9343 2001-01-25 Martin Buchholz <martin@xemacs.org>
9345 Type fiddling for window_config.saved_windows_count
9346 * window.c (struct window_config):
9347 Make saved_windows_count member unsigned.
9348 * window.c (sizeof_window_config_for_n_windows):
9349 Make parameter unsigned.
9350 * window.c (mark_window_config):
9351 * window.c (window_config_equal):
9352 * window.c (free_window_configuration):
9353 * window.c (Fset_window_configuration):
9354 * window.c (count_windows):
9355 * window.c (Fcurrent_window_configuration):
9356 * window.c (reinit_vars_of_window):
9357 Update all callers and users.
9359 2001-01-25 Martin Buchholz <martin@xemacs.org>
9361 Alignment correctness for flexible arrays.
9362 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9363 Make alignment-correct. Add interesting comments.
9364 * alloc.c (size_vector):
9365 * alloc.c (make_vector_internal):
9366 * alloc.c (make_bit_vector_internal):
9367 * alloc.c (sweep_bit_vectors_1):
9368 * fns.c (size_bit_vector):
9369 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9370 * window.c (sizeof_window_config_for_n_windows):
9371 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9373 2001-01-24 Martin Buchholz <martin@xemacs.org>
9375 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9377 2001-01-23 Andy Piper <andy@xemacs.org>
9379 * select.c (Fown_selection_internal): pass owned_p
9381 * select-msw.c (mswindows_own_selection): New Signature.
9383 * console.h (struct console_methods): add owned_p to
9386 * select-x.c (x_own_selection): pass owned_p
9387 (hack_motif_clipboard_selection): use owned_p
9388 (vars_of_select_x): new variable -
9389 x_selection_strict_motif_ownership.
9391 2001-01-23 Martin Buchholz <martin@xemacs.org>
9393 * specifier.h (specifier_data_offset): Remove pointless parens.
9394 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9396 2001-01-24 Martin Buchholz <martin@xemacs.org>
9398 Make Lisp_Object sizeof methods be alignment-correct.
9399 pdump must restore objects to the same alignment as the C compiler
9400 assumes. It really matters on SGIs.
9401 * lstream.c (aligned_sizeof_lstream): New.
9402 (sizeof_lstream): Use aligned_sizeof_lstream.
9403 (Lstream_new): Likewise.
9404 * opaque.c (aligned_sizeof_opaque): New.
9405 (sizeof_opaque): Use aligned_sizeof_opaque.
9406 (make_opaque): Likewise.
9407 * specifier.c (aligned_sizeof_specifier): New.
9408 (sizeof_specifier): Use aligned_sizeof_specifier.
9409 (make_specifier_internal): Likewise.
9411 2001-01-23 Martin Buchholz <martin@xemacs.org>
9413 * lstream.h (struct lstream): Use max_align_t for trailing data.
9414 * specifier.h (struct Lisp_Specifier): Likewise.
9416 2001-01-22 Martin Buchholz <martin@xemacs.org>
9418 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9419 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9420 (CCL_SUSPEND): Likewise.
9421 (CCL_INVALID_CMD): Likewise.
9422 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9423 (ccl_driver): Likewise.
9424 (CCL_WRITE_CHAR): Macro hygiene.
9425 (CCL_WRITE_STRING): Macro hygiene.
9427 2001-01-22 Martin Buchholz <martin@xemacs.org>
9429 Port "portable" dumper to SunOS 4 and HP-UX.
9430 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9431 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9432 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9434 2001-01-22 Martin Buchholz <martin@xemacs.org>
9436 * lisp.h (ALIGNOF): A better definition for C++.
9438 2001-01-20 Martin Buchholz <martin@xemacs.org>
9441 Fix printf warnings: int format, long int arg.
9442 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9443 (PUSH_FAILURE_POINT): Use correct printf formats.
9444 (POP_FAILURE_POINT): Use correct printf formats.
9445 Use do {...} while (0)
9447 2001-01-20 Martin Buchholz <martin@xemacs.org>
9449 * XEmacs 21.2.42 "Poseidon" is released.
9451 2001-01-20 Martin Buchholz <martin@xemacs.org>
9453 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9455 2001-01-19 Martin Buchholz <martin@xemacs.org>
9457 De-kludgify FIXED_TYPE free list frobbing.
9458 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9459 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9460 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9461 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9462 * alloc.c (LRECORD_FREE_P): New.
9463 * alloc.c (MARK_LRECORD_AS_FREE): New.
9464 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9465 * alloc.c (STRUCT_FREE_P): Deleted.
9466 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9467 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9468 * alloc.c (STRING_CHARS_FREE_P): New.
9469 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9470 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9471 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9472 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9473 * alloc.c (resize_string): Use new definitions.
9474 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9475 * alloc.c (verify_string_chars_integrity): Use new definitions.
9476 * alloc.c (compact_string_chars): Use new definitions.
9477 * alloc.c: Update monster comments.
9478 * lrecord.h (lrecord_type): Add some new lrecord types for
9481 2001-01-18 Martin Buchholz <martin@xemacs.org>
9483 Improve alignment hackery.
9484 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9485 (max_align_t): Moved from opaque.h - general purpose.
9486 (ALIGN_PTR): Use size_t, not long.
9487 * opaque.h (max_align_t): Move to lisp.h.
9489 2001-01-18 Norbert Koch <nk@LF.net>
9491 * gui.h: Fix and add prototypes to fix build problems.
9493 2001-01-18 Martin Buchholz <martin@xemacs.org>
9495 temacs is going away, so `dump-temacs' is now a bad name.
9496 * .dbxrc (dump-temacs): Rename to `dmp'.
9497 * .gdbinit (dump-temacs): Rename to `dmp'.
9499 2001-01-17 Andy Piper <andy@xemacs.org>
9501 * glyphs.c (print_image_instance): comment to make martin happy.
9503 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9506 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9508 (mswindows_tab_control_redisplay): warning suppression.
9510 * glyphs-widget.c (widget_update): re-write to cope with updated
9512 (widget_instantiate): use new gui_item functions.
9513 (tab_control_update): deleted.
9514 (progress_gauge_update): deleted.
9515 (image_instantiator_progress_guage): take out update reference.
9516 (image_instantiator_tree_view): ditto.
9517 (image_instantiator_tab_control): ditto.
9519 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9521 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9522 return whether anything was changed.
9523 (update_gui_item_keywords): as it sounds.
9525 * gui.h: declare widget_gui_parse_item_keywords.
9527 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9528 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9530 2001-01-17 Martin Buchholz <martin@xemacs.org>
9532 * XEmacs 21.2.41 "Polyhymnia" is released.
9534 2001-01-16 Didier Verna <didier@xemacs.org>
9536 * glyphs.c (image_instantiate): don't use fallbacks when
9537 instantiating a face's background pixmap by inheritance.
9539 2001-01-14 Mike Sperber <mike@xemacs.org>
9541 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9542 Conditionalize accordingly.
9544 2001-01-16 Martin Buchholz <martin@xemacs.org>
9546 * dumper.c (pdump_file_get): Fix a compiler warning.
9548 2001-01-15 Martin Buchholz <martin@xemacs.org>
9550 Make Purify happy when pdumping.
9551 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9552 iniitalizing all bits of new lisp object memory.
9553 * symbols.c (Fmake_local_variable): Likewise.
9554 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9555 * symbols.c (Fdefvaralias): Likewise.
9556 * mule-charset.c (vars_of_mule_charset): Likewise.
9558 2001-01-15 Martin Buchholz <martin@xemacs.org>
9559 Add the `-nd' flag when running pre-dump operations under the debugger.
9560 * .dbxrc (run-temacs): Add `-nd'.
9561 * .dbxrc (update-elc): Likewise.
9562 * .dbxrc (dump-temacs): Likewise.
9563 * .gdbinit (run-temacs): Likewise.
9564 * .gdbinit (check-temacs): Likewise.
9565 * .gdbinit (update-elc): Likewise.
9566 * .gdbinit (dump-temacs): Likewise.
9568 2001-01-14 Martin Buchholz <martin@xemacs.org>
9570 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9571 export OBJECT_MODE=64
9572 configure --pdump --use-union-type=no
9573 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9574 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9576 * miscplay.c (sndcnv8U_2mono):
9577 Avoid two uses of `++' in the same expression.
9578 Suppresses a GCC warning.
9580 2001-01-13 Martin Buchholz <martin@xemacs.org>
9582 Make sure future compilers don't miscompile alloc.c.
9584 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9585 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9587 2001-01-12 Martin Buchholz <martin@xemacs.org>
9589 * dumper.c: A little post-pdump-rename comment fixup.
9591 2001-01-09 Jerry James <james@eecs.ku.edu>
9593 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9595 2001-01-13 Martin Buchholz <martin@xemacs.org>
9597 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9601 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9604 replace_symbol pdump_wire_lists pdump_weak_object_chains
9605 replace_symbol pdump_wire_list dump_add_weak_object_chain
9607 replace_symbol pdump_wires pdump_root_objects
9608 replace_symbol pdump_wire dump_add_root_object
9610 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9611 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9613 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9614 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9615 replace_symbol dumpstructinfo pdump_root_struct_ptr
9616 replace_symbol dumpstruct dump_add_root_struct_ptr
9618 replace_symbol dumpopaque dump_add_opaque
9619 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9620 replace_symbol dumpopaqueinfos pdump_opaques
9621 replace_symbol dumpopaqueinfo pdump_opaque
9623 replace_symbol nb_structdump nb_root_struct_ptrs
9624 replace_symbol nb_opaquedump nb_opaques
9626 replace_symbol align_table pdump_align_table
9627 replace_symbol dump_header pdump_header
9629 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9630 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9633 2001-01-12 Martin Buchholz <martin@xemacs.org>
9635 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9636 optimizing bytecount_to_charcount().
9638 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9641 (HAVE_DLFCN_H): Removed.
9642 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9644 2001-01-06 Martin Buchholz <martin@xemacs.org>
9646 Portable dumper maintainability improvements.
9647 * alloc.c (staticpro):
9648 * alloc.c (staticpro_nodump):
9649 * alloc.c (garbage_collect_1):
9650 * alloc.c (reinit_alloc_once_early):
9651 * alloc.c (init_alloc_once_early):
9652 * alloc.c: Move dumper functions to alloc.c.
9653 * dumper.c (pdump_backtrace):
9654 * dumper.c (pdump_dump_structs):
9655 * dumper.c (pdump_dump_opaques):
9656 * dumper.c (pdump_dump_rtables):
9657 * dumper.c (pdump_dump_wired):
9659 * dumper.c (pdump_load_check):
9660 * dumper.c (pdump_load_finish):
9661 * dumper.c (pdump_file_unmap):
9662 * dumper.c (pdump_file_get):
9663 * dumper.c (pdump_resource_free):
9664 * dumper.c (pdump_resource_get):
9665 * dumper.c (pdump_file_free):
9666 * dumper.c (pdump_file_try):
9667 * dumper.c (pdump_load):
9668 Remove fixed size limits on staticpro(), staticpro_nodump(),
9669 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9670 Remove custom code for dumping lrecord_implementations_table - use
9672 Remove (most of the) custom code for dumping staticpros - dump it
9673 like any other dynarr.
9675 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9676 * dumper.c: Moved functions from alloc.c.
9677 * alloc.c (dumpstruct): Moved to dumper.c.
9678 * alloc.c (dumpopaque): Likewise.
9679 * alloc.c (pdump_wire): Likewise.
9680 * alloc.c (pdump_wire_list): Likewise.
9682 * lisp.h (Dynarr_sizeof): New.
9683 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9684 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9685 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9687 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9688 * lisp.h (dumpopaque): ditto.
9689 * lisp.h (pdump_wire): ditto.
9690 * lisp.h (pdump_wire_list): ditto.
9692 2001-01-09 Martin Buchholz <martin@xemacs.org>
9694 * make-src-depend (PrintPatternDeps):
9695 Use `sort' to make output independent of perl version.
9697 2001-01-08 Martin Buchholz <martin@xemacs.org>
9700 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9701 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9703 2001-01-03 Didier Verna <didier@xemacs.org>
9705 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9706 that `focus_frame' is alive before thinking of calling
9707 `redisplay_redraw_cursor' on it.
9709 2001-01-08 Martin Buchholz <martin@xemacs.org>
9711 * XEmacs 21.2.40 is released.
9713 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9715 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9717 2001-01-06 Martin Buchholz <martin@xemacs.org>
9719 * alloc.c (dbg_valmask): Make const.
9720 * alloc.c (dbg_typemask): Make const.
9721 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9722 * alloc.c (dbg_valbits): Make const.
9723 * alloc.c (dbg_gctypebits): Make const.
9725 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9727 * redisplay-x.c (x_bevel_area):
9728 redisplay.h (struct rune):
9729 Typo fixes in comments.
9731 2001-01-05 Andy Piper <andy@xemacs.org>
9733 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9736 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9738 2001-01-05 Martin Buchholz <martin@xemacs.org>
9740 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9742 * mule-ccl.c (stack_idx_of_map_multiple):
9743 Non const global data must not be initialized!
9744 Found by MIYASHITA Hisashi.
9746 2001-01-02 Andy Piper <andy@xemacs.org>
9748 * frame.c (change_frame_size): make sure frame size is always
9751 * glyphs.c (image_instance_layout): minor code reuse.
9753 * window.c (Fcurrent_window_configuration): revert previous
9756 2001-01-02 Martin Buchholz <martin@xemacs.org>
9759 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9761 2000-12-31 Andy Piper <andy@xemacs.org>
9763 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9764 when widget gets unmapped.
9766 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9767 function. Make sure widgets losing focus don't just drop it.
9768 (handle_focus_event_1): record the widget with focus.
9770 2000-12-31 Andy Piper <andy@xemacs.org>
9772 * window.c (allocate_window): use
9773 make_image_instance_cache_hash_table.
9774 (make_dummy_parent): ditto.
9775 (Fset_window_configuration): ditto.
9777 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9779 * glyphs.c (process_image_string_instantiator): use
9781 (get_image_instantiator_governing_domain): ditto.
9782 (normalize_image_instantiator): ditto.
9783 (instantiate_image_instantiator): ditto.
9784 (make_image_instance_1): ditto.
9785 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9786 (instantiator_eq_equal): new function for use with instance hash
9788 (instantiator_eq_hash): ditto.
9789 (make_image_instance_cache_hash_table): create a suitable hash
9790 table for storing image instances.
9792 * elhash.h (hash_table_weakness): new internal weakness type
9793 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9794 declare new functions.
9796 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9797 another weakness type for glyphs.
9798 (make_standard_lisp_hash_table): new function split out from
9799 make_general_lisp_hash_table.
9800 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9801 (hash_table_instantiate): ditto.
9802 (Fmake_hash_table): ditto.
9804 2000-12-31 Martin Buchholz <martin@xemacs.org>
9806 * XEmacs 21.2.39 is released.
9808 2000-12-29 Andy Piper <andy@xemacs.org>
9810 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9812 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9813 the frame has changed so that we pick up geometry changes such as
9816 2000-12-28 Andy Piper <andy@xemacs.org>
9818 * lastfile.c (my_ebss): make a char array so we can pad the
9819 bss. Fixes cygwin unexec.
9821 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9823 2000-12-26 Andy Piper <andy@xemacs.org>
9825 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9826 comments and try and be more precise about a non-/SIGIO world.
9827 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9830 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9831 we don't normalize to zero width or height.
9833 2000-12-24 Andy Piper <andy@xemacs.org>
9835 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9837 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9839 * s/sco5.h: SCO 5 has pty support.
9841 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9843 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9844 input-method-xlib.c contains whole contents of input-method-xfs.c,
9845 so we can use input-method-xlib.c's code for USE_XFONTSET
9847 * input-method-xfs.c: removed.
9849 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9851 * file-coding.h (enum coding_category_type): reorder enumerators to
9852 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9853 (now one greater than largest real coding_category_type enumerator).
9854 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9855 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9856 Fcoding_category_list, Fset_coding_priority_list,
9857 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9858 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9860 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9862 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9863 * redisplay-output.c (redisplay_output_window): Clear top of window
9864 when face is changed.
9865 * redisplay-x.c (x_redraw_exposed_window): Call
9866 redisplay_clear_top_of_window.
9867 * redisplay.h: Publish redisplay_clear_top_of_window.
9869 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9871 * buffer.c (Fkill_buffer): Map over all devices.
9872 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9873 (list_windows): New function.
9874 (list_all_windows): Ditto.
9875 (Freplace_buffer_in_windows): Use them.
9877 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9879 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9880 (Fopen_database): Use `db_create' instead of `db_open'.
9881 (syms_of_database): Initialize Qqueue.
9883 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9885 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9886 buffer_local_face_property.
9887 * buffer.h (struct buffer): New member buffer_local_face_property.
9888 * window.c (Fset_window_buffer): Mark window's face as changed
9889 when buffer has buffer local face.
9890 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9891 * objects.c (color_after_change): Set buffer_local_face_property
9892 when locale of face specifier is buffer.
9893 * objects.c (font_after_change): Ditto.
9894 * objects.c (face_boolean_after_change): Ditto.
9895 * glyphs.c (image_after_change): Ditto.
9897 2000-12-09 Dan Holmsand <dan@eyebee.com>
9899 * nt.c (mswindows_fstat): Report file permissions, volume serial
9900 number, etc. Code adapted from FSF Emacs 20.7.
9902 2000-12-09 Dan Holmsand <dan@eyebee.com>
9904 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9905 of stat when we don't have symbolic links, to make sure
9906 mswindows_stat is called on mswindows.
9908 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9910 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9912 2000-12-12 Martin Buchholz <martin@xemacs.org>
9914 * doprnt.c (emacs_doprnt_1): More printing fixes.
9915 Make printing of numbers compatible with libc and FSF Emacs.
9916 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9917 Use the system printf to do most of the hard work of formatting,
9918 instead of doprnt_1().
9919 Calculate memory to allocate for format string.
9920 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9921 (doprnt_1): Cleaner code and documentation.
9923 2000-12-01 Jerry James <james@eecs.ukans.edu>
9925 * Makefile.in.in: Use the loop variable to install headers.
9927 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9929 * window.c (Fsplit_window): Don't invalidate face cache.
9931 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9933 * minibuf.c (Fall_completions): Undo the previous change
9934 which removed checking elements start with space.
9936 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9938 * mule-canna.c: Didier suppression.
9940 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9942 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9943 (warning suppression). Add English comment translations.
9945 2000-12-05 Martin Buchholz <martin@xemacs.org>
9947 * unexelfsgi.c (unexec): Better test for mmap failure.
9949 2000-12-05 Martin Buchholz <martin@xemacs.org>
9951 * XEmacs 21.2.38 is released.
9953 2000-12-05 Martin Buchholz <martin@xemacs.org>
9955 * redisplay.c (bar-cursor): Make a user variable.
9957 * symsinit.h: Add init_postgresql_from_environment.
9959 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9961 * regex.c: Convert to clean C.
9963 2000-12-05 Dan Holmsand <dan@eyebee.com>
9966 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9968 (sys_readlink): renamed to system_readlink to avoid conflict with
9969 the other sys_readlink.
9971 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9973 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9975 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9977 * postgresql.c (init_postgresql_from_environment): new function.
9978 (vars_of_postgresql): Move code initializing Lisp variables out and
9979 into init_postgresql_from_environment.
9980 emacs.c (main_1): Call init_postgresql_from_environment if and only
9981 if running a dumped XEmacs.
9983 2000-08-31 Dan Holmsand <dan@eyebee.com>
9985 * buffer.c: Make find-file-compare-truenames default to true on
9988 * realpath.c (win32_abs_start):
9990 (win32_readlink): New functions.
9991 (xrealpath): Return really real filenames on windows.
9993 * fileio.c (Ffile_truename): Make file-truename work on windows.
9995 2000-11-29 Didier Verna <didier@xemacs.org>
9997 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9998 * faces.c (update_face_cachel_data): use it.
9999 * faces.c (add_face_cachel): use it. Complete background pixmap
10000 frobbing in face cache if `update_face_cachel_data' has not done so.
10002 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
10004 * search.c (string_match_1): Don't set last_thing_searched
10005 when search failed.
10007 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
10009 * buffer.c: Include casetab.h
10010 (common_init_complex_vars_of_buffer): Use new case-table object.
10011 * buffer.h: Include casetab.h
10012 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
10013 (DOWNCASE_TABLE_OF): Ditto.
10014 * bufslots.h: Remove char-tables and add case-table.
10015 * casetab.c: Include casetab.h
10016 (CASE_TABLE_P): Removed.
10017 (mark_case_table): New function.
10018 (allocate_case_table): New function.
10019 (Fcase_table_p): Use new case-table.
10020 (case_table_char): New function.
10021 (Fget_case_table): Ditto.
10022 (Fput_case_table): Ditto.
10023 (Fput_case_table_pair): Ditto.
10024 (Fcopy_case_table): Ditto.
10025 (Fcurrent_case_table): Return case-table.
10026 (Fstandard_case_table): Return case-table.
10027 (Fset_case_table): Fix doc-string.
10028 (set_case_table): Use case-table
10029 (syms_of_casetab): DEFSUBR new functions.
10030 (complex_vars_of_casetab): Set up standard case-table.
10031 * casetab.h: New file.
10032 * editfns.c: Include casetab.h
10033 (Fcompare_buffer_substrings): Use case-table.
10034 * inline.c: Include casetab.h
10035 * lisp.h: Remove bogus extern.
10036 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
10037 * search.c: Include casetab.h
10038 (TRANSLATE_ASCII): Removed.
10039 (TRANSLATE): Unconditionally translate character.
10040 (looking_at_1): Use case-table.
10041 (string_match_1): Ditto.
10042 (fast_string_match): Ditto.
10043 (search_command): Ditto.
10044 (search_buffer): Separate boyer_moore. Check whether
10045 boyer_moore is possible.
10046 (simple_search): New function.
10047 (boyer_moore): Separated from search_buffer. Translate char.
10049 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
10051 * regex.c (RE_TR_ASCII): Removed.
10052 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
10053 (PATFETCH): Call PATFETCH_RAW.
10054 (PATFETCH_RAW): Fetch Emchar.
10055 (PATUNFETCH): Decrement charptr.
10056 (GET_BUFFER_SPACE): Rename b to buf_end.
10058 (BUF_PUSH_2): Ditto.
10059 (BUF_PUSH_3): Ditto.
10060 (EXTEND_BUFFER): Ditto.
10061 (SET_LIST_BIT): Ditto.
10062 (regex_compile): Ditto. Translate non ASCII char.
10063 (compile_range): Ditto.
10064 (re_search_2): Ditto.
10065 (re_match_2_internal): Compare Emchar.
10066 (bcmp_translate): Ditto.
10068 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
10070 * lisp.h (basic char/int typedefs): comment improvement.
10072 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
10074 * emacs.c (main_1): unconditional pdump unstomping; don't save and
10075 unstomp inhibit_site_lisp. Improve comments.
10077 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
10079 * mule-charset.c (Fcharset_property): improve type checking, comments.
10081 2000-11-28 Andy Piper <andy@xemacs.org>
10083 * redisplay-output.c (redisplay_output_subwindow): make sure we do
10084 clipped display for windows in the gutter also.
10085 (redisplay_display_boxes_in_window_p): change semantics of return
10086 codes to be more intuitive.
10088 * gutter.h: declare display_boxes_in_gutter_p.
10090 * gutter.c (display_boxes_in_gutter_p): new function for
10093 2000-11-22 Andy Piper <andy@xemacs.org>
10095 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10098 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10100 * callproc.c (Fold_call_process_internal):
10101 * gpm.c (Freceive_gpm_event):
10102 (tty_get_foreign_selection): Might be just warning supression.
10103 * fileio.c (Fwrite_region_internal):
10104 (Fset_visited_file_modtime):
10105 * keymap.c (event_matches_key_specifier_p):
10106 Initialize GCPROed variable.
10108 * menubar-x.c (command_builder_find_menu_accelerator):
10109 Initialize before use.
10111 2000-11-23 Andy Piper <andy@xemacs.org>
10113 * unexcw.c (unexec): make the resulting executable executable.
10115 2000-11-21 Martin Buchholz <martin@xemacs.org>
10117 * doc.c (get_doc_string):
10118 Use size_t, not int, for result of XSTRING_LENGTH.
10120 * cmds.c (Fdelete_char):
10121 * cmds.c (Fpoint_at_eol):
10122 * cmds.c (Fself_insert_command):
10123 Use EMACS_INT, not int, for result of XINT.
10124 Someday, someone will want to insert more than 2**31 identical characters.
10126 * cmds.c (Fdelete_char):
10127 * cmds.c (Fdelete_backward_char):
10128 * syntax.c (Fforward_word):
10129 * syntax.c (Fforward_comment):
10130 Make COUNT argument optional, for consistency with forward-char et al.
10132 2000-11-22 Martin Buchholz <martin@xemacs.org>
10135 * print.c (long_to_string):
10136 Return a useful value: the pointer at end of data written.
10139 Use `static const char * const' for constant strings.
10140 (union printf_arg): Delete `i', `ui' members.
10143 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10144 Do all printf-ing via the `l' specifier.
10145 Use EMACS_INT instead of int.
10148 2000-11-20 Didier Verna <didier@xemacs.org>
10150 * faces.c (update_face_cachel_data): don't frob the background
10151 pixmap when the window is being created. The face is needed but
10152 does not exist yet.
10154 2000-11-20 Andy Piper <andy@xemacs.org>
10156 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10157 messing with a debug environment.
10159 2000-11-20 Martin Buchholz <martin@xemacs.org>
10161 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10163 2000-11-20 Martin Buchholz <martin@xemacs.org>
10165 * casetab.c (Fcase_table_p): Fix compile error and crash.
10167 2000-11-18 Philip Aston <philipa@mail.com>
10169 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10171 2000-11-18 Martin Buchholz <martin@xemacs.org>
10173 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10174 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10176 2000-11-17 Martin Buchholz <martin@xemacs.org>
10178 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10179 * unexelf.c: Use HAVE_ELF_H.
10180 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10181 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10182 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10183 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10185 So this is an unexelfsgi.c from a different line of development.
10187 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10189 * regex.c (RE_TR_ASCII): New function.
10190 (RE_TRANSLATE): Call it.
10192 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10194 * buffer.h (TRT_TABLE_OF): Remove assert.
10195 (IN_TRT_TABLE_DOMAIN): Removed.
10197 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10199 * free-hook.c (log_gcpro):
10200 (show_gcprohist): Add support for GCPRO5.
10202 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10204 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10206 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10208 * symeval.h: Declare flush_all_buffer_local_cache.
10210 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10211 (flush_buffer_local_cache): Added.
10212 (flush_all_buffer_local_cache): Added.
10214 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10216 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10217 (pdump_dump_data): Ditto.
10218 (pdump_reloc_one): Ditto.
10219 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10223 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10225 * buffer.c: Remove if 0'ed entry.
10226 * buffer.h: Rewrite TRT to use char-table.
10227 * bufslots.h: Remove mirror tables.
10228 * casetab.c: Remove mirror tables.
10229 (CASE_TABLE_P): New macro.
10230 (Fcase_table_p): Element of a case table is string or char-table.
10231 (make_mirror_trt_table): Removed.
10232 (set_case_table): Setup char-table from strings for backward
10234 * dired.c (Fdirectory_files):
10235 * dired-msw.c: (mswindows_get_files):
10236 * lisp.h: Change prototype of re_pattern_buffer.
10237 * regex.c: (RE_TRANSLATE): New macro.
10238 (TRANSLATE_P): Ditto.
10239 Change translate to type RE_TRANSLATE_TYPE.
10240 * regex.h: Define RE_TRANSLATE_TYPE
10241 * search.c (TRANSLATE): New macro.
10242 (TRANSLATE_ASCII): New macro.
10243 Translate table is changed to Lisp_Object.
10244 (signal_failure): Inhibit return.
10246 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10253 Do UNGCPRO before return.
10255 2000-11-14 Martin Buchholz <martin@xemacs.org>
10257 * XEmacs 21.2.37 is released.
10259 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10261 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10262 Add comments about discarded return value.
10264 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10267 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10269 2000-10-27 Andy Piper <andy@xemacs.org>
10271 * gutter.c (Fset_default_gutter_position): default left and right
10272 gutters to visible.
10273 (calculate_gutter_size): calculate resonable heuristic for left
10274 and right gutter sizes.
10275 (specifier_vars_of_gutter): change left and right gutter sizes to
10277 (calculate_gutter_size_from_display_lines): new function.
10278 (output_gutter): check for resizing on left and right gutters.
10279 (clear_gutter): don't special case top and left gutters.
10280 (specifier_vars_of_gutter): use new signature for
10281 set_specifier_caching.
10283 * glyphs-x.c (x_redisplay_widget): spelling fix.
10284 * glyphs.c (specifier_vars_of_glyphs):
10285 * menubar.c (specifier_vars_of_menubar):
10286 * redisplay.c (specifier_vars_of_redisplay):
10287 * toolbar.c (specifier_vars_of_toolbar):
10288 * window.c (specifier_vars_of_window):
10289 * scrollbar.c (specifier_vars_of_scrollbar):
10290 (complex_vars_of_scrollbar): use new signature for
10291 set_specifier_caching.
10293 * specifier.c (set_specifier_caching): include recompute flag.
10294 (recompute_one_cached_specifier_in_window): always recompute if
10296 (recompute_one_cached_specifier_in_frame): ditto.
10298 * specifier.h (struct specifier_caching): add recompute flag.
10300 2000-10-24 Andy Piper <andy@xemacs.org>
10302 * unexcw.c (copy_executable_and_dump_data_section): add new
10303 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10306 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10308 * console-x.h (x_device): New member modifier_release_time.
10309 * event-Xt.c (x_handle_sticky_modifiers):
10310 Bound interval modifier keys are sticky.
10311 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10312 * events.h: extern it.
10314 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10316 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10318 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10320 * event-stream.c (execute_command_event): Preserve current_events
10321 and the like when event is misc-user-event.
10322 Inhibit quit during the call to maybe_echo_keys.
10324 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10326 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10327 symlink when buffer is killed.
10328 (inhibit_clash_detection): New variable.
10330 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10332 * console.c (Fset_input_method): Trigger redisplay on tty.
10334 2000-11-07 Martin Buchholz <martin@xemacs.org>
10336 * process.c (Fprocess_status): Revert to previous behavior:
10337 (process-status "nosuchprocess") ==> nil
10339 2000-11-06 Martin Buchholz <martin@xemacs.org>
10341 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10342 Work around another GCC 2.95.2 optimizer bug.
10344 2000-11-02 Martin Buchholz <martin@xemacs.org>
10346 * process.c (Fget_process): Use LIST_LOOP_2.
10347 (kill_buffer_processes): Use LIST_LOOP_2.
10349 * minibuf.c (Fall_completions):
10350 Delete old non-functional code for FSF fourth argument.
10352 * frame.c (frame_matches_frame_spec):
10353 Renamed from `frame_matches_frametype'. Update all callers.
10354 (device_matches_device_spec):
10355 Renamed from 'device_matches_console_spec'. Update all callers.
10357 * doc.c (Fsubstitute_command_keys):
10358 Remove buffer overflow crash. Small code cleanups.
10360 * casetab.c (check_case_table): Simpler code.
10362 * window.c (Freplace_buffer_in_windows):
10363 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10364 (and similar implementation) as Fdelete_windows_on.
10365 Update all callers.
10367 * alloc.c (Fmake_list):
10368 * alloc.c (make_vector):
10369 * alloc.c (Fmake_vector):
10370 * alloc.c (make_bit_vector):
10371 * alloc.c (Fmake_bit_vector):
10372 * alloc.c (Fbit_vector):
10373 * alloc.c (Fmake_string):
10374 * alloc.c (Fpurecopy):
10375 * alloc.c (Fmemory_limit):
10377 * buffer.c (Fget_buffer):
10378 * buffer.c (Fkill_buffer):
10379 * buffer.c (complex_vars_of_buffer):
10380 * bytecode.c (Fcompiled_function_stack_depth):
10381 * callint.c (Fprefix_numeric_value):
10383 * event-stream.c (Fread_key_sequence):
10385 * casetab.c (Fcase_table_p):
10386 * casetab.c (check_case_table):
10387 * casetab.c (Fset_case_table):
10388 * casetab.c (Fset_standard_case_table):
10390 * chartab.c (Fchar_table_type):
10391 * chartab.c (Freset_char_table):
10392 * chartab.c (Fget_char_table):
10393 * chartab.c (Fget_range_char_table):
10394 * chartab.c (Fput_char_table):
10395 * chartab.c (Fmap_char_table):
10396 * chartab.c (Fcategory_table_p):
10397 * chartab.c (Fcheck_category_at):
10398 * chartab.c (Fchar_in_category_p):
10399 * chartab.c (Fcategory_table):
10400 * chartab.c (Fcopy_category_table):
10401 * chartab.c (Fset_category_table):
10402 * chartab.c (Fcategory_designator_p):
10403 * chartab.c (Fcategory_table_value_p):
10404 * cmds.c (Fdelete_char):
10405 * cmds.c (Fdelete_backward_char):
10406 * cmds.c (Fself_insert_command):
10407 * cmds.c (Fself_insert_internal):
10408 * console.c (Fvalid_console_type_p):
10409 * console.c (Fcdfw_console):
10410 * console.c (Fconsole_type):
10411 * console.c (Fconsole_name):
10412 * console.c (Fconsole_device_list):
10413 * console.c (Fconsole_on_window_system_p):
10416 * data.c (Fold_eq):
10417 * data.c (Fsubr_interactive):
10418 * data.c (Fchar_to_int):
10419 * data.c (Fint_to_char):
10420 * data.c (Fsetcar):
10421 * data.c (Fsetcdr):
10422 * data.c (Fnumber_to_string):
10423 * data.c (Fstring_to_number):
10425 * database.c (mark_database):
10426 * database.c (finalize_database):
10427 * database.c (Fdatabase_live_p):
10428 * database.c (Fdatabasep):
10429 * device-x.c (Fx_get_resource):
10430 * device.c (Fdfw_device):
10432 * dired.c (Ffile_name_completion):
10433 * dired.c (Ffile_name_all_completions):
10434 * dired.c (Fuser_name_completion):
10435 * dired.c (Fuser_name_completion_1):
10436 * dired.c (Fuser_name_all_completions):
10437 * doc.c (Fdocumentation):
10438 * doc.c (Fdocumentation_property):
10439 * doc.c (Fsubstitute_command_keys):
10441 * editfns.c (Fchar_to_string):
10442 * editfns.c (Fstring_to_char):
10443 * editfns.c (Ftemp_directory):
10444 * editfns.c (Finsert_char):
10445 * editfns.c (Fbuffer_substring_no_properties):
10446 * editfns.c (Fnarrow_to_region):
10447 * editfns.c (Fchar_equal):
10448 * editfns.c (Fchar_Equal):
10449 * editfns.c (Ftranspose_regions):
10450 * emacs.c (Fdump_emacs):
10452 * eval.c (Fcommand_execute):
10453 * eval.c (Fautoload):
10454 * eval.c (Fbacktrace):
10455 * eval.c (Fbacktrace_frame):
10457 * events.c (Fcopy_event):
10458 * events.c (Fcharacter_to_event):
10459 * events.c (Fevent_button):
10460 * events.c (Fevent_process):
10462 * extents.c (Fnext_extent_change):
10463 * extents.c (Fextent_property):
10464 * faces.c (Ffacep):
10465 * faces.c (Fmake_face):
10467 * file-coding.c (Fencode_shift_jis_char):
10468 * file-coding.c (Fencode_big5_char):
10469 * fileio.c (Ffile_name_directory):
10470 * fileio.c (Ffile_name_nondirectory):
10471 * fileio.c (Ffile_name_as_directory):
10472 * fileio.c (Fdirectory_file_name):
10473 * fileio.c (Ffile_truename):
10474 * fileio.c (Fsubstitute_in_file_name):
10475 * fileio.c (Ffile_modes):
10476 * fileio.c (Fset_file_modes):
10477 * fileio.c (Fset_default_file_modes):
10478 * fileio.c (Fverify_visited_file_modtime):
10479 * floatfns.c (Facos):
10480 * floatfns.c (Fasin):
10481 * floatfns.c (Fatan):
10482 * floatfns.c (Fcos):
10483 * floatfns.c (Fsin):
10484 * floatfns.c (Ftan):
10485 * floatfns.c (Fbessel_j0):
10486 * floatfns.c (Fbessel_j1):
10487 * floatfns.c (Fbessel_jn):
10488 * floatfns.c (Fbessel_y0):
10489 * floatfns.c (Fbessel_y1):
10490 * floatfns.c (Fbessel_yn):
10491 * floatfns.c (Ferf):
10492 * floatfns.c (Ferfc):
10493 * floatfns.c (Flog_gamma):
10494 * floatfns.c (Fexp):
10495 * floatfns.c (Fexpt):
10496 * floatfns.c (Flog):
10497 * floatfns.c (Flog10):
10498 * floatfns.c (Fsqrt):
10499 * floatfns.c (Fcube_root):
10500 * floatfns.c (Facosh):
10501 * floatfns.c (Fasinh):
10502 * floatfns.c (Fatanh):
10503 * floatfns.c (Fcosh):
10504 * floatfns.c (Fsinh):
10505 * floatfns.c (Ftanh):
10506 * floatfns.c (Fabs):
10507 * floatfns.c (Ffloat):
10508 * floatfns.c (Flogb):
10509 * floatfns.c (Fceiling):
10510 * floatfns.c (Ffloor):
10511 * floatfns.c (Fround):
10512 * floatfns.c (Ftruncate):
10513 * floatfns.c (Ffceiling):
10514 * floatfns.c (Fffloor):
10515 * floatfns.c (Ffround):
10516 * floatfns.c (Fftruncate):
10517 * fns.c (Fstring_equal):
10518 * fns.c (Fstring_lessp):
10521 * fns.c (vconcat2):
10522 * fns.c (vconcat3):
10523 * fns.c (Fsubstring):
10525 * fns.c (Fold_assoc):
10526 * fns.c (assoc_no_quit):
10528 * fns.c (Fold_assq):
10529 * fns.c (assq_no_quit):
10531 * fns.c (Fold_rassoc):
10533 * fns.c (Fold_rassq):
10534 * fns.c (rassq_no_quit):
10535 * fns.c (Fremassoc):
10536 * fns.c (remassoc_no_quit):
10537 * fns.c (Fremassq):
10538 * fns.c (remassq_no_quit):
10539 * fns.c (Fremrassoc):
10540 * fns.c (Fremrassq):
10541 * fns.c (remrassq_no_quit):
10543 * fns.c (Fplist_get):
10544 * fns.c (Fplist_put):
10545 * fns.c (Fplist_remprop):
10546 * fns.c (Fplist_member):
10547 * fns.c (Flax_plist_get):
10548 * fns.c (Flax_plist_put):
10549 * fns.c (Flax_plist_remprop):
10550 * fns.c (Flax_plist_member):
10552 * fns.c (Fold_equal):
10553 * fns.c (Frequire):
10554 * fns.c (Fbase64_encode_region):
10555 * fns.c (Fbase64_encode_string):
10556 * fns.c (Fbase64_decode_region):
10558 * frame.c (frame_matches_frame_spec):
10559 * frame.c (device_matches_device_spec):
10560 * frame.c (next_frame):
10561 * frame.c (previous_frame):
10562 * frame.c (Fnext_frame):
10563 * frame.c (Fprevious_frame):
10564 * frame.c (Fframe_property):
10565 * frame.c (Fset_frame_height):
10566 * frame.c (Fset_frame_size):
10570 * glyphs.c (decode_error_behavior_flag):
10571 * glyphs.c (Fmake_image_instance):
10572 * indent.c (Findent_to):
10573 * intl.c (Fignore_defer_gettext):
10574 * keymap.c (Fkeymapp):
10575 * keymap.c (Flookup_key):
10577 * lread.c (Fload_internal):
10578 * lread.c (Feval_buffer):
10579 * lread.c (Feval_region):
10580 * macros.c (Fexecute_kbd_macro):
10581 * marker.c (set_marker_internal):
10582 * marker.c (Fset_marker):
10583 * marker.c (set_marker_restricted):
10584 * marker.c (Fcopy_marker):
10585 * marker.c (noseeum_copy_marker):
10587 * menubar.c (Fpopup_menu):
10589 * mule-charset.c (Fcharset_name):
10590 * mule-charset.c (Fchar_charset):
10591 * mule-charset.c (Fchar_octet):
10592 * mule-charset.c (Fsplit_char):
10593 * mule-wnnfns.c (Fwnn_open):
10594 * mule-wnnfns.c (Fwnn_dict_comment):
10595 * mule-wnnfns.c (Fwnn_quit_henkan):
10596 * mule-wnnfns.c (Fwnn_word_toroku):
10597 * mule-wnnfns.c (Fwnn_word_sakujo):
10598 * mule-wnnfns.c (Fwnn_word_use):
10599 * mule-wnnfns.c (Fwnn_hindo_set):
10601 * objects.c (Fmake_color_instance):
10602 * objects.c (Fmake_font_instance):
10603 * print.c (Fwrite_char):
10605 * process.c (mark_process):
10606 * process.c (print_process):
10607 * process.c (get_process_from_usid):
10608 * process.c (Fprocessp):
10609 * process.c (Fprocess_live_p):
10610 * process.c (Fget_process):
10611 * process.c (Fget_buffer_process):
10612 * process.c (get_process):
10613 * process.c (Fprocess_id):
10614 * process.c (Fprocess_name):
10615 * process.c (Fprocess_command):
10616 * process.c (init_process_io_handles):
10617 * process.c (start_process_unwind):
10618 * process.c (Fstart_process_internal):
10619 * process.c (Fopen_multicast_group_internal):
10620 * process.c (Fset_process_window_size):
10621 * process.c (read_process_output):
10622 * process.c (send_process):
10623 * process.c (Fprocess_tty_name):
10624 * process.c (Fset_process_buffer):
10625 * process.c (Fprocess_buffer):
10626 * process.c (Fprocess_mark):
10627 * process.c (set_process_filter):
10628 * process.c (Fset_process_filter):
10629 * process.c (Fprocess_filter):
10630 * process.c (Fprocess_send_region):
10631 * process.c (Fprocess_send_string):
10632 * process.c (exec_sentinel):
10633 * process.c (Fset_process_sentinel):
10634 * process.c (Fprocess_sentinel):
10635 * process.c (status_notify):
10636 * process.c (Fprocess_status):
10637 * process.c (Fprocess_exit_status):
10638 * process.c (process_send_signal):
10639 * process.c (Fprocess_send_eof):
10640 * process.c (deactivate_process):
10641 * process.c (remove_process):
10642 * process.c (Fdelete_process):
10643 * process.c (kill_buffer_processes):
10644 * process.c (Fprocess_kill_without_query):
10645 * process.c (Fprocess_kill_without_query_p):
10647 * rangetab.c (Fget_range_table):
10648 * rangetab.c (Fput_range_table):
10649 * rangetab.c (Fremove_range_table):
10650 * rangetab.c (Fclear_range_table):
10652 * search.c (Fskip_chars_forward):
10653 * search.c (Fskip_chars_backward):
10654 * search.c (Fskip_syntax_forward):
10655 * search.c (Fskip_syntax_backward):
10656 * search.c (search_command):
10657 * search.c (Freplace_match):
10658 * search.c (Fregexp_quote):
10659 * select.c (Fown_selection_internal):
10660 * select.c (Fselection_owner_p):
10661 * select.c (Fselection_exists_p):
10662 * select.c (Fget_selection_internal):
10665 * symbols.c (Fintern):
10666 * symbols.c (Fintern_soft):
10667 * symbols.c (Funintern):
10668 * symbols.c (Fapropos_internal):
10669 * symbols.c (Fset_default):
10671 * syntax.c (Fsyntax_table_p):
10672 * syntax.c (Fcopy_syntax_table):
10673 * syntax.c (Fset_syntax_table):
10674 * syntax.c (Fchar_syntax):
10675 * syntax.c (syntax_match):
10676 * syntax.c (Fmatching_paren):
10677 * syntax.c (Fforward_word):
10678 * syntax.c (scan_lists):
10679 * syntax.c (Fscan_lists):
10680 * syntax.c (Fscan_sexps):
10681 * syntax.c (Fparse_partial_sexp):
10682 * toolbar.c (Fcheck_toolbar_button_syntax):
10685 * window.c (Fwindowp):
10686 * window.c (Fwindow_live_p):
10687 * window.c (Fwindow_point):
10688 * window.c (Fdelete_window):
10689 * window.c (Fnext_window):
10690 * window.c (Fprevious_window):
10691 * window.c (Fother_window):
10692 * window.c (window_loop):
10693 * window.c (Fget_lru_window):
10694 * window.c (Fsplit_window):
10695 * window.c (Fenlarge_window):
10696 * window.c (Fenlarge_window_pixels):
10697 * window.c (Fshrink_window):
10698 * window.c (Fshrink_window_pixels):
10699 * window.c (change_window_height):
10700 * window.c (Fwindow_configuration_p):
10701 * window.c (Fcurrent_window_configuration):
10703 * casefiddle.c (casify_object):
10704 * casefiddle.c (Fupcase):
10705 * casefiddle.c (Fdowncase):
10706 * casefiddle.c (Fcapitalize):
10707 * casefiddle.c (Fupcase_initials):
10708 * casefiddle.c (casify_region_internal):
10709 * casefiddle.c (casify_region):
10710 * casefiddle.c (Fupcase_region):
10711 * casefiddle.c (Fdowncase_region):
10712 * casefiddle.c (Fcapitalize_region):
10713 * casefiddle.c (Fupcase_initials_region):
10714 * casefiddle.c (Fupcase_word):
10715 * casefiddle.c (Fdowncase_word):
10716 * casefiddle.c (Fcapitalize_word):
10717 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10718 Replace 0 with '\0' when working with bytes.
10719 Replace initial "(" with "\(" in docstrings.
10721 2000-11-01 Martin Buchholz <martin@xemacs.org>
10723 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10725 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10727 2000-10-31 Martin Buchholz <martin@xemacs.org>
10729 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10731 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10733 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10736 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10738 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10739 (inhibit_auto_save_session): New variable.
10740 (vars_of_fileio): Declare and initialize them.
10741 * fileio.c (Fdo_auto_save): Don't create session file if
10742 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10744 2000-10-31 Martin Buchholz <martin@xemacs.org>
10746 * sgiplay.c (play_internal): C++ compilability.
10747 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10748 * callproc.c (Fold_call_process_internal):
10749 Remove unused vars `env', `first'.
10750 * scrollbar.c (update_scrollbar_instance):
10751 #### unused var `current_window'.
10752 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10753 etc. within #ifdef NOT_YET.
10754 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10755 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10756 * specifier.c (specifier_instance):
10757 #### unused var `tag'.
10758 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10760 2000-10-27 Martin Buchholz <martin@xemacs.org>
10762 * fns.c (Fbutlast):
10763 * fns.c (list_sort):
10764 * fns.c (Ffillarray):
10765 * fns.c (bytecode_nconc2):
10768 * fns.c (Fmapconcat):
10769 Be pedantically 64-bit correct. For the time when someone will
10770 want to have a list with length > 2**32.
10772 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10773 Work around MIPSpro compiler bug.
10775 * process-unix.c (unix_kill_child_process): Add snarky comment.
10776 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10778 * config.h.in: Oops, _getpt ==> _getpty
10780 2000-10-26 Martin Buchholz <martin@xemacs.org>
10784 Use void*, not char*, as return type of alloca().
10786 * alloc.c (free_marker): Side effect inside assert expression!
10788 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10790 * mule-charset.c (Fset_charset_ccl_program): To check
10791 if the given ccl program is valid, use setup_ccl_program()
10792 instead of CHECK_VECTOR().
10793 (Fmake_charset): Likewise.
10795 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10797 * faces.c (get_extent_fragment_face_cache_index):
10798 Fix cachel.merged_faces memory leak.
10800 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10802 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10803 Reset MSB of octets obtained by DECODE_SJIS
10804 because of the incompatibility with Emacs.
10805 (ccl_driver)<CCL_ENCODE_SJIS>:
10806 Set MSB of octets before passing them to
10807 ENCODE_SJIS because of the incompatibility
10810 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10812 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10813 (DECLARE_LRECORD): Undo the last change.
10814 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10816 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10818 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10819 the implementation to lrecord_implementations_table.
10821 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10823 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10824 initial value of `lrecord_type_##c_name' and
10825 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10826 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10827 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10828 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10829 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10831 2000-10-17 Martin Buchholz <martin@xemacs.org>
10833 * miscplay.c (sndcnv8S_2mono):
10834 (sndcnv2monounsigned):
10835 (sndcnvULaw_2linear):
10837 Remove implementation-defined behavior.
10839 2000-10-12 Martin Buchholz <martin@xemacs.org>
10841 * input-method-xlib.c: Warning suppression.
10843 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10845 * mule-ccl.c: Sync up with Emacs 21.0.90.
10846 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10848 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10850 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10851 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10852 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10853 leading char belongs to official 2-dimensional charset.
10854 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10855 write the given character as is. Otherwise,
10856 if it is a multibyte char, convert it by
10857 non_ascii_set_charptr_emchar, then write it.
10858 (CCL_WRITE_STRING): Likewise.
10859 (ccl_get_compiled_code): New function.
10860 (setup_ccl_program): When ccl_prog is invalid,
10862 (Fregister_code_conversion_map): New function.
10863 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10865 * mule-ccl.h: Sync up with Emacs 21.0.90.
10866 (Fregister_ccl_program): export it.
10868 * redisplay-msw.c (separate_textual_runs):
10869 If ccl program is not valid, don't do ccl conversion.
10871 * redisplay-x.c (separate_textual_runs): Ditto.
10873 * file-coding.c (Fmake_coding_system):
10874 When type is ccl and value is vector, register it
10875 with a proper symbol. And checks whether the
10876 given ccl program is valid.
10877 (mule_decode): When calling ccl_driver, if src indicates
10878 NULL pointer, set an empty string instead.
10879 (mule_encode): Likewise.
10881 2000-10-11 Martin Buchholz <martin@xemacs.org>
10883 The following large batch of changes gets us back to a state of
10884 C++ compilability. Extbyte is now a char, which means that
10885 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10887 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10889 * sound.c (Fplay_sound): Type correctness.
10891 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10892 (x_get_window_property): Type correctness.
10893 (receive_incremental_selection): unsigned char ==> Extbyte
10894 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10895 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10896 (Fx_store_cutbuffer_internal): Type correctness.
10898 * process-unix.c (try_to_initialize_subtty): Type correctness.
10900 * objects-x.c (x_print_color_instance): Type correctness.
10901 (x_print_font_instance): Type correctness.
10902 (x_list_fonts): SExtbyte ==> Extbyte.
10903 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10904 (x_find_charset_font): SExtbyte ==> Extbyte.
10905 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10906 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10907 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10908 Use bufbyte_strcmp.
10910 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10911 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10912 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10913 (BYTE_C0_P): Use bit ops for char-signedness safety.
10914 (BYTE_C1_P): Use bit ops for char-signedness safety.
10915 (CHARSET_BY_LEADING_BYTE):
10916 (CHARSET_BY_ATTRIBUTES):
10917 Always use inline function.
10918 Use type_checking_assert.
10921 * mule-charset.c (non_ascii_charptr_copy_char):
10922 Modify to work with both ASCII and non-ASCII characters.
10923 Improve docs and variable names.
10924 Replace over-clever fall-through switch with a simple loop.
10925 (Lstream_get_emchar_1):
10926 Replace over-clever fall-through switch with a simple loop.
10928 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10929 Warning suppression.
10931 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10932 the return value of Lstream_getc, which could be EOF as well.
10934 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10936 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10937 APIs can be used on Extbytes without casts. Risky!
10938 (SExtbyte): Remove.
10939 (UExtbyte): Remove.
10941 * input-method-xlib.c (XIM_init_device):
10942 Use Xlib.h instead of IntrinsicP.h.
10943 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10944 which will break in X11R7.
10945 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10946 to call XRegisterIMInstantiateCallback with correct types.
10948 * gui-x.c (button_item_to_widget_value): Type correctness.
10950 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10952 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10953 (xbm_instantiate_1): Type correctness.
10954 (BUILD_GLYPH_INST): Type correctness.
10956 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10959 (decode_coding_sjis):
10960 (decode_coding_big5):
10961 (decode_coding_ucs4):
10962 (decode_coding_utf8):
10963 (decode_coding_iso2022):
10964 (decode_coding_no_conversion):
10965 Make all decoding functions take an Extbyte * arg.
10966 (encode_coding_sjis):
10967 (encode_coding_big5):
10968 (encode_coding_ucs4):
10969 (encode_coding_utf8):
10970 (encode_coding_iso2022):
10971 (encode_coding_no_conversion):
10972 Make all encoding functions take a Bufbyte * arg.
10973 Use size_t instead of unsigned int for memory sizes.
10974 Only cast to unsigned char whenever dereferencing Extbyte *.
10976 * doc.c (unparesseuxify_doc_string): Type correctness.
10978 * console-x.c (split_up_display_spec):
10979 Rewrite without using details of internal string representation.
10980 (x_semi_canonicalize_device_connection): Type correctness.
10983 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10984 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10985 (HAVE_XFREE386): Removed.
10987 * buffer.h (DEC_CHARPTR): `const' correctness.
10988 (bufbyte_strcmp): New.
10989 (bufbyte_memcmp): New.
10991 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10993 * buffer.h (XCHAR_OR_CHAR_INT):
10994 Always use inline function.
10995 Remove redundant type checking assert() - XINT will abort quite nicely.
10997 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10999 * search.c (Freplace_match): Set newtext to an empty string.
11001 2000-10-10 Martin Buchholz <martin@xemacs.org>
11003 * s/decosf1-3.h: Remove #include of stropts.h
11004 * s/ptx.h: Remove #include of stropts.h
11005 * s/usg5-4.h: Remove #include of stropts.h
11008 Use stropts.h, not sys/stropts.h.
11009 Use strtio.h, not sys/strtio.h.
11011 2000-10-04 Martin Buchholz <martin@xemacs.org>
11013 * XEmacs 21.2.36 is released.
11015 2000-09-21 Andy Piper <andy@xemacs.org>
11017 * glyphs-x.c (x_redisplay_widget): make sure non-structural
11018 changes still involve copying the widget tree.
11019 (update_widget_face): make sure a change is register in the widget
11020 tree. Call update_tab_widget_face appropriately.
11021 (update_tab_widget_face): ditto.
11022 (x_tab_control_redisplay): make sure non-structural changes still
11023 involve copying the widget tree.
11025 2000-08-31 Daiki Ueno <ueno@unixuser.org>
11027 * lread.c (locate_file): Check the path element is non-nil.
11029 2000-10-02 Martin Buchholz <martin@xemacs.org>
11031 * lisp.h: Warning suppression for SCO compilers.
11033 * redisplay-tty.c (reset_tty_modes): Fix crash.
11034 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
11036 2000-09-27 Martin Buchholz <martin@xemacs.org>
11038 Big signal/process handling overhaul. Bugs fixed:
11039 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
11040 M-x comint-kill-subjob should work for both values nil and t of
11041 process-connection-type. It was broken on most platforms.
11042 Testing on Irix and Cygwin still needed. Other plaforms tested.
11043 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
11044 * process-unix.c: Signal/Process handling overhaul.
11045 (pty_name): make 64 bytes, as `expect' does, for paranoia.
11046 (allocate_pty): Use all available modern methods of allocating
11047 ptys, falling back to old style BSD allocation as a last resort.
11048 Use allegedly more secure Unix98 pty allocation by default.
11049 (allocate_pty_the_old_fashioned_way): New. the last resort.
11050 (unix_create_process): Push ptem, ldterm, ttcompat where
11051 available. Autoconfiscate.
11052 (try_to_initialize_subtty): New.
11053 (unix_kill_child_process): Proper signal handling for ptys on most
11054 platforms, using special knowledge of AIX, BSD, etc...
11055 (unix_create_process): Always disconnect_controlling_terminal() for
11056 subprocesses, whether using ptys or not.
11057 * process.h: Remove old getpt-dependent PTY code.
11058 * process.c (Fprocess_send_signal): New, obvious generic function.
11059 (decode_signal): New.
11060 (Finterrupt_process):
11064 (Fcontinue_process):
11065 (Fsignal_process): Use decode_signal.
11066 (process_send_signal):
11067 Many docstring corrections.
11068 Allow any signal to be sent to a process object.
11069 * config.h.in: Add symbols for big signal/process overhaul.
11070 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
11071 * sysproc.h: Include process-related headers, where available:
11072 sys/stropts.h sys/strtio.h pty.h libutil.h
11080 Remove old S&M pty stuff.
11081 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
11082 * systty.h: Simplify cpp hackery, improve comments.
11083 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
11085 * editfns.c (Fformat_time_string):
11086 Be a little more paranoid with the return value of ctime.
11088 * fileio.c (check_executable):
11090 Use symbolic constants X_OK, W_OK.
11092 * console-x.c (split_up_display_spec): Fix a warning.
11094 2000-10-02 Martin Buchholz <martin@xemacs.org>
11096 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11097 * ntproc.c (sys_spawnve): make_string ==> build_string
11098 Small clarity improvements.
11100 2000-09-30 Martin Buchholz <martin@xemacs.org>
11102 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11104 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11106 * config.h.in (HAVE_STRCASECMP): Remove.
11108 2000-09-29 Martin Buchholz <martin@xemacs.org>
11110 * redisplay-output.c (redisplay_output_pixmap):
11111 Cleaner and possibly more 64-bit correct code.
11113 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11115 * dumper.c (pdump_load_finish): move restoration of
11116 `noninteractive1' to emacs.c (main_1).
11117 * emacs.c (main_1): protect LISP-visible command-line flags
11120 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11122 * Makefile.in.in (versionclean): Use EXE_TARGET and
11123 DUMP_TARGET instead of literal program names.
11125 2000-09-20 Martin Buchholz <martin@xemacs.org>
11127 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11129 2000-09-19 Martin Buchholz <martin@xemacs.org>
11131 * *: Spelling mega-patch
11133 2000-09-19 Martin Buchholz <martin@xemacs.org>
11135 * fns.c (bad_bad_turtle):
11136 Delete "Eek!" comment, since we fixed the bug to which it refers.
11138 2000-09-16 Martin Buchholz <martin@xemacs.org>
11140 * alloca.c: Replace REGISTER with register.
11142 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11144 * file-coding.c (ucs_to_char): Use countof.
11146 2000-09-16 Martin Buchholz <martin@xemacs.org>
11148 * file-coding.c: (ucs_to_char):
11149 (complex_vars_of_file_coding):
11150 Use countof instead of sizeof.
11151 Use CHECK_NATNUM instead of CHECK_INT.
11153 * sysdep.c (strcasecmp): Remove.
11154 * device-x.c (ascii_strcasecmp): New.
11155 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11156 Avoid using non-standard non-portable strcasecmp.
11158 2000-09-16 Martin Buchholz <martin@xemacs.org>
11160 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11161 * font-lock.c: remove reference to emacsfns.h.
11162 * search.c: small doc improvement.
11163 * event-Xt.c: correct file names in comments.
11164 * console-x.h Correct file names in comments.
11165 * frame.c: Correct file names in comments.
11166 * event-stream.c: remove Energize from comments.
11168 2000-09-15 Martin Buchholz <martin@xemacs.org>
11170 * symeval.h (DEFERROR_STANDARD):
11173 (DEFSYMBOL_NO_DUMP):
11174 (DEFSYMBOL_MULTIWORD_PREDICATE):
11175 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11177 The construct &##name is not sensible C.
11178 Fixes compilation errors with Unixware native compiler.
11180 2000-09-14 Martin Buchholz <martin@xemacs.org>
11182 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11183 (next_frame_internal): Removed. We now just have next_frame.
11185 Write a simpler and cleaner one-pass algorithm.
11186 Remove called_from_delete_device arg and #ifdefed-out code.
11188 Renamed from prev_frame. Update callers.
11189 Cleaned up to have an analogous implementation to next_frame.
11190 (other_visible_frames_internal): Remove the
11191 called_from_delete_device bogus arg, and hence, remove this
11192 function. Just use other_visible_frames().
11194 * window.c (Fnext_window):
11195 Prettify docstring.
11196 Since next_frame() is guaranteed to return a frame, remove check
11197 for nil inserted in previous patch.
11198 (Fprevious_window):
11199 Prettify docstring.
11200 Make code look more like Fnext_window.
11202 Respect the `console' arg when iterating through windows.
11203 Fixes bug: (get-buffer-window buffer t device) not respecting
11205 This function needs more work, as others have pointed out.
11207 * frame.h: Rename prev_frame to previous_frame.
11208 device_matches_console_spec no longer takes a `frame' arg.
11213 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11214 From "Golubev I. N." <gin@mo.msk.ru>.
11216 * make-src-depend: Fix typo.
11218 2000-09-13 Martin Buchholz <martin@xemacs.org>
11220 * window.c (Fnext_window):
11221 next_frame() might return nil, not a frame.
11223 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11225 * frame.c (next_frame_internal):
11226 We've passed a frame if we've passed its device.
11228 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11229 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11231 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11233 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11234 Allow option to suppress accelerators in menu/dialog items.
11235 (populate_or_checksum_helper): Pass dialog title through above.
11237 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11239 * event-msw.c (mswindows_key_to_emacs_keysym):
11240 Add "pause" key, fix "menu" key.
11242 2000-09-09 Martin Buchholz <martin@xemacs.org>
11244 * eval.c (reinit_vars_of_eval):
11245 Increase max_lisp_eval_depth to 1000,
11246 required for thai-xtis.el to byte-compile under some circumstances.
11248 2000-09-04 Martin Buchholz <martin@xemacs.org>
11250 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11251 From Kenichi Handa.
11253 2000-09-01 Martin Buchholz <martin@xemacs.org>
11255 * make-src-depend: Make the generated Makefiles smaller.
11257 * s/hpux.h (SETUP_SLAVE_PTY):
11258 Provide a %d in the format string for the errno argument.
11260 * editfns.c (Ftemp_directory):
11262 Avoid buffer overrun on very long file name.
11264 * input-method-xlib.c (XIM_init_device):
11265 6th parameter of XRegisterIMInstantiateCallback has different
11266 pointer types on different OSes, so simply cast to (void *).
11268 * unexhp9k800.c: Warning fixes. Fiddly changes.
11270 * sysdll.c (dll_open):
11271 shl_load will hang hard if passed a NULL filename.
11272 Simply return NULL for compatibility with dlopen.
11273 * sysdll.c: Conform to XEmacs coding standards.
11275 * sysdep.c (get_pty_max_bytes):
11276 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11278 2000-08-31 Martin Buchholz <martin@xemacs.org>
11280 * tooltalk.c: Add #include <syssignal.h>
11282 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11284 * s/hpux.h: Don't use undefined function sigunblock().
11286 2000-08-31 Martin Buchholz <martin@xemacs.org>
11288 * config.h.in: Add HAVE_BALLOON_HELP.
11289 * emacs.c: Use HAVE_BALLOON_HELP.
11290 * Makefile.in.in (x_objs):
11291 Make Balloon Help conditional on finding shape.h.
11293 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11295 * syntax.c (regex_emacs_buffer_p): New variable.
11296 * syntax.h (regex_emacs_buffer_p): extern.
11297 * search.c (looking_at_1):
11299 (fast_string_match):
11300 (search_buffer): Set regex_emacs_buffer_p.
11301 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11302 when before_dot, at_dot, after_dot.
11304 2000-08-23 Andy Piper <andy@xemacs.org>
11306 * gui-x.c (popup_selection_callback): Only set action_occurred
11307 when we really have an image instance.
11308 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11310 2000-08-23 Andy Piper <andy@xemacs.org>
11312 * gui-msw.c (mswindows_handle_gui_wm_command): set
11314 * gui-x.c (popup_selection_callback): ditto.
11316 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11317 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11318 (struct Lisp_Image_Instance): add action_occurred flag.
11320 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11321 (image_instance_changed): ditto.
11322 (reset_frame_subwindow_instance_cache): only unmap windows - do
11323 not remove them from the cache also.
11325 * glyphs-widget.c (tab_control_update): better debug.
11326 (progress_gauge_update): ditto.
11327 (layout_update): ditto.
11328 (layout_instantiate): ditto.
11329 (tab_control_order_only_changed): cope with null pending items.
11331 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11332 debug. Force selection of an item when an action occurred. Cope
11333 with null pending_items.
11334 (mswindows_progress_gauge_redisplay): better debug.
11335 * glyphs-x.c (x_tab_control_redisplay): ditto.
11337 * redisplay.c (redisplay_frame): reset the frame cache if the
11340 * window.c (Fset_window_configuration): potentially re-enable
11342 (window_unmap_subwindows): need to finalize instances here since
11343 it is only used in mark_window_as_deleted.
11345 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11347 * nas.c (SndOpenDataForReading):
11348 nas.c (WaveOpenDataForReading):
11349 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11350 Somehow escaped from the 2000-08-14 patch.
11352 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11354 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11355 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11357 2000-08-21 Andy Piper <andy@xemacs.org>
11359 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11360 window if it is not already displayed.
11362 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11363 it is not already displayed.
11365 * window.c (Fset_window_configuration): don't reset the frame
11368 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11369 instances from the frame cache if we are actually finalizing them.
11370 (reset_frame_subwindow_instance_cache): reset frame cache only
11371 after unmapping everything.
11372 (map_subwindow): set displayed flag after mapping.
11374 2000-08-21 Martin Buchholz <martin@xemacs.org>
11376 * data.c (indirect_function):
11377 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11379 * eval.c (function_argcount):
11380 Use original function when signaling errors.
11382 2000-08-18 Andy Piper <andy@xemacs.org>
11384 * frame.c (delete_frame_internal): use new
11385 free_frame_subwindow_instances name.
11387 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11388 (add_tab_item): make return type correct.
11389 (mswindows_tab_control_instantiate): assert index of tab.
11390 (mswindows_tab_control_redisplay): Re-code to use
11391 gui_item_equal_sans_selected and gui_item_list_find_selected.
11393 * glyphs-widget.c (tab_control_update): Correct comment.
11395 * window.c (window_unmap_subwindows): use new
11396 unmap_subwindow_instance_cache_mapper.
11397 (window_unmap_subwindows_cache_mapper): deleted.
11398 (Fset_window_configuration): comparisons should now be with
11399 EQ. Preserve the subwindow instance cache across configuration
11401 (allocate_window): ditto.
11402 (make_dummy_parent): ditto.
11404 * glyphs.c (free_frame_subwindow_instances): rename from
11405 free_frame_subwindow_instance_cache. finalize all instances rather
11406 than just those in the display cache.
11407 (finalize_all_subwindow_instances): walk windows unmapping and
11408 finalizing subwindows.
11409 (unmap_subwindow_instance_cache_mapper): moved from
11410 window.c. Allow finalization as well as unmapping.
11412 * gui.c (gui_item_list_find_selected): new function.
11414 * gui.h (gui_item_list_find_selected): declare.
11416 * glyphs-x.c (x_tab_control_redisplay): pick tab
11417 explicitly. Re-code to use gui_item_equal_sans_selected and
11418 gui_item_list_find_selected.
11420 * glyphs-x.h: add lwlib-utils.h
11422 * buffer.c (Frecord_buffer): undo previous change.
11424 2000-08-09 Vin Shelton <acs@xemacs.org>
11426 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11427 possible. Create temporary files more securely. The patch was
11428 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11429 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11430 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11433 2000-08-07 Ben Wing <ben@xemacs.org>
11435 * getloadavg.c: remove duplicate (and windows-breaking)
11436 includes of fcntl.h and sys/file.h.
11438 * nt.c: remove duplicate getloadavg() definition.
11440 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11443 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11445 * eval.c (function_argcount): If function needs to be autoloaded
11446 actually use the loaded definition.
11449 2000-08-05 Ben Wing <ben@xemacs.org>
11451 * getloadavg.c: add prototype for getloadavg(). remove
11452 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11453 of the code). remove duplicate header includes.
11455 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11457 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11458 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11459 useful load average.
11461 * alloc.c (reinit_alloc_once_early): removed references to
11462 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11463 the lisp vars are the only things referencing the malloc_sbrk_*
11464 vars, and they were already if 0'd out. these vars only exist
11465 in the older malloc.c, which is basically unused, and they're
11466 only for informational purposes.
11468 * m\*.h: removed useless VIRT_ADDR_VARIES.
11470 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11472 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11474 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11475 color if the image is a mono pixmap.
11477 2000-07-30 Ben Wing <ben@xemacs.org>
11479 * Makefile.in.in (release):
11482 * buffer.c (directory_is_current_directory):
11483 * dired-msw.c (mswindows_get_files):
11485 * dired.c (Fdirectory_files):
11486 * dired.c (file_name_completion_stat):
11487 * dired.c (Ffile_attributes):
11488 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11489 preprocessor tricks, to avoid problems on some machines
11492 * callproc.c (egetenv): GC docs.
11495 * console-msw.h (struct mswindows_dialog_id):
11496 * lrecord.h (lrecord_type):
11497 New object for use with MSW dialogs.
11499 * console.h (struct console_methods):
11500 New enable/disable frame methods, for proper modal dialogs.
11502 * device-msw.c (msprinter_default_printer): Fix to follow
11503 proper Mule conventions.
11506 * device-msw.c (signal_open_printer_error):
11507 * device-msw.c (msprinter_init_device):
11508 * device-msw.c (ensure_not_printing):
11509 * device-msw.c (plist_get_margin):
11510 * device-msw.c (Fmsprinter_select_settings):
11511 * device-msw.c (finalize_devmode):
11512 * device-msw.c (Fmsprinter_settings_despecialize):
11513 * device-msw.c (signal_enum_priner_error):
11514 * extents.c (decode_extent):
11515 * extents.c (decode_map_extents_flags):
11516 * extents.c (decode_extent_at_flag):
11517 * extents.c (Fextent_at):
11518 * extents.c (Fextents_at):
11519 * extents.c (symbol_to_glyph_layout):
11520 [[[[2]]]] Use structured errors.
11523 * dialog-msw.c (mswindows_is_dialog_msg):
11524 * dialog-msw.c (mark_mswindows_dialog_id):
11525 * dialog-msw.c (dialog_proc):
11526 * dialog-msw.c (handle_question_dialog_box):
11527 * dialog-msw.c (syms_of_dialog_mswindows):
11528 Define new object to clean up marking; use it as a dialog identifier.
11529 Call new delete-dialog-box-hook.
11531 * dialog-x.c (dbox_selection_callback):
11532 * dialog-x.c (dbox_descriptor_to_widget_value):
11533 * dialog-x.c (x_make_dialog_box_internal):
11534 Call new delete-dialog-box-hook.
11538 * dialog.c (syms_of_dialog):
11539 * dialog.c (vars_of_dialog):
11540 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11543 * eval.c (signal_call_debugger):
11544 when noninteractive, output stack traces on the console instead
11545 of in a (never-seen) buffer.
11547 * eval.c (signal_type_error):
11548 * eval.c (invalid_argument_2):
11550 new funs for use w/structured errors.
11553 * event-Xt.c (x_to_emacs_keysym):
11554 * event-Xt.c (describe_event):
11555 * event-Xt.c (emacs_Xt_event_handler):
11556 * event-Xt.c (vars_of_event_Xt):
11558 * event-msw.c (mswindows_wnd_proc):
11559 * event-msw.c (vars_of_event_mswindows):
11560 rename {x,mswindows}-debug-events to debug-{}-events for
11561 consistency with other debug-foo variables.
11564 document next-event more clearly.
11566 * fileio.c (Ffile_name_directory):
11567 * fileio.c (Ffile_name_nondirectory):
11568 * fileio.c (Funhandled_file_name_directory):
11569 * fileio.c (file_name_as_directory):
11570 * fileio.c (Ffile_name_as_directory):
11571 * fileio.c (directory_file_name):
11572 * fileio.c (Fdirectory_file_name):
11573 * fileio.c (Fmake_temp_name):
11574 * fileio.c (Ffile_truename):
11575 * fileio.c (Fsubstitute_in_file_name):
11576 * fileio.c (expand_and_dir_to_file):
11577 * fileio.c (barf_or_query_if_file_exists):
11578 * fileio.c (check_executable):
11579 * fileio.c (Ffile_exists_p):
11580 * fileio.c (Ffile_writable_p):
11581 * fileio.c (Ffile_directory_p):
11582 * fileio.c (Ffile_regular_p):
11583 * fileio.c (Ffile_modes):
11584 * fileio.c (Ffile_newer_than_file_p):
11585 * fileio.c (Fverify_visited_file_modtime):
11586 * fileio.c (Fset_visited_file_modtime):
11587 * fileio.c (auto_save_1):
11592 * frame-msw.c (mswindows_init_frame_1):
11593 * frame-msw.c (mswindows_enable_frame):
11594 * frame-msw.c (error_frame_unsizable):
11595 * frame-msw.c (msprinter_init_frame_1):
11596 * frame-msw.c (msprinter_init_frame_3):
11597 * frame-msw.c (console_type_create_frame_mswindows):
11599 implement new enable/disable frame methods.
11602 * frame-x.c (x_enable_frame):
11603 * frame-x.c (console_type_create_frame_x):
11604 implement new enable/disable frame methods.
11607 * frame.c (Fdisable_frame):
11608 * frame.c (syms_of_frame):
11609 * frame.h (struct frame):
11610 implement new enable/disable frame methods/functions.
11615 * glyphs-msw.c (mswindows_widget_instantiate):
11616 comment that initial-focus should be implemented.
11619 * glyphs-widget.c (check_valid_instantiator):
11620 * glyphs-widget.c (check_valid_orientation):
11621 * glyphs-widget.c (check_valid_tab_orientation):
11622 * glyphs-widget.c (check_valid_justification):
11623 * glyphs-widget.c (check_valid_border):
11624 * glyphs-widget.c (check_valid_callback):
11625 * glyphs-widget.c (check_valid_int_or_function):
11626 * glyphs-widget.c (check_valid_string_or_vector):
11627 * glyphs-widget.c (check_valid_item_list_1):
11628 * glyphs-widget.c (widget_validate):
11629 * glyphs-widget.c (combo_box_validate):
11630 * glyphs-widget.c (widget_instantiate):
11631 * glyphs-widget.c (syms_of_glyphs_widget):
11632 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11633 * glyphs-widget.c (image_instantiator_combo_box):
11634 * glyphs-widget.c (image_instantiator_scrollbar):
11635 * glyphs-widget.c (image_instantiator_tab_control):
11636 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11638 support (unimplemented) keyword initial-focus.
11639 reindent long macros.
11641 * glyphs-x.c (x_redisplay_widget):
11642 * glyphs-x.c (x_button_instantiate):
11643 * glyphs-x.c (x_button_redisplay):
11644 * glyphs-x.c (x_progress_gauge_instantiate):
11645 * glyphs-x.c (x_edit_field_instantiate):
11646 * glyphs-x.c (x_combo_box_instantiate):
11647 * glyphs-x.c (x_tab_control_instantiate):
11648 * glyphs-x.c (x_label_instantiate):
11650 * gui-x.c (button_item_to_widget_value):
11651 * gui-x.c (gui_items_to_widget_values_1):
11652 * gui-x.c (gui_item_children_to_widget_values):
11653 * gui-x.c (gui_items_to_widget_values):
11655 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11656 add new flag to gui-parsing routines to indicate whether
11657 accelerator specs should be supported.
11659 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11661 * glyphs.h (struct Lisp_Image_Instance):
11662 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11663 add initial-focus flag.
11666 * gui.c (syms_of_gui):
11667 * gui.c (vars_of_gui):
11668 clean up menu-no-selection-hook.
11671 support delete-dialog-box-hook.
11673 * lread.c (Fload_internal):
11674 * lread.c (locate_file_in_directory_mapper):
11678 * lrecord.h (struct toolbar_button):
11679 * lrecord.h (syms_of_toolbar):
11680 document how to create a new object.
11682 * menubar-msw.c (mswindows_char_is_accelerator):
11683 may be called on frames w/o menus.
11685 * menubar.c (vars_of_menubar):
11686 clean up :filter docs.
11693 * process-nt.c (validate_signal_number):
11694 * process-nt.c (signal_cannot_launch):
11695 * process-nt.c (nt_create_process):
11696 * process-nt.c (nt_send_process):
11697 * process-nt.c (nt_kill_child_process):
11698 * process-nt.c (nt_open_network_stream):
11699 * process-nt.c (syms_of_process_nt):
11701 delete quote-handling. call new lisp code that does it better.
11703 * process-unix.c (connect_to_file_descriptor):
11704 * process-unix.c (allocate_pty):
11705 * process-unix.c (unix_send_process):
11706 * process-unix.c (unix_kill_child_process):
11707 * process-unix.c (unix_open_network_stream):
11708 * process-unix.c (unix_open_multicast_group):
11712 * process.c (Fstart_process_internal):
11713 (2). need to canonicalize process path even if absolute.
11715 * select-msw.c (symbol_to_ms_cf):
11716 * select-msw.c (ms_cf_to_symbol):
11717 * select-msw.c (cf_is_autofreed):
11718 * select-msw.c (mswindows_destroy_selection):
11720 * select.c (syms_of_select):
11722 support dibv5, fix bugs. (from Mike Alexander)
11724 * select.c (Fget_selection_internal):
11725 * select.c (select_convert_out):
11728 * sysdep.c (xemacs_stat):
11731 * sysdep.c (mkdir):
11732 * sysdep.c (rmdir):
11733 but keep original stat() here because we provide encapsulation
11737 * sysfile.h (fstat):
11738 remove stat garbage.
11741 fix X/MSW conflict.
11742 don't include tchar.h. it's inappropriate because it makes
11743 compile-time distinctions when we want runtime distinctions.
11744 (we provide our own tchar replacements)
11747 use default object printer for toolbar-button.
11750 make sure we don't encapsulate.
11752 * window.c (vars_of_window):
11753 emphasize that temp-buffer-show-hook is obsolete.
11755 2000-08-05 Martin Buchholz <martin@xemacs.org>
11757 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11758 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11760 * events.c (Fevent_timestamp_lessp):
11761 Not 64-bit clean. Use EMACS_INT, not int.
11763 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11765 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11766 unsigned int and changed the last enum to
11767 lrecord_type_last_built_in_type.
11768 (lrecord_implementations_table): changed prototype to know how
11769 long the array is supposed to be.
11770 (lrecord_type_count): new unsigned int to keep track of the
11771 current number of lisp lrecord types.
11772 (DEFINE_EXTERNAL_LRECORD):
11773 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11774 dynamic-modules to declare new lisp types. They are the same
11775 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11776 int for each new type, and increment lrecord_type_count by 1.
11778 * alloc.c (lrecord_implementations_table): Changed to reference
11779 lrecord_type_last_built_in_type for the size of the array.
11780 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11782 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11784 * glyphs.h (check_valid_item_list): Renamed from
11785 check_valid_item_list_1.
11787 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11789 * select.c (Qselect_coerce): New.
11790 * select.c (Vselection_coercion_alist): New.
11791 * select.c (syms_of_select): Declare.
11792 * select.c (get-selection-internal): Use it.
11793 Use the new select-coerce functionality.
11795 * select.c (select_coerce): New.
11796 * select.h (select_coerce): Declare.
11797 New function to coerce one type of data into another.
11799 2000-08-03 Martin Buchholz <martin@xemacs.org>
11801 * callproc.c (Fcall_process_internal):
11802 (Fcall_process_internal):
11803 * process-unix.c (unix_create_process):
11804 Save and restore the value of errno, so that error messages are accurate.
11806 2000-08-01 Martin Buchholz <martin@xemacs.org>
11808 * elhash.c (print_hash_table):
11809 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11810 Prettify docstrings and indentation.
11812 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11814 * window.c (Fwindow_pixel_edges): Subtract frame border and
11817 2000-07-31 Andy Piper <andy@xemacs.org>
11819 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11820 will acknowledge the change.
11822 * glyphs.h: declare tab_control_order_only_changed.
11824 * glyphs-x.c (x_tab_control_redisplay): use
11825 tab_control_order_only_changed.
11827 * glyphs-widget.c (tab_control_order_only_changed): new function.
11829 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11830 tab_control_order_only_changed.
11832 * gui.c (gui_item_equal_sans_selected): new function.
11833 (gui_item_equal): use it.
11835 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11836 :properties in favor of :items..
11838 * glyphs-widget.c (check_valid_item_list): rename from
11839 check_valid_item_list_1.
11840 (check_valid_item_list_1): renamed.
11841 (combo_box_validate): deprecate :properties in favor of :items.
11842 (widget_instantiate): ditto.
11843 (tab_control_update): ditto.
11844 (image_instantiator_combo_box): ditto.
11845 (image_instantiator_tree_view): ditto.
11846 (image_instantiator_tab_control): ditto.
11847 (layout_post_instantiate): remove dead code.
11849 * print.c (debug_print_no_newline): only write to debugger if in
11852 * elhash.c (Fmake_hash_table): update doc string.
11854 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11855 messages whilst in GC. This at least stops XEmacs crashing but has
11856 the potential for wierd behaviour.
11858 2000-07-31 Martin Buchholz <martin@xemacs.org>
11861 Make existence of s&m files optional.
11863 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11864 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11865 * s/gnu.h: Remove HAVE_GETLOADAVG.
11866 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11867 * s/sol2.h: Remove HAVE_GETLOADAVG.
11868 * lisp.h: Remove getloadavg() declaration.
11870 Include <sys/loadavg.h> if available.
11871 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11872 * config.h.in: Group together getloadavg()-related macros.
11873 Use only configure-time tests to detect getloadavg().
11875 2000-07-30 Martin Buchholz <martin@xemacs.org>
11877 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11879 2000-07-25 Andy Piper <andy@xemacs.org>
11881 * syswindows.h: add tchar.h for native builds.
11883 * frame.c (syms_of_frame): remove set-glyph-image.
11885 * general-slots.h: add Qset_glyph_image.
11887 * glyphs-widget.c (layout_update): add domain arg to
11889 (syms_of_glyphs_widget): remove set-glyph-image.
11891 2000-07-23 Ben Wing <ben@xemacs.org>
11893 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11896 2000-07-22 Andy Piper <andy@xemacs.org>
11898 * symsinit.h: add syms_of_win32().
11900 * gui-msw.c (syms_of_gui_mswindows): remove
11901 Fmswindows_shell_execute.
11902 (Fmswindows_shell_execute): moved to win32.c.
11904 * emacs.c (main_1): add syms_of_win32 ().
11906 * win32.c (init_potentially_nonexistent_functions): rewrite in
11907 compiler-friendly terms.
11908 (Fmswindows_shell_execute): move here from gui-msw.c.
11909 (syms_of_win32): new.
11911 * device-msw.c (Fmswindows_printer_list): clean up args to
11913 Don't include tchar under cygwin or mingw.
11914 (msprinter_default_printer): make cygwin-friendly.
11916 2000-07-21 Andy Piper <andy@xemacs.org>
11918 * glyphs-widget.c (image_instantiator_tree_view): use tab
11919 control's update function.
11920 (layout_property): new function. Retrieve items.
11922 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11923 function. Re-populate the tree view from the pending items.
11925 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11926 is designated the parent if the domain is an image instance. This
11927 is needed so that dirtiness can be cascade up the hierarchy and
11928 thus for layout children to be redisplayed correctly.
11929 (allocate_image_instance): rename glyph -> parent.
11931 * redisplay.h: change redisplay_output_layout signature.
11933 * redisplay-msw.c (mswindows_output_display_block): use domain
11936 * redisplay-x.c (x_output_display_block): use domain arg.
11938 2000-07-10 Andy Piper <andy@xemacs.org>
11940 * window.c (Fset_window_configuration): add comment.
11942 * redisplay-output.c (compare_runes):
11943 (redisplay_output_subwindow): redisplay rather than update subwindow.
11944 (redisplay_output_layout): ditto.
11946 * redisplay-msw.c (mswindows_frame_output_end):
11947 (mswindows_frame_output_end): make defer window pos optional.
11949 * lisp.h: add Flast.
11951 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11952 normalize method. Change update method to be for changed
11953 instantiators. Add redisplay method. Change signature of layout
11955 (struct Lisp_Image_Instance): add instantiator.
11956 (IMAGE_INSTANCE_INSTANTIATOR): new.
11957 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11958 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11959 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11962 (find_instantiator_differences): new function.
11963 (Fset_instantiator_property): new convenience function.
11964 (check_image_instance_structure): strictly check for vector
11966 (normalize_image_instantiator): make non-static.
11967 (instantiate_image_instantiator): pass on dest_mask and use new
11968 signatures for image_instance_layout and friends.
11969 (mark_image_instance): mark the instantiator. Mark the subwindow
11970 face not the widget face.
11971 (image_instance_equal): add instantiator.
11972 (image_instance_hash): ditto.
11973 (allocate_image_instance): ditto.
11974 (Fset_image_instance_property): removed.
11975 (Fimage_instance_file_name): ditto.
11976 (Fcolorize_image_instance): ditto.
11977 (image_instance_layout): add offsets to be set.
11978 (update_image_instance): new function. update an image instance
11979 from its changed instantiator.
11980 (inherit_normalize): add dest_mask.
11981 (xbm_normalize): ditto.
11982 (xface_normalize): ditto.
11983 (xpm_normalize): ditto.
11984 (text_update): set_property -> update.
11985 (image_instantiate): use the glyph identity as a hash key, not the
11987 (glyph_width): use new image_instance_layout signature.
11988 (glyph_ascent): ditto.
11989 (glyph_descent): ditto.
11990 (glyph_height): ditto.
11991 (glyph_query_geometry): ressurrect.
11992 (glyph_layout): ditto.
11993 (redisplay_subwindow): update -> redisplay.
11994 (syms_of_glyphs): add Fset_instantiator_property.
11995 (image_instantiator_format_create): set_property -> update.
11998 (autodetect_normalize): add dest_maks to signature.
11999 (x_redisplay_subwindow): update -> redisplay.
12000 (x_redisplay_widget): ditto.
12001 (x_button_redisplay): ditto.
12002 (x_progress_gauge_redisplay): ditto.
12003 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
12005 (console_type_create_glyphs_x): update -> redisplay.
12006 (image_instantiator_format_create_glyphs_x): ditto.
12009 (check_valid_instantiator): disallow glyphs in the instantiator,
12010 they must now be vectors.
12011 (check_valid_instantiator_list): ditto.
12012 (glyph_instantiator_to_glyph): use internal symbol rather than
12014 (widget_update): renamed from widget_set_property. Call cascaded
12016 (redisplay_widget): renamed from update_widget.
12017 (widget_layout): image_instance_layout now takes position as well
12019 (widget_normalize): ditto.
12020 (widget_instantiate): ditto.
12021 (tab_control_query_geometry) ditto.:
12022 (tab_control_update): renamed from tab_control_set_property.
12023 (progress_gauge_update): set_property -> update.
12024 (layout_normalize): rewrite so that child instantiators are
12026 (layout_update): new function. Create glyphs from the normalized
12027 children and cope with any other layout keywords. We do not
12028 instantiate children here that will be take care of by
12029 redisplay_output_layout.
12030 (layout_instantiate): call layout_update and not much else.
12031 (layout_post_instantiate): not sure whether this is needed
12033 (layout_query_geometry): query glyph geometry rather than
12034 image_instance geometry.
12035 (layout_layout): set offsets from pass in parameters. Use glyph
12036 geometry and layout functions rather than image instance ones.
12037 (native_layout_layout): ditto.
12038 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
12039 (image_instantiator_widget): set_property -> update.
12040 (image_instantiator_buttons): ditto.
12041 (image_instantiator_progress_guage): ditto.
12042 (image_instantiator_tab_control): ditto.
12043 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
12044 (image_instantiator_layout): add update method.
12046 * glyphs-msw.c (bmp_normalize):
12047 (mswindows_resource_normalize): add dest_mask so that it can be
12048 proprogated by layout_normalize.
12049 (begin_defer_window_pos): make optional because it may not be the
12050 right thing to do and it introduces differences with X.
12051 (mswindows_unmap_subwindow): ditto.
12052 (mswindows_map_subwindow): ditto.
12053 (mswindows_redisplay_subwindow): renamed from
12054 mswindows_update_subwindow.
12055 (mswindows_redisplay_widget): ditto.
12056 (mswindows_button_redisplay): renamed from
12057 mswindows_button_update. Update is now what the instantiation
12058 function does for a changed instantiator.
12059 (mswindows_progress_gauge_instantiate): set the progress value
12060 here if appropriate.
12061 (mswindows_tab_control_redisplay): cope with re-ordering of the
12062 members of the tab widget by simply selecting the new top
12063 widget. This makes things appear ok if you click on a tab.
12064 (mswindows_combo_box_instantiate): image_instance_layout now takes
12065 position as well as size.
12066 (mswindows_progress_gauge_redisplay): renamed from
12067 mswindows_progress_gauge_update.
12068 (console_type_create_glyphs_mswindows): fix update -> redisplay.
12069 (image_instantiator_format_create_glyphs_mswindows): ditto.
12071 * glyphs-eimage.c (jpeg_normalize):
12074 (tiff_normalize): add dest_mask so that it can be proprogated by
12078 (print_hash_table):
12079 (hash_table_weakness_validate):
12080 (decode_hash_table_weakness):
12081 (Fhash_table_weakness):
12082 (Fhash_table_type):
12083 (syms_of_elhash): use Ben's naming scheme for hashtable types..
12085 * console.h (struct console_methods): move update_* to
12088 2000-07-20 Ben Wing <ben@xemacs.org>
12090 * *.[ch] (XSETOBJ): remove unused middle argument.
12091 lisp-disunion.h: correct wrap_object() to one argument.
12093 2000-07-15 Ben Wing <ben@xemacs.org>
12096 * s/cygwin32.h (CYGWIN_CONV_PATH):
12097 Add missing logb prototype for v1.1.
12098 Use post-b20 names and alias to pre-b20 names when pre-b20.
12100 * s/windowsnt.h: [5].
12102 2000-07-15 Ben Wing <ben@xemacs.org>
12104 * Makefile.in.in (x_objs):
12105 * Makefile.in.in (sheap_objs):
12106 * Makefile.in.in (objs):
12107 added win32.o, cosmetic cleanups.
12109 * alloc.c (Fmake_byte_code):
12110 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12111 etc. macros which declare their own args now.
12113 * alloc.c (syms_of_alloc):
12114 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12117 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12119 * buffer.c (Fget_file_buffer):
12120 Fixed GCPRO problem.
12122 * buffer.c (get_truename_buffer):
12123 Fixed comment about GC checking.
12125 * buffer.c (syms_of_buffer):
12126 Undeclared those dedicated frame funs.
12130 Define convenience macros for internal/external conversions.
12131 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12132 and Qenvironment_variable_encoding for cleaner code.
12135 Remove dedicated-frame; in lisp.
12137 * bytecode.c (funcall_compiled_function):
12140 * bytecode.c (syms_of_bytecode):
12144 * console-msw.c (mswindows_show_console): Rewrote.
12146 * console-msw.c (Fmswindows_debugging_output): New.
12147 Sends to OutputDebugString (special MSWin debugger interface).
12149 * console-msw.c (Fmswindows_message_box):
12150 Fixed stupid bugs so it works when called from kill-emacs.
12152 * console-msw.c (syms_of_console_mswindows):
12153 Declare Fmswindows_debugging_output.
12156 New MSWin prototypes.
12158 * console-msw.h (struct mswindows_frame):
12159 New entry last-click-mods for improved button-modifier support.
12161 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12162 New struct entry `popup' with corresponding accessor.
12165 * console-x.c (split_up_display_spec):
12166 * console-x.c (get_display_arg_connection):
12167 * console-x.c (x_semi_canonicalize_console_connection):
12168 * console-x.c (x_canonicalize_device_connection):
12169 [[[6]]]: Change char to more specific type.
12170 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12172 * console-x.c (x_semi_canonicalize_console_connection):
12173 * console-x.c (x_canonicalize_device_connection):
12174 [[[9]]]: Fix up error signalling to use new structured error system.
12177 [[[4]]]: Define codesys aliases:
12178 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12179 Qx_color_name_encoding, Qx_display_name_encoding.
12181 * console.h (struct console_methods):
12182 New method make_dialog_box_internal supersedes older
12183 popup_dialog_box method.
12186 Define many new errors, part of new structured errors.
12188 * data.c (init_errors_once_early):
12189 * data.c (syms_of_data):
12192 * device-msw.c (mswindows_init_device):
12193 [[[5]]]: Cleanup to support NT 3.51.
12195 * device-msw.c (decode_devmode): Cleanup.
12197 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12198 * device-msw.c (mswindows_handle_print_dialog_box):
12199 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12200 * device-msw.c (syms_of_device_mswindows):
12201 Delete the dialog box primitives recently introduced by Kirill and
12202 instead interface to general dialog box interface.
12205 * device-x.c (compute_x_app_name):
12206 * device-x.c (x_init_device):
12207 * device-x.c (Fx_valid_keysym_name_p):
12208 * device-x.c (Fx_set_font_path):
12212 * device.h (wrap_device): New.
12213 First of its kind; meant to replace XSETDEVICE.
12215 * dialog-msw.c: Many file-dialog symbols.
12217 * dialog-msw.c (mswindows_register_popup_frame): New.
12218 * dialog-msw.c (mswindows_is_dialog_msg): New.
12219 For supporting kbd traversal in dialog boxes.
12221 * dialog-msw.c (dialog_proc):
12222 Support hitting ESC in dialogs.
12224 * dialog-msw.c (struct):
12225 Common dialog box errors.
12227 * dialog-msw.c (handle_file_dialog_box): New.
12228 Add file dialog code.
12230 * dialog-msw.c (handle_question_dialog_box):
12231 Redo existing code to support new question dialog syntax.
12233 * dialog-msw.c (console_type_create_dialog_mswindows):
12234 We support new dialog console method.
12236 * dialog-msw.c (syms_of_dialog_mswindows):
12237 * dialog-msw.c (vars_of_dialog_mswindows):
12238 New file dialog symbols, vars.
12241 * dialog-x.c (maybe_run_dbox_text_callback):
12242 * dialog-x.c (dbox_descriptor_to_widget_value):
12243 * dialog-x.c (x_make_dialog_box_internal):
12244 * dialog-x.c (console_type_create_dialog_x):
12245 Mule-ize entire file.
12246 Redo to support question dialog syntax.
12250 * dialog.c (Fmake_dialog_box_internal):
12251 * dialog.c (syms_of_dialog):
12252 Kill old popup-dialog-box, replace with new primitive.
12253 Just call device method or signal error.
12255 * eldap.c (Fldap_open):
12256 * eldap.c (Fldap_search_basic):
12257 * eldap.c (Fldap_add):
12258 * eldap.c (Fldap_modify):
12263 * emacs.c (make_arg_list_1):
12264 * emacs.c (make_arg_list):
12265 Mule-ize call to dll_init().
12269 * emacs.c (make_argc_argv):
12270 * emacs.c (free_argc_argv):
12271 * emacs.c (init_cmdargs):
12272 * emacs.c (main_1):
12273 * emacs.c (Fkill_emacs):
12274 * emacs.c (Fdump_emacs):
12275 Update comments about what can be used in syms_* etc.
12276 Call init_win32() when necessary.
12277 Fix up MS Win dialog box in kill-buffer to actually work right.
12288 * eval.c (condition_case_3):
12290 * eval.c (function_argcount):
12291 * eval.c (funcall_lambda):
12294 * eval.c (type_error): New.
12295 * eval.c (maybe_type_error): New.
12296 * eval.c (continuable_type_error): New.
12297 * eval.c (maybe_continuable_type_error): New.
12298 * eval.c (type_error_with_frob): New.
12299 * eval.c (maybe_type_error_with_frob): New.
12300 * eval.c (continuable_type_error_with_frob): New.
12301 * eval.c (maybe_continuable_type_error_with_frob): New.
12302 New functions for use with structured errors.
12305 * event-Xt.c (x_event_to_emacs_event):
12306 Buttons are now modifiers too.
12308 * event-Xt.c (emacs_Xt_current_event_timestamp):
12309 Implement new event method.
12310 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12313 * event-msw.c (ntpipe_shove_writer): [5].
12314 * event-msw.c (mswindows_enqueue_mouse_button_event):
12315 * event-msw.c (mswindows_drain_windows_queue):
12316 * event-msw.c (mswindows_wnd_proc): [7].
12317 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12318 * event-msw.c (mswindows_modifier_state):
12319 Throughout: support new button modifiers.
12321 * event-msw.c (emacs_mswindows_current_event_timestamp):
12322 Implement new event method.
12323 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12326 * event-stream.c (event_stream_current_event_timestamp): New.
12327 * event-stream.c (maybe_kbd_translate): New functionality.
12328 * event-stream.c (vars_of_event_stream):
12329 Document new kbd-translate-table functionality.
12331 * event-stream.c (Fcurrent_event_timestamp): New.
12332 New primitive for use in fabricated events.
12333 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12335 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12338 * events.c (Fmake_event):
12339 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12343 * events.c (format_event_object): fix gcc warnings.
12345 * events.c (Fevent_timestamp): Document new primitives.
12347 * events.c (TIMESTAMP_HALFSPACE): New.
12349 * events.c (Fevent_timestamp_lessp): New. New primitive for
12350 comparing timestamps correctly (half-space algorithm).
12352 * events.c (Fevent_modifier_bits): Doc fix.
12354 * events.c (Fevent_modifiers): Major doc addition.
12355 * events.c (event_x_y_pixel_internal): Typo fix.
12356 * events.c (syms_of_events): Declare new primitives.
12359 Update long comment for button modifiers, timestamps.
12361 * events.h (struct event_stream):
12362 New current_event_timestamp method.
12365 * extents.c (extent_in_region_p):
12366 * extents.c (decode_extent):
12367 * extents.c (Fset_extent_parent):
12368 * extents.c (decode_map_extents_flags):
12372 * extents.c (struct extent_at_arg):
12373 * extents.c (decode_extent_at_flag):
12374 * extents.c (extent_at_mapper):
12375 * extents.c (extent_at_bytind):
12376 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12377 * extents.c (Fextents_at): New primitive. [9].
12378 * extents.c (symbol_to_glyph_layout): [9].
12379 Support new primitive `extents-at'.
12382 * extents.c (get_text_property_bytind):
12383 extent_at_bytind has another arg.
12386 * extents.c (syms_of_extents): New primitive.
12388 * file-coding.c (Fmake_coding_system): [1].
12389 * file-coding.c (subsidiary_coding_system): fix gcc warning
12390 * file-coding.c (syms_of_file_coding): [2].
12392 * fileio.c (Fexpand_file_name):
12393 * fileio.c (Fsysnetunam):
12394 * fileio.c (Ffile_exists_p):
12395 * fileio.c (Ffile_executable_p):
12396 * fileio.c (Fverify_visited_file_modtime):
12399 * fileio.c (syms_of_fileio): [2].
12401 * filelock.c (lock_file_1):
12402 * filelock.c (current_lock_owner):
12403 * filelock.c (lock_if_free):
12404 * filelock.c (lock_file):
12405 * filelock.c (unlock_file):
12408 * fns.c (concat): Fix gcc warning.
12411 * fns.c (Fold_member):
12413 * fns.c (Fold_memq):
12414 * fns.c (memq_no_quit):
12416 * fns.c (Fold_assoc):
12418 * fns.c (Fold_assq):
12419 * fns.c (assq_no_quit):
12421 * fns.c (Fold_rassoc):
12423 * fns.c (Fold_rassq):
12424 * fns.c (rassq_no_quit):
12426 * fns.c (Fold_delete):
12428 * fns.c (Fold_delq):
12429 * fns.c (delq_no_quit):
12430 * fns.c (Fremassoc):
12431 * fns.c (Fremassq):
12432 * fns.c (remassq_no_quit):
12433 * fns.c (Fremrassoc):
12434 * fns.c (Fremrassq):
12435 * fns.c (remrassq_no_quit):
12436 * fns.c (Freverse):
12440 * frame-msw.c (mswindows_init_frame_1):
12441 * frame-msw.c (mswindows_delete_frame):
12442 Register popups with dialog code so keyboard traversing works.
12444 * frame-tty.c (tty_raise_frame_no_select): [1].
12447 * frame-x.c (x_set_frame_text_value):
12448 * frame-x.c (x_set_frame_properties):
12449 * frame-x.c (x_create_widgets):
12453 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12455 * frame.h (wrap_frame): New.
12456 Macro like wrap_device.
12459 * general.c (SYMBOL):
12460 * general.c (syms_of_general):
12461 Major reorg. This is now just a wrapper and symbols themselves
12462 are listed in general-slots.h.
12464 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12465 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12467 * glyphs-msw.c (mswindows_native_layout_instantiate):
12468 Add DS_CONTROL so keyboard traversal will work.
12471 * glyphs-widget.c (syms_of_glyphs_widget):
12472 Move some symbols to general-slots.h.
12475 * glyphs-x.c (xbm_instantiate_1):
12476 * glyphs-x.c (x_xbm_instantiate):
12477 * glyphs-x.c (x_xface_instantiate):
12478 * glyphs-x.c (autodetect_instantiate):
12479 * glyphs-x.c (cursor_font_instantiate):
12480 * glyphs-x.c (x_update_widget):
12481 * glyphs-x.c (x_widget_instantiate):
12482 * glyphs.c (bitmap_to_lisp_data):
12483 * glyphs.c (pixmap_to_lisp_data):
12486 * glyphs.c (syms_of_glyphs):
12490 * gui-x.c (print_widget_value):
12491 * gui-x.c (menu_separator_style_and_to_external):
12492 * gui-x.c (add_accel_and_to_external):
12493 * gui-x.c (button_item_to_widget_value):
12494 * gui-x.c (gui_items_to_widget_values_1):
12495 * gui-x.c (gui_items_to_widget_values):
12496 * gui-x.c (syms_of_gui_x):
12497 * gui-x.c (vars_of_gui_x):
12498 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12502 Muleize, prototype changes matching gui-x.c.
12505 * gui.c (separator_string_p):
12506 * gui.c (gui_item_add_keyval_pair):
12507 * gui.c (make_gui_item_from_keywords_internal):
12508 * gui.c (signal_too_long_error):
12509 * gui.c (parse_gui_item_tree_item):
12510 * gui.c (syms_of_gui):
12511 * gui.c (vars_of_gui):
12513 menu-no-selection-hook moved here (used by MSWin).
12514 Move some symbols to general-slots.h.
12518 * insdel.c (get_buffer_pos_char):
12519 * insdel.c (get_buffer_range_char):
12522 * keymap.c (keymap_lookup_directly):
12523 * keymap.c (keymap_store):
12524 * keymap.c (ensure_meta_prefix_char_keymapp):
12525 * keymap.c (describe_map):
12527 Support new button modifiers.
12529 * lisp-disunion.h (wrap_object):
12530 * lisp-disunion.h (XSETOBJ):
12531 Rename make_obj to wrap_object.
12534 * lisp-union.h (make_int):
12535 * lisp-union.h (make_char):
12536 Support wrap_object.
12539 * lisp.h (LIST_LOOP):
12540 * lisp.h (EXTERNAL_LIST_LOOP):
12541 * lisp.h (LIST_LOOP_2):
12542 * lisp.h (EXTERNAL_LIST_LOOP_1):
12543 * lisp.h (EXTERNAL_LIST_LOOP_2):
12544 * lisp.h (EXTERNAL_LIST_LOOP_3):
12545 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12546 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12547 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12548 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12549 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12550 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12551 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12552 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12553 * lisp.h (struct Lisp_Symbol):
12554 * lisp.h (maybe_continuable_error_with_frob):
12555 Fix up section comments.
12556 Add new types for char to indicate usage.
12557 Delete symbols auto-generated from general-slots.h.
12558 Add prototypes for structured error functions.
12559 Add long comments describing looping macros and change interface
12560 so that lvalues are automatically declared.
12561 Add NO_DECLARE macro in case callers want to declare lvalues
12564 * lread.c (read_syntax_error):
12565 * lread.c (continuable_read_syntax_error):
12566 * lread.c (read_structure):
12567 * lread.c (sequence_reader):
12568 * lread.c (read_list_conser):
12569 * lread.c (read_compiled_function):
12570 Rename syntax_error and continuable_syntax_error to avoid clash
12571 with same-named structured error functions.
12573 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12574 * menubar-msw.c (populate_menu_add_item):
12575 * menubar-msw.c (populate_or_checksum_helper):
12580 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12581 Mule-ize whole file.
12583 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12585 * mule-charset.c (Fmake_charset):
12586 * mule-wnnfns.c (Fwnn_set_param):
12589 * ntproc.c (create_child):
12590 * ntproc.c (Fwin32_set_current_locale):
12591 Add comments portending doom.
12594 * objects-msw.c (old_font_enum_callback_2):
12595 * objects-msw.c (font_enum_callback_1):
12596 * objects-msw.c (mswindows_enumerate_fonts):
12600 * objects-x.c (allocate_nearest_color):
12601 * objects-x.c (x_parse_nearest_color):
12602 * objects-x.c (x_initialize_color_instance):
12603 * objects-x.c (x_print_color_instance):
12604 * objects-x.c (x_finalize_color_instance):
12605 * objects-x.c (x_valid_color_name_p):
12606 * objects-x.c (x_initialize_font_instance):
12607 * objects-x.c (x_print_font_instance):
12608 * objects-x.c (valid_x_font_name_p):
12609 * objects-x.c (truename_via_FONT_prop):
12610 * objects-x.c (truename_via_random_props):
12611 * objects-x.c (truename_via_XListFonts):
12612 * objects-x.c (x_font_truename):
12613 * objects-x.c (x_font_instance_truename):
12614 * objects-x.c (x_font_instance_properties):
12615 * objects-x.c (x_list_fonts):
12616 * objects-x.c (x_find_charset_font):
12617 Mule-ize entire file.
12624 * print.c (std_handle_out_external):
12625 * print.c (debug_print_no_newline):
12626 * print.c (syms_of_print):
12627 Output to all debugger kinds in debug-print.
12628 Fix console-output code under MSWin to actually work.
12630 * process-nt.c (send_signal):
12631 * process-nt.c (nt_create_process):
12632 Use newer Unicode macros.
12634 * process-unix.c (unix_create_process):
12635 * process-unix.c (unix_canonicalize_host_name):
12636 * process-unix.c (unix_open_network_stream):
12642 * search.c (syms_of_search):
12645 * select-msw.c (mswindows_destroy_selection):
12648 * select-x.c (symbol_to_x_atom):
12651 * select.c (syms_of_select):
12654 * sound.c (Fplay_sound_file):
12658 * specifier.c (decode_specifier_type):
12659 * specifier.c (Fvalid_specifier_locale_type_p):
12660 * specifier.c (check_valid_locale_or_locale_type):
12661 * specifier.c (decode_locale):
12662 * specifier.c (decode_locale_type):
12663 * specifier.c (decode_locale_list):
12664 * specifier.c (check_valid_domain):
12665 * specifier.c (decode_specifier_tag_set):
12666 * specifier.c (Fcanonicalize_tag_set):
12667 * specifier.c (Fdefine_specifier_tag):
12668 * specifier.c (Fspecifier_tag_predicate):
12669 * specifier.c (check_valid_inst_list):
12670 * specifier.c (check_valid_spec_list):
12671 * specifier.c (decode_how_to_add_specification):
12672 * specifier.c (check_modifiable_specifier):
12673 * specifier.c (specifier_add_spec):
12674 * specifier.c (boolean_validate):
12675 * specifier.c (display_table_validate):
12678 * specifier.c (syms_of_specifier):
12679 Move some symbols to general-slots.h.
12683 * symbols.c (Fmapatoms):
12684 * symbols.c (Fapropos_internal):
12687 * symbols.c (set_default_buffer_slot_variable):
12688 * symbols.c (set_default_console_slot_variable):
12691 * symbols.c (defsymbol_massage_name_1):
12692 * symbols.c (defkeyword_massage_name):
12693 * symbols.c (deferror_1):
12694 * symbols.c (deferror):
12695 * symbols.c (deferror_massage_name_and_message):
12697 * symeval.h (DEFSYMBOL):
12698 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12700 * symbols.c (syms_of_symbols):
12704 * symsinit.h (init_win32): New.
12705 Also new is syms_of_dialog_mswindows.
12708 Add new Unicode macros, missing Cygwin wide-char functions,
12709 convenience conversion macros for Qmswindows_tstr, macros for
12710 encapsulating required MSWin <-> Cygwin filename conversions,
12711 prototype for dynamically-extracted (not in NT 3.51) functions.
12716 * tooltalk.c (Fadd_tooltalk_message_arg):
12717 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12718 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12721 * tooltalk.c (syms_of_tooltalk):
12725 * unexnt.c (unexec):
12726 Fix up headers, declaration of unexec() to be more standard.
12728 2000-07-20 Martin Buchholz <martin@xemacs.org>
12730 * offix.h: Revert change to guard macros - they're used in offix.c!
12732 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12734 * lisp.h: Defsubred Fdelete.
12736 * console-msw.h: (msprinter_default_printer): Added.
12738 * console-msw.c (msprinter_canonicalize_console_connection):
12739 (msprinter_canonicalize_device_connection): Added.
12741 * device-msw.c (msprinter_default_printer):
12742 (Fmswingows_get_default_printer):
12743 (signal_enum_priner_error):
12744 (Fmswingows_printer_list): Added.
12746 2000-07-19 Martin Buchholz <martin@xemacs.org>
12748 * XEmacs 21.2.35 is released.
12750 2000-07-19 Martin Buchholz <martin@xemacs.org>
12752 * select-x.c (x_handle_selection_request):
12753 Text selected in xemacs and pasted into xterm failed to appear.
12754 Spelling fixes and cosmetic changes.
12756 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12758 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12759 XEmacs frame (fix for doubling chars in dialog boxes).
12761 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12763 * select.c (select_convert_in, select_convert_out):
12764 Don't call intern() every time.
12766 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12767 * select.c (vars_of_select): Initialise them.
12769 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12771 * select.c (selection-coercible-types): New.
12773 * select.c (own-selection-internal):
12774 * select.c (get-selection-internal):
12775 MULE bug fix - these should default to COMPOUND_TEXT and not
12776 STRING for MULE. I think.
12778 * select.c (select_convert_out): Use selection-coercible-types
12779 to find types that we can attempt to perform coercions on.
12781 2000-07-18 Martin Buchholz <martin@xemacs.org>
12785 Add coding: cookie to identify encoding.
12787 * mule-canna.c (CANNA_mode_keys): make static.
12788 Use proper prototypes, even for functions of no arguments.
12789 Remove external prototype for Fding().
12791 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12793 * select.c (syms_of_select): Add missing DEFSUBR.
12795 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12797 * select.c (get_selection_internal, own_selection_internal):
12798 Make the type default to STRING, rather than placing a nil type
12799 into Vselection_alist.
12801 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12803 * gpmevent.c (tty_selection_exists_p):
12804 * gpmevent.c (tty_own_selection):
12805 Updated parameter lists.
12807 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12809 * select.h (selection-alist): Removed declaration.
12811 * select.h (get_local_selection):
12812 * select.c (get_local_selection):
12815 * select.h (convert_selection): Removed declaration.
12816 * select.c (convert_selection): Removed.
12817 This function belongs in Lisp.
12819 * select.h (select_convert_in): Declare.
12820 * select.h (select_convert_out): Declare.
12821 * select.c (select_convert_in): New.
12822 * select.c (select_convert_out): New.
12823 New conversion functions for other files to call.
12825 * select.h (select_notify_buffer_kill): Declare.
12826 * select.c (select_notify_buffer_kill): New.
12827 New functions that get called from kill-buffer.
12829 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12830 X-specific lisp code.
12832 * select.h: Declare some of the lisp-visible functions for
12835 * select.c (clean_local_selection_data): Removed. This was
12836 a disgusting function, and previously should have been in
12837 select-x.c in any case. The functionality is now provided
12838 in select-convert-from-integer (select.el).
12840 * select.c (available-selection-types): Fixed stupidity where
12841 INTEGER and ATOM got added twice. Also add STRING when we see an
12844 * select.c (get-selection-internal): Removed symbol stripping. No
12845 longer causes conversion when data comes from the internal cache.
12847 * select.c (syms_of_select): Added new functions.
12849 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12850 error checking - previously this called abort!
12852 * select-x.c (x_own_selection): Changed comment.
12854 * select-x.c (x_handle_selection_request): Use select_convert_out.
12855 Don't mess with selection-alist; it's an internal variable of select.c.
12857 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12859 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12860 rather than messing with selection-alist.
12862 * select-msw.c (mswindows_get_foreign_selection):
12863 Use TO_INTERNAL_FORMAT rather than hacking.
12865 2000-07-14 Martin Buchholz <martin@xemacs.org>
12867 * process-unix.c (unix_open_multicast_group):
12868 (unix_open_multicast_group): Remove useless casts.
12870 2000-07-13 Martin Buchholz <martin@xemacs.org>
12872 * sound.c (Fplay_sound): Fix `unused variable' warning.
12874 * emacs.c (main): Use correct type for _environ on SCO5.
12876 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12878 * console.h (own_selection_method):
12879 * console.h (selection_exists_p_method):
12880 * console.h (available_selection_types_method): New.
12881 * console.h (register_selection_data_type_method): New.
12882 * console.h (selection_data_type_name): New.
12884 * console-msw.h (mswindows_destroy_selection): Declare it. New
12885 function & alist to track GlobalAlloc()'d handles that need
12886 releasing when the clipboard data gets replaced or emptied.
12888 * event-msw.c (mswindows_wnd_proc): Call it.
12890 * lisp.h, general.c (Qappend): New symbol representing a
12893 * select.c (own-selection-internal):
12894 * select.c (selection-exists-p):
12895 * select.c (available-selection-types): New.
12896 * select.c (register-selection-data-type): New.
12897 * select.c (selection-data-type-name): New. New functions to deal
12898 with device-specific selection data formats.
12899 * select.c (selection-converter-out-alist): Renamed.
12900 * select.c (selection-converter-in-alist): New.
12901 * select.c (selection-appender-alist): New. Added new alists.
12902 * select.c (syms_of_select, vars_of_select): Added new symbols &
12904 * select.c (get_local_selection): Split.
12905 * select.c: Removed spurious type checking - selections may now be
12906 of any type, not just strings.
12907 * select.c (own-selection-internal):
12909 * select.h, select.c (convert_selection): New. Created
12910 convert_selection() function based on get_local_selection().
12911 * select.h, select.c (QCF_*): New symbols representing mswindows
12913 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12914 symbols representing `how-to-add' modes.
12916 * select-msw.c (x_sym_p): New.
12917 * select-msw.c (symbol_to_ms_cf): New.
12918 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12919 symbols & clipboard formats. Can also handle string names.
12920 * select-msw.c (mswindows_own_selection):
12921 * select-msw.c (mswindows_selection_exists_p):
12922 Added `data-type' parameter. Use it.
12923 * select-msw.c (mswindows_available_selection_types): New.
12924 * select-msw.c (mswindows_register_selection_data_type): New.
12925 * select-msw.c (mswindows_selection_data_type_name): New.
12926 * select-msw.c (mswindows_own_selection):
12927 * select-msw.c (mswindows_get_foreign_selection):
12928 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12929 * select-msw.c (console_create_select_mswindows): Added new methods.
12930 * select-msw.c (mswindows_destroy_selection): New.
12931 * select-msw.c (Vhandle_alist): New list.
12932 * select-msw.c (mswindows_own_selection):
12934 * select-x.c (x_own_selection):
12935 * select-x.c (x_selection_exists_p):
12936 * select-x.c: Added some comments about maybe using new
12938 * select-x.c (x_own_selection):
12940 * specifier.c: Remove definition of Qappend (now in general.c)
12941 * specifier.c (syms_of_specifier): Remove Qappend.
12943 2000-07-12 Martin Buchholz <martin@xemacs.org>
12945 * config.h.in: Add socklen_t.
12947 * s/decosf4-0.h: No special compiler flags needed or desired.
12948 In particular, undefine _BSD for DEC OSF 4.0.
12950 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12952 * redisplay-msw.c (msprinter_frame_output_end): Added.
12953 (console_type_create_redisplay_mswindows): Referred the above.
12955 * frame.c (setup_frame_without_minibuffer): Do not create a
12956 default minibuffer frame on a printer device.
12958 * frame-msw.c (apply_dc_geometry): Added.
12959 (msprinter_start_page):
12960 (msprinter_init_frame_3):
12961 (msprinter_eject_page): Use it.
12963 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12964 and removed residual duplex and orientation properties.
12966 2000-07-11 Martin Buchholz <martin@xemacs.org>
12968 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12970 * unexalpha.c: Remove system prototypes from C sources!
12972 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12974 * eval.c: Remove references to M-x edit-options in DEFUNs for
12975 `defvar' and `defconst'.
12977 2000-07-09 Martin Buchholz <martin@xemacs.org>
12979 * config.h.in: Remove SMART_INCLUDE hackery.
12981 PostgreSQL hacking:
12982 * config.h.in: Don't use SMART_INCLUDE.
12984 * postgresql.h: Include libpq-fe.h here. Fix typo.
12985 * inline.c: Simply #include "postgresql.h"
12987 - Don't use SMART_INCLUDE
12988 - Use simply "const".
12989 - Use standard doc string conventions.
12990 - Use correct type for result of PQstatus.
12992 2000-07-09 Martin Buchholz <martin@xemacs.org>
12994 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12996 C++ compilation changes.
12997 * config.h.in (EXTERN_C): Define.
12998 * config.h.in (not): This is also a C++ keyword.
12999 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
13000 * cm.c: Use EXTERN_C.
13001 * redisplay-tty.c: Use EXTERN_C.
13002 * sysdep.c: Use EXTERN_C. Remove Gould support.
13004 2000-07-09 Martin Buchholz <martin@xemacs.org>
13006 * general.c: Remove duplicate definition for Qfunction.
13008 2000-07-08 Ben Wing <ben@xemacs.org>
13010 * device-msw.c (msprinter_init_device):
13011 * device-msw.c (sync_printer_with_devmode):
13012 * device-msw.c (handle_devmode_changes):
13013 * device-msw.c (print_dialog_worker):
13014 * device-msw.c (Fmsprinter_apply_settings):
13015 * device-msw.c (hash_devmode):
13016 * device-msw.c (Fmsprinter_settings_despecialize):
13017 use Qmswindows_tstr, not Qctext.
13019 * vm-limit.c (check_memory_limits):
13020 avoid infinite loop printing warning messages.
13022 2000-07-05 Craig Lanning <lanning@scra.org>
13024 * Makefile.in.in: Add support for including the Windows resources
13025 when building with the cygwin and mingw targets.
13027 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
13028 not set or not correct.
13029 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
13030 (init_initial_directory): Don't try to use $PWD on the
13031 WIN32_NATIVE target.
13034 [[Add -mwindows to eliminate console window.]] not required --ben
13035 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13036 (MAIL_USE_POP): removed; now handled by configure.
13038 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
13039 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
13040 (HAVE_NATIVE_SOUND): removed; now handled by configure.
13041 (MAIL_USE_POP): removed; now handled by configure.
13042 (ENCAPSULATE_STAT): from Dan Holmsand, added.
13043 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
13044 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
13046 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
13047 up from <winsock.h> via systime.h.
13048 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
13049 (getpagesize): from Dan Holmsand, added.
13050 Added #endif which was left dangling by Ben's mega patch; added
13051 comment to help prevent this in the future.
13053 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
13055 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
13057 * console-msw.h (struct mswindows_device): Removed unnecessary
13058 cached device geometry values.
13059 Added update_tick and an accessor macro.
13060 (Lisp_Devmode): Added lrecord declaration.
13061 (struct msprinter_device): Contain devmode as a Lisp object.
13062 Added mswindows_get_selected_frame_hwnd();
13064 * console.h (struct console_methods): Indentation nitpicking.
13066 * device-msw.c (mswindows_init_device): Do not initialize geometry
13067 cache. Initialize update tick.
13068 (mswindows_device_system_metrics): Ask the device for its geometry.
13069 (global_free_2_maybe):
13070 (devmode_to_hglobal):
13071 (handle_printer_changes):
13072 (ensure_not_printing):
13073 (print_dialog_worker):
13074 (Fmsprinter_print_setup_dialog):
13075 (Fmsprinter_print_dialog):
13076 (plist_get_margin):
13077 (plist_set_margin):
13078 (Fmsprinter_page_setup_dialog): Added functions.
13079 (sync_printer_with_devmode):
13080 (handle_devmode_changes):
13081 (Fmsprinter_get_settings):
13082 (Fmsprinter_select_settings):
13083 (Fmsprinter_apply_settings):
13084 (allocate_devmode):
13085 (Fmsprinter_settings_copy):
13086 (Fmsprinter_settings_despecialize):
13088 (finalize_devmode):
13090 (hash_devmode): Added functions
13091 (syms_of_device_mswindows): Init devmode lrecord class.
13093 * device.h: Added an exfun for find-device.
13095 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13096 geometry; although, recreate the device compatible DC.
13098 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13099 (msprinter_init_frame_3):
13100 (msprinter_frame_property):
13101 (msprinter_internal_frame_property_p):
13102 (msprinter_frame_properties):
13103 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13104 print job properties (will move to device settings).
13106 * lisp.h: Added symbols.
13108 * general.c (syms_of_general): Declared them.
13110 * hash.c (string_hash): Added.
13112 * lrecord.h (lrecord_type): Added devmode lrecord type.
13114 2000-07-02 Mike Sperber <mike@xemacs.org>
13116 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13119 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13121 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13124 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13126 * data.c (Fstring_to_number): Don't recognize floating point if
13129 2000-06-22 Martin Buchholz <martin@xemacs.org>
13131 * glyphs-widget.c (tab_control_query_geometry):
13132 (widget_query_geometry):
13133 (button_query_geometry):
13134 * glyphs.c (text_query_geometry):
13135 Enforce type correctness.
13137 2000-06-18 Martin Buchholz <martin@xemacs.org>
13139 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13140 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13142 2000-06-17 Martin Buchholz <martin@xemacs.org>
13144 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13145 conflicts with gcc's fixincluded version of FOO.h.
13147 * glyphs.h (image_instance_geometry): Remove trailing `,'
13149 2000-06-08 Mike Alexander <mta@arbortext.com>
13151 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13152 (shove_thread): Don't write the same output twice
13153 (make_ntpipe_output_stream): Increase priority of shove thread
13154 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13156 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13159 2000-06-12 Ben Wing <ben@xemacs.org>
13161 * s\mingw32.h (sigset):
13162 * s\windowsnt.h (sigset):
13163 rename msw_ to mswindows_ for consistency with general convention.
13165 2000-06-12 Ben Wing <ben@xemacs.org>
13168 * console-msw.c (mswindows_get_console_hwnd):
13169 * console-msw.c (mswindows_ensure_console_allocated):
13170 * console-msw.c (mswindows_hide_console):
13171 * console-msw.c (mswindows_show_console):
13172 * console-msw.c (mswindows_ensure_console_buffered):
13173 * console-msw.c (mswindows_output_console_string):
13174 * console-msw.c (mswindows_windows9x_p):
13176 * device-msw.c (mswindows_get_workspace_coords):
13177 * device-msw.c (mswindows_device_system_metrics):
13178 * dialog-msw.c (mswindows_popup_dialog_box):
13179 * event-msw.c (mswindows_wnd_proc):
13180 * frame-msw.c (mswindows_size_frame_internal):
13181 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13182 * menubar-msw.c (displayable_menu_item):
13183 * menubar-msw.c (mswindows_char_is_accelerator):
13185 * nt.c (mswindows_sigset):
13186 * nt.c (mswindows_sigrelse):
13187 * nt.c (mswindows_sigpause):
13188 * nt.c (mswindows_raise):
13189 * nt.c (timer_proc):
13191 * ntproc.c (find_child_console):
13192 * ntproc.c (sys_kill):
13194 * print.c (std_handle_out_external):
13195 * process-nt.c (find_child_console):
13196 * process-nt.c (send_signal_the_95_way):
13197 * process-nt.c (ensure_console_window_exists):
13198 * process-nt.c (nt_create_process):
13200 rename msw_ to mswindows_ for consistency with general convention.
13204 include nt.h, not syswindows.h.
13206 * nt.c (mswindows_fstat):
13207 * nt.c (mswindows_stat):
13208 prefix mswindows_ instead of attempting to directly override the
13209 library functions. fix declarations.
13212 include syswindows.h. move some sysdep.h stuff here.
13215 include syswindows.h, not <windows.h>.
13223 * sysdep.c (sys_fstat):
13224 * sysdep.c (sys_stat):
13225 call mswindows versions when appropriate.
13228 move mswin decls to nt.h.
13231 add long comment describing appropriate use of the various windows
13234 2000-06-11 Ben Wing <ben@xemacs.org>
13236 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13238 2000-06-10 Ben Wing <ben@xemacs.org>
13240 * Makefile.in.in (release):
13241 Correction to make sure xemacs.exe always dumped when correct.
13245 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13247 * buffer.c (set_buffer_internal):
13248 [[[[2]]]]: Remove HAVE_FEP code.
13250 * buffer.c (init_initial_directory):
13254 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13258 * callproc.c (call_process_cleanup):
13259 * callproc.c (Fold_call_process_internal):
13260 * callproc.c (child_setup):
13261 * callproc.c (getenv_internal):
13262 * callproc.c (init_callproc):
13263 * callproc.c (vars_of_callproc):
13264 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13265 __CYGWIN32__ -> CYGWIN.
13266 DOS_NT -> WIN32_NATIVE.
13267 Remove MSDOS support/references, converting to WIN32_NATIVE
13269 __MINGW32__ -> MINGW.
13270 Fix windows.h includes.
13271 Remove bogus HAVE_NTGUI.
13277 mswindows_message_outputted added for use in allowing startup
13278 errors on the console to be seen.
13280 * console-msw.c (msw_ensure_console_allocated):
13281 * console-msw.c (msw_output_console_string):
13282 * console-msw.c (DHEADER):
13283 * console-msw.c (DOPAQUE_DATA):
13284 * console-msw.c (DEVENT):
13285 * console-msw.c (DCONS):
13286 * console-msw.c (DCONSCDR):
13287 * console-msw.c (DSTRING):
13288 * console-msw.c (DVECTOR):
13289 * console-msw.c (DSYMBOL):
13290 * console-msw.c (DSYMNAME):
13293 * console-stream.c (stream_init_console):
13294 Fix text/binary problems.
13297 * device-msw.c (mswindows_finish_init_device):
13298 * device-msw.c (mswindows_delete_device):
13301 * device.c (handle_asynch_device_change):
13305 * dgif_lib.c (DGifOpenFileName):
13306 * dgif_lib.c (DGifOpenFileHandle):
13307 * dgif_lib.c (DGifGetLine):
13308 * dgif_lib.c (DGifGetPixel):
13309 Added config.h/lisp.h, fix up includes.
13316 * dired.c (file_name_completion):
13317 * dired.c (Ffile_attributes):
13318 * dired.c (syms_of_dired):
13322 * dumper.c (pdump_file_unmap):
13323 * dumper.c (pdump_load):
13327 * editfns.c (Ftemp_directory):
13328 * editfns.c (user_login_name):
13329 * editfns.c (Fuser_real_login_name):
13330 * editfns.c (get_home_directory):
13333 * elhash.c (finish_marking_weak_hash_tables):
13334 [[[[5]]]]: Fix GCC warnings.
13337 * emacs.c (mswindows_handle_hardware_exceptions):
13338 * emacs.c (make_arg_list_1):
13339 * emacs.c (main_1):
13340 * emacs.c (Fkill_emacs):
13341 * emacs.c (Fdump_emacs):
13343 Fix problems with nested crashes, add long comment.
13345 * event-Xt.c (init_event_Xt_late):
13349 * event-msw.c (mswindows_dde_callback):
13350 * event-msw.c (mswindows_handle_sticky_modifiers):
13351 * event-msw.c (mswindows_wnd_proc):
13355 * events.c (character_to_event):
13359 * fileio.c (Ffile_name_directory):
13360 * fileio.c (Ffile_name_nondirectory):
13361 * fileio.c (directory_file_name):
13362 * fileio.c (Fexpand_file_name):
13363 * fileio.c (Fsubstitute_in_file_name):
13364 * fileio.c (Ffile_name_absolute_p):
13365 * fileio.c (check_executable):
13366 * fileio.c (Ffile_readable_p):
13367 * fileio.c (Ffile_accessible_directory_p):
13368 * fileio.c (Ffile_modes):
13369 * fileio.c (Funix_sync):
13370 * fileio.c (vars_of_fileio):
13373 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13375 Expand getdefdir defn.
13376 Fix bogus rename() comment.
13378 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13379 to use standard XEmacs include files, e.g. sysfile.h, rather
13380 than system-specific includes.
13386 * frame.c (vars_of_frame):
13390 * getloadavg.c (getloadavg):
13392 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13393 (We don't use it elsewhere in the code; just add a comment.)
13400 * glyphs-msw.c (mswindows_resource_instantiate):
13403 * glyphs-x.c (x_native_layout_instantiate):
13406 * gui-msw.c (Fmswindows_shell_execute):
13415 * lread.c (locate_file_in_directory_mapper):
13422 * mem-limits.h (get_lim_data):
13434 * nt.c (rva_to_section):
13435 * nt.c (mswindows_executable_type):
13437 Fix closedir() defn.
13440 [[[[8]]]]: *_OK defs moved to sysfile.h.
13449 * print.c (std_handle_out_external):
13453 * process-nt.c (nt_create_process):
13455 try to fix process quoting somewhat.
13457 * process-unix.c (unix_create_process):
13461 * process.c (vars_of_process):
13468 * realpath.c (xrealpath):
13471 * redisplay-tty.c (init_tty_for_redisplay):
13481 * sheap.c (more_static_core):
13482 * sheap.c (report_sheap_usage):
13486 * signal.c (alarm_signal):
13493 * strftime.c (zone_name):
13496 * symsinit.h (init_sunpro):
13500 commctrl.h not in Cygwin b20.1.
13503 * sysdep.c (endif):
13504 * sysdep.c (sys_subshell):
13505 * sysdep.c (init_baud_rate):
13506 * sysdep.c (emacs_get_tty):
13507 * sysdep.c (emacs_set_tty):
13508 * sysdep.c (tty_init_sys_modes_on_device):
13509 * sysdep.c (init_system_name):
13510 * sysdep.c (sys_open):
13511 * sysdep.c (interruptible_open):
13512 * sysdep.c (sys_fopen):
13513 * sysdep.c (sys_mkdir):
13514 * sysdep.c (sys_rename):
13515 * sysdep.c (get_process_times_1):
13522 * sysdir.h (DIRENTRY_NONEMPTY):
13525 * sysdll.c (dll_init):
13531 added text/binary defs.
13537 * sysproc.h (EDESTADDRREQ):
13538 * sysproc.h (poll_fds_for_input):
13555 Always define WIN32_LEAN_AND_MEAN.
13557 * unexcw.c (unexec):
13561 * unexec.c (copy_text_and_data):
13562 * unexec.c (adjust_lnnoptrs):
13566 * unexnt.c (_start):
13569 2000-06-07 Ben Wing <ben@xemacs.org>
13571 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13572 was used only as a model. We've long since extracted any useful
13573 logic or code out of this. (I just did an exhaustive search.)
13575 * s\msdos.h: Removed.
13577 * s\windows95.h: Removed.
13579 2000-06-10 Ben Wing <ben@xemacs.org>
13583 Don't use extern with fun defs.
13587 Remove nt\inc include.
13588 Remove getdisk, getdefdir. (The former is unused, the latter
13589 expanded in fileio.h.)
13592 * s\windowsnt.h (WIN32_NATIVE):
13593 * s\windowsnt.h (HAVE_STRCASECMP):
13595 Add long comment about preprocessor changes.
13596 Remove getdisk, getdefdir. (The former is unused, the latter
13597 expanded in fileio.h.)
13599 2000-06-10 Ben Wing <ben@xemacs.org>
13608 Remove bogus/unused NO_SOCK_SIGIO.
13610 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13612 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13615 2000-06-04 Mike Sperber <mike@xemacs.org>
13617 * casetab.c (set_case_table): For `set-standard-case-table',
13618 actually deposit the new case tables where the rest of XEmacs can
13621 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13623 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13625 2000-06-05 Ben Wing <ben@xemacs.org>
13627 * callproc.c (child_setup): Don't do close_load_descs() under
13628 MS Windows. Put in a comment explaining why.
13630 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13632 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13633 Toolkit shell" which breaks `kill-compilation' on Windows NT
13634 native, retaining STDERR handling improvements.
13636 2000-06-01 Andreas Jaeger <aj@suse.de>
13638 * s/s390.h: Support for S390, based on a patch by Martin
13639 Schwidefsky <schwidefsky@de.ibm.com>.
13641 2000-05-30 Andy Piper <andy@xemacs.org>
13643 * window.c (allocate_window):
13644 (make_dummy_parent):
13645 (Fset_window_configuration): use new hashtable type.
13647 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13648 (struct image_instantiator_methods):
13649 (struct Lisp_Image_Instance): make instance geometry signed.
13651 * glyphs.c (instantiate_image_instantiator):
13652 (image_instance_query_geometry):
13653 (image_instance_layout):
13654 (image_instance_layout):
13655 (query_string_geometry):
13656 (text_query_geometry):
13657 (image_instantiate):
13658 (image_instantiate):
13659 (cache_subwindow_instance_in_frame_maybe):
13660 (subwindow_query_geometry): make instance geometry signed.
13662 * glyphs-widget.c (widget_query_geometry):
13664 (button_query_geometry):
13665 (tree_view_query_geometry):
13666 (tab_control_query_geometry):
13667 (layout_query_geometry):
13669 (native_layout_layout): make instance geometry signed.
13671 2000-05-29 Olivier Galibert <galibert@pobox.com>
13673 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13676 * general.c (syms_of_general): Add Qfull_assoc symbol.
13678 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13680 (decode_weak_list_type): Decode full-assoc type.
13681 (encode_weak_list_type): Encode full-assoc type.
13682 (Fmake_weak_list): Update doc string.
13684 2000-05-30 Andy Piper <andy@xemacs.org>
13686 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13688 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13689 (decode_hash_table_weakness): ditto.
13690 (Fhash_table_weakness): ditto.
13691 (Fhash_table_type): ditto.
13692 (finish_marking_weak_hash_tables): ditto.
13693 (hash_table_weakness_validate): ditto.
13694 (syms_of_elhash): ditto.
13696 2000-05-28 Martin Buchholz <martin@xemacs.org>
13698 * XEmacs 21.2.34 is released.
13700 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13702 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13704 (updating_line_start_cache): Gone.
13705 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13706 generic code to force a minimum of 1 line laid out in the
13709 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13711 * glyphs.c (instantiate_image_instantiator): Check for initialized
13712 height & width no longer special cases IMAGE_NOTHING.
13713 (nothing_instantiate): Set height and width of instance.
13715 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13717 * unexelf.c (unexec): Search for ".data" section.
13718 Initialize new_data2_offset from old_data_index.
13719 Remove redundant check for ElfW.
13721 2000-05-23 Andy Piper <andy@xemacs.org>
13723 * glyphs.c (get_image_instantiator_governing_domain): allow more
13724 specific domains as the governing domain rather than expecting an
13725 exact match. This fixes problems with layouts.
13727 2000-05-22 Andy Piper <andy@xemacs.org>
13729 * redisplay-output.c (compare_runes): check for non-images
13731 * glyphs.c (set_glyph_dirty_p): ditto.
13732 (update_glyph_cachel_data): ditto.
13734 * glyphs-widget.c (layout_post_instantiate): ditto.
13735 (layout_post_instantiate): ditto.
13737 * event-msw.c (mswindows_wnd_proc): warning removal.
13739 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13741 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13743 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13745 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13747 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13748 (mswindows_executable_type): mingw32 now has enough headers for
13751 2000-05-20 Andy Piper <andy@xemacs.org>
13753 * console-msw.c (mswindows_output_last_error): ; -> ,
13755 2000-05-12 Andy Piper <andy@xemacs.org>
13757 * console-msw.c (FROB): compare ints with ints.
13759 2000-05-11 Andy Piper <andy@xemacs.org>
13761 * glyphs-x.c (x_finalize_image_instance): make minimal build
13764 2000-05-20 Ben Wing <ben@xemacs.org>
13767 * event-Xt.c (vars_of_event_Xt):
13768 move modifier-keys-are-sticky to event-stream.c.
13771 * event-msw.c (mswindows_enqueue_mouse_button_event):
13772 * event-msw.c (key_needs_default_processing_p):
13773 * event-msw.c (XEMSW_LCONTROL):
13774 * event-msw.c (mswindows_handle_sticky_modifiers):
13775 * event-msw.c (FROB):
13776 * event-msw.c (clear_sticky_modifiers):
13777 * event-msw.c (output_modifier_keyboard_state):
13778 * event-msw.c (output_alt_keyboard_state):
13779 * event-msw.c (mswindows_wnd_proc):
13780 * event-msw.c (mswindows_modifier_state):
13781 * event-msw.c (emacs_mswindows_handle_magic_event):
13782 implement sticky modifiers.
13785 * event-stream.c (vars_of_event_stream):
13786 move modifier-keys-are-sticky here.
13789 add CHECK_FUNCTION.
13792 implement map-range-table.
13795 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13797 * redisplay-tty.c (reset_tty_modes):
13798 (tty_redisplay_shutdown): Adjust argument type to
13799 tty_frame_output_end.
13801 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13803 * eval.c (Fbacktrace): Don't output a line with only right
13806 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13808 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13809 (Fpq_reset_poll): Ditto.
13811 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13813 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13815 2000-05-16 Ben Wing <ben@xemacs.org>
13818 * buffer.c (dfc_convert_to/from_internal_format):
13819 * buffer.c (reinit_vars_of_buffer):
13820 Fix conversion functions to allow reentrancy.
13823 * console-msw.c (mswindows_output_last_error):
13824 New fun, generally useful -- output a human-readable
13825 version of GetLastError() on the console.
13828 * console-msw.h (struct mswindows_frame):
13829 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13831 * console-stream.c (stream_output_begin):
13832 * console-stream.c (stream_output_end):
13833 * console-stream.c (stream_output_vertical_divider):
13834 * console-stream.c (stream_clear_region):
13835 * console-stream.c (stream_flash):
13836 * console-stream.c (console_type_create_stream):
13837 Delete blank stream methods, not needed.
13839 * console.h (struct console_methods):
13840 Split begin/end methods into window and frame.
13843 * event-msw.c (mswindows_handle_paint):
13844 * event-msw.c (output_alt_keyboard_state):
13845 * event-msw.c (mswindows_wnd_proc):
13846 * event-msw.c (vars_of_event_mswindows):
13847 Comment about problems with ignored-expose.
13848 Define mswindows-debug-events; not really implemented.
13850 * frame-msw.c (mswindows_init_frame_1):
13854 * glyphs-msw.c (begin_defer_window_pos):
13855 * glyphs-msw.c (mswindows_unmap_subwindow):
13856 * glyphs-msw.c (mswindows_map_subwindow):
13857 * glyphs-msw.c (mswindows_resize_subwindow):
13858 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13860 * glyphs.c (make_image_instance_1):
13863 * gutter.c (Fredisplay_gutter_area):
13864 Use new begin/end methods.
13866 * lisp.h (Dynarr_new2):
13870 * redisplay-msw.c (mswindows_frame_output_begin):
13871 * redisplay-msw.c (mswindows_frame_output_end):
13872 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13873 New begin/end methods -- handle DeferWindowPos.
13875 * redisplay-output.c (redisplay_move_cursor):
13876 * redisplay-output.c (redraw_cursor_in_window):
13877 * redisplay-output.c (redisplay_update_line):
13878 * redisplay-output.c (redisplay_output_window):
13879 New begin/end methods.
13882 * redisplay-tty.c (tty_frame_output_begin):
13883 * redisplay-tty.c (tty_frame_output_end):
13884 * redisplay-tty.c (console_type_create_redisplay_tty):
13885 New begin/end methods.
13888 * redisplay-x.c (x_window_output_begin):
13889 * redisplay-x.c (x_window_output_end):
13890 * redisplay-x.c (console_type_create_redisplay_x):
13891 New begin/end methods.
13893 * redisplay.c (redisplay_frame):
13894 * redisplay.c (Fredisplay_echo_area):
13895 New begin/end methods.
13896 use MAYBE_DEVMETH for clear_frame; it may not exist.
13898 * window.h (WINDOW_XFRAME):
13899 WINDOW_XFOO macros -- get locale and decode struct pointer.
13902 2000-05-12 Ben Wing <ben@xemacs.org>
13905 * emacs.c (ensure_no_quitting_from_now_on):
13906 * emacs.c (fatal_error_signal):
13907 * emacs.c (mswindows_handle_hardware_exceptions):
13909 * emacs.c (Fkill_emacs):
13910 * emacs.c (shut_down_emacs):
13911 * emacs.c (assert_failed):
13912 various improvements in fatal error handling.
13915 move preparing_for_armageddon to emacs.c.
13918 declare fatal_error_in_progress.
13921 * print.c (std_handle_out_external):
13922 * print.c (std_handle_out_va):
13923 * print.c (stderr_out):
13924 * print.c (stdout_out):
13925 use console under mswin when no standard output.
13926 don't do code conversion during fatal error.
13928 * scrollbar.c (Fscrollbar_page_up):
13929 * scrollbar.c (Fscrollbar_page_down):
13930 fix missing else. reindent.
13932 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13936 * glyphs.h (GLYPH_CACHEL_DESCENT):
13937 (GLYPH_CACHEL_DESCENT):
13938 (GLYPH_CACHEL_DESCENT):
13939 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13940 used in case these are inline functions.
13941 Use more absurd values to error check.
13943 include window.h for error check functions.
13945 2000-05-11 Ben Wing <ben@xemacs.org>
13947 * cmdloop.c (Freally_early_error_handler):
13948 Display message box under windows; otherwise, message will disappear
13949 before it can be viewed.
13952 * console-msw.c (Fmswindows_message_box):
13953 * console-msw.c (FROB):
13954 * console-msw.c (syms_of_console_mswindows):
13955 Define new fun `mswindows-message-box'.
13956 #### I will merge this into `popup-dialog-box'; just give me
13960 * general.c (syms_of_general):
13961 Some new symbols used in `mswindows-message-box'.
13964 * glyphs.c (Fset_image_instance_property):
13965 put warning in this fun.
13968 * glyphs.h (GLYPH_CACHEL_WIDTH):
13969 * glyphs.h (GLYPH_CACHEL_ASCENT):
13970 * glyphs.h (GLYPH_CACHEL):
13971 * glyphs.h (GLYPH_CACHEL_GLYPH):
13972 define error-checking versions to try to catch a bug i've seen --
13973 redisplay gets in an infinite loop because the glyph width of the
13974 continuation glyph is 65535.
13977 Extern message-box stuff.
13979 * window.c (allocate_window):
13980 * window.c (make_dummy_parent):
13981 * window.c (Fset_window_configuration):
13982 Use EQUAL not EQ for subwindow caches to make them work a bit
13983 better. (Something is still very broken.)
13986 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13988 * glyphs.c (image_instantiate): Suppress gcc warnings.
13989 (Fmake_image_instance): Fix doc string.
13990 * specifier.c (Fmake_specifier): Ditto.
13992 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13994 * paths.h.in (PATH_LOCK): Removed.
13995 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13996 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13998 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
14000 * fns.c (Ffeaturep): Update e-mail address in doc-string.
14001 Document (featurep '(and xemacs 21.02)).
14003 2000-05-09 Ben Wing <ben@xemacs.org>
14005 * buffer.c (complex_vars_of_buffer):
14006 update modeline-format doc.
14009 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
14012 timeline of all released versions of Emacs, for use in creating
14013 authorship comments and in synching up.
14015 * glyphs-widget.c (image_instantiator_buttons):
14016 * glyphs-widget.c (image_instantiator_edit_fields):
14017 * glyphs-widget.c (image_instantiator_combo_box):
14018 * glyphs-widget.c (image_instantiator_scrollbar):
14019 * glyphs-widget.c (image_instantiator_progress_guage):
14020 * glyphs-widget.c (image_instantiator_tree_view):
14021 * glyphs-widget.c (image_instantiator_tab_control):
14022 * glyphs-widget.c (image_instantiator_labels):
14023 * glyphs-widget.c (image_instantiator_layout):
14024 * glyphs-widget.c (image_instantiator_native_layout):
14025 rename decode_domain method to governing_domain.
14028 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
14029 * glyphs.c (add_entry_to_device_ii_format_list):
14030 make sure we don't put an entry more than once into the list.
14031 * glyphs.c (check_instance_cache_mapper):
14032 *************************************************************
14033 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14035 *************************************************************
14036 * glyphs.c (get_image_instantiator_governing_domain):
14037 clean up, expand on new concept of governing domain.
14038 * glyphs.c (instantiate_image_instantiator):
14039 * glyphs.c (allocate_image_instance):
14040 use governing_domain instead of cache_domain in naming.
14041 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
14042 * glyphs.c (make_image_instance_1):
14043 * glyphs.c (Fmake_image_instance):
14044 allow for any domain (not just device), and process the
14045 governing domain correctly. very big doc fix.
14046 * glyphs.c (Fimage_instance_domain):
14047 new primitive, to retrieve the governing domain of an image instance.
14048 * glyphs.c (image_instantiate):
14049 use new governing_domain stuff. this fixes a crash you could get
14050 by instantiating certain widget glyphs in frame locales. (should
14051 signal an error instead of crashing.)
14052 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
14053 * glyphs.c (Fglyphp): clean up doc.
14054 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
14055 * glyphs.c (syms_of_glyphs):
14056 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
14057 * glyphs.c (image_instantiator_format_create): add some comments about
14059 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
14060 for current-display-table. (Apparently Hrjove implemented in 1998 a
14061 design I wrote up in 1996, but didn't update the doc string.)
14063 * glyphs.h: clean up a doc string.
14064 * glyphs.h (governing_domain):
14065 * glyphs.h (struct image_instantiator_methods):
14066 changes for governing_domain stuff.
14069 * gutter.c (Fgutter_specifier_p):
14070 * gutter.c (Fgutter_size_specifier_p):
14071 * gutter.c (Fgutter_visible_specifier_p):
14073 * objects.c (Fcolor_specifier_p):
14074 * objects.c (Ffont_specifier_p):
14075 * objects.c (Fface_boolean_specifier_p):
14076 doc strings moved to make-*-specifier.
14078 * redisplay.c (add_disp_table_entry_runes_1):
14079 * redisplay.c (generate_fstring_runes):
14080 * redisplay.c (screen):
14081 add random comments and doc strings.
14084 * specifier.c (Fmake_specifier):
14085 major overhaul of this doc string.
14087 * specifier.c (Fvalid_specifier_domain_p):
14088 comment about the bogosity of image instances being domains.
14089 * specifier.c (decode_domain):
14090 now non-static, used in glyphs.c.
14091 * specifier.c (specifier_instance):
14092 comment about the bogosity of image instances being domains.
14093 * specifier.c (Fgeneric_specifier_p):
14094 move doc string to make-generic-specifier.
14095 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14099 * specifier.h (DOMAIN_FRAME):
14100 * specifier.h (DOMAIN_LIVE_P):
14101 * specifier.h (DOMAIN_XDEVICE):
14103 add comments about problems with these macros.
14104 prototype for decode_domain.
14107 * toolbar.c (Ftoolbar_specifier_p):
14108 move doc string to `make-toolbar-specifier'.
14110 * window.c (window_unmap_subwindows_cache_mapper):
14111 *************************************************************
14112 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14114 *************************************************************
14116 2000-05-09 Andy Piper <andy@xemacs.org>
14118 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14120 * window.c (Fset_window_configuration): reset the frame subwindow
14121 cache and re-initialize the window subwindow caches.
14123 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14125 2000-05-09 Ben Wing <ben@xemacs.org>
14127 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14130 2000-04-26 Mike Woolley <mike@bulsara.com>
14132 * ntheap.c: Changed recreate_heap to limit the amount reserved
14133 for the heap to that which is actually available. Also now
14134 displays a message box (with some dignostics) in the event that
14135 it still can't start.
14137 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14139 * callproc.c (Fold_call_process_internal): GCPRO path
14141 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14143 Patch by Bill Perry.
14145 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14146 back data instead of #ifdef.
14147 (Fscrollbar_page_down): ditto.
14149 2000-05-07 Ben Wing <ben@xemacs.org>
14152 Kludge for defining Qmswindows_tstr.
14155 * nt.c (open_input_file):
14156 * nt.c (open_output_file):
14157 * nt.c (rva_to_section):
14158 * nt.c (mswindows_executable_type):
14159 Move all memory-mapped-file routines here (some were in unexnt.c,
14160 which is bad because they are used by process-nt.c, and unexnt
14161 won't be around when portable dumping). Synched the above routines
14165 Removed ifdef'd out bogus code.
14166 Fixed some prototypes.
14168 * nt.h (file_data):
14169 * nt.h (OFFSET_TO_RVA):
14170 * nt.h (RVA_TO_OFFSET):
14171 * nt.h (RVA_TO_PTR):
14172 Moved the memory-mapped-file structures, macros and prototypes
14173 here, to parallel nt.c. ntheap.h should really be removed
14174 entirely, and it's a non-portable-dumper specific file.
14176 * ntheap.h (round_to_next):
14177 Moved the memory-mapped-file structures, macros and prototypes
14180 * ntproc.c (compare_env):
14181 Moved rva_to_section and mswindows_executable_type to nt.c.
14182 Moved compare_env to process-nt.c.
14183 ntproc.c will die, one day.
14185 * ntproc.c (sys_spawnve):
14186 Account for win32_ -> mswindows_.
14189 * process-nt.c (struct nt_process_data):
14190 * process-nt.c (ensure_console_window_exists):
14191 * process-nt.c (compare_env):
14192 * process-nt.c (nt_create_process):
14193 * process-nt.c (nt_kill_process_by_pid):
14194 * process-nt.c (syms_of_process_nt):
14195 * process-nt.c (vars_of_process_nt):
14196 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14197 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14198 changes). Eliminate our old `nt-quote-process-args' mechanism.
14199 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14200 Move compare_env here from ntproc.c.
14202 * process.c (Fprocess_send_region):
14203 Takes an optional fourth argument, BUFFER, which should fix some
14204 problems with call-process.
14207 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14210 Move ICC_BAR_CLASSES to syscommctrl.h.
14211 Add preliminary macros for MSWindows/Mule. More to come.
14214 * unexnt.c (unexec):
14215 open_output_file moved to nt.c.
14218 2000-05-05 Andy Piper <andy@xemacs.org>
14220 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14221 instance from the frame cache also since GC may catch up too late
14222 to make frame deletion sane.
14224 2000-05-04 Andy Piper <andy@xemacs.org>
14226 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14227 (x_finalize_image_instance): ungcpro on deletion.
14229 * glyphs.c (image_instantiator_format_create): give pointers a
14230 query geometry method so that the geometry is at least set.
14232 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14233 initialize layouts if using widgets.
14235 2000-05-03 Andy Piper <andy@xemacs.org>
14237 * nt.c: remove bogus reference to sysmmsystem.h
14239 * gui-x.c (popup_selection_callback): fix no selection abort.
14241 2000-05-02 Andy Piper <andy@xemacs.org>
14243 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14244 (mswindows_widget_instantiate): ditto.
14246 * glyphs-widget.c (initialize_widget_image_instance): initialize
14247 children correctly.
14248 (widget_instantiate): cope with children and items in the same
14251 * glyphs.c (mark_image_instance): cope with children as a first
14253 (image_instance_equal): ditto.
14254 (image_instance_hash): ditto.
14255 (image_instance_changed): ditto.
14257 2000-04-30 Andy Piper <andy@xemacs.org>
14259 * glyphs.c (subwindow_query_geometry): new function. Return some
14261 (subwindow_instantiate): don't assign dimensions if none have been
14263 (image_instantiator_format_create): add subwindow_query_geometry.
14264 (print_image_instance): cope with layouts as widgets.
14266 2000-04-29 Andy Piper <andy@xemacs.org>
14268 * frame.c (delete_frame_internal): call
14269 free_frame_subwindow_instance_cache so that all subwindows are
14270 finalized before their parent.
14271 (mark_frame): remove subwindow_cachels.
14272 (Fmake_frame): remove subwindow_cachel manipulation.
14273 (allocate_frame_core): subwindow_instance_cache is a weak list.
14274 (delete_frame_internal): set subwindow_instance_cache to nil.
14276 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14278 (mswindows_finalize_image_instance): use the device
14279 not the domain as the domain may have died already.
14281 * glyphs-x.c (x_finalize_image_instance): ditto.
14282 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14285 * redisplay-output.c (redisplay_unmap_subwindows): update for
14286 subwindow instance cache as a weak list.
14287 (redisplay_unmap_subwindows_maybe): ditto.
14288 (redisplay_unmap_subwindows_except_us): ditto.
14290 * glyphs.c (unmap_subwindow): error checking will check the domain
14291 so don't deal with it here. Don't use cachels anymore.
14292 (map_subwindow): ditto.
14293 (update_subwindow_cachel_data): remove old accessor names.
14294 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14295 (Fresize_subwindow): don't update cachel.
14296 (mark_subwindow_cachels):
14297 (update_subwindow_cachel_data):
14298 (add_subwindow_cachel):
14299 (get_subwindow_cachel_index):
14300 (update_subwindow_cachel):
14301 (reset_subwindow_cachels):
14302 (mark_subwindow_cachels_as_not_updated): deleted.
14303 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14304 subwindow instance to the frame cache.
14305 (find_matching_subwindow): update for subwindow instance cache as
14307 (update_widget_instances): ditto.
14308 (image_instance_type_to_mask):inlined.
14309 (free_frame_subwindow_instance_cache): new function. finalize all
14310 subwindows that are instantiated.
14312 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14313 of cachel information.
14314 (IMAGE_INSTANCE_DISPLAY_X):
14315 (IMAGE_INSTANCE_DISPLAY_Y):
14316 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14317 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14318 (XIMAGE_INSTANCE_DISPLAY_X):
14319 (XIMAGE_INSTANCE_DISPLAY_Y):
14320 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14321 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14322 remove subwindow_cachel structure and function references.
14323 (image_instance_type_to_mask): inline from glyphs.c
14325 * redisplay.c (redisplay_frame): remove subwindow_cachel
14328 * frame.h (struct frame): remove subwindow_cachels.
14329 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14331 * frameslots.h: add subwindow_instance_cache.
14333 * window.c (replace_window): check subwindow cache of replacement.
14334 (window_unmap_subwindows_cache_mapper):
14335 (window_unmap_subwindows): new functions. Unmap all subwindows
14336 cached on this window.
14337 (mark_window_as_deleted): unmap all subwindows.
14339 2000-04-27 Andy Piper <andy@xemacs.org>
14341 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14343 * glyphs-widget.c (widget_layout): return something.
14344 (layout_layout): return something. Fail if not initialized.
14345 (layout_query_geometry): ditto.
14346 (image_instantiator_native_layout): new function. Initialized the
14347 native layout type.
14348 (widget_instantiate): don't do layout stuff here.
14350 * glyphs.c (instantiate_image_instantiator): reorded calling or
14351 instantiate and post_instantiate with layout in between.
14352 (image_instance_layout): be more selective about deciding whether
14353 the layout has been done or not.
14355 * glyphs.h (struct image_instantiator_methods): return a value
14356 from layout_method.
14358 2000-04-26 Andy Piper <andy@xemacs.org>
14360 * glyphs.c (allocate_image_instance): make initial width and
14361 height unspecified. Set initialized to 0.
14363 * syscommctrl.h new file. Encapsulates commctrl.h.
14365 * syswindows.h new file. Encapsulates windows.h.
14367 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14369 * console-msw.h: ditto.
14371 * redisplay-tty.c (tty_output_display_block): remove layout references.
14373 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14374 window handle rather than just the frame.
14376 * glyphs.c (mark_image_instance): remove layout references.
14377 (print_image_instance): ditto.
14378 (image_instance_equal): ditto.
14379 (image_instance_hash): ditto.
14380 (decode_image_instance_type): ditto.
14381 (encode_image_instance_type): ditto.
14382 (image_instantiate): ditto.
14383 (allocate_glyph): ditto.
14384 (Fimage_instance_height): ditto.
14385 (Fimage_instance_width): ditto.
14386 (update_subwindow): ditto.
14388 * redisplay-x.c (x_output_display_block): recode for layouts as
14391 * redisplay-output.c (redisplay_output_layout): recode for layouts
14393 (compare_runes): remove layout references.
14395 * redisplay-msw.c (mswindows_output_display_block): recode for
14396 layouts as widgets.
14398 * glyphs-widget.c (image_instantiator_layout): remove
14399 layout_possible_dest_types.
14400 (layout_possible_dest_types): deleted.
14402 * glyphs.h (image_instance_type): remove layout references.
14403 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14404 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14405 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14407 2000-04-25 Andy Piper <andy@xemacs.org>
14409 * glyphs-widget.c (image_instantiator_buttons):
14410 (image_instantiator_edit_fields):
14411 (image_instantiator_combo_box):
14412 (image_instantiator_scrollbar):
14413 (image_instantiator_progress_guage):
14414 (image_instantiator_tree_view):
14415 (image_instantiator_tab_control):
14416 (image_instantiator_labels):
14417 (image_instantiator_layout): call default post_instantiate method.
14418 (widget_post_instantiate): new function. Simply lays out the
14421 * glyphs.h (struct image_instantiator_methods): add
14422 post_instantiate method.
14424 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14427 2000-04-23 Andy Piper <andy@xemacs.org>
14429 * glyphs.h (struct image_instantiator_methods): add
14430 decode_domain_method.
14431 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14432 derived from the domain.
14433 (IMAGE_INSTANCE_FRAME): new accessor.
14434 (XIMAGE_INSTANCE_FRAME): ditto.
14436 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14437 instead of _SUBWINDOW_FRAME.
14438 (finalize_image_instance): ditto.
14439 (Fimage_instance_foreground): ditto.
14440 (Fimage_instance_background): ditto.
14441 (image_instantiate): ditto.
14442 (update_subwindow_cachel): ditto.
14443 (update_subwindow): ditto.
14444 (unmap_subwindow): ditto.
14445 (map_subwindow): ditto
14446 (subwindow_instantiate): ditto.
14447 * glyphs-msw.c (mswindows_update_widget): ditto.
14448 (mswindows_progress_gauge_instantiate): ditto.
14449 (mswindows_tab_control_update): ditto.
14450 * glyphs-x.c (x_update_widget): ditto.
14451 (x_widget_instantiate): ditto.
14452 (x_tab_control_instantiate): ditto.
14453 (x_tab_control_update): ditto.
14454 * event-msw.c (mswindows_wnd_proc): ditto
14456 * glyphs-widget.c (image_instantiator_layout): use
14457 subwindow_decode_domain.
14458 (image_instantiator_buttons): ditto.
14459 (image_instantiator_edit_fields): ditto.
14460 (image_instantiator_combo_box): ditto.
14461 (image_instantiator_scrollbar): ditto.
14462 (image_instantiator_progress_guage): ditto.
14463 (image_instantiator_tree_view): ditto.
14464 (image_instantiator_tab_control): ditto.
14465 (image_instantiator_labels): ditto.
14466 (image_instantiator_layout): ditto.
14468 * glyphs.c: add instance error checking to many functions.
14469 (instantiate_image_instantiator): decode device from cache_domain.
14470 (image_instantiate): partially rewrite by using
14471 decode_image_instantiator_domain to determine what domain the
14472 instance needs to be cached in.
14473 (decode_image_instantiator_domain): new function. Determine what
14474 domain the image needs to be cached in.
14475 (check_window_subwindow_cache): new error checking function.
14476 (check_instance_cache_mapper): ditto.
14477 (check_image_instance_structure): ditto.
14478 (subwindow_decode_domain): new function. Encodes a window as a
14479 subwindow's cache domain.
14480 (image_instantiator_format_create): use it for text and
14483 2000-04-21 Andy Piper <andy@xemacs.org>
14485 * glyphs.c (image_instance_device): new function.
14486 (image_instance_frame): new function.
14487 (image_instance_window): new function.
14488 (image_instance_live_p): new function.
14490 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14493 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14494 (IMAGE_INSTANCE_DOMAIN): new accessor.
14495 (XIMAGE_INSTANCE_DOMAIN): ditto.
14497 * glyphs-x.c (x_finalize_image_instance): device->domain.
14499 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14500 (mswindows_finalize_image_instance): ditto.
14502 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14503 (gif_instantiate): ditto.
14504 (png_instantiate): ditto.
14505 (tiff_instantiate): ditto.
14507 * glyphs.c (instantiate_image_instantiator): use domain rather
14509 (mark_image_instance): device -> domain.
14510 (print_image_instance): ditto.
14511 (finalize_image_instance): ditto.
14512 (image_instance_equal): ditto.
14513 (allocate_image_instance): ditto.
14514 (Fcolorize_image_instance): ditto.
14515 (query_string_geometry): ditto.
14516 (image_instantiate): ditto
14517 (query_string_font): ditto.
14518 (image_instantiate): ditto.
14519 (update_subwindow): ditto.
14520 (unmap_subwindow): ditto.
14521 (map_subwindow): ditto.
14522 (subwindow_instantiate): ditto.
14524 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14525 (DOMAIN_FRAME): ditto.
14526 (DOMAIN_WINDOW): ditto.
14527 (DOMAIN_LIVE_P): ditto.
14528 (XDOMAIN_DEVICE): ditto.
14529 (XDOMAIN_FRAME): ditto.
14530 (XDOMAIN_WINDOW): ditto.
14532 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14533 a valid specifier domain.
14535 2000-04-19 Andy Piper <andy@xemacs.org>
14537 * glyphs-widget.c (syms_of_glyphs_widget): remove
14538 widget-callback-current-channel.
14539 (vars_of_glyphs_widget): ditto.
14542 * gui.c (get_gui_callback): revert to previous behaviour.
14544 2000-04-18 Andy Piper <andy@xemacs.org>
14546 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14547 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14548 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14550 * glyphs.c (image_instance_equal): add margin_width.
14551 (image_instance_hash): ditto.
14553 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14554 (layout_query_geometry): ditto.
14555 (layout_layout): ditto.
14556 (syms_of_glyphs_widget): add margin-width.
14557 (image_instantiator_layout): allow margin-width.
14559 * glyphs.c (update_widget_instances): make a normal function.
14560 (syms_of_glyphs): remove Qupdate_widget_instances.
14563 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14564 so that we don't corrupt ideas about the last event or
14565 command. Remove widget-callback-current-channel fiddling.
14566 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14568 2000-05-01 Martin Buchholz <martin@xemacs.org>
14570 * XEmacs 21.2.33 is released.
14572 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14574 * make-src-depend: Allow dots in header file name.
14576 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14578 * mule-charset.h (struct charset_lookup): Add
14579 next_allocated_1_byte_leading_byte and
14580 next_allocated_2_byte_leading_byte.
14581 * mule-charset.c: Move above two variables so that those values
14584 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14586 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14587 when string length is zero.
14588 (find_charsets_in_emchar_string): Ditto.
14590 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14592 * lisp.h: extern Qdialog and Qmenubar.
14594 * gui-x.c: added events.h.
14595 also fixed typo which made the file uncompilable.
14597 * general.c: Added Qmenubar and Qdialog
14599 2000-04-28 Ben Wing <ben@xemacs.org>
14601 * frame-msw.c (mswindows_init_frame_1):
14602 * frame-msw.c (mswindows_mark_frame):
14603 * event-msw.c (mswindows_enqueue_dispatch_event):
14605 * console-msw.h (struct mswindows_frame):
14606 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14607 there are now three hash tables for callbacks.
14608 mswindows_enqueue_dispatch_event is no longer static.
14610 * dialog-x.c (maybe_run_dbox_text_callback):
14611 * dialog-x.c (dbox_descriptor_to_widget_value):
14612 switch to new cons3 form for callbacks.
14614 * glyphs-msw.c (mswindows_register_gui_item):
14615 * glyphs-msw.c (mswindows_widget_instantiate):
14616 * glyphs-msw.c (add_tree_item):
14617 * glyphs-msw.c (add_tab_item):
14618 new image instance parameter, so it can be passed to callback-ex.
14619 respect :callback-ex as well as :callback.
14621 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14624 * glyphs.c (print_image_instance):
14625 prettify, e.g. now prints widget type.
14628 certain funs have new image instance parameter.
14631 * gui.c (get_gui_callback):
14632 * gui.c (gui_item_add_keyval_pair):
14633 * gui.c (gui_item_init):
14634 * gui.c (gui_add_item_keywords_to_plist):
14635 * gui.c (mark_gui_item):
14636 * gui.c (gui_item_hash):
14637 * gui.c (gui_item_equal):
14638 * gui.c (copy_gui_item):
14639 * gui.c (syms_of_gui):
14640 recognize callback-ex in a number of places.
14641 also, fix the annoying "can't get out of yes-no dialog" bug.
14644 * gui.h (struct Lisp_Gui_Item):
14645 recognize callback-ex in a number of places.
14647 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14648 new parameter in button_item_to_widget_value.
14650 * glyphs-x.c (x_update_widget):
14651 * glyphs-x.c (x_button_instantiate):
14652 * glyphs-x.c (x_button_update):
14653 * glyphs-x.c (x_progress_gauge_instantiate):
14654 * glyphs-x.c (x_edit_field_instantiate):
14655 * glyphs-x.c (x_combo_box_instantiate):
14656 * glyphs-x.c (x_tab_control_instantiate):
14657 * glyphs-x.c (x_label_instantiate):
14658 new image instance parameter in various places.
14661 * event-Xt.c (enqueue_Xt_dispatch_event):
14662 this fun gets exported.
14665 * gui-msw.c (mswindows_handle_gui_wm_command):
14666 handle both :callback and :callback-ex, and generate our own
14667 event because it's one of the callback-ex arguments.
14670 * gui-x.c (popup_selection_callback):
14671 handle both :callback and :callback-ex, and generate our own
14672 event because it's one of the callback-ex arguments.
14673 * gui-x.c (button_item_to_widget_value):
14674 * gui-x.c (gui_items_to_widget_values_1):
14675 * gui-x.c (gui_item_children_to_widget_values):
14676 * gui-x.c (gui_items_to_widget_values):
14677 new image instance parameter in various places.
14679 * fns.c (Freplace_list):
14680 fix small typo in doc string.
14683 declare enqueue_Xt_dispatch_event.
14685 2000-04-28 Ben Wing <ben@xemacs.org>
14688 * buffer.c (Frecord_buffer):
14689 * buffer.c (syms_of_buffer):
14690 delete record-buffer-hook.
14693 * fns.c (Freplace_list):
14694 * fns.c (syms_of_fns):
14695 new primitive replace-list.
14698 slot for old buffer-alist.
14701 exfun replace-list.
14704 * redisplay.c (redisplay_frame):
14705 * redisplay.c (syms_of_redisplay):
14706 * redisplay.c (vars_of_redisplay):
14707 new hook buffer-list-changed-hook.
14710 2000-04-27 Ben Wing <ben@xemacs.org>
14712 * extents.h: extern in_modeline_generation.
14714 * redisplay.c (generate_formatted_string_db): set
14715 in_modeline_generation.
14717 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14718 flags if in modeline generation. otherwise frame-modified-tick
14719 is ticked far too often.
14720 Declare in_modeline_generation.
14722 2000-04-26 Ben Wing <ben@xemacs.org>
14724 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14726 (vars_of_emacs): add quick-build as an error-checking option.
14727 A bit kludgy, but there doesn't seem much point in creating
14728 a real var for this.
14730 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14732 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14734 * redisplay.h (struct display_line): Add a new variable,
14737 * redisplay.c (create_text_block): Set dl->line_continuation if
14738 the line continues.
14739 (create_string_text_block): Ditto.
14740 (regenerate_window_incrementally): Use line_continuation instead
14741 of searching continuation glyph.
14742 (add_margin_runes): Call add_glyph_rune.
14743 (add_glyph_rune): Handle margin glyph.
14745 2000-04-20 Martin Buchholz <martin@xemacs.org>
14747 * filelock.c (fill_in_lock_file_name):
14749 Check for IS_ANY_SEP instead of '/'.
14751 Avoid generating gratuitous garbage. Call user_login_name() directly.
14752 Never check errno without first seeing that system call failed.
14753 (unlock_file): Add GCPRO.
14754 (Flock_buffer): Fix docstring.
14755 (Ffile_locked_p): Fix docstring. Add GCPRO.
14757 2000-04-19 Martin Buchholz <martin@xemacs.org>
14759 * sysdep.c (get_pty_max_bytes):
14760 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14761 strings longer than 252 bytes.
14763 * md5.c: Unconditionally include ANSI header <limits.h>
14765 * glyphs-x.c (convert_EImage_to_XImage):
14766 * lisp-union.h (union Lisp_Object):
14767 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14769 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14771 * filelock.c (current_lock_owner): Remove unused variable o, p.
14773 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14775 * callint.c: Remove multiply defined symbol Qlet
14776 (syms_of_callint): ditto.
14778 2000-04-14 Andy Piper <andy@xemacs.org>
14780 * general.c (syms_of_general): add last-command, this-command, let
14783 * lisp.h: declare various symbols.
14785 * glyphs.h: declare Qwidget_callback_current_channel;
14787 * glyphs-widget.c (syms_of_glyphs_widget): add
14788 Qgui_callback_current_channel.
14789 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14791 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14792 widget-callback-current-channel when invoking the interactive
14793 arg. Also bind last-command and next-command when invoking the
14795 * gui-x.c (popup_selection_callback): ditto.
14797 * gui.c (get_gui_callback): massage args so that we are always
14798 calling eval. This allows us to add our own variable bindings
14801 * glyphs-x.c (x_button_instantiate): use
14802 gui_items_to_widget_values since this is GC safe.
14803 (x_progress_gauge_instantiate): ditto.
14804 (x_edit_field_instantiate): ditto.
14805 (x_label_instantiate): ditto.
14807 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14808 (emacs_Xt_event_widget_focus_out): new function
14809 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14811 (emacs_Xt_event_add_widget_actions): new function. add focus
14812 functions as actions.
14813 (init_event_Xt_late): use it.
14815 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14817 * event-stream.c (Fdispatch_event): Doc fix.
14819 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14821 * postgresql.c: Remove all references to PQsetenv*.
14823 * postgresql.h: Remove references to PGsetenvHandler object.
14824 * lrecord.h (lrecord_type): Ditto.
14826 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14828 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14829 real_heigh and real_width members, and accessor macros for these.
14831 * glyphs-msw.c (init_image_instance_geometry): New function.
14832 (init_image_instance_from_dibitmap): Use it.
14833 (mswindows_resource_instantiate): Use it.
14834 (init_image_instance_from_xbm_inline): Use it.
14835 (mswindows_initialize_image_instance_mask): Use real bitmap
14837 (mswindows_create_resized_bitmap): Ditto.
14838 (mswindows_create_resized_mask): Ditto.
14840 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14841 and bitmap to their surface size.
14843 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14845 * process-unix.c (unix_send_process): Guard against process MIA
14846 after Faccept_process_output.
14848 2000-04-11 Ben Wing <ben@xemacs.org>
14850 * eval.c (unbind_to_hairy): fix brokenness introduced by
14851 nanosecond speed improvements.
14853 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14855 * sunplay.c (init_device): To play sounds correctly, the device
14856 apparently needs to be initialized at least once by XEmacs. Make
14859 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14861 * redisplay.c (add_margin_runes): Add text image glyph
14864 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14866 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14867 gcc is newer than 2.5.
14869 2000-04-06 Colin Rafferty <colin@xemacs.org>
14871 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14873 * fns.c (size_bit_vector):
14874 * alloc.c (size_vector):
14875 (make_vector_internal):
14876 (make_bit_vector_internal):
14877 (sweep_bit_vectors_1):
14878 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14880 2000-04-06 Andy Piper <andy@xemacs.org>
14882 * gmalloc.c (malloc): undo previous change.
14887 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14889 * line-number.c (buffer_line_number): Revert to former version.
14891 2000-04-06 Andy Piper <andy@xemacs.org>
14893 * gmalloc.c (malloc): add error checking.
14898 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14899 button_item_to_widget_value arg.
14901 * glyphs-x.c (x_button_instantiate): add extra
14902 button_item_to_widget_value arg.
14903 (x_progress_gauge_instantiate): ditto.
14904 (x_edit_field_instantiate): ditto.
14905 (x_label_instantiate): ditto.
14907 * gui-x.c (gui_items_to_widget_values_1): add extra
14908 button_item_to_widget_value arg.
14909 (button_item_to_widget_value): add extra menu_item_p arg.
14911 * gui-x.h: change signature of button_item_to_widget_value.
14913 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14914 button_item_to_widget_value arg.
14916 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14918 * buffer.h (struct buffer): auto_save_modified should be long.
14920 2000-04-05 Andy Piper <andy@xemacs.org>
14922 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14924 (button_query_geometry): give a little more room so that athena
14927 2000-04-05 Andy Piper <andy@xemacs.org>
14929 * faces.c (complex_vars_of_faces): The widget face should inherit
14930 the font of the gui-element face.
14932 2000-04-04 Andy Piper <andy@xemacs.org>
14934 * glyphs-x.c (x_button_update): new function. unconditionally
14935 update a button's state when the instance is dirty.
14936 (image_instantiator_format_create_glyphs_x): add x_button_update.
14937 (x_widget_instantiate): remove old resize cruft.
14939 2000-04-02 Andy Piper <andy@xemacs.org>
14941 * frame.c (change_frame_size_1): The introduction of gutters means
14942 that we need to allow 0 as a potential frame dimension.
14944 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14946 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14947 image glyph if allow_cursor.
14948 (add_hscroll_rune): Don't allow cursor to border glyph.
14949 (create_text_block): Ditto.
14951 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14952 text not in buffer.
14953 (redisplay_output_layout): Call ensure_face_cachel_complete for
14957 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14959 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14961 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14964 * redisplay-tty.c (tty_output_display_block): Delete the routine
14965 for text image glyph
14966 * redisplay-x.c (x_output_display_block): ditto
14967 * redisplay-msw.c (mswindows_output_display_block): ditto
14969 2000-02-02 Mike Alexander <mta@arbortext.com>
14971 Note: Some of these were committed by accident as part of other
14974 * regex.c (regex_compile): Avoid compiler warnings.
14976 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14978 * nt.h: Declare term_ntproc correctly.
14980 * nt.c: Remove incorrect declaration of get_home_directory which
14981 is declared correctly in lisp.h.
14983 * keymap.c (get_keyelt): Avoid compiler warnings.
14984 (raw_lookup_key_mapper): Avoid compiler warnings.
14986 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14988 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14990 * filemode.c (mode_string): Avoid compiler warnings.
14992 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14995 * events-mod.h: Undef some things that winuser.h defines differently.
14997 * data.c (Faset): Avoid compiler warnings.
14999 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
15001 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15003 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
15004 Fall through to simple beep on error.
15005 Replace "extern" by real header file.
15007 * linuxplay.c: Use nativesound.h
15008 (play_sound_data): Return error code. Be less verbose on error.
15010 * sunplay.c: Use nativesound.h
15011 (play_sound_data): Return error code. Be less verbose on error.
15013 * ntplay.c: Use nativesound.h
15014 (play_sound_data): Return fake error code
15016 * sgiplay.c: Use nativesound.h
15017 (play_sound_data): Return error code
15019 * hpplay.c: Use nativesound.h, partially implement
15020 new error code. Break compilation until finished.
15021 (play_sound_data): error code.
15023 * nativesound.h (play_sound_file):
15024 (play_sound_data): Prototype in new header.
15026 2000-03-31 Andy Piper <andy@xemacs.org>
15028 * glyphs-widget.c: (button_query_geometry): new function. Adjust
15029 for toggle and radio buttons.
15030 (image_instantiator_buttons): use it.
15032 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15034 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
15035 (x_update_horizontal_scrollbar_callback): Return if no mirror was
15036 found. Scrollbar event probably belonged to some old config.
15038 2000-03-31 Andy Piper <andy@xemacs.org>
15040 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
15042 (initialize_widget_image_instance): default layout to
15043 LAYOUT_HORIZONTAL rather than 0.
15044 (widget_instantiate): reverse the item list at the end rather than
15046 (layout_layout): re-code for the border text at the front of the
15047 item list rather than at the end.
15048 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
15049 provided by the user.
15050 (widget_query_geometry): comment.
15052 2000-03-30 Andy Piper <andy@xemacs.org>
15054 * glyphs-widget.c (image_instantiator_layout): allow standard
15055 widget keywords in layouts.
15057 * gutter.c (output_gutter): cope with nil gutter contents.
15059 * frame.c (Fset_frame_properties): add gutter docs.
15061 2000-03-29 Andy Piper <andy@xemacs.org>
15063 * toolbar-msw.c (TBSTYLE_FLAT): add.
15064 (mswindows_output_toolbar): minor fiddling.
15066 2000-03-29 Andy Piper <andy@xemacs.org>
15068 * gutter.c (output_gutter): force gutter size recalculation if
15069 what we are trying to display won't fit.
15070 (update_gutter_geometry): new function. A per-gutter version of
15071 update_frame_gutter_geometry.
15072 (update_frame_gutter_geometry): use it.
15073 (redraw_exposed_gutter): add extra debugging output.
15075 2000-03-28 Mike Alexander <mta@arbortext.com>
15077 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
15078 (pdump_file_unmap): Implement it on Windows
15079 (pdump_file_get): Save alocated handles for pdump_file_unmap
15081 2000-03-28 Andy Piper <andy@xemacs.org>
15083 * gui.c (get_gui_callback): treat Quit specially.
15085 2000-03-27 Andy Piper <andy@xemacs.org>
15087 * glyphs.c (image_instantiate): be careful to check in the same
15090 2000-03-27 Didier Verna <didier@xemacs.org>
15092 * config.h.in: define the proper SMART_INCLUDE macro.
15093 handle renaming of `foo_h_path' to `foo_h_file'.
15095 * database.c: ditto.
15099 * linuxplay.c: ditto.
15101 * terminfo.c: ditto.
15103 * tooltalk.h: ditto.
15105 2000-03-27 Andy Piper <andy@xemacs.org>
15107 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15108 gets updated whenever the face might have changed.
15110 2000-03-26 Mike Alexander <mta@arbortext.com>
15112 * dumper.c (pdump_resource_free): Fix the comment.
15114 2000-03-21 Olivier Galibert <galibert@pobox.com>
15116 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15118 2000-03-22 Mike Alexander <mta@arbortext.com>
15120 * dumper.c: Include Windows headers on Windows
15121 (pdump_resource_free): Add a body to the function
15122 (pdump_load): exe_name -> exe_path and add some comments.
15124 2000-03-25 Mike Alexander <mta@arbortext.com>
15126 * gui.c (copy_gui_item_tree): Return a value in all cases
15128 2000-03-21 Didier Verna <didier@xemacs.org>
15130 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15132 (SMART_INCLUDE): new macro.
15133 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15134 the proper location.
15136 * postgresql.c: use it.
15140 2000-03-24 Andy Piper <andy@xemacs.org>
15142 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15145 2000-03-24 Andy Piper <andy@xemacs.org>
15147 * redisplay-output.c (compare_runes): use image_instance_changed
15148 to detect changes. Do not depend on glyphs_changed, only depend on
15150 (redisplay_output_layout): add debug messages.
15151 (compare_runes): ditto.
15153 * glyphs.h: declare new functions.
15154 (struct Lisp_Image_Instance): remove percent and associated
15157 * gui.h: declare new copying functions.
15159 * gui.c (copy_gui_item_tree): new function.
15160 (copy_gui_item): new function.
15161 (gui_item_id_hash): revert to standard hash.
15162 (gui_item_hash): ditto.
15163 (gui_item_hash_internal): deleted.
15164 (mark_gui_item): mark value.
15165 (gui_item_add_keyval_pair): add value.
15166 (gui_item_init): ditto.
15167 (gui_add_item_keywords_to_plist): ditto.
15168 (gui_item_equal): ditto.
15169 (syms_of_gui): add Q_value.
15171 * glyphs-x.c (x_progress_gauge_update): use pending items and
15172 value for setting the state.
15173 (x_update_widget): don't set items from pending here.
15175 * glyphs-widget.c (update_widget): update items here.
15176 (progress_gauge_set_property): use items for storing value. Put
15177 new value in pending items.
15179 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15180 items for new value. Convert percent -> value.
15181 (mswindows_tab_control_update): don't update items here.
15183 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15184 (update_subwindow): ditto.
15185 (image_instance_changed): new function. Compare hash values and
15186 past and present widget items.
15187 (image_instantiate): We more careful about where we instantiate
15189 (image_instantiate): add error checking.
15191 * gutter.c (syms_of_gutter): use -hook.
15193 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15195 * console-tty.c (Fset_console_tty_input_coding_system): Use
15197 (Fset_console_tty_output_coding_system): Use Qterminal.
15198 (tty_init_console): Use Qkeyboard and Qterminal.
15200 2000-03-21 Ben Wing <ben@xemacs.org>
15202 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15203 From Mike Alexander <mta@arbortext.com>.
15205 2000-03-21 Ben Wing <ben@xemacs.org>
15207 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15208 process brokenness. Proper implementation to come.
15210 Rename call-process-internal to old-call-process-internal.
15211 New impl. in process.el.
15213 2000-03-21 Martin Buchholz <martin@xemacs.org>
15215 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15217 2000-03-20 Andy Piper <andy@xemacs.org>
15219 * glyphs.c (full_list_hash): make hashes of the same elements in
15220 different orders return different values.
15222 2000-03-20 Martin Buchholz <martin@xemacs.org>
15224 * XEmacs 21.2.32 is released.
15226 2000-03-20 Martin Buchholz <martin@xemacs.org>
15228 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15229 (DFC_MALLOC_USE_CONVERTED_DATA):
15230 Add aliasing-safe casts to allow use with char* or unsigned char*
15233 * eldap.c (Fldap_open):
15234 (Fldap_search_basic):
15237 Make C++-compilable.
15238 Make sure GCPRO'ed variables are initialized.
15239 Use temp variables to avoid repeated calls to Flength.
15241 2000-03-16 Martin Buchholz <martin@xemacs.org>
15244 Make sure PATH_MAX is always defined.
15245 Include limits.h for PATH_MAX.
15246 Deprecate use of MAXPATHLEN.
15248 2000-03-10 Martin Buchholz <martin@xemacs.org>
15250 * emacs.c: Add reinit_vars_of_fileio.
15251 * symsinit.h: Add reinit_vars_of_fileio.
15252 * fileio.c (reinit_vars_of_fileio): New.
15253 * fileio.c (Fmake_temp_name):
15254 Initialize temp_name random number from microseconds to make
15255 collisions even less likely. Initialize always at process startup
15256 time. (make-temp-name) used to return the same file name twice in
15258 Random stylistic fiddling.
15261 2000-03-20 Andy Piper <andy@xemacs.org>
15263 * glyphs.c (image_instantiate): allow text glyphs to be
15264 instantiated in the minibuffer window.
15266 2000-03-19 Andy Piper <andy@xemacs.org>
15268 * glyphs.c (image_instance_hash): be careful about which items we
15271 * glyphs-widget.c (tab_control_set_property): record into pending
15272 items rather than the actual items.
15274 * glyphs-x.c (x_update_widget): use pending items to update with.
15276 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15279 * glyphs.c (mark_image_instance): mark pending items.
15281 * window.c (Fset_window_configuration): record the buffer.
15282 (Fselect_window): totally revert previous change which breaks many
15285 2000-03-18 Andy Piper <andy@xemacs.org>
15287 * glyphs-msw.c (mswindows_tab_control_update): force selected
15290 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15291 window domain cache, otherwise we get inconsistencies at
15292 startup. There is something fishy at startup which can lead to the
15293 minibuffer being the selected window when the gutter content is
15296 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15298 (parse_gui_item_tree_children): ditto.
15299 (parse_gui_item_tree_item): ditto.
15301 * glyphs.c (Fupdate_widget_instances): return something.
15303 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15305 * window.c (Fselect_window): Undo 2000-03-17 change.
15307 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15309 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15310 against v7.0 libraries. Insta-coredump city until the postgres
15313 2000-03-17 Andy Piper <andy@xemacs.org>
15315 * faces.c (complex_vars_of_faces): don't give the widget face an
15316 inherited background pixmap.
15318 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15321 * event-stream.c (Fdispatch_non_command_events): return something.
15323 * gutter.c (output_gutter): use widget face.
15324 (clear_gutter): ditto.
15326 * NEWS: adjust again.
15328 * window.c (Fselect_window): make sure this runs to completion to
15329 avoid oddities with Fset_window_configuration.
15330 (Fcurrent_window_configuration): in general do not save the
15331 minibuffer as the selected window.
15333 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15335 2000-03-16 Olivier Galibert <galibert@pobox.com>
15337 * emacs.c (Frunning_temacs_p): Revert previous patch.
15338 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15340 2000-03-16 Andy Piper <andy@xemacs.org>
15342 * glyphs-x.c (x_tab_control_update): if no widget values then
15345 * NEWS: update for new features.
15347 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15348 synthetic event to the native system.
15349 (reinit_vars_of_event_Xt): set force_event_pending to
15350 emacs_Xt_force_event_pending.
15352 * events.h (struct event_stream): add force_event_pending.
15354 * specifier.c (recompute_one_cached_specifier_in_window): add
15357 * redisplay.c (redisplay_frame): don't call
15358 update_frame_subwindows. Reset subwindow cachels when
15359 subwindows_changed, removing this was an optimization too far.
15361 * redisplay-output.c (compare_runes): reorganize so that we catch
15362 glyph changes when we want them. Set optimize_output when this
15363 would help layouts.
15364 (redisplay_output_layout): remove frame_really_changed, use
15365 optimize_output instead.
15367 * redisplay-msw.c (mswindows_output_display_block): reset
15368 optimize_output after outputting a glyph.
15369 * redisplay-x.c (x_output_display_block): ditto.
15370 * redisplay-tty.c (tty_output_display_block): ditto.
15372 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15374 (gutter_specs_changed): do specific gutter positions.
15375 (top_gutter_specs_changed): new function. Only update the
15376 specified gutter specs.
15377 (bottom_gutter_specs_changed): ditto.
15378 (left_gutter_specs_changed): ditto.
15379 (right_gutter_specs_changed): ditto.
15381 * gui.c (gui_item_hash_internal): new function, does a real hash.
15382 (gui_item_id_hash): use it.
15383 (gui_item_hash): hash the eval'ed gui_item.
15385 * gui-x.c (popup_selection_callback): send an eval event to call
15386 Fupdate_widget_instances.
15388 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15389 to call Fupdate_widget_instances.
15391 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15392 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15394 * glyphs.c: (update_frame_subwindows): deleted.
15395 (Fupdate_widget_instances): new function for updating the dirty
15396 state of widgets that might have changed.
15397 (syms_of_glyphs): add Qupdate_widget_instances.
15398 (full_list_hash): hash a list completely.
15399 (image_instance_hash): use it for items and properties.
15401 * frame-msw.c (mswindows_size_frame_internal): remove unused
15404 * faces.h (struct face_cachel): fix comment.
15406 * event-stream.c (Fdispatch_non_command_events): new
15407 function. Process non-command events, forcing an event cycle
15409 (syms_of_event_stream): declare.
15410 (event_stream_force_event_pending): new function. Force an event
15411 on the native event queue so that an event cycle will occur next
15415 (struct ntpipe_shove_stream):
15416 (mswindows_enqueue_dispatch_event):
15417 (mswindows_dequeue_dispatch_event):
15418 (mswindows_cancel_dispatch_event):
15419 (mswindows_pump_outstanding_events):
15420 (mswindows_drain_windows_queue):
15421 (mswindows_handle_paint):
15422 (mswindows_wnd_proc):
15423 (mswindows_key_to_emacs_keysym):
15424 (get_process_input_waitable):
15425 (emacs_mswindows_delete_stream_pair): re-indent file.
15426 (mswindows_need_event): do not process further fds if the windows
15427 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15428 fixes the 100% cpu problem.
15429 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15431 2000-03-15 Olivier Galibert <galibert@pobox.com>
15437 * emacs.c: Moved dump file searching to dumper.c.
15438 (Frunning_temacs_p): Fixed.
15440 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15441 last_lrecord_type_index_assigned.
15443 2000-02-20 Olivier Galibert <galibert@pobox.com>
15445 * symsinit.h: Added reinit parameter to init_console_stream
15448 * lisp.h: Added file parameter to pdump_load declaration.
15450 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15451 support. Added dump file searching.
15453 * config.h.in: Added EMACS_PROGNAME.
15455 * console-stream.c (init_console_stream): Fix reinitialisation
15456 when running from temacs.
15458 * alloc.c (pdump): Add id support.
15459 (pdump_load): Add file parameter and signature/id support.
15461 * Makefile.in.in: Add full pdump support.
15463 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15465 * postgresql.c: Update documentation to reflect latest code
15467 (print_result): Show tuple counts in printed representation when
15469 (Fpq_put_nbytes): MULE-ize.
15470 (Fpq_get_line_async): Ditto.
15472 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15474 * postgresql.c (Fpq_lo_import): Fix return value.
15475 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15477 2000-03-13 Ben Wing <ben@xemacs.org>
15479 * alloc.c (pdump_load):
15480 Fix compile warning under mswin.
15482 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15484 * postgresql.c: Mule-ization, bug fixes.
15485 Use PG_CODING to encapsulate coding system name changes.
15486 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15487 (pg-coding-system): Create.
15489 (Fpq_conn_defaults): Mule-ize.
15490 (Fpq_connectdb): Mule-ize & bug fix.
15491 (Fpq_connect_start): Mule-ize.
15492 (Fpq_set_client_encoding): Mule-ize.
15493 (Fpq_finish): Document `DEAD' connection status.
15494 (Fpq_clear): Ditto.
15495 (Fpq_pgconn): Mule-ize.
15496 (Fpq_exec): Mule-ize & bug fix.
15497 (Fpq_send_query): Ditto.
15498 (Fpq_get_result): Ditto.
15499 (Fpq_res_status): Mule-ize.
15500 (Fpq_result_error_message): Mule-ize.
15501 (Fpq_ntuples): fix comments.
15502 (Fpq_fname): Mule-ize.
15503 (Fpq_fnumber): Mule-ize.
15504 (Fpq_ftype): fix comments.
15505 (Fpq_get_value): Mule-ize.
15506 (Fpq_cmd_status): Ditto.
15507 (Fpq_cmd_tuples): Ditto.
15508 (Fpq_oid_value): Ditto.
15509 (Fpq_notifies): Ditto.
15510 (Fpq_lo_import): Ditto.
15511 (Fpq_lo_export): Ditto.
15512 (Fpq_get_line): Ditto.
15513 (Fpq_put_line): Mule-ize and bug fix.
15514 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15516 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15518 * postgresql.c (vars_of_postgresql): Mule-ize.
15519 (Fpq_conn_defaults): Ditto.
15521 2000-03-12 Ben Wing <ben@xemacs.org>
15523 * alloc.c (Fmake_byte_code):
15524 * alloc.c (debug_string_purity_print):
15525 * alloc.c (pdump_backtrace):
15526 * alloc.c (pdump_get_indirect_count):
15527 * alloc.c (pdump_register_sub):
15528 * alloc.c (pdump_register_object):
15529 * alloc.c (pdump_register_struct):
15530 * alloc.c (pdump_dump_data):
15531 * alloc.c (pdump_reloc_one):
15535 * console-msw.c (GetConsoleHwnd):
15536 * console-msw.c (msw_hide_console):
15537 * console-msw.c (msw_show_console):
15538 * console-msw.c (msw_ensure_console_buffered):
15539 * console-msw.c (msw_output_console_string):
15540 * console-msw.c (console_type_create_mswindows):
15542 a) Added functions to manipulate the console window for use with
15545 b) Added support for writing text to the console, which is now
15546 used under Windows when xemacs is not being run non-interactively,
15547 to write text that would otherwise be destined for stdout because
15548 under these circumstances, text written to stdout tends to
15549 disappear and not be seen.
15553 * event-Xt.c (x_event_to_emacs_event):
15554 * event-Xt.c (describe_event_window):
15555 * events-mod.h (XEMACS_MOD_CONTROL):
15557 * events.c (Fmake_event):
15558 * events.c (character_to_event):
15559 * events.c (event_to_character):
15560 * events.c (format_event_object):
15561 * events.c (Fevent_modifiers):
15563 * events.h (struct key_data):
15564 * events.h (struct button_data):
15565 * events.h (struct misc_user_data):
15566 * frame-x.c (Fcde_start_drag_internal):
15567 * frame-x.c (Foffix_start_drag_internal):
15568 * gpmevent.c (Freceive_gpm_event):
15570 * keymap.c (bucky_sym_to_bucky_bit):
15571 * keymap.c (control_meta_superify):
15572 * keymap.c (make_key_description):
15573 * keymap.c (keymap_lookup_directly):
15574 * keymap.c (create_bucky_submap):
15575 * keymap.c (keymap_store):
15576 * keymap.c (define_key_check_and_coerce_keysym):
15577 * keymap.c (define_key_parser):
15578 * keymap.c (define_key_alternate_name):
15579 * keymap.c (Fdefine_key):
15580 * keymap.c (raw_lookup_key_mapper):
15581 * keymap.c (struct map_keymap_unsorted_closure):
15582 * keymap.c (map_keymap_unsorted_mapper):
15583 * keymap.c (map_keymap_sort_predicate):
15584 * keymap.c (map_keymap_sorted):
15585 * keymap.c (accessible_keymaps_mapper_1):
15586 * keymap.c (where_is_recursive_mapper):
15587 * keymap.c (describe_map_mapper):
15588 * keymap.c (describe_map_sort_predicate):
15589 * keymap.c (describe_map):
15590 * keymap.c (complex_vars_of_keymap):
15591 And a number of other files, the key modifier preprocessor
15592 constants that xemacs uses have names that conflict with constants
15593 defined under MS Windows for other purposes, so they were renamed
15594 to begin with the prefix XEMACS_. The variables that hold such
15595 modifiers were changed to consistently be of type int to fix
15596 various compile warnings.
15598 * console.c (complex_vars_of_console):
15601 * device-msw.c (mswindows_finish_init_device):
15602 * device-msw.c (msw_get_workspace_coords):
15603 * device-msw.c (mswindows_device_system_metrics):
15604 and various other files, added support for a new
15605 device property called offset-workspace which returns the position
15606 of the upper left corner of the workspace area and goes along with
15607 the existing size-workspace property.
15610 * dialog-msw.c (push_bufbyte_string_as_unicode):
15611 * dialog-msw.c (mswindows_popup_dialog_box):
15612 Added support for XEmacs-style accelerator specifications in
15613 button text. Note: I didn't add support for this under X Windows,
15614 and somebody needs to do this.
15617 * dialog.c (Fpopup_dialog_box):
15618 Documented the support for accelerators that was just mentioned.
15620 editfns.c (get_home_directory): Changed behavior under Windows
15621 when HOME not defined; former behavior was irretrievably broken.
15624 * emacs.c (main_1):
15626 * minibuf.c (clear_echo_area_internal):
15627 * minibuf.c (echo_area_append):
15629 * print.c (std_handle_out_external):
15630 * print.c (std_handle_out_va):
15632 * print.c (write_string_to_stdio_stream):
15633 * print.c (output_string):
15634 * print.c (debug_print):
15635 * print.c (debug_backtrace):
15636 * print.c (debug_short_backtrace):
15637 Cleaned up the code that prints text to stdout so that this can be
15638 changed to output into a console window instead under MS Windows,
15639 as described above.
15642 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15643 * eval.c (internal_catch):
15644 * eval.c (unwind_to_catch):
15645 * eval.c (throw_or_bomb_out):
15646 * eval.c (condition_case_1):
15647 * eval.c (signal_1):
15648 * eval.c (check_error_state_sanity):
15649 * eval.c (call_with_suspended_errors_1):
15650 * eval.c (call_with_suspended_errors):
15651 * eval.c (reinit_vars_of_eval):
15652 Added code to catch throw loops and check for a pesky bug that may
15656 * event-msw.c (key_needs_default_processing_p):
15657 * event-msw.c (mswindows_wnd_proc):
15658 * event-msw.c (mswindows_modifier_state):
15659 * event-msw.c (emacs_mswindows_quit_p):
15660 * event-msw.c (vars_of_event_mswindows):
15661 a) Added support for using the alt key to select menu items as is
15662 standard under MS Windows. This is controlled using the variable
15663 menu-accelerator-enabled, just like under X Windows. There is an
15664 option on the options menu to turn this support on. I really
15665 think that it should be on by default under Windows, but I'm not
15666 going to make this change yet.
15668 b) Added support for dynamic display size changes under Windows.
15671 * event-stream.c (maybe_echo_keys):
15672 * event-stream.c (Fnext_event):
15673 * event-stream.c (command_builder_find_leaf):
15674 * event-stream.c (lookup_command_event):
15675 * event-stream.c (execute_command_event):
15676 * event-stream.c (pre_command_hook):
15677 * event-stream.c (post_command_hook):
15678 * event-stream.c (syms_of_event_stream):
15679 * event-stream.c (vars_of_event_stream):
15680 * event-stream.c (complex_vars_of_event_stream):
15681 * events.h (struct command_builder):
15683 a) Tried to clean up a little bit the horribly written x-specific
15684 accelerator code that crept into this file. I moved this code
15685 into menubar-x.c where it belongs. I also needed to move the
15686 command builder structure into the file events.h because it is
15687 accessed directly by this accelerator code. What I didn't do, but
15688 which should be done at some point, is to properly abstract this
15689 code using device methods instead of the kludgy way that it
15690 currently hooks into the event code.
15692 b) Added the lisp variables this-command-properties and
15693 last-command- properties, which should be used to synchronize two
15694 adjacent commands in preference to playing games with the variable
15695 this-command, which is typically what happens.
15697 c) Added some slightly nasty code to hook into the lisp support
15698 for shifted- motion-key selection. This is actually necessary for
15699 somewhat complicated reasons, which are described in
15700 simple.el. (NB: I think the proper thing would be to have the code
15701 that calls the pre and post command hooks also call out to generic
15702 lisp functions in simple.el, where all built-in stuff could be
15703 added. I will think about this more.)
15705 * event-unixoid.c (poll_fds_for_input):
15706 * lread.c (readchar):
15707 * redisplay-tty.c (tty_clear_frame):
15708 * redisplay-x.c (x_get_gc):
15709 * signal.c (interrupt_signal):
15710 And a whole bunch of other files: fixed up places that printed
15711 directly to stderr to instead call the function stderr_out so that
15712 the changes I made under Windows work correctly.
15714 * filemode.c (mode_string):
15718 * frame-msw.c (mswindows_size_frame_internal):
15719 Fixed the computation of frame size and position to keep the frame
15720 within the workspace area, rather than within the physical
15721 dimensions of the screen, so that the frame doesn't overlap window
15722 manager decorations, such as the start menu and toolbar, typically
15723 at the bottom of the screen.
15725 * frame.c (vars_of_frame):
15726 Changed the default frame title format under MS Windows to consist
15727 of buffername-XEmacs, which is standard under MS Windows. I think
15728 it might be a good idea to change this everywhere because I think
15729 it is superior to the current frame title format, but this is the
15730 kind of change that is likely to cause some people to get annoyed,
15731 so I'm not making it.
15733 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15735 * gui-msw.c (mswindows_handle_gui_wm_command):
15736 Fixed compile warnings.
15739 * gui-x.c (strdup_and_add_accel):
15740 * gui-x.c (button_item_to_widget_value):
15742 Added code to automatically put an accelerator onto the beginning
15743 of menu items that don't have one as is now the standard, and is
15744 described more later. Also fixed things so that the menu item
15745 name can be an evaluated expression, again a new standard.
15748 * gui.c (gui_item_add_keyval_pair):
15749 * gui.c (make_gui_item_from_keywords_internal):
15750 * gui.c (gui_add_item_keywords_to_plist):
15751 * gui.c (gui_item_accelerator):
15752 * gui.c (gui_name_accelerator):
15753 * gui.c (gui_item_included_p):
15754 * gui.c (gui_item_display_flush_left):
15755 * gui.c (gui_item_display_flush_right):
15756 * gui.c (parse_gui_item_tree_item):
15757 * gui.c (parse_gui_item_tree_children):
15758 * gui.c (parse_gui_item_tree_list):
15759 Mule-ized. Cleanup. GCPRO addition.
15761 * line-number.c (buffer_line_number):
15763 * lisp.h (EMACS_INT_MAX):
15764 Added the manifest constant EMACS_INT_MIN corresponding to the
15765 existing constant EMACS_INT_MAX. This is partially to fix compile
15766 warnings under Windows, and partly for cleanliness.
15769 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15770 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15771 * menubar-msw.c (displayable_menu_item):
15772 * menubar-msw.c (populate_menu_add_item):
15773 * menubar-msw.c (populate_or_checksum_helper):
15774 * menubar-msw.c (populate_menu):
15775 * menubar-msw.c (update_frame_menubar_maybe):
15776 * menubar-msw.c (prune_menubar):
15777 * menubar-msw.c (msw_char_is_accelerator):
15778 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15779 * menubar-msw.c (mswindows_handle_wm_command):
15780 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15781 * menubar-msw.c (mswindows_handle_wm_initmenu):
15782 * menubar-msw.c (mswindows_update_frame_menubars):
15783 * menubar-msw.c (mswindows_free_frame_menubars):
15784 * menubar-msw.c (mswindows_popup_menu):
15785 Fixed a bug in handling accelerators where an extra character
15786 would be displayed in the menu item. Also generalized the
15787 function displayable_menu_item because it is now used by the
15788 dialog box code as well. And finally, added code in the functions
15789 that create the menubar to extract a list of accelerators for the
15790 top level menubar, which is used in the event code to determine
15791 whether a particular alt-key combination should be used to invoke
15792 a menu item, or should be passed through to access the standard
15793 XEmacs keymap binding for this key combination.
15795 Much needed GCPROing.
15798 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15799 * menubar-x.c (menu_item_descriptor_to_widget_value):
15800 * menubar-x.c (restore_in_menu_callback):
15801 * menubar-x.c (x_popup_menu):
15802 * menubar-x.c (menu_move_up):
15803 * menubar-x.c (menu_move_down):
15804 * menubar-x.c (menu_move_left):
15805 * menubar-x.c (menu_move_right):
15806 * menubar-x.c (menu_select_item):
15807 * menubar-x.c (command_builder_operate_menu_accelerator):
15808 * menubar-x.c (menu_accelerator_junk_on_error):
15809 * menubar-x.c (command_builder_find_menu_accelerator):
15810 * menubar-x.c (Faccelerate_menu):
15812 Moved a whole bunch of code here that was previously in
15813 event-stream.c as described above. There is also code connected
15814 to the new standard of adding an accelerator to the beginning of
15815 menu items that don't have one as described above and below.
15818 * menubar.c (menu_parse_submenu_keywords):
15819 * menubar.c (Fmenu_find_real_submenu):
15820 * menubar.c (Fnormalize_menu_item_name):
15821 * menubar.c (syms_of_menubar):
15822 * menubar.c (vars_of_menubar):
15823 * menubar.c (complex_vars_of_menubar):
15825 a) Cleaned up a bunch of documentation and improved it.
15827 b) XEmacs now automatically adds an accelerator onto the beginning
15828 of any menu items that don't have one. I did this because there
15829 will inevitably be some menu items on the main menubar that don't
15830 have accelerators on them because the package that adds that
15831 particular menu item hasn't yet been fixed up to have accelerators
15832 in them and it looked rather strange to have some items with and
15833 some items without accelerators, especially since even in items
15834 without accelerators, you can, at least under windows, still
15835 access the item through an accelerator corresponding to the first
15836 character in the item's name. If people don't like this behavior,
15837 I can add a variable to turn it off optionally, but I'm not sure
15838 this is a good idea because we really do need to have accelerators
15839 on all of the menu items, and if a package doesn't like the
15840 accelerators being put on the first character, then it should put
15841 the accelerators where they belong.
15843 c) I made a behavior change, which is that the descriptor that
15844 specifies the text of the menu item, which formerly was just a
15845 string, can now also be an evaluated expression. This makes this
15846 descriptor parallel with all of the others, which could also be
15847 evaluated expressions. This also obviates the need for the
15848 keyword :label, which was previously listed in the documentation
15849 as unimplemented, and which was for the same purpose.
15854 * ntproc.c (new_child):
15855 * ntproc.c (sys_spawnve):
15856 * ntproc.c (find_child_console):
15857 * ntproc.c (sys_kill):
15858 Fixed compile warnings. By the way, this file should really go
15859 away entirely, and this will happen as soon as Kirill makes his
15860 final round of process cleanups, which affect the function
15864 * process-nt.c (struct nt_process_data):
15865 * process-nt.c (find_process_from_pid):
15866 * process-nt.c (send_signal_the_nt_way):
15867 * process-nt.c (enable_child_signals):
15868 * process-nt.c (find_child_console):
15869 * process-nt.c (send_signal_the_95_way):
15870 * process-nt.c (nt_finalize_process_data):
15871 * process-nt.c (ensure_console_window_exists):
15872 * process-nt.c (nt_create_process):
15873 * process-nt.c (nt_kill_child_process):
15874 * process-nt.c (nt_kill_process_by_pid):
15875 * process-nt.c (nt_open_network_stream):
15876 * process-nt.c (vars_of_process_nt):
15877 Copied over code from Emacs 20.5 to correctly send signals to sub-
15878 processes under Windows 95. Also added code to automatically
15879 create and hide console window when a sub-process is created under
15880 Windows 95, which obviates the need for the separate runemacs.exe
15881 executable, and finally implemented some variables that were
15882 implemented in Emacs 20.5, but previously not in XEmacs. These
15883 include mswindows- start-process-share-console and
15884 mswindows-start-process-inherit-error-mode. (Both of these only
15885 apply to Windows 95.)
15887 * regex.c (regex_compile): Fixed a compile warning.
15890 * select-msw.c (mswindows_own_selection):
15891 * select-msw.c (mswindows_get_foreign_selection):
15892 * select-msw.c (mswindows_disown_selection):
15893 * select-msw.c (console_type_create_select_mswindows):
15894 * select-msw.c (syms_of_select_mswindows):
15895 Cleaned up the file and implemented the device method
15896 selection_exists_p, which had accidentally been left out. Also
15897 removed four lisp functions that were remnants from before the
15898 time when the selection code was properly device abstracted.
15899 These functions are no longer needed because there are generic
15900 equivalents, and because they were added recently and don't exist
15901 in FSF Emacs, I don't think there's any problem with just deleting
15905 * sysdep.c (sys_subshell):
15906 Fixed a compile warning, although in this case there's probably
15907 something wrong with this code, and it ought to be looked into
15908 more thoroughly by somebody who understands it.
15911 * window.c (Fwindow_text_area_height):
15912 * window.c (Fwindow_width):
15913 * window.c (Fwindow_full_width):
15914 * window.c (Fwindow_pixel_width):
15915 * window.c (debug_print_window):
15916 * window.c (syms_of_window):
15917 Added functions window-text-area-height and window-full-width,
15918 which are functions for returning various width and height
15919 characteristics of a window. (One of these functions is necessary
15920 for making the file dialog box work correctly, and the other one
15921 was added for completeness.) Also added a table to the
15922 documentation for window-height which describes the entire scheme
15923 for accessing width and height characteristics of a window.
15925 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15927 * nt.c (fstat): Added a comment for another problem with
15928 non-encapsulated [f]stat(), reported by Adrian Aichner
15929 <aichner@ecf.teradyne.com>.
15931 2000-03-11 Andy Piper <andy@xemacs.org>
15933 * window.c (make_dummy_parent): initialize subwindow instance
15935 (Fset_window_configuration): zero extent_modiff.
15937 2000-03-10 Andy Piper <andy@xemacs.org>
15939 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15940 more changes can be triggered.
15941 (Fredisplay_frame): ditto.
15942 (Fredraw_device): ditto.
15943 (Fredisplay_device): ditto.
15944 (redisplay_frame): make non-static.
15945 (redisplay_frame): call update_frame_gutter_geometry outside of
15948 * gutter.h: declare update_frame_gutter_geometry.
15950 * redisplay.h: declare redisplay_frame.
15952 * gutter.c (update_frame_gutter_geometry): move geometry changes
15953 in update_frame_gutters here. Geometry changes can only occur
15954 outside of redisplay.
15955 (update_frame_gutters): remove geometry change code.
15956 (Fredisplay_gutter_area): make sure that we are in display when we
15957 update and that we have flushed any size changes.
15959 2000-03-11 Andy Piper <andy@xemacs.org>
15961 * alloc.c (pdump_dump_data): remove i & count shadows.
15963 2000-02-27 Mike Alexander <mta@arbortext.com>
15965 * sysdep.h: Declare pdump_read_file
15967 * sysdep.c (pdump_read_file): New function
15969 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15972 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15974 * lrecord.h: add `lrecord_type_pgsetenv'.
15976 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15978 * symsinit.h: declare (vars|syms)_of* functions.
15979 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15981 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15983 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15985 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15988 * emacs.c (main_1): Call postgres initialization code.
15990 * postgresql.h: New file. PostgreSQL RDBMS support.
15991 * postgresql.c: New file.
15993 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15995 * redisplay-output.c (redisplay_output_display_block): Disable
15998 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16000 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
16001 (Fcanna_henkan_next): Ditto.
16002 (Fcanna_bunsetu_henkou): Ditto.
16003 (Fcanna_henkan_kakutei): Ditto.
16004 (Fcanna_henkan_end): Ditto.
16005 (Fcanna_henkan_quit): Ditto.
16006 (Fcanna_henkan_next): Set retun value correctly.
16007 (c2mu): Use unsigned char instead of signed char.
16009 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16011 * emacs.c (main_1): Always call syms_of_gui.
16012 * inline.c: include gui.h
16014 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16016 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
16017 converted to Lisp_Object.
16018 (Qtop_bottom): New variable.
16019 (syms_of_redisplay): Initialize it.
16020 * redisplay.h (Vvisible_bell): Ditto.
16021 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
16022 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
16023 only flash top and bottom.
16025 2000-03-08 Andy Piper <andy@xemacs.org>
16027 * buffer.c (Frename_buffer): record new buffer name the right way.
16029 2000-03-08 Andy Piper <andy@xemacs.org>
16031 * glyphs.c (update_subwindow): increase hash depth so that widget
16032 items get picked up properly.
16034 * redisplay-output.c (compare_runes): increase hash depth so that
16035 widget items get picked up properly.
16037 2000-03-08 Andy Piper <andy@xemacs.org>
16039 * gutter.c (output_gutter): add some debug.
16041 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
16042 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
16043 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
16045 * redisplay-output.c (compare_runes): use display_hash to
16046 determine if glyphs really are not the same.
16048 * glyphs.c (update_subwindow): check display_hash to see if
16049 anything really needs to be updated. If not then do
16050 nothing. Record the display_hash after updating.
16051 (image_instance_equal): compare the image_instance face also.
16053 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
16055 * redisplay.h: Fix comment style.
16057 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
16059 * consle-msw.h (struct mswindows_frame):
16060 Added new member paint_pending to indicate whether a WM_PAINT
16061 magic event has been queued for this frame.
16063 * event-msw.c (mswindows_drain_windows_queue):
16064 Don't queue a WM_PAINT magic event if one is already queued.
16065 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
16067 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
16069 2000-03-07 Didier Verna <didier@xemacs.org>
16071 * dired.c: #include `regex.h' after `sysfile.h'.
16073 2000-03-06 Martin Buchholz <martin@xemacs.org>
16075 * sound.c (init_nas_sound): Fix compiler warning.
16077 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
16079 (MARK_STRUCT_AS_FREE):
16080 (MARK_STRUCT_AS_NOT_FREE):
16081 Make `gcc -fstrict-aliasing' work properly.
16083 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
16085 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
16086 (mswindows_delete_device): Call CoUnnitialize().
16088 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16090 2000-02-25 <CraigL@DyCon.com>
16092 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16095 * sysdep.c: This extern declaration for environ prevents MinGW
16096 from finding the variable in CRTDLL.DLL.
16098 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16100 (SHGFI_EXETYPE): ..
16101 (WM_MOUSEWHEEL): ..
16102 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16104 (MMRESULT): Removed, now defined in cygwin's windows headers.
16106 (uid_t,gid_t,pid_t,ssize_t): ..
16107 (_timeb): Removed, MinGW defines both _timeb and timeb.
16108 (HAVE_H_ERRNO): Added.
16109 (HAVE_TZNAME): Added, configure is not detecting this.
16111 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16113 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16114 * syntax.c (syntax_match): Use it.
16116 * cmds.c: Import auto-fill-chars from FSF Emacs.
16117 (Vauto_fill_chars): New variables.
16118 (internal_self_insert): Check Vauto_fill_chars.
16120 Declare auto-fill-chars as a Lisp variable and initialize it.
16122 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16124 * fileio.c (Fmake_symbolic_link):
16126 Run handlers even if local machine doesn't have symlinks.
16128 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16130 * event-msw.c (mswindows_drain_windows_queue):
16131 Don't generate paint magic events for non-XEmacs frames.
16133 2000-03-05 Andy Piper <andy@xemacs.org>
16135 * redisplay.c (redisplay_frame): generate_displayable_area and
16136 friends assumes that we are not in GC, we therefore have to make
16137 sure that this doesn't happen.
16139 * gutter.c (calculate_gutter_size): generate_displayable_area
16140 assumes that we are not in GC, we therefore have to make sure that
16141 this doesn't happen.
16143 2000-03-05 Martin Buchholz <martin@xemacs.org>
16145 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16147 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16149 * redisplay.c (regenerate_window): Make sure we set a sane value
16150 for end_pos even if we jump out of the loop.
16151 (regenerate_window): Answer Ben's question :-).
16152 (start_end_of_last_line): Add may_error argument.
16153 (start_of_last_line):
16154 (end_of_last_line): Pass may_error = 0.
16155 (end_of_last_line_may_error): New function.
16156 (pixel_to_glyph_translation): Use it, so we don't crash in
16159 2000-03-04 Andy Piper <andy@xemacs.org>
16161 * window.h (struct window): add gutter_extent_modiff.
16163 * window.c (allocate_window): zero out gutter_extent_modiff.
16165 * redisplay.h: declare sync_display_line_structs.
16167 * redisplay.c (add_glyph_rune): add a better comment.
16169 * redisplay-output.c (sync_display_line_structs): made non-static.
16170 (compare_runes): remove unneccesary glyph cachel access.
16172 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16174 * gutter.c (output_gutter): don't output the gutter if extent
16175 changes only involve extents in buffers. use 4 sets of display
16177 (gutter_extent_signal_changed_region_maybe): new function. Mark
16178 extents in gutters as changed.
16179 (update_frame_gutters): use 4 sets of display lines.
16180 (reset_gutter_display_lines): ditto.
16181 (free_frame_gutters): ditto.
16182 (redraw_exposed_gutter): force output of gutters.
16184 * frame.h (struct frame): add 4 sets of gutter display lines.
16186 * extents.c: (extent_changed_for_redisplay): signal changes to
16187 extents in strings in the gutter as well as extents in buffers.
16189 2000-03-02 Andy Piper <andy@xemacs.org>
16191 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16193 * frame.c (Fmake_frame): make sure the gutters get initialized
16194 after the frame is visible.
16195 (set_frame_selected_window): re-arrange compilation macros a
16197 (change_frame_size_1): mark gutters changed.
16199 * device.c (Fset_device_class): mark gutters changed.
16201 2000-03-01 Andy Piper <andy@xemacs.org>
16203 * window.c (window_top_frame_gutter_height): deleted.
16204 (window_bottom_frame_gutter_height): ditto.
16205 (window_left_frame_gutter_height): ditto.
16206 (window_right_frame_gutter_height): ditto.
16207 (window_top_gutter_height): don't use them.
16208 (window_bottom_gutter_height): ditto.
16209 (window_left_gutter_width): ditto.
16210 (window_right_gutter_width): ditto.
16211 (Fsplit_window): ditto.
16212 (Fwindow_pixel_edges): don't use border dimensions here.
16214 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16215 (update_scrollbar_instance): ditto.
16217 * redisplay.c (generate_modeline): don't take gutters into account.
16218 (generate_modeline): ditto.
16219 (redisplay_frame): small gutter display optimization.
16221 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16223 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16224 gutters into account.
16226 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16227 for window position and type.
16229 * gutter.c (get_gutter_coords): fix for frame gutters.
16230 (update_frame_gutters): update frame geometry if the gutters have
16232 (init_frame_gutters): record current gutter geometries.
16234 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16236 (mswindows_widget_instantiate): ditto.
16238 * frame.h (struct frame): add current_gutter_bounds.
16240 * frame.c (change_frame_size_1): position window and minibuffer
16241 appropriately taking into account the frame gutters.
16243 * frame-x.c: (x_initialize_frame_size): take into account the
16246 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16248 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16250 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16252 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16254 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16256 * file-coding.c (reset_decoding_stream): Clear previous
16257 detection state when autodetect.
16259 2000-02-29 Didier Verna <didier@xemacs.org>
16261 * extents.c (set_extent_glyph_1): don't require extents to be
16264 2000-02-27 Andy Piper <andy@xemacs.org>
16266 * gutter.c (Fset_default_gutter_position): don't default left and
16267 right gutter visibility to t.
16268 (Fset_default_gutter_position): run
16269 default-gutter-position-changed-hook.
16270 (syms_of_gutter): add default-gutter-position-changed-hook.
16272 2000-02-26 Andy Piper <andy@xemacs.org>
16274 * specifier.c (Fmake_specifier): add gutter references.
16276 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16278 * lisp.h: declare Fvalid_plist_p.
16280 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16282 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16283 well as its visibility so that it gets reconstructed.
16284 (construct_window_gutter_spec): new function. Construct a string
16285 to be displayed in the gutter from a plist of strings. Take care
16286 to only use elements that are declared as visible.
16287 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16289 (gutter_validate): allow plists of strings in the specifier.
16290 (gutter_specs_changed): construct the real_gutter from the gutter
16291 specs using construct_window_gutter_spec.
16292 (gutter_visible_validate): gutter-visible is a new specifier type.
16293 (Fgutter_visible_specifier_p): new function for the new specifier.
16294 (syms_of_gutter): declare gutter-visible and
16295 Fgutter_visible_specifier_p.
16296 (specifier_type_create_gutter): intitalize new gutter-visible
16298 (reinit_specifier_type_create_gutter): ditto.
16299 (specifier_vars_of_gutter): use new specifier type for gutter
16301 (init_frame_gutters): construct real_gutter correctly.
16302 (Fgutter_specifier_p): beef up documentation.
16303 (Fgutter_size_specifier_p): ditto.
16305 * winslots.h: add real_gutter slots.
16307 2000-02-25 Andy Piper <andy@xemacs.org>
16309 * device-msw.c: Be kind to older cygwin versions. From Raymond
16310 Toy <toy@rtp.ericsson.se>.
16312 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16313 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16315 2000-02-25 Martin Buchholz <martin@xemacs.org>
16317 * elhash.c (MARK_OBJ): Practice macro hygiene.
16319 2000-02-24 Martin Buchholz <martin@xemacs.org>
16321 * miscplay.c: s/__inline__/inline/g;
16322 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16323 (get_device_compdc): INLINE ==> static inline
16324 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16325 find -name '*.h' | \
16326 xargs global-replace \
16327 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16329 2000-02-25 Andy Piper <andy@xemacs.org>
16331 * window.c (window_top_frame_gutter_height): new function.
16332 (window_top_window_gutter_height): ditto.
16333 (window_top_gutter_height): use them.
16334 (window_bottom_frame_gutter_height): new function.
16335 (window_bottom_window_gutter_height): ditto.
16336 (window_bottom_gutter_height): use them.
16337 (window_left_window_gutter_width): new function.
16338 (window_left_frame_gutter_width): ditto.
16339 (window_left_gutter_width): use them.
16340 (window_right_window_gutter_width): new function.
16341 (window_right_frame_gutter_width): ditto.
16342 (window_right_gutter_width): use them.
16343 (window_pixel_height): new function. calulate window pixel height
16344 with frame gutter involvement.
16345 (Fsplit_window): calculate new sizes taking frame gutters into
16347 (window_char_height_to_pixel_height): don't include frame gutters.
16348 (window_char_height): use window_pixel_height.
16349 (window_pixheight): rename from window_pixel_height.
16350 (change_window_height): use it.
16351 (window_pixel_height_to_char_height): don't include frame gutters.
16352 (window_char_width_to_pixel_width): ditto.
16354 2000-02-25 Andy Piper <andy@xemacs.org>
16356 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16359 2000-02-24 Martin Buchholz <martin@xemacs.org>
16361 * alloc.c (staticpro):
16362 (staticpro_nodump):
16367 (compact_string_chars):
16368 (pdump_dump_wired):
16369 Convert: if (foo) abort(); ==> assert (! foo);
16371 * eldap.c (Fldap_search_basic):
16375 Fix compiler warnings, and possible crashes if (random) return
16376 value were to be used.
16378 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16380 * device-msw.c: Workaround ResetDC failure.
16382 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16383 applying a devmode.
16385 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16386 (mswindows_text_width): Do not start printer page.
16388 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16390 * glyphs-msw.c: Added image methods to msprinter console and
16391 msprinter-specific image instantiation.
16393 2000-02-20 Mike Alexander <mta@arbortext.com>
16395 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16396 to avoid crashes when selection-sets-clipboard is on
16397 (mswindows_own_selection): ditto
16399 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16402 * redisplay-msw.c (get_frame_dc):
16403 (get_frame_compdc):
16405 * device-msw.c (mswindows_init_device):
16406 (mswindows_delete_device):
16407 (msprinter_init_device):
16408 (msprinter_delete_device):
16409 * frame-msw.c (mswindows_init_frame_1):
16410 (mswindows_delete_frame):
16411 (msprinter_init_frame_3):
16412 (msprinter_delete_frame): Move compatible DC to device object from
16413 frame object, for both mswindows and msprinter. Only one at a time
16414 is needed, it is a real waste to have one per frame!
16416 2000-02-23 Andy Piper <andy@xemacs.org>
16418 * glyphs.c: add dynamic width and height elements.
16419 (image_instance_equal): ditto.
16421 * glyphs-widget.c (widget_query_geometry): calculate width and
16422 height dynamically if required.
16423 (initialize_widget_image_instance): initialize dynamic dimensions.
16424 (widget_instantiate): pick-up dynamic dimensions.
16426 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16427 dynamic determination. Add appropriate macros.
16429 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16431 (WINDOW_GUTTER_SIZE): ditto.
16432 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16434 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16436 (get_frame_dc): ditto.
16438 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16441 2000-02-23 Martin Buchholz <martin@xemacs.org>
16443 * XEmacs 21.2.31 is released.
16445 2000-02-22 Ben Wing <ben@xemacs.org>
16447 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16449 2000-02-22 Andy Piper <andy@xemacs.org>
16451 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16453 2000-02-21 Mike Sperber <mike@xemacs.org>
16457 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16460 2000-02-21 Mike Sperber <mike@xemacs.org>
16462 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16464 2000-02-21 Martin Buchholz <martin@xemacs.org>
16466 * XEmacs 21.2.30 is released.
16468 2000-02-20 Martin Buchholz <martin@xemacs.org>
16470 Performance hacking.
16472 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16473 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16474 * emacs.c (main_1):
16476 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16477 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16478 * symeval.h (DEFVAR_SYMVAL_FWD):
16479 * symbols.c (guts_of_unbound_marker):
16480 Make all c_readonly objects also lisp_readonly and marked for life.
16481 * lrecord.h (struct lrecord_implementation):
16482 Document flags better.
16483 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16484 * lrecord.h (DECLARE_LRECORD):
16485 * lrecord.h (XSETRECORD):
16486 * lrecord.h (RECORDP):
16487 * lrecord.h (RECORD_TYPEP):
16488 * lrecord.h (RECORD_MARKER): New.
16489 * lrecord.h (error_check_*):
16490 * lrecord.h (CONCHECK_NONRECORD):
16491 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16492 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16493 * lrecord.h (set_lheader_implementation):
16494 * lrecord.h (enum lrecord_type): New.
16495 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16496 * alloc.c (disksave_object_finalization_1):
16497 * alloc.c (mark_object):
16498 * alloc.c (lrecord_type_index):
16499 * alloc.c (tick_lcrecord_stats):
16500 * alloc.c (Fgarbage_collect):
16501 * alloc.c (init_alloc_once_early):
16502 * alloc.c (pdump_load):
16503 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16504 * alloc.c (lrecord_type_index): Delete.
16505 Make lisp object type indexes be constant.
16506 Makes (byte-compile) 5% faster.
16507 Put all marker functions into their own array.
16508 Makes (garbage-collect) 5% faster.
16509 Optimize SYMBOL_VALUE_MAGIC_P.
16510 Makes (byte-compile) 2-3% faster.
16511 * config.h.in (gc_checking_assert): New.
16512 * alloc.c: Use gc_checking_assert().
16513 * .dbxrc: Make compatible with new object type implementation.
16514 * .gdbinit: Make compatible with new object type implementation.
16515 * alloc.c: Delete all symbols defined only for debugging, such as
16516 Lisp_Type_Vector and lrecord_charset.
16518 2000-02-21 Andy Piper <andy@xemacs.org>
16520 * gui-msw.c (Fmswindows_shell_execute): fix file location
16523 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16524 unshowing so that set_window_buffer doesn't undo
16525 kill_buffer_hook's hard work.
16527 * glyphs-widget.c (tab_control_query_geometry): don't count the
16528 first item when calculating geometry.
16530 * glyphs.c (map_subwindow): remove redundant code.
16531 (update_frame_subwindows): be more circumspect about when to
16534 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16535 when items haven't changed. Update faces if faces have changed as
16536 well as just the widget face.
16537 (x_tab_control_update): Update faces if faces have changed as well
16538 as just the widget face.
16540 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16542 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16544 (build_syscolor_string): Use mswindows_color_to_string to try to
16546 (mswindows_device_system_metrics): Reverse the foreground and
16547 background colors so that they match the documentation.
16549 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16550 they match the default Windows palette.
16551 (mswindows_color_to_string): New function.
16553 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16555 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16557 2000-02-18 Olivier Galibert <galibert@pobox.com>
16559 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16560 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16562 * symbols.c (init_symbols_once_early): Removed obsolete
16563 DATA_SEG_BITS related kludge.
16564 (defvar_magic): Ditto.
16566 * malloc.c: Removed obsolete DATA_SEG_BITS
16568 * mem-limits.h: Ditto.
16570 * Makefile.in.in: Removed obsolete HAVE_SHM
16573 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16575 * device-msw.c (mswindows_delete_device): Free DDE string
16578 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16580 * keymap.c (get_keyelt):
16581 * unexnt.c (unexec):
16582 * vm-limit.c (memory_warnings):
16583 * ntheap.c (recreate_heap):
16584 * ntheap.h (UNINIT_PTR):
16585 * select-msw.c (Fmswindows_get_clipboard):
16586 (Fmswindows_set_clipboard):
16587 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16589 * menubar-msw.c (displayable_menu_item):
16591 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16592 * sysdep.c (sys_subshell):
16593 * process-nt.c (nt_create_process):
16594 * nt.c (normalize_filename):
16595 (dostounix_filename):
16596 (unixtodos_filename):
16597 * ntproc.c (win32_executable_type):
16598 * ntplay.c (play_sound_data_1):
16600 * editfns.c (get_home_directory):
16601 * event-msw.c (struct winsock_stream):
16602 (mswindows_dde_callback):
16603 * device-msw.c (msprinter_init_device):
16604 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16606 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16607 mswindows_clear_toolbar were swapped!
16609 * objects-msw.c:(colormap_t):
16611 * emacs.c (struct standard_args): Fixed const jumble.
16613 * glyphs-widget.c (update_widget): Fixed comparison notation.
16615 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16617 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16618 __declspec(noreturn) syntax.
16620 2000-02-19 Martin Buchholz <martin@xemacs.org>
16622 * eldap.c (Fldap_open):
16623 (Fldap_search_basic):
16626 Use new coding system conversion macros.
16628 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16630 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16632 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16634 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16635 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16637 * eldap.c (Qadd, Qreplace): New constant symbols
16638 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16639 interruptions by XEmacs signals
16640 Remove unnecessary calls to slow_down_interrupts and
16641 speed_up_interrupts
16642 (Fldap_search_basic): Renamed from Fldap_search_internal
16643 Added new optional parameter VERBOSE that triggers the
16644 display of progress messages
16645 Remove unnecessary calls to slow_down_interrupts and
16646 speed_up_interrupts
16647 LDAP result code analysis rewritten
16648 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16649 (syms_of_eldap): Define the new symbols and functions
16652 2000-02-17 Martin Buchholz <martin@xemacs.org>
16654 * realpath.c: Determine PATH_MAX maximally portably.
16656 * insdel.c (bytecount_to_charcount): Optimize.
16657 The function used to be optimized for entirely ASCII sequences.
16658 Now it is optimized for successive characters from the same
16659 charset. This also wins big for _mostly_ ASCII sequences.
16661 * fileio.c (Ffile_truename): convert return from realpath() using
16662 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16663 - Rewrite GCPROing slightly.
16665 * sysdep.c (sys_open): Do filename conversion, like all other
16666 sys_* functions. Fixes bug:
16667 (let ((file-name-coding-system 'iso-8859-2))
16668 (write-region x y latin2-name))
16669 ==> writes filename using internal encoding.
16671 2000-02-18 Martin Buchholz <martin@xemacs.org>
16673 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16674 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16675 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16676 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16677 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16678 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16679 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16680 (CONST_IF_NOT_DEBUG): Delete.
16681 * alloc.c (this_one_is_unmarkable): Delete.
16682 (mark_object): Don't check for this_one_is_unmarkable. Use the
16683 c_readonly flag instead.
16684 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16686 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16688 * event-msw.c (mswindows_drain_windows_queue):
16689 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16690 away redundant repaint events.
16692 2000-02-17 Andy Piper <andy@xemacs.org>
16694 * redisplay.h: declare mark_redisplay_structs.
16696 * redisplay.c (redisplay_window):
16697 (redisplay_frame): don't check subwindows_state_changed.
16698 (mark_redisplay): mark gutters here.
16700 * glyphs.c: (instantiate_image_instantiator): always layout if we
16701 haven't done so already.
16702 (allocate_image_instance): don't mark as dirty.
16703 (update_subwindow): bind inhibit_quit.
16705 * gutter.c (mark_gutters): new function.
16707 * glyphs-x.c (x_update_widget): Always resize to get round a
16710 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16711 breaking absolutely everything.
16713 * gutter.h: declare mark_gutters.
16715 2000-02-16 Martin Buchholz <martin@xemacs.org>
16717 * XEmacs 21.2.29 is released.
16719 2000-02-15 Olivier Galibert <galibert@pobox.com>
16721 * fns.c (size_bit_vector): Fix computation of the size.
16723 2000-02-15 Martin Buchholz <martin@xemacs.org>
16725 * *.[ch]: Change CONST to const globally.
16726 find -name '*.[ch]' | \
16727 xargs global-replace \
16728 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16729 - Remove vestigial references to CONST_IS_LOSING
16731 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16733 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16734 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16735 events instead of dispatching them directly.
16736 (mswindows_handle_paint): New function to do repainting.
16737 (mswindows_wnd_proc):
16738 (emacs_mswindows_handle_magic_event): Call above function.
16740 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16742 * objects-msw.c (mswindows_create_font_variant): Return the new
16744 (initialize_font_instance): Get font metrics from the underlined
16745 variant of the font to cope with the case where the underlined
16746 font has a bigger descent.
16748 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16750 * gui.c (gui_item_accelerator): Return the first underlined
16751 character in item name.
16753 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16755 * lisp.h: Added Qprinter.
16757 * general.c (syms_of_general): Initialized it.
16759 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16761 (get_frame_compdc): Made inline.
16763 * console.h (struct console_methods): Added eject_page method.
16765 * frame.h: Added FRAME_DISPLAY_P and friends.
16766 Aligned backslahes in many macros in more readable fashion.
16767 Added page_number to struct frame, and an accessor macro
16770 * defice.h: Added DEVICE_DISPLAY_P and friends.
16772 * device.c (Fdevice_printer_p): Used these.
16774 * frame.c (allocate_frame_core): Initialize page number.
16775 (Fprint_job_page_number):
16776 (Fprint_job_eject_page): Implemented.
16778 * frame-msw.c (msprinter_eject_page): Added method.
16779 (msprinter_start_page): Added.
16781 * window.c (Fwindow_truncated_p): Fixed docstring.
16782 (Fwindow_last_line_visible_height): Implemented.
16784 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16786 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16788 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16790 * syntax.c (scan_words): Always advance at least one character.
16792 2000-02-13 Andy Piper <andy@xemacs.org>
16794 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16795 to make sure the glyph is in the cachels.
16797 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16798 global image instance flag.
16799 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16800 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16802 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16803 (Fset_image_instance_property): mark layout as changed.
16804 (invalidate_glyph_geometry_maybe): mark layout as changed.
16805 (glyph_width): use new NEEDS_LAYOUT macro.
16806 (glyph_ascent): ditto.
16807 (glyph_descent): ditto.
16808 (glyph_height): ditto.
16809 (image_instance_layout): mark layout as clean after laying out.
16810 (update_subwindow): don't mark layout as clean here.
16812 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16813 should no longer be needed.
16815 * glyphs-x.c (x_update_widget): sanitize asserts.
16816 (x_finalize_image_instance): sanitize assignment to widgets.
16818 * glyphs-widget.c (widget_instantiate): don't need to clear the
16821 2000-02-13 Martin Buchholz <martin@xemacs.org>
16823 * sysdep.c (getcwd): Use standard prototype.
16824 * sysdep.h (getcwd): Use standard prototype.
16826 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16827 (sequence, start, end).
16828 Remove redundant type checking.
16829 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16830 view of `caller-protects') to avoid a crash where the real fix was
16833 2000-02-12 Martin Buchholz <martin@xemacs.org>
16835 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16837 * s/sol2.h: Remove feature macro initialization.
16839 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16840 (vector_hash): New. Code from internal_hash.
16842 Fix up allocation subsystem comments.
16844 * config.h.in: Add __EXTENSIONS__ for Solaris.
16846 * systime.h (EMACS_GETTIMEOFDAY): New.
16847 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16848 Remove Solaris-specific code.
16849 Use void* for the (ignored) second arg for gettimeofday().
16851 * elhash.c (hash_table_hash): Implement it, finally.
16852 * elhash.c: Use hashcode_t.
16854 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16855 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16857 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16858 * fns.c (size_bit_vector):
16859 * alloc.c (size_vector):
16860 (make_vector_internal):
16861 (make_bit_vector_internal):
16862 (sweep_bit_vectors_1):
16863 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16865 2000-02-10 Martin Buchholz <martin@xemacs.org>
16867 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16868 Include strings.h to avoid warnings for bzero and strcasecmp.
16870 2000-02-10 Olivier Galibert <galibert@pobox.com>
16872 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16873 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16875 * fns.c (size_bit_vector): New. Declare bit vectors as a
16878 2000-02-10 Olivier Galibert <galibert@pobox.com>
16880 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16881 use a value field instead.
16882 (symbol_value_forward_forward): Use value field.
16883 (DEFVAR_SYMVAL_FWD): Use value field.
16884 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16885 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16886 (DEFVAR_CONST_INT): Ditto.
16887 (DEFVAR_BOOL): Ditto.
16888 (DEFVAR_CONST_BOOL): Ditto.
16889 (DEFVAR_INT_MAGIC): Ditto.
16890 (DEFVAR_BOOL_MAGIC): Ditto.
16892 * symbols.c (guts_of_unbound_marker): Use value field.
16893 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16894 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16896 * lisp.h: Declare dumpopaque and noninteractive1.
16898 * alloc.c (dumpopaque): Added.
16899 (pdump_dump_opaquevec): Added.
16900 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16901 (pdump_load): Reload opaque data. Sync noninteractive1 with
16904 2000-02-10 Andy Piper <andy@xemacs.org>
16906 * glyphs.c (image_instance_layout): if the size changes, mark it
16909 * redisplay-output.c (redisplay_output_layout): Update the
16911 (redisplay_output_subwindow): ditto.
16913 * glyphs.c (update_subwindow): make sure we reset flags for
16914 layouts as well as everything else.
16916 * glyphs-widget.c (layout_layout): don't need to set the instances
16919 2000-02-09 Martin Buchholz <martin@xemacs.org>
16921 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16922 not HAVE_DLOPEN, which is a lower-level thing.
16924 * .cvsignore: Ignore gmon.out
16926 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16928 * .cvsignore: Ignore portable dumper xemacs.dmp file
16930 2000-02-09 Andy Piper <andy@xemacs.org>
16932 * redisplay-output.c (redisplay_output_layout): be more clever
16933 about when we output based on the changed flags.
16935 * glyphs.h (struct image_instantiator_methods): add update_method.
16936 (struct Lisp_Image_Instance): add changed flags. Declare new
16937 macros for manipulating them.
16939 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16940 (image_instance_parent_glyph): find an image_instance's parent
16941 glyph or image_instance.
16942 (image_instance_layout): mark the size as changed.
16943 (set_image_instance_dirty_p): new function. mark an image
16944 instance, plus all of its parents, as dirty.
16945 (Fset_image_instance_property): use it.
16946 (Fglyph_animated_timeout_handler): use it.
16947 (update_subwindow): call update_widget and device methods for
16948 update_subwindow. Mark all changed flags as clean.
16949 (Fresize_subwindow): mark size as changed.
16951 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16953 (x_update_subwindow): only resize subwindows here.
16954 (x_update_widget): new function. Update all changed properties of
16956 (x_resize_subwindow): deleted.
16957 (x_widget_set_property): deleted.
16958 (x_progress_gauge_set_property): deleted.
16959 (x_progress_gauge_update): new function. Implement recorded
16961 (x_tab_control_update): ditto.
16962 (x_tab_control_set_property): deleted.
16963 (console_type_create_glyphs_x): declare new functions.
16964 (image_instantiator_format_create_glyphs_x): ditto.
16966 * glyphs-widget.c (widget_set_property): mark text changed.
16967 (update_widget): new function. Update properties of a widget.
16968 (widget_instantiate): for layouts make sure we set their
16969 children's parent correctly.
16970 (tab_control_set_property): new function. Record changes that will
16971 take place under redisplay's control.
16972 (progress_gauge_set_property): ditto.
16973 (image_instantiator_progress_guage): declare new functions.
16974 (image_instantiator_tab_control): ditto.
16976 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16978 (mswindows_update_widget): new function. Update all properties on
16979 a widget that have changed.
16980 (mswindows_button_update): new function. Update a button's set
16982 (mswindows_tab_control_update): new function. Update the items in
16984 (mswindows_tab_control_set_property): deleted.
16985 (mswindows_progress_gauge_update): new function. Update the
16986 progress gauge's progress.
16987 (mswindows_widget_set_property): deleted. This is all done
16988 asynchronously now.
16989 (mswindows_progress_gauge_set_property): ditto.
16990 (console_type_create_glyphs_mswindows): declare new methods.
16991 (image_instantiator_format_create_glyphs_mswindows): ditto.
16993 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16994 (msprinter_set_frame_properties): ditto.
16996 * console.h (struct console_methods): Add update_widget_method.
16998 2000-02-09 Andy Piper <andy@xemacs.org>
17000 * gui-msw.c (Fmswindows_shell_execute): Make
17001 mswindows-shell-execute industrial strength.
17003 2000-02-08 Martin Buchholz <martin@xemacs.org>
17005 * lrecord.h: Make macro argument `props' match member function `plist'.
17008 * fns.c (Fremprop):
17009 * fns.c (Fobject_plist):
17012 Object property list frobbing cleanup.
17013 - Allow any lisp object (compared with `eq'), not just symbols, as
17014 keys in object plists.
17015 - Move symbol plist frobbing into symbols.c, where it belongs.
17016 - Move string plist frobbing into alloc.c, where it belongs.
17017 - Everything's an lrecord now, so no need to test for symbolp, etc.
17018 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
17020 * extents.c: Reorder code to remove declarations.
17022 * frame.h (store_in_alist): Remove useless declaration.
17024 2000-02-07 Martin Buchholz <martin@xemacs.org>
17026 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
17027 * config.h.in: Add HAVE_XCONVERTCASE.
17029 2000-02-07 Andy Piper <andy@xemacs.org>
17031 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
17032 it breaks many things.
17034 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
17036 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
17037 actually can start a common comment type.
17038 * src/syntax.h (SYNTAX_END_P): ditto for end.
17040 2000-02-07 Martin Buchholz <martin@xemacs.org>
17042 * XEmacs 21.2.28 is released.
17044 2000-02-06 Martin Buchholz <martin@xemacs.org>
17046 * event-Xt.c (x_keysym_to_character): New.
17047 (maybe_define_x_key_as_self_inserting_character): New.
17048 (x_has_keysym): New.
17049 Auto-define all keys on the keyboard as self-insert-key.
17051 2000-02-02 Martin Buchholz <martin@xemacs.org>
17053 * menubar.c (vars_of_menubar): A small code simplification.
17055 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
17058 * ExternalClient.c:
17059 * EmacsShell-sub.c:
17062 Use consistent style for specifying X resources.
17064 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
17065 This makes (dontusethis-set-symbol-value-handler) actually usable.
17067 * lrecord.h (lrecord_decription_type):
17068 * alloc.c (pdump_register_sub):
17071 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
17072 Comply with XEmacs coding style.
17073 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
17074 args, and XD_LISP_OBJECT_ARRAY with 3 args.
17076 * keymap.c (Faccessible_keymaps):
17077 Make (accessible-keymaps map "\C-h") do the Right Thing.
17078 Make (accessible-keymaps map []) do the Right Thing.
17079 Make (accessible-keymaps map "") do the Right Thing.
17080 (check_keymap_definition_loop): New function.
17081 (keymap_store_internal): Keep luser from shooting self in foot,
17082 via (define-key ctl-x-4-map "p" global-map).
17083 Remove fullness slot from struct Lisp_Keymap, since hash tables
17085 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
17087 2000-01-30 Martin Buchholz <martin@xemacs.org>
17089 * redisplay.c (init_redisplay): Fix small memory leak.
17091 * elhash.c (pdump_reorganize_hash_table):
17092 Rename from reorganize_hash_table. Change prototype.
17093 Reuse the original memory for hentries. Save 100k.
17094 * alloc.c (PDUMP_READ): new macro.
17095 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17096 * alloc.c: No need to #ifndef before #undef.
17098 * print.c: Allow debug_print() to print readably by modifying
17099 debug_print_readably. Use consistent variable names.
17101 * .dbxrc: Try to get things to work even if stopped in a function
17102 without source available by explicitly specifying source files.
17103 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17105 * unexnt.c (_start): Removed bogus code which caused loading heap
17106 from differrent executable file.
17107 Removed bogus assignment to _fmode, which caused inconsistencies.
17109 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17111 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17112 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17113 Do not preliminary `#define signal sigset'.
17115 * systime.h: Do not prototype environ on windows nt and cygwin,
17116 this conflicts with system header.
17118 * syssignal.h: Use correct define for WINDOWSNT
17120 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17121 with system header.
17123 * sysdep.c (near start of file): Fixed commentary and rearranged
17124 ifdefs in readable order.
17125 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17128 (end_of_data): Do not compile in if using PDUMP.
17130 * symsinit.h: Prototyped vars_of_nt().
17132 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17133 (find_child_console): Use it.
17134 (sys_kill): Use it.
17136 * ntheap.h: Do not extern os_subtype.
17138 * ntheap.c (cache_system_info): Do not cache unneeded:
17139 nt_major_version, nt_minor_version and os_subtype.
17140 (recreate_heap): Do not compile in when PDUMPing.
17142 * nt.c (geteuid and friends): Use the new varibale
17143 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17144 (init_user_info): Removed the above mentioned hackery.
17145 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17146 stat has been fixed in the C runtime.
17147 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17149 * file-coding.c (struct file_coding_dump): Do not define
17150 ucs_to_mule_table in the struct if not MULE.
17151 (struct struct lrecord_description fcd_description_1): Do not dump
17154 * emacs.c (main_1): Call vars_of_nt().
17155 (right before Fdump_emacs_data): Don't need lastfile if using both
17156 portabe dumper and system malloc.
17158 * alloc.c (Fmemory_limit): Conditionalized out.
17159 (pdump): Use OPEN_BINARY for the portable dump file.
17160 (pdump_load): Ditto.
17162 2000-02-02 Mike Alexander <mta@arbortext.com>
17164 * nt.c (convert_time): Set tm_isdst before calling mktime and
17165 avoid calling it at all if the compiler supports 64 bit integers.
17166 Also initialize utc_base_ft before using it.
17168 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17170 * frame.c (change_frame_size_1): Take f->internal_border_width
17171 into consideration when calculating the width of the frame.
17173 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17175 * window.c (frame_min_height):
17176 (frame_size_valid_p):
17177 (frame_pixsize_valid_p): Added.
17178 (check_frame_size): Generalized.
17180 * window.h: Prototyped the above.
17183 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17184 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17185 Deleted Vwin32_* and Vbinary_process_* unused variables.
17187 * device-msw.c (msprinter_init_device): Do not get printer font
17188 list; Added DEVMODE functions.
17190 * frame-msw.c: Added lots of printer code.
17192 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17195 * console-msw.h: Added more msprinter device private slots.
17197 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17199 * event-msw.c (key_needs_default_processing_p): Added.
17200 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17202 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17204 * glyphs.c (image_instance_layout): Mark image instance as clean
17206 (glyph_dirty_p): Removed redundant function.
17207 (invalidate_glyph_geometry_maybe): Added.
17208 (update_glyph_cachel_data): Call it.
17210 * glyphs.h: Prototyped it.
17212 * redisplay.c (add_glyph_rune): Call it.
17213 (redisplay_window): Reset glyphs cachels when frame faces have
17214 changed, thus forcing recomputation of built-in border glyphs.
17216 2000-01-30 Martin Buchholz <martin@xemacs.org>
17218 * Makefile.in.in: Make portable dumper and purify play well together.
17219 Add imperfect, but better than nothing, support for pdump.
17220 Remove xemacs.dmp when temacs is re-generated.
17221 Don't ignore errors when dumping xemacs.
17223 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17225 2000-01-28 Andy Piper <andy@xemacs.org>
17227 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17228 (setup_normal_frame): ditto.
17229 (setup_frame_without_minibuffer): ditto.
17230 (setup_minibuffer_frame): ditto.
17231 (delete_frame_internal): ditto.
17232 (Fmake_frame_invisible): ditto.
17233 (Ficonify_frame): ditto.
17235 * window.h: change Fset_window_buffer signature.
17237 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17238 (Fset_window_buffer): allow recording of buffer if the window is
17239 the selected window.
17240 (window_loop): Use new Fset_window signature.
17242 2000-01-23 Daniel Pittman <daniel@danann.net>
17244 * config.h.in: Added template for `HAVE_ATHENA_3D'
17246 2000-01-29 Andy Piper <andy@xemacs.org>
17248 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17250 * gutter.c (output_gutter): Don't output if the window isn't live.
17252 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17254 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17255 of 01/12/00: Moved SetFocus back here where it belongs.
17257 2000-01-23 Andy Piper <andy@xemacs.org>
17259 * s/cygwin32.h: declare printer things.
17261 2000-01-26 Andy Piper <andy@xemacs.org>
17263 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17266 2000-01-24 Andy Piper <andy@xemacs.org>
17268 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17269 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17271 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17273 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17275 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17277 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17278 (mswindows_output_display_block): Avoid local shadows.
17280 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17281 (mswindows_enqueue_mouse_button_event): ditto.
17282 (mswindows_handle_gui_wm_command): remove declaration.
17284 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17287 * console-msw.h: Avoid shadows.
17288 (mswindows_get_toolbar_button_text):
17289 (emacs_mswindows_create_stream_pair):
17290 (emacs_mswindows_delete_stream_pair):
17291 (mswindows_handle_toolbar_wm_command): declare.
17293 * device-msw.c (build_syscolor_string): Avoid shadows.
17295 2000-01-23 Andy Piper <andy@xemacs.org>
17297 * glyphs-widget.c (widget_instantiate): reverse the items for
17298 layouts so that children are in the expected order.
17300 2000-01-28 Martin Buchholz <martin@xemacs.org>
17302 * ralloc.c: safe_bcopy ==> memmove
17303 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17304 * s/msdos.h: Remove BCOPY macros.
17305 * insdel.c (gap_right): Remove BCOPY conditional code.
17306 * insdel.c (gap_left): Remove BCOPY conditional code.
17307 XEmacs demands a working ANSI C compiler - hence memmove.
17309 * regex.c (regex_compile): Remove accidental use of trigraphs.
17311 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17313 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17316 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17318 * event-msw.c (mswindows_drain_windows_queue): Added the
17320 (mswindows_need_event): Commented the call to
17321 mswindows_drain_windows_queue().
17322 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17325 * console-msw.h: Moved a few function prototypes here from
17328 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17329 parameter from unsigned short to unsigned long.
17330 (Fmswindows_shell_execute): Added return value.
17332 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17334 * sysdep.c (init_system_name):
17335 process-unix.c (unix_canonicalized_host_name):
17336 Don't call freeaddrinfo() if getaddrinfo() fails.
17338 * process-unix.c (unix_open_unix_network_stream):
17339 Moved the code to get a port # into address loop.
17341 2000-01-27 Martin Buchholz <martin@xemacs.org>
17343 * buffer.c (reinit_vars_of_buffer):
17344 The right place to initialize conversion_in_dynarr and
17345 conversion_out_dynarr.
17347 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17349 * process-unix.c (unix_canonicalize_host_name): Muleize.
17350 (unix_open_network_stream): Muleize.
17352 * buffer.h: Fix up prototypes for ralloc.c functions.
17354 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17355 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17356 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17357 instead of gethostbyname()
17358 * process-unix.c: In unix_canonicalize_host_name() and
17359 unix_open_network_stream(), add code to use getaddrinfo()
17360 instead of gethostbyname().
17362 2000-01-27 Daniel Pittman <daniel@danann.net>
17364 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17365 libs when built with flat Athena.
17367 2000-01-27 Martin Buchholz <martin@xemacs.org>
17369 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17370 Use coding standards for function prototypes.
17372 2000-01-25 Martin Buchholz <martin@xemacs.org>
17374 * dialog-msw.c (push_lisp_string_as_unicode):
17375 * doc.c (unparesseuxify_doc_string):
17376 * dired.c (Fuser_name_completion_1):
17377 * dired.c (Fuser_name_all_completions):
17378 * dired.c (free_user_cache):
17379 * dired.c (user_name_completion):
17380 * console-x.c (get_display_arg_connection):
17381 * minibuf.c (clear_echo_area_internal):
17382 * minibuf.c (echo_area_append):
17383 * eldap.c (Fldap_open):
17384 * eldap.c (Fldap_search_internal):
17385 * frame-x.c (x_set_frame_text_value):
17386 * frame-x.c (x_set_frame_properties):
17387 * frame-x.c (x_create_widgets):
17388 * redisplay-tty.c (term_get_fkeys_1):
17389 * objects-x.c (x_parse_nearest_color):
17390 * objects-x.c (x_valid_color_name_p):
17391 * objects-x.c (x_initialize_font_instance):
17392 * objects-x.c (x_list_fonts):
17393 * objects-x.c (x_find_charset_font):
17394 * tooltalk.c (Fadd_tooltalk_message_arg):
17395 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17396 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17397 * process-unix.c (unix_create_process):
17398 * ntproc.c (sys_spawnve):
17399 * sound.c (Fplay_sound_file):
17400 * sound.c (Fplay_sound):
17401 * buffer.c (init_initial_directory):
17402 * buffer.c (init_buffer):
17403 * editfns.c (init_editfns):
17404 * editfns.c (Ftemp_directory):
17405 * editfns.c (Fuser_full_name):
17406 * editfns.c (uncache_home_directory):
17407 * editfns.c (get_home_directory):
17408 * editfns.c (Fuser_home_directory):
17409 * editfns.c (Fformat_time_string):
17410 * editfns.c (Fcurrent_time_string):
17411 * gui-x.c (button_item_to_widget_value):
17412 * database.c (Fopen_database):
17413 * event-Xt.c (x_to_emacs_keysym):
17414 * event-Xt.c (x_event_to_emacs_event):
17415 * event-Xt.c (describe_event_window):
17416 * event-msw.c (mswindows_wnd_proc):
17417 * glyphs-eimage.c (jpeg_instantiate):
17418 * glyphs-eimage.c (gif_instantiate):
17419 * glyphs-eimage.c (png_instantiate):
17420 * glyphs-eimage.c (tiff_instantiate):
17421 * glyphs-x.c (xbm_instantiate_1):
17422 * glyphs-x.c (x_xbm_instantiate):
17423 * glyphs-x.c (x_xface_instantiate):
17424 * glyphs-x.c (autodetect_instantiate):
17425 * glyphs-x.c (cursor_font_instantiate):
17426 * glyphs-x.c (x_widget_instantiate):
17427 * glyphs-x.c (x_widget_set_property):
17428 * glyphs-x.c (x_widget_property):
17429 * glyphs-x.c (BUILD_GLYPH_INST):
17430 * print.c (write_string_to_stdio_stream):
17431 * print.c (output_string):
17432 * print.c (Falternate_debugging_output):
17433 * print.c (Fexternal_debugging_output):
17434 * glyphs-msw.c (extract_xpm_color_names):
17435 * glyphs-msw.c (mswindows_xpm_instantiate):
17436 * glyphs-msw.c (bmp_instantiate):
17437 * glyphs-msw.c (resource_name_to_resource):
17438 * glyphs-msw.c (mswindows_resource_instantiate):
17439 * glyphs-msw.c (xbm_instantiate_1):
17440 * glyphs-msw.c (mswindows_xbm_instantiate):
17441 * glyphs-msw.c (mswindows_xface_instantiate):
17442 * glyphs-msw.c (mswindows_widget_instantiate):
17443 * glyphs-msw.c (add_tree_item):
17444 * glyphs-msw.c (add_tab_item):
17445 * glyphs-msw.c (mswindows_combo_box_instantiate):
17446 * glyphs-msw.c (mswindows_widget_property):
17447 * glyphs-msw.c (mswindows_combo_box_property):
17448 * glyphs-msw.c (mswindows_widget_set_property):
17449 * console.c (stuff_buffered_input):
17450 * objects-msw.c (mswindows_initialize_color_instance):
17451 * objects-msw.c (mswindows_valid_color_name_p):
17452 * objects-msw.c (mswindows_list_fonts):
17453 * objects-msw.c (mswindows_font_instance_truename):
17454 * bytecode.c (optimize_compiled_function):
17455 * select-x.c (symbol_to_x_atom):
17456 * select-x.c (x_atom_to_symbol):
17457 * select-x.c (hack_motif_clipboard_selection):
17458 * select-x.c (selection_data_to_lisp_data):
17459 * select-x.c (lisp_data_to_selection_data):
17460 * select-x.c (Fx_get_cutbuffer_internal):
17461 * select-x.c (Fx_store_cutbuffer_internal):
17462 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17463 * buffer.h (TO_INTERNAL_FORMAT): New function.
17464 * emacs.c (make_arg_list_1):
17465 * emacs.c (make_argc_argv):
17466 * emacs.c (main_1):
17467 * emacs.c (Fdump_emacs):
17468 * emacs.c (split_string_by_emchar_1):
17473 * device-x.c (x_init_device):
17474 * device-x.c (Fx_valid_keysym_name_p):
17475 * device-x.c (Fx_get_font_path):
17476 * device-x.c (Fx_set_font_path):
17477 * glyphs.c (bitmap_to_lisp_data):
17478 * glyphs.c (pixmap_to_lisp_data):
17479 * alloc.c (make_ext_string): Use coding system arguments. Update
17481 * alloc.c (build_string):
17482 * callproc.c (child_setup):
17483 * callproc.c (init_callproc):
17484 * fileio.c (lisp_strerror):
17485 * fileio.c (directory_file_name):
17486 * fileio.c (Fexpand_file_name):
17487 * fileio.c (Ffile_truename):
17488 * fileio.c (Fsysnetunam):
17489 * fileio.c (Fdo_auto_save):
17490 * sysdep.c (sys_readdir):
17491 * tests.c: New file. Allow adding C tests.
17492 Replace GET_* macros with a more comprehensible and flexible
17493 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17495 Any coding system can be used to do format conversion.
17496 Eliminate enum external_data_format.
17497 Eliminate convert_to_external_format.
17498 Eliminate convert_to_internal_format.
17499 Make sure file-name, keyboard, terminal, and ctext are always
17500 defined as coding systems or aliases. Make
17501 file-name-coding-system, terminal-coding-system, and
17502 keyboard-coding-system magical variables that are equivalent to
17503 defining the corresponding coding system aliases.
17505 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17506 * file-coding.c (Fcoding_system_alias_p): New function.
17507 * file-coding.c (Fcoding_system_aliasee): New function.
17508 * file-coding.c (append_suffix_to_symbol): New function.
17509 * file-coding.c (dangling_coding_system_alias_p): New function.
17510 * file-coding.c (Ffind_coding_system):
17511 * file-coding.c (Fcopy_coding_system):
17512 * file-coding.c (encode_coding_no_conversion):
17513 * file-coding.c (syms_of_file_coding):
17514 * file-coding.c (vars_of_file_coding):
17515 Rewrite coding system alias code.
17516 Allow nested aliases, like symbolic links.
17517 Allow redefinition of coding system aliases.
17518 Prevent existence of dangling coding system aliases.
17520 * dired.c (Fuser_name_completion_1):
17521 * dired.c (Fuser_name_all_completions):
17522 A crash would happen if user did QUIT in the middle of building
17523 user_name_cache. Remove redundant code in mainline and unwind_protect.
17526 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17528 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17529 an unsigned char *. Update all callers.
17531 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17533 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17535 2000-01-25 Martin Buchholz <martin@xemacs.org>
17537 * elhash.c (hentry_description): Use more portable definition.
17538 (resize_hash_table): Initialize new hentries using
17539 xnew_array_and_zero, thereby simplifying the code.
17541 * mule-charset.c (make_charset): Make sure entire object is
17542 initialized, to avoid Purify warnings.
17544 * alloc.c (resize_string): Fix unlikely crash with big strings.
17546 2000-01-24 Martin Buchholz <martin@xemacs.org>
17548 * realpath.c (xrealpath):
17549 Don't call getwd().
17551 2000-01-25 Martin Buchholz <martin@xemacs.org>
17553 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17555 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17557 * unexelfsgi.c (unexec): Change the way we decide which segment
17558 should be extended.
17560 Assumption that .bss section should be outside the PT_LOADable
17561 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17562 it's present) is inside the 'data' segment. This would fail the
17563 test which was used to find a segment to grow and cover new
17564 heap. Instead of this assumption, I created another one - on IRIX
17565 the segment to grow should start below .bss and it's address
17566 should extent above the end of .bss. Once this segment is
17567 identified, it's grown to accommodate the new heap and new
17568 zero-length .bss section is added at the end of .data2.
17570 2000-01-25 Martin Buchholz <martin@xemacs.org>
17572 * eval.c (Feval): Wrong number of arguments should use original
17573 function, not the indirect_function version of it.
17575 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17577 * glyphs-x.c (x_button_instantiate): Don't add image if
17578 it is not a pixmap.
17579 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17582 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17584 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17586 (DEFVAR_INT_MAGIC): Ditto.
17587 (DEFVAR_BOOL_MAGIC): Ditto.
17588 * glyphs.h: Reindent backslash.
17590 2000-01-24 Martin Buchholz <martin@xemacs.org>
17592 * glyphs-widget.c (layout_query_geometry):
17593 (layout_layout): Use correct types for gheight, gwidth.
17595 2000-01-24 Martin Buchholz <martin@xemacs.org>
17597 * EmacsManager.c (QueryGeometry): Purified.
17599 2000-01-23 Martin Buchholz <martin@xemacs.org>
17601 * alloc.c (make_float): Make sure entire object is initialized, to
17602 avoid Purify warnings.
17603 (pdump_register_sub): Remove useless assignment.
17604 (pdump): Use xmalloc, not malloc.
17605 (pdump_load): Use xmalloc, not malloc.
17607 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17614 * sysdep.c: Removed redundant #include <windows.h>
17616 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17618 * frame.c (delete_frame_internal): Do not delete device when its
17619 implementation so declares.
17620 (delete_frame_internal): Set device selected frame to nil when
17621 last frame goes away.
17623 * device-msw.c (msprinter_device_system_metrics): Implemented.
17624 (mswindows_device_system_metrics): Added 'device-dpi property.
17626 * device.c: (Fdevice_printer_p): Added.
17627 Added 'offset-workspace device metric.
17629 * console.h (device_metrics): Declared DM_offset_workspace.
17631 2000-01-23 Martin Buchholz <martin@xemacs.org>
17633 * fileio.c (Ffile_truename): Remove pointless and confusing
17634 initialization of elen.
17636 * glyphs-widget.c: Compiler warning fixes.
17638 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17640 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17641 instead of a Lisp_Object as argument to make it consistent with
17642 the other LIVE_P macros.
17643 (CHECK_LIVE_PROCESS): New macro.
17645 * process.c: Declare Qprocess_live_p.
17646 (Fprocess_live_p): New function.
17647 (create_process): Use PROCESS_LIVE_P.
17648 (read_process_output): Ditto.
17649 (set_process_filter): Ditto.
17650 (Fdelete_process): Ditto.
17651 (kill_buffer_processes): Ditto
17652 (process_send_signal): Use CHECK_LIVE_PROCESS.
17653 (Fprocess_input_coding_system): Check whether process is still
17654 alive (fix PR#1061).
17655 (Fprocess_output_coding_system): Ditto.
17656 (Fprocess_coding_system): Ditto.
17657 (Fset_process_input_coding_system): Ditto.
17658 (Fset_process_output_coding_system): Ditto.
17660 2000-01-23 Andy Piper <andy@xemacs.org>
17662 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17665 * glyphs.c (mark_image_instance): take into account changed
17666 image_instance format.
17667 (image_instance_equal): ditto.
17668 (image_instance_hash): ditto.
17670 * glyphs-widget.c (widget_instantiate): Incorporate layout
17671 instantiation here. Delay layout of the layout until later.
17672 (layout_instantiate): deleted.
17673 (layout_query_geometry): new function. get the geometry of a
17675 (layout_layout): layout a layout dynamically.
17676 (image_instantiator_widget): New function - splitting up
17677 image_instantiator_format_create_glyphs_widget for netwinder
17679 (image_instantiator_buttons):
17680 (image_instantiator_edit_fields):
17681 (image_instantiator_combo_box):
17682 (image_instantiator_scrollbar):
17683 (image_instantiator_progress_guage):
17684 (image_instantiator_tree_view):
17685 (image_instantiator_tab_control):
17686 (image_instantiator_labels):
17687 (image_instantiator_layout): ditto.
17688 (image_instantiator_format_create_glyphs_widget): Call preceding
17691 2000-01-22 Martin Buchholz <martin@xemacs.org>
17693 * process.c (Fset_process_coding_system):
17694 * device-x.c (Fx_keysym_hash_table):
17697 * lstream.c (Lstream_write): Return documented value, not 0.
17699 * fileio.c (directory_file_name):
17700 (Fsubstitute_in_file_name):
17701 (Fsubstitute_insert_file_contents_internal):
17702 (Fwrite_region_internal):
17707 Remove vestigial APOLLO-conditional code.
17709 2000-01-21 Martin Buchholz <martin@xemacs.org>
17711 * getpagesize.h: Add guard macros.
17712 * libsst.h: Add guard macros.
17713 * libst.h: Add guard macros.
17714 * line-number.h: Add guard macros.
17715 * ndir.h: Add guard macros.
17716 * sysfloat.h: Add guard macros.
17717 * sysfile.h: Add guard macros.
17718 * sysproc.h: Add guard macros.
17719 * syswait.h: Add guard macros.
17720 * xintrinsic.h: Add guard macros.
17721 * xintrinsicp.h: Add guard macros.
17722 * xmmanager.h: Add guard macros.
17723 * xmmanagerp.h: Add guard macros.
17724 * xmprimitive.h: Add guard macros.
17725 * xmu.h: Add guard macros.
17726 * gpmevent.h: Add copyright statement. Add guard macros.
17727 * miscplay.h: Add guard macros.
17728 * *.h: Use consistent C-standards-approved guard macro names.
17730 * opaque.c (make_opaque): Switch parameter order.
17731 * opaque.h (make_opaque): Switch parameter order.
17732 Update all callers.
17733 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17735 * config.h.in (type_checking_assert): Added.
17736 (bufpos_checking_assert): Added.
17738 2000-01-21 Martin Buchholz <martin@xemacs.org>
17740 * alloc.c: Harmless pdump changes.
17742 - spell alignment correctly.
17743 * sysdep.c: Use countof()
17745 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17747 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17748 initially_selected_for_input() console method, default to 0.
17749 (semi_canonicalize_console_connection): Try to delegate to
17750 canonicalize_console_connection if no such console method.
17751 (canonicalize_console_connection): Vice versa.
17752 (print_console): Do not print nil connection.
17754 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17755 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17756 (XDEVIMPF_FRAMELESS_OK): Added.
17757 (CONSOLE_INHERITS_METHOD): Added.
17759 * console-msw.c (mswindows_canonicalize_console_connection):
17761 (mswindows_canonicalize_device_connection): Added.
17763 * console-msw.h (struct msprinter_device): Added this struct and
17765 (mswindows_device): Made fontlist a lisp object.
17767 * device.c (semi_canonicalize_device_connection): Try to delegate
17768 to canonicalize_device_connection if no such console method.
17769 (canonicalize_device_connection): Vice versa.
17770 (print_device): Do not print nil connection.
17772 * device-msw.c (mswindows_init_device): Call InitCommonControls
17774 (mswindows_delete_device): Removed fontlist deallocation.
17775 (mswindows_mark_device): Added.
17777 * events.c (event_equal): Added abort() at unreached code.
17778 (event_hash): Ditto.
17780 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17781 fallback tags of Windows devices.
17783 * general.c (syms_of_general): Initialized Qmsprinter.
17785 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17786 of fallback tags of Windows devices.
17788 * lisp.h: Declared Qmsprinter.
17790 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17792 (mswindows_list_fonts): Ditto.
17793 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17794 that it can be used by both mswindows and msprinter devices.
17795 (initialize_font_instance): Added.
17796 (mswindows_initialize_font_instance): Use it.
17797 (msprinter_initialize_font_instance): Added.
17799 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17800 and implementation flags check.
17801 (redisplay_without_hooks): Changed the call to the above.
17802 (Fredraw_device): Ditto.
17803 (Fredisplay_device): Ditto.
17805 * redisplay-msw.c (get_frame_dc): Implemented.
17806 (get_frame_compdc): Implemented.
17807 (many functions): Use the two functions above to get device
17808 contexts, ether for a window or a printer.
17810 2000-01-21 Olivier Galibert <galibert@pobox.com>
17812 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17813 initialization here.
17814 (init_symbols_once_early): Call it.
17815 * emacs.c (main_1): Call it.
17816 * symsinit.h: Declare it.
17818 2000-01-19 Olivier Galibert <galibert@pobox.com>
17820 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17822 (pdump_backtrace): Ditto.
17823 (pdump_register_object): Ditto. Cleanup use of the pointers.
17824 (pdump_get_entry): Abort if trying to register a null pointer.
17825 (pdump_dump_data): Cleanup types when relocating.
17826 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17827 (pdump_dump_rtables): Remove bad casts.
17828 (pdump_load): Cleanup relocation w.r.t union type. Use a
17829 Lisp_Object instead of a EMACS_INT for the hashtable
17832 2000-01-20 Martin Buchholz <martin@xemacs.org>
17834 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17836 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17838 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17840 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17842 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17844 * faces.h (FACE_STRIKETHRU_P): Added.
17846 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17849 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17850 (mswindows_set_dc_font): New function, aware of font variants,
17851 separated from mswindows_update_dc.
17853 * objects-msw.h (struct mswindows_font_instance_data): Added
17856 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17857 cached fonts and the data structure.
17858 (mswindows_initialize_font_instance): Added creation of font data
17860 (mswindows_print_font_instance): Print at least something.
17861 (mswindows_create_font_variant): Implemented.
17862 (mswindows_get_hfont): Implemented.
17864 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17866 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17867 prototyping problem with msvc.
17869 * emacs.c (main_1): added syms_of_gui_mswindows() call
17871 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17872 syms_of_gui_mswindows() function
17874 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17876 2000-01-18 Martin Buchholz <martin@xemacs.org>
17878 * XEmacs 21.2.27 is released.
17880 2000-01-18 Martin Buchholz <martin@xemacs.org>
17882 * glyphs-eimage.c (struct tiff_error_struct):
17884 (tiff_warning_func):
17885 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17890 * unexec.c: Remove vestigial Lucid C code.
17894 * libsst.c: Ansify.
17895 Remove declarations of errno and strerror().
17897 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17899 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17901 2000-01-16 Martin Buchholz <martin@xemacs.org>
17903 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17906 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17911 Change enum eol_type to eol_type_t.
17913 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17915 * gui.c (get_gui_callback): Check cons before accessing car.
17917 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17919 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17920 (XSETSPECIFIER_TYPE): Ditto.
17922 2000-01-17 Didier Verna <didier@xemacs.org>
17924 * redisplay.c (generate_fstring_runes): compute string size in
17925 characters, not bytes.
17927 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17929 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17931 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17933 * print.c (print_error_message): Call print_prepare().
17935 2000-01-14 Martin Buchholz <martin@xemacs.org>
17937 * .dbxrc: Renamed from dbxrc.
17939 * events.c (event_to_character):
17940 Use `assert (foo)' instead of `if (!foo) abort()'
17942 * .gdbinit (xtype): Add documentation.
17943 * .gdbinit (check-temacs): New function.
17944 * .gdbinit (check-xemacs): New function.
17945 * dbxrc (check-xemacs): New function.
17946 * dbxrc (check-xemacs): New function.
17948 2000-01-14 Andy Piper <andy@xemacs.org>
17950 * glyphs-widget.c (widget_query_geometry): Make sure that we
17951 calculate default dimensions correctly.
17953 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17955 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17957 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17958 pdump_wire'd variable.
17960 * emacs.c: (main_1): Conditionalized calls to
17961 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17963 2000-01-13 Martin Buchholz <martin@xemacs.org>
17965 * window.c (Fset_window_configuration):
17966 * sysdep.c (_start):
17967 * input-method-motif.c (res):
17968 * event-Xt.c (Xt_process_to_emacs_event):
17969 Simple compiler warning fixes.
17971 * bytecode.c (funcall_compiled_function): Use the original
17972 function symbol on the backtrace list in preference to the
17973 compiled_function object in error messages.
17975 2000-01-13 Andy Piper <andy@xemacs.org>
17977 * glyphs-x.c (update_widget_face): Make sure we update the widget
17978 background as well as foreground.
17980 2000-01-13 Andy Piper <andy@xemacs.org>
17982 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17983 fields to subwindow.
17984 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17985 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17986 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17987 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17989 * glyphs-widget.c (check_valid_tab_orientation): new function.
17990 (initialize_widget_image_instance): zero orientation and
17992 (widget_instantiate): pick up orientation.
17993 (tab_control_query_geometry): return appropriate values for
17996 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17997 appropriate creation flags for left, right and bottom tabs.
17999 * s/cygwin32.h: add tab definitions.
18001 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
18003 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
18004 frame upon hiding a subwindow.
18005 (mswindows_button_instantiate): Changed the push button style to
18007 (mswindows_button_instantiate): Removed button BS_NOTIFY
18009 (mswindows_button_instantiate): Removed redundant check for
18010 a disabled gui item.
18011 (mswindows_button_instantiate): Made use of WS_TABSTOP
18012 consistent: "operable" controls (edit, button, tree, scroll) have
18013 this style, "display-only" ones (static, progress gauge) do
18014 not. This style is currently ignored by XEmacs though. Also,
18015 removed the WS_EX_CONTROLPARENT style - it is not for children,
18016 it is for their parents!
18017 (mswindows_edit_field_instantiate): Ditto.
18018 (mswindows_progress_gauge_instantiate): Ditto.
18019 (mswindows_tree_view_instantiate): Ditto.
18020 (mswindows_tab_control_instantiate): Ditto.
18021 (mswindows_scrollbar_instantiate): Ditto.
18022 (mswindows_combo_box_instantiate): Ditto.
18023 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
18024 style to the "clip" window.
18025 (mswindows_button_instantiate): Removed compilation warning by
18026 equally typing terms of the ?: operator.
18028 2000-01-12 Didier Verna <didier@xemacs.org>
18030 * redisplay.c (generate_fstring_runes): new parameter holding the
18031 last modeline-format extent.
18032 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
18033 extent, fill the glyph block with it.
18034 (generate_fstring_runes): handle these parameters.
18035 (generate_formatted_string_db): ditto.
18037 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
18038 glyphs'extents in the modeline.
18040 1999-01-11 Mike Woolley <mike@bulsara.com>
18042 * ntheap.c: Reduced the reserved heap space from 1Gb down to
18043 256Mb, as a workaround for the non-starting problem many people
18046 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
18048 * console-tty.c (Fset_console_tty_output_coding_system):
18049 Force redrawing tty frame.
18051 2000-01-10 Didier Verna <didier@xemacs.org>
18053 * redisplay.c (generate_fstring_runes): fix size computation bug.
18055 2000-01-09 William M. Perry <wmperry@aventail.com>
18057 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
18059 2000-01-09 Andy Piper <andy@xemacs.org>
18061 * glyphs-msw.c: index -> i to avoid shadows.
18062 (xbm_create_bitmap_from_data): make static.
18063 (check_valid_string_or_int): deleted.
18064 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
18066 * glyphs-x.c (x_update_subwindow): remove unused args.
18068 * glyphs.c (glyph_image_instance): return the thing. Don't set the
18069 back pointer - this is done in allocate_image_instance.
18070 (query_string_font): return Qnil to make the compiler happy.
18071 (unmap_subwindow): set to ~0 to make the compiler happy.
18072 (glyph_query_geometry): comment out until used.
18073 (glyph_layout): ditto.
18075 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
18077 * insdel.c (signal_after_change): Remove extraneous unbind_to().