1 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * chartab.c (syms_of_chartab): Define
4 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
6 * chartab.h (Q_denotational): New extern when UTF2000 or
7 HAVE_CONCORD is defined.
8 (Q_denotational_from): Likewise.
9 (Q_subsumptive): Likewise.
10 (Q_subsumptive_from): Likewise.
12 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * concord.c (concord_object_put): New function.
15 (Fconcord_object_put): Use `concord_object_put'.
17 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * concord.c (Fconcord_define_object): New function.
20 (syms_of_concord): Add new builtin function
21 `concord-define-object'.
23 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
25 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
28 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * concord.c: Add EXFUN for Fconcord_object_get.
31 (Vconcord_genre_object_hash_table): New variable.
32 (concord_genre_cache_get_object): New function.
33 (concord_genre_cache_put_object): New function.
34 (Fconcord_make_object): Use object cache; put object-ID into `=id'
36 (Fconcord_object_put): Call `concord_index_sync' after
37 `concord_index_strid_put_obj'.
38 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
40 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
42 * concord.c (Fconcord_decode_object): Do GCPRO for
44 (func_for_each_object): Likewise; do GCPRO for
45 for_each_object_closure->function.
46 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
47 for_each_object_closure->function, for_each_object_closure->genre,
48 for_each_object_closure->ds and for_each_object_closure->ret.
49 (concord_object_validate): Do GCPRO for Fconcord_make_object.
51 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
53 * concord.c: Add EXFUNs for Fconcord_decode_object and
55 (Fconcord_make_object): Change order of arguments.
56 (Fconcord_decode_object): Modify for Fconcord_make_object.
57 (func_for_each_object): Likewise.
58 (concord_object_validate): Likewise.
59 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
61 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
63 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
65 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
67 * concord.c (Fconcord_decode_object): Try to use readable print
68 form as a key of Concord-index.
69 (Fconcord_object_get): Try to use readable print form as an ID of
71 (Fconcord_object_put): Try to use readable print form as an ID of
72 Concord-object and a feature value.
73 (Fconcord_object_spec): Try to use readable print form as an ID of
76 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * concord.c (print_concord_object): Support readable form.
80 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * emacs.c (main_1): Call `structure_type_create_concord' when
83 HAVE_CONCORD is defined.
85 * symsinit.h (structure_type_create_concord): New prototype.
87 * concord.c (Qconcord_object): New variable.
90 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
92 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
93 char*> for genre-name.
94 (Fconcord_feature_list): Likewise.
95 (Fconcord_make_object): Likewise.
96 (Fconcord_decode_object): Likewise; use <char*> instead of
97 <unsigned char*> for feature_name and strid.
98 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
99 c_obj and feature_name.
100 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
102 (struct closure_for_object_spec): Use <char*> instead of <unsigned
103 char*> for member `object_id'.
104 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
105 char*> for feature-name.
106 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
108 (func_for_each_object): Cast to avoid warnings.
109 (Fconcord_foreach_object_in_feature): Use <char*> instead of
110 <unsigned char*> for genre_name and feature_name.
111 (concord_name_validate): New function.
112 (concord_object_validate): Likewise.
113 (concord_object_instantiate): Likewise.
114 (syms_of_concord): Add new builtin symbols `concord-object',
116 (structure_type_create_concord): New function.
118 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
120 * concord.c (Vconcord_ds_hash_table): New variable.
121 (Vconcord_genre_hash_table): New variable.
122 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
123 (Fconcord_ds_directory): New function.
124 (Fconcord_assign_genre): New function.
125 (Fconcord_genre_directory): New function.
126 (Fconcord_genre_ds): New function.
127 (Fconcord_feature_list): Allow to omit `ds'.
128 (Fconcord_make_object): Likewise.
129 (Fconcord_decode_object): Likewise.
130 (Fconcord_foreach_object_in_feature): Likewise.
131 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
132 Fconcord_assign_genre, Fconcord_genre_directory and
134 (vars_of_concord): Setup Vconcord_ds_hash_table and
135 Vconcord_genre_hash_table.
137 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * concord.c (struct closure_for_each_object): Add new member
141 (func_for_each_object): Setup the return value to
142 `for_each_object_closure->ret'.
143 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
144 returns the value instead of Qt.
146 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
148 * concord.c: New file.
150 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
152 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
153 `lrecord_type_concord_object'.
155 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * symsinit.h (syms_of_concord): New prototype.
158 (vars_of_concord): New prototype.
160 * emacs.c (main_1): Setup symbols and variable about concord if
161 HAVE_CONCORD is defined.
163 * config.h.in (HAVE_CONCORD): New macro.
165 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * chartab.c (Fput_char_attribute): For each character relation
168 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
170 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * chartab.c (Fput_char_attribute): Use
173 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
174 calling `put_char_composition'.
176 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
178 * chartab.c (Q_halfwidth_of): New variable.
179 (put_char_composition): Return `<-halfwidth' instead of
180 `=decomposition' for compatibility mapping to single character
182 (Fput_char_attribute): Convert char-specs in value of
183 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
184 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
186 (syms_of_chartab): Add new symbol `<-halfwidth'.
188 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
190 * chartab.c (put_char_composition): Return
191 `<-formed@{isolated|initial|medial|final}' for compatibility
192 mapping to single character tagged
193 `{isolated|initial|medial|final}'.
195 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
197 * chartab.c (Q_compat_of): Deleted.
198 (put_char_composition): Return `<-FOO' for compatibility mapping
199 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
200 of `symbol_name (XSYMBOL(...))'.
201 (Fput_char_attribute): Convert char-specs in value of
202 `{<-|->}font[^*]*' to characters and put reverse links.
203 (Fsave_char_attribute_table): Don't refer Q_compat_of.
204 (syms_of_chartab): Delete builtin symbol `<-compat'.
206 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
208 * chartab.c (Q_circled_of): New variable.
209 (put_char_composition): Return `<-circled' instead of
210 `=decomposition' for compatibility mapping to single character
212 (Fput_char_attribute): Convert char-specs in value of
213 `{<-|->}circled[^*]*' to characters and put reverse links.
214 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
216 (syms_of_chartab): Add new symbol `<-circled'.
218 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
220 * chartab.c (Qto_decomposition_at_circled): New variable.
221 (put_char_composition): Return `=>decomposition@circled' instead
222 of `=decomposition' for compatibility decomposition mapping tagged
224 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
226 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * chartab.c (Q_subscript_of): New variable.
229 (put_char_composition): Return `<-subscript' instead of
230 `=decomposition' for compatibility mapping to single character
232 (Fput_char_attribute): Convert char-specs in value of
233 `{<-|->}subscript[^*]*' to characters and put reverse links.
234 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
236 (syms_of_chartab): Add new symbol `<-subscript'.
238 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * chartab.c (Q_superscript_of): New variable.
241 (put_char_composition): Return `<-superscript' instead of
242 `=decomposition' for compatibility mapping to single character
244 (Fput_char_attribute): Convert char-specs in value of
245 `{<-|->}superscript[^*]*' to characters and put reverse links.
246 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
248 (syms_of_chartab): Add new symbol `<-superscript'.
250 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
252 * chartab.c (Qto_decomposition_at_compat): Deleted.
253 (Qto_decomposition_at_superscript): New variable.
254 (put_char_composition): Use `=>decomposition@superscript' instead
255 of `=decomposition' for compatibility decomposition mapping tagged
257 (Fput_char_attribute): Fix condition about `put_char_composition'.
258 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
259 add news symbol `=>decomposition@superscript'.
261 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
263 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
264 for compatibility decomposition mapping tagged FOO.
265 (Fput_char_attribute): Modify for `put_char_composition'.
267 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
269 * chartab.c (Qto_decomposition_at_compat): New variable.
270 (Q_compat_of): Renamed from `Q_compatibility_of'.
271 (put_char_composition): Rename `Q_compatibility_of' to
272 `Q_compat_of'; return `=>decomposition@compat' for compatibility
273 decomposition mapping.
274 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
276 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
277 `<-compatibility' to `<-compat'.
279 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
281 * chartab.c (Q_compatibility_of): New variable.
282 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
283 object is proved to be a cons cell; return `<-compatibility' if
284 the first element of argument `value' is `compat'.
285 (Fput_char_attribute): Eliminate the first value if
286 `put_char_composition' returns `<-compatibility'.
287 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
288 for `<-compatibility'.
289 (syms_of_chartab): Add new symbol `<-compatibility'.
291 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
293 * chartab.c (Q_canonical): New variable.
294 (put_char_composition): Return a feature name: return
295 `->canonical' if argument `value' specifies single character.
296 (Fput_char_attribute): Use `put_char_composition' to determine
297 feature name for `=decomposition' or `->denotational'.
298 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
300 (syms_of_chartab): Add new symbol `->canonical'.
302 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * chartab.c (Qmap_decomposition): New variable.
305 (Fput_char_attribute): Convert `->decomposition' to
307 (syms_of_chartab): Add new symbol `=decomposition'.
309 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
311 * chartab.c (Fget_range_char_table): Fix serious problem when
314 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
316 * chartab.c (char_table_get_db): Use `read_from_c_string'.
318 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
320 * lread.c (read_from_c_string): New function.
322 * lisp.h (read_from_c_string): New prototype.
324 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * chartab.c (Fput_char_attribute): Convert char-specs in value of
327 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
328 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
329 for `{<-|->}Oracle-Bones[^*]*'.
331 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
333 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
336 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * text-coding.c (Qccs_priority_list): New variable in XEmacs
340 (Fmake_coding_system): Support new property `ccs-priority-list' in
342 (Fcoding_system_property): Likewise.
343 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
344 Vdefault_coded_charset_priority_list in XEmacs CHISE.
345 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
347 (complex_vars_of_file_coding): Define new coding-system-property
348 `ccs-priority-list' in XEmacs CHISE.
350 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
352 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
354 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
355 changed to normal function.
356 (encode_char_2): Likewise.
358 * mule-charset.c (decoding_table_put_char): Copied from
359 char-ucs.h; changed to normal function.
360 (encode_char_2): Likewise.
362 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
366 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
367 (encode_char_2_search_children): New inline function.
368 (encode_char_2): Refer
369 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
370 and use `encode_char_2_search_children'.
372 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
375 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
376 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
377 (vars_of_mule_charset): Add new variable
378 `display-coded-charset-priority-use-inheritance' and
379 `display-coded-charset-priority-use-hierarchy-order'.
381 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
383 * char-ucs.h (Q_subsumptive): New extern.
384 (Q_denotational): Likewise.
385 (encode_char_2): Search children specified by `->subsumptive' and
388 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * mule-charset.c (complex_vars_of_mule_charset): Modify the
391 X-registry of `ucs-bmp'.
393 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * chartab.c (char-variants): Refer `->subsumptive',
396 `->denotational' and `->identical' as same as `->ucs-unified'.
398 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * chartab.c (Fput_char_attribute): Convert char-specs in value of
401 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
404 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 * text-coding.c: Add EXFUN for `Fregexp_quote'.
407 (decode_add_er_char): Fix problem about infinite loop when a CCS
408 specified in `coded-charset-entity-reference-alist' is not
411 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
413 * mule-charset.c (syms_of_mule_charset): Rename
414 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
416 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
418 * fns.c (simplify_char_spec): Don't allocate new character-object
419 if specified char_spec does not have any CCS-features.
421 * chartab.h: Add EXFUN for Fdefine_char.
423 * chartab.c: Delete EXFUN for Fdefine_char.
425 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
427 * fns.c (simplify_char_spec): Use Fdefine_char instead of
428 Ffind_char for char-spec.
430 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * lisp-disunion.h (XCHARVAL): Fix condition about
435 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
437 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
439 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
440 point; use <Emchar> instead of <int> for character-id.
442 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
445 (make_char): Likewise.
446 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
448 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
449 instead of <int> as the type of return value; use <Lisp_Object>
450 instead of <Emchar> as the type of argument.
451 (XCHARVAL[macro version]): Cast the result into <Emchar>.
453 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
454 syntaxcode> instead of <int>.
456 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * chartab.c (put_char_composition): Use DECODE_CHAR to get
459 character corresponding with UCS code point.
460 (Fput_char_attribute): Likewise.
462 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
463 character in the UCS decoding-table if the char-id is not equal to
466 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
469 for aliases; write `description'; write
470 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
473 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * chartab.c (Fsave_char_attribute_table): Don't use
476 `save_charset_properties'.
478 * mule-charset.c (Fsave_charset_properties): Renamed from
479 `save_charset_properties' and changed to Lisp function again;
480 write property `type' as `CCS'; write properties `final-byte' and
481 `mother' if they exists.
482 (syms_of_mule_charset): Revive builtin function
483 `save-charset-properties' when HAVE_LIBCHISE is defined.
485 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
487 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
488 instead of Vexec_directory.
489 (char_attribute_system_db_file): Likewise.
491 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
493 * chartab.c (Fsave_char_attribute_table): Use
494 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
497 * mule-charset.c (save_charset_properties): Renamed from
498 `Fsave_charset_properties'; changed to non-Lisp function.
499 (syms_of_mule_charset): Abolish builtin function
500 `save-charset-properties'.
502 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
504 * mule-charset.c (Fsave_charset_properties): New function when
505 HAVE_LIBCHISE is defined.
506 (syms_of_mule_charset): Add new builtin function
507 `save-charset-properties' when HAVE_LIBCHISE is defined.
509 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
511 * chartab.c (Fput_char_attribute): Convert char-specs in value of
512 `{<-|->}ancient[^*]*' to characters and put reverse links.
513 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
514 for `{<-|->}ancient[^*]*'.
516 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * chartab.c (Fput_char_attribute): Convert char-specs in value of
519 `{<-|->}original[^*]*' to characters and put reverse links.
520 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
521 for `{<-|->}original[^*]*'.
523 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
525 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
527 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
529 * mule-charset.c (Qsystem_char_id): New variable.
531 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
532 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
534 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
536 * chartab.c (Fput_char_attribute): When processing a reference of
537 a character, put into the end of the reversed reference of each
540 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * chartab.c (Q_same): Deleted.
543 (Q_same_of): Deleted.
544 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
545 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
547 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
549 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
551 * chartab.c (Q_vulgar): Deleted.
552 (Q_vulgar_of): Deleted.
553 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
554 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
556 (syms_of_chartab): Don't define `{<-|->}vulgar'.
558 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
560 * chartab.c (Fput_char_attribute): Convert char-specs in value of
561 `{<-|->}wrong[^*]*' to characters and put reverse links.
562 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
563 for `{<-|->}wrong[^*]*'.
565 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
567 * chartab.c (Q_vulgar): New variable.
568 (Q_vulgar_of): New variable.
569 (Fput_char_attribute): Convert char-specs in value of
570 `{->|<-}vulgar' to characters and put reverse links.
571 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
573 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
575 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * text-coding.c (decode_add_er_char): Must to quote prefix string
580 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * mule-charset.c (put_char_ccs_code_point): Store characters of
583 =ucs whose code_points >= 0xF0000.
585 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
589 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
591 (complex_vars_of_mule_charset): Add new coded-charset
592 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
593 builtin characters over 0xEFFFF.
595 * chartab.c (syms_of_chartab): Don't define symbol
596 `system-char-id' in every case.
598 * char-ucs.h (Qsystem_char_id): New extern variable.
599 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
601 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
603 * text-coding.c (char_encode_utf8): Try to use entity-references
604 for U-000F0000 ... U-0010FFFF.
606 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
608 * text-coding.c (ER_BUF_SIZE): New macro.
609 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
611 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
612 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
614 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
616 * chartab.c (find_char_feature_in_family): New function.
617 (Fchar_feature): Use `find_char_feature_in_family' with
618 `->identical', `<-subsumptive' and `<-denotational'.
620 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
622 * text-coding.c (char_encode_as_entity_reference): Allow prefix
623 within 8 characters; fix infinite loop.
625 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
627 * chartab.c (Q_same): New variable.
628 (Q_same_of): New variable.
629 (Fput_char_attribute): Convert char-specs in value of
630 `{->|<-}same' to characters and put reverse links.
631 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
633 (syms_of_chartab): Add new symbols `{->|<-}same'.
635 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * chartab.c (Q_component): New variable.
638 (Q_component_of): Likewise.
639 (Fput_char_attribute): Convert char-specs in value of
640 `{->|<-}ideographic-component-forms' to characters and put reverse
642 (syms_of_chartab): Add new symbols
643 `{->|<-}ideographic-component-forms'.
645 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
647 * chartab.c (Q_identical): New variable.
648 (Q_identical_from): New variable.
649 (Fchar_feature): Regard `->identical' as a feature to find
651 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
652 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
653 for `{->|<-}identical'.
654 (syms_of_chartab): Add new symbols `{->|<-}identical'.
656 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
658 * char-ucs.h (encode_char_2): New inline function.
659 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
661 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
663 * chartab.c (Fput_char_attribute): Convert char-specs to
664 characters in value of `ideographic-structure'.
665 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
666 for `{<-|->}simplified(@...)'.
667 (Fdefine_char): Try to use predefined character's id.
669 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
671 * fns.c (simplify_char_spec): Try to convert builtin chars to
674 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * chartab.c (Fput_char_attribute): Convert char-specs in value of
677 `<-simplified[^*]*' to characters and put reverse links.
679 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
681 * chartab.c (Q_subsumptive): Renamed from Q_unified.
682 (Q_subsumptive_from): Renamed from Q_unified_from.
683 (Fchar_feature): Use `Q_subsumptive_from' instead of
685 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
687 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
688 `<-unified' to `<-subsumptive'.
690 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
692 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
693 inheritance itself; fix typo; stop recursive search if cyclic
694 inheritance is found.
696 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
698 * chartab.c (Q_denotational): New variable.
699 (Q_denotational_from): New variable.
700 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
701 (put_char_attribute): New function.
702 (Fput_char_attribute): Use `put_char_attribute'; regard
703 `->denotational' and `<-denotational' as same as `->unified' and
705 (syms_of_chartab): Add new symbols `->denotational' and
708 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
710 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
711 `Fget_char_attribute'.
712 (Fchar_variants): Likewise.
713 (get_char_table): Likewise.
714 (Fchar_feature): New function.
715 (put_char_composition): Use `Fchar_feature' instead of
716 `Fget_char_attribute'.
717 (Fput_char_attribute): Likewise; don't put the target character
718 into its `->unified' value.
719 (syms_of_chartab): Add new builtin function `char-feature'.
721 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
724 `Fget_char_attribute'.
725 (char_encode_utf8): Likewise.
727 * chartab.h: Add an EXFUN for `Fchar_feature'.
729 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * chartab.c (Vnext_defined_char_id): New variable.
732 (Fput_char_attribute): Accept characters in `->unified'.
733 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
734 new characters which are not related with builtin char-id ranges.
735 (vars_of_chartab): Add new variable `next-defined-char-id'.
737 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
739 * chartab.c (Q_unified): New variable.
740 (Q_unified_from): New variable.
741 (Fput_char_attribute): Add code for `->unified'.
742 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
745 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
747 * mule-charset.c (decode_ccs_conversion): New function.
748 (decode_defined_char): Use `decode_ccs_conversion'.
749 (decode_builtin_char): Likewise.
751 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
753 * char-ucs.h: Change some charset-ids of private coded-charsets.
755 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
757 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
758 (char_encode_as_entity_reference): Likewise.
759 (decode_coding_big5): Modify for `decode_defined_char' and
761 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
762 avoid compiler warning.
763 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
765 * mule-charset.c (decode_defined_char): Add new argument
766 `without_inheritance'.
767 (Fdecode_char): Add new optional argument `without_inheritance'.
768 (Fdecode_builtin_char): Modify for `Fdecode_char'.
770 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
771 (simplify_char_spec): Likewise.
773 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
776 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
777 (map_char_table): Likewise.
778 (Fdefine_char): Use `Fdecode_char' without inheritance.
779 (Ffind_char): Modify for `Fdecode_char'.
781 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
783 * char-ucs.h (decode_defined_char): Add new argument
784 `without_inheritance'.
785 (DECODE_CHAR): Likewise.
786 (MAKE_CHAR): Modify for `DECODE_CHAR'.
788 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
790 * chartab.c (Vchise_system_db_directory): New variable.
791 (vars_of_chartab): Add new variable `chise-system-db-directory'.
793 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
795 * chartab.c: EXFUN `Fmount_char_attribute_table'.
796 (print_chartab_range): Don't define when `UTF2000' is defined.
797 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
800 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
802 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
803 and optional argument `rehash' is specified, call
804 `open_chise_data_source_maybe' before
805 `chise_ds_foreach_char_feature_name' is called.
807 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
809 * chartab.c (char_attribute_list_reset_map_func): New function
810 when HAVE_LIBCHISE is defined.
811 (Fchar_attribute_list): Add new optional argument `rehash' when
812 HAVE_LIBCHISE is defined.
813 (open_chise_data_source_maybe): Use "chise-db" instead of
815 (char_attribute_system_db_file): Likewise.
816 (Fload_char_attribute_table): Use
817 `chise_feature_foreach_char_with_value' instead of
818 `chise_char_feature_value_iterate'.
820 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
822 * chartab.c (Vchise_db_directory): New variable.
823 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
825 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
827 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
828 instead of HAVE_CHISE to specify using with libchise.
830 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
832 * chartab.h: Don't use HAVE_CHISE_CLIENT.
834 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
835 defined or HAVE_LIBCHISE_LIBCHISE is defined.
836 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
838 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
839 HAVE_CHISE to specify using with libchise.
840 (syms_of_chartab): Don't define symbol `system-char-id' when
841 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
843 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
845 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
846 specify CHISE DB support.
847 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
848 of `char_attribute_system_db_file' to check feature DB file.
850 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
851 HAVE_CHISE_CLIENT to specify CHISE DB support.
853 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
854 specify CHISE DB support.
855 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
857 (Freset_char_attribute_table): Use `chise_feature_setup_db'
858 instead of `char_attribute_system_db_file' to check feature DB
861 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
863 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
866 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
868 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
869 (Fsave_charset_mapping_table): Don't use
870 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
872 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
873 (HAVE_LIBCHISE): New macro.
875 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
877 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
878 (Fsave_char_attribute_table): Don't use
879 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
881 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
883 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
885 (save_uint16_byte_table): Likewise.
886 (save_byte_table): Likewise.
887 (char_table_get_db): Use `chise_ds_load_char_feature_value'
888 instead of `chise_char_load_feature_value'.
889 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
891 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
893 * chartab.h (struct Lisp_Char_Table): Delete member
894 `feature_table' if CHISE is defined.
896 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
897 (Fcopy_char_table): Likewise.
898 (char_table_open_db_maybe): Likewise.
899 (char_table_close_db_maybe): Likewise.
900 (char_table_get_db): Likewise.
901 (Fmount_char_attribute_table): Likewise.
902 (Fload_char_attribute_table): Likewise.
904 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
906 * mule-charset.c (load_char_decoding_entry_maybe): Use
907 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
910 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
912 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
913 instead of `chise_open_data_source'.
914 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
917 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
919 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
920 instead of `chise_ds_open_feature_table'.
921 (char_table_close_db_maybe): Don't use `chise_ft_close'.
923 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
925 * mule-charset.c (Fsave_charset_mapping_table): Use
926 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
927 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
928 `chise_ccs_sync' instead of `chise_ccst_close'.
929 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
931 * chartab.c (open_chise_data_source_maybe): Modify for
932 `chise_open_data_source'.
933 (char_table_open_db_maybe): Modify for
934 `chise_ds_open_feature_table'.
936 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
938 * mule-charset.c (load_char_decoding_entry_maybe): Use
939 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
942 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
944 * mule-charset.c (Fsave_charset_mapping_table): Use
945 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
946 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
947 `chise_dt_put_char' and `chise_dt_close'.
948 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
949 `chise_ccs_decode' and `chise_ccst_close' instead of
950 `chise_ds_open_decoding_table', `chise_dt_get_char' and
953 * chartab.c (char_table_get_db): Use
954 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
955 (load_char_attribute_table_map_func): Modify for
956 `chise_char_feature_value_iterate'.
957 (Fload_char_attribute_table): Use
958 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
960 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
962 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
964 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
966 * chartab.c (put_char_table): Modify for inherited coded-charsets
969 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
971 * chartab.c (Fput_char_table_map_function): Fixed.
972 (word_boundary_p): Don't check charset in XEmacs CHISE.
974 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
976 * mule-charset.c (Fsave_charset_mapping_table): Use
977 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
978 instead of `chise_open_decoding_table'; refer
979 `default_chise_data_source'; use `chise_dt_close' instead of
980 `chise_close_decoding_table'.
981 (load_char_decoding_entry_maybe): Likewise.
983 * chartab.c (default_chise_data_source): New variable when `CHISE'
985 (Fcopy_char_table): `ct->ds' is deleted.
986 (open_chise_data_source_maybe): New function.
987 (Fclose_char_data_source): New function.
988 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
989 use `chise_ds_open_feature_table' instead of
990 `chise_open_feature_table'.
991 (char_table_close_db_maybe): Use `chise_ft_close' instead of
992 `chise_close_feature_table'; `cit->ds' is deleted.
993 (syms_of_chartab): Add new builtin function
994 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
996 * chartab.h (default_chise_data_source): New extern variable.
997 (open_chise_data_source_maybe): New prototype.
998 (struct Lisp_Char_Table): Delete `ds'.
1000 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1002 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1005 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1007 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1008 not defined; add code for non-libchise setting.
1009 (char_table_close_db_maybe): Likewise.
1010 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1012 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1013 even if `CHISE' is not defined.
1014 (Freset_char_attribute_table): Likewise.
1015 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1016 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1017 `char_table_get_db'.
1018 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1019 `char_table_close_db_maybe' even if `CHISE' is not defined.
1021 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1023 * chartab.c (char_table_open_db_maybe): New function.
1024 (char_table_close_db_maybe): New function.
1025 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1026 (Freset_char_attribute_table): Likewise.
1027 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1028 `char_table_close_db_maybe'.
1029 (Fload_char_attribute_table): Likewise.
1031 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1033 * chartab.c: Don't include <chise.h> because it is included in
1035 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1037 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1039 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1041 (Fclose_char_attribute_table): Close `ct->feature_table' and
1042 `ct->ds' when `CHISE' is defined.
1043 (Freset_char_attribute_table): Likewise.
1044 (load_char_attribute_maybe): Use `cit->ds' and
1045 `cit->feature_table' when `CHISE' is defined.
1046 (Fload_char_attribute_table): Likewise.
1048 * chartab.h: Include <chise.h> when `CHISE' is defined.
1049 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1050 when `CHISE' is defined.
1052 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1054 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1056 (char_table_description): Likewise.
1057 (Fmake_char_table): Likewise.
1058 (Fcopy_char_table): Likewise.
1059 (Fmount_char_attribute_table): Likewise.
1060 (Fclose_char_attribute_table): Likewise.
1061 (Freset_char_attribute_table): Likewise.
1062 (load_char_attribute_maybe): Likewise.
1063 (Fload_char_attribute_table): Likewise.
1065 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1068 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1070 * chartab.c (load_char_attribute_table_map_func): New function
1071 when CHISE is defined.
1072 (Qload_char_attribute_table_map_function): Don't define when CHISE
1074 (Fload_char_attribute_table_map_function): Likewise.
1075 (Fload_char_attribute_table): Use libchise when `CHISE' is
1077 (syms_of_chartab): Don't define
1078 `load-char-attribute-table-map-function' when CHISE is defined.
1080 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1082 * chartab.c: Include <chise.h> when `CHISE' is defined.
1083 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1085 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1087 * mule-charset.c (charset_code_point): Fix problem when searching
1088 in mother CCS fails with `defined_only' mode.
1090 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1092 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1093 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1094 (put_char_composition): Likewise.
1095 (Fput_char_attribute): Likewise.
1096 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1098 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1100 * chartab.c (Q_ucs): Deleted.
1101 (Fput_char_attribute): Don't refer `->ucs'.
1102 (Fdefine_char): Likewise.
1103 (Ffind_char): Likewise.
1104 (syms_of_chartab): Delete `->ucs'.
1106 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1108 * mule-charset.c (Qmap_cns11643_2): Renamed from
1109 `Qchinese_cns11643_2'.
1110 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1111 `chinese-cns11643-2'.
1112 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1115 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1117 * mule-charset.c (Qmap_cns11643_1): Renamed from
1118 `Qchinese_cns11643_1'.
1119 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1120 `chinese-cns11643-1'.
1121 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1124 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1126 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1127 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1129 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1132 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1134 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1135 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1137 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1140 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1142 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1143 (syms_of_mule_charset): Add new symbol `=big5' instead of
1145 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1147 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1149 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1150 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1152 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1155 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1157 * mule-charset.c (Qmap_jis_x0212): Renamed from
1158 `Qjapanese_jisx0212'.
1159 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1160 `japanese-jisx0212'.
1161 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1164 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1166 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1167 `Qjapanese_jisx0208'.
1168 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1169 of `japanese-jisx0208'.
1170 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1173 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1175 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1176 `Qjapanese_jisx0208_1978'.
1177 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1178 of `japanese-jisx0208-1978'.
1179 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1182 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1184 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1185 only for XEmacs CHISE.
1187 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1189 * char-ucs.h: Compact non-ISO-IR charset-ids.
1190 (LEADING_BYTE_UCS): Changed to -177.
1191 (LEADING_BYTE_CONTROL_1): Changed to -77.
1192 (LEADING_BYTE_UCS_BMP): Changed to -176.
1193 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1195 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1197 * mule-charset.c (Qiso_ir): New variable.
1198 (Fmake_charset): Recognise new property `iso-ir'.
1199 (syms_of_mule_charset): Add new symbol `iso-ir'.
1201 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1203 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1204 n to -n; charset-id of non ISO-IR sets are changed to positive
1207 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1209 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1210 for &MCS-XXXXXXXX; values.
1212 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1214 * mule.c (Vxemacs_chise_version): Renamed from
1215 `Vutf_2000_version'.
1216 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1217 `utf-2000-version' as an alias for `xemacs-chise-version'.
1219 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1221 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1222 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1225 * config.h.in (CHISE): New macro.
1227 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1229 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1231 (Qmap_ucs): New variable.
1232 (syms_of_mule_charset): Add new symbol `=ucs'.
1233 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1235 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1236 (simplify_char_spec): Likewise.
1238 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1240 * char-ucs.h (Qmap_ucs): New extern variable.
1242 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1244 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1245 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1246 don't define it when UTF2000 is not defined.
1247 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1248 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1249 when UTF2000 is not defined.
1250 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1251 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1253 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1255 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1257 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1259 (syms_of_mule_charset): Delete `ucs-gb'.
1260 (complex_vars_of_mule_charset): Likewise.
1262 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1264 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1266 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1267 (Qucs_cns): Deleted.
1268 (syms_of_mule_charset): Delete `ucs-cns'.
1269 (complex_vars_of_mule_charset): Likewise.
1271 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1273 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1275 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1276 (Qucs_jis): Deleted.
1277 (syms_of_mule_charset): Delete `ucs-jis'.
1278 (complex_vars_of_mule_charset): Likewise.
1280 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1282 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1284 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1286 (syms_of_mule_charset): Delete `ucs-ks'.
1287 (complex_vars_of_mule_charset): Likewise.
1289 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1291 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1292 (Qideograph_daikanwa_2): Deleted.
1293 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1294 (complex_vars_of_mule_charset): Likewise.
1296 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1297 (LEADING_BYTE_DAIKANWA_1): Deleted.
1298 (LEADING_BYTE_DAIKANWA_2): Deleted.
1299 (MIN_CHAR_DAIKANWA): Deleted.
1300 (MAX_CHAR_DAIKANWA): Deleted.
1302 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1304 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1305 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1306 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1308 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1309 (Vcharset_ideograph_daikanwa): Deleted.
1310 (Qideograph_hanziku_{1..12}): Deleted.
1311 (Qideograph_daikanwa): Deleted.
1312 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1313 Vcharset_ideograph_daikanwa.
1314 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1315 `ideograph-hanziku-{1..12}'.
1316 (complex_vars_of_mule_charset): Likewise.
1318 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1320 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1322 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1323 (Qideograph_gt_pj_{1..11}): Deleted.
1324 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1325 (complex_vars_of_mule_charset): Likewise.
1327 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1329 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1330 (Vcharset_ideograph_gt): Deleted.
1331 (Qucs_big5): Deleted.
1332 (Qideograph_gt): Deleted.
1333 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1335 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1338 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1339 (LEADING_BYTE_GT): Deleted.
1340 (MIN_CHAR_GT): Deleted.
1341 (MAX_CHAR_GT): Deleted.
1343 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1345 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1347 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1349 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1350 (save_uint16_byte_table): Likewise.
1351 (save_byte_table): Likewise; convert values by it.
1352 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1353 for `ideographic-structure'.
1354 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1355 as the filter for `ideographic-structure'.
1357 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1359 * chartab.c (put_char_composition): New function.
1360 (Fput_char_attribute): Use `put_char_composition'; use
1361 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1363 * fns.c (simplify_char_spec): New function.
1364 (char_ref_simplify_spec): New function.
1365 (Fchar_refs_simplify_char_specs): New function.
1366 (syms_of_fns): Add new builtin function
1367 `char-refs-simplify-char-specs'.
1369 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1371 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1372 (Qideograph_cbeta): Deleted.
1373 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1374 (complex_vars_of_mule_charset): Likewise.
1376 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1377 (MIN_CHAR_CBETA): Comment out.
1378 (MAX_CHAR_CBETA): Likewise.
1380 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1382 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1383 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1384 CHISE client feature.
1386 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1388 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1390 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1392 * mule-charset.c (charset_lookup_description_1): Use
1393 `NUM_LEADING_BYTES' in UTF-2000.
1395 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1397 * char-ucs.h (GC_CHARSETP): Deleted.
1399 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1401 * char-ucs.h (MAX_CHAR_GT): Updated.
1403 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1405 * text-coding.c: Sync with XEmacs 21.4.10.
1407 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1409 * mule-charset.c (Vcharset_china3_jef): Deleted.
1410 (Qchina3_jef): Deleted.
1411 (syms_of_mule_charset): Don't define `china3-jef'.
1412 (complex_vars_of_mule_charset): Likewise.
1414 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1415 (MIN_CHAR_CHINA3_JEF): Comment out.
1416 (MAX_CHAR_CHINA3_JEF): Comment out.
1418 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1420 * mule-charset.c (Vcharset_ucs_gb): New variable.
1421 (Qucs_gb): New variable.
1422 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1423 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1425 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1427 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1429 * mule-charset.c (charset_code_point): if a coded-charset has a
1430 final-byte, don't inherit the builtin range of the mother CCS.
1432 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1434 * mule-charset.c (charset_code_point): Fix problem about
1437 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1439 * mule-charset.c (decode_builtin_char): Reorganized.
1441 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1443 * text-coding.c (char_encode_as_entity_reference): Modify for
1444 `charset_code_point'.
1445 (char_encode_shift_jis): Likewise.
1446 (char_encode_big5): Likewise.
1447 (char_encode_utf8): Likewise.
1448 (char_encode_iso2022): Likewise.
1450 * mule-charset.c (charset_code_point): Add new argument
1452 (Fencode_char): Add new optional argument `defined_only'.
1454 * chartab.c (put_char_table): Modify for `charset_code_point'.
1456 * char-ucs.h (charset_code_point): Add new argument
1458 (encode_char_1): Modify for `charset_code_point'.
1460 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1462 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1463 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1465 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1467 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1468 (Qjis_x0208): Likewise.
1469 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1470 XCHARSET_FINAL(charset).
1471 (charset_code_point): Modify condition for final-byte based
1473 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1474 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1475 in UTF-2000; specify `=jis-x0208' as the mother of
1476 `japanese-jisx0208-1978', `japanese-jisx0208' and
1477 `japanese-jisx0208-1990' in UTF-2000.
1479 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1481 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1483 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1485 * text-coding.c (decode_coding_utf16): Support UTF-16.
1486 (char_encode_utf16): Fixed.
1488 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1490 * text-coding.c (Qutf16): New variable in MULE.
1491 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1492 (Fcoding_system_type): Add `utf-16' in MULE.
1493 (struct detection_state): Add a structure for utf16 in MULE.
1494 (detect_coding_type): Setup st->utf16.mask in MULE.
1495 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1497 (reset_encoding_stream): Use `char_encode_utf16' and
1498 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1499 (detect_coding_utf16): New function [incomplete].
1500 (decode_coding_utf16): New function [support only UCS-2].
1501 (char_encode_utf16): New function.
1502 (char_finish_utf16): New function.
1503 (syms_of_file_coding): Add new symbol `utf-16'; setup
1504 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1506 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1508 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1509 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1511 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1513 * chartab.c (put_char_table): When a charset is specified as a
1514 range in UTF-2000, don't support builtin characters.
1516 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1518 * mule-charset.c (decode_defined_char): Don't refer external
1519 database if Qunbound or Qnil are found.
1520 (Fsave_charset_mapping_table): Don't define it if
1521 HAVE_CHISE_CLIENT is not defined.
1522 (Freset_charset_mapping_table): New function.
1523 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1524 found in external database.
1525 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1526 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1527 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1529 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1531 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1534 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1536 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1537 Q_lowercase, Q_uppercase in UTF-2000.
1539 * chartab.c (get_char_table): Add special code for the standard
1540 case table to use character attribute `->downcase' and
1541 `->uppercase' for case operations in UTF-2000.
1543 * casetab.c (Qflippedcase): New variable in UTF-2000.
1544 (Q_lowercase): Likewise.
1545 (Q_uppercase): Likewise.
1546 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1547 and `->uppercase' in UTF-2000.
1548 (complex_vars_of_casetab): Assign attribute name `downcase' to
1549 downcase and CANON table of Vstandard_case_table in UTF-2000;
1550 assign attribute name `flippedcase' to upcase and EQV table of
1551 Vstandard_case_table in UTF-2000.
1553 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1555 * text-coding.c (decode_add_er_char): Support isolated-chars.
1556 (char_encode_as_entity_reference): Likewise.
1558 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1560 * emacs.c (Vutf_2000_lisp_directory): New variable.
1561 (Vconfigure_utf_2000_lisp_directory): Likewise.
1562 (complex_vars_of_emacs): Add new variable
1563 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1565 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1567 * char-ucs.h (DECODE_CHAR): Delete special code for
1568 `chinese-big5-1' and `chinese-big5-2'.
1570 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1571 (Qbig5_2): Likewise.
1572 (decode_defined_char): Support CONVERSION_BIG5_1 and
1574 (decode_builtin_char): Likewise.
1575 (charset_code_point): Likewise.
1576 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1577 'conversion in UTF-2000.
1578 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1579 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1580 `chinese-big5-2' as children of `chinese-big5'.
1582 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1583 (CONVERSION_BIG5_2): New macro.
1585 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1587 * text-coding.c (char_encode_big5): Support entity-reference.
1589 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1591 * text-coding.c (char_encode_as_entity_reference): New function.
1592 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1594 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1596 * text-coding.c (decode_coding_big5): Support entity-reference
1599 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1601 * text-coding.c (allocate_coding_system): Initialize initial
1602 charsets for CODESYS_UTF8.
1603 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1604 charset-g2 for CODESYS_UTF8.
1605 (decode_coding_utf8): Use charset-g0.
1606 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1607 to force variants to map to UCS.
1609 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1611 * text-coding.c (Qutf_8_mcs): New variable.
1612 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1613 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1614 instead of `utf-8' in UTF-2000.
1616 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1618 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1619 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1620 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1621 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1622 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1623 CONVERSION_96x96x96x96 are introduced.
1624 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1625 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1626 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1628 * char-ucs.h (CONVERSION_94): New macro.
1629 (CONVERSION_96): New macro.
1630 (CONVERSION_94x94): New macro.
1631 (CONVERSION_96x96): New macro.
1632 (CONVERSION_94x94x94): New macro.
1633 (CONVERSION_96x96x96): New macro.
1634 (CONVERSION_94x94x94x60): New macro.
1635 (CONVERSION_94x94x94x94): New macro.
1636 (CONVERSION_96x96x96x96): New macro.
1638 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1640 * chartab.c (Vcharacter_variant_table): Deleted.
1641 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1642 of `Vcharacter_variant_table'.
1643 (Fput_char_attribute): Likewise.
1644 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1645 (complex_vars_of_chartab): Likewise.
1647 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1649 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1651 * fns.c (Qideographic_structure): New variable.
1652 (Qkeyword_char): New variable.
1653 (ids_format_unit): New function.
1654 (Fideographic_structure_to_ids): New function.
1655 (syms_of_fns): Add new symbols `ideographic-structure' and
1656 `:char'; add new builtin function `ideographic-structure-to-ids'.
1658 * data.c (Fchar_ref_p): New function.
1659 (syms_of_data): Add new builtin function `char-ref-p'.
1661 * chartab.h: Add an EXFUN for `Ffind_char'.
1663 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1665 * text-coding.c (Vcharacter_composition_table): Deleted.
1666 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1669 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1671 (Vcharacter_composition_table): Deleted.
1672 (Fget_composite_char): Use the implementation for external-DB
1673 support in every UTF-2000.
1674 (Fput_char_attribute): Likewise.
1675 (char_attribute_system_db_file): Don't define if external-DB
1676 feature is not available.
1677 (Fsave_char_attribute_table): Likewise.
1678 (Fmount_char_attribute_table): Likewise.
1679 (Fclose_char_attribute_table): Likewise.
1680 (Freset_char_attribute_table): Likewise.
1681 (Fload_char_attribute_table): Likewise.
1682 (syms_of_chartab): Don't define `save-char-attribute-table',
1683 `mount-char-attribute-table', `reset-char-attribute-table',
1684 `close-char-attribute-table' and `load-char-attribute-table' if
1685 external-DB feature is not available.
1686 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1688 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1690 * text-coding.c (Qcomposition): Add extern if external-DB feature
1692 (Vcharacter_composition_table): Don't add extern if external-DB
1693 feature is supported.
1694 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1695 character composition rule if external-DB feature is supported.
1697 * chartab.c (Vcharacter_composition_table): Don't define if
1698 external-DB feature is supported.
1699 (Qcomposition): New variable.
1700 (Fget_composite_char): New implementation for external-DB support.
1701 (Fput_char_attribute): Use `composition' property of each
1702 character instead of `Vcharacter_composition_table' to store
1703 character-composition rules if external-DB feature is supported.
1704 (syms_of_chartab): Add new symbol `composition'.
1705 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1706 external-DB feature is supported.
1708 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1710 * chartab.c (Vchar_db_stingy_mode): New variable.
1711 (load_char_attribute_maybe): Close database if
1712 Vchar_db_stingy_mode is not NIL.
1713 (Fload_char_attribute_table_map_function): Use
1714 `get_char_id_table_0' instead of `get_char_id_table'.
1715 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1717 * chartab.h (get_char_id_table_0): New inline function.
1718 (get_char_id_table): Use `get_char_id_table_0'.
1720 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1722 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1723 and `COMPOSE_ADD_CHAR'.
1724 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1726 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1728 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1729 instead of `DECODE_ADD_UCS_CHAR'.
1730 (COMPOSE_ADD_CHAR): Likewise.
1732 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1734 * text-coding.c (decode_flush_er_chars): New inline function.
1735 (decode_add_er_char): New function.
1736 (decode_coding_utf8): Use `decode_flush_er_chars' and
1737 `decode_add_er_char'.
1739 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1741 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1742 done before `decode_output_utf8_partial_char'.
1744 * mule-charset.c (complex_vars_of_mule_charset): Specify
1745 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1746 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1748 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1750 * mule-charset.c (decode_defined_char): New function; search
1752 (decode_builtin_char): Don't search mother if
1753 XCHARSET_MAX_CODE(charset) == 0.
1754 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1755 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1756 (Fdecode_char): Use `decode_defined_char' instead of
1757 `DECODE_DEFINED_CHAR'.
1758 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1759 mother of `Vcharset_ucs_jis'.
1761 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1762 instead of `DECODE_DEFINED_CHAR'.
1764 * char-ucs.h (decode_defined_char): Renamed from
1765 `DECODE_DEFINED_CHAR'; changed to normal function.
1766 (DECODE_CHAR): Use `decode_defined_char' instead of
1767 `DECODE_DEFINED_CHAR'.
1769 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1771 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1773 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1775 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1777 (Quse_entity_reference): New variable.
1781 (coding_system_description): Add description for
1782 `ccs_priority_list'.
1783 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1784 (allocate_coding_system): Initialize `ccs_priority_list' in
1786 (Fmake_coding_system): Add description about
1787 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1789 (Fcoding_system_property): Accept `disable-composition' and
1790 `use-entity-reference' in UTF-2000.
1791 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1793 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1794 (decode_coding_utf8): Decode entity-reference if
1795 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1796 (char_encode_utf8): Encode non-Unicode characters as
1797 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1799 (syms_of_file_coding): Add new symbols `use-entity-reference',
1801 (vars_of_file_coding): Add new variable
1802 `coded-charset-entity-reference-alist'.
1803 (complex_vars_of_file_coding): Declare `disable-composition' and
1804 `use-entity-reference' to be coding-system-properties in UTF-2000.
1806 * file-coding.h (struct Lisp_Coding_System): Add new member
1807 `use_entity_reference' and `ccs_priority_list'.
1808 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1809 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1810 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1812 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1814 * chartab.c (save_uint8_byte_table): Don't clear the table.
1815 (save_uint16_byte_table): Likewise.
1816 (save_byte_table): Likewise.
1817 (Fmount_char_attribute_table): New function.
1818 (syms_of_chartab): Add new builtin function
1819 `mount-char-attribute-table'.
1821 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1823 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1825 (load_char_decoding_entry_maybe): Open database as read-only mode.
1827 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1828 open database as "w+" mode.
1829 (load_char_attribute_maybe): Open database as read-only mode.
1830 (Fload_char_attribute_table): Likewise.
1832 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1834 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1835 (char_table_description): Delete member `db_file'.
1836 (Fmake_char_table): Don't refer `ct->db_file'.
1837 (Fcopy_char_table): Likewise.
1838 (Fsave_char_attribute_table): Likewise.
1839 (Fclose_char_attribute_table): Likewise.
1840 (Freset_char_attribute_table): Likewise.
1841 (load_char_attribute_maybe): Likewise.
1842 (Fload_char_attribute_table): Likewise.
1844 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1846 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1848 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1849 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1851 (load_char_attribute_maybe): Likewise.
1852 (Fload_char_attribute_table): Likewise.
1854 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1856 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1857 `ct->db_file' unconditionally.
1859 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1861 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1863 (char_table_description): Add description for `db_file' and `db'
1865 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1867 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1868 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1869 (Fclose_char_attribute_table): New function.
1870 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1871 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1873 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1874 (syms_of_chartab): Add new builtin function
1875 `Fclose_char_attribute_table'.
1877 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1879 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1881 (load_char_attribute_maybe): Change interface.
1882 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1884 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1886 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1888 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1890 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1891 instead of `DECODE_CHAR' for mother; don't use special code for
1892 chinese-big5 to use code space of chinese-big5-1 and
1894 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1895 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1897 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1898 (MAX_CHAR_BIG5_CDP): Revival.
1900 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1902 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1903 the XLFD registry-encoding name of `chinese-big5'.
1905 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1907 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1908 (Qchinese_big5_cdp): Deleted.
1909 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1910 (complex_vars_of_mule_charset): Delete coded-charset
1913 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1914 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1915 `CHARSET_ID_OFFSET - n' for private CCS.
1916 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1917 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1918 of `MIN_LEADING_BYTE'.
1919 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1920 `(CHARSET_ID_OFFSET - 97)'.
1921 (MIN_CHAR_BIG5_CDP): Deleted.
1922 (MAX_CHAR_BIG5_CDP): Deleted.
1924 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1926 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1928 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1930 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1931 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1934 * chartab.c (Vutf_2000_version): Moved to mule.c.
1935 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1937 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1939 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1940 when HAVE_CHISE_CLIENT is not defined.
1942 * mule.c (vars_of_mule): Provide feature `chise' when
1943 HAVE_CHISE_CLIENT is defined.
1945 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1947 * config.h.in (UTF2000): Add comment.
1948 (HAVE_CHISE_CLIENT): New macro.
1950 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1952 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1954 (Fput_char_attribute): Likewise.
1955 (char_attribute_system_db_file): Encode file-name of attribute.
1956 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1959 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1961 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1962 (Fsave_charset_mapping_table): Use
1963 `char_attribute_system_db_file'.
1964 (load_char_decoding_entry_maybe): Likewise.
1966 * chartab.h (Qsystem_char_id): New external variable.
1967 (char_attribute_system_db_file): New prototype.
1969 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1970 (char_attribute_system_db_file): New function.
1971 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1972 (Freset_char_attribute_table): Likewise.
1973 (load_char_attribute_maybe): Likewise.
1974 (Fload_char_attribute_table): Likewise.
1975 (syms_of_chartab): Add new symbol `system-char-id'.
1977 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1979 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1980 `XCHARSET_GRAPHIC(ccs)'.
1982 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1984 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1986 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1988 * chartab.c (Q_ucs_variants): New variable.
1989 (syms_of_chartab): Add new symbol `->ucs-variants'.
1990 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1991 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1992 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1994 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1996 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1997 `HAVE_DATABASE' is defined.
1998 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1999 `HAVE_DATABASE' is defined.
2001 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2003 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2005 (Freset_char_attribute_table): New function.
2006 (syms_of_chartab): Add new builtin function
2007 `reset-char-attribute-table'.
2009 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2011 * chartab.c (load_char_attribute_maybe): Don't make directories.
2013 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2015 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2017 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2020 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2022 * mule-charset.c (Fsave_charset_mapping_table): Use
2023 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2025 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2026 instead of `XCHARSET_CHARS'.
2028 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2030 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2031 (XCHARSET_BYTE_SIZE): Likewise.
2033 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2035 (XCHARSET_BYTE_SIZE): Likewise.
2037 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2039 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2040 data-directory to store database.
2041 (Fsave_char_attribute_table): Likewise.
2042 (load_char_attribute_maybe): Likewise.
2043 (Fload_char_attribute_table): Likewise.
2045 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2047 * mule-charset.c (Fsave_charset_mapping_table): New function.
2048 (syms_of_mule_charset): Add new builtin function
2049 `save-charset-mapping-table'.
2051 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2053 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2054 (get_ccs_octet_table): New inline function.
2055 (put_ccs_octet_table): Likewise.
2056 (decoding_table_put_char): Use `get_ccs_octet_table' and
2057 `put_ccs_octet_table'.
2058 (decoding_table_remove_char): Use `decoding_table_put_char'.
2059 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2061 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2062 into encoding_table.
2063 (make_charset): Use Qunbound instead Qnil as initial value of
2066 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2068 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2069 element is Qunloaded.
2070 (map_over_uint16_byte_table): Likewise.
2071 (map_over_byte_table): Likewise.
2072 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2073 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2074 database support, load encoding-table of the specified
2075 coded-charset if it is not loaded yet.
2076 (save_uint8_byte_table): New function of UTF-2000 with external
2078 (save_uint16_byte_table): Likewise.
2079 (save_byte_table): Likewise.
2080 (Fput_char_attribute): Don't store value into external database
2081 even if the external database feature is supported in UTF-2000;
2082 set `attribute' as name of char-table if the external database
2083 feature is supported.
2084 (Fsave_char_attribute_table): New function in UTF-2000.
2085 (syms_of_chartab): Add new builtin function
2086 `save-char-attribute-table' in UTF-2000.
2088 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2090 * chartab.c (char_attribute_table_to_put): New variable in
2092 (Qput_char_table_map_function): Likewise.
2093 (value_to_put): Likewise.
2094 (Fput_char_table_map_function): New function in UTF-2000.
2095 (put_char_table): Use `Fmap_char_attribute' for
2096 CHARTAB_RANGE_CHARSET in UTF-2000.
2097 (Fput_char_attribute): Store symbol instead of string in
2098 `XCHAR_TABLE_NAME (table)'.
2099 (load_char_attribute_maybe): Likewise.
2100 (syms_of_chartab): Add new symbol/function
2101 `put-char-table-map-function'.
2103 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2105 * database.h: Add new EXFUN for `Fmap_database'.
2107 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2108 (syms_of_database): Likewise.
2110 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2112 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2113 (XCHAR_TABLE_UNLOADED): Likewise.
2115 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2116 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2117 HAVE_DATABASE is defined.
2118 (char_attribute_table_to_load): New variable of UTF-2000 with
2119 external database support.
2120 (Qload_char_attribute_table_map_function): Likewise.
2121 (Fload_char_attribute_table_map_function): New function of
2122 UTF-2000 with external database support.
2123 (Fload_char_attribute_table): New function of UTF-2000.
2124 (Fmap_char_attribute): Call Fload_char_attribute_table if
2125 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2126 (syms_of_chartab): Add new symbol and function
2127 `load-char-attribute-table-map-function' in UTF-2000 with external
2128 database support; add new function `load-char-attribute-table' in
2131 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2133 * chartab.h (load_char_attribute_maybe): New prototype for
2134 UTF-2000 with DATABASE support.
2135 (get_char_id_table): Use `load_char_attribute_maybe' if
2136 HAVE_DATABASE is defined.
2138 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2139 with DATABASE support.
2141 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2143 * chartab.c (Fput_char_attribute): Use S-expression as key of
2146 * chartab.h (get_char_id_table): Use S-expression as key of
2149 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2151 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2152 if an element is not loaded, load the corresponding attributes
2153 from an external database.
2154 (map_over_uint16_byte_table): Likewise.
2155 (map_over_byte_table): Likewise.
2156 (map_char_table): Modify for `map_over_uint8_byte_table',
2157 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2158 element is not loaded, load the corresponding attributes from an
2160 (Fput_char_attribute): Change initial values to Qunloaded.
2162 * chartab.h (get_char_id_table): If a character attribute is not
2163 loaded and the attribute value is not found in an external
2164 database, store Qunbound as the attribute value.
2166 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2168 * chartab.c (BT_UINT8_unloaded): New macro.
2169 (UINT8_VALUE_P): Accept Qunloaded.
2170 (UINT8_ENCODE): Likewise.
2171 (UINT8_DECODE): Likewise.
2172 (BT_UINT16_unloaded): New macro.
2173 (UINT16_VALUE_P): Accept Qunloaded.
2174 (UINT16_ENCODE): Likewise.
2175 (UINT16_DECODE): Likewise.
2176 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2178 (mark_char_table): Mark `ct->name' in UTF-2000.
2179 (char_table_description): Add `name' in UTF-2000.
2180 (Fmake_char_table): Initialize `ct->name'.
2181 (Fcopy_char_table): Copy `ct->name'.
2182 (Fput_char_attribute): Store value into an external database if
2183 HAVE_DATABASE is defined.
2185 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2187 (CHAR_TABLE_NAME): New macro in UTF-2000.
2188 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2189 (get_char_id_table): Try to read an external database if Qunloaded
2190 is stored in a table.
2192 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2195 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2197 * database.h: Add EXFUN definitions for Fopen_database,
2198 Fput_database, Fget_database and Fclose_database.
2200 * data.c (Qunloaded): New variable in UTF-2000.
2202 * lisp.h (Qunloaded): New variable in UTF-2000.
2204 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2206 * mule-charset.c (put_char_ccs_code_point): Modify for
2207 `decoding_table_remove_char' and `decoding_table_put_char'.
2208 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2210 * char-ucs.h (decoding_table_remove_char): Change arguments to
2211 hide decoding_table vector.
2212 (decoding_table_put_char): Likewise.
2214 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2216 * mule-charset.c (decoding_table_remove_char): Moved to
2218 (decoding_table_put_char): Likewise.
2220 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2221 from mule-charset.c].
2222 (decoding_table_remove_char): New inline function [moved from
2224 (decoding_table_put_char): Likewise.
2226 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2228 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2231 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2233 * mule-charset.c (decode_builtin_char): Support mother charsets.
2235 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2237 * mule-charset.c (Q94x94x60): New variable.
2238 (charset_code_point): Support conversion `94x94x60'.
2239 (Fmake_charset): Likewise.
2240 (syms_of_mule_charset): Add new symbol `94x94x60'.
2242 * char-ucs.h (CONVERSION_94x94x60): New macro.
2244 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2246 * mule-charset.c (charset_code_point): Unify code about
2249 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2251 * mule-charset.c (charset_code_point): Merge code about builtin
2252 characters into code about mother charsets; don't use
2253 `range_charset_code_point'.
2254 (range_charset_code_point): Deleted.
2256 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2258 * mule-charset.c (Qcode_offset): New variable.
2259 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2260 `max-code'; accept new property `code-offset'.
2261 (syms_of_mule_charset): Add new symbol `code-offset'.
2263 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2265 * mule-charset.c (range_charset_code_point): Fixed.
2267 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2269 * mule-charset.c (decode_builtin_char): Change semantics of
2270 code-offset of coded-charset.
2271 (charset_code_point): Likewise.
2272 (range_charset_code_point): Likewise.
2273 (complex_vars_of_mule_charset): Modify for the change.
2275 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2277 * mule-charset.c (Fencode_char): Reverse arguments.
2279 * mule-charset.c (charset_code_point): Fixed.
2281 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2283 * mule-charset.c (Vcharset_mojikyo): Deleted.
2284 (Vcharset_mojikyo_2022_1): Deleted.
2285 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2286 (Qmin_code): New variable in UTF-2000.
2287 (Qmax_code): Likewise.
2288 (Qmother): Likewise.
2289 (Qconversion): Likewise.
2291 (Qmojikyo): Deleted.
2292 (Qmojikyo_2022_1): Deleted.
2293 (Qmojikyo_pj_{1..22}): Deleted.
2294 (mark_charset): Mark `cs->mother'.
2295 (charset_description): Add description for `mother'.
2296 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2297 new arguments `mother' and `conversion'; use
2298 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2299 (charset_code_point): Moved from char-ucs.h; support `mother'
2301 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2302 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2303 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2304 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2305 allow 2 as the value of `graphic' in UTF-2000; add new properties
2306 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2307 require `final' in UTF-2000; modify for `make_charset'.
2308 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2309 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2310 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2311 (Fencode_char): New function.
2312 (syms_of_mule_charset): Add new builtin function `encode-char' in
2313 UTF-2000; add new symbols `min-code', `max-code', `mother',
2314 `conversion' and `94x60'; delete symbols `mojikyo',
2315 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2316 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2317 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2318 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2320 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2321 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2323 * char-ucs.h (Vcharset_mojikyo): Deleted.
2324 (Vcharset_mojikyo_2022_1): Deleted.
2325 (LEADING_BYTE_MOJIKYO): Deleted.
2326 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2327 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2328 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2329 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2330 add new member `mother'; add new member `conversion'.
2331 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2332 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2333 (CHARSET_MOTHER): New macro.
2334 (CHARSET_CONVERSION): New macro.
2335 (CONVERSION_IDENTICAL): New macro.
2336 (CONVERSION_94x60): New macro.
2337 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2338 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2339 (XCHARSET_MOTHER): New macro.
2340 (XCHARSET_CONVERSION): New macro.
2341 (MIN_CHAR_MOJIKYO): Deleted.
2342 (MAX_CHAR_MOJIKYO): Deleted.
2343 (DECODE_MOJIKYO_2022): Deleted.
2344 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2345 (charset_code_point): Changed to non-inline function.
2346 (encode_char_1): Use `charset_code_point'.
2347 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2349 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2351 * lread.c (read_compiled_function): Fix prototype.
2352 (read_vector): Likewise.
2354 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2356 * lrecord.h (struct lrecord_header): Delete `older'.
2357 (set_lheader_implementation): Delete code for `older'.
2358 (set_lheader_older_implementation): Deleted.
2359 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2360 (OLDER_RECORD_P): Deleted.
2361 (OLDER_RECORD_HEADER_P): Deleted.
2362 (alloc_older_lcrecord): Deleted.
2363 (alloc_older_lcrecord_type): Deleted.
2365 * alloc.c (all_older_lcrecords): Deleted.
2366 (alloc_older_lcrecord): Deleted.
2367 (disksave_object_finalization_1): Delete code for older objects.
2368 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2369 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2371 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2373 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2374 instead of `make_older_vector'.
2375 (put_char_ccs_code_point): Likewise.
2376 (mark_charset): Mark `cs->decoding_table'.
2377 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2379 * lisp.h (make_older_vector): Deleted.
2380 (make_vector_newer): Deleted.
2382 * config.h.in (HAVE_GGC): Deleted.
2384 * alloc.c (make_older_vector): Deleted.
2385 (make_vector_newer_1): Deleted.
2386 (make_vector_newer): Deleted.
2388 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2390 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2391 (Qideograph_daikanwa_2): New variable.
2392 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2393 (complex_vars_of_mule_charset): Add new coded-charset
2394 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2395 `LEADING_BYTE_DAIKANWA'.
2397 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2398 (LEADING_BYTE_DAIKANWA_1): New macro.
2399 (LEADING_BYTE_DAIKANWA_2): New macro.
2400 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2402 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2404 * mule-charset.c (complex_vars_of_mule_charset): Change
2405 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2406 the second revised version.
2408 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2410 * mule-charset.c (Vcharset_ucs_smp): New variable.
2411 (Vcharset_ucs_sip): New variable.
2412 (Qucs_smp): New variable.
2413 (Qucs_sip): New variable.
2414 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2415 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2416 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2417 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2418 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2419 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2421 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2422 (LEADING_BYTE_UCS_SIP): New macro.
2423 (MIN_CHAR_SMP): New macro.
2424 (MAX_CHAR_SMP): New macro.
2425 (MIN_CHAR_SIP): New macro.
2426 (MAX_CHAR_SIP): New macro.
2428 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2430 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2433 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2435 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2436 value; don't store value into `encoding_table' of `Lisp_Charset'.
2437 (mark_charset): `encoding_table' was deleted.
2438 (charset_description): Likewise.
2439 (make_charset): Likewise.
2440 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2441 `put_char_ccs_code_point'.
2443 * chartab.h (Fput_char_attribute): New EXFUN.
2445 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2446 is unified with normal symbol space.
2447 (Fget_char_attribute): Likewise.
2448 (Fput_char_attribute): Likewise; behavior of
2449 `put_char_ccs_code_point' is changed.
2451 * char-ucs.h: Include "elhash.h".
2452 (Vchar_attribute_hash_table): New external variable.
2453 (struct Lisp_Charset): Delete `encoding_table'.
2454 (CHARSET_ENCODING_TABLE): New implementation; refer
2455 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2458 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2460 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2463 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2465 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2468 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2470 * chartab.c (uint8_byte_table_description): New constant.
2471 (uint8-byte-table): Use `uint8_byte_table_description'.
2472 (uint16_byte_table_description): New constant.
2473 (uint16-byte-table): Use `uint16_byte_table_description'.
2475 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2477 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2478 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2480 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2482 * mule-charset.c (Vcharset_ucs_ks): New variable.
2483 (Qucs_ks): New variable.
2484 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2485 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2487 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2489 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2491 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2492 (Fdecode_char): Likewise.
2494 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2496 (Fdefine_char): Modify for Fdecode_char.
2497 (Ffind_char): Likewise.
2499 * mule-charset.c (Fdecode_char): Add new optional argument
2501 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2503 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2505 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2506 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2507 (allocate_coding_system): Initialize initial-charsets of
2508 CODESYS_BIG5 in XEmacs UTF-2000.
2509 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2510 CODESYS_BIG5 in XEmacs UTF-2000.
2511 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2512 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2514 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2516 (Qideograph_hanziku_{1 .. 12}): Likewise.
2517 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2519 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2520 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2521 `ideograph-hanziku-{1 .. 12}'.
2523 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2524 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2525 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2526 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2527 (DECODE_DEFINED_CHAR): New inline function.
2528 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2530 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2532 * mule-charset.c (Vcharset_china3_jef): Renamed from
2533 `Vcharset_japanese_jef_china3'.
2534 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2535 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2536 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2537 (syms_of_mule_charset): Rename `china3-jef' from
2538 `japanese-jef-china3'.
2539 (complex_vars_of_mule_charset): Likewise; rename
2540 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2542 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2543 `LEADING_BYTE_JEF_CHINA3'.
2544 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2545 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2547 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2549 * mule-charset.c (encode_builtin_char_1): Comment out special code
2550 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2552 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2553 (MAX_CHAR_MOJIKYO_0): Comment out.
2554 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2555 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2556 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2557 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2559 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2561 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2562 (Qideograph_cbeta): New variable.
2563 (encode_builtin_char_1): Comment out special code for
2564 coded-charset `mojikyo' and `japanese-jef-china3'.
2565 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2566 (complex_vars_of_mule_charset): Add new coded-charset
2569 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2570 (MIN_CHAR_CBETA): New macro.
2571 (MAX_CHAR_CBETA): New macro.
2573 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2575 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2576 (LEADING_BYTE_JEF_CHINA3): New macro.
2577 (MIN_CHAR_JEF_CHINA3): New macro.
2578 (MAX_CHAR_JEF_CHINA3): Likewise.
2579 (DECODE_CHAR): Fixed.
2581 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2583 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2584 (Qjapanese_jef_china3): New variable.
2585 (encode_builtin_char_1): Support `japanese-jef-china3'.
2586 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2587 (complex_vars_of_mule_charset): Add new coded-charset
2588 `japanese-jef-china3'.
2590 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2593 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2594 94^4, 96^3, 96^4, 128^n and 256^n set.
2595 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2596 (map_char_table): Likewise.
2598 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2600 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2603 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2605 * chartab.h (get_char_id_table): New inline function.
2607 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2610 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2612 * chartab.h (decode_char_table_range): New prototype in XEmacs
2614 (put_char_id_table): New inline function in XEmacs UTF-2000.
2616 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2618 (decode_char_table_range): Delete static declaration in XEmacs
2621 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2623 * chartab.c (put_char_id_table): Use `put_char_table'.
2625 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2628 (map_over_uint16_byte_table): Likewise.
2629 (map_over_byte_table): Likewise.
2630 (map_char_table): Modify for `map_over_uint8_byte_table',
2631 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2634 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2636 * chartab.c (struct map_char_table_for_charset_arg): New
2638 (map_char_table_for_charset_fun): New function.
2639 (map_char_table): Use `map_char_table' for encoding_table of
2642 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2644 * chartab.c (map_char_table): Check a character is found in
2645 range->charset instead of non default value is defined in
2646 char-table when range is CHARTAB_RANGE_ROW.
2648 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2650 * chartab.c (map_char_id_table): Deleted.
2651 (Fmap_char_attribute): Use `map_char_table' instead of
2652 `map_char_id_table'.
2654 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2658 (update_syntax_table): Deleted in XEmacs UTF-2000.
2660 * syntax.c (find_defun_start): Use `syntax_table' instead of
2661 `mirror_syntax_table' in XEmacs UTF-2000.
2662 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2664 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2666 (Fmatching_paren): Likewise.
2667 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2669 (find_start_of_comment): Likewise.
2670 (find_end_of_comment): Likewise.
2671 (Fforward_comment): Likewise.
2672 (scan_lists): Likewise.
2673 (char_quoted): Likewise.
2674 (Fbackward_prefix_chars): Likewise.
2675 (scan_sexps_forward): Likewise.
2676 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2677 (update_syntax_table): Likewise.
2679 * search.c (skip_chars): Use `syntax_table' instead of
2680 `mirror_syntax_table' in XEmacs UTF-2000.
2681 (wordify): Likewise.
2682 (Freplace_match): Likewise.
2684 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2685 `mirror_syntax_table' in XEmacs UTF-2000.
2686 (WORDCHAR_P_UNSAFE): Likewise.
2687 (re_match_2_internal): Likewise.
2689 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2690 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2692 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2693 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2695 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2698 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2700 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2701 (char_table_description): Delete `mirror_table' in XEmacs
2703 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2705 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2706 (Fcopy_char_table): Likewise.
2707 (put_char_table): Don't call `update_syntax_table' in XEmacs
2710 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2711 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2712 (casify_region_internal): Likewise.
2714 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2716 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2717 `mirror_syntax_table' in XEmacs UTF-2000.
2719 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2720 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2721 (Fexpand_abbrev): Likewise.
2723 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2725 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2727 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2729 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2730 (map_over_uint16_byte_table): Likewise.
2731 (map_over_byte_table): Likewise.
2732 (get_char_id_table): Refer `cit->default_value'.
2733 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2734 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2735 of character-id ranges.
2736 (mark_char_table): Mark `ct->default_value'.
2737 (char_table_description): Add `default_value'.
2738 (fill_char_table): Use `default_value'.
2739 (decode_char_table_range): Decode `nil' as
2740 `CHARTAB_RANGE_DEFAULT'.
2741 (get_char_id_table): Refer `cit->default_value'.
2742 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2743 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2744 temporary hack; check value of char-table is bound or not.
2745 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2747 * chartab.h (struct Lisp_Char_Table): Add new member
2748 `default_value' in XEmacs UTF-2000.
2749 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2750 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2753 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2755 * chartab.h (Lisp_Char_ID_Table): Deleted.
2757 * chartab.c (char_table_description): Fix typo.
2758 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2759 `Lisp_Char_ID_Table'.
2761 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2763 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2766 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2769 * chartab.h (XCHAR_ID_TABLE): Deleted.
2770 (XSETCHAR_ID_TABLE): Deleted.
2771 (CHAR_ID_TABLE_P): Deleted.
2773 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2775 (Fget_composite_char): Likewise.
2776 (put_char_table): Likewise.
2777 (add_char_attribute_alist_mapper): Fixed.
2778 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2780 (Fget_char_attribute): Likewise.
2781 (Fget_char_attribute): Likewise.
2782 (Fmap_char_attribute): Likewise.
2784 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2786 (encode_char_1): Likewise.
2788 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2790 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2793 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2794 instead of `XCHAR_ID_TABLE'.
2795 (remove_char_ccs): Likewise.
2797 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2799 (Fget_composite_char): Likewise.
2800 (Fchar_variants): Likewise.
2801 (put_char_table): Likewise.
2802 (add_char_attribute_alist_mapper): Likewise.
2803 (Fchar_attribute_alist): Likewise.
2804 (Fget_char_attribute): Likewise.
2805 (Fput_char_attribute): Likewise.
2806 (Fmap_char_attribute): Likewise.
2807 (Fmap_char_attribute): Likewise.
2809 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2811 (encode_char_1): Likewise.
2813 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2815 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2816 `Lisp_Char_ID_Table'.
2817 (mark_char_id_table): Deleted.
2818 (print_char_id_table): Likewise.
2819 (char_id_table_equal): Likewise.
2820 (char_id_table_hash): Likewise.
2821 (char_id_table_description): Likewise.
2822 (char_id_table): Likewise.
2823 (make_char_id_table): Use `Fmake_char_table' and
2825 (get_char_id_table): Use `Lisp_Char_Table' instead of
2826 `Lisp_Char_ID_Table'.
2827 (put_char_id_table): Likewise.
2828 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2830 (Fremove_char_attribute): Likewise.
2831 (syms_of_chartab): Don't define type `char-id-table'.
2833 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2834 (char_id_table): Likewise.
2835 (GC_CHAR_ID_TABLE_P): Likewise.
2836 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2837 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2838 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2839 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2840 (get_char_id_table): Use `Lisp_Char_Table' instead of
2841 `Lisp_Char_ID_Table'.
2842 (put_char_id_table_0): Likewise.
2843 (put_char_id_table): Likewise.
2845 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2847 * chartab.h: Lisp_Byte_Table related codes are moved from
2850 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2852 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2854 * chartab.h: Don't include "chartab.h".
2855 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2856 (Lisp_Char_ID_Table): Likewise.
2857 (char_id_table): Likewise.
2858 (XCHAR_ID_TABLE): Likewise.
2859 (XSETCHAR_ID_TABLE): Likewise.
2860 (CHAR_ID_TABLE_P): Likewise.
2861 (GC_CHAR_ID_TABLE_P): Likewise.
2862 (get_char_id_table): Likewise.
2864 * char-ucs.h: Include "chartab.h".
2865 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2866 (Lisp_Char_ID_Table): Likewise.
2867 (char_id_table): Likewise.
2868 (XCHAR_ID_TABLE): Likewise.
2869 (XSETCHAR_ID_TABLE): Likewise.
2870 (CHAR_ID_TABLE_P): Likewise.
2871 (GC_CHAR_ID_TABLE_P): Likewise.
2872 (get_char_id_table): Likewise.
2874 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2876 * chartab.c (copy_uint8_byte_table): New function.
2877 (copy_uint16_byte_table): New function.
2878 (copy_byte_table): New function.
2879 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2881 (map_over_uint16_byte_table): Likewise.
2882 (map_over_byte_table): Likewise.
2883 (get_byte_table): Move prototype to chartab.h.
2884 (put_byte_table): Likewise.
2885 (put_char_id_table_0): Moved to chartab.h.
2886 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2887 (char_table_entry_equal): Likewise.
2888 (char_table_entry_hash): Likewise.
2889 (char_table_entry_description): Likewise.
2890 (char_table_entry): Likewise.
2891 (make_char_table_entry): Likewise.
2892 (copy_char_table_entry): Likewise.
2893 (get_non_ascii_char_table_value): Likewise.
2894 (map_over_charset_ascii): Likewise.
2895 (map_over_charset_control_1): Likewise.
2896 (map_over_charset_row): Likewise.
2897 (map_over_other_charset): Likewise.
2898 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2899 (print_char_table): Likewise.
2900 (char_table_equal): Likewise.
2901 (char_table_hash): Likewise.
2902 (char_table_description): Likewise.
2903 (fill_char_table): Likewise.
2904 (Fcopy_char_table): Likewise.
2905 (get_char_table): Likewise.
2906 (Fget_range_char_table): Likewise.
2907 (put_char_table): Likewise.
2908 (map_char_table): Likewise.
2909 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2912 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2914 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2915 `Vauto_fill_chars' in XEmacs UTF-2000.
2917 * chartab.h (get_byte_table): New prototype [moved from
2919 (put_byte_table): Likewise [moved from chartab.c].
2920 (put_char_id_table_0): New inline function [moved from chartab.c].
2921 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2922 (Lisp_Char_Table_Entry): Likewise.
2923 (char_table_entry): Likewise.
2924 (XCHAR_TABLE_ENTRY): Likewise.
2925 (XSETCHAR_TABLE_ENTRY): Likewise.
2926 (CHAR_TABLE_ENTRYP): Likewise.
2927 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2928 (NUM_ASCII_CHARS): Likewise.
2929 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2930 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2932 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2934 * chartab.c (get_char_id_table): Change interface.
2935 (put_char_id_table_0): New function.
2936 (put_char_id_table): Change interface; new implementation.
2937 (Fget_composite_char): Modify for interface change of
2938 `get_char_id_table'.
2939 (Fchar_variants): Likewise.
2940 (add_char_attribute_alist_mapper): Likewise.
2941 (Fchar_attribute_alist): Likewise.
2942 (Fget_char_attribute): Likewise.
2943 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2944 as same as character as the first argument like `put-char-table';
2945 modify for interface change of `put_char_id_table'.
2946 (Fremove_char_attribute): Modify for interface change of
2947 `put_char_id_table'.
2949 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2951 * text-coding.c: Sync up with XEmacs 21.2.41.
2952 (COMPOSE_ADD_CHAR): Modify for interface change of
2953 `get_char_id_table'.
2955 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2956 change of `put_char_id_table'.
2957 (remove_char_ccs): Likewise.
2959 * chartab.h (put_char_id_table): Change interface.
2961 * char-ucs.h (get_char_id_table): Change interface.
2962 (charset_code_point): Modify for interface change of
2963 `get_char_id_table'.
2964 (encode_char_1): Likewise.
2966 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2968 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2970 (map_over_uint16_byte_table): Likewise.
2971 (map_over_byte_table): Likewise.
2972 (map_char_id_table): Add new argument `range' like
2974 (Fmap_char_attribute): Add new argument `range' like
2977 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2979 * chartab.c (map_over_uint8_byte_table): Change interface of
2980 mapping function to use struct chartab_range instead of Emchar.
2981 (map_over_uint16_byte_table): Likewise.
2982 (map_over_byte_table): Likewise.
2983 (map_char_id_table): Likewise.
2984 (struct slow_map_char_id_table_arg): Deleted.
2985 (slow_map_char_id_table_fun): Deleted.
2986 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2987 function `slow_map_char_table_fun' instead of struct
2988 `slow_map_char_id_table_arg' and function
2989 `slow_map_char_id_table_fun'.
2991 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2993 * mule-charset.c: Move char-it-table related codes to chartab.c.
2994 (Vutf_2000_version): Moved to chartab.c.
2995 (Fdefine_char): Likewise.
2996 (Ffind_char): Likewise.
2997 (syms_of_mule_charset): Move types `uint8-byte-table',
2998 `uint16-byte-table', `byte-table' and `char-id-table' to
2999 chartab.c; move functions `char_attribute_list,
3000 `find_char_attribute_table, `char_attribute_alist,
3001 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3002 `map_char_attribute, `define_char, `find_char, `char_variants and
3003 `get_composite_char to chartab.c; move symbols `=>ucs',
3004 `->decomposition', `compat', `isolated', `initial', `medial',
3005 `final', `vertical', `noBreak', `fraction', `super', `sub',
3006 `circle', `square', `wide', `narrow', `small' and `font' to
3008 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3009 setting codes for `Vcharacter_composition_table' and
3010 `Vcharacter_variant_table' to chartab.c.
3011 (complex_vars_of_mule_charset): Move setting code for
3012 `Vchar_attribute_hash_table' to chartab.c.
3014 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3015 (make_char_id_table): New prototype.
3016 (put_char_id_table): Likewise.
3017 (Fget_char_attribute): Likewise.
3019 * chartab.c: Move char-id-table related code from mule-charset.c.
3020 (Vutf_2000_version): Moved from mule-charset.c.
3022 * char-ucs.h (Qucs): New external variable.
3023 (put_char_ccs_code_point): New prototype.
3024 (remove_char_ccs): Likewise.
3026 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3028 * mule-charset.c (Vcharset_ucs_jis): New variable.
3029 (Qucs_jis): Likewise.
3030 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3031 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3033 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3035 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3037 * mule-charset.c (map_over_uint8_byte_table): New function.
3038 (map_over_uint16_byte_table): Likewise.
3039 (map_over_byte_table): Likewise.
3040 (map_char_id_table): Likewise.
3041 (slow_map_char_id_table_fun): Likewise.
3042 (Fmap_char_attribute): Likewise.
3043 (syms_of_mule_charset): Add new function `map-char-attribute'.
3045 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3047 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3048 (syms_of_mule_charset): Add new function `find-char'.
3050 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3052 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3054 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3055 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3057 (complex_vars_of_mule_charset): Add new coded-charset
3058 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3059 `ideograph-gt-pj-*'.
3061 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3063 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3065 * mule-charset.c (encode_builtin_char_1): Purge codes about
3066 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3067 {MIN|MAX}_CHAR_HEBREW.
3068 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3069 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3071 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3072 (MAX_CHAR_GREEK): Purged.
3073 (MIN_CHAR_CYRILLIC): Purged.
3074 (MAX_CHAR_CYRILLIC): Purged.
3075 (MIN_CHAR_HEBREW): Commented out.
3076 (MAX_CHAR_HEBREW): Likewise.
3078 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3080 * mule-charset.c (Qto_ucs): New variable.
3081 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3082 (Fdefine_char): Likewise.
3083 (syms_of_mule_charset): Add new symbol `=>ucs'.
3085 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3087 * mule-charset.c (Fdecode_char): Fixed.
3089 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3091 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3092 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3095 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3097 * mule-charset.c (Vcharset_ucs_big5): New variable.
3098 (Qucs_big5): Likewise.
3099 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3100 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3102 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3104 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3106 * mule-charset.c (decode_builtin_char): Check Big5 code range
3107 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3109 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3111 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3112 (Qchinese_gb12345): Likewise.
3113 (Fdecode_builtin_char): Fixed.
3114 (syms_of_mule_charset): Add `chinese-gb12345'.
3115 (complex_vars_of_mule_charset): Add coded-charset
3118 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3119 (LEADING_BYTE_CHINESE_GB12345): New macro.
3121 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3123 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3124 and `latin-viscii-upper' for `latin-viscii'.
3126 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3128 * mule-charset.c (Fdecode_builtin_char): Comment out
3129 regularization code for ISO-IR GR representation.
3131 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3133 * mule-charset.c (decode_builtin_char): New function; renamed from
3134 `make_builtin_char'; return -1 instead of signal.
3135 (Fdecode_builtin_char): Use `decode_builtin_char'.
3137 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3138 `make_builtin_char'.
3139 (DECODE_CHAR): Use `decode_builtin_char' instead of
3140 `make_builtin_char'; use mapping table of `chinese-big5' for
3141 `chinese-big5-{1,2}'.
3143 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3145 * text-coding.c (char_encode_big5): New function.
3146 (char_finish_big5): Likewise.
3147 (reset_encoding_stream): Use `char_encode_big5' and
3148 `char_finish_big5' for CODESYS_BIG5.
3149 (mule_encode): Don't use `encode_coding_big5'.
3150 (encode_coding_big5): Deleted.
3152 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3154 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3155 0x81- in XEmacs UTF-2000.
3156 (detect_coding_big5): Likewise.
3158 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3160 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3161 generate character-id if the CCS property does not have
3162 corresponding predefined character.
3163 (make_builtin_char): Return -1 if corresponding predefined
3164 character is not found.
3165 (Fdecode_char): Return nil if corresponding character is not
3167 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3168 don't map to builtin ucs space.
3170 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3172 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3173 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3175 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3177 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3178 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3179 (Qideograph_gt): Likewise.
3180 (Qideograph_gt_pj_{1..11}): Likewise.
3181 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3182 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3183 `ideograph-gt-pj-11'.
3184 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3185 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3186 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3188 * char-ucs.h (LEADING_BYTE_GT): New macro.
3189 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3190 (MIN_CHAR_GT): Likewise.
3191 (MAX_CHAR_GT): Likewise.
3193 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3195 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3196 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3198 * doprnt.c (unsigned_int_converters): Add `c'.
3199 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3201 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3202 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3204 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3205 (MAX_CHAR_MOJIKYO_0): New macro.
3206 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3208 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3210 * mule-charset.c (Fdefine_char): Delete cemented out code.
3211 (encode_builtin_char_1): Modify for new allocation of builtin
3214 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3216 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3218 * mule-charset.c (Vcharset_ucs_cns): New variable.
3219 (Qucs_cns): New variable.
3220 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3221 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3223 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3225 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3227 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3229 * search.c (search_buffer): Make `charset_base_code' as
3230 character-id >> 6 to eliminate the corresponding last byte in
3231 UTF-8 representation [I'm not sure it is right thing].
3232 (boyer_moore): Likewise.
3234 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3236 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3237 representation in MULE.
3239 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3241 * text-coding.c (Fmake_coding_system): Use
3242 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3243 `EXTERNAL_PROPERTY_LIST_LOOP'.
3245 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3247 * text-coding.c (decode_output_utf8_partial_char): New function.
3248 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3250 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3252 * text-coding.c (decode_coding_utf8): Output original byte
3253 sequence if it is broken; change order of conditions.
3255 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3258 * mb-multibyte.h (BYTE_ASCII_P):
3259 Use bit ops for char-signedness safety.
3260 (BYTE_C0_P): Use bit ops for char-signedness safety.
3261 (BYTE_C1_P): Use bit ops for char-signedness safety.
3263 * character.h: (XCHAR_OR_CHAR_INT):
3264 Always use inline function.
3265 Remove redundant type checking assert() - XINT will abort quite
3268 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3270 * text-coding.c: (Fencode_shift_jis_char):
3271 (Fencode_big5_char):
3272 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3273 Replace 0 with '\0' when working with bytes.
3274 Replace initial "(" with "\(" in docstrings.
3276 (Fmake_coding_system):
3277 When type is ccl and value is vector, register it with a proper
3278 symbol. And checks whether the given ccl program is valid.
3279 (mule_decode): When calling ccl_driver, if src indicates
3280 NULL pointer, set an empty string instead.
3281 (mule_encode): Likewise.
3284 (detect_coding_sjis):
3285 (decode_coding_sjis):
3286 (detect_coding_big5):
3287 (decode_coding_big5):
3288 (detect_coding_ucs4):
3289 (decode_coding_ucs4):
3290 (detect_coding_utf8):
3291 (decode_coding_utf8):
3292 (detect_coding_iso2022):
3293 (decode_coding_iso2022):
3294 (decode_coding_no_conversion):
3296 Make all detecting and decoding functions take an Extbyte * arg.
3297 (text_encode_generic):
3298 (encode_coding_big5):
3299 (encode_coding_no_conversion):
3301 Make all encoding functions take a Bufbyte * arg.
3302 Use size_t instead of unsigned int for memory sizes.
3303 Only cast to unsigned char whenever dereferencing Extbyte *.
3305 (struct lrecord_description fcd_description_1): Use countof.
3306 (complex_vars_of_file_coding):
3307 Use countof instead of sizeof.
3308 Use CHECK_NATNUM instead of CHECK_INT.
3310 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3312 * mule-charset.c (Fget_char_attribute): Add new optional argument
3314 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3315 (remove_char_ccs): Likewise.
3317 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3319 * text-coding.c (char_encode_shift_jis): New implementation in
3321 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3324 * mule-charset.c (Vcharset_chinese_big5): New variable in
3326 (Qchinese_big5): New variable in UTF-2000.
3327 (BIG5_SAME_ROW): New macro in UTF-2000.
3328 (make_builtin_char): Use builtin characters of
3329 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3330 characters of `Vcharset_chinese_big5'.
3331 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3332 (complex_vars_of_mule_charset): Add new coded-charset
3333 `chinese-big5' in UTF-2000.
3335 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3336 (Vcharset_chinese_big5): New external variable declaration.
3337 (Vcharset_japanese_jisx0208_1990): Likewise.
3339 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3341 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3343 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3345 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3347 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3348 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3349 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3352 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3354 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3356 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3358 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3361 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3363 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3364 for `CHARSET_BY_ATTRIBUTES'.
3365 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3366 `CHARSET_BY_ATTRIBUTES'.
3368 * text-coding.c (struct decoding_stream): Rename member `CH' to
3370 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3371 (decode_coding_sjis): Likewise.
3372 (decode_coding_big5): Likewise.
3373 (decode_coding_ucs4): Likewise.
3374 (decode_coding_utf8): Likewise.
3375 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3376 `CHARSET_BY_ATTRIBUTES'.
3377 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3378 `str->counter'; decode 3, 4 bytes sets.
3379 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3381 (decode_coding_no_conversion): Use `str->cpos' instead of
3384 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3385 (Qmojikyo_2022_1): New variable.
3386 (make_charset): Don't use `CHARSET_TYPE_*'.
3387 (range_charset_code_point): Support coded-charset
3389 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3390 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3391 `CHARSET_BY_ATTRIBUTES'.
3392 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3393 `CHARSET_BY_ATTRIBUTES'.
3394 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3395 (complex_vars_of_mule_charset): Add new coded-charset
3398 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3399 interface; changed to inline function.
3401 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3402 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3403 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3404 (CHARSET_TYPE_94): Deleted.
3405 (CHARSET_TYPE_94X94): Deleted.
3406 (CHARSET_TYPE_96): Deleted.
3407 (CHARSET_TYPE_96X96): Deleted.
3408 (CHARSET_TYPE_128): Deleted.
3409 (CHARSET_TYPE_128X128): Deleted.
3410 (CHARSET_TYPE_256): Deleted.
3411 (CHARSET_TYPE_256X256): Deleted.
3412 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3414 (DECODE_MOJIKYO_2022): New inline function.
3415 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3416 `Vcharset_mojikyo_2022_1'.
3418 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3420 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3422 (put_byte_table): Likewise.
3423 (char_id_table_equal): Use `get_byte_table' [new implementation].
3425 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3427 * mule-charset.c: Include <limits.h> in UTF-2000.
3428 (BT_UINT8_MIN): New macro in UTF-2000.
3429 (BT_UINT8_MAX): New macro in UTF-2000.
3430 (BT_UINT8_t): New macro in UTF-2000.
3431 (BT_UINT8_nil): New macro in UTF-2000.
3432 (BT_UINT8_unbound): New macro in UTF-2000.
3433 (INT_UINT8_P): New inline function in UTF-2000.
3434 (UINT8_VALUE_P): New inline function in UTF-2000.
3435 (UINT8_ENCODE): New inline function in UTF-2000.
3436 (UINT8_DECODE): New inline function in UTF-2000.
3437 (mark_uint8_byte_table): New function in UTF-2000.
3438 (print_uint8_byte_table): New function in UTF-2000.
3439 (uint8_byte_table_equal): New function in UTF-2000.
3440 (uint8_byte_table_hash): New function in UTF-2000.
3441 (make_uint8_byte_table): New function in UTF-2000.
3442 (uint8_byte_table_same_value_p): New function in UTF-2000.
3443 (BT_UINT16_MIN): New macro in UTF-2000.
3444 (BT_UINT16_MAX): New macro in UTF-2000.
3445 (BT_UINT16_t): New macro in UTF-2000.
3446 (BT_UINT16_nil): New macro in UTF-2000.
3447 (BT_UINT16_unbound): New macro in UTF-2000.
3448 (INT_UINT16_P): New inline function in UTF-2000.
3449 (UINT16_VALUE_P): New inline function in UTF-2000.
3450 (UINT16_ENCODE): New inline function in UTF-2000.
3451 (UINT16_DECODE): New inline function in UTF-2000.
3452 (UINT8_TO_UINT16): New inline function in UTF-2000.
3453 (mark_uint16_byte_table): New function in UTF-2000.
3454 (print_uint16_byte_table): New function in UTF-2000.
3455 (uint16_byte_table_equal): New function in UTF-2000.
3456 (uint16_byte_table_hash): New function in UTF-2000.
3457 (make_uint16_byte_table): New function in UTF-2000.
3458 (uint16_byte_table_same_value_p): New function in UTF-2000.
3459 (print_byte_table): New function in UTF-2000.
3460 (byte-table): Use `print_byte_table' as printer.
3461 (make_byte_table): Delete second argument `older'.
3462 (byte_table_same_value_p): New function in UTF-2000.
3463 (copy_byte_table): Deleted.
3464 (get_byte_table): New function in UTF-2000.
3465 (put_byte_table): New function in UTF-2000.
3466 (print_char_id_table): New function in UTF-2000.
3467 (char-id-table): Use `print_char_id_table' as printer.
3468 (make_char_id_table): Delete second argument `older'.
3469 (get_char_id_table): Use `get_byte_table [new implementation].
3470 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3472 (Ffind_char_attribute_table): New function in UTF-2000.
3473 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3474 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3475 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3476 (syms_of_mule_charset): Add new function
3477 `find-char-attribute-table' in UTF-2000.
3479 * lrecord.h (enum lrecord_type): Add
3480 `lrecord_type_uint16_byte_table' and
3481 `lrecord_type_uint8_byte_table'.
3483 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3484 (Lisp_Uint8_Byte_Table): New type.
3485 (XUINT8_BYTE_TABLE): New macro.
3486 (XSETUINT8_BYTE_TABLE): New macro.
3487 (UINT8_BYTE_TABLE_P): New macro.
3488 (GC_UINT8_BYTE_TABLE_P): New macro.
3489 (struct Lisp_Uint16_Byte_Table): New structure.
3490 (Lisp_Uint16_Byte_Table): New type.
3491 (XUINT16_BYTE_TABLE): New macro.
3492 (XSETUINT16_BYTE_TABLE): New macro.
3493 (UINT16_BYTE_TABLE_P): New macro.
3494 (GC_UINT16_BYTE_TABLE_P): New macro.
3496 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3498 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3499 (Vcharacter_ideographic_strokes_table): Deleted.
3500 (Vcharacter_total_strokes_table): Deleted.
3501 (Vcharacter_morohashi_daikanwa_table): Deleted.
3502 (Vcharacter_decomposition_table): Deleted.
3503 (Qname): Deleted because it is duplicated.
3504 (Qideographic_radical): Deleted.
3505 (Qideographic_strokes): Deleted.
3506 (Qtotal_strokes): Deleted.
3507 (Qmorohashi_daikanwa): Deleted.
3508 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3509 `ideographic-radical', `ideographic-strokes', `total-strokes',
3510 `morohashi-daikanwa' and `->decomposition'.
3511 (Fget_char_attribute): Likewise.
3512 (Fput_char_attribute): Likewise; use `make-vector' instead of
3513 `make_older_vector' for `->decomposition' value.
3514 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3515 `ideograph-daikanwa'.
3516 (syms_of_mule_charset): Delete builtin symbols `name',
3517 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3518 `morohashi-daikanwa'.
3519 (vars_of_mule_charset): Don't setup
3520 `Vcharacter_ideographic_radical_table',
3521 `Vcharacter_ideographic_strokes_table',
3522 `Vcharacter_total_strokes_table',
3523 `Vcharacter_morohashi_daikanwa_table' and
3524 `Vcharacter_decomposition_table'.
3526 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3528 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3529 `make_older_vector', `make_vector_newer_1' and
3530 `make_vector_newer'.
3532 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3533 `make_older_vector' and `make_vector_newer'.
3535 * config.h.in (HAVE_GGC): New macro.
3537 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3539 * mule-charset.c (struct char_attribute_list_closure): New
3540 structure in UTF-2000.
3541 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3542 (Fchar_attribute_list): Likewise.
3543 (Fset_charset_mapping_table): Use `make_vector_newer'.
3544 (Fdecode_builtin_char): New function in UTF-2000.
3545 (syms_of_mule_charset): Add new function `char-attribute-list' and
3546 `decode-builtin-char' in UTF-2000.
3548 * lisp.h (make_vector_newer): New prototype.
3550 * alloc.c (make_vector_newer_1): New function.
3551 (make_vector_newer): New function.
3553 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3555 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3558 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3560 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3561 (Vcharacter_attribute_table): Deleted.
3562 (Vcharacter_name_table): Deleted.
3563 (put_char_attribute): Deleted.
3564 (remove_char_attribute): Deleted.
3565 (struct char_attribute_alist_closure): New structure.
3566 (add_char_attribute_alist_mapper): New function.
3567 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3568 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3569 (Fget_char_attribute): Likewise.
3570 (Fput_char_attribute): Likewise.
3571 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3572 of `remove_char_attribute'.
3573 (Fdefine_char): Return character.
3574 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3575 and `Vcharacter_name_table'.
3576 (complex_vars_of_mule_charset): Likewise
3577 `Vchar_attribute_hash_table'.
3579 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3581 * character.h (CHARC_CHARSET): New macro.
3582 (CHARC_CHARSET_ID): New macro.
3583 (CHARC_CODE_POINT): New macro.
3584 (CHARC_COLUMNS): New macro.
3585 (CHARC_TO_CHAR): New inline function.
3586 (CHARC_EQ): New inline function.
3587 (CHARC_ASCII_EQ): New inline function.
3588 (CHARC_IS_SPACE): New inline function.
3589 (ASCII_TO_CHARC): New inline function.
3591 * char-ucs.h (encode_char_2): Deleted.
3592 (ENCODE_CHAR): Use `encode_char_1' again.
3593 (breakup_char_1): Likewise.
3594 (CHAR_TO_CHARC): New inline function.
3596 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3598 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3600 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3601 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3602 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3603 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3604 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3606 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3608 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3610 (x_output_display_block): Use `CHARC_CHARSET' and
3613 * redisplay-tty.c (tty_output_display_block): Use
3615 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3617 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3619 * insdel.c (find_charsets_in_charc_string): Use
3621 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3622 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3623 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3624 (convert_charc_string_into_malloced_string): Likewise.
3626 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3628 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3629 instead of <Emchar_dynarr *> for buf; use
3630 `convert_bufbyte_string_into_charc_dynarr' instead of
3631 `convert_bufbyte_string_into_emchar_dynarr'; use
3632 `find_charsets_in_charc_string' instead of
3633 `find_charsets_in_emchar_string'.
3636 - Include "character.h".
3637 (struct rune): New member `cglyph'; delete member `chr'.
3639 * redisplay.c (redisplay_text_width_charc_string): New function;
3640 delete `redisplay_text_width_emchar_string'.
3641 (rtw_charc_dynarr): New variable; renamed from
3642 `rtw_emchar_dynarr'.
3643 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3644 `rtw_emchar_dynarr'; use
3645 `convert_bufbyte_string_into_charc_dynarr' instead of
3646 `convert_bufbyte_string_into_emchar_dynarr'; use
3647 `redisplay_text_width_charc_string' instead of
3648 `redisplay_text_width_emchar_string'.
3649 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3650 instead of `rtw_emchar_dynarr'; use
3651 `convert_bufbyte_string_into_charc_dynarr' instead of
3652 `convert_bufbyte_string_into_emchar_dynarr'.
3653 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3654 `redisplay_text_width_charc_string' instead of
3655 `redisplay_text_width_emchar_string'.
3656 (create_text_block): Modify for <struct rune> change.
3657 (generate_formatted_string_db): Likewise.
3658 (create_string_text_block): Likewise.
3659 (pixel_to_glyph_translation): Likewise.
3661 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3662 instead of <const Emchar *>.
3663 (x_text_width): Likewise.
3664 (x_output_display_block): Use <Charc_dynarr *> instead
3665 <Emchar_dynarr *>; modify for <structure rune> change.
3666 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3669 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3670 <const Emchar *>; use `charc_string_displayed_columns' instead of
3671 `emchar_string_displayed_columns'.
3672 (tty_output_display_block): Use <Charc_dynarr *> instead of
3673 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3674 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3675 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3676 `tty_output_emchar_dynarr_dynarr'.
3677 (tty_output_charc_dynarr): New function; delete
3678 `tty_output_charc_dynarr'.
3680 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3681 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3682 <Emchar_dynarr *> for buf; use
3683 `convert_bufbyte_string_into_charc_dynarr' instead of
3684 `convert_bufbyte_string_into_emchar_dynarr'.
3686 * frame.c (title_string_charc_dynarr): New variable; renamed from
3687 `title_string_emchar_dynarr'.
3688 (generate_title_string): Use `title_string_charc_dynarr' instead
3689 of `title_string_emchar_dynarr'; use
3690 `convert_charc_string_into_malloced_string' instead of
3691 `convert_emchar_string_into_malloced_string'.
3692 (init_frame): Use `title_string_charc_dynarr' instead of
3693 `title_string_emchar_dynarr'.
3696 - Include "character.h".
3697 (struct console_methods): Use <const Charc *> instead of <const
3698 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3699 <Emchar_dynarr *> in output_string_method.
3701 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3704 * console-stream.c (stream_text_width): Use <const Charc *>
3705 instead of <const Emchar *>.
3707 * character.h (Charc_dynarr): New type.
3709 * char-ucs.h (structure Charc): New structure; define new type
3712 * char-lb.h (DECODE_CHAR): New inline function.
3713 (encode_char_1): New inline function.
3714 (ENCODE_CHAR): New macro.
3715 (structure Charc): New structure; define new type `Charc'.
3717 * char-1byte.h (Vcharset_control_1): New macro.
3718 (Vcharset_latin_iso8859_1): New macro.
3719 (DECODE_CHAR): New inline function.
3720 (encode_char_1): New inline function.
3721 (ENCODE_CHAR): New macro.
3722 (structure Charc): New structure; define new type `Charc'.
3724 * insdel.c (find_charsets_in_charc_string): New function; delete
3725 `find_charsets_in_emchar_string'.
3726 (charc_string_displayed_columns): New function; delete
3727 `emchar_string_displayed_columns'.
3728 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3729 `convert_bufbyte_string_into_emchar_dynarr'.
3730 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3731 `convert_charc_string_into_bufbyte_dynarr'.
3732 (convert_charc_string_into_malloced_string): New function; delete
3733 `convert_charc_string_into_malloced_string'.
3735 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3736 `find_charsets_in_emchar_string'.
3737 (charc_string_displayed_columns): New prototype; delete
3738 `emchar_string_displayed_columns'.
3739 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3740 `convert_charc_string_into_bufbyte_dynarr'.
3741 (convert_charc_string_into_malloced_string): New prototype; delete
3742 `convert_charc_string_into_malloced_string'.
3744 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3746 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3748 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3750 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3752 * char-ucs.h: Use <short> for <Charset_ID>.
3754 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3757 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3759 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3762 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3764 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3766 (Qmorohashi_daikanwa): New variable.
3767 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3768 for `morohashi-daikanwa' attribute.
3769 (Fget_char_attribute): Likewise.
3770 (Fput_char_attribute): Likewise.
3771 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3772 has the same value of `ideograph-daikanwa'.
3773 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3774 (vars_of_mule_charset): Setup
3775 `Vcharacter_morohashi_daikanwa_table'.
3777 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3779 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3781 (add_charset_to_list_mapper): Add `key' instead of
3782 `XCHARSET_NAME (value)' to return aliases.
3784 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3786 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3788 (Vcharacter_ideographic_strokes_table): New variable.
3789 (Qideographic_radical): New variable.
3790 (Qideographic_strokes): New variable.
3791 (Fchar_attribute_alist): Use
3792 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3793 attribute; use `Vcharacter_ideographic_strokes_table' for
3794 `ideographic-strokes' attribute.
3795 (Fget_char_attribute): Likewise.
3796 (Fput_char_attribute): Likewise.
3797 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3798 `ideographic-strokes'.
3799 (vars_of_mule_charset): Setup
3800 `Vcharacter_ideographic_radical_table' and
3801 `Vcharacter_ideographic_strokes_table'.
3803 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3805 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3806 (Qtotal_strokes): New variable.
3807 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3808 `total-strokes' attribute.
3809 (Fget_char_attribute): Likewise.
3810 (Fput_char_attribute): Likewise.
3811 (syms_of_mule_charset): Add new symbol `total-strokes'.
3812 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3814 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3816 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3817 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3819 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3820 `->decomposition' attribute.
3821 (Fput_char_attribute): Likewise.
3822 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3824 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3826 * mule-charset.c (decoding_table_check_elements): New function.
3827 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3829 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3831 * mule-charset.c (Fset_charset_mapping_table): Use
3832 `put_char_ccs_code_point'.
3834 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3836 * mule-charset.c (decoding_table_put_char): New inline function.
3837 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3839 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3841 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3842 (XCHARSET_BYTE_SIZE): New macro.
3843 (decoding_table_remove_char): New inline function.
3844 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3845 `decoding_table_remove_char'.
3846 (remove_char_ccs): Use `decoding_table_remove_char'.
3847 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3849 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3851 * mule-charset.c (Vcharacter_name_table): New variable.
3852 (Qname): New variable.
3853 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3855 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3856 `Vcharacter_name_table' for `name' attribute.
3857 (Fremove_char_attribute): Use function `remove_char_ccs'.
3858 (put_char_ccs_code_point): New function.
3859 (remove_char_ccs): New function.
3860 (syms_of_mule_charset): Add new symbol `name'.
3861 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3863 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3865 * mule-charset.c (make_byte_table): Add new argument `older'.
3866 (make_char_id_table): Likewise.
3867 (copy_char_id_table): Comment out because it is not used.
3868 (put_char_id_table): Modify for `make_byte_table'.
3869 (Fput_char_attribute): Make encoding_table as older object;
3870 inherit older bit of `Vcharacter_composition_table'.
3871 (mark_charset): Don't mark `cs->encoding_table'.
3872 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3873 normal object; make `Vcharacter_composition_table' as an older
3874 object; delete staticpro for `Vcharacter_composition_table'; make
3875 `Vcharacter_variant_table' as a normal object.
3877 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3878 (mark_object): Don't check older object in UTF-2000.
3880 * lrecord.h (struct lrecord_header): Add new member `older' in
3882 (set_lheader_implementation): Setup `SLI_header->older' in
3884 (set_lheader_older_implementation): New macro in UTF-2000.
3885 (OLDER_RECORD_P): New macro in UTF-2000.
3886 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3887 (alloc_older_lcrecord): New prototype in UTF-2000.
3888 (alloc_older_lcrecord_type): New macro in UTF-2000.
3890 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3892 * mule-charset.c (byte_table_description): Use
3893 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3894 (char_id_table_description): Delete bogus `, 1'.
3895 (Fget_char_attribute): Refer encoding_table of each coded-charset
3896 to get value of coded-charset attribute of a character.
3897 (Fput_char_attribute): Use `make_older_vector' instead of
3898 `make_vector'; use encoding_table of each coded-charset to store
3899 value of coded-charset attribute of a character.
3900 (Fremove_char_attribute): Use encoding_table of each coded-charset
3901 to store value of coded-charset attribute of a character.
3902 (mark_charset): Mark `cs->encoding_table'; don't mark
3903 `cs->decoding_table'.
3904 (charset_description): Add description of new member
3906 (make_charset): Initialize `encoding_table'.
3908 * char-ucs.h (struct Lisp_Charset): Add new member
3910 (CHARSET_ENCODING_TABLE): New macro.
3911 (XCHARSET_ENCODING_TABLE): New macro.
3912 (charset_code_point): New implementation.
3913 (encode_char_1): Likewise.
3915 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3916 (disksave_object_finalization_1): Call finalizers of
3917 `all_older_lcrecords' in UTF-2000.
3918 (make_older_vector): New function in UTF-2000.
3919 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3922 * lisp.h (make_older_vector): New prototype in UTF-2000.
3924 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3926 * lrecord.h (enum lrecord_type): Rename
3927 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3929 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3930 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3931 `get_char_code_table'.
3933 * mule-charset.c (mark_char_id_table): Renamed from
3934 `mark_char_code_table'.
3935 (char_id_table_equal): Renamed from `char_code_table_equal'.
3936 (char_id_table_hash): Renamed from `char_code_table_hash'.
3937 (make_char_id_table): Renamed from `make_char_code_table'.
3938 (copy_char_id_table): Renamed from `copy_char_code_table'.
3939 (get_char_id_table): Renamed from `get_char_code_table'.
3940 (put_char_id_table): Renamed from `put_char_code_table'.
3941 (to_char_id): Renamed from `to_char_code'.
3943 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3944 `Lisp_Char_Code_Table'.
3945 (char_id_table): Renamed from `char_code_table'.
3946 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3947 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3948 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3949 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3950 (get_char_id_table): Renamed from `get_char_code_table'.
3952 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3954 * lrecord.h (enum lrecord_type): Rename
3955 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3957 * mule-charset.c (mark_byte_table): Renamed from
3958 `mark_char_byte_table'.
3959 (byte_table_equal): Renamed from `char_byte_table_equal'.
3960 (byte_table_hash): Renamed from `byte_table_hash'.
3961 (make_byte_table): Renamed from `make_byte_table'.
3962 (copy_byte_table): Renamed from `copy_char_byte_table'.
3964 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3965 `Lisp_Char_Byte_Table'.
3966 (byte_table): Renamed from `char_byte_table'.
3967 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3968 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3969 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3970 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3972 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3974 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3975 (dfc_convert_to_internal_format): Likewise.
3977 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3978 * text-coding.c (Fcoding_system_alias_p): New function.
3979 * text-coding.c (Fcoding_system_aliasee): New function.
3980 * text-coding.c (append_suffix_to_symbol): New function.
3981 * text-coding.c (dangling_coding_system_alias_p): New function.
3982 * text-coding.c (Ffind_coding_system):
3983 * text-coding.c (Fcopy_coding_system):
3984 * text-coding.c (encode_coding_no_conversion):
3985 * text-coding.c (syms_of_file_coding):
3986 * text-coding.c (vars_of_file_coding):
3987 Rewrite coding system alias code.
3988 Allow nested aliases, like symbolic links.
3989 Allow redefinition of coding system aliases.
3990 Prevent existence of dangling coding system aliases.
3991 Eliminate convert_to_external_format.
3992 Eliminate convert_to_internal_format.
3994 * text-coding.c: Change enum eol_type to eol_type_t.
3996 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3998 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3999 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4001 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4002 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4004 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4006 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4007 `ideograph-daikanwa'.
4009 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4010 (Vcharset_ucs_bmp): Likewise.
4011 (Vcharset_mojikyo): Add new extern variable definition.
4012 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4013 (Vcharset_latin_iso8859_3): Likewise.
4014 (Vcharset_latin_iso8859_4): Likewise.
4015 (Vcharset_latin_iso8859_9): Likewise.
4016 (Vcharset_latin_viscii_lower): Likewise.
4017 (Vcharset_latin_viscii_upper): Likewise.
4018 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4019 `mojikyo' code-point is used to decode.
4020 (encode_char_2): New function [to convert `mojikyo' code-point to
4021 Mojikyo font encoding].
4022 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4023 (breakup_char_1): Likewise.
4024 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4026 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4028 * text-coding.c (Fmake_coding_system): Add document about
4029 `disable-composition' property.
4031 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4033 * text-coding.c (Qdisable_composition): New variable; delete
4035 (Fmake_coding_system): Add new property `disable-composite';
4036 delete property `composite'.
4037 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4038 instead of `!CODING_SYSTEM_COMPOSITE'.
4039 (syms_of_file_coding): Add new symbol `disable-composition';
4040 delete symbol `composite'.
4042 * file-coding.h (struct Lisp_Coding_System): Add
4043 `disable_composition'; delete `enable_composition'.
4044 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4045 `CODING_SYSTEM_COMPOSITE'.
4046 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4047 `XCODING_SYSTEM_COMPOSITE'.
4049 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4051 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4054 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4056 * text-coding.c (Qcomposite): New variable.
4057 (Fmake_coding_system): Add new property `composite'.
4058 (struct decoding_stream): Add `combined_char_count',
4059 `combined_chars' and `combining_table' in UTF-2000.
4060 (COMPOSE_FLUSH_CHARS): New macro.
4061 (COMPOSE_ADD_CHAR): New macro.
4062 (reset_decoding_stream): Reset `str->combined_char_count' and
4063 `str->combining_table' in UTF-2000.
4064 (decode_coding_iso2022): Modify for character-decomposition.
4065 (syms_of_file_coding): Add new symbol `composite'.
4067 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4069 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4070 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4071 of `Vcharacter_composition_table' if `->decomposition' property
4073 (Qlatin_tcvn5712): New variable.
4074 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4075 (complex_vars_of_mule_charset): Add new coded-charset
4078 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4080 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4082 * file-coding.h (struct Lisp_Coding_System): Add
4083 `enable_composition'.
4084 (CODING_SYSTEM_COMPOSITE): New macro.
4085 (XCODING_SYSTEM_COMPOSITE): New macro.
4087 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4089 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4091 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4093 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4094 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4096 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4098 * mule-charset.c (Vcharset_mojikyo): New variable.
4099 (Fdefine_char): Don't use coded-charset which does not have
4100 non-builtin character range to allocate character-id.
4101 (Qmojikyo): New variable.
4102 (syms_of_mule_charset): Add new symbol `mojikyo'.
4103 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4105 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4106 (LEADING_BYTE_MOJIKYO): New macro.
4107 (MIN_CHAR_MOJIKYO): New macro.
4108 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4109 (MAX_CHAR_MOJIKYO): New macro.
4111 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4113 * mule-charset.c (remove_char_attribute): Fixed.
4115 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4117 * mule-charset.c (remove_char_attribute): New function.
4118 (Fremove_char_attribute): New function.
4119 (encode_builtin_char_1): Comment out builtin-support for
4120 greek-iso8859-7 and cyrillic-iso8859-5.
4121 (Fdecode_char): Check `code' is an integer.
4122 (syms_of_mule_charset): Add `remove-char-attribute'.
4123 (MIN_CHAR_GREEK): Deleted.
4124 (MAX_CHAR_GREEK): Likewise.
4125 (MIN_CHAR_CYRILLIC): Likewise.
4126 (MAX_CHAR_CYRILLIC): Likewise.
4127 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4128 MAX_CHAR_GREEK for `greek-iso8859-7'.
4130 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4131 (MAX_CHAR_GREEK): Likewise.
4132 (MIN_CHAR_CYRILLIC): Likewise.
4133 (MAX_CHAR_CYRILLIC): Likewise.
4135 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4137 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4138 format is used without `ucs' property.
4139 (Fdecode_char): Fix problem with GR representation.
4140 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4141 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4143 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4145 * mule-charset.c (make_builtin_char): New function.
4146 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4147 (Fset_charset_mapping_table): Modify for new representation of
4149 (Fdecode_char): New function.
4150 (syms_of_mule_charset): Add new builtin function `decode-char' in
4153 * char-ucs.h (make_builtin_char): New prototype.
4154 (DECODE_CHAR): New inline function.
4155 (MAKE_CHAR): Use `DECODE_CHAR'.
4157 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4159 * text-coding.c (parse_charset_conversion_specs): Use
4160 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4162 (iso2022_designate): Likewise.
4164 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4165 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4167 * mule-charset.c (Vcharset_ucs): New variable.
4168 (print_charset): Change design; use `CHARSET_CHARS' and
4169 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4170 (make_charset): Change signature to specify `chars' and
4171 `dimension' instead of `type'.
4172 (range_charset_code_point): Modify for 256^n-set.
4173 (encode_builtin_char_1): Encode as `ucs' in default.
4174 (Fmake_charset): Modify for `make_charset'.
4175 (Fmake_reverse_direction_charset): Likewise.
4176 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4178 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4181 * char-ucs.h (Vcharset_ucs): New variable.
4182 (LEADING_BYTE_UCS): New macro.
4183 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4184 and `chars' to `unsigned short' from `unsigned int'.
4185 (CHARSET_TYPE): Deleted.
4186 (XCHARSET_TYPE): Deleted.
4188 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4190 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4192 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4193 (ENCODE_CHAR): New macro.
4195 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4197 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4198 to 0.14 (Kawachi-Katakami).
4200 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4202 * text-coding.c (char_encode_shift_jis): Modify for
4203 `charset_code_point'.
4204 (char_encode_iso2022): Likewise.
4206 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4207 (integer) instead of list of <Lisp_Object>s (integers) as the
4208 format of code-point of a coded-charset.
4209 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4210 (encode_builtin_char_1): New function; delete
4211 `split_builtin_char'.
4212 (charset_code_point): Return <int> instead of <Lisp_Object>.
4213 (Fsplit_char): Don't use `SPLIT_CHAR'.
4215 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4216 prototype for `split_builtin_char'.
4217 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4218 (charset_code_point): Likewise.
4219 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4220 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4222 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4224 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4225 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4227 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4229 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4231 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4232 (MAX_CHAR_OBS_94x94): Deleted.
4234 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4236 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4238 * char-ucs.h (MAX_CHAR_BMP): New macro.
4240 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4242 * text-coding.c: Sync with r21-2-24.
4244 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4246 * file-coding.c: Modify for UTF-2000.
4248 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4250 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4253 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4255 * mule-charset.c (split_builtin_char): Delete builtin support for
4256 `katakana-jisx0201'.
4257 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4258 BMP area in builtin representation.
4260 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4261 `Vcharset_katakana_jisx0201'.
4263 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4265 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4266 (Qisolated): New variable.
4267 (Qinitial): New variable.
4268 (Qmedial): New variable.
4269 (Qfinal): New variable.
4270 (Qvertical): New variable.
4271 (Qsmall): New variable.
4272 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4273 `Qvertical' and `Qsmall'.
4274 (Qmojikyo_pj_[1 .. 21]): New variable.
4275 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4276 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4277 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4280 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4282 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4283 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4284 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4286 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4288 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4289 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4291 (Qjapanese_jisx0208_1990): New variable.
4292 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4293 (complex_vars_of_mule_charset): Add new coded-charset
4294 `japanese-jisx0208-1990'.
4296 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4297 (MIN_CHAR_JIS_X0208_1990): New macro.
4298 (MAX_CHAR_JIS_X0208_1990): New macro.
4300 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4302 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4303 coded-charset is not found.
4305 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4307 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4308 (Fdefine_char): Use `Fmake_char'.
4310 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4312 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4313 (Vcharset_hiragana_jisx0208): Deleted.
4314 (Vcharset_katakana_jisx0208): Deleted.
4315 (Qideograph_daikanwa): New variable.
4316 (Qhiragana_jisx0208): Deleted.
4317 (Qkatakana_jisx0208): Deleted.
4318 (split_builtin_char): Split `ideograph-daikanwa'.
4319 (Fsplit_char): New implementation for UTF-2000.
4320 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4321 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4322 (complex_vars_of_mule_charset): Add new coded-charset
4323 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4324 `katakana-jisx0208'.
4326 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4327 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4328 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4329 (MIN_CHAR_DAIKANWA): New macro.
4330 (MAX_CHAR_DAIKANWA): New macro.
4332 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4334 * data.c (Fstring_to_number): Don't recognize floating point if
4337 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4339 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4341 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4343 * mule-charset.c (Qsquare): New variable.
4344 (to_char_code): Add `Qsquare'.
4345 (syms_of_mule_charset): Add new symbol `square'.
4347 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4349 * mule-charset.c (Qcircle): New variable.
4350 (to_char_code): Add `Qcircle'.
4351 (syms_of_mule_charset): Add new symbol `circle'.
4353 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4355 * mule-charset.c (Qfont): New variable.
4356 (to_char_code): Add `Qfont'.
4357 (syms_of_mule_charset): Add new symbol `font'.
4359 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4361 * mule-charset.c (Qsub): New variable.
4362 (to_char_code): Add `Qsub'.
4363 (syms_of_mule_charset): Add new symbol `sub'.
4365 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4367 * mule-charset.c (Fput_char_attribute): Convert each element of
4368 VALUE to GL position if ATTRIBUTE is a GR-set,
4370 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4372 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4373 coded-charset is a GR-set.
4375 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4377 * mule-charset.c (Fput_char_attribute): Check each element of
4378 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4380 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4382 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4384 (Qethiopic_ucs): New variable in UTF-2000.
4385 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4386 (complex_vars_of_mule_charset): Add new coded-charset
4387 `ethiopic-ucs' in UTF-2000.
4389 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4390 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4392 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4394 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4396 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4398 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4401 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4403 * mule-charset.c (Vcharacter_variant_table): New variable.
4404 (Q_ucs): New variable.
4405 (Fchar_variants): New function.
4406 (Fput_char_attribute): Register `->ucs' value to
4407 `Vcharacter_variant_table'.
4408 (syms_of_mule_charset): Add new function `char-variants' and new
4410 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4412 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4414 * mule-charset.c (get_char_code_table): Allow negative character
4416 (put_char_code_table): Likewise.
4417 (Vcharacter_composition_table): New variable.
4418 (Q_decomposition): New variable.
4419 (Qwide): New variable.
4420 (Qnarrow): New variable.
4421 (Qcompat): New variable.
4422 (QnoBreak): New variable.
4423 (Qsuper): New variable.
4424 (Qfraction): New variable.
4425 (to_char_code): New function.
4426 (Fget_composite_char): New function.
4427 (Fput_char_attribute): Register `->decomposition' value to
4428 `Vcharacter_composition_table'.
4429 (syms_of_mule_charset): Add new function `get-composite-char', new
4430 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4431 `super' and `fraction'.
4432 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4434 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4436 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4437 character; copy the return value.
4439 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4441 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4443 * mule-charset.c (range_charset_code_point): Must use make_int.
4444 (split_builtin_char): New function.
4446 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4448 * mule-charset.c (char_byte_table): Change name from
4449 "char-code-table" to "char-byte-table".
4450 (mark_char_code_table): New function.
4451 (char_code_table_equal): New function.
4452 (char_code_table_hash): New function.
4453 (char_code_table_description): New constant.
4454 (char_code_table): New type.
4455 (make_char_code_table): New function.
4456 (copy_char_code_table): New function.
4457 (get_char_code_table): Modify for `char_code_table' type.
4458 (put_char_code_table): Likewise.
4459 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4462 * char-ucs.h (char_code_table): New type.
4463 (XCHAR_CODE_TABLE): New macro.
4464 (XSETCHAR_CODE_TABLE): New macro.
4465 (CHAR_CODE_TABLE_P): New macro.
4466 (GC_CHAR_CODE_TABLE_P): New macro.
4467 (struct Lisp_Char_Code_Table): New structure.
4469 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4471 * mule-charset.c (Fmake_charset): Setup byte_offset for
4474 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4476 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4479 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4481 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4484 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4486 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4487 charset, it is regarded as a charset.
4488 (put_char_attribute): New function in UTF-2000.
4489 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4490 charset, mapping-table of the charset is modified.
4491 (Fdefine_char): New function in UTF-2000.
4492 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4493 `Fput_char_attribute'.
4494 (syms_of_mule_charset): Add new function `define-char' and new
4495 symbol `ucs' in UTF-2000.
4496 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4498 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4500 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4501 non-UTF-2000 configuration.
4503 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4505 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4506 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4508 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4510 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4511 (Fset_charset_mapping_table): Likewise.
4513 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4514 (CHARSET_ENCODING_TABLE): Delete.
4515 (XCHARSET_ENCODING_TABLE): Delete.
4516 (charset_code_point): New interface.
4518 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4520 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4521 instead of `charset_get_byte1' and `charset_get_byte2'.
4523 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4524 (charset_get_byte2): Deleted.
4526 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4528 * char-ucs.h (SPLIT_CHAR): New inline function.
4529 (breakup_char_1): Use `SPLIT_CHAR'.
4531 * mule-charset.c (range_charset_code_point): New function.
4532 (charset_code_point): New function.
4534 * char-ucs.h (range_charset_code_point): New interface.
4535 (breakup_char_1): Use `range_charset_code_point'.
4537 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4539 * mule-charset.c (Fmake_charset): Delete unused local variable
4542 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4543 (breakup_char_1): Find a charset and code-point in
4544 `Vcharacter_attribute_table'.
4546 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4548 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4551 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4553 * mule-charset.c (Vcharacter_attribute_table): New variable.
4554 (Fchar_attribute_alist): New function.
4555 (Fget_char_attribute): New function.
4556 (Fput_char_attribute): New function.
4557 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4559 (syms_of_mule_charset): Add new function `char-attribute-alist',
4560 `get-char-attribute' and `put-char-attribute'.
4561 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4563 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4565 * mule-charset.c (Fmake_charset): Just use
4566 `get_unallocated_leading_byte'.
4568 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4569 sets; don't use final-byte based number for private sets.
4571 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4573 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4576 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4578 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4581 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4583 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4584 of `CHAR_LEADING_BYTE' in UTF-2000.
4586 * insdel.c (find_charsets_in_bufbyte_string): Use
4587 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4588 (find_charsets_in_emchar_string): Likewise.
4590 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4591 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4593 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4594 (CHAR_CHARSET_ID): New macro.
4596 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4598 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4599 charset-id - MIN_LEADING_BYTE.
4600 (put_char_table): Likewise.
4602 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4604 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4605 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4606 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4607 (CHARSET_ID_OFFSET): New macro.
4608 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4609 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4610 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4611 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4613 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4615 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4616 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4617 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4618 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4619 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4621 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4623 * mule-charset.c (next_allocated_leading_byte): New variable in
4625 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4626 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4627 (get_unallocated_leading_byte): Simply use
4628 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4629 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4632 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4633 (MAX_LEADING_BYTE_PRIVATE): New macro.
4634 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4635 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4637 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4639 * mule-charset.c (Fmake_charset): Allocate final-byte based
4640 charset-id for 94-set, 96-set and 94x94-set.
4642 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4644 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4646 (Fmake_charset): Likewise.
4647 (complex_vars_of_mule_charset): Modify the font registry of
4648 `ucs-bmp' not to match `Ethiopic-Unicode'.
4650 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4652 * mule-charset.c (complex_vars_of_mule_charset): Add font
4653 registory of `ucs-bmp'.
4655 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4657 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4658 coded-charsets in `default-coded-charset-priority-list' when
4659 breaking up a character.
4661 * mule-charset.c (Vcharset_latin_viscii): New variable.
4662 (Qlatin_viscii): New variable.
4663 (make_charset): Don't use `decoding_table'.
4664 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4666 (Fset_charset_mapping_table): New implementation.
4667 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4668 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4669 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4670 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4671 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4672 charset `latin_viscii'.
4674 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4675 (CHARSET_TYPE_94X94): Change to 1 from 2.
4676 (CHARSET_TYPE_96): Change to 2 from 1.
4677 (CHARSET_TYPE_128): New macro.
4678 (CHARSET_TYPE_128X128): Change to 5 from 4.
4679 (CHARSET_TYPE_256): New macro.
4680 (CHARSET_TYPE_256X256): Change to 7 from 5.
4681 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4683 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4685 * text-coding.c (char_encode_shift_jis): Refer
4686 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4687 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4689 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4690 (char_byte_table_equal): New function in UTF-2000.
4691 (char_byte_table_hash): New function in UTF-2000.
4692 (char_byte_table_description): New constant in UTF-2000.
4693 (char_byte_table): New type in UTF-2000.
4694 (make_char_byte_table): New function in UTF-2000.
4695 (copy_char_byte_table): New function in UTF-2000.
4696 (make_char_code_table): New macro in UTF-2000.
4697 (get_char_code_table): New function in UTF-2000.
4698 (put_char_code_table): New function in UTF-2000.
4699 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4700 (charset_description): Add setting in UTF-2000.
4701 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4702 `CHARSET_TO_BYTE1_TABLE(cs)'.
4703 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4704 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4705 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4706 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4707 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4708 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4709 `CHARSET_TO_BYTE2_TABLE(cs)'.
4711 * char-ucs.h (char_byte_table): New type.
4712 (XCHAR_BYTE_TABLE): New macro.
4713 (XSETCHAR_BYTE_TABLE): New macro.
4714 (CHAR_BYTE_TABLE_P): New macro.
4715 (GC_CHAR_BYTE_TABLE_P): New macro.
4716 (struct Lisp_Char_Byte_Table): New structure.
4717 (get_char_code_table): New interface.
4718 (Emchar_to_byte_table): Deleted.
4719 (get_byte_from_character_table): Deleted.
4720 (struct Lisp_Charset): Add `encoding_table'; delete
4721 `to_byte1_table' and `to_byte2_table'.
4722 (CHARSET_ENCODING_TABLE): New macro.
4723 (CHARSET_TO_BYTE1_TABLE): Deleted.
4724 (CHARSET_TO_BYTE2_TABLE): Deleted.
4725 (XCHARSET_ENCODING_TABLE): New macro.
4726 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4727 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4729 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4731 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4732 `vietnamese-viscii-*'.
4734 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4736 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4737 (Qvietnamese_viscii_upper): New variable.
4738 (Fdefine_charset_alias): New function.
4739 (syms_of_mule_charset): Add new function `define-charset-alias'.
4740 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4741 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4744 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4746 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4747 (MAX_CHAR_OBS_94x94): New macro.
4748 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4751 * mule-charset.c (put_byte_from_character_table): Change unit size
4753 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4755 (Fmake_reverse_direction_charset): Modify dummy argument of
4756 `make_charset' for non-UTF-2000 environment.
4758 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4760 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4762 * mule-charset.c (destroy_byte_from_character_table): New macro.
4763 (latin_jisx0201_to_ucs): Deleted.
4764 (latin_iso8859_2_to_ucs): Deleted.
4765 (latin_iso8859_3_to_ucs): Deleted.
4766 (latin_iso8859_4_to_ucs): Deleted.
4767 (latin_iso8859_9_to_ucs): Deleted.
4768 (latin_viscii_lower_to_ucs): Deleted.
4769 (latin_viscii_upper_to_ucs): Deleted.
4770 (mark_charset): Mark `cs->decoding_table'.
4771 (Fcharset_mapping_table): Fix DOC-string.
4772 (Fset_charset_mapping_table): New function.
4773 (syms_of_mule_charset): Add nwe function
4774 `set-charset-mapping-table'.
4775 (complex_vars_of_mule_charset): Don't setup and use
4778 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4780 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4783 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4785 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4786 (Vcharset_katakana_jisx0208): New variable.
4787 (Qhiragana_jisx0208): New variable.
4788 (Qkatakana_jisx0208): New variable.
4789 (make_charset): Add new argument `byte_offset'.
4790 (charset_get_byte1): Modify for new coded-charset definition; use
4791 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4792 `XCHARSET_BYTE_OFFSET'.
4793 (Fmake_charset): Modify for `make_charset'.
4794 (Fmake_reverse_direction_charset): Likewise.
4795 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4796 `katakana-jisx0208'.
4797 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4798 `.' in font registry of charset `katakana-jisx0201',
4799 `latin-jisx0201', `vietnamese-viscii-lower' and
4800 `vietnamese-viscii-upper'; modify DOC-string of charset
4801 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4802 registry of charset `japanese-jisx0208' not to use font for JIS
4803 X0208:1990; add new charset `hiragana-jisx0208' and
4804 `katakana-jisx0208'.
4806 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4807 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4808 (struct Lisp_Charset): Add `byte_offset'.
4809 (CHARSET_BYTE_OFFSET): New macro.
4810 (XCHARSET_UCS_MIN): New macro.
4811 (XCHARSET_UCS_MAX): New macro.
4812 (XCHARSET_CODE_OFFSET): New macro.
4813 (XCHARSET_BYTE_OFFSET): New macro.
4814 (MIN_CHAR_HIRAGANA): New macro.
4815 (MAX_CHAR_HIRAGANA): New macro.
4816 (MIN_CHAR_KATAKANA): New macro.
4817 (MAX_CHAR_KATAKANA): New macro.
4818 (MAKE_CHAR): Modify for new coded-charset definition; use
4819 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4820 `XCHARSET_BYTE_OFFSET'.
4822 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4824 * mule-charset.c (CHAR96): Deleted.
4825 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4827 (latin_iso8859_2_to_ucs): Likewise.
4828 (latin_iso8859_3_to_ucs): Likewise.
4829 (latin_iso8859_4_to_ucs): Likewise.
4830 (latin_iso8859_9_to_ucs): Likewise.
4831 (latin_viscii_lower_to_ucs): Likewise.
4832 (latin_viscii_upper_to_ucs): Likewise.
4833 (latin_tcvn5712_to_ucs): Commented out.
4834 (make_charset): Change type of argument `decoding_table' from
4835 <Emchar*> to <Lisp_Object> [vector of characters].
4836 (Fmake_charset): Modify for `make_charset'.
4837 (Fmake_reverse_direction_charset): Likewise.
4838 (Fcharset_mapping_table): New function in UTF-2000.
4839 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4841 (complex_vars_of_mule_charset): Modify for type change of
4842 `*_to_ucs'; modify for `make_charset'.
4844 * char-ucs.h (struct Lisp_Charset): Change type of
4845 `decoding_table' from <Emchar*> to <Lisp_Object>.
4846 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4848 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4850 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4851 error with non-UTF-2000-Mule.
4853 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4855 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4857 (Vcharset_chinese_cns11643_4): Likewise.
4858 (Vcharset_chinese_cns11643_5): Likewise.
4859 (Vcharset_chinese_cns11643_6): Likewise.
4860 (Vcharset_chinese_cns11643_7): Likewise.
4861 (Qchinese_cns11643_3): Likewise.
4862 (Qchinese_cns11643_4): Likewise.
4863 (Qchinese_cns11643_5): Likewise.
4864 (Qchinese_cns11643_6): Likewise.
4865 (Qchinese_cns11643_7): Likewise.
4866 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4867 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4868 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4869 (complex_vars_of_mule_charset): Likewise.
4871 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4873 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4875 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4876 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4878 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4880 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4882 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4883 (breakup_char_1): Likewise.
4885 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4886 one of them includes the specified character.
4888 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4890 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4892 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4894 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4896 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4898 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4899 definition for non-UTF-2000 Mule.
4900 (latin_iso8859_3_to_ucs): Likewise.
4901 (latin_iso8859_4_to_ucs): Likewise.
4902 (latin_iso8859_9_to_ucs): Likewise.
4903 (latin_jisx0201_to_ucs): Likewise.
4904 (MIN_CHAR_THAI): Likewise.
4905 (MAX_CHAR_THAI): Likewise.
4906 (MIN_CHAR_GREEK): Likewise.
4907 (MAX_CHAR_GREEK): Likewise.
4908 (MIN_CHAR_HEBREW): Likewise.
4909 (MAX_CHAR_HEBREW): Likewise.
4910 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4911 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4912 (MIN_CHAR_CYRILLIC): Likewise.
4913 (MAX_CHAR_CYRILLIC): Likewise.
4915 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4917 * char-ucs.h (breakup_char_1): Use
4918 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4919 thai-tis620 and katakana-jisx0201 area.
4921 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4923 * char-ucs.h (breakup_char_1): Use
4924 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4927 * text-coding.c (reset_encoding_stream): Fixed.
4928 (char_encode_ucs4): Delete `& 255'.
4930 * char-ucs.h (breakup_char_1): Use
4931 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4933 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4935 * file-coding.c (Fmake_coding_system): Don't set up
4936 `codesys->fixed.size'.
4937 (encode_coding_no_conversion): Don't refer
4938 `str->codesys->fixed.size'.
4940 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4942 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4943 (latin_a_char_to_byte1): Deleted.
4944 (latin_a_char_to_byte2): Deleted.
4946 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4948 * mule-charset.c (make_charset): Add new argument `ucs_min',
4949 `ucs_max' and `code_offset'.
4950 (charset_get_byte1): New implementation [delete specific charset
4951 depended implementations].
4952 (Fmake_charset): Modify for `make_charset'.
4953 (Fmake_reverse_direction_charset): Likewise.
4954 (complex_vars_of_mule_charset): Likewise.
4956 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4958 (CHARSET_UCS_MIN): New macro.
4959 (CHARSET_UCS_MAX): New macro.
4960 (CHARSET_CODE_OFFSET): New macro.
4961 (MAKE_CHAR): Delete charset depended definitions [except
4964 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4966 * char-ucs.h (breakup_char_1): Use
4967 `Vdefault_coded_charset_priority_list' for C0-Controls,
4968 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4970 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4972 * char-ucs.h (charset_get_byte1): New function.
4973 (XCHARSET_GET_BYTE1): Deleted.
4974 (charset_get_byte2): New function.
4975 (XCHARSET_GET_BYTE2): Deleted.
4976 (Vdefault_coded_charset_priority_list): New external variable.
4977 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4978 `Vdefault_preferred_coded_charset_list'.
4980 * mule-charset.c (charset_get_byte1): New function.
4981 (charset_get_byte2): New function.
4982 (Vdefault_coded_charset_priority_list): New variable.
4983 (vars_of_mule_charset): Add new variable
4984 `default-coded-charset-priority-list'.
4986 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4988 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4989 (XCHARSET_GET_BYTE2): New inline function.
4990 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4991 `XCHARSET_GET_BYTE2'.
4993 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4995 * mule-charset.c (make_charset): Initialize
4996 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4997 NULL if table is not defined.
4999 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5001 * text-coding.c (char_encode_shift_jis): Use
5002 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5003 `ucs_to_latin_jisx0201'.
5005 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5006 (ucs_to_latin_iso8859_2): Deleted.
5007 (ucs_to_latin_iso8859_3): Deleted.
5008 (ucs_to_latin_iso8859_4): Deleted.
5009 (ucs_to_latin_iso8859_9): Deleted.
5010 (ucs_to_latin_viscii_lower): Deleted.
5011 (ucs_to_latin_viscii_upper): Deleted.
5012 (ucs_to_latin_tcvn5712): Deleted.
5013 (make_charset): Add new argument `decoding_table'; set up
5014 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5015 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5016 `decoding_table' is defined in UTF-2000.
5017 (Fmake_charset): Modify for `make_charset'.
5018 (Fmake_reverse_direction_charset): Likewise.
5019 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5020 and `GENERATE_96_SET'.
5022 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5023 (ucs_to_latin_jisx0201): Deleted.
5024 (latin_iso8859_2_to_ucs): Deleted.
5025 (ucs_to_latin_iso8859_2): Deleted.
5026 (latin_iso8859_3_to_ucs): Deleted.
5027 (ucs_to_latin_iso8859_3): Deleted.
5028 (latin_iso8859_4_to_ucs): Deleted.
5029 (ucs_to_latin_iso8859_4): Deleted.
5030 (latin_iso8859_9_to_ucs): Deleted.
5031 (ucs_to_latin_iso8859_9): Deleted.
5032 (latin_viscii_lower_to_ucs): Deleted.
5033 (ucs_to_latin_viscii_lower): Deleted.
5034 (latin_viscii_upper_to_ucs): Deleted.
5035 (ucs_to_latin_viscii_upper): Deleted.
5036 (struct Lisp_Charset): Renamed `encoding_table' to
5037 `to_byte1_table'; add `to_byte2_table'.
5038 (CHARSET_DECODING_TABLE): New macro.
5039 (CHARSET_TO_BYTE1_TABLE): New macro.
5040 (CHARSET_TO_BYTE2_TABLE): New macro.
5041 (XCHARSET_DECODING_TABLE): New macro.
5042 (XCHARSET_TO_BYTE1_TABLE): New macro.
5043 (XCHARSET_TO_BYTE2_TABLE): New macro.
5044 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5046 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5047 don't use `ucs_to_*' tables.
5049 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5051 * text-coding.c (Fmake_coding_system): Don't set up
5052 `codesys->fixed.size'.
5053 (encode_coding_no_conversion): Use `if' instead of `switch'.
5055 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5057 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5059 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5060 (Fmake_charset): Modify for `make_charset'.
5061 (Fmake_reverse_direction_charset): Likewise.
5062 (complex_vars_of_mule_charset): Likewise.
5064 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5066 * text-coding.c (char_encode_shift_jis): Use table
5067 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5069 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5071 * text-coding.c (text_encode_generic): Use `if' instead of
5073 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5076 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5078 * text-coding.c (encode_coding_sjis): Deleted.
5079 (char_encode_shift_jis): New function.
5080 (char_finish_shift_jis): New function.
5081 (reset_encoding_stream): Set up `encode_char' and `finish' for
5082 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5083 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5084 (char_encode_utf8): Treat `eol_type'.
5086 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5088 * file-coding.c (decode_coding_iso2022): Use
5089 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5091 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5093 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5096 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5098 * char-lb.h (CHAR_COLUMNS): New macro.
5100 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5102 * text-coding.c (char_encode_ucs4): New function.
5103 (char_finish_ucs4): New function.
5104 (encode_coding_ucs4): Deleted.
5105 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5106 (text_encode_generic): Delete local variable `charset' and `half'.
5107 (ucs_to_mule_table): Deleted.
5108 (mule_to_ucs_table): Deleted.
5109 (Fset_ucs_char): Deleted.
5110 (ucs_to_char): Deleted.
5111 (Fucs_char): Deleted.
5112 (Fset_char_ucs): Deleted.
5113 (Fchar_ucs): Deleted.
5114 (decode_ucs4): Deleted.
5115 (mule_char_to_ucs4): Deleted.
5116 (encode_ucs4): Deleted.
5117 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5118 (decode_coding_utf8): Likewise.
5119 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5120 (char_encode_iso2022): Fixed.
5121 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5122 `Fset_char_ucs' and `Fchar_ucs'.
5123 (complex_vars_of_file_coding): Don't initialize
5124 `ucs_to_mule_table'.
5126 * objects-tty.c (tty_initialize_font_instance): Don't use
5129 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5132 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5133 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5135 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5136 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5137 (emchar_string_displayed_columns): Likewise.
5139 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5140 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5141 (string_column_at_point): Likewise.
5142 (Fmove_to_column): Likewise.
5144 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5145 `encoding_table' and `decoding_table'.
5146 (CHARSET_REP_BYTES): Deleted.
5147 (XCHARSET_REP_BYTES): Deleted.
5148 (XCHARSET_COLUMNS): Deleted.
5149 (CHAR_COLUMNS): New macro.
5150 (lookup_composite_char): Deleted unconditionally.
5151 (composite_char_string): Likewise.
5153 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5155 * char-ucs.h (Emchar_to_byte_table): New type.
5156 (get_byte_from_character_table): New function interface.
5157 (Vcharset_latin_jisx0201): New variable.
5158 (latin_jisx0201_to_ucs): New variable.
5159 (ucs_to_latin_jisx0201): New variable.
5160 (Vcharset_latin_iso8859_2): New variable.
5161 (latin_iso8859_2_to_ucs): New variable.
5162 (ucs_to_latin_iso8859_2): New variable.
5163 (Vcharset_latin_iso8859_3): New variable.
5164 (latin_iso8859_3_to_ucs): New variable.
5165 (ucs_to_latin_iso8859_3): New variable.
5166 (Vcharset_latin_iso8859_4): New variable.
5167 (latin_iso8859_4_to_ucs): New variable.
5168 (ucs_to_latin_iso8859_4): New variable.
5169 (Vcharset_latin_iso8859_9): New variable.
5170 (latin_iso8859_9_to_ucs): New variable.
5171 (ucs_to_latin_iso8859_9): New variable.
5172 (Vcharset_latin_viscii_lower): New variable.
5173 (latin_viscii_lower_to_ucs): New variable.
5174 (ucs_to_latin_viscii_lower): New variable.
5175 (Vcharset_latin_viscii_upper): New variable.
5176 (latin_viscii_upper_to_ucs): New variable.
5177 (ucs_to_latin_viscii_upper): New variable.
5178 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5179 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5180 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5181 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5182 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5183 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5184 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5185 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5186 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5187 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5189 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5190 (Vcharset_latin_viscii_upper): New variable.
5191 (make_byte_from_character_table): New function.
5192 (put_byte_from_character_table): New function.
5193 (get_byte_from_character_table): New function.
5194 (CHAR96): New macro.
5195 (ucs_to_latin_jisx0201): New variable.
5196 (latin_jisx0201_to_ucs): New variable.
5197 (ucs_to_latin_iso8859_2): New variable.
5198 (latin_iso8859_2_to_ucs): New variable.
5199 (ucs_to_latin_iso8859_3): New variable.
5200 (latin_iso8859_3_to_ucs): New variable.
5201 (ucs_to_latin_iso8859_4): New variable.
5202 (latin_iso8859_4_to_ucs): New variable.
5203 (ucs_to_latin_iso8859_9): New variable.
5204 (latin_iso8859_9_to_ucs): New variable.
5205 (ucs_to_latin_viscii_lower): New variable.
5206 (latin_viscii_lower_to_ucs): New variable.
5207 (ucs_to_latin_viscii_upper): New variable.
5208 (latin_viscii_upper_to_ucs): New variable.
5209 (ucs_to_latin_tcvn5712): New variable.
5210 (latin_tcvn5712_to_ucs): New variable.
5211 (Qlatin_viscii_lower): New variable.
5212 (Qlatin_viscii_upper): New variable.
5213 (syms_of_mule_charset): Set up new symbol
5214 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5215 (complex_vars_of_mule_charset): Set up new charset
5216 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5217 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5218 `ucs_to_<CHARSET>' tables.
5220 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5222 * text-coding.c: New file.
5224 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5226 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5228 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5229 (MAKE_CHAR): Modify for `ucs-bmp'.
5230 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5231 non-MULE characters of BMP.
5233 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5235 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5238 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5241 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5242 - Include character.h for `CHAR_ASCII_P'.
5244 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5246 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5247 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5249 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5250 (BYTE_C0_P): Likewise.
5251 (BYTE_C1_P): Likewise.
5252 (Lstream_get_emchar_1): Likewise.
5253 (Lstream_fput_emchar): Likewise.
5254 (Lstream_funget_emchar): Likewise.
5255 (copy_internal_to_external): Likewise.
5256 (copy_external_to_internal): Likewise.
5258 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5259 (BYTE_C0_P): Likewise.
5260 (BYTE_C1_P): Likewise.
5261 (Lstream_get_emchar_1): Likewise.
5262 (Lstream_fput_emchar): Likewise.
5263 (Lstream_funget_emchar): Likewise.
5264 (copy_internal_to_external): Likewise.
5265 (copy_external_to_internal): Likewise.
5267 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5268 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5270 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5271 (BYTE_ASCII_P): Moved to mb-1byte.h.
5273 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5275 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5277 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5278 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5279 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5280 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5281 (VALIDATE_CHARPTR_FORWARD): Likewise.
5282 (simple_charptr_emchar): Moved to mb-multibyte.h.
5283 (simple_set_charptr_emchar): Likewise.
5284 (simple_charptr_copy_char): Likewise.
5285 (non_ascii_charptr_emchar): Likewise.
5286 (non_ascii_set_charptr_emchar): Likewise.
5287 (non_ascii_charptr_copy_char): Likewise.
5288 (charptr_emchar): Moved to mb-*byte.h.
5289 (set_charptr_emchar): Likewise.
5290 (charptr_copy_char): Likewise.
5292 * mb-1byte.h, mb-multibyte.h: New files.
5294 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5296 * mb-utf-8.h (MULTIBYTE): New macro.
5297 (MAX_EMCHAR_LEN): Moved from buffer.h.
5298 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5300 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5302 * mb-lb.h, multibyte.h: New files.
5304 * char-1byte.h (Charset_ID): Moved from buffer.h.
5305 (MIN_LEADING_BYTE): Likewise.
5306 (LEADING_BYTE_ASCII): Likewise.
5307 (NUM_LEADING_BYTES): Likewise.
5308 (CHARSETP): Likewise.
5309 (CHARSET_BY_LEADING_BYTE): Likewise.
5310 (XCHARSET_LEADING_BYTE): Likewise.
5311 (XCHARSET_GRAPHIC): Likewise.
5312 (XCHARSET_COLUMNS): Likewise.
5313 (XCHARSET_DIMENSION): Likewise.
5314 (CHAR_CHARSET): Likewise.
5315 (CHAR_LEADING_BYTE): Likewise.
5316 (BREAKUP_CHAR): Likewise.
5317 (Vcharset_ascii): Likewise.
5319 * buffer.h: Include multibyte.h unconditionally.
5320 (VALID_CHARPTR_P): Moved to multibyte.h.
5321 (ASSERT_VALID_CHARPTR): Likewise.
5322 (REAL_INC_CHARPTR): Likewise.
5323 (REAL_INC_CHARBYTIND): Likewise.
5324 (REAL_DEC_CHARPTR): Likewise.
5325 (INC_CHARPTR): Likewise.
5326 (INC_CHARBYTIND): Likewise.
5327 (DEC_CHARPTR): Likewise.
5328 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5329 (VALIDATE_CHARPTR_FORWARD): Likewise.
5330 (charptr_n_addr): Likewise.
5331 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5332 (simple_charptr_emchar): Moved to multibyte.h.
5333 (simple_set_charptr_emchar): Likewise.
5334 (simple_charptr_copy_char): Likewise.
5335 (non_ascii_charptr_emchar): Likewise.
5336 (non_ascii_set_charptr_emchar): Likewise.
5337 (non_ascii_charptr_copy_char): Likewise.
5338 (charptr_emchar): Likewise.
5339 (set_charptr_emchar): Likewise.
5340 (charptr_copy_char): Likewise.
5341 (charptr_emchar_n): Likewise.
5342 (Charset_ID): Moved to char-1byte.h.
5343 (Vcharset_ascii): Likewise.
5344 (CHAR_CHARSET): Likewise.
5345 (CHAR_LEADING_BYTE): Likewise.
5346 (LEADING_BYTE_ASCII): Likewise.
5347 (NUM_LEADING_BYTES): Likewise.
5348 (MIN_LEADING_BYTE): Likewise.
5349 (CHARSETP): Likewise.
5350 (CHARSET_BY_LEADING_BYTE): Likewise.
5351 (XCHARSET_LEADING_BYTE): Likewise.
5352 (XCHARSET_GRAPHIC): Likewise.
5353 (XCHARSET_COLUMNS): Likewise.
5354 (XCHARSET_DIMENSION): Likewise.
5355 (BREAKUP_CHAR): Likewise.
5357 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5359 * character.h: Add document about interface for characters.
5361 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5362 (MAKE_CHAR): Delete comment about
5363 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5364 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5365 (BREAKUP_CHAR): Modify name of arguments.
5366 (CHAR_CHARSET): Modify name of argument.
5368 * buffer.h: Delete document about Emchar accessors.
5370 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5372 * character.h (CHAR_INTP): Moved from buffer.h
5373 (CHAR_OR_CHAR_INTP): Likewise.
5374 (XCHAR_OR_CHAR_INT): Likewise.
5375 (CHECK_CHAR_COERCE_INT): Likewise.
5377 * buffer.h (CHAR_INTP): Moved to character.h
5378 (CHAR_OR_CHAR_INTP): Likewise.
5379 (XCHAR_OR_CHAR_INT): Likewise.
5380 (CHECK_CHAR_COERCE_INT): Likewise.
5382 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5385 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5386 - Include char-1byte.h, char-lb.h or char-ucs.h.
5388 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5390 * buffer.h: Include character unconditionally.
5391 (valid_char_p): Moved to char-*.h.
5392 (non_ascii_valid_char_p): Moved to char-lb.h.
5394 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5396 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5398 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5399 in UTF-2000 because it is not ported yet and not to use
5400 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5401 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5402 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5404 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5405 (CHAR_ASCII_P): Moved from character.h.
5407 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5408 (CHAR_ASCII_P): Likewise.
5409 (CHAR_FIELD1_MASK): Deleted.
5410 (CHAR_FIELD2_MASK): Deleted.
5411 (CHAR_FIELD3_MASK): Deleted.
5412 (MAX_CHAR_BASIC_LATIN): New macro.
5413 (CHAR_FIELD1): Deleted.
5414 (CHAR_FIELD2_INTERNAL): Deleted.
5415 (CHAR_FIELD3_INTERNAL): Deleted.
5416 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5417 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5418 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5419 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5420 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5421 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5422 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5423 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5424 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5425 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5426 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5427 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5428 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5429 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5430 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5431 (MIN_CHAR_COMPOSITION): Deleted.
5432 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5433 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5435 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5437 * buffer.h: Include mb-utf-8.h in UTF-2000.
5439 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5441 * mb-utf-8.h: New file.
5443 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5445 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5448 * mule-charset.h, buffer.h (Charset_ID): New type.
5450 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5452 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5453 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5454 instead of `MULE_CHAR_PRIVATE_OFFSET',
5455 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5456 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5457 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5459 * character.h (Vcharset_japanese_jisx0212): New variable
5462 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5464 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5465 (charset_by_attributes): Delete array about direction.
5466 (latin_a_char_to_charset): New variable in UTF-2000.
5467 (latin_a_char_to_byte1): New variable in UTF-2000.
5468 (latin_a_char_to_byte2): New variable in UTF-2000.
5469 (Qucs_bmp): New variable.
5470 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5472 (next_allocated_2_byte_leading_byte): Likewise.
5473 (non_ascii_set_charptr_emchar): Likewise.
5474 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5475 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5476 `charset_by_attributes'.
5477 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5478 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5479 and `CHARSET_BY_LEADING_BYTE'.
5480 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5481 `utf-2000-version' to `vars_of_mule_charset'.
5482 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5483 define `leading-code-private-11' in UTF-2000; move setting of
5484 `utf-2000-version' from `syms_of_mule_charset'.
5485 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5488 * character.h (Charset_ID): New type.
5489 (LEADING_BYTE_UCS_BMP): New macro.
5490 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5491 (CHARSET_ID_OFFSET_94): New macro.
5492 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5493 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5494 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5496 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5497 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5498 (CHARSET_ID_OFFSET_96): New macro.
5499 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5500 CHARSET_ID_OFFSET_96 and final-byte.
5501 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5502 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5503 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5504 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5505 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5506 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5507 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5508 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5509 (LEADING_BYTE_THAI_TIS620): Likewise.
5510 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5511 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5512 (CHARSET_ID_OFFSET_94x94): New macro.
5513 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5514 CHARSET_ID_OFFSET_94x94 and final-byte.
5515 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5516 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5517 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5518 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5519 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5520 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5521 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5522 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5523 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5524 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5525 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5526 (CHARSET_TYPE_128X128): New macro.
5527 (CHARSET_TYPE_256X256): New macro.
5528 (XCHARSET_PRIVATE_P): Delete unconditionally.
5529 (charset_by_attributes): Delete array about direction.
5530 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5531 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5532 (MIN_CHAR_94): New macro.
5533 (MAX_CHAR_94): New macro.
5534 (MIN_CHAR_96): New macro.
5535 (MAX_CHAR_96): New macro.
5536 (MIN_CHAR_94x94): New macro.
5537 (MAX_CHAR_94x94): New macro.
5538 (MIN_CHAR_96x96): New macro.
5539 (MAX_CHAR_96x96): New macro.
5540 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5541 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5542 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5544 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5545 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5546 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5547 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5548 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5549 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5550 `XCHARSET_LEADING_BYTE' to make code-point.
5551 (latin_a_char_to_charset): New variable.
5552 (latin_a_char_to_byte1): New variable.
5553 (latin_a_char_to_byte2): New variable.
5554 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5555 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5556 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5558 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5559 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5560 (find_charsets_in_emchar_string): Likewise.
5561 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5563 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5565 (decode_coding_iso2022): Likewise.
5567 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5570 * redisplay.c (redisplay_text_width_emchar_string): Use
5571 `Charset_ID' instead of `unsigned char'.
5572 (redisplay_frame_text_width_string): Likewise.
5574 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5577 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5578 instead of `unsigned char'.
5579 (face_cachel_charset_font_metric_info): Likewise.
5581 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5582 (get_non_ascii_char_table_value): Likewise.
5583 (get_char_table): Likewise.
5584 (put_char_table): Likewise.
5585 (map_over_other_charset): Likewise.
5586 (map_char_table): Likewise.
5588 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5589 instead of `unsigned char'.
5591 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5593 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5594 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5596 * mule-charset.c (leading_code_private_11): Don't define in
5599 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5600 in UTF-2000 because it is not ported yet and not to use
5601 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5603 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5605 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5607 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5609 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5612 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5613 of unsigned char to store leading-byte.
5615 * chartab.c (get_non_ascii_char_table_value): Don't use
5616 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5618 * file-coding.c (encode_coding_big5): Delete bogus implementation
5621 * character.h (LEADING_BYTE_*): Delete definition for
5623 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5624 (LEADING_BYTE_PREFIX_P): Deleted.
5625 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5626 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5627 (BUFBYTE_LEADING_BYTE_P): Deleted.
5628 (CHARSET_PRIVATE_P): Deleted unconditionally.
5629 (rep_bytes_by_first_byte): Deleted unconditionally.
5630 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5631 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5632 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5633 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5634 (CHAR_FIELD2): Deleted.
5635 (CHAR_FIELD3): Deleted.
5636 (MAKE_CHAR): Delete definition for non-UTF-2000.
5637 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5638 (breakup_char_1): New implementation.
5639 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5640 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5642 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5644 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5647 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5649 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5650 (CHARSET_PRIVATE_P): Likewise.
5651 (XCHARSET_PRIVATE_P): Likewise.
5652 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5654 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5656 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5658 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5660 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5661 (NUM_LEADING_BYTES): Changed from 128 to 256.
5662 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5663 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5665 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5667 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5669 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5670 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5671 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5672 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5673 (Qchinese_cns11643_3): New variable in UTF2000.
5674 (Qchinese_cns11643_4): New variable in UTF2000.
5675 (Qchinese_cns11643_5): New variable in UTF2000.
5676 (Qchinese_cns11643_6): New variable in UTF2000.
5677 (Qchinese_cns11643_7): New variable in UTF2000.
5678 (syms_of_mule_charset): Define `chinese-cns11643-3',
5679 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5680 and `chinese-cns11643-7' in UTF2000.
5681 (vars_of_mule_charset): Initialize
5682 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5684 (complex_vars_of_mule_charset): Setup charset
5685 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5686 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5688 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5690 * mule-charset.c: Move setting for `leading-code-private-11' from
5691 `syms_of_mule_charset' to `vars_of_mule_charset'.
5693 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5695 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5696 and `NUM_LEADING_BYTES' in assert.
5698 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5700 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5702 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5703 `NUM_LEADING_BYTES' instead of 128.
5705 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5707 * mule-charset.h (charset_by_leading_byte): Use
5708 `NUM_LEADING_BYTES' instead of 128.
5709 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5711 * mule-charset.c (charset_by_leading_byte): Use
5712 `NUM_LEADING_BYTES' instead of 128.
5713 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5715 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5718 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5720 * mule-charset.c (syms_of_mule_charset): Update to
5723 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5725 * file-coding.c (encode_coding_sjis): New implementation for
5726 UTF2000. (decode_coding_sjis): Ditto.
5728 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5730 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5731 Don't define in UTF2000.
5733 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5736 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5737 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5740 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5742 * config.h.in (CHAR_IS_UCS4): New macro.
5744 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5745 conventional MULE representation.
5746 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5748 * mule-charset.h: Reverted to original.
5750 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5751 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5752 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5754 * character.h: New file.
5756 * file-coding.c (Fmake_coding_system): Set 1 to
5757 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5759 (encode_coding_no_conversion): New implementation for UTF2000.
5761 * file-coding.h (struct Lisp_Coding_System): Add new member
5764 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5766 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5767 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5768 (encode_coding_iso2022): New implementation for UTF2000.
5770 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5772 * mule-canna.c (c2mu): New implementation for UTF2000.
5775 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5777 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5779 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5781 * file-coding.c (reset_encoding_stream): Set 0 to
5782 `str->iso2022.current_char_boundary' in UTF2000.
5783 (encode_utf8): Don't define in UTF2000.
5784 (encode_coding_utf8): New implementation for UTF-8 representation
5786 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5788 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5790 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5792 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5794 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5796 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5798 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5799 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5800 as UTF-8 in UTF2000.
5801 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5802 (non_ascii_valid_char_p): Don't define in UTF2000.
5803 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5804 (Lstream_get_emchar_1): Likewise.
5805 (utf-2000-version): New variable in UTF2000.
5807 * lread.c (read_escape): Add new reader `u'.
5809 * insdel.c (three_to_one_table): Don't define in UTF2000.
5810 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5811 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5813 (bytind_to_bufpos_func): Likewise.
5814 (buffer_mule_signal_inserted_region): Likewise.
5815 (vars_of_insdel): Don't initialize `three_to_one_table'.
5816 (init_buffer_text): Use `buf->text->mule_size' instead of
5817 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5820 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5821 UTF-8 representation in UTF2000.
5822 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5823 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5824 (decode_coding_iso2022): Don't define local variable `lb' in
5825 UTF2000; don't use LEADING_BYTE in UTF2000; use
5826 `DECODE_ADD_UCS_CHAR' in UTF2000.
5827 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5829 * config.h.in (UTF2000): New macro.
5831 * buffer.h (struct buffer_text): Add new member `mule_size' and
5832 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5833 (valid_char_p): Return always 1 in UTF2000.
5834 (MAX_EMCHAR_LEN): 6 in UTF2000.
5835 (three_to_one_table): Don't define in UTF2000.
5836 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5838 (real_bytind_to_bufpos): Likewise.
5840 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5842 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5844 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5845 representation change.
5846 (Vutf_2000_version): New variable.
5847 (leading_code_private_11): New variable.
5848 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5849 `leading-code-private-11'.
5851 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5852 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5853 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5854 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5855 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5856 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5857 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5858 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5859 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5860 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5861 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5862 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5863 (MIN_CHAR_GREEK): New macro.
5864 (MAX_CHAR_GREEK): New macro.
5865 (MIN_CHAR_CYRILLIC): New macro.
5866 (MAX_CHAR_CYRILLIC): New macro.
5867 (MIN_CHAR_HEBREW): New macro.
5868 (MAX_CHAR_HEBREW): New macro.
5869 (MIN_CHAR_THAI): New macro.
5870 (MAX_CHAR_THAI): New macro.
5871 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5872 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5873 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5874 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5875 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5876 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5877 (CHAR_FIELD2): New inline function.
5878 (CHAR_FIELD3): New inline function.
5879 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5880 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5881 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5882 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5883 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5884 (MIN_CHAR_COMPOSITION): Likewise.
5885 (CHAR_LEADING_BYTE): Modified for character representation change.
5886 (MAKE_CHAR): Likewise.
5888 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5889 (Vcharset_greek_iso8859_7): Likewise.
5890 (Vcharset_cyrillic_iso8859_5): Likewise.
5891 (Vcharset_hebrew_iso8859_8): Likewise.
5892 (Vcharset_thai_tis620): Likewise.
5893 (Vcharset_katakana_jisx0201): Likewise.
5895 2006-01-28 Vin Shelton <acs@xemacs.org>
5897 * XEmacs 21.4.19 is released
5899 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
5901 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
5903 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
5905 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
5908 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
5910 * database.c: Suppress compiler warning under Cygwin.
5911 * database.c: Removed __FreeBSD__ check, should be handled by
5912 HAVE_U_xxx_T defines.
5914 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
5916 * console.c (stuff_buffered_input): Compile body only if
5919 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
5921 * callproc.c: #include sysdir.h, so that any appropriate Mule
5922 magic happens with the chdir() call when calling a subprocess.
5924 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
5926 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
5927 * mule-ccl.c: Check that a character set exists before using it
5928 to create a character.
5930 2005-12-06 Vin Shelton <acs@xemacs.org>
5932 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
5935 2005-12-03 Vin Shelton <acs@xemacs.org>
5937 * XEmacs 21.4.18 is released
5939 2005-11-27 Kean Johnston <kean@armory.com>
5941 * redisplay-tty.c (set_tty_modes):
5942 (reset_tty_modes): disable auto-margins if the terminal supports
5944 (init_tty_for_redisplay): fix cursor shape.
5946 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
5948 * mule-ccl.c (ccl_driver): Calculate the charset and position code
5949 for control-1 characters properly, both when reading multibyte
5950 characters and writing them.
5952 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
5954 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
5955 * select-x.c (x_reply_selection_request): Use it; fix the bug we
5956 were seeing with incremental selection transfer failing.
5958 2005-11-26 Vin Shelton <acs@xemacs.org>
5960 * callproc.c (Fold_call_process_internal): Create the buffer if it
5961 does not already exist. The original patch came from Ben Wing in
5962 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
5964 2002-05-13 Adrian Aichner <adrian@xemacs.org>
5966 * callproc.c: Process-related docstring improvements spurred by
5969 2005-11-25 Vin Shelton <acs@xemacs.org>
5971 * depend: Regenerated.
5973 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
5975 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
5976 says it clashes with a global with the same name.
5978 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
5980 * sysdll.c (dll_open): Under MacOS X return NULL under the
5981 filename is NULL. Fixes problems finding local symbols under 10.4
5984 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
5986 * config.h.in: New HAVE_U_INT*_T defines.
5988 * database.c: Only use u_int*_t typedefs if not already
5991 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
5993 * src/process-unix.c (unix_open_network_stream): moved
5994 'portbuf' buffer out of an inner block as it is used in the
5995 entire function. With gcc4, the stack may get corrupted
5996 after leaving this block. This patches adjusts the size of
5997 the used buffer also; static '128' bytes are far too much
5998 currently and might not suffice for future architectures
5999 (e.g. for 512 bit ones ;)). Instead of, use only the really
6000 required space (max octets * ln(256)/ln(10) chars + space
6001 for '\0' and the sign)
6003 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6005 * callproc.c: Include sysdir.h, so any necessary Mule processing
6006 is done on the current directory name before starting a new
6009 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6011 * chartab.c (Fchar_table_p):
6012 (Fget_range_char_table):
6015 Describe range representation and fix typo.
6017 2005-02-12 Vin Shelton <acs@xemacs.org>
6019 * emacs.c (shut_down_emacs): Advise users to send email to the
6020 xemacs-beta list instead of crashes@xemacs.org.
6022 2005-02-03 David Evers <extsw@appliedgenerics.com>
6024 * process-unix.c (unix_send_process): Flush the last chunk, even
6025 when the pipe is blocked.
6027 2005-02-06 Vin Shelton <acs@xemacs.org>
6029 * XEmacs 21.4.17 is released
6031 2005-01-31 Ben Wing <ben@xemacs.org>
6034 Define assert_failed() always.
6036 Always define ABORT().
6038 2005-01-25 Ben Wing <ben@xemacs.org>
6041 * Makefile.in.in (%.o):
6042 Don't compile executable as Windows (-mwindows) under Cygwin.
6043 Semi-recent changes to Cygwin's executable-startup handling make
6044 it impossible to access the TTY this way.
6046 Don't use special linker file under Cygwin (cygwin.sc) except
6047 when non-PDUMP (even in this case it is highly questionable); you
6050 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6051 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6053 2005-01-29 Ben Wing <ben@xemacs.org>
6055 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6057 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6059 2005-01-29 Ben Wing <ben@xemacs.org>
6061 * bytecode.c (optimize_compiled_function):
6063 * print.c (long_to_string):
6064 Add casts to avoid warning.
6067 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6068 #### The better solution is to move the TIFF and JPEG code to
6071 * glyphs-msw.c (mswindows_xbm_instantiate):
6072 Define __STDC__ to avoid problems with compface.h.
6074 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6076 * EmacsShell-sub.c (ABORT):
6077 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6078 * EmacsShell-sub.c (RootGeometryManager):
6080 * EmacsShell.c (ABORT):
6081 * EmacsShell.c (EmacsShellUpdateSizeHints):
6082 * alloc.c (free_lcrecord):
6083 * alloca.c (i00afunc):
6084 * buffer.c (delete_from_buffer_alist):
6085 * buffer.c (MARKED_SLOT):
6086 * bytecode.c (execute_rare_opcode):
6087 * bytecode.c (optimize_byte_code):
6088 * bytecode.c (Ffetch_bytecode):
6089 * chartab.c (char_table_type_to_symbol):
6090 * chartab.c (Freset_char_table):
6091 * chartab.c (decode_char_table_range):
6092 * chartab.c (Fget_range_char_table):
6093 * chartab.c (check_valid_char_table_value):
6094 * chartab.c (map_char_table):
6095 * chartab.c (slow_map_char_table_fun):
6096 * chartab.c (chartab_instantiate):
6097 * cm.c (cmcheckmagic):
6098 * console-msw.c (DHEADER):
6099 * console.c (MARKED_SLOT):
6100 * data.c (finish_marking_weak_lists):
6101 * data.c (encode_weak_list_type):
6102 * debug.h (DASSERT):
6103 * device-gtk.c (gtk_init_device):
6104 * device-msw.c (mswindows_get_default_margin):
6105 * device-tty.c (tty_init_device):
6106 * device-x.c (get_device_from_display):
6107 * device-x.c (x_get_visual_depth):
6108 * doprnt.c (parse_doprnt_spec):
6109 * doprnt.c (get_doprnt_args):
6110 * dumper.c (pdump_get_indirect_count):
6111 * dumper.c (pdump_register_sub):
6112 * dumper.c (pdump_register_object):
6113 * dumper.c (pdump_register_struct):
6114 * dumper.c (pdump_dump_data):
6115 * dumper.c (pdump_reloc_one):
6116 * elhash.c (print_hash_table):
6117 * elhash.c (make_standard_lisp_hash_table):
6118 * elhash.c (hash_table_instantiate):
6120 * emacs.c (Fforce_debugging_signal):
6121 * emacs.c (sort_args):
6123 * emacs.c (assert_failed):
6124 * eval.c (throw_or_bomb_out):
6125 * eval.c (signal_1):
6128 * event-Xt.c (emacs_Xt_mapping_action):
6129 * event-Xt.c (Xt_process_to_emacs_event):
6131 * event-stream.c (check_event_stream_ok):
6132 * event-stream.c (Fadd_timeout):
6133 * event-stream.c (Fadd_async_timeout):
6134 * event-stream.c (Fdiscard_input):
6135 * event-stream.c (execute_internal_event):
6136 * event-stream.c (Frecent_keys):
6137 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6138 * event-stream.c (lookup_command_event):
6139 * event-unixoid.c (poll_fds_for_input):
6141 * events.c (mark_event):
6142 * events.c (event_equal):
6143 * events.c (event_hash):
6144 * events.c (Fmake_event):
6145 * events.c (Fdeallocate_event):
6146 * events.c (event_chain_find_previous):
6147 * events.c (event_to_character):
6148 * events.c (format_event_object):
6149 * events.c (Fevent_type):
6150 * events.c (event_pixel_translation):
6151 * events.c (Fevent_properties):
6152 * extents.c (extent_in_region_p):
6153 * extents.c (print_extent):
6154 * extents.c (process_extents_for_insertion_mapper):
6155 * extents.c (report_extent_modification_mapper):
6156 * extents.c (glyph_layout_to_symbol):
6157 * faces.c (face_validate):
6158 * file-coding.c (eol_type_to_symbol):
6159 * file-coding.c (subsidiary_coding_system):
6160 * file-coding.c (Fcoding_system_type):
6161 * file-coding.c (Fcoding_system_property):
6162 * file-coding.c (mule_decode):
6163 * file-coding.c (mule_encode):
6164 * file-coding.c (encode_coding_ucs4):
6165 * file-coding.c (encode_coding_utf8):
6166 * file-coding.c (parse_iso2022_esc):
6167 * file-coding.c (encode_coding_iso2022):
6172 * fns.c (Fbase64_encode_region):
6173 * fns.c (Fbase64_encode_string):
6174 * fns.c (Fbase64_decode_region):
6175 * fns.c (Fbase64_decode_string):
6176 * font-lock.c (find_context):
6177 * font-lock.c (context_to_symbol):
6178 * frame-gtk.c (gtk_set_frame_pointer):
6179 * frame-gtk.c (gtk_update_frame_external_traits):
6180 * frame-x.c (x_wm_mark_shell_size_user_specified):
6181 * frame-x.c (x_wm_mark_shell_position_user_specified):
6182 * frame-x.c (x_wm_set_shell_iconic_p):
6183 * frame-x.c (x_wm_set_cell_size):
6184 * frame-x.c (x_wm_set_variable_size):
6185 * frame-x.c (x_wm_store_class_hints):
6186 * frame-x.c (x_wm_maybe_store_wm_command):
6187 * frame-x.c (x_initialize_frame_size):
6188 * frame-x.c (x_update_frame_external_traits):
6190 * frame.c (delete_frame_internal):
6191 * frame.c (mouse_pixel_position_1):
6192 * frame.c (change_frame_size_1):
6193 * free-hook.c (check_free):
6194 * free-hook.c (check_realloc):
6195 * free-hook.c (note_block_input):
6196 * free-hook.c (log_gcpro):
6197 * gccache-gtk.c (gc_cache_lookup):
6198 * glyphs-eimage.c (tiff_memory_write):
6199 * glyphs-gtk.c (gtk_finalize_image_instance):
6200 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6201 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6202 * glyphs-gtk.c (gtk_xpm_instantiate):
6203 * glyphs-gtk.c (gtk_unmap_subwindow):
6204 * glyphs-gtk.c (gtk_map_subwindow):
6205 * glyphs-gtk.c (gtk_button_redisplay):
6207 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6208 * glyphs-x.c (init_image_instance_from_xbm_inline):
6209 * glyphs-x.c (extract_xpm_color_names):
6210 * glyphs-x.c (x_xpm_instantiate):
6211 * glyphs.c (get_image_instantiator_governing_domain):
6212 * glyphs.c (print_image_instance):
6213 * glyphs.c (image_instance_equal):
6214 * glyphs.c (image_instance_hash):
6215 * glyphs.c (encode_image_instance_type):
6216 * glyphs.c (make_image_instance_1):
6217 * glyphs.c (inherit_instantiate):
6218 * glyphs.c (image_instantiate):
6219 * glyphs.c (allocate_glyph):
6220 * glyphs.c (Fglyph_type):
6221 * glyphs.c (redisplay_subwindow):
6222 * glyphs.c (display_table_entry):
6223 * gtk-glue.c (xemacs_list_to_gtklist):
6224 * gtk-glue.c (xemacs_gtklist_to_list):
6225 * gtk-glue.c (xemacs_list_to_array):
6226 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6227 * gutter.c (gutter_was_visible):
6228 * gutter.c (get_gutter_coords):
6229 * input-method-xlib.c (get_XIM_input):
6230 * insdel.c (bufpos_to_bytind_func):
6231 * insdel.c (bytind_to_bufpos_func):
6232 * insdel.c (move_gap):
6233 * intl.c (x_get_composed_input):
6234 * keymap.c (keymap_lookup_directly):
6235 * keymap.c (keymap_delete_inverse_internal):
6236 * keymap.c (ensure_meta_prefix_char_keymapp):
6237 * keymap.c (accessible_keymaps_mapper_1):
6238 * keymap.c (where_is_recursive_mapper):
6241 * lread.c (read_atom):
6242 * lstream.c (Lstream_delete):
6243 * lstream.c (make_lisp_buffer_stream_1):
6244 * macros.c (pop_kbd_macro_event):
6245 * malloc.c (malloc):
6247 * marker.c (bi_marker_position):
6248 * marker.c (set_bi_marker_position):
6249 * menubar-gtk.c (menu_descriptor_to_widget_1):
6250 * menubar-msw.c (prune_menubar):
6251 * menubar-x.c (set_frame_menubar):
6252 * mule-charset.c (get_unallocated_leading_byte):
6253 * mule-charset.h (CHAR_LEADING_BYTE):
6254 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6255 * nt.c (init_environment):
6256 * nt.c (generate_inode_val):
6257 * ntproc.c (delete_child):
6258 * ntproc.c (_sys_read_ahead):
6259 * ntproc.c (create_child):
6260 * objects.c (color_instantiate):
6261 * objects.c (font_instantiate):
6262 * objects.c (face_boolean_instantiate):
6263 * print.c (printing_major_badness):
6264 * process-nt.c (nt_send_process):
6265 * process-unix.c (unix_send_process):
6266 * process.c (get_process):
6267 * ralloc.c (obtain):
6268 * ralloc.c (relinquish):
6269 * ralloc.c (relocate_blocs):
6270 * ralloc.c (resize_bloc):
6271 * ralloc.c (r_alloc_free):
6272 * ralloc.c (r_re_alloc):
6273 * ralloc.c (r_alloc_thaw):
6274 * ralloc.c (init_ralloc):
6275 * ralloc.c (Free_Addr_Block):
6276 * ralloc.c (r_alloc):
6277 * redisplay-gtk.c (gtk_output_display_block):
6278 * redisplay-msw.c (mswindows_output_display_block):
6279 * redisplay-output.c (get_next_display_block):
6280 * redisplay-output.c (get_cursor_size_and_location):
6281 * redisplay-output.c (redisplay_output_layout):
6282 * redisplay-output.c (redisplay_clear_region):
6283 * redisplay-tty.c (tty_output_display_block):
6284 * redisplay-x.c (x_output_display_block):
6285 * redisplay.c (add_propagation_runes):
6286 * redisplay.c (add_glyph_rune):
6287 * redisplay.c (create_text_block):
6288 * redisplay.c (add_margin_runes):
6289 * redisplay.c (create_left_glyph_block):
6290 * redisplay.c (create_right_glyph_block):
6291 * redisplay.c (create_string_text_block):
6292 * redisplay.c (regenerate_window):
6293 * redisplay.c (REGEN_INC_FIND_START_END):
6294 * redisplay.c (redisplay_frame):
6295 * redisplay.c (point_in_line_start_cache):
6298 * regex.c (re_compile_fastmap):
6299 * regex.c (re_match_2_internal):
6300 * regex.c (regerror):
6301 * scrollbar-gtk.c (gtk_scrollbar_loop):
6302 * scrollbar-gtk.c (scrollbar_cb):
6303 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6304 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6305 * scrollbar-x.c (x_update_scrollbar_instance_status):
6306 * scrollbar-x.c (x_scrollbar_loop):
6307 * scrollbar-x.c (x_update_frame_scrollbars):
6308 * search.c (search_command):
6309 * search.c (Fmatch_data):
6310 * select-x.c (motif_clipboard_cb):
6311 * signal.c (interrupt_signal):
6312 * specifier.c (specifier_add_spec):
6313 * specifier.c (specifier_instance_from_inst_list):
6314 * specifier.c (specifier_instance):
6316 * specifier.h (struct specifier_methods):
6317 * strftime.c (add_num_time_t):
6318 * sunplay.c (init_device):
6319 * symbols.c (Fsetplist):
6320 * symbols.c (do_symval_forwarding):
6321 * symbols.c (store_symval_forwarding):
6323 * symbols.c (Fbuilt_in_variable_type):
6324 * symbols.c (decode_magic_handler_type):
6325 * symbols.c (handler_type_from_function_symbol):
6326 * syntax.c (update_syntax_cache):
6327 * sysdep.c (init_baud_rate):
6328 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6329 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6330 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6331 * toolbar.c (get_toolbar_coords):
6332 * ui-gtk.c (build_gtk_boxed):
6333 * ui-gtk.c (describe_gtk_arg):
6334 * ui-gtk.c (gtk_type_to_lisp):
6335 * ui-gtk.c (lisp_to_gtk_type):
6336 * ui-gtk.c (lisp_to_gtk_ret_type):
6337 * ui-gtk.c (lisp_to_flag):
6338 * unexnt.c (read_in_bss):
6339 * unexnt.c (map_in_heap):
6340 * window.c (real_window):
6341 * window.c (window_display_lines):
6342 * window.c (window_display_buffer):
6343 * window.c (set_window_display_buffer):
6344 * window.c (window_modeline_height):
6345 * window.c (unshow_buffer):
6346 * window.c (window_loop):
6347 * window.c (Fget_lru_window):
6348 * window.c (Fsplit_window):
6349 * window.c (Fset_window_configuration):
6350 * window.c (saved_window_index):
6351 * xgccache.c (gc_cache_lookup):
6352 abort() -> ABORT(). Eliminate preprocessor games with abort()
6353 since it creates huge problems in VC7, solvable only by including
6354 massive amounts of files in every compile (and not worth it).
6358 Inclusion of process.h does not need to be before lisp.h any more.
6359 Move later and remove comment about abort().
6361 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6363 * regex.c (re_match_2_internal):
6364 Correctly initialize loop which clears uninitialized registers.
6366 2005-01-28 Vin Shelton <acs@xemacs.org>
6368 * sheap.c (more_static_core): Applied Ben's version of the long
6371 2005-01-24 Vin Shelton <acs@xemacs.org>
6373 * sheap.c (more_static_core): Reformatted printf string so
6374 gcc-3.3.3 will compile this on Cygwin.
6376 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6378 * console.c (function_key_map): Reference `key-binding'.
6380 * keymap.c (Vkey_translation_map): Improve docstring.
6382 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6384 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6385 * window.c (window_loop): [fix] Take into account
6386 `allow-deletion-of-last-visible-frame' variable.
6387 * window.c (replace-buffer-in-windows): Ditto.
6389 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6391 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6393 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6395 * event-gtk.c: Recognise AltGr as a valid modifier.
6397 2005-01-12 Ville Skyttä <scop@xemacs.org>
6399 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6401 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6403 Fix backreference bug caught by test suite.
6405 * regex.c (regex_compile):
6406 Make backref duplicate internal register.
6408 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6410 Documentation, code clarification, and warning suppression.
6412 * regex.c (regex_compile):
6414 (re_match_2_internal):
6415 Improve comments and avoid redundant braces. [Most of the big hunk
6416 at l. 4710 is indentation; use diff -w to see the real changes.]
6417 (alt_match_null_string_p):
6418 (common_op_match_null_string_p):
6419 Avoid shadowing global on Mac OS X 10.4, at least.
6421 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6423 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6424 introduced with shy groups fix). [Already applied, probably
6425 with the second "fix shy groups" patch of 2004-10-07.]
6427 2005-01-10 Steve Youngs <steve@sxemacs.org>
6429 From Andrey Slusar <anrays@gmail.com>:
6431 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6433 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6435 * Makefile (RECURSIVE_MAKE): Removed.
6436 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6437 handling parallel builds.
6439 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6441 * Makefile.in.in: Enable support for parallel builds.
6443 2005-01-09 Steve Youngs <steve@sxemacs.org>
6445 From Andrey Slusar <anrays@gmail.com>:
6447 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6448 FreeBSD version is >= 199701 _and_ < 600006.
6450 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6452 * scrollbar.c (compute_scrollbar_instance_usage):
6453 Only call device method compute_scrollbar_instance_usage() if it
6456 2004-12-05 Vin Shelton <acs@xemacs.org>
6458 * XEmacs 21.4.16 is released
6460 2004-12-04 Vin Shelton <acs@xemacs.org>
6462 * depend: Regenerated.
6464 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6466 * regex.c (re_match_2_internal): Map internal to external
6467 registers. Fixes bug identified by Steve Youngs 2004-09-30
6468 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6470 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6472 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6473 to fix a crash. Also, check the buffer is live and it
6474 really exists in buffer_list. If the buffer is not in the list,
6477 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6479 Fix shy groups by implementing recording of all groups for
6480 repetition and backtracking. Backport from 21.5.
6482 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6483 external_to_internal_register, external_to_internal_register_size,
6484 and update comments for re_nsub.
6486 * regex.c (re_opcode_t): Update comments.
6487 (print_compiled_pattern): Ouput external_to_internal_register,
6488 external_to_internal_register_size, and re_ngroups for debugging.
6489 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6490 (regex_compile): Update header comment.
6491 Ensure that all groups are recorded so that repeat matches and
6492 backtracking work correctly. Comment related warning for groups >
6494 (re_search_2): Construct map of API indexes (which count only
6495 nonshy groups) to internal register numbers, and keep it updated.
6497 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6499 * frame-gtk.c (gtk_make_frame_visible):
6500 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6501 show/hide. This is what X uses and is prevents previously hidden
6502 widgets from suddenly reappearing.
6503 * gtk-xemacs.c (gtk_xemacs_paint):
6504 * gtk-xemacs.c (gtk_xemacs_draw):
6505 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6507 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6508 size and location changes so that they can be seen before the next
6509 idle event. Without this rapid changes to scrollbar properties
6512 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6515 * console-gtk.h (struct gtk_frame):
6516 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6517 Add hash tables track tab_control callback data.
6518 Added #defines for GTK object data names.
6519 Declaration of gtk_widget_to_frame().
6520 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6521 * frame-gtk.c (gtk_widget_to_frame): New.
6522 * frame-gtk.c (gtk_create_widgets):
6523 * frame-gtk.c (allocate_gtk_frame_struct):
6524 * frame-gtk.c (gtk_mark_frame):
6525 Manage frame callbakc hash tables.
6526 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6527 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6528 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6530 * glyphs-gtk.c (gtk_widget_query_geometry): New
6531 * glyphs-gtk.c (gtk_register_gui_item): New
6532 * glyphs-gtk.c (gtk_add_tab_item): New
6533 * glyphs-gtk.c (gtk_tab_control_callback): New
6534 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6535 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6536 Use correct list when loading item.
6537 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6538 Register new methods.
6539 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6540 default size, for widgets.
6541 * gui-x.c: Improved comment.
6542 * menubar-gtk.c (__generic_button_callback): Use
6543 gtk_widget_to_frame instead of __get_channel.
6545 * ui-gtk.c: Use symbolic names for GTK object data.
6547 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6549 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6551 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6553 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6555 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6557 * malloc.c (morecore): siz is a long because in some architectures
6558 (eg ia-64) an int cannot hold the address range. Additional patch
6559 from the SuSe distribution.
6561 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6564 * malloc.c: lim_data is a long because in some architectures
6565 (eg ia-64) an int cannot hold the address range.
6566 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6567 instead of ulimit() because ulimit() always returns -1.
6569 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6571 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6573 2004-06-11 David Kastrup <dak@gnu.org>
6575 * search.c (match_limit): Don't flag an error if match-data
6576 exceeding the allocated search_regs.num_regs gets requested, just
6579 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6581 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6582 replace symbolic color entries with the real colors specified in
6583 xpm-color-symbols, before passing the XPM to gtk.
6584 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6585 instead of a GTK specific field, so that it is used in by generic
6588 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6590 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6591 coredump from deref of NULL ptr (ExtData)
6593 2004-04-19 Jerry James <james@xemacs.org>
6595 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6596 VALBITS to compute the location of the sign bit.
6597 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6598 of VALBITS with EMACS_INT_MAX.
6599 * events.c (Fevent_timestamp): Ditto.
6600 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6601 compute the halfway point to timestamp wraparound.
6602 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6603 EMACS_INT_MIN instead of using VALBITS.
6604 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6605 incorrect number with VALBITS.
6606 * fns.c (Frandom): Correct number of integer bits in docstring.
6607 Use INT_VALBITS instead of VALBITS to compute the denominator.
6608 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6609 build random numbers.
6611 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6613 * event-gtk.c (gtk_event_to_emacs_event):
6615 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6616 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6617 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6618 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6619 * menubar-gtk.c (__activate_menu):
6620 * menubar-gtk.c (convert_underscores):
6621 * menubar-gtk.c (remove_underscores):
6622 * menubar-gtk.c (menu_convert):
6623 * menubar-gtk.c (menu_descriptor_to_widget_1):
6624 * menubar-gtk.c (menu_descriptor_to_widget):
6625 * menubar-gtk.c (menu_can_reuse_widget):
6626 * menubar-gtk.c (menu_create_menubar):
6627 * menubar-gtk.c (gtk_popup_menu):
6628 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6629 Added support for Gtk menu bar and menu item mnemonics.
6631 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6633 * sysdll.c: (dll_function): Added support for finding symbols in
6634 Darwin shared libraries as well in Darwin bundles.
6635 * sysdll.c (image_for_address): New
6636 * sysdll.c (my_find_image): New
6637 * sysdll.c (search_linked_libs): New
6639 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6641 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6642 return to GTK requires a different API to marshalling data to use
6644 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6646 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6648 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6650 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6652 * glyphs.c (process_image_string_instantiator):
6653 (Fset_console_type_image_conversion_list):
6654 Stop GCC from warning about shadowing of `exp'.
6656 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6658 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6660 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6662 2004-02-03 Vin Shelton <acs@xemacs.org>
6664 * glyphs.c (image_instance_layout): Remove pointless assertion.
6665 * regex.c (regex_grow_registers): Return type is void.
6667 2004-02-02 Vin Shelton <acs@xemacs.org>
6669 * XEmacs 21.4.15 is released
6671 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6673 * device-x.c (x_error_handler): Don't call stderr_out
6675 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6677 * buffer.c (other-buffer): Clarify documentation of order of
6678 arguments for FSF Emacs.
6680 2003-10-11 Olivier Galibert <galibert@pobox.com>
6682 * window.c (Fdelete_window): Dirty the mirror structure _before_
6683 marking the window deleted.
6685 2003-09-15 Jerry James <james@xemacs.org>
6687 * event-msw.c (debug_mswin_messages): Conditionally compile
6688 messages missing from the Cygwin headers.
6690 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6692 * data.c (eq_with_ebola_notice): Fix typo in comment.
6693 (Ftrue_list_p): Improve docstring.
6695 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6697 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6699 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6701 * search.c (trivial_regexp_p): Regexps containing "\{" are
6702 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6703 Stefan Monnier for suggesting a diagnosis.
6705 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6707 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6709 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6711 * search.c (Fsearch_forward):
6713 Document negative count.
6715 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6717 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6719 2003-09-13 Martin Buchholz <martin@xemacs.org>
6721 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6723 2003-09-15 Vin Shelton <acs@xemacs.org>
6725 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6728 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6730 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6731 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6732 (re_match_2_internal): Use TRANSLATE instead of
6733 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6734 non-ASCII char case conversion.
6736 2003-09-08 Mike Sperber <mike@xemacs.org>
6738 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6739 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6741 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6743 * .gdbinit (pobj): fix printing of symbol name.
6745 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6747 * frame-x.c (x_layout_widgets): When resizing is about to cause
6748 frame size slip, mark it for redisplay.
6750 2003-08-18 Jerry James <james@xemacs.org>
6752 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6754 2003-09-03 Vin Shelton <acs@xemacs.org>
6756 * XEmacs 21.4.14 is released
6758 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6760 * config.h.in (REGEX_MALLOC): Make it configure'able.
6762 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6764 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6766 * sysdll.c (dll_init):
6767 * sysdll.c (dll_open):
6768 * sysdll.c (dll_close):
6769 * sysdll.c (dll_function):
6770 * sysdll.c (dll_variable):
6771 * sysdll.c (dll_error):
6772 Add support for loading bundles using Darwin/MacOSX
6775 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6777 * process.c (start-process-internal): Document coding systems.
6779 2003-07-30 Jerry James <james@xemacs.org>
6781 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6783 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6785 * event-msw.c (mswindows_enqueue_mouse_button_event):
6786 * event-msw.c (mswindows_wnd_proc):
6787 enqueue button event when scrollwheel event isn't handled by
6788 mswindows_handle_mousewheel_event, such as when the scrollbars
6791 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6793 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6795 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6797 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6799 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6801 * regex.c (re_match_2_internal): Fix matching degenerate word
6804 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6806 * XEmacs 21.4.13 is released
6808 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6810 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6811 * lisp.h (<inttypes.h>):
6812 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6815 2003-03-15 Martin Buchholz <martin@xemacs.org>
6817 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6818 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6819 Result: "temacs can only be run in -batch mode."
6820 Fix: Check xemacs executable candidate for directory-ness.
6822 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6824 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6825 they conflict with <sys/types.h>.
6827 2003-02-14 Martin Buchholz <martin@xemacs.org>
6829 * database.c: Berkeley DB wants __STDC__ to be defined.
6831 2003-02-13 Martin Buchholz <martin@xemacs.org>
6833 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6835 2003-02-01 Martin Buchholz <martin@xemacs.org>
6837 * process-unix.c (unix_send_process): Fix C++ compile error.
6839 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6841 * Added .dylib as an acceptable shared library file extension
6842 * to support MacOSX.
6844 2003-02-01 Martin Buchholz <martin@xemacs.org>
6846 * EmacsFrameP.h (EmacsFramePart):
6847 Kludge to allow compiling with Motif1, but linking with Motif2.
6849 2003-01-28 Martin Buchholz <martin@xemacs.org>
6851 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6854 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6856 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6858 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6860 * sysdll.c: Included lisp.h to define needed alloca_array.
6862 2003-02-13 Martin Buchholz <martin@xemacs.org>
6864 Make XEmacs redisplay 10 times faster.
6865 If, that is, you're using a slow X connection and MoveOpaque.
6866 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6867 Use compress_motion = TRUE.
6868 * EmacsFrame.c (emacsFrameClassRec):
6869 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6870 * EmacsManager.c (emacsManagerClassRec):
6871 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6873 2003-01-30 Vin Shelton <acs@xemacs.org>
6875 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6877 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6879 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6880 Patch by Martin Buchholz.
6882 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6884 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6885 Thanks to icc for warning and Martin Buchholz for reporting.
6887 2003-01-29 Vin Shelton <acs@xemacs.org>
6889 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6891 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6892 remember to multiply by the element size.
6894 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6896 * XEmacs 21.4.12 "Portable Code" is released.
6898 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6900 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6901 * s/cygwin.sc: new linker file.
6903 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6905 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6907 * redisplay-x.c (x_output_string): Use X11-specified types.
6908 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6909 * emacs.c (__free_hook): Use typeof with Intel compiler.
6910 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6912 2003-01-08 Andy Piper <andy@xemacs.org>
6914 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6915 reserve size during unexec().
6917 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6919 * process-unix.c (unix_create_process): Don't let outchannel block.
6921 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6923 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6924 Needed for IsBadReadPtr().
6926 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6928 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6930 2002-12-14 Ben Wing <ben@xemacs.org>
6932 * callint.c: Declaration error.
6934 * dumper.c (pdump_load): Warning fix.
6935 * process.c: GCPRO error.
6936 * glyphs.c (unmap_subwindow):
6937 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6938 * event-stream.c (maybe_kbd_translate): Wrong argument to
6939 character_to_event().
6941 * alloc.c (garbage_collect_1):
6943 * emacs.c (debug_can_access_memory):
6944 * emacs.c (fatal_error_signal):
6945 * emacs.c (mswindows_handle_hardware_exceptions):
6948 * emacs.c (assert_failed):
6949 * emacs.c (syms_of_emacs):
6952 * print.c (std_handle_out_va):
6953 * print.c (write_string_to_stdio_stream):
6954 * print.c (write_fmt_string):
6955 * print.c (printing_badness):
6956 * print.c (printing_major_badness):
6957 * print.c (print_internal):
6958 * print.c (debug_print_no_newline):
6959 * print.c (debug_backtrace):
6960 Be more defensive in handling bad values when printing. Add code
6961 from trunk involving inhibit_non_essential_printing_operations.
6962 When going down or in debug_print(), don't do external conversion
6963 and such and try really, really hard when printing to avoid core
6964 dumping. Add force-debugging-signal, debug_break().
6966 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6968 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6969 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6971 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6973 * database.c: Fix open_database. Berkeley DB API has changed in
6974 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6976 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6978 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6980 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6982 * event-Xt.c (Xt_timeout):
6983 (Xt_timeout_callback):
6984 (emacs_Xt_add_timeout):
6985 (emacs_Xt_remove_timeout):
6986 (Xt_timeout_to_emacs_event):
6987 Turn completed_timeouts from a stack into a queue. Fixes
6988 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6990 2002-11-07 Wolfram Gloger <wg@malloc.de>
6992 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6993 * emacs.c (main): Assert that mmap'd allocation is disabled.
6995 2002-10-14 Andy Piper <andy@xemacs.org>
6997 * glyphs-widget.c (layout_query_geometry): add in fiddle
6998 factor. Include border text in width layout calculation.
6999 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7001 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7003 * XEmacs 21.4.10 "Military Intelligence" is released.
7005 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7007 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7008 using the NAS private array SoundFileInfo that no longer exists in
7009 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7010 and earlier. This is broken for some versions between 1.5a and
7013 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7015 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7017 * emacs.c (shut_down_emacs): Improve crash message.
7019 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7021 * file-coding.c (determine_real_coding_system): Check for coding
7022 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7023 shebangs and Python PEP 263.
7025 2002-10-08 Andy Piper <andy@xemacs.org>
7027 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7028 if static sizes haven't been set.
7030 2002-08-30 Mike Alexander <mta@arbortext.com>
7032 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7035 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7037 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7039 2002-09-20 Mike Sperber <mike@xemacs.org>
7041 (This partially gets back my patch from 2002-07-20 without the
7043 * callproc.c (child_setup): Remove Ben's comment noting confusion
7044 over the file descriptors >= 3: close_process_descs() doesn't
7045 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7046 * process-unix.c (unix_create_process): Call
7047 begin_dont_check_for_quit to inhibit unwanted interaction (and
7048 thus breaking of X event synchronicity) in the child.
7050 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7052 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7055 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7057 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7058 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7059 the xemacs process did not exit, but looped infinitely here. This
7062 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7064 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7065 (find_context): Improve comments.
7067 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7068 (re_match_2): An XCHAR_TABLE operation was missing.
7070 Many of the following changes were inspired by Andy Piper's (now
7071 obsolete) patch to make syntax-table text property lookup optional.
7075 * syntax.h (top level): Document semantics of syntax flags.
7076 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7077 * syntax.c, syntax.h (top level): Document syntax cache better in
7080 [Instrument syntax caching (temporary change)]
7082 * syntax.h (enum syntax_cache_statistics_functions, struct
7083 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7084 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7085 * syntax.c (scan_words, Fforward_comment, scan_lists,
7086 Fbackward_prefix_characters):
7087 * font-lock.c (find_context):
7088 Use them to instrument syntax caching.
7089 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7090 syntax_cache_statistics_function_names): New type and variables.
7091 * syntax.c (update_syntax_cache): Update and report statistics.
7093 [Major syntax cache optimizations]
7095 syntax.c (lookup_syntax_properties): Default off.
7097 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7098 * syntax.c (update_syntax_cache):
7099 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7101 [Minor syntax cache optimizations and code clarifications]
7103 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7104 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7105 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7106 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7107 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7108 (Code clarification.)
7110 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7111 scan_lists): Compute code from syncode, use Boolean macros instead
7112 of redundant masking operations. (Code clarification; any decent
7113 compiler can do this optimization.)
7115 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7118 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7119 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7120 use F*_single_property_change instead of F*_extent_change.
7121 Currently F*_single_property_change is _much_ less efficient.
7123 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7124 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7125 syntax_cache.object properly, don't leave Qt or Qnil.
7126 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7127 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7128 tests for Qt or Qnil.
7130 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7132 * redisplay.c (point_in_line_start_cache):
7133 * extents.c (print_extent_1):
7136 * extents.c (Fset_extent_property): Document `syntax-table' property.
7138 * extents.h (Fnext_single_property_change): EXFUN it.
7140 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7142 * search.c (clear_unused_search_regs): New static function.
7146 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7147 Minor clarifications in comments.
7149 * regex.c (re_match_2_internal): Ensure no stale submatches.
7151 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7153 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7155 2002-08-29 Jerry James <james@xemacs.org>
7157 * lisp.h: structrures -> structures.
7159 2002-06-03 Andy Piper <andy@xemacs.org>
7161 * frame.c (frame_conversion_internal): add conversion appropriate
7162 for setting frame dimensions in pixels.
7164 * console.h (struct console_methods): add device-specific widget
7167 * emacs.c (main_1): initialize glyph vars.
7169 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7170 (handle_focus_event_2): new function. Allow focus to
7171 be set to a particular window and widget.
7172 (enqueue_focus_event): new function. Create a
7173 synthetic focus event.
7174 (emacs_Xt_handle_magic_event): call
7175 handle_focus_event_2.
7177 * frame.c (Fset_frame_pixel_height): new function. Allow
7178 pixel-based sizing. Does the right thing on character-oriented
7180 (Fset_frame_pixel_width): ditto.
7181 (Fset_frame_pixel_size): ditto.
7182 (syms_of_frame): declare.
7184 * general-slots.h: add :vertically-justify and
7185 :horizontally-justify.
7187 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7188 (mswindows_widget_border_width): new function.
7189 (mswindows_combo_box_instantiate): set border widths.
7190 (console_type_create_glyphs_mswindows): declare.
7193 (check_valid_justification): allow vertical and horizontal
7195 (widget_border_width): new function. Call device methods.
7196 (widget_instance_border_width): ditto.
7197 (logical_unit_height): new function. Determine the height of a
7198 logical-unit. Logical units are intended to provide grid-like
7199 layout for subcontrols in a layout. If the layout is
7200 :vertically-justify top then subcontrols will be positioned on
7201 logical-unit boundaries, thus allowing adjacent subcontrols to
7203 (widget_logical_unit_height): ditto for widgets.
7204 (redisplay_widget): misc cleanup.
7205 (widget_spacing): new function. Call device specific
7206 methods. Intended to be the default gap between adjacent widgets.
7207 (widget_query_geometry): use new spacing functions to determine
7208 appropriate geometry.
7209 (initialize_widget_image_instance): initialize horizontal and
7210 vertical justification.
7211 (widget_instantiate): use logica-units where appropriate for
7212 sizing large widgets.
7213 (button_query_geometry): use widget_instance_border_width.
7214 (tree_view_query_geometry): ditto.
7215 (tab_control_query_geometry): ditto.
7216 (edit_field_query_geometry): new function.
7217 (layout_update): pick up :justify, :horizontally-justify and
7218 :vertically-justify none of which worked previously. :justify is
7219 used as a fallback for both horizontal and vertical justification.
7220 (layout_query_geometry): use logical units to size appropriately.
7221 (layout_layout): ditto.
7222 (Fwidget_logical_to_character_width): new function. Allow users to
7223 convert from logical units to characters so that frame sizes can
7224 be set appropriately.
7225 (Fwidget_logical_to_character_height): ditto.
7226 (syms_of_glyphs_widget): declare.
7227 (image_instantiator_edit_fields): add edit_field_query_geometry.
7228 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7229 :horizontally-justify.
7230 (specifier_vars_of_glyphs_widget): new function. Declare
7231 Vwidget_border_width which is not yet used.
7233 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7234 (x_widget_border_width): new function.
7235 (x_widget_instantiate): create a sensible name for widgets.
7236 (console_type_create_glyphs_x): declare x_widget_border_width.
7238 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7239 (struct Lisp_Image_Instance): add :vertically-justify and
7240 :horizontally-justify.
7241 (LAYOUT_JUSTIFY_TOP): new.
7242 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7243 (ROUND_UP): new macro. Round argument up to next integral
7246 * redisplay-output.c (redisplay_output_layout): misc formatting.
7248 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7250 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7252 * XEmacs 21.4.9 "Informed Management" is released.
7254 2002-08-19 Andy Piper <andy@xemacs.org>
7256 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7259 * realpath.c (xrealpath): normalize drive spec also so that dir
7260 sep chars are not mixed on cygwin.
7262 2002-08-06 Jerry James <james@xemacs.org>
7264 * window.c (Fsplit_window): Count only half of the divider width
7265 against the left window when splitting horizontally.
7267 2002-06-24 Andy Piper <andy@xemacs.org>
7269 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7270 toolbar was cleared.
7272 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7273 function. Split out from mswindows_output_frame_toolbars.
7274 (mswindows_output_frame_toolbars): move clear pieces to
7275 mswindows_output_frame_toolbars.
7277 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7278 out from gtk_output_frame_toolbars.
7279 (gtk_output_frame_toolbars): move clear pieces to
7280 gtk_clear_frame_toolbars.
7282 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7283 the frame is cleared. How this ever worked before is a mystery.
7284 (x_output_frame_toolbars): Only output toolbars.
7285 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7287 * gutter.c (update_gutter_geometry):
7288 Mark frame layout changed.
7289 (update_frame_gutter_geometry, update_frame_gutters):
7290 Respect frame_layout_changed.
7292 * console.h (struct console_methods): add
7293 clear_frame_toolbars_method.
7295 * redisplay.c (redisplay_frame): call
7296 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7298 * toolbar.h: declare update_frame_toolbars_geometry.
7300 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7301 out from update_frame_toolbars. Call clear_frame_toolbars.
7302 (update_frame_toolbars): only output, do not change geometry.
7304 * redisplay.c: add frame_layout_changed.
7306 * redisplay.h: add frame_layout_changed.
7307 (CLASS_RESET_CHANGED_FLAGS): set it.
7308 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7309 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7310 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7312 * device.h (struct device): add frame_layout_changed.
7313 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7315 * frame.h (struct frame): add frame_layout_changed.
7316 (MARK_FRAME_LAYOUT_CHANGED): new.
7318 2002-06-30 Mike Alexander <mta@arbortext.com>
7320 * event-msw.c (mswindows_need_event): Don't wait for a new message
7321 if the queue is not empty. Suggested by Paul Moore.
7323 2002-06-12 Andy Piper <andy@xemacs.org>
7325 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7326 for printing on accurately.
7328 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7330 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7331 WM_ACTIVATE message. Make sure that the frame is visible if the
7332 window is visible. This seemss to fix the problem where XEmacs
7333 appears to freeze after switching desktops with certain virtual
7335 (debug_output_mswin_message): Added code to output message
7336 parameters for WM_WINDOWPOSCHANGED,
7337 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7339 2002-05-25 Andy Piper <andy@xemacs.org>
7341 * select-x.c (vars_of_select_x): Fix docstring of
7342 x-selection-strict-motif-ownership
7344 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7346 * keymap.c (get_keymap):
7347 Add comment about do_autoload GCPROs own args.
7349 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7351 * bytecode.c (execute_optimized_program): check_opcode ifdef
7352 ERROR_CHECK_BYTE_CODE.
7354 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7356 Thanks to Ben Wing and Michael Sperber.
7358 * eval.c (Fcommand_execute):
7361 (Fmacroexpand_internal):
7362 (function_argcount):
7363 callint.c (Fcall_interactively):
7364 Add comment about do_autoload GCPROs own args.
7366 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7368 * eval.c (Ffuncall): Extra braces to placate GCC.
7370 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7372 * backtrace.h (grow_specpdl):
7374 * EmacsFrame.c (EmacsFrameSetValues):
7375 * eval.c (grow_specpdl):
7376 * ExternalShell.c (hack_event_masks_1):
7377 * glyphs-x.c (convert_EImage_to_XImage):
7378 (x_finalize_image_instance):
7379 * ralloc.c (page_size):
7381 * xgccache.c (gc_cache_hash):
7382 Fix unsigned comparison warnings.
7384 2002-07-29 Jerry James <james@xemacs.org>
7386 * lread.c (locate_file): Any nonnegative return value indicates
7387 success if MODE is nonnegative.
7389 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7391 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7394 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7396 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7398 * dumper.c (pdump_get_indirect_count):
7399 (pdump_scan_by_alignment):
7400 (pdump_dump_root_struct_ptrs):
7401 (pdump_dump_rtables):
7402 (pdump_dump_root_objects):
7404 * nas.c (WaveOpenDataForReading):
7405 * fns.c (print_bit_vector):
7406 * font-lock.c (SINGLE_SYNTAX_STYLE):
7407 * glyphs.c (check_for_ignored_expose):
7408 (find_matching_subwindow):
7410 * imgproc.c (get_histogram):
7411 * redisplay.c (point_in_line_start_cache):
7412 * redisplay-output.c (redisplay_unmap_subwindows):
7413 * symbols.c (defsymbol_massage_name_1):
7414 (defkeyword_massage_name):
7415 (deferror_massage_name_and_message):
7416 * redisplay-x.c (x_output_string):
7417 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7418 * frame.h (struct frame):
7419 * filelock.c (current_lock_owner):
7420 * doprnt.c (emacs_doprnt_1):
7421 * lisp.h (struct Lisp_Bit_Vector):
7425 2002-02-13 Ben Wing <ben@xemacs.org>
7427 * event-stream.c (reset_key_echo):
7428 * event-stream.c (reset_this_command_keys):
7429 * event-stream.c (execute_command_event):
7430 If console is dead as a result of C-x 5 0, then post-command stuff
7431 needs to be careful and do only non-console-specific stuff.
7433 2002-07-01 Mike Sperber <mike@xemacs.org>
7435 * process-unix.c (unix_send_process): Mark coding_outstream as
7436 non-open upon SIGPIPE.
7438 * event-stream.c (Fnext_event): Reorder switch cases to something
7441 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7443 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7444 Don't bogusly reinitialize ascii_character property.
7446 2002-07-08 Mike Sperber <mike@xemacs.org>
7448 * process.c (Fstart_process_internal): Do error checking before we
7449 fork off the child, so the child can't muck with the state of the
7452 2002-07-08 Mike Sperber <mike@xemacs.org>
7454 * ralloc.c (init_ralloc): Allocate properly for pdump.
7456 2002-06-12 Andy Piper <andy@xemacs.org>
7458 * glyphs.c (query_string_geometry): check the string.
7460 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7463 2002-06-17 Jerry James <james@xemacs.org>
7465 * sysdll.c: Remove RTLD_GLOBAL initialization.
7466 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7468 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7470 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7472 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7474 * sysdep.c (sys_rename): Make sys_rename work for the case where
7475 Windows rename sets errno to EACCES if target file exists.
7477 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7479 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7480 Fix detection of metric units to work on Win95
7482 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7484 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7486 2002-04-25 Andy Piper <andy@xemacs.org>
7488 * redisplay.c (create_text_block): Remove extra comment trailer.
7490 2002-04-24 Andy Piper <andy@xemacs.org>
7492 * redisplay.c (create_text_block): Don't actually add propagation
7493 data if the line ends after we have added a glyph.
7495 2002-04-22 Andy Piper <andy@xemacs.org>
7497 * extents.c (extent_fragment_update): check for glyphs we have
7498 previously displayed.
7499 * extents.c (print_extent_1): warning removal.
7500 * extents.h: change prototype.
7501 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7502 widths correctly for wide glyphs.
7503 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7504 * redisplay.c (prop_type): add PROP_GLYPH.
7505 * redisplay.c (struct prop_block): add glyph type
7506 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7507 to the propagation data.
7508 * redisplay.c (create_text_block): if there is a glyph in the
7509 propagation data use it to salt extent_fragment_update.
7510 * redisplay.c (create_string_text_block): ditto.
7512 2002-04-13 Nix <nix@esperi.demon.co.uk>
7514 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7515 * redisplay-output.c (compare_runes): Compare them.
7516 * redisplay.c: Update copyright date.
7517 * redisplay.c (pos_data): Add need_baseline_computation field.
7518 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7519 need_baseline_computation; zero yoffset. Set max_pixmap_height
7520 for all pixmaps, not just automatically positioned ones.
7521 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7522 * redisplay.c (calculate_baseline): New, compute textual baseline.
7523 * redisplay.c (add_glyph_rune): Call them.
7524 * redisplay.c (create_text_block): Likewise.
7525 * redisplay.c (create_overlay_glyph_block): Likewise.
7526 * redisplay.c (add_margin_runes): Likewise.
7527 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7529 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7530 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7531 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7532 * redisplay-msw.c (mswindows_output_string): Likewise.
7533 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7534 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7535 * redisplay-x.c (x_output_display_block): Likewise.
7537 2002-03-28 Ben Wing <ben@xemacs.org>
7539 * redisplay.c: Fixed bug in redisplay
7540 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7541 and down of the lines, since they're bigger than the line
7542 size. (It was seen most obviously when there's a horizontal scroll
7543 bar, e.g. do C-h a glyph or something like that.) The problem was
7544 that the glyph-contrib-p setting on glyphs was ignored even if it
7545 was set properly, which it wasn't until now.
7547 2002-04-24 Andy Piper <andy@xemacs.org>
7549 * lisp.h (Dynarr_end): Fix definition.
7551 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7553 * redisplay.c (mark_redisplay): Remove call to
7554 update_frame_window_mirror.
7556 2001-11-15 Andy Piper <andy@xemacs.org>
7558 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7561 2002-02-13 Andy Piper <andy@xemacs.org>
7563 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7564 we did in fact enqueue the XM_MAPFRAME event.
7566 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7568 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7569 to fix problem switching between virtual desktops under virtuawin
7570 virtual window manager.
7572 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7574 * event-msw.c: Typo fix.
7575 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7576 magic XM_MAPFRAME event has been sent.
7578 2001-11-23 Andy Piper <andy@xemacs.org>
7580 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7582 2001-11-21 Andy Piper <andy@xemacs.org>
7584 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7585 mouse events outside the frame.
7587 2002-03-20 Andy Piper <andy@xemacs.org>
7589 * menubar-msw.c (mswindows_popup_menu): warning removal.
7590 * dialog-msw.c (dialog_popped_down): ditto.
7592 2001-12-11 Andy Piper <andy@xemacs.org>
7594 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7595 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7597 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7598 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7599 * menubar-msw.c (mswindows_popup_menu): ditto.
7601 2001-10-29 Andy Piper <andy@xemacs.org>
7603 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7606 2002-01-03 Andy Piper <andy@xemacs.org>
7608 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7612 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7614 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7615 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7616 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7617 Detect and handle case where machine is set up for metric units
7619 2002-04-02 Andy Piper <andy@xemacs.org>
7621 * dired-msw.c (mswindows_get_files):
7622 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7623 completely handled by XEmacs. Suggested by Thomas Vogler
7624 <mail@thomas-vogler.de>.
7626 2001-11-14 Andy Piper <andy@xemacs.org>
7628 * nt.c (REG_ROOT): change registry key to XEmacs.
7630 2002-04-27 Andy Piper <andy@xemacs.org>
7632 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7634 2002-04-26 Andy Piper <andy@xemacs.org>
7636 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7639 2002-03-14 Mike Alexander <mta@arbortext.com>
7641 * event-msw.c (mswindows_unwait_process): New, remove process from
7643 * process-nt.c (nt_finalize_process_data): Call
7644 mswindows_unwait_process
7645 * console-msw.h: Declare mswindows_unwait_process
7647 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7649 * editfns.c (Fdecode_time):
7650 (Fformat_time_string):
7651 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7652 (make_time): Warning elimination (change arg name).
7654 2001-11-24 Andy Piper <andy@xemacs.org>
7656 * window.c (Fsplit_window): Doc return type.
7658 2002-04-01 Andy Piper <andy@xemacs.org>
7660 * emacs.c (Fkill_emacs): Only output message box in interactive
7663 2002-04-26 Andy Piper <andy@xemacs.org>
7665 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7668 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7670 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7673 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7675 * XEmacs 21.4.8 "Honest Recruiter" is released.
7677 2002-05-07 Nix <nix@esperi.demon.co.uk>
7679 Supersedes 2002-04-17 patch.
7681 * process.h (PROCESS_LIVE_P): Use the process status as
7682 evidence of health, not the state of the input stream.
7683 (PROCESS_READABLE_P): Say if the process is readable
7684 from. (It may be dead nonetheless.)
7685 (CHECK_READABLE_PROCESS): Test for that condition.
7687 * process.c (create_process): Use PROCESS_READABLE_P.
7688 (read_process_output, set_process_filter): Likewise.
7690 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7691 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7693 This code is #if 0'd, this is not the time to add new functions:
7695 * process.c (Fprocess_readable_p): Report readability status.
7696 * process.c (Qprocess_readable_p): New, associated symbol...
7697 * process.c (syms_of_process): ... initialize it.
7699 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7701 * XEmacs 21.4.7 "Economic Science" is released.
7703 2002-04-17 Nix <nix@esperi.demon.co.uk>
7705 * process.h (PROCESS_LIVE_P): Use the process status as
7706 evidence of health, not the state of the input stream.
7708 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7710 * sysdep.c (sys_siglist): change "signum" to "signal"
7712 2001-04-21 Martin Buchholz <martin@xemacs.org>
7714 * s/darwin.h: New file.
7715 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7717 2002-04-23 Andreas Jaeger <aj@suse.de>
7719 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7720 which use lib64 for 64-bit libs.
7721 (START_FILES): Likewise.
7723 2002-02-11 Mike Sperber <mike@xemacs.org>
7726 (x_IO_error_handler):
7727 (x_init_device): Temporarily keep device in static variable
7728 `device_being_initialized' so we can recover gracefully from
7729 internal XOpenDevice failure. (XOpenDevice is documented to
7730 return NULL on failure, but sometimes calls the IO error handler
7733 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7735 * dired.c (Ffile_name_all_completions): Change documentation --
7736 remove reference to completion-ignored-extensions.
7737 * dired.c (vars_of_dired): Change documentation for
7738 completion-ignored-extensions -- remove reference to
7739 file-name-all-completions.
7741 2002-03-06 Jerry James <james@xemacs.org>
7743 * emodules.c (emodules_load): Fix multiple loading of same module.
7745 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7746 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7747 RTLD_LAZY to avoid incorrect symbol binding when using nested
7748 shared libraries on Solaris.
7750 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7752 * fileio.c (Ffind_file_name_handler): Improve docstring.
7754 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7756 * fns.c (Fmapconcat): Improve docstring.
7758 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7760 * device-gtk.c: Add prototype for
7761 emacs_gtk_selection_clear_event_handle.
7762 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7763 selection. Setup signal handler for "selection_clear_event"
7764 (emacs_gtk_selection_clear_event_handle).
7766 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7767 other applications owning the clipboard (based on
7768 x_handle_selection_clear).
7770 2001-12-23 William M. Perry <wmperry@gnu.org>
7772 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7774 2002-01-04 Martin Buchholz <martin@xemacs.org>
7776 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7778 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7780 * XEmacs 21.4.6 "Common Lisp" is released.
7782 2001-12-16 Torsten Duwe <duwe@caldera.de>
7784 * search.c (Freplace_match): Add missing sub-expression functionality.
7786 * buffer.c (decode_buffer): Add a check for pointer type to
7787 decode_buffer, before gcc's CSE optimization reorders a
7788 dereference in front of the allow_string test.
7790 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7792 * window.c (window_loop): Fix bug that sometimes prevented
7793 window_loop() from iterating across multiple devices. Also, at
7794 Ben's request, changed infloop-detecting code to abort() instead
7795 of silently terminating window_loop().
7797 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7799 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7800 * editfns.c (make_time): New function.
7801 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7802 * lisp.h (make_time): Prototype and comment it.
7803 * dired.c (wasteful_word_to_lisp): Deprecate.
7804 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7806 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7808 * fileio.c (auto_save_1): Use current coding system, not
7811 2001-11-13 Ben Wing <ben@xemacs.org>
7814 * window.c (window_truncation_on):
7815 * window.c (syms_of_window):
7816 truncate-partial-width-windows should respect the buffer being
7817 displayed, like other redisplay vars.
7819 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7821 * event-stream.c (Fread_key_sequence): save current buffer.
7823 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7825 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7827 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7829 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7831 2001-10-26 Mike Alexander <mta@arbortext.com>
7833 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7835 2001-10-25 Andy Piper <andy@xemacs.org>
7838 * dialog-msw.c (handle_directory_proc): new function.
7839 (handle_directory_dialog_box): new fucntion.
7840 (handle_file_dialog_box): use new directory dialog support.
7841 (mswindows_make_dialog_box_internal): ditto.
7842 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7844 (mswindows_find_frame): make global.
7845 * fileio.c (Fexpand_file_name): build fix.
7846 * general-slots.h: add Qdirectory.
7847 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7849 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7850 cygwin not leaving win32 paths unchanged.
7851 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7852 cygwin runtime to do path conversion.
7853 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7854 (syms_of_win32): add new function.
7855 * window.c (window_loop): build fix.
7857 2001-10-15 Andy Piper <andy@xemacs.org>
7859 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7861 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7863 * XEmacs 21.4.5 "Civil Service" is released.
7865 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7867 * glyphs-x.c: Force buffer-tab highlight update when moving the
7868 buffer, avoiding an ugly black border, used for keyboard focus
7869 indication, on a widget that can never have keyboard focus, the
7872 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7874 * process-unix.c (unix_open_multicast_group): Remove too much
7875 conversion between host and network byte order.
7877 2001-09-10 Nix <nix@esperi.demon.co.uk>
7879 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7880 before replacing them.
7882 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7885 * src/window.c (undedicate_windows): Use it.
7886 * src/window.h: Add prototype.
7888 2001-09-17 Ben Wing <ben@xemacs.org>
7890 * fileio.c (normalize_filename):
7891 * fileio.c (Fexpand_file_name):
7892 Fix various C++ compile errors in Andy's recent code.
7894 * callint.c (Fcall_interactively):
7895 * editfns.c (Ftemp_directory):
7896 * editfns.c (Fuser_full_name):
7897 * emacs.c (argmatch):
7898 * lread.c (locate_file_map_suffixes):
7899 * redisplay-x.c (x_ring_bell):
7900 Fix sign-compare warnings.
7902 2001-09-08 Andy Piper <andy@xemacs.org>
7904 * fileio.c (normalize_filename): copied from nt.c
7905 * (Ffile_name_directory): enable win32 paths under cygwin.
7906 * (Ffile_name_nondirectory): ditto.
7907 * (directory_file_name): ditto.
7908 * (Fexpand_file_name): ditto.
7909 * (Ffile_truename): ditto.
7910 * (Fsubstitute_in_file_name): ditto.
7911 * (Ffile_name_absolute_p): ditto.
7912 * (Ffile_readable_p): ditto.
7914 2001-09-08 Andy Piper <andy@xemacs.org>
7916 * device-msw.c (mswindows_finish_init_device): remove dde
7918 * device-msw.c (mswindows_init_dde): factor out from
7919 mswindows_finish_init_device()
7920 * device-msw.c (init_mswindows_very_early): new function
7921 initialize but don't enable dde.
7922 * emacs.c (main_1): call init_mswindows_very_early.
7924 * event-msw.c (mswindows_dde_callback): only execute when we are
7926 * symsinit.h: declare init_mswindows_very_early.
7928 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7930 [sjt: This has been in 21.5 for months with no complaints.]
7932 * console.h (struct console_methods): Added flags member.
7933 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7934 (CONMETH_IMPL_FLAG):
7935 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7936 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7938 * device.c (window_system_pixelated_geometry): Use the above macros.
7940 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7941 implememntation flag.
7942 * device.h (DEVICE_DISPLAY_P): Use it.
7944 * frame.c (delete_frame_internal): Use the above macro.
7946 * redisplay.c (redisplay_device): Use it.
7947 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7948 (redisplay_frame): Ditto.
7950 * device-msw.c (mswindows_device_implementation_flags): Removed.
7951 (msprinter_device_implementation_flags): Removed.
7952 (console_type_create_device_mswindows): Removed references to
7953 implementation_flags methods, set implementation flags here.
7954 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7956 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7957 (console_type_create_device_gtk): Removed method declaration.
7958 Added commented out statement which semantically matches the
7959 commented out statement in the above removed method.
7961 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7963 The attached patch fixes a few warnings.
7965 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7966 * src/frame-gtk.c: guard against GNOME calls in GTK only
7967 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7968 * src/select-gtk.c: prototype lisp_to_time
7970 2001-06-08 Ben Wing <ben@xemacs.org>
7972 ------ gc-in-window-procedure fixes ------
7975 * alloc.c (struct post_gc_action):
7976 * alloc.c (register_post_gc_action):
7977 * alloc.c (run_post_gc_actions):
7978 * alloc.c (garbage_collect_1):
7979 Create "post-gc actions", to avoid those dreaded "GC during window
7980 procedure" problems.
7983 Abort, clean and simple, when GC in window procedure. We want
7984 to flush these puppies out.
7987 * glyphs-msw.c (finalize_destroy_window):
7988 * glyphs-msw.c (mswindows_finalize_image_instance):
7989 Use a post-gc action when destroying subwindows.
7992 Declare register_post_gc_action().
7995 * scrollbar-msw.c (unshow_that_mofo):
7996 Use a post-gc action when unshowing scrollbar windows, if in gc.
7998 * redisplay.c (mark_redisplay):
7999 Add comment about the utter evilness of what's going down here.
8001 ------ cygwin setitimer fixes ------
8003 * Makefile.in.in (sheap_objs):
8004 * Makefile.in.in (profile_objs):
8005 * Makefile.in.in (objs):
8006 Compile profile.c only when HAVE_SETITIMER.
8008 * nt.c (mswindows_sigset):
8009 * nt.c (mswindows_sighold):
8010 * nt.c (mswindows_sigrelse):
8011 * nt.c (mswindows_sigpause):
8012 * nt.c (mswindows_raise):
8013 * nt.c (close_file_data):
8017 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8020 * profile.c (Fstart_profiling):
8021 * profile.c (Fstop_profiling):
8022 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8023 instead of just plain setitimer().
8026 * signal.c (set_one_shot_timer):
8028 Define qxe_setitimer() as an encapsulation around setitimer() --
8029 call setitimer() directly unless Cygwin or MS Win, in which case
8030 we use our simulated version in win32.c.
8033 * systime.h (struct itimerval):
8034 * systime.h (ITIMER_REAL):
8035 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8036 comment about "qxe" and the policy regarding encapsulation.
8039 * win32.c (setitimer_helper_proc):
8040 * win32.c (setitimer_helper_period):
8041 * win32.c (setitimer_helper):
8042 * win32.c (mswindows_setitimer):
8043 Move setitimer() emulation here, so Cygwin can use it.
8044 Rename a couple of functions and variables to be longer and more
8045 descriptive. In setitimer_helper_proc(), send the signal
8046 using either mswindows_raise() or (on Cygwin) kill(). If for
8047 some reason we are still getting lockups, we'll change the kill()
8048 to directly invoke the signal handlers.
8050 ------ windows shell fixes ------
8054 Comments about how these two files must die.
8056 * callproc.c (init_callproc):
8057 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8058 not just COMSPEC. (more correct and closer to FSF.) Don't
8059 force a value for SHELL into the environment. (Comments added
8060 to explain why not.)
8062 * nt.c (init_user_info):
8063 Don't shove a fabricated SHELL into the environment. See above.
8065 2001-06-01 Ben Wing <ben@xemacs.org>
8067 * Makefile.in.in (ldflags):
8068 eliminate that pesky "defaulting to 00401000" warning.
8072 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8074 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8075 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8077 2001-04-24 Jerry James <james@xemacs.org>
8079 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8082 2001-06-01 Ben Wing <ben@xemacs.org>
8084 * event-msw.c (debug_mswin_messages):
8085 conditionalize the messages that were causing compile errors.
8086 (if only macros could generate #ifdef statements ...)
8088 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8090 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8092 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8094 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8096 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8098 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8099 * process-unix.c (unix_canonicalize_host_name):
8100 sysdep.c (init_system_name):
8101 Use it to conditionally support IPv6 canonicalization.
8103 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8106 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8108 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8110 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8111 attempt is made to scroll when no scroll bar is available.
8113 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8115 * input-method-motif.c (XIM_delete_frame): New callback.
8116 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8117 got deleted from 21.4.3.)
8119 2001-06-01 Ben Wing <ben@xemacs.org>
8121 * nt.c (mswindows_utime):
8122 * nt.c (close_file_data):
8123 fix off-by-one-indirection error.
8125 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8127 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8128 because set_file_times() now takes Lisp_Object path, instead of
8130 * nt.c: Include buffer.h.
8131 * nt.c (convert_from_time_t): New.
8132 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8133 not set mtime correctly.
8134 * nt.h: Declare mswindows_utime().
8135 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8136 path, instead of char*.
8137 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8139 2001-05-30 Ben Wing <ben@xemacs.org>
8143 (Stephen, just take all event-msw.c patches. This includes
8144 the "iconify" fix below.)
8147 * event-msw.c (mswindows_dequeue_dispatch_event):
8148 * event-msw.c (assert):
8149 * event-msw.c (emacs_mswindows_quit_p):
8150 * event-msw.c (debug_mswin_messages):
8151 * event-msw.c (debug_output_mswin_message):
8152 * event-msw.c (vars_of_event_mswindows):
8153 Fix yet more problems with C-g handling.
8154 Implement debug-mswindows-events.
8156 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8158 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8160 2001-05-23 Ben Wing <ben@xemacs.org>
8162 * event-msw.c (winsock_writer):
8163 * event-msw.c (winsock_closer):
8164 prior kludgy code was clobbering the buffer, thinking it was
8165 "unused" space to store an unneeded return value; instead, use
8166 the variable we've already got staring us in the face.
8168 2001-05-17 Andy Piper <andy@xemacs.org>
8170 * sysfile.h: don't assume that file attributes are boolean
8172 2001-05-23 Ben Wing <ben@xemacs.org>
8174 * device-msw.c (msprinter_init_device):
8175 signal an error rather than crash with an unavailable network
8176 printer (from Mike Alexander).
8179 * event-msw.c (struct winsock_stream):
8180 * event-msw.c (winsock_writer):
8181 * event-msw.c (winsock_closer):
8182 * event-msw.c (make_winsock_stream_1):
8183 cleanup headers. fix (hopefully) an error with data corruption
8184 when sending to a network connection.
8186 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8187 to handle the ~user prefix by (a) always assuming we're referencing
8188 ourselves and not even verifying the user -- hence any file with
8189 a tilde as its first char is invalid! (b) if there wasn't a slash
8190 following the filename, the pointer was set *past* the end of
8191 file and we started reading from uninitialized memory. Now we
8192 simply treat these as files, always.
8194 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8196 2001-05-19 Ben Wing <ben@xemacs.org>
8198 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8201 * process-nt.c (vars_of_process_nt):
8202 remove unused mswindows-quote-process-args. rec for 21.4.
8204 2001-05-12 Ben Wing <ben@xemacs.org>
8206 * event-msw.c (mswindows_dde_callback):
8207 * event-msw.c (mswindows_wnd_proc):
8208 eliminate cygwin warnings.
8210 2001-05-06 Ben Wing <ben@xemacs.org>
8214 * device-msw.c (print_dialog_worker):
8215 * device-msw.c (mswindows_handle_print_dialog_box):
8216 * device-msw.c (syms_of_device_mswindows):
8217 * dialog-msw.c (mswindows_make_dialog_box_internal):
8219 implement printing the selection when it's selected.
8221 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8223 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8225 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8227 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8228 EMACS_INT is signed.
8230 2001-04-15 Michael Lausch <mla@1012surf.net>
8232 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8233 gtk_widget_request_size() to give scrollbar >0 width for
8236 2001-05-30 William M. Perry <wmperry@gnu.org>
8238 * event-gtk.c: Check for buttons as modifier keys.
8240 2001-05-25 Craig Lanning <CraigL@Knology.net>
8243 Properly find MinGW's <process.h> inside Cygwin's restructured
8244 include directories. Don't try to include <cygwin/version.h>
8245 since we are dropping support for MinGW in versions of Cygwin
8248 Drop support for MinGW in versions of Cygwin before b21.
8250 Properly find MinGW's <process.h> inside Cygwin's restructured
8251 include directories.
8253 Drop support for MinGW in versions of Cygwin before b21.
8255 Even though a.out.h is no longer detected by configure, allow
8256 MinGW to use it until we figure out how to do the job with Win32.
8258 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8260 * syntax.c (find_start_of_comment):
8261 Fix `unbalanced parentheses' bug when dealing with mixed comment
8262 styles in c++/java/etc. mode
8264 2001-05-29 Mike Alexander <mta@arbortext.com>
8266 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8267 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8269 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8271 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8273 2001-03-31 Mike Sperber <mike@xemacs.org>
8275 * search.c (Freplace_match): Support FSF-style specification of
8276 match subexpression when applied to a buffer.
8278 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8280 * event-stream.c (is_scrollbar_event): add missing semicolon
8282 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8284 * Makefile.in.in: Use TAR macro instead of hardcoding
8285 tar. Allows use of GNU tar instead of system tar
8287 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8289 * event-stream.c (is_scrollbar_event): add missing semicolon
8291 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8293 * XEmacs 21.4.3 "Academic Rigor" is released.
8295 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8297 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8299 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8301 * buffer.c (Vcase_fold_search): Remove obsolete
8302 comment about non ASCII case-fold-search. This
8303 bug has been fixed by case-table changes.
8305 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8307 * event-msw.c: Restore include of events-mod.h.
8309 2001-04-22 zhaoway <zw@debian.org>
8311 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8314 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8316 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8318 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8320 * mule-charset.c (Fmake_charset): Add missing else.
8322 2001-04-23 Ben Wing <ben@xemacs.org>
8324 * event-msw.c (FAKE_MOD_QUIT):
8325 * event-msw.c (mswindows_dequeue_dispatch_event):
8326 * event-msw.c (mswindows_wnd_proc):
8327 * event-msw.c (emacs_mswindows_quit_p):
8328 Get critical quit working.
8330 2001-05-05 Ben Wing <ben@xemacs.org>
8334 * device-msw.c (mswindows_get_default_margin):
8335 * frame-msw.c (mswindows_size_frame_internal):
8336 * frame-msw.c (msprinter_init_frame_1):
8337 * frame-msw.c (vars_of_frame_mswindows):
8338 Change top/bottom margin defaults to 0.5 inches.
8340 2001-05-01 Martin Buchholz <martin@xemacs.org>
8342 Fix link error with gcc 3.0 on Linux.
8343 * terminfo.c (UP): Remove.
8344 * terminfo.c (BC): Remove.
8345 * terminfo.c (PC): Remove.
8346 They weren't used, and in any case, these symbols should be
8347 defined in the *library*.
8349 2001-05-03 Martin Buchholz <martin@xemacs.org>
8351 * s/aix4.h: Fix crash with xlc -O3.
8352 Improve comment explaining how -O3 works.
8354 2001-04-15 Ben Wing <ben@xemacs.org>
8357 * event-stream.c (Fnext_event):
8358 * event-stream.c (is_scrollbar_event):
8359 * event-stream.c (execute_command_event):
8360 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8361 crash' problem. His fix introduces other problems. We filter
8362 out scrollbar events specifically, making them somewhat invisible
8363 to command-building, and not appearing in `this-command-keys'.
8364 More work is still needed (see comments in event-stream.c), but
8365 this fixes all the major problems.
8367 2001-04-20 Ben Wing <ben@xemacs.org>
8369 * .cvsignore: Added stuff for Windows.
8371 2001-04-28 Ben Wing <ben@xemacs.org>
8373 * buffer.c (Ferase_buffer):
8374 * editfns.c (buffer_insert1):
8375 * editfns.c (Finsert_before_markers):
8376 * editfns.c (Finsert_string):
8377 * editfns.c (Finsert_char):
8378 * editfns.c (Fdelete_region):
8379 * editfns.c (Fwiden):
8380 * editfns.c (Fnarrow_to_region):
8381 remove bogus lines setting zmacs_region_stays to 0.
8383 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8385 * process-unix.c (unix_open_network_stream): If connect() fails
8386 invalidate file descriptor after closing it.
8388 2001-03-08 Mike Alexander <mta@arbortext.com>
8390 * event-msw.c (mswindows_need_event_in_modal_loop):
8391 Don't dispatch a message if we didn't get one.
8392 (mswindows_need_event):
8393 Terminate the correct process when one exits instead of the first
8394 one on Vprocess_list and look for process termination when in
8395 mswindows_protect_modal_loop.
8397 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8399 * XEmacs 21.4.1 "Copyleft" is released.
8401 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8403 * input-method-motif.c (XIM_delete_frame): New callback.
8404 (XIM_init_frame): Register it.
8406 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8408 * XEmacs 21.4.0 "Solid Vapor" is released.
8410 2001-04-15 Ben Wing <ben@xemacs.org>
8412 * cmdloop.c (call_command_loop):
8413 Fix braino in bit-rotting code.
8415 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8417 * extents.c (Fset_extent_endpoints): Force creation of extent info
8418 in buffer_or_string.
8420 * extents.c (process_extents_for_insertion_mapper): Correctly
8421 check for open-open zero-length extents.
8423 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8425 * lisp.h: New typedefs Memory_count, Element_count.
8428 Sign-compare warning elimination: several unsigned -> signed.
8429 Based on work by Ben Wing <ben@xemacs.org>.
8431 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8433 * XEmacs 21.2.47 "Zephir" is released.
8435 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8437 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8439 2001-04-03 Mike Sperber <mike@xemacs.org>
8441 * search.c: Revert previous patch due because of release.
8443 2001-03-30 Ben Wing <ben@xemacs.org>
8446 Add missing killpg prototype.
8449 Add a comment about fixing problems when a new entry is added
8452 * frame-msw.c (mswindows_init_frame_1):
8453 Fix compile warnings.
8455 * menubar.c (vars_of_menubar):
8456 Provide `menu-accelerator-support' to indicate that we properly
8457 support %_ in menu specifications, so that package code can
8458 conditionalize on this (and remove %_ from menu specifications
8463 * scrollbar-msw.c (can_scroll):
8465 Fix handling of mouse wheel under Windows to follow standards --
8466 now scrolls window under pointer, not selected window.
8468 2001-03-31 Mike Sperber <mike@xemacs.org>
8470 * search.c (Freplace_match): Support FSF-style specification of
8471 match subexpression when applied to a buffer.
8473 2001-03-15 Martin Buchholz <martin@xemacs.org>
8475 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8476 function to modify KEYMAP, so map over a copy of the hash table.
8478 2001-03-21 Martin Buchholz <martin@xemacs.org>
8480 * XEmacs 21.2.46 "Urania" is released.
8482 2001-03-20 Dan Holmsand <dan@eyebee.com>
8484 * realpath.c (xrealpath): Make file-truename work with symlinks to
8485 /cygdrive paths on cygwin. Always lowercase drive-letters on
8487 (cygwin_readlink): Don't try to find canonical filename unless
8490 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8492 * ChangeLog: Log GTK merge.
8498 Revert gratuitous whitespace changes from GTK merge.
8500 * emacs.c: Document end of complex #ifdef @ l. 1495.
8503 2001-03-12 Andy Piper <andy@xemacs.org>
8505 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8506 have to do likewise.
8508 2001-03-12 Andy Piper <andy@xemacs.org>
8510 * sysdep.c: we only support mingw now.
8512 2001-03-09 Andy Piper <andy@xemacs.org>
8514 * unexcw.c (copy_executable_and_dump_data_section): making approx
8515 overrun a warning only.
8517 2001-03-10 William M. Perry <wmperry@aventail.com>
8519 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8520 satisfy Stephen's identical-after-cpp plea.
8522 2001-03-02 Ben Wing <ben@xemacs.org>
8525 * cmds.c (Fforward_char):
8529 Augment documentation of the most common motion commands to make
8530 note of the shifted-motion support.
8532 2001-03-02 Ben Wing <ben@xemacs.org>
8534 * nt.c (mswindows_fstat):
8535 * nt.c (mswindows_stat):
8536 * search.c (boyer_moore):
8537 Fix compile warnings under Windows.
8539 * sysdep.c (sys_readdir):
8540 Fix buggy filename-conversion code under Mule.
8542 2001-03-09 William M. Perry <wmperry@aventail.com>
8564 * redisplay-output.c:
8570 The Great GTK Merge.
8577 * emacs-widget-accessors.c:
8591 * native-gtk-toolbar.c:
8602 The Great GTK Merge: new files.
8604 2001-02-26 Ben Wing <ben@xemacs.org>
8606 Reapplied Lstream change.
8608 2001-02-26 Ben Wing <ben@xemacs.org>
8610 Undid the last change, since it is more controversial than I
8611 thought. It should be back in at some point soon.
8613 2001-02-25 Ben Wing <ben@xemacs.org>
8616 * callproc.c (Fold_call_process_internal):
8617 * event-msw.c (ntpipe_slurp_reader):
8618 * event-msw.c (ntpipe_shove_writer):
8619 * event-msw.c (winsock_reader):
8620 * event-msw.c (winsock_writer):
8622 * file-coding.c (detect_eol_type):
8623 * file-coding.c (detect_coding_type):
8624 * file-coding.c (determine_real_coding_system):
8625 * file-coding.c (Fdetect_coding_region):
8626 * file-coding.c (decoding_reader):
8627 * file-coding.c (decoding_writer):
8628 * file-coding.c (mule_decode):
8629 * file-coding.c (Fdecode_coding_region):
8630 * file-coding.c (encoding_reader):
8631 * file-coding.c (encoding_writer):
8632 * file-coding.c (mule_encode):
8633 * file-coding.c (Fencode_coding_region):
8634 * file-coding.c (detect_coding_sjis):
8635 * file-coding.c (decode_coding_sjis):
8636 * file-coding.c (encode_coding_sjis):
8637 * file-coding.c (detect_coding_big5):
8638 * file-coding.c (decode_coding_big5):
8639 * file-coding.c (encode_coding_big5):
8640 * file-coding.c (detect_coding_ucs4):
8641 * file-coding.c (decode_coding_ucs4):
8642 * file-coding.c (encode_coding_ucs4):
8643 * file-coding.c (detect_coding_utf8):
8644 * file-coding.c (decode_coding_utf8):
8645 * file-coding.c (encode_coding_utf8):
8646 * file-coding.c (detect_coding_iso2022):
8647 * file-coding.c (decode_coding_iso2022):
8648 * file-coding.c (encode_coding_iso2022):
8649 * file-coding.c (decode_coding_no_conversion):
8650 * file-coding.c (encode_coding_no_conversion):
8651 * glyphs-x.c (write_lisp_string_to_temp_file):
8652 * gpmevent.c (tty_get_foreign_selection):
8655 * lstream.c (Lstream_flush_out):
8656 * lstream.c (Lstream_adding):
8657 * lstream.c (Lstream_write_1):
8658 * lstream.c (Lstream_write):
8659 * lstream.c (Lstream_raw_read):
8660 * lstream.c (Lstream_read_more):
8661 * lstream.c (Lstream_read):
8662 * lstream.c (Lstream_unread):
8663 * lstream.c (Lstream_fputc):
8664 * lstream.c (stdio_reader):
8665 * lstream.c (stdio_writer):
8666 * lstream.c (filedesc_reader):
8667 * lstream.c (filedesc_writer):
8668 * lstream.c (lisp_string_reader):
8669 * lstream.c (struct fixed_buffer_stream):
8670 * lstream.c (make_fixed_buffer_input_stream):
8671 * lstream.c (make_fixed_buffer_output_stream):
8672 * lstream.c (fixed_buffer_reader):
8673 * lstream.c (fixed_buffer_writer):
8674 * lstream.c (struct resizing_buffer_stream):
8675 * lstream.c (resizing_buffer_writer):
8676 * lstream.c (dynarr_writer):
8677 * lstream.c (lisp_buffer_reader):
8678 * lstream.c (lisp_buffer_writer):
8680 * lstream.h (lstream_implementation):
8681 * lstream.h (struct lstream):
8683 * process-nt.c (nt_send_process):
8684 * process-unix.c (unix_send_process):
8686 Correct Lstream lossage due to mixing of signed and unsigned
8687 quantities. All Lstream uses of size_t and ssize_t are now a
8688 single signed data type Lstream_data_count. This fixes problems
8689 under Windows with sending large quantities of data to a process,
8690 and may well fix other subtle bugs.
8692 2001-02-23 Martin Buchholz <martin@xemacs.org>
8694 * XEmacs 21.2.45 "Thelxepeia" is released.
8696 2001-02-21 Martin Buchholz <martin@xemacs.org>
8698 * lisp-union.h (XSETINT):
8701 Reverse previous change of 2001-02-06.
8703 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8705 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8707 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8708 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8709 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8710 * regex.c (POS_AS_IN_BUFFER): removed
8711 * regex.c (re_search_2):
8712 * regex.c (re_match_2):
8713 Don't use an offset of 1 when calculating buffer positions, since
8714 `BI_BUF_BEGV' does it already.
8716 2001-02-18 Wim Dumon <wim@easics.be>
8718 * insdel.c (prepare_to_modify_buffer): Also check for
8719 supersession when clash-detection is enabled.
8721 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8723 * regex.c (re_match_2_internal):
8724 Convert temp characters from 'const unsigned char' to 're_char'.
8725 Fix crashing bug with extended characters under mule.
8726 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8727 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8728 font-lock, pdump, and new syntax-table code.
8729 * syntax.c (find_start_of_comment):
8730 (find_end_of_comment):
8732 Fix crashing bugs involving moving beyond end of buffer.
8733 * syntax.c (find_start_of_comment):
8734 Fixed logic to allow proper detection of cases where the same
8735 character is used to end both a two-char comment start and a
8736 two-char comment end sequence. Fixes `(forward-comment -1)'.
8737 * syntax.c (find_start_of_comment):
8738 Return position just past last comment-end character for all cases
8739 (previously was only done for two-char comment-end sequences).
8740 * syntax.c (forward-comment):
8741 Take value returned from `find_end_of_comment', rather than
8743 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8744 Properly deal with BUFFERP (syntax_cache.object)
8746 2001-02-17 Martin Buchholz <martin@xemacs.org>
8748 * alloc.c (Fgarbage_collect):
8749 * alloc.c (make_bit_vector_from_byte_vector):
8750 -Wsign-compare-correctness.
8752 2001-02-16 Martin Buchholz <martin@xemacs.org>
8754 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8755 (XSETCHAR): Likewise.
8756 (XSETOBJ): Likewise.
8758 2001-02-15 Martin Buchholz <martin@xemacs.org>
8760 * mule-canna.c (canna-func-delete_previous):
8761 Rename to canna-func-delete-previous.
8763 2001-02-14 Martin Buchholz <martin@xemacs.org>
8765 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8767 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8769 * font-lock.c (find_context): Fix C++ compile errors introduced by
8772 2001-02-13 Martin Buchholz <martin@xemacs.org>
8774 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8775 pragma, but earlier ones barf on the same pragma.
8777 2001-02-06 Mike Sperber <mike@xemacs.org>
8779 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8780 `configure-mule-lisp-directory'.
8782 2001-02-12 Martin Buchholz <martin@xemacs.org>
8784 Make sure dump-id.c is compiled in the same way as other .c's.
8785 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8786 * dump-id.h: Remove.
8787 * emacs.c: Move dump-id.h into dumper.h.
8788 * dumper.h: Move dump-id.h into dumper.h.
8790 Use standard .c.o rule for building dump-id.o.
8791 Remove preprocessor flags from link command.
8792 Add dump-id.o to ${otherobjs} if PDUMP.
8794 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8796 Port FSF 20.7 syntax table improvements.
8800 Fixups for new syntax table stuff.
8801 * dired.c: Include syntax.c.
8802 (Fdirectory_files): Initialize regex_match_object and
8804 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8805 and Fget_char_property.
8807 Use ported FSF 20.7 syntax table improvements.
8812 2001-02-09 Martin Buchholz <martin@xemacs.org>
8814 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8815 Unixware's enum boolean from sys/types.h.
8817 2001-02-10 Martin Buchholz <martin@xemacs.org>
8819 Fix support for building with latest Purify.
8820 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8821 (PURIFY_FLAGS): Likewise.
8823 2001-02-09 Martin Buchholz <martin@xemacs.org>
8825 * fileio.c (lisp_string_set_file_times): New.
8826 * fileio.c (Fcopy_file): Use it.
8828 (copy-file filename non-ascii-filename t t)
8829 ==> No such file or directory, non-ascii-filename
8831 2001-02-10 Martin Buchholz <martin@xemacs.org>
8833 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8834 USHRT_MAX seems clearer than ~0 anyways.
8836 2001-02-09 Martin Buchholz <martin@xemacs.org>
8838 dumper improvements. Inspired by Olivier.
8839 * dumper.c (pdump_max_align): New.
8840 * dumper.c (pdump_add_entry): Use pdump_max_align.
8841 * dumper.c (pdump_get_entry_list): Likewise.
8842 * dumper.c (pdump_scan_by_alignment): Likewise.
8843 Don't iterate through unnecessary alignments.
8844 * dumper.c (pdump_file_get): No need to align result of malloc().
8845 * dumper.c (pdump_mallocadr): Remove.
8846 The result of malloc() is guaranteed to be maximally aligned.
8847 * dumper.c: s/elmt/elt/g;
8848 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8849 * dumper.c (pdump_alert_undump_object): Likewise.
8850 * dumper.c (pdump_align_table):
8851 Don't support alignments > 64.
8852 Store ALIGNOF's, not shift counts, in table.
8854 2001-02-09 Martin Buchholz <martin@xemacs.org>
8856 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8857 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8858 * systime.h: Use HAVE_UTIME.
8859 * sysdep.c (struct utimbuf): Remove.
8860 * sysdep.c (set_file_times): Prefer utime() to utimes().
8861 * config.h.in (HAVE_UTIME): New.
8862 * config.h.in (HAVE_UTIME_H): Remove.
8863 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8865 2001-02-09 Martin Buchholz <martin@xemacs.org>
8867 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8869 2001-02-08 Martin Buchholz <martin@xemacs.org>
8871 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8873 2001-02-08 Martin Buchholz <martin@xemacs.org>
8875 * XEmacs 21.2.44 "Thalia" is released.
8877 2001-02-06 Martin Buchholz <martin@xemacs.org>
8879 Fixes crashes in kill-emacs on some systems.
8880 * process-unix.c (unix_kill_child_process):
8881 It's OK for kill() to fail with ESRCH.
8883 2001-02-07 Martin Buchholz <martin@xemacs.org>
8885 Contortions to make .gdbinit tricks work on most systems.
8886 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8887 * alloc.c (dbg_valmask): Make non-const.
8888 * alloc.c (dbg_typemask): Make non-const.
8889 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8890 * alloc.c (dbg_valbits): Make non-const.
8891 * alloc.c (dbg_gctypebits): Make non-const.
8892 * .gdbinit (decode_object): Make it work with AIX cc.
8894 2001-02-06 Martin Buchholz <martin@xemacs.org>
8896 * elhash.c (make_general_lisp_hash_table):
8897 Use simpler and more efficient calloc to clear entries.
8899 2001-02-07 Martin Buchholz <martin@xemacs.org>
8901 * window.c (window_scroll): Work around an AIX C compiler bug.
8902 Fixes 'scroll-up' does nothing problem with xlC.
8904 2001-02-05 Martin Buchholz <martin@xemacs.org>
8906 * .gdbinit: Remove obsolete comment.
8908 2001-01-31 Mike Alexander <mta@arbortext.com>
8910 * select.c (Fown_selection_internal): Set owned_p for device
8913 2001-02-01 Martin Buchholz <martin@xemacs.org>
8916 "not" cannot be used as a macro name as it is an operator in C++
8917 * config.h.in: Stop #defining `not'.
8918 * chartab.c (check_category_char): not ==> not_p
8919 * chartab.h: Likewise.
8920 * regex.c (re_match_2_internal): Likewise.
8922 2001-02-02 Martin Buchholz <martin@xemacs.org>
8924 * lisp-disunion.h: Fix up comments.
8926 2001-01-31 Martin Buchholz <martin@xemacs.org>
8928 * keymap.c (define_key_check_and_coerce_keysym):
8930 Support mouse-6 and mouse-7 bindings in the obvious way.
8932 2001-02-01 Martin Buchholz <martin@xemacs.org>
8934 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8936 2001-01-30 Martin Buchholz <martin@xemacs.org>
8938 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8939 Previous patch missed DEFVAR_INT_MAGIC.
8940 Make sure future DEFVAR_foo use correct types.
8941 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8942 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8943 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8944 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8945 * (DEFVAR_INT): Likewise.
8946 * redisplay.c (vertical_clip): Should be of type Fixnum.
8947 * redisplay.c (horizontal_clip): Likewise.
8948 * lisp.h (dump_add_opaque_int): New.
8949 (dump_add_opaque_fixnum): New.
8951 2001-01-29 Andy Piper <andy@xemacs.org>
8953 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8954 since they can be eval'ed
8956 2001-01-29 Martin Buchholz <martin@xemacs.org>
8958 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8959 Oops, XEmacs redefines `class'. Use `typename' instead.
8961 2001-01-28 Martin Buchholz <martin@xemacs.org>
8963 * dumper.c: Fix C++ compile errors.
8965 2001-01-29 Martin Buchholz <martin@xemacs.org>
8967 * tparam.c: Use correct prototypes.
8969 2001-01-28 Martin Buchholz <martin@xemacs.org>
8971 * sysproc.h: #include util.h for NetBSD's openpty.
8973 2001-01-27 Martin Buchholz <martin@xemacs.org>
8975 More 64-bit correctness.
8976 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8977 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8979 This finally finishes the 64-bit SGI port.
8980 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8981 * symbols.c: Fix up comments and type casts.
8982 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8983 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8984 * symeval.h (Fixnum): New type.
8985 * symeval.h (symbol_value_type): Fix up comment.
9001 * mule-canna.c: A million DEFVAR_INTs here...
9002 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9015 s/int/Fixnum/g in DEFVAR_INT declarations.
9017 2001-01-26 Martin Buchholz <martin@xemacs.org>
9019 Port pdump to SGI alignment-sensitive environment.
9020 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9021 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9023 Define and use aligned reading and writing macros.
9024 Use buffered stdio instead of posix i/o for faster dumping.
9025 Eliminate kludgy 256 byte space for header.
9026 Read and write from dump file using structs for alignment safety.
9027 * dumper.c (pdump_align_stream): New.
9028 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9029 * dumper.c (PDUMP_READ_ALIGNED): New.
9030 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9031 * dumper.c (pdump_static_Lisp_Object): New struct.
9032 * dumper.c (pdump_static_pointer): New struct.
9033 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9034 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9035 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9036 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9038 * dumper.c (pdump_backtrace):
9039 * dumper.c (pdump_get_indirect_count):
9040 * dumper.c (pdump_register_object):
9041 * dumper.c (pdump_register_struct):
9042 * dumper.c (pdump_reloc_one):
9043 * dumper.c (pdump_scan_by_alignment):
9044 * dumper.c (pdump_dump_from_root_struct_ptrs):
9045 * dumper.c (pdump_dump_opaques):
9046 * dumper.c (pdump_dump_rtables):
9047 * dumper.c (pdump_dump_from_root_objects):
9049 * dumper.c (pdump_load_finish):
9050 Use aligned reading and writing.
9052 * dumper.c (pdump_free): Make static.
9053 * dumper.c (pdump_hFile): Likewise.
9054 * dumper.c (pdump_hMap): Likewise.
9056 2001-01-26 Martin Buchholz <martin@xemacs.org>
9058 * XEmacs 21.2.43 "Terspichore" is released.
9060 2001-01-25 Martin Buchholz <martin@xemacs.org>
9062 Type fiddling for window_config.saved_windows_count
9063 * window.c (struct window_config):
9064 Make saved_windows_count member unsigned.
9065 * window.c (sizeof_window_config_for_n_windows):
9066 Make parameter unsigned.
9067 * window.c (mark_window_config):
9068 * window.c (window_config_equal):
9069 * window.c (free_window_configuration):
9070 * window.c (Fset_window_configuration):
9071 * window.c (count_windows):
9072 * window.c (Fcurrent_window_configuration):
9073 * window.c (reinit_vars_of_window):
9074 Update all callers and users.
9076 2001-01-25 Martin Buchholz <martin@xemacs.org>
9078 Alignment correctness for flexible arrays.
9079 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9080 Make alignment-correct. Add interesting comments.
9081 * alloc.c (size_vector):
9082 * alloc.c (make_vector_internal):
9083 * alloc.c (make_bit_vector_internal):
9084 * alloc.c (sweep_bit_vectors_1):
9085 * fns.c (size_bit_vector):
9086 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9087 * window.c (sizeof_window_config_for_n_windows):
9088 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9090 2001-01-24 Martin Buchholz <martin@xemacs.org>
9092 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9094 2001-01-23 Andy Piper <andy@xemacs.org>
9096 * select.c (Fown_selection_internal): pass owned_p
9098 * select-msw.c (mswindows_own_selection): New Signature.
9100 * console.h (struct console_methods): add owned_p to
9103 * select-x.c (x_own_selection): pass owned_p
9104 (hack_motif_clipboard_selection): use owned_p
9105 (vars_of_select_x): new variable -
9106 x_selection_strict_motif_ownership.
9108 2001-01-23 Martin Buchholz <martin@xemacs.org>
9110 * specifier.h (specifier_data_offset): Remove pointless parens.
9111 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9113 2001-01-24 Martin Buchholz <martin@xemacs.org>
9115 Make Lisp_Object sizeof methods be alignment-correct.
9116 pdump must restore objects to the same alignment as the C compiler
9117 assumes. It really matters on SGIs.
9118 * lstream.c (aligned_sizeof_lstream): New.
9119 (sizeof_lstream): Use aligned_sizeof_lstream.
9120 (Lstream_new): Likewise.
9121 * opaque.c (aligned_sizeof_opaque): New.
9122 (sizeof_opaque): Use aligned_sizeof_opaque.
9123 (make_opaque): Likewise.
9124 * specifier.c (aligned_sizeof_specifier): New.
9125 (sizeof_specifier): Use aligned_sizeof_specifier.
9126 (make_specifier_internal): Likewise.
9128 2001-01-23 Martin Buchholz <martin@xemacs.org>
9130 * lstream.h (struct lstream): Use max_align_t for trailing data.
9131 * specifier.h (struct Lisp_Specifier): Likewise.
9133 2001-01-22 Martin Buchholz <martin@xemacs.org>
9135 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9136 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9137 (CCL_SUSPEND): Likewise.
9138 (CCL_INVALID_CMD): Likewise.
9139 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9140 (ccl_driver): Likewise.
9141 (CCL_WRITE_CHAR): Macro hygiene.
9142 (CCL_WRITE_STRING): Macro hygiene.
9144 2001-01-22 Martin Buchholz <martin@xemacs.org>
9146 Port "portable" dumper to SunOS 4 and HP-UX.
9147 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9148 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9149 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9151 2001-01-22 Martin Buchholz <martin@xemacs.org>
9153 * lisp.h (ALIGNOF): A better definition for C++.
9155 2001-01-20 Martin Buchholz <martin@xemacs.org>
9158 Fix printf warnings: int format, long int arg.
9159 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9160 (PUSH_FAILURE_POINT): Use correct printf formats.
9161 (POP_FAILURE_POINT): Use correct printf formats.
9162 Use do {...} while (0)
9164 2001-01-20 Martin Buchholz <martin@xemacs.org>
9166 * XEmacs 21.2.42 "Poseidon" is released.
9168 2001-01-20 Martin Buchholz <martin@xemacs.org>
9170 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9172 2001-01-19 Martin Buchholz <martin@xemacs.org>
9174 De-kludgify FIXED_TYPE free list frobbing.
9175 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9176 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9177 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9178 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9179 * alloc.c (LRECORD_FREE_P): New.
9180 * alloc.c (MARK_LRECORD_AS_FREE): New.
9181 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9182 * alloc.c (STRUCT_FREE_P): Deleted.
9183 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9184 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9185 * alloc.c (STRING_CHARS_FREE_P): New.
9186 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9187 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9188 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9189 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9190 * alloc.c (resize_string): Use new definitions.
9191 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9192 * alloc.c (verify_string_chars_integrity): Use new definitions.
9193 * alloc.c (compact_string_chars): Use new definitions.
9194 * alloc.c: Update monster comments.
9195 * lrecord.h (lrecord_type): Add some new lrecord types for
9198 2001-01-18 Martin Buchholz <martin@xemacs.org>
9200 Improve alignment hackery.
9201 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9202 (max_align_t): Moved from opaque.h - general purpose.
9203 (ALIGN_PTR): Use size_t, not long.
9204 * opaque.h (max_align_t): Move to lisp.h.
9206 2001-01-18 Norbert Koch <nk@LF.net>
9208 * gui.h: Fix and add prototypes to fix build problems.
9210 2001-01-18 Martin Buchholz <martin@xemacs.org>
9212 temacs is going away, so `dump-temacs' is now a bad name.
9213 * .dbxrc (dump-temacs): Rename to `dmp'.
9214 * .gdbinit (dump-temacs): Rename to `dmp'.
9216 2001-01-17 Andy Piper <andy@xemacs.org>
9218 * glyphs.c (print_image_instance): comment to make martin happy.
9220 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9223 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9225 (mswindows_tab_control_redisplay): warning suppression.
9227 * glyphs-widget.c (widget_update): re-write to cope with updated
9229 (widget_instantiate): use new gui_item functions.
9230 (tab_control_update): deleted.
9231 (progress_gauge_update): deleted.
9232 (image_instantiator_progress_guage): take out update reference.
9233 (image_instantiator_tree_view): ditto.
9234 (image_instantiator_tab_control): ditto.
9236 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9238 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9239 return whether anything was changed.
9240 (update_gui_item_keywords): as it sounds.
9242 * gui.h: declare widget_gui_parse_item_keywords.
9244 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9245 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9247 2001-01-17 Martin Buchholz <martin@xemacs.org>
9249 * XEmacs 21.2.41 "Polyhymnia" is released.
9251 2001-01-16 Didier Verna <didier@xemacs.org>
9253 * glyphs.c (image_instantiate): don't use fallbacks when
9254 instantiating a face's background pixmap by inheritance.
9256 2001-01-14 Mike Sperber <mike@xemacs.org>
9258 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9259 Conditionalize accordingly.
9261 2001-01-16 Martin Buchholz <martin@xemacs.org>
9263 * dumper.c (pdump_file_get): Fix a compiler warning.
9265 2001-01-15 Martin Buchholz <martin@xemacs.org>
9267 Make Purify happy when pdumping.
9268 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9269 iniitalizing all bits of new lisp object memory.
9270 * symbols.c (Fmake_local_variable): Likewise.
9271 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9272 * symbols.c (Fdefvaralias): Likewise.
9273 * mule-charset.c (vars_of_mule_charset): Likewise.
9275 2001-01-15 Martin Buchholz <martin@xemacs.org>
9276 Add the `-nd' flag when running pre-dump operations under the debugger.
9277 * .dbxrc (run-temacs): Add `-nd'.
9278 * .dbxrc (update-elc): Likewise.
9279 * .dbxrc (dump-temacs): Likewise.
9280 * .gdbinit (run-temacs): Likewise.
9281 * .gdbinit (check-temacs): Likewise.
9282 * .gdbinit (update-elc): Likewise.
9283 * .gdbinit (dump-temacs): Likewise.
9285 2001-01-14 Martin Buchholz <martin@xemacs.org>
9287 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9288 export OBJECT_MODE=64
9289 configure --pdump --use-union-type=no
9290 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9291 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9293 * miscplay.c (sndcnv8U_2mono):
9294 Avoid two uses of `++' in the same expression.
9295 Suppresses a GCC warning.
9297 2001-01-13 Martin Buchholz <martin@xemacs.org>
9299 Make sure future compilers don't miscompile alloc.c.
9301 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9302 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9304 2001-01-12 Martin Buchholz <martin@xemacs.org>
9306 * dumper.c: A little post-pdump-rename comment fixup.
9308 2001-01-09 Jerry James <james@eecs.ku.edu>
9310 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9312 2001-01-13 Martin Buchholz <martin@xemacs.org>
9314 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9318 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9321 replace_symbol pdump_wire_lists pdump_weak_object_chains
9322 replace_symbol pdump_wire_list dump_add_weak_object_chain
9324 replace_symbol pdump_wires pdump_root_objects
9325 replace_symbol pdump_wire dump_add_root_object
9327 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9328 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9330 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9331 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9332 replace_symbol dumpstructinfo pdump_root_struct_ptr
9333 replace_symbol dumpstruct dump_add_root_struct_ptr
9335 replace_symbol dumpopaque dump_add_opaque
9336 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9337 replace_symbol dumpopaqueinfos pdump_opaques
9338 replace_symbol dumpopaqueinfo pdump_opaque
9340 replace_symbol nb_structdump nb_root_struct_ptrs
9341 replace_symbol nb_opaquedump nb_opaques
9343 replace_symbol align_table pdump_align_table
9344 replace_symbol dump_header pdump_header
9346 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9347 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9350 2001-01-12 Martin Buchholz <martin@xemacs.org>
9352 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9353 optimizing bytecount_to_charcount().
9355 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9358 (HAVE_DLFCN_H): Removed.
9359 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9361 2001-01-06 Martin Buchholz <martin@xemacs.org>
9363 Portable dumper maintainability improvements.
9364 * alloc.c (staticpro):
9365 * alloc.c (staticpro_nodump):
9366 * alloc.c (garbage_collect_1):
9367 * alloc.c (reinit_alloc_once_early):
9368 * alloc.c (init_alloc_once_early):
9369 * alloc.c: Move dumper functions to alloc.c.
9370 * dumper.c (pdump_backtrace):
9371 * dumper.c (pdump_dump_structs):
9372 * dumper.c (pdump_dump_opaques):
9373 * dumper.c (pdump_dump_rtables):
9374 * dumper.c (pdump_dump_wired):
9376 * dumper.c (pdump_load_check):
9377 * dumper.c (pdump_load_finish):
9378 * dumper.c (pdump_file_unmap):
9379 * dumper.c (pdump_file_get):
9380 * dumper.c (pdump_resource_free):
9381 * dumper.c (pdump_resource_get):
9382 * dumper.c (pdump_file_free):
9383 * dumper.c (pdump_file_try):
9384 * dumper.c (pdump_load):
9385 Remove fixed size limits on staticpro(), staticpro_nodump(),
9386 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9387 Remove custom code for dumping lrecord_implementations_table - use
9389 Remove (most of the) custom code for dumping staticpros - dump it
9390 like any other dynarr.
9392 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9393 * dumper.c: Moved functions from alloc.c.
9394 * alloc.c (dumpstruct): Moved to dumper.c.
9395 * alloc.c (dumpopaque): Likewise.
9396 * alloc.c (pdump_wire): Likewise.
9397 * alloc.c (pdump_wire_list): Likewise.
9399 * lisp.h (Dynarr_sizeof): New.
9400 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9401 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9402 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9404 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9405 * lisp.h (dumpopaque): ditto.
9406 * lisp.h (pdump_wire): ditto.
9407 * lisp.h (pdump_wire_list): ditto.
9409 2001-01-09 Martin Buchholz <martin@xemacs.org>
9411 * make-src-depend (PrintPatternDeps):
9412 Use `sort' to make output independent of perl version.
9414 2001-01-08 Martin Buchholz <martin@xemacs.org>
9417 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9418 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9420 2001-01-03 Didier Verna <didier@xemacs.org>
9422 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9423 that `focus_frame' is alive before thinking of calling
9424 `redisplay_redraw_cursor' on it.
9426 2001-01-08 Martin Buchholz <martin@xemacs.org>
9428 * XEmacs 21.2.40 is released.
9430 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9432 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9434 2001-01-06 Martin Buchholz <martin@xemacs.org>
9436 * alloc.c (dbg_valmask): Make const.
9437 * alloc.c (dbg_typemask): Make const.
9438 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9439 * alloc.c (dbg_valbits): Make const.
9440 * alloc.c (dbg_gctypebits): Make const.
9442 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9444 * redisplay-x.c (x_bevel_area):
9445 redisplay.h (struct rune):
9446 Typo fixes in comments.
9448 2001-01-05 Andy Piper <andy@xemacs.org>
9450 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9453 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9455 2001-01-05 Martin Buchholz <martin@xemacs.org>
9457 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9459 * mule-ccl.c (stack_idx_of_map_multiple):
9460 Non const global data must not be initialized!
9461 Found by MIYASHITA Hisashi.
9463 2001-01-02 Andy Piper <andy@xemacs.org>
9465 * frame.c (change_frame_size): make sure frame size is always
9468 * glyphs.c (image_instance_layout): minor code reuse.
9470 * window.c (Fcurrent_window_configuration): revert previous
9473 2001-01-02 Martin Buchholz <martin@xemacs.org>
9476 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9478 2000-12-31 Andy Piper <andy@xemacs.org>
9480 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9481 when widget gets unmapped.
9483 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9484 function. Make sure widgets losing focus don't just drop it.
9485 (handle_focus_event_1): record the widget with focus.
9487 2000-12-31 Andy Piper <andy@xemacs.org>
9489 * window.c (allocate_window): use
9490 make_image_instance_cache_hash_table.
9491 (make_dummy_parent): ditto.
9492 (Fset_window_configuration): ditto.
9494 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9496 * glyphs.c (process_image_string_instantiator): use
9498 (get_image_instantiator_governing_domain): ditto.
9499 (normalize_image_instantiator): ditto.
9500 (instantiate_image_instantiator): ditto.
9501 (make_image_instance_1): ditto.
9502 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9503 (instantiator_eq_equal): new function for use with instance hash
9505 (instantiator_eq_hash): ditto.
9506 (make_image_instance_cache_hash_table): create a suitable hash
9507 table for storing image instances.
9509 * elhash.h (hash_table_weakness): new internal weakness type
9510 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9511 declare new functions.
9513 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9514 another weakness type for glyphs.
9515 (make_standard_lisp_hash_table): new function split out from
9516 make_general_lisp_hash_table.
9517 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9518 (hash_table_instantiate): ditto.
9519 (Fmake_hash_table): ditto.
9521 2000-12-31 Martin Buchholz <martin@xemacs.org>
9523 * XEmacs 21.2.39 is released.
9525 2000-12-29 Andy Piper <andy@xemacs.org>
9527 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9529 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9530 the frame has changed so that we pick up geometry changes such as
9533 2000-12-28 Andy Piper <andy@xemacs.org>
9535 * lastfile.c (my_ebss): make a char array so we can pad the
9536 bss. Fixes cygwin unexec.
9538 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9540 2000-12-26 Andy Piper <andy@xemacs.org>
9542 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9543 comments and try and be more precise about a non-/SIGIO world.
9544 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9547 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9548 we don't normalize to zero width or height.
9550 2000-12-24 Andy Piper <andy@xemacs.org>
9552 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9554 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9556 * s/sco5.h: SCO 5 has pty support.
9558 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9560 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9561 input-method-xlib.c contains whole contents of input-method-xfs.c,
9562 so we can use input-method-xlib.c's code for USE_XFONTSET
9564 * input-method-xfs.c: removed.
9566 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9568 * file-coding.h (enum coding_category_type): reorder enumerators to
9569 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9570 (now one greater than largest real coding_category_type enumerator).
9571 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9572 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9573 Fcoding_category_list, Fset_coding_priority_list,
9574 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9575 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9577 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9579 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9580 * redisplay-output.c (redisplay_output_window): Clear top of window
9581 when face is changed.
9582 * redisplay-x.c (x_redraw_exposed_window): Call
9583 redisplay_clear_top_of_window.
9584 * redisplay.h: Publish redisplay_clear_top_of_window.
9586 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9588 * buffer.c (Fkill_buffer): Map over all devices.
9589 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9590 (list_windows): New function.
9591 (list_all_windows): Ditto.
9592 (Freplace_buffer_in_windows): Use them.
9594 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9596 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9597 (Fopen_database): Use `db_create' instead of `db_open'.
9598 (syms_of_database): Initialize Qqueue.
9600 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9602 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9603 buffer_local_face_property.
9604 * buffer.h (struct buffer): New member buffer_local_face_property.
9605 * window.c (Fset_window_buffer): Mark window's face as changed
9606 when buffer has buffer local face.
9607 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9608 * objects.c (color_after_change): Set buffer_local_face_property
9609 when locale of face specifier is buffer.
9610 * objects.c (font_after_change): Ditto.
9611 * objects.c (face_boolean_after_change): Ditto.
9612 * glyphs.c (image_after_change): Ditto.
9614 2000-12-09 Dan Holmsand <dan@eyebee.com>
9616 * nt.c (mswindows_fstat): Report file permissions, volume serial
9617 number, etc. Code adapted from FSF Emacs 20.7.
9619 2000-12-09 Dan Holmsand <dan@eyebee.com>
9621 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9622 of stat when we don't have symbolic links, to make sure
9623 mswindows_stat is called on mswindows.
9625 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9627 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9629 2000-12-12 Martin Buchholz <martin@xemacs.org>
9631 * doprnt.c (emacs_doprnt_1): More printing fixes.
9632 Make printing of numbers compatible with libc and FSF Emacs.
9633 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9634 Use the system printf to do most of the hard work of formatting,
9635 instead of doprnt_1().
9636 Calculate memory to allocate for format string.
9637 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9638 (doprnt_1): Cleaner code and documentation.
9640 2000-12-01 Jerry James <james@eecs.ukans.edu>
9642 * Makefile.in.in: Use the loop variable to install headers.
9644 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9646 * window.c (Fsplit_window): Don't invalidate face cache.
9648 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9650 * minibuf.c (Fall_completions): Undo the previous change
9651 which removed checking elements start with space.
9653 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9655 * mule-canna.c: Didier suppression.
9657 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9659 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9660 (warning suppression). Add English comment translations.
9662 2000-12-05 Martin Buchholz <martin@xemacs.org>
9664 * unexelfsgi.c (unexec): Better test for mmap failure.
9666 2000-12-05 Martin Buchholz <martin@xemacs.org>
9668 * XEmacs 21.2.38 is released.
9670 2000-12-05 Martin Buchholz <martin@xemacs.org>
9672 * redisplay.c (bar-cursor): Make a user variable.
9674 * symsinit.h: Add init_postgresql_from_environment.
9676 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9678 * regex.c: Convert to clean C.
9680 2000-12-05 Dan Holmsand <dan@eyebee.com>
9683 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9685 (sys_readlink): renamed to system_readlink to avoid conflict with
9686 the other sys_readlink.
9688 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9690 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9692 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9694 * postgresql.c (init_postgresql_from_environment): new function.
9695 (vars_of_postgresql): Move code initializing Lisp variables out and
9696 into init_postgresql_from_environment.
9697 emacs.c (main_1): Call init_postgresql_from_environment if and only
9698 if running a dumped XEmacs.
9700 2000-08-31 Dan Holmsand <dan@eyebee.com>
9702 * buffer.c: Make find-file-compare-truenames default to true on
9705 * realpath.c (win32_abs_start):
9707 (win32_readlink): New functions.
9708 (xrealpath): Return really real filenames on windows.
9710 * fileio.c (Ffile_truename): Make file-truename work on windows.
9712 2000-11-29 Didier Verna <didier@xemacs.org>
9714 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9715 * faces.c (update_face_cachel_data): use it.
9716 * faces.c (add_face_cachel): use it. Complete background pixmap
9717 frobbing in face cache if `update_face_cachel_data' has not done so.
9719 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9721 * search.c (string_match_1): Don't set last_thing_searched
9724 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9726 * buffer.c: Include casetab.h
9727 (common_init_complex_vars_of_buffer): Use new case-table object.
9728 * buffer.h: Include casetab.h
9729 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9730 (DOWNCASE_TABLE_OF): Ditto.
9731 * bufslots.h: Remove char-tables and add case-table.
9732 * casetab.c: Include casetab.h
9733 (CASE_TABLE_P): Removed.
9734 (mark_case_table): New function.
9735 (allocate_case_table): New function.
9736 (Fcase_table_p): Use new case-table.
9737 (case_table_char): New function.
9738 (Fget_case_table): Ditto.
9739 (Fput_case_table): Ditto.
9740 (Fput_case_table_pair): Ditto.
9741 (Fcopy_case_table): Ditto.
9742 (Fcurrent_case_table): Return case-table.
9743 (Fstandard_case_table): Return case-table.
9744 (Fset_case_table): Fix doc-string.
9745 (set_case_table): Use case-table
9746 (syms_of_casetab): DEFSUBR new functions.
9747 (complex_vars_of_casetab): Set up standard case-table.
9748 * casetab.h: New file.
9749 * editfns.c: Include casetab.h
9750 (Fcompare_buffer_substrings): Use case-table.
9751 * inline.c: Include casetab.h
9752 * lisp.h: Remove bogus extern.
9753 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9754 * search.c: Include casetab.h
9755 (TRANSLATE_ASCII): Removed.
9756 (TRANSLATE): Unconditionally translate character.
9757 (looking_at_1): Use case-table.
9758 (string_match_1): Ditto.
9759 (fast_string_match): Ditto.
9760 (search_command): Ditto.
9761 (search_buffer): Separate boyer_moore. Check whether
9762 boyer_moore is possible.
9763 (simple_search): New function.
9764 (boyer_moore): Separated from search_buffer. Translate char.
9766 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9768 * regex.c (RE_TR_ASCII): Removed.
9769 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9770 (PATFETCH): Call PATFETCH_RAW.
9771 (PATFETCH_RAW): Fetch Emchar.
9772 (PATUNFETCH): Decrement charptr.
9773 (GET_BUFFER_SPACE): Rename b to buf_end.
9775 (BUF_PUSH_2): Ditto.
9776 (BUF_PUSH_3): Ditto.
9777 (EXTEND_BUFFER): Ditto.
9778 (SET_LIST_BIT): Ditto.
9779 (regex_compile): Ditto. Translate non ASCII char.
9780 (compile_range): Ditto.
9781 (re_search_2): Ditto.
9782 (re_match_2_internal): Compare Emchar.
9783 (bcmp_translate): Ditto.
9785 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9787 * lisp.h (basic char/int typedefs): comment improvement.
9789 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9791 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9792 unstomp inhibit_site_lisp. Improve comments.
9794 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9796 * mule-charset.c (Fcharset_property): improve type checking, comments.
9798 2000-11-28 Andy Piper <andy@xemacs.org>
9800 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9801 clipped display for windows in the gutter also.
9802 (redisplay_display_boxes_in_window_p): change semantics of return
9803 codes to be more intuitive.
9805 * gutter.h: declare display_boxes_in_gutter_p.
9807 * gutter.c (display_boxes_in_gutter_p): new function for
9810 2000-11-22 Andy Piper <andy@xemacs.org>
9812 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9815 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9817 * callproc.c (Fold_call_process_internal):
9818 * gpm.c (Freceive_gpm_event):
9819 (tty_get_foreign_selection): Might be just warning supression.
9820 * fileio.c (Fwrite_region_internal):
9821 (Fset_visited_file_modtime):
9822 * keymap.c (event_matches_key_specifier_p):
9823 Initialize GCPROed variable.
9825 * menubar-x.c (command_builder_find_menu_accelerator):
9826 Initialize before use.
9828 2000-11-23 Andy Piper <andy@xemacs.org>
9830 * unexcw.c (unexec): make the resulting executable executable.
9832 2000-11-21 Martin Buchholz <martin@xemacs.org>
9834 * doc.c (get_doc_string):
9835 Use size_t, not int, for result of XSTRING_LENGTH.
9837 * cmds.c (Fdelete_char):
9838 * cmds.c (Fpoint_at_eol):
9839 * cmds.c (Fself_insert_command):
9840 Use EMACS_INT, not int, for result of XINT.
9841 Someday, someone will want to insert more than 2**31 identical characters.
9843 * cmds.c (Fdelete_char):
9844 * cmds.c (Fdelete_backward_char):
9845 * syntax.c (Fforward_word):
9846 * syntax.c (Fforward_comment):
9847 Make COUNT argument optional, for consistency with forward-char et al.
9849 2000-11-22 Martin Buchholz <martin@xemacs.org>
9852 * print.c (long_to_string):
9853 Return a useful value: the pointer at end of data written.
9856 Use `static const char * const' for constant strings.
9857 (union printf_arg): Delete `i', `ui' members.
9860 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9861 Do all printf-ing via the `l' specifier.
9862 Use EMACS_INT instead of int.
9865 2000-11-20 Didier Verna <didier@xemacs.org>
9867 * faces.c (update_face_cachel_data): don't frob the background
9868 pixmap when the window is being created. The face is needed but
9871 2000-11-20 Andy Piper <andy@xemacs.org>
9873 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9874 messing with a debug environment.
9876 2000-11-20 Martin Buchholz <martin@xemacs.org>
9878 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9880 2000-11-20 Martin Buchholz <martin@xemacs.org>
9882 * casetab.c (Fcase_table_p): Fix compile error and crash.
9884 2000-11-18 Philip Aston <philipa@mail.com>
9886 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9888 2000-11-18 Martin Buchholz <martin@xemacs.org>
9890 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9891 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9893 2000-11-17 Martin Buchholz <martin@xemacs.org>
9895 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9896 * unexelf.c: Use HAVE_ELF_H.
9897 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9898 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9899 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9900 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9902 So this is an unexelfsgi.c from a different line of development.
9904 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9906 * regex.c (RE_TR_ASCII): New function.
9907 (RE_TRANSLATE): Call it.
9909 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9911 * buffer.h (TRT_TABLE_OF): Remove assert.
9912 (IN_TRT_TABLE_DOMAIN): Removed.
9914 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9916 * free-hook.c (log_gcpro):
9917 (show_gcprohist): Add support for GCPRO5.
9919 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9921 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9923 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9925 * symeval.h: Declare flush_all_buffer_local_cache.
9927 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9928 (flush_buffer_local_cache): Added.
9929 (flush_all_buffer_local_cache): Added.
9931 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9933 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9934 (pdump_dump_data): Ditto.
9935 (pdump_reloc_one): Ditto.
9936 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9940 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9942 * buffer.c: Remove if 0'ed entry.
9943 * buffer.h: Rewrite TRT to use char-table.
9944 * bufslots.h: Remove mirror tables.
9945 * casetab.c: Remove mirror tables.
9946 (CASE_TABLE_P): New macro.
9947 (Fcase_table_p): Element of a case table is string or char-table.
9948 (make_mirror_trt_table): Removed.
9949 (set_case_table): Setup char-table from strings for backward
9951 * dired.c (Fdirectory_files):
9952 * dired-msw.c: (mswindows_get_files):
9953 * lisp.h: Change prototype of re_pattern_buffer.
9954 * regex.c: (RE_TRANSLATE): New macro.
9955 (TRANSLATE_P): Ditto.
9956 Change translate to type RE_TRANSLATE_TYPE.
9957 * regex.h: Define RE_TRANSLATE_TYPE
9958 * search.c (TRANSLATE): New macro.
9959 (TRANSLATE_ASCII): New macro.
9960 Translate table is changed to Lisp_Object.
9961 (signal_failure): Inhibit return.
9963 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9970 Do UNGCPRO before return.
9972 2000-11-14 Martin Buchholz <martin@xemacs.org>
9974 * XEmacs 21.2.37 is released.
9976 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9978 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9979 Add comments about discarded return value.
9981 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9984 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9986 2000-10-27 Andy Piper <andy@xemacs.org>
9988 * gutter.c (Fset_default_gutter_position): default left and right
9990 (calculate_gutter_size): calculate resonable heuristic for left
9991 and right gutter sizes.
9992 (specifier_vars_of_gutter): change left and right gutter sizes to
9994 (calculate_gutter_size_from_display_lines): new function.
9995 (output_gutter): check for resizing on left and right gutters.
9996 (clear_gutter): don't special case top and left gutters.
9997 (specifier_vars_of_gutter): use new signature for
9998 set_specifier_caching.
10000 * glyphs-x.c (x_redisplay_widget): spelling fix.
10001 * glyphs.c (specifier_vars_of_glyphs):
10002 * menubar.c (specifier_vars_of_menubar):
10003 * redisplay.c (specifier_vars_of_redisplay):
10004 * toolbar.c (specifier_vars_of_toolbar):
10005 * window.c (specifier_vars_of_window):
10006 * scrollbar.c (specifier_vars_of_scrollbar):
10007 (complex_vars_of_scrollbar): use new signature for
10008 set_specifier_caching.
10010 * specifier.c (set_specifier_caching): include recompute flag.
10011 (recompute_one_cached_specifier_in_window): always recompute if
10013 (recompute_one_cached_specifier_in_frame): ditto.
10015 * specifier.h (struct specifier_caching): add recompute flag.
10017 2000-10-24 Andy Piper <andy@xemacs.org>
10019 * unexcw.c (copy_executable_and_dump_data_section): add new
10020 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10023 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10025 * console-x.h (x_device): New member modifier_release_time.
10026 * event-Xt.c (x_handle_sticky_modifiers):
10027 Bound interval modifier keys are sticky.
10028 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10029 * events.h: extern it.
10031 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10033 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10035 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10037 * event-stream.c (execute_command_event): Preserve current_events
10038 and the like when event is misc-user-event.
10039 Inhibit quit during the call to maybe_echo_keys.
10041 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10043 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10044 symlink when buffer is killed.
10045 (inhibit_clash_detection): New variable.
10047 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10049 * console.c (Fset_input_method): Trigger redisplay on tty.
10051 2000-11-07 Martin Buchholz <martin@xemacs.org>
10053 * process.c (Fprocess_status): Revert to previous behavior:
10054 (process-status "nosuchprocess") ==> nil
10056 2000-11-06 Martin Buchholz <martin@xemacs.org>
10058 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10059 Work around another GCC 2.95.2 optimizer bug.
10061 2000-11-02 Martin Buchholz <martin@xemacs.org>
10063 * process.c (Fget_process): Use LIST_LOOP_2.
10064 (kill_buffer_processes): Use LIST_LOOP_2.
10066 * minibuf.c (Fall_completions):
10067 Delete old non-functional code for FSF fourth argument.
10069 * frame.c (frame_matches_frame_spec):
10070 Renamed from `frame_matches_frametype'. Update all callers.
10071 (device_matches_device_spec):
10072 Renamed from 'device_matches_console_spec'. Update all callers.
10074 * doc.c (Fsubstitute_command_keys):
10075 Remove buffer overflow crash. Small code cleanups.
10077 * casetab.c (check_case_table): Simpler code.
10079 * window.c (Freplace_buffer_in_windows):
10080 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10081 (and similar implementation) as Fdelete_windows_on.
10082 Update all callers.
10084 * alloc.c (Fmake_list):
10085 * alloc.c (make_vector):
10086 * alloc.c (Fmake_vector):
10087 * alloc.c (make_bit_vector):
10088 * alloc.c (Fmake_bit_vector):
10089 * alloc.c (Fbit_vector):
10090 * alloc.c (Fmake_string):
10091 * alloc.c (Fpurecopy):
10092 * alloc.c (Fmemory_limit):
10094 * buffer.c (Fget_buffer):
10095 * buffer.c (Fkill_buffer):
10096 * buffer.c (complex_vars_of_buffer):
10097 * bytecode.c (Fcompiled_function_stack_depth):
10098 * callint.c (Fprefix_numeric_value):
10100 * event-stream.c (Fread_key_sequence):
10102 * casetab.c (Fcase_table_p):
10103 * casetab.c (check_case_table):
10104 * casetab.c (Fset_case_table):
10105 * casetab.c (Fset_standard_case_table):
10107 * chartab.c (Fchar_table_type):
10108 * chartab.c (Freset_char_table):
10109 * chartab.c (Fget_char_table):
10110 * chartab.c (Fget_range_char_table):
10111 * chartab.c (Fput_char_table):
10112 * chartab.c (Fmap_char_table):
10113 * chartab.c (Fcategory_table_p):
10114 * chartab.c (Fcheck_category_at):
10115 * chartab.c (Fchar_in_category_p):
10116 * chartab.c (Fcategory_table):
10117 * chartab.c (Fcopy_category_table):
10118 * chartab.c (Fset_category_table):
10119 * chartab.c (Fcategory_designator_p):
10120 * chartab.c (Fcategory_table_value_p):
10121 * cmds.c (Fdelete_char):
10122 * cmds.c (Fdelete_backward_char):
10123 * cmds.c (Fself_insert_command):
10124 * cmds.c (Fself_insert_internal):
10125 * console.c (Fvalid_console_type_p):
10126 * console.c (Fcdfw_console):
10127 * console.c (Fconsole_type):
10128 * console.c (Fconsole_name):
10129 * console.c (Fconsole_device_list):
10130 * console.c (Fconsole_on_window_system_p):
10133 * data.c (Fold_eq):
10134 * data.c (Fsubr_interactive):
10135 * data.c (Fchar_to_int):
10136 * data.c (Fint_to_char):
10137 * data.c (Fsetcar):
10138 * data.c (Fsetcdr):
10139 * data.c (Fnumber_to_string):
10140 * data.c (Fstring_to_number):
10142 * database.c (mark_database):
10143 * database.c (finalize_database):
10144 * database.c (Fdatabase_live_p):
10145 * database.c (Fdatabasep):
10146 * device-x.c (Fx_get_resource):
10147 * device.c (Fdfw_device):
10149 * dired.c (Ffile_name_completion):
10150 * dired.c (Ffile_name_all_completions):
10151 * dired.c (Fuser_name_completion):
10152 * dired.c (Fuser_name_completion_1):
10153 * dired.c (Fuser_name_all_completions):
10154 * doc.c (Fdocumentation):
10155 * doc.c (Fdocumentation_property):
10156 * doc.c (Fsubstitute_command_keys):
10158 * editfns.c (Fchar_to_string):
10159 * editfns.c (Fstring_to_char):
10160 * editfns.c (Ftemp_directory):
10161 * editfns.c (Finsert_char):
10162 * editfns.c (Fbuffer_substring_no_properties):
10163 * editfns.c (Fnarrow_to_region):
10164 * editfns.c (Fchar_equal):
10165 * editfns.c (Fchar_Equal):
10166 * editfns.c (Ftranspose_regions):
10167 * emacs.c (Fdump_emacs):
10169 * eval.c (Fcommand_execute):
10170 * eval.c (Fautoload):
10171 * eval.c (Fbacktrace):
10172 * eval.c (Fbacktrace_frame):
10174 * events.c (Fcopy_event):
10175 * events.c (Fcharacter_to_event):
10176 * events.c (Fevent_button):
10177 * events.c (Fevent_process):
10179 * extents.c (Fnext_extent_change):
10180 * extents.c (Fextent_property):
10181 * faces.c (Ffacep):
10182 * faces.c (Fmake_face):
10184 * file-coding.c (Fencode_shift_jis_char):
10185 * file-coding.c (Fencode_big5_char):
10186 * fileio.c (Ffile_name_directory):
10187 * fileio.c (Ffile_name_nondirectory):
10188 * fileio.c (Ffile_name_as_directory):
10189 * fileio.c (Fdirectory_file_name):
10190 * fileio.c (Ffile_truename):
10191 * fileio.c (Fsubstitute_in_file_name):
10192 * fileio.c (Ffile_modes):
10193 * fileio.c (Fset_file_modes):
10194 * fileio.c (Fset_default_file_modes):
10195 * fileio.c (Fverify_visited_file_modtime):
10196 * floatfns.c (Facos):
10197 * floatfns.c (Fasin):
10198 * floatfns.c (Fatan):
10199 * floatfns.c (Fcos):
10200 * floatfns.c (Fsin):
10201 * floatfns.c (Ftan):
10202 * floatfns.c (Fbessel_j0):
10203 * floatfns.c (Fbessel_j1):
10204 * floatfns.c (Fbessel_jn):
10205 * floatfns.c (Fbessel_y0):
10206 * floatfns.c (Fbessel_y1):
10207 * floatfns.c (Fbessel_yn):
10208 * floatfns.c (Ferf):
10209 * floatfns.c (Ferfc):
10210 * floatfns.c (Flog_gamma):
10211 * floatfns.c (Fexp):
10212 * floatfns.c (Fexpt):
10213 * floatfns.c (Flog):
10214 * floatfns.c (Flog10):
10215 * floatfns.c (Fsqrt):
10216 * floatfns.c (Fcube_root):
10217 * floatfns.c (Facosh):
10218 * floatfns.c (Fasinh):
10219 * floatfns.c (Fatanh):
10220 * floatfns.c (Fcosh):
10221 * floatfns.c (Fsinh):
10222 * floatfns.c (Ftanh):
10223 * floatfns.c (Fabs):
10224 * floatfns.c (Ffloat):
10225 * floatfns.c (Flogb):
10226 * floatfns.c (Fceiling):
10227 * floatfns.c (Ffloor):
10228 * floatfns.c (Fround):
10229 * floatfns.c (Ftruncate):
10230 * floatfns.c (Ffceiling):
10231 * floatfns.c (Fffloor):
10232 * floatfns.c (Ffround):
10233 * floatfns.c (Fftruncate):
10234 * fns.c (Fstring_equal):
10235 * fns.c (Fstring_lessp):
10238 * fns.c (vconcat2):
10239 * fns.c (vconcat3):
10240 * fns.c (Fsubstring):
10242 * fns.c (Fold_assoc):
10243 * fns.c (assoc_no_quit):
10245 * fns.c (Fold_assq):
10246 * fns.c (assq_no_quit):
10248 * fns.c (Fold_rassoc):
10250 * fns.c (Fold_rassq):
10251 * fns.c (rassq_no_quit):
10252 * fns.c (Fremassoc):
10253 * fns.c (remassoc_no_quit):
10254 * fns.c (Fremassq):
10255 * fns.c (remassq_no_quit):
10256 * fns.c (Fremrassoc):
10257 * fns.c (Fremrassq):
10258 * fns.c (remrassq_no_quit):
10260 * fns.c (Fplist_get):
10261 * fns.c (Fplist_put):
10262 * fns.c (Fplist_remprop):
10263 * fns.c (Fplist_member):
10264 * fns.c (Flax_plist_get):
10265 * fns.c (Flax_plist_put):
10266 * fns.c (Flax_plist_remprop):
10267 * fns.c (Flax_plist_member):
10269 * fns.c (Fold_equal):
10270 * fns.c (Frequire):
10271 * fns.c (Fbase64_encode_region):
10272 * fns.c (Fbase64_encode_string):
10273 * fns.c (Fbase64_decode_region):
10275 * frame.c (frame_matches_frame_spec):
10276 * frame.c (device_matches_device_spec):
10277 * frame.c (next_frame):
10278 * frame.c (previous_frame):
10279 * frame.c (Fnext_frame):
10280 * frame.c (Fprevious_frame):
10281 * frame.c (Fframe_property):
10282 * frame.c (Fset_frame_height):
10283 * frame.c (Fset_frame_size):
10287 * glyphs.c (decode_error_behavior_flag):
10288 * glyphs.c (Fmake_image_instance):
10289 * indent.c (Findent_to):
10290 * intl.c (Fignore_defer_gettext):
10291 * keymap.c (Fkeymapp):
10292 * keymap.c (Flookup_key):
10294 * lread.c (Fload_internal):
10295 * lread.c (Feval_buffer):
10296 * lread.c (Feval_region):
10297 * macros.c (Fexecute_kbd_macro):
10298 * marker.c (set_marker_internal):
10299 * marker.c (Fset_marker):
10300 * marker.c (set_marker_restricted):
10301 * marker.c (Fcopy_marker):
10302 * marker.c (noseeum_copy_marker):
10304 * menubar.c (Fpopup_menu):
10306 * mule-charset.c (Fcharset_name):
10307 * mule-charset.c (Fchar_charset):
10308 * mule-charset.c (Fchar_octet):
10309 * mule-charset.c (Fsplit_char):
10310 * mule-wnnfns.c (Fwnn_open):
10311 * mule-wnnfns.c (Fwnn_dict_comment):
10312 * mule-wnnfns.c (Fwnn_quit_henkan):
10313 * mule-wnnfns.c (Fwnn_word_toroku):
10314 * mule-wnnfns.c (Fwnn_word_sakujo):
10315 * mule-wnnfns.c (Fwnn_word_use):
10316 * mule-wnnfns.c (Fwnn_hindo_set):
10318 * objects.c (Fmake_color_instance):
10319 * objects.c (Fmake_font_instance):
10320 * print.c (Fwrite_char):
10322 * process.c (mark_process):
10323 * process.c (print_process):
10324 * process.c (get_process_from_usid):
10325 * process.c (Fprocessp):
10326 * process.c (Fprocess_live_p):
10327 * process.c (Fget_process):
10328 * process.c (Fget_buffer_process):
10329 * process.c (get_process):
10330 * process.c (Fprocess_id):
10331 * process.c (Fprocess_name):
10332 * process.c (Fprocess_command):
10333 * process.c (init_process_io_handles):
10334 * process.c (start_process_unwind):
10335 * process.c (Fstart_process_internal):
10336 * process.c (Fopen_multicast_group_internal):
10337 * process.c (Fset_process_window_size):
10338 * process.c (read_process_output):
10339 * process.c (send_process):
10340 * process.c (Fprocess_tty_name):
10341 * process.c (Fset_process_buffer):
10342 * process.c (Fprocess_buffer):
10343 * process.c (Fprocess_mark):
10344 * process.c (set_process_filter):
10345 * process.c (Fset_process_filter):
10346 * process.c (Fprocess_filter):
10347 * process.c (Fprocess_send_region):
10348 * process.c (Fprocess_send_string):
10349 * process.c (exec_sentinel):
10350 * process.c (Fset_process_sentinel):
10351 * process.c (Fprocess_sentinel):
10352 * process.c (status_notify):
10353 * process.c (Fprocess_status):
10354 * process.c (Fprocess_exit_status):
10355 * process.c (process_send_signal):
10356 * process.c (Fprocess_send_eof):
10357 * process.c (deactivate_process):
10358 * process.c (remove_process):
10359 * process.c (Fdelete_process):
10360 * process.c (kill_buffer_processes):
10361 * process.c (Fprocess_kill_without_query):
10362 * process.c (Fprocess_kill_without_query_p):
10364 * rangetab.c (Fget_range_table):
10365 * rangetab.c (Fput_range_table):
10366 * rangetab.c (Fremove_range_table):
10367 * rangetab.c (Fclear_range_table):
10369 * search.c (Fskip_chars_forward):
10370 * search.c (Fskip_chars_backward):
10371 * search.c (Fskip_syntax_forward):
10372 * search.c (Fskip_syntax_backward):
10373 * search.c (search_command):
10374 * search.c (Freplace_match):
10375 * search.c (Fregexp_quote):
10376 * select.c (Fown_selection_internal):
10377 * select.c (Fselection_owner_p):
10378 * select.c (Fselection_exists_p):
10379 * select.c (Fget_selection_internal):
10382 * symbols.c (Fintern):
10383 * symbols.c (Fintern_soft):
10384 * symbols.c (Funintern):
10385 * symbols.c (Fapropos_internal):
10386 * symbols.c (Fset_default):
10388 * syntax.c (Fsyntax_table_p):
10389 * syntax.c (Fcopy_syntax_table):
10390 * syntax.c (Fset_syntax_table):
10391 * syntax.c (Fchar_syntax):
10392 * syntax.c (syntax_match):
10393 * syntax.c (Fmatching_paren):
10394 * syntax.c (Fforward_word):
10395 * syntax.c (scan_lists):
10396 * syntax.c (Fscan_lists):
10397 * syntax.c (Fscan_sexps):
10398 * syntax.c (Fparse_partial_sexp):
10399 * toolbar.c (Fcheck_toolbar_button_syntax):
10402 * window.c (Fwindowp):
10403 * window.c (Fwindow_live_p):
10404 * window.c (Fwindow_point):
10405 * window.c (Fdelete_window):
10406 * window.c (Fnext_window):
10407 * window.c (Fprevious_window):
10408 * window.c (Fother_window):
10409 * window.c (window_loop):
10410 * window.c (Fget_lru_window):
10411 * window.c (Fsplit_window):
10412 * window.c (Fenlarge_window):
10413 * window.c (Fenlarge_window_pixels):
10414 * window.c (Fshrink_window):
10415 * window.c (Fshrink_window_pixels):
10416 * window.c (change_window_height):
10417 * window.c (Fwindow_configuration_p):
10418 * window.c (Fcurrent_window_configuration):
10420 * casefiddle.c (casify_object):
10421 * casefiddle.c (Fupcase):
10422 * casefiddle.c (Fdowncase):
10423 * casefiddle.c (Fcapitalize):
10424 * casefiddle.c (Fupcase_initials):
10425 * casefiddle.c (casify_region_internal):
10426 * casefiddle.c (casify_region):
10427 * casefiddle.c (Fupcase_region):
10428 * casefiddle.c (Fdowncase_region):
10429 * casefiddle.c (Fcapitalize_region):
10430 * casefiddle.c (Fupcase_initials_region):
10431 * casefiddle.c (Fupcase_word):
10432 * casefiddle.c (Fdowncase_word):
10433 * casefiddle.c (Fcapitalize_word):
10434 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10435 Replace 0 with '\0' when working with bytes.
10436 Replace initial "(" with "\(" in docstrings.
10438 2000-11-01 Martin Buchholz <martin@xemacs.org>
10440 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10442 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10444 2000-10-31 Martin Buchholz <martin@xemacs.org>
10446 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10448 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10450 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10453 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10455 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10456 (inhibit_auto_save_session): New variable.
10457 (vars_of_fileio): Declare and initialize them.
10458 * fileio.c (Fdo_auto_save): Don't create session file if
10459 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10461 2000-10-31 Martin Buchholz <martin@xemacs.org>
10463 * sgiplay.c (play_internal): C++ compilability.
10464 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10465 * callproc.c (Fold_call_process_internal):
10466 Remove unused vars `env', `first'.
10467 * scrollbar.c (update_scrollbar_instance):
10468 #### unused var `current_window'.
10469 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10470 etc. within #ifdef NOT_YET.
10471 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10472 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10473 * specifier.c (specifier_instance):
10474 #### unused var `tag'.
10475 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10477 2000-10-27 Martin Buchholz <martin@xemacs.org>
10479 * fns.c (Fbutlast):
10480 * fns.c (list_sort):
10481 * fns.c (Ffillarray):
10482 * fns.c (bytecode_nconc2):
10485 * fns.c (Fmapconcat):
10486 Be pedantically 64-bit correct. For the time when someone will
10487 want to have a list with length > 2**32.
10489 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10490 Work around MIPSpro compiler bug.
10492 * process-unix.c (unix_kill_child_process): Add snarky comment.
10493 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10495 * config.h.in: Oops, _getpt ==> _getpty
10497 2000-10-26 Martin Buchholz <martin@xemacs.org>
10501 Use void*, not char*, as return type of alloca().
10503 * alloc.c (free_marker): Side effect inside assert expression!
10505 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10507 * mule-charset.c (Fset_charset_ccl_program): To check
10508 if the given ccl program is valid, use setup_ccl_program()
10509 instead of CHECK_VECTOR().
10510 (Fmake_charset): Likewise.
10512 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10514 * faces.c (get_extent_fragment_face_cache_index):
10515 Fix cachel.merged_faces memory leak.
10517 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10519 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10520 Reset MSB of octets obtained by DECODE_SJIS
10521 because of the incompatibility with Emacs.
10522 (ccl_driver)<CCL_ENCODE_SJIS>:
10523 Set MSB of octets before passing them to
10524 ENCODE_SJIS because of the incompatibility
10527 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10529 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10530 (DECLARE_LRECORD): Undo the last change.
10531 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10533 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10535 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10536 the implementation to lrecord_implementations_table.
10538 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10540 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10541 initial value of `lrecord_type_##c_name' and
10542 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10543 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10544 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10545 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10546 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10548 2000-10-17 Martin Buchholz <martin@xemacs.org>
10550 * miscplay.c (sndcnv8S_2mono):
10551 (sndcnv2monounsigned):
10552 (sndcnvULaw_2linear):
10554 Remove implementation-defined behavior.
10556 2000-10-12 Martin Buchholz <martin@xemacs.org>
10558 * input-method-xlib.c: Warning suppression.
10560 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10562 * mule-ccl.c: Sync up with Emacs 21.0.90.
10563 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10565 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10567 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10568 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10569 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10570 leading char belongs to official 2-dimensional charset.
10571 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10572 write the given character as is. Otherwise,
10573 if it is a multibyte char, convert it by
10574 non_ascii_set_charptr_emchar, then write it.
10575 (CCL_WRITE_STRING): Likewise.
10576 (ccl_get_compiled_code): New function.
10577 (setup_ccl_program): When ccl_prog is invalid,
10579 (Fregister_code_conversion_map): New function.
10580 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10582 * mule-ccl.h: Sync up with Emacs 21.0.90.
10583 (Fregister_ccl_program): export it.
10585 * redisplay-msw.c (separate_textual_runs):
10586 If ccl program is not valid, don't do ccl conversion.
10588 * redisplay-x.c (separate_textual_runs): Ditto.
10590 * file-coding.c (Fmake_coding_system):
10591 When type is ccl and value is vector, register it
10592 with a proper symbol. And checks whether the
10593 given ccl program is valid.
10594 (mule_decode): When calling ccl_driver, if src indicates
10595 NULL pointer, set an empty string instead.
10596 (mule_encode): Likewise.
10598 2000-10-11 Martin Buchholz <martin@xemacs.org>
10600 The following large batch of changes gets us back to a state of
10601 C++ compilability. Extbyte is now a char, which means that
10602 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10604 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10606 * sound.c (Fplay_sound): Type correctness.
10608 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10609 (x_get_window_property): Type correctness.
10610 (receive_incremental_selection): unsigned char ==> Extbyte
10611 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10612 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10613 (Fx_store_cutbuffer_internal): Type correctness.
10615 * process-unix.c (try_to_initialize_subtty): Type correctness.
10617 * objects-x.c (x_print_color_instance): Type correctness.
10618 (x_print_font_instance): Type correctness.
10619 (x_list_fonts): SExtbyte ==> Extbyte.
10620 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10621 (x_find_charset_font): SExtbyte ==> Extbyte.
10622 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10623 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10624 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10625 Use bufbyte_strcmp.
10627 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10628 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10629 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10630 (BYTE_C0_P): Use bit ops for char-signedness safety.
10631 (BYTE_C1_P): Use bit ops for char-signedness safety.
10632 (CHARSET_BY_LEADING_BYTE):
10633 (CHARSET_BY_ATTRIBUTES):
10634 Always use inline function.
10635 Use type_checking_assert.
10638 * mule-charset.c (non_ascii_charptr_copy_char):
10639 Modify to work with both ASCII and non-ASCII characters.
10640 Improve docs and variable names.
10641 Replace over-clever fall-through switch with a simple loop.
10642 (Lstream_get_emchar_1):
10643 Replace over-clever fall-through switch with a simple loop.
10645 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10646 Warning suppression.
10648 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10649 the return value of Lstream_getc, which could be EOF as well.
10651 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10653 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10654 APIs can be used on Extbytes without casts. Risky!
10655 (SExtbyte): Remove.
10656 (UExtbyte): Remove.
10658 * input-method-xlib.c (XIM_init_device):
10659 Use Xlib.h instead of IntrinsicP.h.
10660 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10661 which will break in X11R7.
10662 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10663 to call XRegisterIMInstantiateCallback with correct types.
10665 * gui-x.c (button_item_to_widget_value): Type correctness.
10667 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10669 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10670 (xbm_instantiate_1): Type correctness.
10671 (BUILD_GLYPH_INST): Type correctness.
10673 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10676 (decode_coding_sjis):
10677 (decode_coding_big5):
10678 (decode_coding_ucs4):
10679 (decode_coding_utf8):
10680 (decode_coding_iso2022):
10681 (decode_coding_no_conversion):
10682 Make all decoding functions take an Extbyte * arg.
10683 (encode_coding_sjis):
10684 (encode_coding_big5):
10685 (encode_coding_ucs4):
10686 (encode_coding_utf8):
10687 (encode_coding_iso2022):
10688 (encode_coding_no_conversion):
10689 Make all encoding functions take a Bufbyte * arg.
10690 Use size_t instead of unsigned int for memory sizes.
10691 Only cast to unsigned char whenever dereferencing Extbyte *.
10693 * doc.c (unparesseuxify_doc_string): Type correctness.
10695 * console-x.c (split_up_display_spec):
10696 Rewrite without using details of internal string representation.
10697 (x_semi_canonicalize_device_connection): Type correctness.
10700 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10701 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10702 (HAVE_XFREE386): Removed.
10704 * buffer.h (DEC_CHARPTR): `const' correctness.
10705 (bufbyte_strcmp): New.
10706 (bufbyte_memcmp): New.
10708 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10710 * buffer.h (XCHAR_OR_CHAR_INT):
10711 Always use inline function.
10712 Remove redundant type checking assert() - XINT will abort quite nicely.
10714 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10716 * search.c (Freplace_match): Set newtext to an empty string.
10718 2000-10-10 Martin Buchholz <martin@xemacs.org>
10720 * s/decosf1-3.h: Remove #include of stropts.h
10721 * s/ptx.h: Remove #include of stropts.h
10722 * s/usg5-4.h: Remove #include of stropts.h
10725 Use stropts.h, not sys/stropts.h.
10726 Use strtio.h, not sys/strtio.h.
10728 2000-10-04 Martin Buchholz <martin@xemacs.org>
10730 * XEmacs 21.2.36 is released.
10732 2000-09-21 Andy Piper <andy@xemacs.org>
10734 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10735 changes still involve copying the widget tree.
10736 (update_widget_face): make sure a change is register in the widget
10737 tree. Call update_tab_widget_face appropriately.
10738 (update_tab_widget_face): ditto.
10739 (x_tab_control_redisplay): make sure non-structural changes still
10740 involve copying the widget tree.
10742 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10744 * lread.c (locate_file): Check the path element is non-nil.
10746 2000-10-02 Martin Buchholz <martin@xemacs.org>
10748 * lisp.h: Warning suppression for SCO compilers.
10750 * redisplay-tty.c (reset_tty_modes): Fix crash.
10751 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10753 2000-09-27 Martin Buchholz <martin@xemacs.org>
10755 Big signal/process handling overhaul. Bugs fixed:
10756 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10757 M-x comint-kill-subjob should work for both values nil and t of
10758 process-connection-type. It was broken on most platforms.
10759 Testing on Irix and Cygwin still needed. Other plaforms tested.
10760 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10761 * process-unix.c: Signal/Process handling overhaul.
10762 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10763 (allocate_pty): Use all available modern methods of allocating
10764 ptys, falling back to old style BSD allocation as a last resort.
10765 Use allegedly more secure Unix98 pty allocation by default.
10766 (allocate_pty_the_old_fashioned_way): New. the last resort.
10767 (unix_create_process): Push ptem, ldterm, ttcompat where
10768 available. Autoconfiscate.
10769 (try_to_initialize_subtty): New.
10770 (unix_kill_child_process): Proper signal handling for ptys on most
10771 platforms, using special knowledge of AIX, BSD, etc...
10772 (unix_create_process): Always disconnect_controlling_terminal() for
10773 subprocesses, whether using ptys or not.
10774 * process.h: Remove old getpt-dependent PTY code.
10775 * process.c (Fprocess_send_signal): New, obvious generic function.
10776 (decode_signal): New.
10777 (Finterrupt_process):
10781 (Fcontinue_process):
10782 (Fsignal_process): Use decode_signal.
10783 (process_send_signal):
10784 Many docstring corrections.
10785 Allow any signal to be sent to a process object.
10786 * config.h.in: Add symbols for big signal/process overhaul.
10787 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10788 * sysproc.h: Include process-related headers, where available:
10789 sys/stropts.h sys/strtio.h pty.h libutil.h
10797 Remove old S&M pty stuff.
10798 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10799 * systty.h: Simplify cpp hackery, improve comments.
10800 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10802 * editfns.c (Fformat_time_string):
10803 Be a little more paranoid with the return value of ctime.
10805 * fileio.c (check_executable):
10807 Use symbolic constants X_OK, W_OK.
10809 * console-x.c (split_up_display_spec): Fix a warning.
10811 2000-10-02 Martin Buchholz <martin@xemacs.org>
10813 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10814 * ntproc.c (sys_spawnve): make_string ==> build_string
10815 Small clarity improvements.
10817 2000-09-30 Martin Buchholz <martin@xemacs.org>
10819 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10821 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10823 * config.h.in (HAVE_STRCASECMP): Remove.
10825 2000-09-29 Martin Buchholz <martin@xemacs.org>
10827 * redisplay-output.c (redisplay_output_pixmap):
10828 Cleaner and possibly more 64-bit correct code.
10830 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10832 * dumper.c (pdump_load_finish): move restoration of
10833 `noninteractive1' to emacs.c (main_1).
10834 * emacs.c (main_1): protect LISP-visible command-line flags
10837 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10839 * Makefile.in.in (versionclean): Use EXE_TARGET and
10840 DUMP_TARGET instead of literal program names.
10842 2000-09-20 Martin Buchholz <martin@xemacs.org>
10844 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10846 2000-09-19 Martin Buchholz <martin@xemacs.org>
10848 * *: Spelling mega-patch
10850 2000-09-19 Martin Buchholz <martin@xemacs.org>
10852 * fns.c (bad_bad_turtle):
10853 Delete "Eek!" comment, since we fixed the bug to which it refers.
10855 2000-09-16 Martin Buchholz <martin@xemacs.org>
10857 * alloca.c: Replace REGISTER with register.
10859 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10861 * file-coding.c (ucs_to_char): Use countof.
10863 2000-09-16 Martin Buchholz <martin@xemacs.org>
10865 * file-coding.c: (ucs_to_char):
10866 (complex_vars_of_file_coding):
10867 Use countof instead of sizeof.
10868 Use CHECK_NATNUM instead of CHECK_INT.
10870 * sysdep.c (strcasecmp): Remove.
10871 * device-x.c (ascii_strcasecmp): New.
10872 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10873 Avoid using non-standard non-portable strcasecmp.
10875 2000-09-16 Martin Buchholz <martin@xemacs.org>
10877 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10878 * font-lock.c: remove reference to emacsfns.h.
10879 * search.c: small doc improvement.
10880 * event-Xt.c: correct file names in comments.
10881 * console-x.h Correct file names in comments.
10882 * frame.c: Correct file names in comments.
10883 * event-stream.c: remove Energize from comments.
10885 2000-09-15 Martin Buchholz <martin@xemacs.org>
10887 * symeval.h (DEFERROR_STANDARD):
10890 (DEFSYMBOL_NO_DUMP):
10891 (DEFSYMBOL_MULTIWORD_PREDICATE):
10892 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10894 The construct &##name is not sensible C.
10895 Fixes compilation errors with Unixware native compiler.
10897 2000-09-14 Martin Buchholz <martin@xemacs.org>
10899 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10900 (next_frame_internal): Removed. We now just have next_frame.
10902 Write a simpler and cleaner one-pass algorithm.
10903 Remove called_from_delete_device arg and #ifdefed-out code.
10905 Renamed from prev_frame. Update callers.
10906 Cleaned up to have an analogous implementation to next_frame.
10907 (other_visible_frames_internal): Remove the
10908 called_from_delete_device bogus arg, and hence, remove this
10909 function. Just use other_visible_frames().
10911 * window.c (Fnext_window):
10912 Prettify docstring.
10913 Since next_frame() is guaranteed to return a frame, remove check
10914 for nil inserted in previous patch.
10915 (Fprevious_window):
10916 Prettify docstring.
10917 Make code look more like Fnext_window.
10919 Respect the `console' arg when iterating through windows.
10920 Fixes bug: (get-buffer-window buffer t device) not respecting
10922 This function needs more work, as others have pointed out.
10924 * frame.h: Rename prev_frame to previous_frame.
10925 device_matches_console_spec no longer takes a `frame' arg.
10930 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10931 From "Golubev I. N." <gin@mo.msk.ru>.
10933 * make-src-depend: Fix typo.
10935 2000-09-13 Martin Buchholz <martin@xemacs.org>
10937 * window.c (Fnext_window):
10938 next_frame() might return nil, not a frame.
10940 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10942 * frame.c (next_frame_internal):
10943 We've passed a frame if we've passed its device.
10945 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10946 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10948 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10950 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10951 Allow option to suppress accelerators in menu/dialog items.
10952 (populate_or_checksum_helper): Pass dialog title through above.
10954 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10956 * event-msw.c (mswindows_key_to_emacs_keysym):
10957 Add "pause" key, fix "menu" key.
10959 2000-09-09 Martin Buchholz <martin@xemacs.org>
10961 * eval.c (reinit_vars_of_eval):
10962 Increase max_lisp_eval_depth to 1000,
10963 required for thai-xtis.el to byte-compile under some circumstances.
10965 2000-09-04 Martin Buchholz <martin@xemacs.org>
10967 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10968 From Kenichi Handa.
10970 2000-09-01 Martin Buchholz <martin@xemacs.org>
10972 * make-src-depend: Make the generated Makefiles smaller.
10974 * s/hpux.h (SETUP_SLAVE_PTY):
10975 Provide a %d in the format string for the errno argument.
10977 * editfns.c (Ftemp_directory):
10979 Avoid buffer overrun on very long file name.
10981 * input-method-xlib.c (XIM_init_device):
10982 6th parameter of XRegisterIMInstantiateCallback has different
10983 pointer types on different OSes, so simply cast to (void *).
10985 * unexhp9k800.c: Warning fixes. Fiddly changes.
10987 * sysdll.c (dll_open):
10988 shl_load will hang hard if passed a NULL filename.
10989 Simply return NULL for compatibility with dlopen.
10990 * sysdll.c: Conform to XEmacs coding standards.
10992 * sysdep.c (get_pty_max_bytes):
10993 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10995 2000-08-31 Martin Buchholz <martin@xemacs.org>
10997 * tooltalk.c: Add #include <syssignal.h>
10999 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11001 * s/hpux.h: Don't use undefined function sigunblock().
11003 2000-08-31 Martin Buchholz <martin@xemacs.org>
11005 * config.h.in: Add HAVE_BALLOON_HELP.
11006 * emacs.c: Use HAVE_BALLOON_HELP.
11007 * Makefile.in.in (x_objs):
11008 Make Balloon Help conditional on finding shape.h.
11010 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11012 * syntax.c (regex_emacs_buffer_p): New variable.
11013 * syntax.h (regex_emacs_buffer_p): extern.
11014 * search.c (looking_at_1):
11016 (fast_string_match):
11017 (search_buffer): Set regex_emacs_buffer_p.
11018 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11019 when before_dot, at_dot, after_dot.
11021 2000-08-23 Andy Piper <andy@xemacs.org>
11023 * gui-x.c (popup_selection_callback): Only set action_occurred
11024 when we really have an image instance.
11025 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11027 2000-08-23 Andy Piper <andy@xemacs.org>
11029 * gui-msw.c (mswindows_handle_gui_wm_command): set
11031 * gui-x.c (popup_selection_callback): ditto.
11033 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11034 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11035 (struct Lisp_Image_Instance): add action_occurred flag.
11037 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11038 (image_instance_changed): ditto.
11039 (reset_frame_subwindow_instance_cache): only unmap windows - do
11040 not remove them from the cache also.
11042 * glyphs-widget.c (tab_control_update): better debug.
11043 (progress_gauge_update): ditto.
11044 (layout_update): ditto.
11045 (layout_instantiate): ditto.
11046 (tab_control_order_only_changed): cope with null pending items.
11048 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11049 debug. Force selection of an item when an action occurred. Cope
11050 with null pending_items.
11051 (mswindows_progress_gauge_redisplay): better debug.
11052 * glyphs-x.c (x_tab_control_redisplay): ditto.
11054 * redisplay.c (redisplay_frame): reset the frame cache if the
11057 * window.c (Fset_window_configuration): potentially re-enable
11059 (window_unmap_subwindows): need to finalize instances here since
11060 it is only used in mark_window_as_deleted.
11062 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11064 * nas.c (SndOpenDataForReading):
11065 nas.c (WaveOpenDataForReading):
11066 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11067 Somehow escaped from the 2000-08-14 patch.
11069 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11071 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11072 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11074 2000-08-21 Andy Piper <andy@xemacs.org>
11076 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11077 window if it is not already displayed.
11079 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11080 it is not already displayed.
11082 * window.c (Fset_window_configuration): don't reset the frame
11085 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11086 instances from the frame cache if we are actually finalizing them.
11087 (reset_frame_subwindow_instance_cache): reset frame cache only
11088 after unmapping everything.
11089 (map_subwindow): set displayed flag after mapping.
11091 2000-08-21 Martin Buchholz <martin@xemacs.org>
11093 * data.c (indirect_function):
11094 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11096 * eval.c (function_argcount):
11097 Use original function when signaling errors.
11099 2000-08-18 Andy Piper <andy@xemacs.org>
11101 * frame.c (delete_frame_internal): use new
11102 free_frame_subwindow_instances name.
11104 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11105 (add_tab_item): make return type correct.
11106 (mswindows_tab_control_instantiate): assert index of tab.
11107 (mswindows_tab_control_redisplay): Re-code to use
11108 gui_item_equal_sans_selected and gui_item_list_find_selected.
11110 * glyphs-widget.c (tab_control_update): Correct comment.
11112 * window.c (window_unmap_subwindows): use new
11113 unmap_subwindow_instance_cache_mapper.
11114 (window_unmap_subwindows_cache_mapper): deleted.
11115 (Fset_window_configuration): comparisons should now be with
11116 EQ. Preserve the subwindow instance cache across configuration
11118 (allocate_window): ditto.
11119 (make_dummy_parent): ditto.
11121 * glyphs.c (free_frame_subwindow_instances): rename from
11122 free_frame_subwindow_instance_cache. finalize all instances rather
11123 than just those in the display cache.
11124 (finalize_all_subwindow_instances): walk windows unmapping and
11125 finalizing subwindows.
11126 (unmap_subwindow_instance_cache_mapper): moved from
11127 window.c. Allow finalization as well as unmapping.
11129 * gui.c (gui_item_list_find_selected): new function.
11131 * gui.h (gui_item_list_find_selected): declare.
11133 * glyphs-x.c (x_tab_control_redisplay): pick tab
11134 explicitly. Re-code to use gui_item_equal_sans_selected and
11135 gui_item_list_find_selected.
11137 * glyphs-x.h: add lwlib-utils.h
11139 * buffer.c (Frecord_buffer): undo previous change.
11141 2000-08-09 Vin Shelton <acs@xemacs.org>
11143 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11144 possible. Create temporary files more securely. The patch was
11145 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11146 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11147 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11150 2000-08-07 Ben Wing <ben@xemacs.org>
11152 * getloadavg.c: remove duplicate (and windows-breaking)
11153 includes of fcntl.h and sys/file.h.
11155 * nt.c: remove duplicate getloadavg() definition.
11157 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11160 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11162 * eval.c (function_argcount): If function needs to be autoloaded
11163 actually use the loaded definition.
11166 2000-08-05 Ben Wing <ben@xemacs.org>
11168 * getloadavg.c: add prototype for getloadavg(). remove
11169 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11170 of the code). remove duplicate header includes.
11172 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11174 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11175 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11176 useful load average.
11178 * alloc.c (reinit_alloc_once_early): removed references to
11179 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11180 the lisp vars are the only things referencing the malloc_sbrk_*
11181 vars, and they were already if 0'd out. these vars only exist
11182 in the older malloc.c, which is basically unused, and they're
11183 only for informational purposes.
11185 * m\*.h: removed useless VIRT_ADDR_VARIES.
11187 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11189 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11191 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11192 color if the image is a mono pixmap.
11194 2000-07-30 Ben Wing <ben@xemacs.org>
11196 * Makefile.in.in (release):
11199 * buffer.c (directory_is_current_directory):
11200 * dired-msw.c (mswindows_get_files):
11202 * dired.c (Fdirectory_files):
11203 * dired.c (file_name_completion_stat):
11204 * dired.c (Ffile_attributes):
11205 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11206 preprocessor tricks, to avoid problems on some machines
11209 * callproc.c (egetenv): GC docs.
11212 * console-msw.h (struct mswindows_dialog_id):
11213 * lrecord.h (lrecord_type):
11214 New object for use with MSW dialogs.
11216 * console.h (struct console_methods):
11217 New enable/disable frame methods, for proper modal dialogs.
11219 * device-msw.c (msprinter_default_printer): Fix to follow
11220 proper Mule conventions.
11223 * device-msw.c (signal_open_printer_error):
11224 * device-msw.c (msprinter_init_device):
11225 * device-msw.c (ensure_not_printing):
11226 * device-msw.c (plist_get_margin):
11227 * device-msw.c (Fmsprinter_select_settings):
11228 * device-msw.c (finalize_devmode):
11229 * device-msw.c (Fmsprinter_settings_despecialize):
11230 * device-msw.c (signal_enum_priner_error):
11231 * extents.c (decode_extent):
11232 * extents.c (decode_map_extents_flags):
11233 * extents.c (decode_extent_at_flag):
11234 * extents.c (Fextent_at):
11235 * extents.c (Fextents_at):
11236 * extents.c (symbol_to_glyph_layout):
11237 [[[[2]]]] Use structured errors.
11240 * dialog-msw.c (mswindows_is_dialog_msg):
11241 * dialog-msw.c (mark_mswindows_dialog_id):
11242 * dialog-msw.c (dialog_proc):
11243 * dialog-msw.c (handle_question_dialog_box):
11244 * dialog-msw.c (syms_of_dialog_mswindows):
11245 Define new object to clean up marking; use it as a dialog identifier.
11246 Call new delete-dialog-box-hook.
11248 * dialog-x.c (dbox_selection_callback):
11249 * dialog-x.c (dbox_descriptor_to_widget_value):
11250 * dialog-x.c (x_make_dialog_box_internal):
11251 Call new delete-dialog-box-hook.
11255 * dialog.c (syms_of_dialog):
11256 * dialog.c (vars_of_dialog):
11257 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11260 * eval.c (signal_call_debugger):
11261 when noninteractive, output stack traces on the console instead
11262 of in a (never-seen) buffer.
11264 * eval.c (signal_type_error):
11265 * eval.c (invalid_argument_2):
11267 new funs for use w/structured errors.
11270 * event-Xt.c (x_to_emacs_keysym):
11271 * event-Xt.c (describe_event):
11272 * event-Xt.c (emacs_Xt_event_handler):
11273 * event-Xt.c (vars_of_event_Xt):
11275 * event-msw.c (mswindows_wnd_proc):
11276 * event-msw.c (vars_of_event_mswindows):
11277 rename {x,mswindows}-debug-events to debug-{}-events for
11278 consistency with other debug-foo variables.
11281 document next-event more clearly.
11283 * fileio.c (Ffile_name_directory):
11284 * fileio.c (Ffile_name_nondirectory):
11285 * fileio.c (Funhandled_file_name_directory):
11286 * fileio.c (file_name_as_directory):
11287 * fileio.c (Ffile_name_as_directory):
11288 * fileio.c (directory_file_name):
11289 * fileio.c (Fdirectory_file_name):
11290 * fileio.c (Fmake_temp_name):
11291 * fileio.c (Ffile_truename):
11292 * fileio.c (Fsubstitute_in_file_name):
11293 * fileio.c (expand_and_dir_to_file):
11294 * fileio.c (barf_or_query_if_file_exists):
11295 * fileio.c (check_executable):
11296 * fileio.c (Ffile_exists_p):
11297 * fileio.c (Ffile_writable_p):
11298 * fileio.c (Ffile_directory_p):
11299 * fileio.c (Ffile_regular_p):
11300 * fileio.c (Ffile_modes):
11301 * fileio.c (Ffile_newer_than_file_p):
11302 * fileio.c (Fverify_visited_file_modtime):
11303 * fileio.c (Fset_visited_file_modtime):
11304 * fileio.c (auto_save_1):
11309 * frame-msw.c (mswindows_init_frame_1):
11310 * frame-msw.c (mswindows_enable_frame):
11311 * frame-msw.c (error_frame_unsizable):
11312 * frame-msw.c (msprinter_init_frame_1):
11313 * frame-msw.c (msprinter_init_frame_3):
11314 * frame-msw.c (console_type_create_frame_mswindows):
11316 implement new enable/disable frame methods.
11319 * frame-x.c (x_enable_frame):
11320 * frame-x.c (console_type_create_frame_x):
11321 implement new enable/disable frame methods.
11324 * frame.c (Fdisable_frame):
11325 * frame.c (syms_of_frame):
11326 * frame.h (struct frame):
11327 implement new enable/disable frame methods/functions.
11332 * glyphs-msw.c (mswindows_widget_instantiate):
11333 comment that initial-focus should be implemented.
11336 * glyphs-widget.c (check_valid_instantiator):
11337 * glyphs-widget.c (check_valid_orientation):
11338 * glyphs-widget.c (check_valid_tab_orientation):
11339 * glyphs-widget.c (check_valid_justification):
11340 * glyphs-widget.c (check_valid_border):
11341 * glyphs-widget.c (check_valid_callback):
11342 * glyphs-widget.c (check_valid_int_or_function):
11343 * glyphs-widget.c (check_valid_string_or_vector):
11344 * glyphs-widget.c (check_valid_item_list_1):
11345 * glyphs-widget.c (widget_validate):
11346 * glyphs-widget.c (combo_box_validate):
11347 * glyphs-widget.c (widget_instantiate):
11348 * glyphs-widget.c (syms_of_glyphs_widget):
11349 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11350 * glyphs-widget.c (image_instantiator_combo_box):
11351 * glyphs-widget.c (image_instantiator_scrollbar):
11352 * glyphs-widget.c (image_instantiator_tab_control):
11353 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11355 support (unimplemented) keyword initial-focus.
11356 reindent long macros.
11358 * glyphs-x.c (x_redisplay_widget):
11359 * glyphs-x.c (x_button_instantiate):
11360 * glyphs-x.c (x_button_redisplay):
11361 * glyphs-x.c (x_progress_gauge_instantiate):
11362 * glyphs-x.c (x_edit_field_instantiate):
11363 * glyphs-x.c (x_combo_box_instantiate):
11364 * glyphs-x.c (x_tab_control_instantiate):
11365 * glyphs-x.c (x_label_instantiate):
11367 * gui-x.c (button_item_to_widget_value):
11368 * gui-x.c (gui_items_to_widget_values_1):
11369 * gui-x.c (gui_item_children_to_widget_values):
11370 * gui-x.c (gui_items_to_widget_values):
11372 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11373 add new flag to gui-parsing routines to indicate whether
11374 accelerator specs should be supported.
11376 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11378 * glyphs.h (struct Lisp_Image_Instance):
11379 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11380 add initial-focus flag.
11383 * gui.c (syms_of_gui):
11384 * gui.c (vars_of_gui):
11385 clean up menu-no-selection-hook.
11388 support delete-dialog-box-hook.
11390 * lread.c (Fload_internal):
11391 * lread.c (locate_file_in_directory_mapper):
11395 * lrecord.h (struct toolbar_button):
11396 * lrecord.h (syms_of_toolbar):
11397 document how to create a new object.
11399 * menubar-msw.c (mswindows_char_is_accelerator):
11400 may be called on frames w/o menus.
11402 * menubar.c (vars_of_menubar):
11403 clean up :filter docs.
11410 * process-nt.c (validate_signal_number):
11411 * process-nt.c (signal_cannot_launch):
11412 * process-nt.c (nt_create_process):
11413 * process-nt.c (nt_send_process):
11414 * process-nt.c (nt_kill_child_process):
11415 * process-nt.c (nt_open_network_stream):
11416 * process-nt.c (syms_of_process_nt):
11418 delete quote-handling. call new lisp code that does it better.
11420 * process-unix.c (connect_to_file_descriptor):
11421 * process-unix.c (allocate_pty):
11422 * process-unix.c (unix_send_process):
11423 * process-unix.c (unix_kill_child_process):
11424 * process-unix.c (unix_open_network_stream):
11425 * process-unix.c (unix_open_multicast_group):
11429 * process.c (Fstart_process_internal):
11430 (2). need to canonicalize process path even if absolute.
11432 * select-msw.c (symbol_to_ms_cf):
11433 * select-msw.c (ms_cf_to_symbol):
11434 * select-msw.c (cf_is_autofreed):
11435 * select-msw.c (mswindows_destroy_selection):
11437 * select.c (syms_of_select):
11439 support dibv5, fix bugs. (from Mike Alexander)
11441 * select.c (Fget_selection_internal):
11442 * select.c (select_convert_out):
11445 * sysdep.c (xemacs_stat):
11448 * sysdep.c (mkdir):
11449 * sysdep.c (rmdir):
11450 but keep original stat() here because we provide encapsulation
11454 * sysfile.h (fstat):
11455 remove stat garbage.
11458 fix X/MSW conflict.
11459 don't include tchar.h. it's inappropriate because it makes
11460 compile-time distinctions when we want runtime distinctions.
11461 (we provide our own tchar replacements)
11464 use default object printer for toolbar-button.
11467 make sure we don't encapsulate.
11469 * window.c (vars_of_window):
11470 emphasize that temp-buffer-show-hook is obsolete.
11472 2000-08-05 Martin Buchholz <martin@xemacs.org>
11474 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11475 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11477 * events.c (Fevent_timestamp_lessp):
11478 Not 64-bit clean. Use EMACS_INT, not int.
11480 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11482 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11483 unsigned int and changed the last enum to
11484 lrecord_type_last_built_in_type.
11485 (lrecord_implementations_table): changed prototype to know how
11486 long the array is supposed to be.
11487 (lrecord_type_count): new unsigned int to keep track of the
11488 current number of lisp lrecord types.
11489 (DEFINE_EXTERNAL_LRECORD):
11490 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11491 dynamic-modules to declare new lisp types. They are the same
11492 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11493 int for each new type, and increment lrecord_type_count by 1.
11495 * alloc.c (lrecord_implementations_table): Changed to reference
11496 lrecord_type_last_built_in_type for the size of the array.
11497 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11499 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11501 * glyphs.h (check_valid_item_list): Renamed from
11502 check_valid_item_list_1.
11504 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11506 * select.c (Qselect_coerce): New.
11507 * select.c (Vselection_coercion_alist): New.
11508 * select.c (syms_of_select): Declare.
11509 * select.c (get-selection-internal): Use it.
11510 Use the new select-coerce functionality.
11512 * select.c (select_coerce): New.
11513 * select.h (select_coerce): Declare.
11514 New function to coerce one type of data into another.
11516 2000-08-03 Martin Buchholz <martin@xemacs.org>
11518 * callproc.c (Fcall_process_internal):
11519 (Fcall_process_internal):
11520 * process-unix.c (unix_create_process):
11521 Save and restore the value of errno, so that error messages are accurate.
11523 2000-08-01 Martin Buchholz <martin@xemacs.org>
11525 * elhash.c (print_hash_table):
11526 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11527 Prettify docstrings and indentation.
11529 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11531 * window.c (Fwindow_pixel_edges): Subtract frame border and
11534 2000-07-31 Andy Piper <andy@xemacs.org>
11536 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11537 will acknowledge the change.
11539 * glyphs.h: declare tab_control_order_only_changed.
11541 * glyphs-x.c (x_tab_control_redisplay): use
11542 tab_control_order_only_changed.
11544 * glyphs-widget.c (tab_control_order_only_changed): new function.
11546 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11547 tab_control_order_only_changed.
11549 * gui.c (gui_item_equal_sans_selected): new function.
11550 (gui_item_equal): use it.
11552 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11553 :properties in favor of :items..
11555 * glyphs-widget.c (check_valid_item_list): rename from
11556 check_valid_item_list_1.
11557 (check_valid_item_list_1): renamed.
11558 (combo_box_validate): deprecate :properties in favor of :items.
11559 (widget_instantiate): ditto.
11560 (tab_control_update): ditto.
11561 (image_instantiator_combo_box): ditto.
11562 (image_instantiator_tree_view): ditto.
11563 (image_instantiator_tab_control): ditto.
11564 (layout_post_instantiate): remove dead code.
11566 * print.c (debug_print_no_newline): only write to debugger if in
11569 * elhash.c (Fmake_hash_table): update doc string.
11571 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11572 messages whilst in GC. This at least stops XEmacs crashing but has
11573 the potential for wierd behaviour.
11575 2000-07-31 Martin Buchholz <martin@xemacs.org>
11578 Make existence of s&m files optional.
11580 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11581 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11582 * s/gnu.h: Remove HAVE_GETLOADAVG.
11583 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11584 * s/sol2.h: Remove HAVE_GETLOADAVG.
11585 * lisp.h: Remove getloadavg() declaration.
11587 Include <sys/loadavg.h> if available.
11588 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11589 * config.h.in: Group together getloadavg()-related macros.
11590 Use only configure-time tests to detect getloadavg().
11592 2000-07-30 Martin Buchholz <martin@xemacs.org>
11594 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11596 2000-07-25 Andy Piper <andy@xemacs.org>
11598 * syswindows.h: add tchar.h for native builds.
11600 * frame.c (syms_of_frame): remove set-glyph-image.
11602 * general-slots.h: add Qset_glyph_image.
11604 * glyphs-widget.c (layout_update): add domain arg to
11606 (syms_of_glyphs_widget): remove set-glyph-image.
11608 2000-07-23 Ben Wing <ben@xemacs.org>
11610 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11613 2000-07-22 Andy Piper <andy@xemacs.org>
11615 * symsinit.h: add syms_of_win32().
11617 * gui-msw.c (syms_of_gui_mswindows): remove
11618 Fmswindows_shell_execute.
11619 (Fmswindows_shell_execute): moved to win32.c.
11621 * emacs.c (main_1): add syms_of_win32 ().
11623 * win32.c (init_potentially_nonexistent_functions): rewrite in
11624 compiler-friendly terms.
11625 (Fmswindows_shell_execute): move here from gui-msw.c.
11626 (syms_of_win32): new.
11628 * device-msw.c (Fmswindows_printer_list): clean up args to
11630 Don't include tchar under cygwin or mingw.
11631 (msprinter_default_printer): make cygwin-friendly.
11633 2000-07-21 Andy Piper <andy@xemacs.org>
11635 * glyphs-widget.c (image_instantiator_tree_view): use tab
11636 control's update function.
11637 (layout_property): new function. Retrieve items.
11639 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11640 function. Re-populate the tree view from the pending items.
11642 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11643 is designated the parent if the domain is an image instance. This
11644 is needed so that dirtiness can be cascade up the hierarchy and
11645 thus for layout children to be redisplayed correctly.
11646 (allocate_image_instance): rename glyph -> parent.
11648 * redisplay.h: change redisplay_output_layout signature.
11650 * redisplay-msw.c (mswindows_output_display_block): use domain
11653 * redisplay-x.c (x_output_display_block): use domain arg.
11655 2000-07-10 Andy Piper <andy@xemacs.org>
11657 * window.c (Fset_window_configuration): add comment.
11659 * redisplay-output.c (compare_runes):
11660 (redisplay_output_subwindow): redisplay rather than update subwindow.
11661 (redisplay_output_layout): ditto.
11663 * redisplay-msw.c (mswindows_frame_output_end):
11664 (mswindows_frame_output_end): make defer window pos optional.
11666 * lisp.h: add Flast.
11668 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11669 normalize method. Change update method to be for changed
11670 instantiators. Add redisplay method. Change signature of layout
11672 (struct Lisp_Image_Instance): add instantiator.
11673 (IMAGE_INSTANCE_INSTANTIATOR): new.
11674 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11675 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11676 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11679 (find_instantiator_differences): new function.
11680 (Fset_instantiator_property): new convenience function.
11681 (check_image_instance_structure): strictly check for vector
11683 (normalize_image_instantiator): make non-static.
11684 (instantiate_image_instantiator): pass on dest_mask and use new
11685 signatures for image_instance_layout and friends.
11686 (mark_image_instance): mark the instantiator. Mark the subwindow
11687 face not the widget face.
11688 (image_instance_equal): add instantiator.
11689 (image_instance_hash): ditto.
11690 (allocate_image_instance): ditto.
11691 (Fset_image_instance_property): removed.
11692 (Fimage_instance_file_name): ditto.
11693 (Fcolorize_image_instance): ditto.
11694 (image_instance_layout): add offsets to be set.
11695 (update_image_instance): new function. update an image instance
11696 from its changed instantiator.
11697 (inherit_normalize): add dest_mask.
11698 (xbm_normalize): ditto.
11699 (xface_normalize): ditto.
11700 (xpm_normalize): ditto.
11701 (text_update): set_property -> update.
11702 (image_instantiate): use the glyph identity as a hash key, not the
11704 (glyph_width): use new image_instance_layout signature.
11705 (glyph_ascent): ditto.
11706 (glyph_descent): ditto.
11707 (glyph_height): ditto.
11708 (glyph_query_geometry): ressurrect.
11709 (glyph_layout): ditto.
11710 (redisplay_subwindow): update -> redisplay.
11711 (syms_of_glyphs): add Fset_instantiator_property.
11712 (image_instantiator_format_create): set_property -> update.
11715 (autodetect_normalize): add dest_maks to signature.
11716 (x_redisplay_subwindow): update -> redisplay.
11717 (x_redisplay_widget): ditto.
11718 (x_button_redisplay): ditto.
11719 (x_progress_gauge_redisplay): ditto.
11720 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11722 (console_type_create_glyphs_x): update -> redisplay.
11723 (image_instantiator_format_create_glyphs_x): ditto.
11726 (check_valid_instantiator): disallow glyphs in the instantiator,
11727 they must now be vectors.
11728 (check_valid_instantiator_list): ditto.
11729 (glyph_instantiator_to_glyph): use internal symbol rather than
11731 (widget_update): renamed from widget_set_property. Call cascaded
11733 (redisplay_widget): renamed from update_widget.
11734 (widget_layout): image_instance_layout now takes position as well
11736 (widget_normalize): ditto.
11737 (widget_instantiate): ditto.
11738 (tab_control_query_geometry) ditto.:
11739 (tab_control_update): renamed from tab_control_set_property.
11740 (progress_gauge_update): set_property -> update.
11741 (layout_normalize): rewrite so that child instantiators are
11743 (layout_update): new function. Create glyphs from the normalized
11744 children and cope with any other layout keywords. We do not
11745 instantiate children here that will be take care of by
11746 redisplay_output_layout.
11747 (layout_instantiate): call layout_update and not much else.
11748 (layout_post_instantiate): not sure whether this is needed
11750 (layout_query_geometry): query glyph geometry rather than
11751 image_instance geometry.
11752 (layout_layout): set offsets from pass in parameters. Use glyph
11753 geometry and layout functions rather than image instance ones.
11754 (native_layout_layout): ditto.
11755 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11756 (image_instantiator_widget): set_property -> update.
11757 (image_instantiator_buttons): ditto.
11758 (image_instantiator_progress_guage): ditto.
11759 (image_instantiator_tab_control): ditto.
11760 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11761 (image_instantiator_layout): add update method.
11763 * glyphs-msw.c (bmp_normalize):
11764 (mswindows_resource_normalize): add dest_mask so that it can be
11765 proprogated by layout_normalize.
11766 (begin_defer_window_pos): make optional because it may not be the
11767 right thing to do and it introduces differences with X.
11768 (mswindows_unmap_subwindow): ditto.
11769 (mswindows_map_subwindow): ditto.
11770 (mswindows_redisplay_subwindow): renamed from
11771 mswindows_update_subwindow.
11772 (mswindows_redisplay_widget): ditto.
11773 (mswindows_button_redisplay): renamed from
11774 mswindows_button_update. Update is now what the instantiation
11775 function does for a changed instantiator.
11776 (mswindows_progress_gauge_instantiate): set the progress value
11777 here if appropriate.
11778 (mswindows_tab_control_redisplay): cope with re-ordering of the
11779 members of the tab widget by simply selecting the new top
11780 widget. This makes things appear ok if you click on a tab.
11781 (mswindows_combo_box_instantiate): image_instance_layout now takes
11782 position as well as size.
11783 (mswindows_progress_gauge_redisplay): renamed from
11784 mswindows_progress_gauge_update.
11785 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11786 (image_instantiator_format_create_glyphs_mswindows): ditto.
11788 * glyphs-eimage.c (jpeg_normalize):
11791 (tiff_normalize): add dest_mask so that it can be proprogated by
11795 (print_hash_table):
11796 (hash_table_weakness_validate):
11797 (decode_hash_table_weakness):
11798 (Fhash_table_weakness):
11799 (Fhash_table_type):
11800 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11802 * console.h (struct console_methods): move update_* to
11805 2000-07-20 Ben Wing <ben@xemacs.org>
11807 * *.[ch] (XSETOBJ): remove unused middle argument.
11808 lisp-disunion.h: correct wrap_object() to one argument.
11810 2000-07-15 Ben Wing <ben@xemacs.org>
11813 * s/cygwin32.h (CYGWIN_CONV_PATH):
11814 Add missing logb prototype for v1.1.
11815 Use post-b20 names and alias to pre-b20 names when pre-b20.
11817 * s/windowsnt.h: [5].
11819 2000-07-15 Ben Wing <ben@xemacs.org>
11821 * Makefile.in.in (x_objs):
11822 * Makefile.in.in (sheap_objs):
11823 * Makefile.in.in (objs):
11824 added win32.o, cosmetic cleanups.
11826 * alloc.c (Fmake_byte_code):
11827 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11828 etc. macros which declare their own args now.
11830 * alloc.c (syms_of_alloc):
11831 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11834 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11836 * buffer.c (Fget_file_buffer):
11837 Fixed GCPRO problem.
11839 * buffer.c (get_truename_buffer):
11840 Fixed comment about GC checking.
11842 * buffer.c (syms_of_buffer):
11843 Undeclared those dedicated frame funs.
11847 Define convenience macros for internal/external conversions.
11848 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11849 and Qenvironment_variable_encoding for cleaner code.
11852 Remove dedicated-frame; in lisp.
11854 * bytecode.c (funcall_compiled_function):
11857 * bytecode.c (syms_of_bytecode):
11861 * console-msw.c (mswindows_show_console): Rewrote.
11863 * console-msw.c (Fmswindows_debugging_output): New.
11864 Sends to OutputDebugString (special MSWin debugger interface).
11866 * console-msw.c (Fmswindows_message_box):
11867 Fixed stupid bugs so it works when called from kill-emacs.
11869 * console-msw.c (syms_of_console_mswindows):
11870 Declare Fmswindows_debugging_output.
11873 New MSWin prototypes.
11875 * console-msw.h (struct mswindows_frame):
11876 New entry last-click-mods for improved button-modifier support.
11878 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11879 New struct entry `popup' with corresponding accessor.
11882 * console-x.c (split_up_display_spec):
11883 * console-x.c (get_display_arg_connection):
11884 * console-x.c (x_semi_canonicalize_console_connection):
11885 * console-x.c (x_canonicalize_device_connection):
11886 [[[6]]]: Change char to more specific type.
11887 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11889 * console-x.c (x_semi_canonicalize_console_connection):
11890 * console-x.c (x_canonicalize_device_connection):
11891 [[[9]]]: Fix up error signalling to use new structured error system.
11894 [[[4]]]: Define codesys aliases:
11895 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11896 Qx_color_name_encoding, Qx_display_name_encoding.
11898 * console.h (struct console_methods):
11899 New method make_dialog_box_internal supersedes older
11900 popup_dialog_box method.
11903 Define many new errors, part of new structured errors.
11905 * data.c (init_errors_once_early):
11906 * data.c (syms_of_data):
11909 * device-msw.c (mswindows_init_device):
11910 [[[5]]]: Cleanup to support NT 3.51.
11912 * device-msw.c (decode_devmode): Cleanup.
11914 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11915 * device-msw.c (mswindows_handle_print_dialog_box):
11916 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11917 * device-msw.c (syms_of_device_mswindows):
11918 Delete the dialog box primitives recently introduced by Kirill and
11919 instead interface to general dialog box interface.
11922 * device-x.c (compute_x_app_name):
11923 * device-x.c (x_init_device):
11924 * device-x.c (Fx_valid_keysym_name_p):
11925 * device-x.c (Fx_set_font_path):
11929 * device.h (wrap_device): New.
11930 First of its kind; meant to replace XSETDEVICE.
11932 * dialog-msw.c: Many file-dialog symbols.
11934 * dialog-msw.c (mswindows_register_popup_frame): New.
11935 * dialog-msw.c (mswindows_is_dialog_msg): New.
11936 For supporting kbd traversal in dialog boxes.
11938 * dialog-msw.c (dialog_proc):
11939 Support hitting ESC in dialogs.
11941 * dialog-msw.c (struct):
11942 Common dialog box errors.
11944 * dialog-msw.c (handle_file_dialog_box): New.
11945 Add file dialog code.
11947 * dialog-msw.c (handle_question_dialog_box):
11948 Redo existing code to support new question dialog syntax.
11950 * dialog-msw.c (console_type_create_dialog_mswindows):
11951 We support new dialog console method.
11953 * dialog-msw.c (syms_of_dialog_mswindows):
11954 * dialog-msw.c (vars_of_dialog_mswindows):
11955 New file dialog symbols, vars.
11958 * dialog-x.c (maybe_run_dbox_text_callback):
11959 * dialog-x.c (dbox_descriptor_to_widget_value):
11960 * dialog-x.c (x_make_dialog_box_internal):
11961 * dialog-x.c (console_type_create_dialog_x):
11962 Mule-ize entire file.
11963 Redo to support question dialog syntax.
11967 * dialog.c (Fmake_dialog_box_internal):
11968 * dialog.c (syms_of_dialog):
11969 Kill old popup-dialog-box, replace with new primitive.
11970 Just call device method or signal error.
11972 * eldap.c (Fldap_open):
11973 * eldap.c (Fldap_search_basic):
11974 * eldap.c (Fldap_add):
11975 * eldap.c (Fldap_modify):
11980 * emacs.c (make_arg_list_1):
11981 * emacs.c (make_arg_list):
11982 Mule-ize call to dll_init().
11986 * emacs.c (make_argc_argv):
11987 * emacs.c (free_argc_argv):
11988 * emacs.c (init_cmdargs):
11989 * emacs.c (main_1):
11990 * emacs.c (Fkill_emacs):
11991 * emacs.c (Fdump_emacs):
11992 Update comments about what can be used in syms_* etc.
11993 Call init_win32() when necessary.
11994 Fix up MS Win dialog box in kill-buffer to actually work right.
12005 * eval.c (condition_case_3):
12007 * eval.c (function_argcount):
12008 * eval.c (funcall_lambda):
12011 * eval.c (type_error): New.
12012 * eval.c (maybe_type_error): New.
12013 * eval.c (continuable_type_error): New.
12014 * eval.c (maybe_continuable_type_error): New.
12015 * eval.c (type_error_with_frob): New.
12016 * eval.c (maybe_type_error_with_frob): New.
12017 * eval.c (continuable_type_error_with_frob): New.
12018 * eval.c (maybe_continuable_type_error_with_frob): New.
12019 New functions for use with structured errors.
12022 * event-Xt.c (x_event_to_emacs_event):
12023 Buttons are now modifiers too.
12025 * event-Xt.c (emacs_Xt_current_event_timestamp):
12026 Implement new event method.
12027 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12030 * event-msw.c (ntpipe_shove_writer): [5].
12031 * event-msw.c (mswindows_enqueue_mouse_button_event):
12032 * event-msw.c (mswindows_drain_windows_queue):
12033 * event-msw.c (mswindows_wnd_proc): [7].
12034 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12035 * event-msw.c (mswindows_modifier_state):
12036 Throughout: support new button modifiers.
12038 * event-msw.c (emacs_mswindows_current_event_timestamp):
12039 Implement new event method.
12040 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12043 * event-stream.c (event_stream_current_event_timestamp): New.
12044 * event-stream.c (maybe_kbd_translate): New functionality.
12045 * event-stream.c (vars_of_event_stream):
12046 Document new kbd-translate-table functionality.
12048 * event-stream.c (Fcurrent_event_timestamp): New.
12049 New primitive for use in fabricated events.
12050 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12052 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12055 * events.c (Fmake_event):
12056 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12060 * events.c (format_event_object): fix gcc warnings.
12062 * events.c (Fevent_timestamp): Document new primitives.
12064 * events.c (TIMESTAMP_HALFSPACE): New.
12066 * events.c (Fevent_timestamp_lessp): New. New primitive for
12067 comparing timestamps correctly (half-space algorithm).
12069 * events.c (Fevent_modifier_bits): Doc fix.
12071 * events.c (Fevent_modifiers): Major doc addition.
12072 * events.c (event_x_y_pixel_internal): Typo fix.
12073 * events.c (syms_of_events): Declare new primitives.
12076 Update long comment for button modifiers, timestamps.
12078 * events.h (struct event_stream):
12079 New current_event_timestamp method.
12082 * extents.c (extent_in_region_p):
12083 * extents.c (decode_extent):
12084 * extents.c (Fset_extent_parent):
12085 * extents.c (decode_map_extents_flags):
12089 * extents.c (struct extent_at_arg):
12090 * extents.c (decode_extent_at_flag):
12091 * extents.c (extent_at_mapper):
12092 * extents.c (extent_at_bytind):
12093 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12094 * extents.c (Fextents_at): New primitive. [9].
12095 * extents.c (symbol_to_glyph_layout): [9].
12096 Support new primitive `extents-at'.
12099 * extents.c (get_text_property_bytind):
12100 extent_at_bytind has another arg.
12103 * extents.c (syms_of_extents): New primitive.
12105 * file-coding.c (Fmake_coding_system): [1].
12106 * file-coding.c (subsidiary_coding_system): fix gcc warning
12107 * file-coding.c (syms_of_file_coding): [2].
12109 * fileio.c (Fexpand_file_name):
12110 * fileio.c (Fsysnetunam):
12111 * fileio.c (Ffile_exists_p):
12112 * fileio.c (Ffile_executable_p):
12113 * fileio.c (Fverify_visited_file_modtime):
12116 * fileio.c (syms_of_fileio): [2].
12118 * filelock.c (lock_file_1):
12119 * filelock.c (current_lock_owner):
12120 * filelock.c (lock_if_free):
12121 * filelock.c (lock_file):
12122 * filelock.c (unlock_file):
12125 * fns.c (concat): Fix gcc warning.
12128 * fns.c (Fold_member):
12130 * fns.c (Fold_memq):
12131 * fns.c (memq_no_quit):
12133 * fns.c (Fold_assoc):
12135 * fns.c (Fold_assq):
12136 * fns.c (assq_no_quit):
12138 * fns.c (Fold_rassoc):
12140 * fns.c (Fold_rassq):
12141 * fns.c (rassq_no_quit):
12143 * fns.c (Fold_delete):
12145 * fns.c (Fold_delq):
12146 * fns.c (delq_no_quit):
12147 * fns.c (Fremassoc):
12148 * fns.c (Fremassq):
12149 * fns.c (remassq_no_quit):
12150 * fns.c (Fremrassoc):
12151 * fns.c (Fremrassq):
12152 * fns.c (remrassq_no_quit):
12153 * fns.c (Freverse):
12157 * frame-msw.c (mswindows_init_frame_1):
12158 * frame-msw.c (mswindows_delete_frame):
12159 Register popups with dialog code so keyboard traversing works.
12161 * frame-tty.c (tty_raise_frame_no_select): [1].
12164 * frame-x.c (x_set_frame_text_value):
12165 * frame-x.c (x_set_frame_properties):
12166 * frame-x.c (x_create_widgets):
12170 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12172 * frame.h (wrap_frame): New.
12173 Macro like wrap_device.
12176 * general.c (SYMBOL):
12177 * general.c (syms_of_general):
12178 Major reorg. This is now just a wrapper and symbols themselves
12179 are listed in general-slots.h.
12181 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12182 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12184 * glyphs-msw.c (mswindows_native_layout_instantiate):
12185 Add DS_CONTROL so keyboard traversal will work.
12188 * glyphs-widget.c (syms_of_glyphs_widget):
12189 Move some symbols to general-slots.h.
12192 * glyphs-x.c (xbm_instantiate_1):
12193 * glyphs-x.c (x_xbm_instantiate):
12194 * glyphs-x.c (x_xface_instantiate):
12195 * glyphs-x.c (autodetect_instantiate):
12196 * glyphs-x.c (cursor_font_instantiate):
12197 * glyphs-x.c (x_update_widget):
12198 * glyphs-x.c (x_widget_instantiate):
12199 * glyphs.c (bitmap_to_lisp_data):
12200 * glyphs.c (pixmap_to_lisp_data):
12203 * glyphs.c (syms_of_glyphs):
12207 * gui-x.c (print_widget_value):
12208 * gui-x.c (menu_separator_style_and_to_external):
12209 * gui-x.c (add_accel_and_to_external):
12210 * gui-x.c (button_item_to_widget_value):
12211 * gui-x.c (gui_items_to_widget_values_1):
12212 * gui-x.c (gui_items_to_widget_values):
12213 * gui-x.c (syms_of_gui_x):
12214 * gui-x.c (vars_of_gui_x):
12215 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12219 Muleize, prototype changes matching gui-x.c.
12222 * gui.c (separator_string_p):
12223 * gui.c (gui_item_add_keyval_pair):
12224 * gui.c (make_gui_item_from_keywords_internal):
12225 * gui.c (signal_too_long_error):
12226 * gui.c (parse_gui_item_tree_item):
12227 * gui.c (syms_of_gui):
12228 * gui.c (vars_of_gui):
12230 menu-no-selection-hook moved here (used by MSWin).
12231 Move some symbols to general-slots.h.
12235 * insdel.c (get_buffer_pos_char):
12236 * insdel.c (get_buffer_range_char):
12239 * keymap.c (keymap_lookup_directly):
12240 * keymap.c (keymap_store):
12241 * keymap.c (ensure_meta_prefix_char_keymapp):
12242 * keymap.c (describe_map):
12244 Support new button modifiers.
12246 * lisp-disunion.h (wrap_object):
12247 * lisp-disunion.h (XSETOBJ):
12248 Rename make_obj to wrap_object.
12251 * lisp-union.h (make_int):
12252 * lisp-union.h (make_char):
12253 Support wrap_object.
12256 * lisp.h (LIST_LOOP):
12257 * lisp.h (EXTERNAL_LIST_LOOP):
12258 * lisp.h (LIST_LOOP_2):
12259 * lisp.h (EXTERNAL_LIST_LOOP_1):
12260 * lisp.h (EXTERNAL_LIST_LOOP_2):
12261 * lisp.h (EXTERNAL_LIST_LOOP_3):
12262 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12263 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12264 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12265 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12266 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12267 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12268 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12269 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12270 * lisp.h (struct Lisp_Symbol):
12271 * lisp.h (maybe_continuable_error_with_frob):
12272 Fix up section comments.
12273 Add new types for char to indicate usage.
12274 Delete symbols auto-generated from general-slots.h.
12275 Add prototypes for structured error functions.
12276 Add long comments describing looping macros and change interface
12277 so that lvalues are automatically declared.
12278 Add NO_DECLARE macro in case callers want to declare lvalues
12281 * lread.c (read_syntax_error):
12282 * lread.c (continuable_read_syntax_error):
12283 * lread.c (read_structure):
12284 * lread.c (sequence_reader):
12285 * lread.c (read_list_conser):
12286 * lread.c (read_compiled_function):
12287 Rename syntax_error and continuable_syntax_error to avoid clash
12288 with same-named structured error functions.
12290 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12291 * menubar-msw.c (populate_menu_add_item):
12292 * menubar-msw.c (populate_or_checksum_helper):
12297 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12298 Mule-ize whole file.
12300 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12302 * mule-charset.c (Fmake_charset):
12303 * mule-wnnfns.c (Fwnn_set_param):
12306 * ntproc.c (create_child):
12307 * ntproc.c (Fwin32_set_current_locale):
12308 Add comments portending doom.
12311 * objects-msw.c (old_font_enum_callback_2):
12312 * objects-msw.c (font_enum_callback_1):
12313 * objects-msw.c (mswindows_enumerate_fonts):
12317 * objects-x.c (allocate_nearest_color):
12318 * objects-x.c (x_parse_nearest_color):
12319 * objects-x.c (x_initialize_color_instance):
12320 * objects-x.c (x_print_color_instance):
12321 * objects-x.c (x_finalize_color_instance):
12322 * objects-x.c (x_valid_color_name_p):
12323 * objects-x.c (x_initialize_font_instance):
12324 * objects-x.c (x_print_font_instance):
12325 * objects-x.c (valid_x_font_name_p):
12326 * objects-x.c (truename_via_FONT_prop):
12327 * objects-x.c (truename_via_random_props):
12328 * objects-x.c (truename_via_XListFonts):
12329 * objects-x.c (x_font_truename):
12330 * objects-x.c (x_font_instance_truename):
12331 * objects-x.c (x_font_instance_properties):
12332 * objects-x.c (x_list_fonts):
12333 * objects-x.c (x_find_charset_font):
12334 Mule-ize entire file.
12341 * print.c (std_handle_out_external):
12342 * print.c (debug_print_no_newline):
12343 * print.c (syms_of_print):
12344 Output to all debugger kinds in debug-print.
12345 Fix console-output code under MSWin to actually work.
12347 * process-nt.c (send_signal):
12348 * process-nt.c (nt_create_process):
12349 Use newer Unicode macros.
12351 * process-unix.c (unix_create_process):
12352 * process-unix.c (unix_canonicalize_host_name):
12353 * process-unix.c (unix_open_network_stream):
12359 * search.c (syms_of_search):
12362 * select-msw.c (mswindows_destroy_selection):
12365 * select-x.c (symbol_to_x_atom):
12368 * select.c (syms_of_select):
12371 * sound.c (Fplay_sound_file):
12375 * specifier.c (decode_specifier_type):
12376 * specifier.c (Fvalid_specifier_locale_type_p):
12377 * specifier.c (check_valid_locale_or_locale_type):
12378 * specifier.c (decode_locale):
12379 * specifier.c (decode_locale_type):
12380 * specifier.c (decode_locale_list):
12381 * specifier.c (check_valid_domain):
12382 * specifier.c (decode_specifier_tag_set):
12383 * specifier.c (Fcanonicalize_tag_set):
12384 * specifier.c (Fdefine_specifier_tag):
12385 * specifier.c (Fspecifier_tag_predicate):
12386 * specifier.c (check_valid_inst_list):
12387 * specifier.c (check_valid_spec_list):
12388 * specifier.c (decode_how_to_add_specification):
12389 * specifier.c (check_modifiable_specifier):
12390 * specifier.c (specifier_add_spec):
12391 * specifier.c (boolean_validate):
12392 * specifier.c (display_table_validate):
12395 * specifier.c (syms_of_specifier):
12396 Move some symbols to general-slots.h.
12400 * symbols.c (Fmapatoms):
12401 * symbols.c (Fapropos_internal):
12404 * symbols.c (set_default_buffer_slot_variable):
12405 * symbols.c (set_default_console_slot_variable):
12408 * symbols.c (defsymbol_massage_name_1):
12409 * symbols.c (defkeyword_massage_name):
12410 * symbols.c (deferror_1):
12411 * symbols.c (deferror):
12412 * symbols.c (deferror_massage_name_and_message):
12414 * symeval.h (DEFSYMBOL):
12415 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12417 * symbols.c (syms_of_symbols):
12421 * symsinit.h (init_win32): New.
12422 Also new is syms_of_dialog_mswindows.
12425 Add new Unicode macros, missing Cygwin wide-char functions,
12426 convenience conversion macros for Qmswindows_tstr, macros for
12427 encapsulating required MSWin <-> Cygwin filename conversions,
12428 prototype for dynamically-extracted (not in NT 3.51) functions.
12433 * tooltalk.c (Fadd_tooltalk_message_arg):
12434 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12435 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12438 * tooltalk.c (syms_of_tooltalk):
12442 * unexnt.c (unexec):
12443 Fix up headers, declaration of unexec() to be more standard.
12445 2000-07-20 Martin Buchholz <martin@xemacs.org>
12447 * offix.h: Revert change to guard macros - they're used in offix.c!
12449 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12451 * lisp.h: Defsubred Fdelete.
12453 * console-msw.h: (msprinter_default_printer): Added.
12455 * console-msw.c (msprinter_canonicalize_console_connection):
12456 (msprinter_canonicalize_device_connection): Added.
12458 * device-msw.c (msprinter_default_printer):
12459 (Fmswingows_get_default_printer):
12460 (signal_enum_priner_error):
12461 (Fmswingows_printer_list): Added.
12463 2000-07-19 Martin Buchholz <martin@xemacs.org>
12465 * XEmacs 21.2.35 is released.
12467 2000-07-19 Martin Buchholz <martin@xemacs.org>
12469 * select-x.c (x_handle_selection_request):
12470 Text selected in xemacs and pasted into xterm failed to appear.
12471 Spelling fixes and cosmetic changes.
12473 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12475 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12476 XEmacs frame (fix for doubling chars in dialog boxes).
12478 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12480 * select.c (select_convert_in, select_convert_out):
12481 Don't call intern() every time.
12483 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12484 * select.c (vars_of_select): Initialise them.
12486 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12488 * select.c (selection-coercible-types): New.
12490 * select.c (own-selection-internal):
12491 * select.c (get-selection-internal):
12492 MULE bug fix - these should default to COMPOUND_TEXT and not
12493 STRING for MULE. I think.
12495 * select.c (select_convert_out): Use selection-coercible-types
12496 to find types that we can attempt to perform coercions on.
12498 2000-07-18 Martin Buchholz <martin@xemacs.org>
12502 Add coding: cookie to identify encoding.
12504 * mule-canna.c (CANNA_mode_keys): make static.
12505 Use proper prototypes, even for functions of no arguments.
12506 Remove external prototype for Fding().
12508 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12510 * select.c (syms_of_select): Add missing DEFSUBR.
12512 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12514 * select.c (get_selection_internal, own_selection_internal):
12515 Make the type default to STRING, rather than placing a nil type
12516 into Vselection_alist.
12518 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12520 * gpmevent.c (tty_selection_exists_p):
12521 * gpmevent.c (tty_own_selection):
12522 Updated parameter lists.
12524 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12526 * select.h (selection-alist): Removed declaration.
12528 * select.h (get_local_selection):
12529 * select.c (get_local_selection):
12532 * select.h (convert_selection): Removed declaration.
12533 * select.c (convert_selection): Removed.
12534 This function belongs in Lisp.
12536 * select.h (select_convert_in): Declare.
12537 * select.h (select_convert_out): Declare.
12538 * select.c (select_convert_in): New.
12539 * select.c (select_convert_out): New.
12540 New conversion functions for other files to call.
12542 * select.h (select_notify_buffer_kill): Declare.
12543 * select.c (select_notify_buffer_kill): New.
12544 New functions that get called from kill-buffer.
12546 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12547 X-specific lisp code.
12549 * select.h: Declare some of the lisp-visible functions for
12552 * select.c (clean_local_selection_data): Removed. This was
12553 a disgusting function, and previously should have been in
12554 select-x.c in any case. The functionality is now provided
12555 in select-convert-from-integer (select.el).
12557 * select.c (available-selection-types): Fixed stupidity where
12558 INTEGER and ATOM got added twice. Also add STRING when we see an
12561 * select.c (get-selection-internal): Removed symbol stripping. No
12562 longer causes conversion when data comes from the internal cache.
12564 * select.c (syms_of_select): Added new functions.
12566 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12567 error checking - previously this called abort!
12569 * select-x.c (x_own_selection): Changed comment.
12571 * select-x.c (x_handle_selection_request): Use select_convert_out.
12572 Don't mess with selection-alist; it's an internal variable of select.c.
12574 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12576 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12577 rather than messing with selection-alist.
12579 * select-msw.c (mswindows_get_foreign_selection):
12580 Use TO_INTERNAL_FORMAT rather than hacking.
12582 2000-07-14 Martin Buchholz <martin@xemacs.org>
12584 * process-unix.c (unix_open_multicast_group):
12585 (unix_open_multicast_group): Remove useless casts.
12587 2000-07-13 Martin Buchholz <martin@xemacs.org>
12589 * sound.c (Fplay_sound): Fix `unused variable' warning.
12591 * emacs.c (main): Use correct type for _environ on SCO5.
12593 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12595 * console.h (own_selection_method):
12596 * console.h (selection_exists_p_method):
12597 * console.h (available_selection_types_method): New.
12598 * console.h (register_selection_data_type_method): New.
12599 * console.h (selection_data_type_name): New.
12601 * console-msw.h (mswindows_destroy_selection): Declare it. New
12602 function & alist to track GlobalAlloc()'d handles that need
12603 releasing when the clipboard data gets replaced or emptied.
12605 * event-msw.c (mswindows_wnd_proc): Call it.
12607 * lisp.h, general.c (Qappend): New symbol representing a
12610 * select.c (own-selection-internal):
12611 * select.c (selection-exists-p):
12612 * select.c (available-selection-types): New.
12613 * select.c (register-selection-data-type): New.
12614 * select.c (selection-data-type-name): New. New functions to deal
12615 with device-specific selection data formats.
12616 * select.c (selection-converter-out-alist): Renamed.
12617 * select.c (selection-converter-in-alist): New.
12618 * select.c (selection-appender-alist): New. Added new alists.
12619 * select.c (syms_of_select, vars_of_select): Added new symbols &
12621 * select.c (get_local_selection): Split.
12622 * select.c: Removed spurious type checking - selections may now be
12623 of any type, not just strings.
12624 * select.c (own-selection-internal):
12626 * select.h, select.c (convert_selection): New. Created
12627 convert_selection() function based on get_local_selection().
12628 * select.h, select.c (QCF_*): New symbols representing mswindows
12630 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12631 symbols representing `how-to-add' modes.
12633 * select-msw.c (x_sym_p): New.
12634 * select-msw.c (symbol_to_ms_cf): New.
12635 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12636 symbols & clipboard formats. Can also handle string names.
12637 * select-msw.c (mswindows_own_selection):
12638 * select-msw.c (mswindows_selection_exists_p):
12639 Added `data-type' parameter. Use it.
12640 * select-msw.c (mswindows_available_selection_types): New.
12641 * select-msw.c (mswindows_register_selection_data_type): New.
12642 * select-msw.c (mswindows_selection_data_type_name): New.
12643 * select-msw.c (mswindows_own_selection):
12644 * select-msw.c (mswindows_get_foreign_selection):
12645 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12646 * select-msw.c (console_create_select_mswindows): Added new methods.
12647 * select-msw.c (mswindows_destroy_selection): New.
12648 * select-msw.c (Vhandle_alist): New list.
12649 * select-msw.c (mswindows_own_selection):
12651 * select-x.c (x_own_selection):
12652 * select-x.c (x_selection_exists_p):
12653 * select-x.c: Added some comments about maybe using new
12655 * select-x.c (x_own_selection):
12657 * specifier.c: Remove definition of Qappend (now in general.c)
12658 * specifier.c (syms_of_specifier): Remove Qappend.
12660 2000-07-12 Martin Buchholz <martin@xemacs.org>
12662 * config.h.in: Add socklen_t.
12664 * s/decosf4-0.h: No special compiler flags needed or desired.
12665 In particular, undefine _BSD for DEC OSF 4.0.
12667 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12669 * redisplay-msw.c (msprinter_frame_output_end): Added.
12670 (console_type_create_redisplay_mswindows): Referred the above.
12672 * frame.c (setup_frame_without_minibuffer): Do not create a
12673 default minibuffer frame on a printer device.
12675 * frame-msw.c (apply_dc_geometry): Added.
12676 (msprinter_start_page):
12677 (msprinter_init_frame_3):
12678 (msprinter_eject_page): Use it.
12680 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12681 and removed residual duplex and orientation properties.
12683 2000-07-11 Martin Buchholz <martin@xemacs.org>
12685 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12687 * unexalpha.c: Remove system prototypes from C sources!
12689 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12691 * eval.c: Remove references to M-x edit-options in DEFUNs for
12692 `defvar' and `defconst'.
12694 2000-07-09 Martin Buchholz <martin@xemacs.org>
12696 * config.h.in: Remove SMART_INCLUDE hackery.
12698 PostgreSQL hacking:
12699 * config.h.in: Don't use SMART_INCLUDE.
12701 * postgresql.h: Include libpq-fe.h here. Fix typo.
12702 * inline.c: Simply #include "postgresql.h"
12704 - Don't use SMART_INCLUDE
12705 - Use simply "const".
12706 - Use standard doc string conventions.
12707 - Use correct type for result of PQstatus.
12709 2000-07-09 Martin Buchholz <martin@xemacs.org>
12711 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12713 C++ compilation changes.
12714 * config.h.in (EXTERN_C): Define.
12715 * config.h.in (not): This is also a C++ keyword.
12716 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12717 * cm.c: Use EXTERN_C.
12718 * redisplay-tty.c: Use EXTERN_C.
12719 * sysdep.c: Use EXTERN_C. Remove Gould support.
12721 2000-07-09 Martin Buchholz <martin@xemacs.org>
12723 * general.c: Remove duplicate definition for Qfunction.
12725 2000-07-08 Ben Wing <ben@xemacs.org>
12727 * device-msw.c (msprinter_init_device):
12728 * device-msw.c (sync_printer_with_devmode):
12729 * device-msw.c (handle_devmode_changes):
12730 * device-msw.c (print_dialog_worker):
12731 * device-msw.c (Fmsprinter_apply_settings):
12732 * device-msw.c (hash_devmode):
12733 * device-msw.c (Fmsprinter_settings_despecialize):
12734 use Qmswindows_tstr, not Qctext.
12736 * vm-limit.c (check_memory_limits):
12737 avoid infinite loop printing warning messages.
12739 2000-07-05 Craig Lanning <lanning@scra.org>
12741 * Makefile.in.in: Add support for including the Windows resources
12742 when building with the cygwin and mingw targets.
12744 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12745 not set or not correct.
12746 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12747 (init_initial_directory): Don't try to use $PWD on the
12748 WIN32_NATIVE target.
12751 [[Add -mwindows to eliminate console window.]] not required --ben
12752 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12753 (MAIL_USE_POP): removed; now handled by configure.
12755 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12756 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12757 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12758 (MAIL_USE_POP): removed; now handled by configure.
12759 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12760 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12761 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12763 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12764 up from <winsock.h> via systime.h.
12765 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12766 (getpagesize): from Dan Holmsand, added.
12767 Added #endif which was left dangling by Ben's mega patch; added
12768 comment to help prevent this in the future.
12770 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12772 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12774 * console-msw.h (struct mswindows_device): Removed unnecessary
12775 cached device geometry values.
12776 Added update_tick and an accessor macro.
12777 (Lisp_Devmode): Added lrecord declaration.
12778 (struct msprinter_device): Contain devmode as a Lisp object.
12779 Added mswindows_get_selected_frame_hwnd();
12781 * console.h (struct console_methods): Indentation nitpicking.
12783 * device-msw.c (mswindows_init_device): Do not initialize geometry
12784 cache. Initialize update tick.
12785 (mswindows_device_system_metrics): Ask the device for its geometry.
12786 (global_free_2_maybe):
12787 (devmode_to_hglobal):
12788 (handle_printer_changes):
12789 (ensure_not_printing):
12790 (print_dialog_worker):
12791 (Fmsprinter_print_setup_dialog):
12792 (Fmsprinter_print_dialog):
12793 (plist_get_margin):
12794 (plist_set_margin):
12795 (Fmsprinter_page_setup_dialog): Added functions.
12796 (sync_printer_with_devmode):
12797 (handle_devmode_changes):
12798 (Fmsprinter_get_settings):
12799 (Fmsprinter_select_settings):
12800 (Fmsprinter_apply_settings):
12801 (allocate_devmode):
12802 (Fmsprinter_settings_copy):
12803 (Fmsprinter_settings_despecialize):
12805 (finalize_devmode):
12807 (hash_devmode): Added functions
12808 (syms_of_device_mswindows): Init devmode lrecord class.
12810 * device.h: Added an exfun for find-device.
12812 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12813 geometry; although, recreate the device compatible DC.
12815 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12816 (msprinter_init_frame_3):
12817 (msprinter_frame_property):
12818 (msprinter_internal_frame_property_p):
12819 (msprinter_frame_properties):
12820 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12821 print job properties (will move to device settings).
12823 * lisp.h: Added symbols.
12825 * general.c (syms_of_general): Declared them.
12827 * hash.c (string_hash): Added.
12829 * lrecord.h (lrecord_type): Added devmode lrecord type.
12831 2000-07-02 Mike Sperber <mike@xemacs.org>
12833 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12836 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12838 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12841 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12843 * data.c (Fstring_to_number): Don't recognize floating point if
12846 2000-06-22 Martin Buchholz <martin@xemacs.org>
12848 * glyphs-widget.c (tab_control_query_geometry):
12849 (widget_query_geometry):
12850 (button_query_geometry):
12851 * glyphs.c (text_query_geometry):
12852 Enforce type correctness.
12854 2000-06-18 Martin Buchholz <martin@xemacs.org>
12856 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12857 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12859 2000-06-17 Martin Buchholz <martin@xemacs.org>
12861 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12862 conflicts with gcc's fixincluded version of FOO.h.
12864 * glyphs.h (image_instance_geometry): Remove trailing `,'
12866 2000-06-08 Mike Alexander <mta@arbortext.com>
12868 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12869 (shove_thread): Don't write the same output twice
12870 (make_ntpipe_output_stream): Increase priority of shove thread
12871 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12873 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12876 2000-06-12 Ben Wing <ben@xemacs.org>
12878 * s\mingw32.h (sigset):
12879 * s\windowsnt.h (sigset):
12880 rename msw_ to mswindows_ for consistency with general convention.
12882 2000-06-12 Ben Wing <ben@xemacs.org>
12885 * console-msw.c (mswindows_get_console_hwnd):
12886 * console-msw.c (mswindows_ensure_console_allocated):
12887 * console-msw.c (mswindows_hide_console):
12888 * console-msw.c (mswindows_show_console):
12889 * console-msw.c (mswindows_ensure_console_buffered):
12890 * console-msw.c (mswindows_output_console_string):
12891 * console-msw.c (mswindows_windows9x_p):
12893 * device-msw.c (mswindows_get_workspace_coords):
12894 * device-msw.c (mswindows_device_system_metrics):
12895 * dialog-msw.c (mswindows_popup_dialog_box):
12896 * event-msw.c (mswindows_wnd_proc):
12897 * frame-msw.c (mswindows_size_frame_internal):
12898 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12899 * menubar-msw.c (displayable_menu_item):
12900 * menubar-msw.c (mswindows_char_is_accelerator):
12902 * nt.c (mswindows_sigset):
12903 * nt.c (mswindows_sigrelse):
12904 * nt.c (mswindows_sigpause):
12905 * nt.c (mswindows_raise):
12906 * nt.c (timer_proc):
12908 * ntproc.c (find_child_console):
12909 * ntproc.c (sys_kill):
12911 * print.c (std_handle_out_external):
12912 * process-nt.c (find_child_console):
12913 * process-nt.c (send_signal_the_95_way):
12914 * process-nt.c (ensure_console_window_exists):
12915 * process-nt.c (nt_create_process):
12917 rename msw_ to mswindows_ for consistency with general convention.
12921 include nt.h, not syswindows.h.
12923 * nt.c (mswindows_fstat):
12924 * nt.c (mswindows_stat):
12925 prefix mswindows_ instead of attempting to directly override the
12926 library functions. fix declarations.
12929 include syswindows.h. move some sysdep.h stuff here.
12932 include syswindows.h, not <windows.h>.
12940 * sysdep.c (sys_fstat):
12941 * sysdep.c (sys_stat):
12942 call mswindows versions when appropriate.
12945 move mswin decls to nt.h.
12948 add long comment describing appropriate use of the various windows
12951 2000-06-11 Ben Wing <ben@xemacs.org>
12953 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12955 2000-06-10 Ben Wing <ben@xemacs.org>
12957 * Makefile.in.in (release):
12958 Correction to make sure xemacs.exe always dumped when correct.
12962 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12964 * buffer.c (set_buffer_internal):
12965 [[[[2]]]]: Remove HAVE_FEP code.
12967 * buffer.c (init_initial_directory):
12971 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12975 * callproc.c (call_process_cleanup):
12976 * callproc.c (Fold_call_process_internal):
12977 * callproc.c (child_setup):
12978 * callproc.c (getenv_internal):
12979 * callproc.c (init_callproc):
12980 * callproc.c (vars_of_callproc):
12981 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12982 __CYGWIN32__ -> CYGWIN.
12983 DOS_NT -> WIN32_NATIVE.
12984 Remove MSDOS support/references, converting to WIN32_NATIVE
12986 __MINGW32__ -> MINGW.
12987 Fix windows.h includes.
12988 Remove bogus HAVE_NTGUI.
12994 mswindows_message_outputted added for use in allowing startup
12995 errors on the console to be seen.
12997 * console-msw.c (msw_ensure_console_allocated):
12998 * console-msw.c (msw_output_console_string):
12999 * console-msw.c (DHEADER):
13000 * console-msw.c (DOPAQUE_DATA):
13001 * console-msw.c (DEVENT):
13002 * console-msw.c (DCONS):
13003 * console-msw.c (DCONSCDR):
13004 * console-msw.c (DSTRING):
13005 * console-msw.c (DVECTOR):
13006 * console-msw.c (DSYMBOL):
13007 * console-msw.c (DSYMNAME):
13010 * console-stream.c (stream_init_console):
13011 Fix text/binary problems.
13014 * device-msw.c (mswindows_finish_init_device):
13015 * device-msw.c (mswindows_delete_device):
13018 * device.c (handle_asynch_device_change):
13022 * dgif_lib.c (DGifOpenFileName):
13023 * dgif_lib.c (DGifOpenFileHandle):
13024 * dgif_lib.c (DGifGetLine):
13025 * dgif_lib.c (DGifGetPixel):
13026 Added config.h/lisp.h, fix up includes.
13033 * dired.c (file_name_completion):
13034 * dired.c (Ffile_attributes):
13035 * dired.c (syms_of_dired):
13039 * dumper.c (pdump_file_unmap):
13040 * dumper.c (pdump_load):
13044 * editfns.c (Ftemp_directory):
13045 * editfns.c (user_login_name):
13046 * editfns.c (Fuser_real_login_name):
13047 * editfns.c (get_home_directory):
13050 * elhash.c (finish_marking_weak_hash_tables):
13051 [[[[5]]]]: Fix GCC warnings.
13054 * emacs.c (mswindows_handle_hardware_exceptions):
13055 * emacs.c (make_arg_list_1):
13056 * emacs.c (main_1):
13057 * emacs.c (Fkill_emacs):
13058 * emacs.c (Fdump_emacs):
13060 Fix problems with nested crashes, add long comment.
13062 * event-Xt.c (init_event_Xt_late):
13066 * event-msw.c (mswindows_dde_callback):
13067 * event-msw.c (mswindows_handle_sticky_modifiers):
13068 * event-msw.c (mswindows_wnd_proc):
13072 * events.c (character_to_event):
13076 * fileio.c (Ffile_name_directory):
13077 * fileio.c (Ffile_name_nondirectory):
13078 * fileio.c (directory_file_name):
13079 * fileio.c (Fexpand_file_name):
13080 * fileio.c (Fsubstitute_in_file_name):
13081 * fileio.c (Ffile_name_absolute_p):
13082 * fileio.c (check_executable):
13083 * fileio.c (Ffile_readable_p):
13084 * fileio.c (Ffile_accessible_directory_p):
13085 * fileio.c (Ffile_modes):
13086 * fileio.c (Funix_sync):
13087 * fileio.c (vars_of_fileio):
13090 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13092 Expand getdefdir defn.
13093 Fix bogus rename() comment.
13095 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13096 to use standard XEmacs include files, e.g. sysfile.h, rather
13097 than system-specific includes.
13103 * frame.c (vars_of_frame):
13107 * getloadavg.c (getloadavg):
13109 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13110 (We don't use it elsewhere in the code; just add a comment.)
13117 * glyphs-msw.c (mswindows_resource_instantiate):
13120 * glyphs-x.c (x_native_layout_instantiate):
13123 * gui-msw.c (Fmswindows_shell_execute):
13132 * lread.c (locate_file_in_directory_mapper):
13139 * mem-limits.h (get_lim_data):
13151 * nt.c (rva_to_section):
13152 * nt.c (mswindows_executable_type):
13154 Fix closedir() defn.
13157 [[[[8]]]]: *_OK defs moved to sysfile.h.
13166 * print.c (std_handle_out_external):
13170 * process-nt.c (nt_create_process):
13172 try to fix process quoting somewhat.
13174 * process-unix.c (unix_create_process):
13178 * process.c (vars_of_process):
13185 * realpath.c (xrealpath):
13188 * redisplay-tty.c (init_tty_for_redisplay):
13198 * sheap.c (more_static_core):
13199 * sheap.c (report_sheap_usage):
13203 * signal.c (alarm_signal):
13210 * strftime.c (zone_name):
13213 * symsinit.h (init_sunpro):
13217 commctrl.h not in Cygwin b20.1.
13220 * sysdep.c (endif):
13221 * sysdep.c (sys_subshell):
13222 * sysdep.c (init_baud_rate):
13223 * sysdep.c (emacs_get_tty):
13224 * sysdep.c (emacs_set_tty):
13225 * sysdep.c (tty_init_sys_modes_on_device):
13226 * sysdep.c (init_system_name):
13227 * sysdep.c (sys_open):
13228 * sysdep.c (interruptible_open):
13229 * sysdep.c (sys_fopen):
13230 * sysdep.c (sys_mkdir):
13231 * sysdep.c (sys_rename):
13232 * sysdep.c (get_process_times_1):
13239 * sysdir.h (DIRENTRY_NONEMPTY):
13242 * sysdll.c (dll_init):
13248 added text/binary defs.
13254 * sysproc.h (EDESTADDRREQ):
13255 * sysproc.h (poll_fds_for_input):
13272 Always define WIN32_LEAN_AND_MEAN.
13274 * unexcw.c (unexec):
13278 * unexec.c (copy_text_and_data):
13279 * unexec.c (adjust_lnnoptrs):
13283 * unexnt.c (_start):
13286 2000-06-07 Ben Wing <ben@xemacs.org>
13288 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13289 was used only as a model. We've long since extracted any useful
13290 logic or code out of this. (I just did an exhaustive search.)
13292 * s\msdos.h: Removed.
13294 * s\windows95.h: Removed.
13296 2000-06-10 Ben Wing <ben@xemacs.org>
13300 Don't use extern with fun defs.
13304 Remove nt\inc include.
13305 Remove getdisk, getdefdir. (The former is unused, the latter
13306 expanded in fileio.h.)
13309 * s\windowsnt.h (WIN32_NATIVE):
13310 * s\windowsnt.h (HAVE_STRCASECMP):
13312 Add long comment about preprocessor changes.
13313 Remove getdisk, getdefdir. (The former is unused, the latter
13314 expanded in fileio.h.)
13316 2000-06-10 Ben Wing <ben@xemacs.org>
13325 Remove bogus/unused NO_SOCK_SIGIO.
13327 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13329 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13332 2000-06-04 Mike Sperber <mike@xemacs.org>
13334 * casetab.c (set_case_table): For `set-standard-case-table',
13335 actually deposit the new case tables where the rest of XEmacs can
13338 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13340 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13342 2000-06-05 Ben Wing <ben@xemacs.org>
13344 * callproc.c (child_setup): Don't do close_load_descs() under
13345 MS Windows. Put in a comment explaining why.
13347 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13349 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13350 Toolkit shell" which breaks `kill-compilation' on Windows NT
13351 native, retaining STDERR handling improvements.
13353 2000-06-01 Andreas Jaeger <aj@suse.de>
13355 * s/s390.h: Support for S390, based on a patch by Martin
13356 Schwidefsky <schwidefsky@de.ibm.com>.
13358 2000-05-30 Andy Piper <andy@xemacs.org>
13360 * window.c (allocate_window):
13361 (make_dummy_parent):
13362 (Fset_window_configuration): use new hashtable type.
13364 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13365 (struct image_instantiator_methods):
13366 (struct Lisp_Image_Instance): make instance geometry signed.
13368 * glyphs.c (instantiate_image_instantiator):
13369 (image_instance_query_geometry):
13370 (image_instance_layout):
13371 (image_instance_layout):
13372 (query_string_geometry):
13373 (text_query_geometry):
13374 (image_instantiate):
13375 (image_instantiate):
13376 (cache_subwindow_instance_in_frame_maybe):
13377 (subwindow_query_geometry): make instance geometry signed.
13379 * glyphs-widget.c (widget_query_geometry):
13381 (button_query_geometry):
13382 (tree_view_query_geometry):
13383 (tab_control_query_geometry):
13384 (layout_query_geometry):
13386 (native_layout_layout): make instance geometry signed.
13388 2000-05-29 Olivier Galibert <galibert@pobox.com>
13390 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13393 * general.c (syms_of_general): Add Qfull_assoc symbol.
13395 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13397 (decode_weak_list_type): Decode full-assoc type.
13398 (encode_weak_list_type): Encode full-assoc type.
13399 (Fmake_weak_list): Update doc string.
13401 2000-05-30 Andy Piper <andy@xemacs.org>
13403 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13405 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13406 (decode_hash_table_weakness): ditto.
13407 (Fhash_table_weakness): ditto.
13408 (Fhash_table_type): ditto.
13409 (finish_marking_weak_hash_tables): ditto.
13410 (hash_table_weakness_validate): ditto.
13411 (syms_of_elhash): ditto.
13413 2000-05-28 Martin Buchholz <martin@xemacs.org>
13415 * XEmacs 21.2.34 is released.
13417 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13419 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13421 (updating_line_start_cache): Gone.
13422 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13423 generic code to force a minimum of 1 line laid out in the
13426 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13428 * glyphs.c (instantiate_image_instantiator): Check for initialized
13429 height & width no longer special cases IMAGE_NOTHING.
13430 (nothing_instantiate): Set height and width of instance.
13432 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13434 * unexelf.c (unexec): Search for ".data" section.
13435 Initialize new_data2_offset from old_data_index.
13436 Remove redundant check for ElfW.
13438 2000-05-23 Andy Piper <andy@xemacs.org>
13440 * glyphs.c (get_image_instantiator_governing_domain): allow more
13441 specific domains as the governing domain rather than expecting an
13442 exact match. This fixes problems with layouts.
13444 2000-05-22 Andy Piper <andy@xemacs.org>
13446 * redisplay-output.c (compare_runes): check for non-images
13448 * glyphs.c (set_glyph_dirty_p): ditto.
13449 (update_glyph_cachel_data): ditto.
13451 * glyphs-widget.c (layout_post_instantiate): ditto.
13452 (layout_post_instantiate): ditto.
13454 * event-msw.c (mswindows_wnd_proc): warning removal.
13456 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13458 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13460 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13462 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13464 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13465 (mswindows_executable_type): mingw32 now has enough headers for
13468 2000-05-20 Andy Piper <andy@xemacs.org>
13470 * console-msw.c (mswindows_output_last_error): ; -> ,
13472 2000-05-12 Andy Piper <andy@xemacs.org>
13474 * console-msw.c (FROB): compare ints with ints.
13476 2000-05-11 Andy Piper <andy@xemacs.org>
13478 * glyphs-x.c (x_finalize_image_instance): make minimal build
13481 2000-05-20 Ben Wing <ben@xemacs.org>
13484 * event-Xt.c (vars_of_event_Xt):
13485 move modifier-keys-are-sticky to event-stream.c.
13488 * event-msw.c (mswindows_enqueue_mouse_button_event):
13489 * event-msw.c (key_needs_default_processing_p):
13490 * event-msw.c (XEMSW_LCONTROL):
13491 * event-msw.c (mswindows_handle_sticky_modifiers):
13492 * event-msw.c (FROB):
13493 * event-msw.c (clear_sticky_modifiers):
13494 * event-msw.c (output_modifier_keyboard_state):
13495 * event-msw.c (output_alt_keyboard_state):
13496 * event-msw.c (mswindows_wnd_proc):
13497 * event-msw.c (mswindows_modifier_state):
13498 * event-msw.c (emacs_mswindows_handle_magic_event):
13499 implement sticky modifiers.
13502 * event-stream.c (vars_of_event_stream):
13503 move modifier-keys-are-sticky here.
13506 add CHECK_FUNCTION.
13509 implement map-range-table.
13512 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13514 * redisplay-tty.c (reset_tty_modes):
13515 (tty_redisplay_shutdown): Adjust argument type to
13516 tty_frame_output_end.
13518 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13520 * eval.c (Fbacktrace): Don't output a line with only right
13523 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13525 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13526 (Fpq_reset_poll): Ditto.
13528 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13530 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13532 2000-05-16 Ben Wing <ben@xemacs.org>
13535 * buffer.c (dfc_convert_to/from_internal_format):
13536 * buffer.c (reinit_vars_of_buffer):
13537 Fix conversion functions to allow reentrancy.
13540 * console-msw.c (mswindows_output_last_error):
13541 New fun, generally useful -- output a human-readable
13542 version of GetLastError() on the console.
13545 * console-msw.h (struct mswindows_frame):
13546 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13548 * console-stream.c (stream_output_begin):
13549 * console-stream.c (stream_output_end):
13550 * console-stream.c (stream_output_vertical_divider):
13551 * console-stream.c (stream_clear_region):
13552 * console-stream.c (stream_flash):
13553 * console-stream.c (console_type_create_stream):
13554 Delete blank stream methods, not needed.
13556 * console.h (struct console_methods):
13557 Split begin/end methods into window and frame.
13560 * event-msw.c (mswindows_handle_paint):
13561 * event-msw.c (output_alt_keyboard_state):
13562 * event-msw.c (mswindows_wnd_proc):
13563 * event-msw.c (vars_of_event_mswindows):
13564 Comment about problems with ignored-expose.
13565 Define mswindows-debug-events; not really implemented.
13567 * frame-msw.c (mswindows_init_frame_1):
13571 * glyphs-msw.c (begin_defer_window_pos):
13572 * glyphs-msw.c (mswindows_unmap_subwindow):
13573 * glyphs-msw.c (mswindows_map_subwindow):
13574 * glyphs-msw.c (mswindows_resize_subwindow):
13575 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13577 * glyphs.c (make_image_instance_1):
13580 * gutter.c (Fredisplay_gutter_area):
13581 Use new begin/end methods.
13583 * lisp.h (Dynarr_new2):
13587 * redisplay-msw.c (mswindows_frame_output_begin):
13588 * redisplay-msw.c (mswindows_frame_output_end):
13589 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13590 New begin/end methods -- handle DeferWindowPos.
13592 * redisplay-output.c (redisplay_move_cursor):
13593 * redisplay-output.c (redraw_cursor_in_window):
13594 * redisplay-output.c (redisplay_update_line):
13595 * redisplay-output.c (redisplay_output_window):
13596 New begin/end methods.
13599 * redisplay-tty.c (tty_frame_output_begin):
13600 * redisplay-tty.c (tty_frame_output_end):
13601 * redisplay-tty.c (console_type_create_redisplay_tty):
13602 New begin/end methods.
13605 * redisplay-x.c (x_window_output_begin):
13606 * redisplay-x.c (x_window_output_end):
13607 * redisplay-x.c (console_type_create_redisplay_x):
13608 New begin/end methods.
13610 * redisplay.c (redisplay_frame):
13611 * redisplay.c (Fredisplay_echo_area):
13612 New begin/end methods.
13613 use MAYBE_DEVMETH for clear_frame; it may not exist.
13615 * window.h (WINDOW_XFRAME):
13616 WINDOW_XFOO macros -- get locale and decode struct pointer.
13619 2000-05-12 Ben Wing <ben@xemacs.org>
13622 * emacs.c (ensure_no_quitting_from_now_on):
13623 * emacs.c (fatal_error_signal):
13624 * emacs.c (mswindows_handle_hardware_exceptions):
13626 * emacs.c (Fkill_emacs):
13627 * emacs.c (shut_down_emacs):
13628 * emacs.c (assert_failed):
13629 various improvements in fatal error handling.
13632 move preparing_for_armageddon to emacs.c.
13635 declare fatal_error_in_progress.
13638 * print.c (std_handle_out_external):
13639 * print.c (std_handle_out_va):
13640 * print.c (stderr_out):
13641 * print.c (stdout_out):
13642 use console under mswin when no standard output.
13643 don't do code conversion during fatal error.
13645 * scrollbar.c (Fscrollbar_page_up):
13646 * scrollbar.c (Fscrollbar_page_down):
13647 fix missing else. reindent.
13649 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13653 * glyphs.h (GLYPH_CACHEL_DESCENT):
13654 (GLYPH_CACHEL_DESCENT):
13655 (GLYPH_CACHEL_DESCENT):
13656 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13657 used in case these are inline functions.
13658 Use more absurd values to error check.
13660 include window.h for error check functions.
13662 2000-05-11 Ben Wing <ben@xemacs.org>
13664 * cmdloop.c (Freally_early_error_handler):
13665 Display message box under windows; otherwise, message will disappear
13666 before it can be viewed.
13669 * console-msw.c (Fmswindows_message_box):
13670 * console-msw.c (FROB):
13671 * console-msw.c (syms_of_console_mswindows):
13672 Define new fun `mswindows-message-box'.
13673 #### I will merge this into `popup-dialog-box'; just give me
13677 * general.c (syms_of_general):
13678 Some new symbols used in `mswindows-message-box'.
13681 * glyphs.c (Fset_image_instance_property):
13682 put warning in this fun.
13685 * glyphs.h (GLYPH_CACHEL_WIDTH):
13686 * glyphs.h (GLYPH_CACHEL_ASCENT):
13687 * glyphs.h (GLYPH_CACHEL):
13688 * glyphs.h (GLYPH_CACHEL_GLYPH):
13689 define error-checking versions to try to catch a bug i've seen --
13690 redisplay gets in an infinite loop because the glyph width of the
13691 continuation glyph is 65535.
13694 Extern message-box stuff.
13696 * window.c (allocate_window):
13697 * window.c (make_dummy_parent):
13698 * window.c (Fset_window_configuration):
13699 Use EQUAL not EQ for subwindow caches to make them work a bit
13700 better. (Something is still very broken.)
13703 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13705 * glyphs.c (image_instantiate): Suppress gcc warnings.
13706 (Fmake_image_instance): Fix doc string.
13707 * specifier.c (Fmake_specifier): Ditto.
13709 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13711 * paths.h.in (PATH_LOCK): Removed.
13712 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13713 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13715 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13717 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13718 Document (featurep '(and xemacs 21.02)).
13720 2000-05-09 Ben Wing <ben@xemacs.org>
13722 * buffer.c (complex_vars_of_buffer):
13723 update modeline-format doc.
13726 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13729 timeline of all released versions of Emacs, for use in creating
13730 authorship comments and in synching up.
13732 * glyphs-widget.c (image_instantiator_buttons):
13733 * glyphs-widget.c (image_instantiator_edit_fields):
13734 * glyphs-widget.c (image_instantiator_combo_box):
13735 * glyphs-widget.c (image_instantiator_scrollbar):
13736 * glyphs-widget.c (image_instantiator_progress_guage):
13737 * glyphs-widget.c (image_instantiator_tree_view):
13738 * glyphs-widget.c (image_instantiator_tab_control):
13739 * glyphs-widget.c (image_instantiator_labels):
13740 * glyphs-widget.c (image_instantiator_layout):
13741 * glyphs-widget.c (image_instantiator_native_layout):
13742 rename decode_domain method to governing_domain.
13745 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13746 * glyphs.c (add_entry_to_device_ii_format_list):
13747 make sure we don't put an entry more than once into the list.
13748 * glyphs.c (check_instance_cache_mapper):
13749 *************************************************************
13750 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13752 *************************************************************
13753 * glyphs.c (get_image_instantiator_governing_domain):
13754 clean up, expand on new concept of governing domain.
13755 * glyphs.c (instantiate_image_instantiator):
13756 * glyphs.c (allocate_image_instance):
13757 use governing_domain instead of cache_domain in naming.
13758 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13759 * glyphs.c (make_image_instance_1):
13760 * glyphs.c (Fmake_image_instance):
13761 allow for any domain (not just device), and process the
13762 governing domain correctly. very big doc fix.
13763 * glyphs.c (Fimage_instance_domain):
13764 new primitive, to retrieve the governing domain of an image instance.
13765 * glyphs.c (image_instantiate):
13766 use new governing_domain stuff. this fixes a crash you could get
13767 by instantiating certain widget glyphs in frame locales. (should
13768 signal an error instead of crashing.)
13769 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13770 * glyphs.c (Fglyphp): clean up doc.
13771 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13772 * glyphs.c (syms_of_glyphs):
13773 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13774 * glyphs.c (image_instantiator_format_create): add some comments about
13776 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13777 for current-display-table. (Apparently Hrjove implemented in 1998 a
13778 design I wrote up in 1996, but didn't update the doc string.)
13780 * glyphs.h: clean up a doc string.
13781 * glyphs.h (governing_domain):
13782 * glyphs.h (struct image_instantiator_methods):
13783 changes for governing_domain stuff.
13786 * gutter.c (Fgutter_specifier_p):
13787 * gutter.c (Fgutter_size_specifier_p):
13788 * gutter.c (Fgutter_visible_specifier_p):
13790 * objects.c (Fcolor_specifier_p):
13791 * objects.c (Ffont_specifier_p):
13792 * objects.c (Fface_boolean_specifier_p):
13793 doc strings moved to make-*-specifier.
13795 * redisplay.c (add_disp_table_entry_runes_1):
13796 * redisplay.c (generate_fstring_runes):
13797 * redisplay.c (screen):
13798 add random comments and doc strings.
13801 * specifier.c (Fmake_specifier):
13802 major overhaul of this doc string.
13804 * specifier.c (Fvalid_specifier_domain_p):
13805 comment about the bogosity of image instances being domains.
13806 * specifier.c (decode_domain):
13807 now non-static, used in glyphs.c.
13808 * specifier.c (specifier_instance):
13809 comment about the bogosity of image instances being domains.
13810 * specifier.c (Fgeneric_specifier_p):
13811 move doc string to make-generic-specifier.
13812 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13816 * specifier.h (DOMAIN_FRAME):
13817 * specifier.h (DOMAIN_LIVE_P):
13818 * specifier.h (DOMAIN_XDEVICE):
13820 add comments about problems with these macros.
13821 prototype for decode_domain.
13824 * toolbar.c (Ftoolbar_specifier_p):
13825 move doc string to `make-toolbar-specifier'.
13827 * window.c (window_unmap_subwindows_cache_mapper):
13828 *************************************************************
13829 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13831 *************************************************************
13833 2000-05-09 Andy Piper <andy@xemacs.org>
13835 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13837 * window.c (Fset_window_configuration): reset the frame subwindow
13838 cache and re-initialize the window subwindow caches.
13840 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13842 2000-05-09 Ben Wing <ben@xemacs.org>
13844 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13847 2000-04-26 Mike Woolley <mike@bulsara.com>
13849 * ntheap.c: Changed recreate_heap to limit the amount reserved
13850 for the heap to that which is actually available. Also now
13851 displays a message box (with some dignostics) in the event that
13852 it still can't start.
13854 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13856 * callproc.c (Fold_call_process_internal): GCPRO path
13858 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13860 Patch by Bill Perry.
13862 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13863 back data instead of #ifdef.
13864 (Fscrollbar_page_down): ditto.
13866 2000-05-07 Ben Wing <ben@xemacs.org>
13869 Kludge for defining Qmswindows_tstr.
13872 * nt.c (open_input_file):
13873 * nt.c (open_output_file):
13874 * nt.c (rva_to_section):
13875 * nt.c (mswindows_executable_type):
13876 Move all memory-mapped-file routines here (some were in unexnt.c,
13877 which is bad because they are used by process-nt.c, and unexnt
13878 won't be around when portable dumping). Synched the above routines
13882 Removed ifdef'd out bogus code.
13883 Fixed some prototypes.
13885 * nt.h (file_data):
13886 * nt.h (OFFSET_TO_RVA):
13887 * nt.h (RVA_TO_OFFSET):
13888 * nt.h (RVA_TO_PTR):
13889 Moved the memory-mapped-file structures, macros and prototypes
13890 here, to parallel nt.c. ntheap.h should really be removed
13891 entirely, and it's a non-portable-dumper specific file.
13893 * ntheap.h (round_to_next):
13894 Moved the memory-mapped-file structures, macros and prototypes
13897 * ntproc.c (compare_env):
13898 Moved rva_to_section and mswindows_executable_type to nt.c.
13899 Moved compare_env to process-nt.c.
13900 ntproc.c will die, one day.
13902 * ntproc.c (sys_spawnve):
13903 Account for win32_ -> mswindows_.
13906 * process-nt.c (struct nt_process_data):
13907 * process-nt.c (ensure_console_window_exists):
13908 * process-nt.c (compare_env):
13909 * process-nt.c (nt_create_process):
13910 * process-nt.c (nt_kill_process_by_pid):
13911 * process-nt.c (syms_of_process_nt):
13912 * process-nt.c (vars_of_process_nt):
13913 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13914 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13915 changes). Eliminate our old `nt-quote-process-args' mechanism.
13916 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13917 Move compare_env here from ntproc.c.
13919 * process.c (Fprocess_send_region):
13920 Takes an optional fourth argument, BUFFER, which should fix some
13921 problems with call-process.
13924 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13927 Move ICC_BAR_CLASSES to syscommctrl.h.
13928 Add preliminary macros for MSWindows/Mule. More to come.
13931 * unexnt.c (unexec):
13932 open_output_file moved to nt.c.
13935 2000-05-05 Andy Piper <andy@xemacs.org>
13937 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13938 instance from the frame cache also since GC may catch up too late
13939 to make frame deletion sane.
13941 2000-05-04 Andy Piper <andy@xemacs.org>
13943 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13944 (x_finalize_image_instance): ungcpro on deletion.
13946 * glyphs.c (image_instantiator_format_create): give pointers a
13947 query geometry method so that the geometry is at least set.
13949 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13950 initialize layouts if using widgets.
13952 2000-05-03 Andy Piper <andy@xemacs.org>
13954 * nt.c: remove bogus reference to sysmmsystem.h
13956 * gui-x.c (popup_selection_callback): fix no selection abort.
13958 2000-05-02 Andy Piper <andy@xemacs.org>
13960 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13961 (mswindows_widget_instantiate): ditto.
13963 * glyphs-widget.c (initialize_widget_image_instance): initialize
13964 children correctly.
13965 (widget_instantiate): cope with children and items in the same
13968 * glyphs.c (mark_image_instance): cope with children as a first
13970 (image_instance_equal): ditto.
13971 (image_instance_hash): ditto.
13972 (image_instance_changed): ditto.
13974 2000-04-30 Andy Piper <andy@xemacs.org>
13976 * glyphs.c (subwindow_query_geometry): new function. Return some
13978 (subwindow_instantiate): don't assign dimensions if none have been
13980 (image_instantiator_format_create): add subwindow_query_geometry.
13981 (print_image_instance): cope with layouts as widgets.
13983 2000-04-29 Andy Piper <andy@xemacs.org>
13985 * frame.c (delete_frame_internal): call
13986 free_frame_subwindow_instance_cache so that all subwindows are
13987 finalized before their parent.
13988 (mark_frame): remove subwindow_cachels.
13989 (Fmake_frame): remove subwindow_cachel manipulation.
13990 (allocate_frame_core): subwindow_instance_cache is a weak list.
13991 (delete_frame_internal): set subwindow_instance_cache to nil.
13993 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13995 (mswindows_finalize_image_instance): use the device
13996 not the domain as the domain may have died already.
13998 * glyphs-x.c (x_finalize_image_instance): ditto.
13999 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14002 * redisplay-output.c (redisplay_unmap_subwindows): update for
14003 subwindow instance cache as a weak list.
14004 (redisplay_unmap_subwindows_maybe): ditto.
14005 (redisplay_unmap_subwindows_except_us): ditto.
14007 * glyphs.c (unmap_subwindow): error checking will check the domain
14008 so don't deal with it here. Don't use cachels anymore.
14009 (map_subwindow): ditto.
14010 (update_subwindow_cachel_data): remove old accessor names.
14011 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14012 (Fresize_subwindow): don't update cachel.
14013 (mark_subwindow_cachels):
14014 (update_subwindow_cachel_data):
14015 (add_subwindow_cachel):
14016 (get_subwindow_cachel_index):
14017 (update_subwindow_cachel):
14018 (reset_subwindow_cachels):
14019 (mark_subwindow_cachels_as_not_updated): deleted.
14020 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14021 subwindow instance to the frame cache.
14022 (find_matching_subwindow): update for subwindow instance cache as
14024 (update_widget_instances): ditto.
14025 (image_instance_type_to_mask):inlined.
14026 (free_frame_subwindow_instance_cache): new function. finalize all
14027 subwindows that are instantiated.
14029 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14030 of cachel information.
14031 (IMAGE_INSTANCE_DISPLAY_X):
14032 (IMAGE_INSTANCE_DISPLAY_Y):
14033 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14034 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14035 (XIMAGE_INSTANCE_DISPLAY_X):
14036 (XIMAGE_INSTANCE_DISPLAY_Y):
14037 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14038 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14039 remove subwindow_cachel structure and function references.
14040 (image_instance_type_to_mask): inline from glyphs.c
14042 * redisplay.c (redisplay_frame): remove subwindow_cachel
14045 * frame.h (struct frame): remove subwindow_cachels.
14046 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14048 * frameslots.h: add subwindow_instance_cache.
14050 * window.c (replace_window): check subwindow cache of replacement.
14051 (window_unmap_subwindows_cache_mapper):
14052 (window_unmap_subwindows): new functions. Unmap all subwindows
14053 cached on this window.
14054 (mark_window_as_deleted): unmap all subwindows.
14056 2000-04-27 Andy Piper <andy@xemacs.org>
14058 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14060 * glyphs-widget.c (widget_layout): return something.
14061 (layout_layout): return something. Fail if not initialized.
14062 (layout_query_geometry): ditto.
14063 (image_instantiator_native_layout): new function. Initialized the
14064 native layout type.
14065 (widget_instantiate): don't do layout stuff here.
14067 * glyphs.c (instantiate_image_instantiator): reorded calling or
14068 instantiate and post_instantiate with layout in between.
14069 (image_instance_layout): be more selective about deciding whether
14070 the layout has been done or not.
14072 * glyphs.h (struct image_instantiator_methods): return a value
14073 from layout_method.
14075 2000-04-26 Andy Piper <andy@xemacs.org>
14077 * glyphs.c (allocate_image_instance): make initial width and
14078 height unspecified. Set initialized to 0.
14080 * syscommctrl.h new file. Encapsulates commctrl.h.
14082 * syswindows.h new file. Encapsulates windows.h.
14084 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14086 * console-msw.h: ditto.
14088 * redisplay-tty.c (tty_output_display_block): remove layout references.
14090 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14091 window handle rather than just the frame.
14093 * glyphs.c (mark_image_instance): remove layout references.
14094 (print_image_instance): ditto.
14095 (image_instance_equal): ditto.
14096 (image_instance_hash): ditto.
14097 (decode_image_instance_type): ditto.
14098 (encode_image_instance_type): ditto.
14099 (image_instantiate): ditto.
14100 (allocate_glyph): ditto.
14101 (Fimage_instance_height): ditto.
14102 (Fimage_instance_width): ditto.
14103 (update_subwindow): ditto.
14105 * redisplay-x.c (x_output_display_block): recode for layouts as
14108 * redisplay-output.c (redisplay_output_layout): recode for layouts
14110 (compare_runes): remove layout references.
14112 * redisplay-msw.c (mswindows_output_display_block): recode for
14113 layouts as widgets.
14115 * glyphs-widget.c (image_instantiator_layout): remove
14116 layout_possible_dest_types.
14117 (layout_possible_dest_types): deleted.
14119 * glyphs.h (image_instance_type): remove layout references.
14120 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14121 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14122 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14124 2000-04-25 Andy Piper <andy@xemacs.org>
14126 * glyphs-widget.c (image_instantiator_buttons):
14127 (image_instantiator_edit_fields):
14128 (image_instantiator_combo_box):
14129 (image_instantiator_scrollbar):
14130 (image_instantiator_progress_guage):
14131 (image_instantiator_tree_view):
14132 (image_instantiator_tab_control):
14133 (image_instantiator_labels):
14134 (image_instantiator_layout): call default post_instantiate method.
14135 (widget_post_instantiate): new function. Simply lays out the
14138 * glyphs.h (struct image_instantiator_methods): add
14139 post_instantiate method.
14141 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14144 2000-04-23 Andy Piper <andy@xemacs.org>
14146 * glyphs.h (struct image_instantiator_methods): add
14147 decode_domain_method.
14148 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14149 derived from the domain.
14150 (IMAGE_INSTANCE_FRAME): new accessor.
14151 (XIMAGE_INSTANCE_FRAME): ditto.
14153 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14154 instead of _SUBWINDOW_FRAME.
14155 (finalize_image_instance): ditto.
14156 (Fimage_instance_foreground): ditto.
14157 (Fimage_instance_background): ditto.
14158 (image_instantiate): ditto.
14159 (update_subwindow_cachel): ditto.
14160 (update_subwindow): ditto.
14161 (unmap_subwindow): ditto.
14162 (map_subwindow): ditto
14163 (subwindow_instantiate): ditto.
14164 * glyphs-msw.c (mswindows_update_widget): ditto.
14165 (mswindows_progress_gauge_instantiate): ditto.
14166 (mswindows_tab_control_update): ditto.
14167 * glyphs-x.c (x_update_widget): ditto.
14168 (x_widget_instantiate): ditto.
14169 (x_tab_control_instantiate): ditto.
14170 (x_tab_control_update): ditto.
14171 * event-msw.c (mswindows_wnd_proc): ditto
14173 * glyphs-widget.c (image_instantiator_layout): use
14174 subwindow_decode_domain.
14175 (image_instantiator_buttons): ditto.
14176 (image_instantiator_edit_fields): ditto.
14177 (image_instantiator_combo_box): ditto.
14178 (image_instantiator_scrollbar): ditto.
14179 (image_instantiator_progress_guage): ditto.
14180 (image_instantiator_tree_view): ditto.
14181 (image_instantiator_tab_control): ditto.
14182 (image_instantiator_labels): ditto.
14183 (image_instantiator_layout): ditto.
14185 * glyphs.c: add instance error checking to many functions.
14186 (instantiate_image_instantiator): decode device from cache_domain.
14187 (image_instantiate): partially rewrite by using
14188 decode_image_instantiator_domain to determine what domain the
14189 instance needs to be cached in.
14190 (decode_image_instantiator_domain): new function. Determine what
14191 domain the image needs to be cached in.
14192 (check_window_subwindow_cache): new error checking function.
14193 (check_instance_cache_mapper): ditto.
14194 (check_image_instance_structure): ditto.
14195 (subwindow_decode_domain): new function. Encodes a window as a
14196 subwindow's cache domain.
14197 (image_instantiator_format_create): use it for text and
14200 2000-04-21 Andy Piper <andy@xemacs.org>
14202 * glyphs.c (image_instance_device): new function.
14203 (image_instance_frame): new function.
14204 (image_instance_window): new function.
14205 (image_instance_live_p): new function.
14207 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14210 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14211 (IMAGE_INSTANCE_DOMAIN): new accessor.
14212 (XIMAGE_INSTANCE_DOMAIN): ditto.
14214 * glyphs-x.c (x_finalize_image_instance): device->domain.
14216 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14217 (mswindows_finalize_image_instance): ditto.
14219 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14220 (gif_instantiate): ditto.
14221 (png_instantiate): ditto.
14222 (tiff_instantiate): ditto.
14224 * glyphs.c (instantiate_image_instantiator): use domain rather
14226 (mark_image_instance): device -> domain.
14227 (print_image_instance): ditto.
14228 (finalize_image_instance): ditto.
14229 (image_instance_equal): ditto.
14230 (allocate_image_instance): ditto.
14231 (Fcolorize_image_instance): ditto.
14232 (query_string_geometry): ditto.
14233 (image_instantiate): ditto
14234 (query_string_font): ditto.
14235 (image_instantiate): ditto.
14236 (update_subwindow): ditto.
14237 (unmap_subwindow): ditto.
14238 (map_subwindow): ditto.
14239 (subwindow_instantiate): ditto.
14241 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14242 (DOMAIN_FRAME): ditto.
14243 (DOMAIN_WINDOW): ditto.
14244 (DOMAIN_LIVE_P): ditto.
14245 (XDOMAIN_DEVICE): ditto.
14246 (XDOMAIN_FRAME): ditto.
14247 (XDOMAIN_WINDOW): ditto.
14249 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14250 a valid specifier domain.
14252 2000-04-19 Andy Piper <andy@xemacs.org>
14254 * glyphs-widget.c (syms_of_glyphs_widget): remove
14255 widget-callback-current-channel.
14256 (vars_of_glyphs_widget): ditto.
14259 * gui.c (get_gui_callback): revert to previous behaviour.
14261 2000-04-18 Andy Piper <andy@xemacs.org>
14263 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14264 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14265 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14267 * glyphs.c (image_instance_equal): add margin_width.
14268 (image_instance_hash): ditto.
14270 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14271 (layout_query_geometry): ditto.
14272 (layout_layout): ditto.
14273 (syms_of_glyphs_widget): add margin-width.
14274 (image_instantiator_layout): allow margin-width.
14276 * glyphs.c (update_widget_instances): make a normal function.
14277 (syms_of_glyphs): remove Qupdate_widget_instances.
14280 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14281 so that we don't corrupt ideas about the last event or
14282 command. Remove widget-callback-current-channel fiddling.
14283 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14285 2000-05-01 Martin Buchholz <martin@xemacs.org>
14287 * XEmacs 21.2.33 is released.
14289 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14291 * make-src-depend: Allow dots in header file name.
14293 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14295 * mule-charset.h (struct charset_lookup): Add
14296 next_allocated_1_byte_leading_byte and
14297 next_allocated_2_byte_leading_byte.
14298 * mule-charset.c: Move above two variables so that those values
14301 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14303 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14304 when string length is zero.
14305 (find_charsets_in_emchar_string): Ditto.
14307 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14309 * lisp.h: extern Qdialog and Qmenubar.
14311 * gui-x.c: added events.h.
14312 also fixed typo which made the file uncompilable.
14314 * general.c: Added Qmenubar and Qdialog
14316 2000-04-28 Ben Wing <ben@xemacs.org>
14318 * frame-msw.c (mswindows_init_frame_1):
14319 * frame-msw.c (mswindows_mark_frame):
14320 * event-msw.c (mswindows_enqueue_dispatch_event):
14322 * console-msw.h (struct mswindows_frame):
14323 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14324 there are now three hash tables for callbacks.
14325 mswindows_enqueue_dispatch_event is no longer static.
14327 * dialog-x.c (maybe_run_dbox_text_callback):
14328 * dialog-x.c (dbox_descriptor_to_widget_value):
14329 switch to new cons3 form for callbacks.
14331 * glyphs-msw.c (mswindows_register_gui_item):
14332 * glyphs-msw.c (mswindows_widget_instantiate):
14333 * glyphs-msw.c (add_tree_item):
14334 * glyphs-msw.c (add_tab_item):
14335 new image instance parameter, so it can be passed to callback-ex.
14336 respect :callback-ex as well as :callback.
14338 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14341 * glyphs.c (print_image_instance):
14342 prettify, e.g. now prints widget type.
14345 certain funs have new image instance parameter.
14348 * gui.c (get_gui_callback):
14349 * gui.c (gui_item_add_keyval_pair):
14350 * gui.c (gui_item_init):
14351 * gui.c (gui_add_item_keywords_to_plist):
14352 * gui.c (mark_gui_item):
14353 * gui.c (gui_item_hash):
14354 * gui.c (gui_item_equal):
14355 * gui.c (copy_gui_item):
14356 * gui.c (syms_of_gui):
14357 recognize callback-ex in a number of places.
14358 also, fix the annoying "can't get out of yes-no dialog" bug.
14361 * gui.h (struct Lisp_Gui_Item):
14362 recognize callback-ex in a number of places.
14364 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14365 new parameter in button_item_to_widget_value.
14367 * glyphs-x.c (x_update_widget):
14368 * glyphs-x.c (x_button_instantiate):
14369 * glyphs-x.c (x_button_update):
14370 * glyphs-x.c (x_progress_gauge_instantiate):
14371 * glyphs-x.c (x_edit_field_instantiate):
14372 * glyphs-x.c (x_combo_box_instantiate):
14373 * glyphs-x.c (x_tab_control_instantiate):
14374 * glyphs-x.c (x_label_instantiate):
14375 new image instance parameter in various places.
14378 * event-Xt.c (enqueue_Xt_dispatch_event):
14379 this fun gets exported.
14382 * gui-msw.c (mswindows_handle_gui_wm_command):
14383 handle both :callback and :callback-ex, and generate our own
14384 event because it's one of the callback-ex arguments.
14387 * gui-x.c (popup_selection_callback):
14388 handle both :callback and :callback-ex, and generate our own
14389 event because it's one of the callback-ex arguments.
14390 * gui-x.c (button_item_to_widget_value):
14391 * gui-x.c (gui_items_to_widget_values_1):
14392 * gui-x.c (gui_item_children_to_widget_values):
14393 * gui-x.c (gui_items_to_widget_values):
14394 new image instance parameter in various places.
14396 * fns.c (Freplace_list):
14397 fix small typo in doc string.
14400 declare enqueue_Xt_dispatch_event.
14402 2000-04-28 Ben Wing <ben@xemacs.org>
14405 * buffer.c (Frecord_buffer):
14406 * buffer.c (syms_of_buffer):
14407 delete record-buffer-hook.
14410 * fns.c (Freplace_list):
14411 * fns.c (syms_of_fns):
14412 new primitive replace-list.
14415 slot for old buffer-alist.
14418 exfun replace-list.
14421 * redisplay.c (redisplay_frame):
14422 * redisplay.c (syms_of_redisplay):
14423 * redisplay.c (vars_of_redisplay):
14424 new hook buffer-list-changed-hook.
14427 2000-04-27 Ben Wing <ben@xemacs.org>
14429 * extents.h: extern in_modeline_generation.
14431 * redisplay.c (generate_formatted_string_db): set
14432 in_modeline_generation.
14434 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14435 flags if in modeline generation. otherwise frame-modified-tick
14436 is ticked far too often.
14437 Declare in_modeline_generation.
14439 2000-04-26 Ben Wing <ben@xemacs.org>
14441 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14443 (vars_of_emacs): add quick-build as an error-checking option.
14444 A bit kludgy, but there doesn't seem much point in creating
14445 a real var for this.
14447 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14449 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14451 * redisplay.h (struct display_line): Add a new variable,
14454 * redisplay.c (create_text_block): Set dl->line_continuation if
14455 the line continues.
14456 (create_string_text_block): Ditto.
14457 (regenerate_window_incrementally): Use line_continuation instead
14458 of searching continuation glyph.
14459 (add_margin_runes): Call add_glyph_rune.
14460 (add_glyph_rune): Handle margin glyph.
14462 2000-04-20 Martin Buchholz <martin@xemacs.org>
14464 * filelock.c (fill_in_lock_file_name):
14466 Check for IS_ANY_SEP instead of '/'.
14468 Avoid generating gratuitous garbage. Call user_login_name() directly.
14469 Never check errno without first seeing that system call failed.
14470 (unlock_file): Add GCPRO.
14471 (Flock_buffer): Fix docstring.
14472 (Ffile_locked_p): Fix docstring. Add GCPRO.
14474 2000-04-19 Martin Buchholz <martin@xemacs.org>
14476 * sysdep.c (get_pty_max_bytes):
14477 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14478 strings longer than 252 bytes.
14480 * md5.c: Unconditionally include ANSI header <limits.h>
14482 * glyphs-x.c (convert_EImage_to_XImage):
14483 * lisp-union.h (union Lisp_Object):
14484 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14486 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14488 * filelock.c (current_lock_owner): Remove unused variable o, p.
14490 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14492 * callint.c: Remove multiply defined symbol Qlet
14493 (syms_of_callint): ditto.
14495 2000-04-14 Andy Piper <andy@xemacs.org>
14497 * general.c (syms_of_general): add last-command, this-command, let
14500 * lisp.h: declare various symbols.
14502 * glyphs.h: declare Qwidget_callback_current_channel;
14504 * glyphs-widget.c (syms_of_glyphs_widget): add
14505 Qgui_callback_current_channel.
14506 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14508 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14509 widget-callback-current-channel when invoking the interactive
14510 arg. Also bind last-command and next-command when invoking the
14512 * gui-x.c (popup_selection_callback): ditto.
14514 * gui.c (get_gui_callback): massage args so that we are always
14515 calling eval. This allows us to add our own variable bindings
14518 * glyphs-x.c (x_button_instantiate): use
14519 gui_items_to_widget_values since this is GC safe.
14520 (x_progress_gauge_instantiate): ditto.
14521 (x_edit_field_instantiate): ditto.
14522 (x_label_instantiate): ditto.
14524 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14525 (emacs_Xt_event_widget_focus_out): new function
14526 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14528 (emacs_Xt_event_add_widget_actions): new function. add focus
14529 functions as actions.
14530 (init_event_Xt_late): use it.
14532 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14534 * event-stream.c (Fdispatch_event): Doc fix.
14536 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14538 * postgresql.c: Remove all references to PQsetenv*.
14540 * postgresql.h: Remove references to PGsetenvHandler object.
14541 * lrecord.h (lrecord_type): Ditto.
14543 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14545 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14546 real_heigh and real_width members, and accessor macros for these.
14548 * glyphs-msw.c (init_image_instance_geometry): New function.
14549 (init_image_instance_from_dibitmap): Use it.
14550 (mswindows_resource_instantiate): Use it.
14551 (init_image_instance_from_xbm_inline): Use it.
14552 (mswindows_initialize_image_instance_mask): Use real bitmap
14554 (mswindows_create_resized_bitmap): Ditto.
14555 (mswindows_create_resized_mask): Ditto.
14557 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14558 and bitmap to their surface size.
14560 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14562 * process-unix.c (unix_send_process): Guard against process MIA
14563 after Faccept_process_output.
14565 2000-04-11 Ben Wing <ben@xemacs.org>
14567 * eval.c (unbind_to_hairy): fix brokenness introduced by
14568 nanosecond speed improvements.
14570 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14572 * sunplay.c (init_device): To play sounds correctly, the device
14573 apparently needs to be initialized at least once by XEmacs. Make
14576 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14578 * redisplay.c (add_margin_runes): Add text image glyph
14581 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14583 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14584 gcc is newer than 2.5.
14586 2000-04-06 Colin Rafferty <colin@xemacs.org>
14588 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14590 * fns.c (size_bit_vector):
14591 * alloc.c (size_vector):
14592 (make_vector_internal):
14593 (make_bit_vector_internal):
14594 (sweep_bit_vectors_1):
14595 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14597 2000-04-06 Andy Piper <andy@xemacs.org>
14599 * gmalloc.c (malloc): undo previous change.
14604 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14606 * line-number.c (buffer_line_number): Revert to former version.
14608 2000-04-06 Andy Piper <andy@xemacs.org>
14610 * gmalloc.c (malloc): add error checking.
14615 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14616 button_item_to_widget_value arg.
14618 * glyphs-x.c (x_button_instantiate): add extra
14619 button_item_to_widget_value arg.
14620 (x_progress_gauge_instantiate): ditto.
14621 (x_edit_field_instantiate): ditto.
14622 (x_label_instantiate): ditto.
14624 * gui-x.c (gui_items_to_widget_values_1): add extra
14625 button_item_to_widget_value arg.
14626 (button_item_to_widget_value): add extra menu_item_p arg.
14628 * gui-x.h: change signature of button_item_to_widget_value.
14630 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14631 button_item_to_widget_value arg.
14633 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14635 * buffer.h (struct buffer): auto_save_modified should be long.
14637 2000-04-05 Andy Piper <andy@xemacs.org>
14639 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14641 (button_query_geometry): give a little more room so that athena
14644 2000-04-05 Andy Piper <andy@xemacs.org>
14646 * faces.c (complex_vars_of_faces): The widget face should inherit
14647 the font of the gui-element face.
14649 2000-04-04 Andy Piper <andy@xemacs.org>
14651 * glyphs-x.c (x_button_update): new function. unconditionally
14652 update a button's state when the instance is dirty.
14653 (image_instantiator_format_create_glyphs_x): add x_button_update.
14654 (x_widget_instantiate): remove old resize cruft.
14656 2000-04-02 Andy Piper <andy@xemacs.org>
14658 * frame.c (change_frame_size_1): The introduction of gutters means
14659 that we need to allow 0 as a potential frame dimension.
14661 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14663 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14664 image glyph if allow_cursor.
14665 (add_hscroll_rune): Don't allow cursor to border glyph.
14666 (create_text_block): Ditto.
14668 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14669 text not in buffer.
14670 (redisplay_output_layout): Call ensure_face_cachel_complete for
14674 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14676 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14678 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14681 * redisplay-tty.c (tty_output_display_block): Delete the routine
14682 for text image glyph
14683 * redisplay-x.c (x_output_display_block): ditto
14684 * redisplay-msw.c (mswindows_output_display_block): ditto
14686 2000-02-02 Mike Alexander <mta@arbortext.com>
14688 Note: Some of these were committed by accident as part of other
14691 * regex.c (regex_compile): Avoid compiler warnings.
14693 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14695 * nt.h: Declare term_ntproc correctly.
14697 * nt.c: Remove incorrect declaration of get_home_directory which
14698 is declared correctly in lisp.h.
14700 * keymap.c (get_keyelt): Avoid compiler warnings.
14701 (raw_lookup_key_mapper): Avoid compiler warnings.
14703 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14705 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14707 * filemode.c (mode_string): Avoid compiler warnings.
14709 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14712 * events-mod.h: Undef some things that winuser.h defines differently.
14714 * data.c (Faset): Avoid compiler warnings.
14716 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14718 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14720 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14721 Fall through to simple beep on error.
14722 Replace "extern" by real header file.
14724 * linuxplay.c: Use nativesound.h
14725 (play_sound_data): Return error code. Be less verbose on error.
14727 * sunplay.c: Use nativesound.h
14728 (play_sound_data): Return error code. Be less verbose on error.
14730 * ntplay.c: Use nativesound.h
14731 (play_sound_data): Return fake error code
14733 * sgiplay.c: Use nativesound.h
14734 (play_sound_data): Return error code
14736 * hpplay.c: Use nativesound.h, partially implement
14737 new error code. Break compilation until finished.
14738 (play_sound_data): error code.
14740 * nativesound.h (play_sound_file):
14741 (play_sound_data): Prototype in new header.
14743 2000-03-31 Andy Piper <andy@xemacs.org>
14745 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14746 for toggle and radio buttons.
14747 (image_instantiator_buttons): use it.
14749 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14751 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14752 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14753 found. Scrollbar event probably belonged to some old config.
14755 2000-03-31 Andy Piper <andy@xemacs.org>
14757 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14759 (initialize_widget_image_instance): default layout to
14760 LAYOUT_HORIZONTAL rather than 0.
14761 (widget_instantiate): reverse the item list at the end rather than
14763 (layout_layout): re-code for the border text at the front of the
14764 item list rather than at the end.
14765 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14766 provided by the user.
14767 (widget_query_geometry): comment.
14769 2000-03-30 Andy Piper <andy@xemacs.org>
14771 * glyphs-widget.c (image_instantiator_layout): allow standard
14772 widget keywords in layouts.
14774 * gutter.c (output_gutter): cope with nil gutter contents.
14776 * frame.c (Fset_frame_properties): add gutter docs.
14778 2000-03-29 Andy Piper <andy@xemacs.org>
14780 * toolbar-msw.c (TBSTYLE_FLAT): add.
14781 (mswindows_output_toolbar): minor fiddling.
14783 2000-03-29 Andy Piper <andy@xemacs.org>
14785 * gutter.c (output_gutter): force gutter size recalculation if
14786 what we are trying to display won't fit.
14787 (update_gutter_geometry): new function. A per-gutter version of
14788 update_frame_gutter_geometry.
14789 (update_frame_gutter_geometry): use it.
14790 (redraw_exposed_gutter): add extra debugging output.
14792 2000-03-28 Mike Alexander <mta@arbortext.com>
14794 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14795 (pdump_file_unmap): Implement it on Windows
14796 (pdump_file_get): Save alocated handles for pdump_file_unmap
14798 2000-03-28 Andy Piper <andy@xemacs.org>
14800 * gui.c (get_gui_callback): treat Quit specially.
14802 2000-03-27 Andy Piper <andy@xemacs.org>
14804 * glyphs.c (image_instantiate): be careful to check in the same
14807 2000-03-27 Didier Verna <didier@xemacs.org>
14809 * config.h.in: define the proper SMART_INCLUDE macro.
14810 handle renaming of `foo_h_path' to `foo_h_file'.
14812 * database.c: ditto.
14816 * linuxplay.c: ditto.
14818 * terminfo.c: ditto.
14820 * tooltalk.h: ditto.
14822 2000-03-27 Andy Piper <andy@xemacs.org>
14824 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14825 gets updated whenever the face might have changed.
14827 2000-03-26 Mike Alexander <mta@arbortext.com>
14829 * dumper.c (pdump_resource_free): Fix the comment.
14831 2000-03-21 Olivier Galibert <galibert@pobox.com>
14833 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14835 2000-03-22 Mike Alexander <mta@arbortext.com>
14837 * dumper.c: Include Windows headers on Windows
14838 (pdump_resource_free): Add a body to the function
14839 (pdump_load): exe_name -> exe_path and add some comments.
14841 2000-03-25 Mike Alexander <mta@arbortext.com>
14843 * gui.c (copy_gui_item_tree): Return a value in all cases
14845 2000-03-21 Didier Verna <didier@xemacs.org>
14847 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14849 (SMART_INCLUDE): new macro.
14850 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14851 the proper location.
14853 * postgresql.c: use it.
14857 2000-03-24 Andy Piper <andy@xemacs.org>
14859 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14862 2000-03-24 Andy Piper <andy@xemacs.org>
14864 * redisplay-output.c (compare_runes): use image_instance_changed
14865 to detect changes. Do not depend on glyphs_changed, only depend on
14867 (redisplay_output_layout): add debug messages.
14868 (compare_runes): ditto.
14870 * glyphs.h: declare new functions.
14871 (struct Lisp_Image_Instance): remove percent and associated
14874 * gui.h: declare new copying functions.
14876 * gui.c (copy_gui_item_tree): new function.
14877 (copy_gui_item): new function.
14878 (gui_item_id_hash): revert to standard hash.
14879 (gui_item_hash): ditto.
14880 (gui_item_hash_internal): deleted.
14881 (mark_gui_item): mark value.
14882 (gui_item_add_keyval_pair): add value.
14883 (gui_item_init): ditto.
14884 (gui_add_item_keywords_to_plist): ditto.
14885 (gui_item_equal): ditto.
14886 (syms_of_gui): add Q_value.
14888 * glyphs-x.c (x_progress_gauge_update): use pending items and
14889 value for setting the state.
14890 (x_update_widget): don't set items from pending here.
14892 * glyphs-widget.c (update_widget): update items here.
14893 (progress_gauge_set_property): use items for storing value. Put
14894 new value in pending items.
14896 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14897 items for new value. Convert percent -> value.
14898 (mswindows_tab_control_update): don't update items here.
14900 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14901 (update_subwindow): ditto.
14902 (image_instance_changed): new function. Compare hash values and
14903 past and present widget items.
14904 (image_instantiate): We more careful about where we instantiate
14906 (image_instantiate): add error checking.
14908 * gutter.c (syms_of_gutter): use -hook.
14910 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14912 * console-tty.c (Fset_console_tty_input_coding_system): Use
14914 (Fset_console_tty_output_coding_system): Use Qterminal.
14915 (tty_init_console): Use Qkeyboard and Qterminal.
14917 2000-03-21 Ben Wing <ben@xemacs.org>
14919 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14920 From Mike Alexander <mta@arbortext.com>.
14922 2000-03-21 Ben Wing <ben@xemacs.org>
14924 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14925 process brokenness. Proper implementation to come.
14927 Rename call-process-internal to old-call-process-internal.
14928 New impl. in process.el.
14930 2000-03-21 Martin Buchholz <martin@xemacs.org>
14932 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14934 2000-03-20 Andy Piper <andy@xemacs.org>
14936 * glyphs.c (full_list_hash): make hashes of the same elements in
14937 different orders return different values.
14939 2000-03-20 Martin Buchholz <martin@xemacs.org>
14941 * XEmacs 21.2.32 is released.
14943 2000-03-20 Martin Buchholz <martin@xemacs.org>
14945 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14946 (DFC_MALLOC_USE_CONVERTED_DATA):
14947 Add aliasing-safe casts to allow use with char* or unsigned char*
14950 * eldap.c (Fldap_open):
14951 (Fldap_search_basic):
14954 Make C++-compilable.
14955 Make sure GCPRO'ed variables are initialized.
14956 Use temp variables to avoid repeated calls to Flength.
14958 2000-03-16 Martin Buchholz <martin@xemacs.org>
14961 Make sure PATH_MAX is always defined.
14962 Include limits.h for PATH_MAX.
14963 Deprecate use of MAXPATHLEN.
14965 2000-03-10 Martin Buchholz <martin@xemacs.org>
14967 * emacs.c: Add reinit_vars_of_fileio.
14968 * symsinit.h: Add reinit_vars_of_fileio.
14969 * fileio.c (reinit_vars_of_fileio): New.
14970 * fileio.c (Fmake_temp_name):
14971 Initialize temp_name random number from microseconds to make
14972 collisions even less likely. Initialize always at process startup
14973 time. (make-temp-name) used to return the same file name twice in
14975 Random stylistic fiddling.
14978 2000-03-20 Andy Piper <andy@xemacs.org>
14980 * glyphs.c (image_instantiate): allow text glyphs to be
14981 instantiated in the minibuffer window.
14983 2000-03-19 Andy Piper <andy@xemacs.org>
14985 * glyphs.c (image_instance_hash): be careful about which items we
14988 * glyphs-widget.c (tab_control_set_property): record into pending
14989 items rather than the actual items.
14991 * glyphs-x.c (x_update_widget): use pending items to update with.
14993 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14996 * glyphs.c (mark_image_instance): mark pending items.
14998 * window.c (Fset_window_configuration): record the buffer.
14999 (Fselect_window): totally revert previous change which breaks many
15002 2000-03-18 Andy Piper <andy@xemacs.org>
15004 * glyphs-msw.c (mswindows_tab_control_update): force selected
15007 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15008 window domain cache, otherwise we get inconsistencies at
15009 startup. There is something fishy at startup which can lead to the
15010 minibuffer being the selected window when the gutter content is
15013 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15015 (parse_gui_item_tree_children): ditto.
15016 (parse_gui_item_tree_item): ditto.
15018 * glyphs.c (Fupdate_widget_instances): return something.
15020 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15022 * window.c (Fselect_window): Undo 2000-03-17 change.
15024 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15026 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15027 against v7.0 libraries. Insta-coredump city until the postgres
15030 2000-03-17 Andy Piper <andy@xemacs.org>
15032 * faces.c (complex_vars_of_faces): don't give the widget face an
15033 inherited background pixmap.
15035 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15038 * event-stream.c (Fdispatch_non_command_events): return something.
15040 * gutter.c (output_gutter): use widget face.
15041 (clear_gutter): ditto.
15043 * NEWS: adjust again.
15045 * window.c (Fselect_window): make sure this runs to completion to
15046 avoid oddities with Fset_window_configuration.
15047 (Fcurrent_window_configuration): in general do not save the
15048 minibuffer as the selected window.
15050 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15052 2000-03-16 Olivier Galibert <galibert@pobox.com>
15054 * emacs.c (Frunning_temacs_p): Revert previous patch.
15055 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15057 2000-03-16 Andy Piper <andy@xemacs.org>
15059 * glyphs-x.c (x_tab_control_update): if no widget values then
15062 * NEWS: update for new features.
15064 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15065 synthetic event to the native system.
15066 (reinit_vars_of_event_Xt): set force_event_pending to
15067 emacs_Xt_force_event_pending.
15069 * events.h (struct event_stream): add force_event_pending.
15071 * specifier.c (recompute_one_cached_specifier_in_window): add
15074 * redisplay.c (redisplay_frame): don't call
15075 update_frame_subwindows. Reset subwindow cachels when
15076 subwindows_changed, removing this was an optimization too far.
15078 * redisplay-output.c (compare_runes): reorganize so that we catch
15079 glyph changes when we want them. Set optimize_output when this
15080 would help layouts.
15081 (redisplay_output_layout): remove frame_really_changed, use
15082 optimize_output instead.
15084 * redisplay-msw.c (mswindows_output_display_block): reset
15085 optimize_output after outputting a glyph.
15086 * redisplay-x.c (x_output_display_block): ditto.
15087 * redisplay-tty.c (tty_output_display_block): ditto.
15089 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15091 (gutter_specs_changed): do specific gutter positions.
15092 (top_gutter_specs_changed): new function. Only update the
15093 specified gutter specs.
15094 (bottom_gutter_specs_changed): ditto.
15095 (left_gutter_specs_changed): ditto.
15096 (right_gutter_specs_changed): ditto.
15098 * gui.c (gui_item_hash_internal): new function, does a real hash.
15099 (gui_item_id_hash): use it.
15100 (gui_item_hash): hash the eval'ed gui_item.
15102 * gui-x.c (popup_selection_callback): send an eval event to call
15103 Fupdate_widget_instances.
15105 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15106 to call Fupdate_widget_instances.
15108 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15109 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15111 * glyphs.c: (update_frame_subwindows): deleted.
15112 (Fupdate_widget_instances): new function for updating the dirty
15113 state of widgets that might have changed.
15114 (syms_of_glyphs): add Qupdate_widget_instances.
15115 (full_list_hash): hash a list completely.
15116 (image_instance_hash): use it for items and properties.
15118 * frame-msw.c (mswindows_size_frame_internal): remove unused
15121 * faces.h (struct face_cachel): fix comment.
15123 * event-stream.c (Fdispatch_non_command_events): new
15124 function. Process non-command events, forcing an event cycle
15126 (syms_of_event_stream): declare.
15127 (event_stream_force_event_pending): new function. Force an event
15128 on the native event queue so that an event cycle will occur next
15132 (struct ntpipe_shove_stream):
15133 (mswindows_enqueue_dispatch_event):
15134 (mswindows_dequeue_dispatch_event):
15135 (mswindows_cancel_dispatch_event):
15136 (mswindows_pump_outstanding_events):
15137 (mswindows_drain_windows_queue):
15138 (mswindows_handle_paint):
15139 (mswindows_wnd_proc):
15140 (mswindows_key_to_emacs_keysym):
15141 (get_process_input_waitable):
15142 (emacs_mswindows_delete_stream_pair): re-indent file.
15143 (mswindows_need_event): do not process further fds if the windows
15144 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15145 fixes the 100% cpu problem.
15146 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15148 2000-03-15 Olivier Galibert <galibert@pobox.com>
15154 * emacs.c: Moved dump file searching to dumper.c.
15155 (Frunning_temacs_p): Fixed.
15157 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15158 last_lrecord_type_index_assigned.
15160 2000-02-20 Olivier Galibert <galibert@pobox.com>
15162 * symsinit.h: Added reinit parameter to init_console_stream
15165 * lisp.h: Added file parameter to pdump_load declaration.
15167 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15168 support. Added dump file searching.
15170 * config.h.in: Added EMACS_PROGNAME.
15172 * console-stream.c (init_console_stream): Fix reinitialisation
15173 when running from temacs.
15175 * alloc.c (pdump): Add id support.
15176 (pdump_load): Add file parameter and signature/id support.
15178 * Makefile.in.in: Add full pdump support.
15180 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15182 * postgresql.c: Update documentation to reflect latest code
15184 (print_result): Show tuple counts in printed representation when
15186 (Fpq_put_nbytes): MULE-ize.
15187 (Fpq_get_line_async): Ditto.
15189 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15191 * postgresql.c (Fpq_lo_import): Fix return value.
15192 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15194 2000-03-13 Ben Wing <ben@xemacs.org>
15196 * alloc.c (pdump_load):
15197 Fix compile warning under mswin.
15199 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15201 * postgresql.c: Mule-ization, bug fixes.
15202 Use PG_CODING to encapsulate coding system name changes.
15203 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15204 (pg-coding-system): Create.
15206 (Fpq_conn_defaults): Mule-ize.
15207 (Fpq_connectdb): Mule-ize & bug fix.
15208 (Fpq_connect_start): Mule-ize.
15209 (Fpq_set_client_encoding): Mule-ize.
15210 (Fpq_finish): Document `DEAD' connection status.
15211 (Fpq_clear): Ditto.
15212 (Fpq_pgconn): Mule-ize.
15213 (Fpq_exec): Mule-ize & bug fix.
15214 (Fpq_send_query): Ditto.
15215 (Fpq_get_result): Ditto.
15216 (Fpq_res_status): Mule-ize.
15217 (Fpq_result_error_message): Mule-ize.
15218 (Fpq_ntuples): fix comments.
15219 (Fpq_fname): Mule-ize.
15220 (Fpq_fnumber): Mule-ize.
15221 (Fpq_ftype): fix comments.
15222 (Fpq_get_value): Mule-ize.
15223 (Fpq_cmd_status): Ditto.
15224 (Fpq_cmd_tuples): Ditto.
15225 (Fpq_oid_value): Ditto.
15226 (Fpq_notifies): Ditto.
15227 (Fpq_lo_import): Ditto.
15228 (Fpq_lo_export): Ditto.
15229 (Fpq_get_line): Ditto.
15230 (Fpq_put_line): Mule-ize and bug fix.
15231 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15233 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15235 * postgresql.c (vars_of_postgresql): Mule-ize.
15236 (Fpq_conn_defaults): Ditto.
15238 2000-03-12 Ben Wing <ben@xemacs.org>
15240 * alloc.c (Fmake_byte_code):
15241 * alloc.c (debug_string_purity_print):
15242 * alloc.c (pdump_backtrace):
15243 * alloc.c (pdump_get_indirect_count):
15244 * alloc.c (pdump_register_sub):
15245 * alloc.c (pdump_register_object):
15246 * alloc.c (pdump_register_struct):
15247 * alloc.c (pdump_dump_data):
15248 * alloc.c (pdump_reloc_one):
15252 * console-msw.c (GetConsoleHwnd):
15253 * console-msw.c (msw_hide_console):
15254 * console-msw.c (msw_show_console):
15255 * console-msw.c (msw_ensure_console_buffered):
15256 * console-msw.c (msw_output_console_string):
15257 * console-msw.c (console_type_create_mswindows):
15259 a) Added functions to manipulate the console window for use with
15262 b) Added support for writing text to the console, which is now
15263 used under Windows when xemacs is not being run non-interactively,
15264 to write text that would otherwise be destined for stdout because
15265 under these circumstances, text written to stdout tends to
15266 disappear and not be seen.
15270 * event-Xt.c (x_event_to_emacs_event):
15271 * event-Xt.c (describe_event_window):
15272 * events-mod.h (XEMACS_MOD_CONTROL):
15274 * events.c (Fmake_event):
15275 * events.c (character_to_event):
15276 * events.c (event_to_character):
15277 * events.c (format_event_object):
15278 * events.c (Fevent_modifiers):
15280 * events.h (struct key_data):
15281 * events.h (struct button_data):
15282 * events.h (struct misc_user_data):
15283 * frame-x.c (Fcde_start_drag_internal):
15284 * frame-x.c (Foffix_start_drag_internal):
15285 * gpmevent.c (Freceive_gpm_event):
15287 * keymap.c (bucky_sym_to_bucky_bit):
15288 * keymap.c (control_meta_superify):
15289 * keymap.c (make_key_description):
15290 * keymap.c (keymap_lookup_directly):
15291 * keymap.c (create_bucky_submap):
15292 * keymap.c (keymap_store):
15293 * keymap.c (define_key_check_and_coerce_keysym):
15294 * keymap.c (define_key_parser):
15295 * keymap.c (define_key_alternate_name):
15296 * keymap.c (Fdefine_key):
15297 * keymap.c (raw_lookup_key_mapper):
15298 * keymap.c (struct map_keymap_unsorted_closure):
15299 * keymap.c (map_keymap_unsorted_mapper):
15300 * keymap.c (map_keymap_sort_predicate):
15301 * keymap.c (map_keymap_sorted):
15302 * keymap.c (accessible_keymaps_mapper_1):
15303 * keymap.c (where_is_recursive_mapper):
15304 * keymap.c (describe_map_mapper):
15305 * keymap.c (describe_map_sort_predicate):
15306 * keymap.c (describe_map):
15307 * keymap.c (complex_vars_of_keymap):
15308 And a number of other files, the key modifier preprocessor
15309 constants that xemacs uses have names that conflict with constants
15310 defined under MS Windows for other purposes, so they were renamed
15311 to begin with the prefix XEMACS_. The variables that hold such
15312 modifiers were changed to consistently be of type int to fix
15313 various compile warnings.
15315 * console.c (complex_vars_of_console):
15318 * device-msw.c (mswindows_finish_init_device):
15319 * device-msw.c (msw_get_workspace_coords):
15320 * device-msw.c (mswindows_device_system_metrics):
15321 and various other files, added support for a new
15322 device property called offset-workspace which returns the position
15323 of the upper left corner of the workspace area and goes along with
15324 the existing size-workspace property.
15327 * dialog-msw.c (push_bufbyte_string_as_unicode):
15328 * dialog-msw.c (mswindows_popup_dialog_box):
15329 Added support for XEmacs-style accelerator specifications in
15330 button text. Note: I didn't add support for this under X Windows,
15331 and somebody needs to do this.
15334 * dialog.c (Fpopup_dialog_box):
15335 Documented the support for accelerators that was just mentioned.
15337 editfns.c (get_home_directory): Changed behavior under Windows
15338 when HOME not defined; former behavior was irretrievably broken.
15341 * emacs.c (main_1):
15343 * minibuf.c (clear_echo_area_internal):
15344 * minibuf.c (echo_area_append):
15346 * print.c (std_handle_out_external):
15347 * print.c (std_handle_out_va):
15349 * print.c (write_string_to_stdio_stream):
15350 * print.c (output_string):
15351 * print.c (debug_print):
15352 * print.c (debug_backtrace):
15353 * print.c (debug_short_backtrace):
15354 Cleaned up the code that prints text to stdout so that this can be
15355 changed to output into a console window instead under MS Windows,
15356 as described above.
15359 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15360 * eval.c (internal_catch):
15361 * eval.c (unwind_to_catch):
15362 * eval.c (throw_or_bomb_out):
15363 * eval.c (condition_case_1):
15364 * eval.c (signal_1):
15365 * eval.c (check_error_state_sanity):
15366 * eval.c (call_with_suspended_errors_1):
15367 * eval.c (call_with_suspended_errors):
15368 * eval.c (reinit_vars_of_eval):
15369 Added code to catch throw loops and check for a pesky bug that may
15373 * event-msw.c (key_needs_default_processing_p):
15374 * event-msw.c (mswindows_wnd_proc):
15375 * event-msw.c (mswindows_modifier_state):
15376 * event-msw.c (emacs_mswindows_quit_p):
15377 * event-msw.c (vars_of_event_mswindows):
15378 a) Added support for using the alt key to select menu items as is
15379 standard under MS Windows. This is controlled using the variable
15380 menu-accelerator-enabled, just like under X Windows. There is an
15381 option on the options menu to turn this support on. I really
15382 think that it should be on by default under Windows, but I'm not
15383 going to make this change yet.
15385 b) Added support for dynamic display size changes under Windows.
15388 * event-stream.c (maybe_echo_keys):
15389 * event-stream.c (Fnext_event):
15390 * event-stream.c (command_builder_find_leaf):
15391 * event-stream.c (lookup_command_event):
15392 * event-stream.c (execute_command_event):
15393 * event-stream.c (pre_command_hook):
15394 * event-stream.c (post_command_hook):
15395 * event-stream.c (syms_of_event_stream):
15396 * event-stream.c (vars_of_event_stream):
15397 * event-stream.c (complex_vars_of_event_stream):
15398 * events.h (struct command_builder):
15400 a) Tried to clean up a little bit the horribly written x-specific
15401 accelerator code that crept into this file. I moved this code
15402 into menubar-x.c where it belongs. I also needed to move the
15403 command builder structure into the file events.h because it is
15404 accessed directly by this accelerator code. What I didn't do, but
15405 which should be done at some point, is to properly abstract this
15406 code using device methods instead of the kludgy way that it
15407 currently hooks into the event code.
15409 b) Added the lisp variables this-command-properties and
15410 last-command- properties, which should be used to synchronize two
15411 adjacent commands in preference to playing games with the variable
15412 this-command, which is typically what happens.
15414 c) Added some slightly nasty code to hook into the lisp support
15415 for shifted- motion-key selection. This is actually necessary for
15416 somewhat complicated reasons, which are described in
15417 simple.el. (NB: I think the proper thing would be to have the code
15418 that calls the pre and post command hooks also call out to generic
15419 lisp functions in simple.el, where all built-in stuff could be
15420 added. I will think about this more.)
15422 * event-unixoid.c (poll_fds_for_input):
15423 * lread.c (readchar):
15424 * redisplay-tty.c (tty_clear_frame):
15425 * redisplay-x.c (x_get_gc):
15426 * signal.c (interrupt_signal):
15427 And a whole bunch of other files: fixed up places that printed
15428 directly to stderr to instead call the function stderr_out so that
15429 the changes I made under Windows work correctly.
15431 * filemode.c (mode_string):
15435 * frame-msw.c (mswindows_size_frame_internal):
15436 Fixed the computation of frame size and position to keep the frame
15437 within the workspace area, rather than within the physical
15438 dimensions of the screen, so that the frame doesn't overlap window
15439 manager decorations, such as the start menu and toolbar, typically
15440 at the bottom of the screen.
15442 * frame.c (vars_of_frame):
15443 Changed the default frame title format under MS Windows to consist
15444 of buffername-XEmacs, which is standard under MS Windows. I think
15445 it might be a good idea to change this everywhere because I think
15446 it is superior to the current frame title format, but this is the
15447 kind of change that is likely to cause some people to get annoyed,
15448 so I'm not making it.
15450 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15452 * gui-msw.c (mswindows_handle_gui_wm_command):
15453 Fixed compile warnings.
15456 * gui-x.c (strdup_and_add_accel):
15457 * gui-x.c (button_item_to_widget_value):
15459 Added code to automatically put an accelerator onto the beginning
15460 of menu items that don't have one as is now the standard, and is
15461 described more later. Also fixed things so that the menu item
15462 name can be an evaluated expression, again a new standard.
15465 * gui.c (gui_item_add_keyval_pair):
15466 * gui.c (make_gui_item_from_keywords_internal):
15467 * gui.c (gui_add_item_keywords_to_plist):
15468 * gui.c (gui_item_accelerator):
15469 * gui.c (gui_name_accelerator):
15470 * gui.c (gui_item_included_p):
15471 * gui.c (gui_item_display_flush_left):
15472 * gui.c (gui_item_display_flush_right):
15473 * gui.c (parse_gui_item_tree_item):
15474 * gui.c (parse_gui_item_tree_children):
15475 * gui.c (parse_gui_item_tree_list):
15476 Mule-ized. Cleanup. GCPRO addition.
15478 * line-number.c (buffer_line_number):
15480 * lisp.h (EMACS_INT_MAX):
15481 Added the manifest constant EMACS_INT_MIN corresponding to the
15482 existing constant EMACS_INT_MAX. This is partially to fix compile
15483 warnings under Windows, and partly for cleanliness.
15486 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15487 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15488 * menubar-msw.c (displayable_menu_item):
15489 * menubar-msw.c (populate_menu_add_item):
15490 * menubar-msw.c (populate_or_checksum_helper):
15491 * menubar-msw.c (populate_menu):
15492 * menubar-msw.c (update_frame_menubar_maybe):
15493 * menubar-msw.c (prune_menubar):
15494 * menubar-msw.c (msw_char_is_accelerator):
15495 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15496 * menubar-msw.c (mswindows_handle_wm_command):
15497 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15498 * menubar-msw.c (mswindows_handle_wm_initmenu):
15499 * menubar-msw.c (mswindows_update_frame_menubars):
15500 * menubar-msw.c (mswindows_free_frame_menubars):
15501 * menubar-msw.c (mswindows_popup_menu):
15502 Fixed a bug in handling accelerators where an extra character
15503 would be displayed in the menu item. Also generalized the
15504 function displayable_menu_item because it is now used by the
15505 dialog box code as well. And finally, added code in the functions
15506 that create the menubar to extract a list of accelerators for the
15507 top level menubar, which is used in the event code to determine
15508 whether a particular alt-key combination should be used to invoke
15509 a menu item, or should be passed through to access the standard
15510 XEmacs keymap binding for this key combination.
15512 Much needed GCPROing.
15515 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15516 * menubar-x.c (menu_item_descriptor_to_widget_value):
15517 * menubar-x.c (restore_in_menu_callback):
15518 * menubar-x.c (x_popup_menu):
15519 * menubar-x.c (menu_move_up):
15520 * menubar-x.c (menu_move_down):
15521 * menubar-x.c (menu_move_left):
15522 * menubar-x.c (menu_move_right):
15523 * menubar-x.c (menu_select_item):
15524 * menubar-x.c (command_builder_operate_menu_accelerator):
15525 * menubar-x.c (menu_accelerator_junk_on_error):
15526 * menubar-x.c (command_builder_find_menu_accelerator):
15527 * menubar-x.c (Faccelerate_menu):
15529 Moved a whole bunch of code here that was previously in
15530 event-stream.c as described above. There is also code connected
15531 to the new standard of adding an accelerator to the beginning of
15532 menu items that don't have one as described above and below.
15535 * menubar.c (menu_parse_submenu_keywords):
15536 * menubar.c (Fmenu_find_real_submenu):
15537 * menubar.c (Fnormalize_menu_item_name):
15538 * menubar.c (syms_of_menubar):
15539 * menubar.c (vars_of_menubar):
15540 * menubar.c (complex_vars_of_menubar):
15542 a) Cleaned up a bunch of documentation and improved it.
15544 b) XEmacs now automatically adds an accelerator onto the beginning
15545 of any menu items that don't have one. I did this because there
15546 will inevitably be some menu items on the main menubar that don't
15547 have accelerators on them because the package that adds that
15548 particular menu item hasn't yet been fixed up to have accelerators
15549 in them and it looked rather strange to have some items with and
15550 some items without accelerators, especially since even in items
15551 without accelerators, you can, at least under windows, still
15552 access the item through an accelerator corresponding to the first
15553 character in the item's name. If people don't like this behavior,
15554 I can add a variable to turn it off optionally, but I'm not sure
15555 this is a good idea because we really do need to have accelerators
15556 on all of the menu items, and if a package doesn't like the
15557 accelerators being put on the first character, then it should put
15558 the accelerators where they belong.
15560 c) I made a behavior change, which is that the descriptor that
15561 specifies the text of the menu item, which formerly was just a
15562 string, can now also be an evaluated expression. This makes this
15563 descriptor parallel with all of the others, which could also be
15564 evaluated expressions. This also obviates the need for the
15565 keyword :label, which was previously listed in the documentation
15566 as unimplemented, and which was for the same purpose.
15571 * ntproc.c (new_child):
15572 * ntproc.c (sys_spawnve):
15573 * ntproc.c (find_child_console):
15574 * ntproc.c (sys_kill):
15575 Fixed compile warnings. By the way, this file should really go
15576 away entirely, and this will happen as soon as Kirill makes his
15577 final round of process cleanups, which affect the function
15581 * process-nt.c (struct nt_process_data):
15582 * process-nt.c (find_process_from_pid):
15583 * process-nt.c (send_signal_the_nt_way):
15584 * process-nt.c (enable_child_signals):
15585 * process-nt.c (find_child_console):
15586 * process-nt.c (send_signal_the_95_way):
15587 * process-nt.c (nt_finalize_process_data):
15588 * process-nt.c (ensure_console_window_exists):
15589 * process-nt.c (nt_create_process):
15590 * process-nt.c (nt_kill_child_process):
15591 * process-nt.c (nt_kill_process_by_pid):
15592 * process-nt.c (nt_open_network_stream):
15593 * process-nt.c (vars_of_process_nt):
15594 Copied over code from Emacs 20.5 to correctly send signals to sub-
15595 processes under Windows 95. Also added code to automatically
15596 create and hide console window when a sub-process is created under
15597 Windows 95, which obviates the need for the separate runemacs.exe
15598 executable, and finally implemented some variables that were
15599 implemented in Emacs 20.5, but previously not in XEmacs. These
15600 include mswindows- start-process-share-console and
15601 mswindows-start-process-inherit-error-mode. (Both of these only
15602 apply to Windows 95.)
15604 * regex.c (regex_compile): Fixed a compile warning.
15607 * select-msw.c (mswindows_own_selection):
15608 * select-msw.c (mswindows_get_foreign_selection):
15609 * select-msw.c (mswindows_disown_selection):
15610 * select-msw.c (console_type_create_select_mswindows):
15611 * select-msw.c (syms_of_select_mswindows):
15612 Cleaned up the file and implemented the device method
15613 selection_exists_p, which had accidentally been left out. Also
15614 removed four lisp functions that were remnants from before the
15615 time when the selection code was properly device abstracted.
15616 These functions are no longer needed because there are generic
15617 equivalents, and because they were added recently and don't exist
15618 in FSF Emacs, I don't think there's any problem with just deleting
15622 * sysdep.c (sys_subshell):
15623 Fixed a compile warning, although in this case there's probably
15624 something wrong with this code, and it ought to be looked into
15625 more thoroughly by somebody who understands it.
15628 * window.c (Fwindow_text_area_height):
15629 * window.c (Fwindow_width):
15630 * window.c (Fwindow_full_width):
15631 * window.c (Fwindow_pixel_width):
15632 * window.c (debug_print_window):
15633 * window.c (syms_of_window):
15634 Added functions window-text-area-height and window-full-width,
15635 which are functions for returning various width and height
15636 characteristics of a window. (One of these functions is necessary
15637 for making the file dialog box work correctly, and the other one
15638 was added for completeness.) Also added a table to the
15639 documentation for window-height which describes the entire scheme
15640 for accessing width and height characteristics of a window.
15642 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15644 * nt.c (fstat): Added a comment for another problem with
15645 non-encapsulated [f]stat(), reported by Adrian Aichner
15646 <aichner@ecf.teradyne.com>.
15648 2000-03-11 Andy Piper <andy@xemacs.org>
15650 * window.c (make_dummy_parent): initialize subwindow instance
15652 (Fset_window_configuration): zero extent_modiff.
15654 2000-03-10 Andy Piper <andy@xemacs.org>
15656 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15657 more changes can be triggered.
15658 (Fredisplay_frame): ditto.
15659 (Fredraw_device): ditto.
15660 (Fredisplay_device): ditto.
15661 (redisplay_frame): make non-static.
15662 (redisplay_frame): call update_frame_gutter_geometry outside of
15665 * gutter.h: declare update_frame_gutter_geometry.
15667 * redisplay.h: declare redisplay_frame.
15669 * gutter.c (update_frame_gutter_geometry): move geometry changes
15670 in update_frame_gutters here. Geometry changes can only occur
15671 outside of redisplay.
15672 (update_frame_gutters): remove geometry change code.
15673 (Fredisplay_gutter_area): make sure that we are in display when we
15674 update and that we have flushed any size changes.
15676 2000-03-11 Andy Piper <andy@xemacs.org>
15678 * alloc.c (pdump_dump_data): remove i & count shadows.
15680 2000-02-27 Mike Alexander <mta@arbortext.com>
15682 * sysdep.h: Declare pdump_read_file
15684 * sysdep.c (pdump_read_file): New function
15686 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15689 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15691 * lrecord.h: add `lrecord_type_pgsetenv'.
15693 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15695 * symsinit.h: declare (vars|syms)_of* functions.
15696 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15698 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15700 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15702 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15705 * emacs.c (main_1): Call postgres initialization code.
15707 * postgresql.h: New file. PostgreSQL RDBMS support.
15708 * postgresql.c: New file.
15710 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15712 * redisplay-output.c (redisplay_output_display_block): Disable
15715 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15717 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15718 (Fcanna_henkan_next): Ditto.
15719 (Fcanna_bunsetu_henkou): Ditto.
15720 (Fcanna_henkan_kakutei): Ditto.
15721 (Fcanna_henkan_end): Ditto.
15722 (Fcanna_henkan_quit): Ditto.
15723 (Fcanna_henkan_next): Set retun value correctly.
15724 (c2mu): Use unsigned char instead of signed char.
15726 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15728 * emacs.c (main_1): Always call syms_of_gui.
15729 * inline.c: include gui.h
15731 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15733 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15734 converted to Lisp_Object.
15735 (Qtop_bottom): New variable.
15736 (syms_of_redisplay): Initialize it.
15737 * redisplay.h (Vvisible_bell): Ditto.
15738 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15739 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15740 only flash top and bottom.
15742 2000-03-08 Andy Piper <andy@xemacs.org>
15744 * buffer.c (Frename_buffer): record new buffer name the right way.
15746 2000-03-08 Andy Piper <andy@xemacs.org>
15748 * glyphs.c (update_subwindow): increase hash depth so that widget
15749 items get picked up properly.
15751 * redisplay-output.c (compare_runes): increase hash depth so that
15752 widget items get picked up properly.
15754 2000-03-08 Andy Piper <andy@xemacs.org>
15756 * gutter.c (output_gutter): add some debug.
15758 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15759 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15760 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15762 * redisplay-output.c (compare_runes): use display_hash to
15763 determine if glyphs really are not the same.
15765 * glyphs.c (update_subwindow): check display_hash to see if
15766 anything really needs to be updated. If not then do
15767 nothing. Record the display_hash after updating.
15768 (image_instance_equal): compare the image_instance face also.
15770 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15772 * redisplay.h: Fix comment style.
15774 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15776 * consle-msw.h (struct mswindows_frame):
15777 Added new member paint_pending to indicate whether a WM_PAINT
15778 magic event has been queued for this frame.
15780 * event-msw.c (mswindows_drain_windows_queue):
15781 Don't queue a WM_PAINT magic event if one is already queued.
15782 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15784 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15786 2000-03-07 Didier Verna <didier@xemacs.org>
15788 * dired.c: #include `regex.h' after `sysfile.h'.
15790 2000-03-06 Martin Buchholz <martin@xemacs.org>
15792 * sound.c (init_nas_sound): Fix compiler warning.
15794 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15796 (MARK_STRUCT_AS_FREE):
15797 (MARK_STRUCT_AS_NOT_FREE):
15798 Make `gcc -fstrict-aliasing' work properly.
15800 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15802 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15803 (mswindows_delete_device): Call CoUnnitialize().
15805 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15807 2000-02-25 <CraigL@DyCon.com>
15809 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15812 * sysdep.c: This extern declaration for environ prevents MinGW
15813 from finding the variable in CRTDLL.DLL.
15815 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15817 (SHGFI_EXETYPE): ..
15818 (WM_MOUSEWHEEL): ..
15819 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15821 (MMRESULT): Removed, now defined in cygwin's windows headers.
15823 (uid_t,gid_t,pid_t,ssize_t): ..
15824 (_timeb): Removed, MinGW defines both _timeb and timeb.
15825 (HAVE_H_ERRNO): Added.
15826 (HAVE_TZNAME): Added, configure is not detecting this.
15828 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15830 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15831 * syntax.c (syntax_match): Use it.
15833 * cmds.c: Import auto-fill-chars from FSF Emacs.
15834 (Vauto_fill_chars): New variables.
15835 (internal_self_insert): Check Vauto_fill_chars.
15837 Declare auto-fill-chars as a Lisp variable and initialize it.
15839 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15841 * fileio.c (Fmake_symbolic_link):
15843 Run handlers even if local machine doesn't have symlinks.
15845 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15847 * event-msw.c (mswindows_drain_windows_queue):
15848 Don't generate paint magic events for non-XEmacs frames.
15850 2000-03-05 Andy Piper <andy@xemacs.org>
15852 * redisplay.c (redisplay_frame): generate_displayable_area and
15853 friends assumes that we are not in GC, we therefore have to make
15854 sure that this doesn't happen.
15856 * gutter.c (calculate_gutter_size): generate_displayable_area
15857 assumes that we are not in GC, we therefore have to make sure that
15858 this doesn't happen.
15860 2000-03-05 Martin Buchholz <martin@xemacs.org>
15862 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15864 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15866 * redisplay.c (regenerate_window): Make sure we set a sane value
15867 for end_pos even if we jump out of the loop.
15868 (regenerate_window): Answer Ben's question :-).
15869 (start_end_of_last_line): Add may_error argument.
15870 (start_of_last_line):
15871 (end_of_last_line): Pass may_error = 0.
15872 (end_of_last_line_may_error): New function.
15873 (pixel_to_glyph_translation): Use it, so we don't crash in
15876 2000-03-04 Andy Piper <andy@xemacs.org>
15878 * window.h (struct window): add gutter_extent_modiff.
15880 * window.c (allocate_window): zero out gutter_extent_modiff.
15882 * redisplay.h: declare sync_display_line_structs.
15884 * redisplay.c (add_glyph_rune): add a better comment.
15886 * redisplay-output.c (sync_display_line_structs): made non-static.
15887 (compare_runes): remove unneccesary glyph cachel access.
15889 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15891 * gutter.c (output_gutter): don't output the gutter if extent
15892 changes only involve extents in buffers. use 4 sets of display
15894 (gutter_extent_signal_changed_region_maybe): new function. Mark
15895 extents in gutters as changed.
15896 (update_frame_gutters): use 4 sets of display lines.
15897 (reset_gutter_display_lines): ditto.
15898 (free_frame_gutters): ditto.
15899 (redraw_exposed_gutter): force output of gutters.
15901 * frame.h (struct frame): add 4 sets of gutter display lines.
15903 * extents.c: (extent_changed_for_redisplay): signal changes to
15904 extents in strings in the gutter as well as extents in buffers.
15906 2000-03-02 Andy Piper <andy@xemacs.org>
15908 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15910 * frame.c (Fmake_frame): make sure the gutters get initialized
15911 after the frame is visible.
15912 (set_frame_selected_window): re-arrange compilation macros a
15914 (change_frame_size_1): mark gutters changed.
15916 * device.c (Fset_device_class): mark gutters changed.
15918 2000-03-01 Andy Piper <andy@xemacs.org>
15920 * window.c (window_top_frame_gutter_height): deleted.
15921 (window_bottom_frame_gutter_height): ditto.
15922 (window_left_frame_gutter_height): ditto.
15923 (window_right_frame_gutter_height): ditto.
15924 (window_top_gutter_height): don't use them.
15925 (window_bottom_gutter_height): ditto.
15926 (window_left_gutter_width): ditto.
15927 (window_right_gutter_width): ditto.
15928 (Fsplit_window): ditto.
15929 (Fwindow_pixel_edges): don't use border dimensions here.
15931 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15932 (update_scrollbar_instance): ditto.
15934 * redisplay.c (generate_modeline): don't take gutters into account.
15935 (generate_modeline): ditto.
15936 (redisplay_frame): small gutter display optimization.
15938 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15940 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15941 gutters into account.
15943 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15944 for window position and type.
15946 * gutter.c (get_gutter_coords): fix for frame gutters.
15947 (update_frame_gutters): update frame geometry if the gutters have
15949 (init_frame_gutters): record current gutter geometries.
15951 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15953 (mswindows_widget_instantiate): ditto.
15955 * frame.h (struct frame): add current_gutter_bounds.
15957 * frame.c (change_frame_size_1): position window and minibuffer
15958 appropriately taking into account the frame gutters.
15960 * frame-x.c: (x_initialize_frame_size): take into account the
15963 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15965 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15967 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15969 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15971 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15973 * file-coding.c (reset_decoding_stream): Clear previous
15974 detection state when autodetect.
15976 2000-02-29 Didier Verna <didier@xemacs.org>
15978 * extents.c (set_extent_glyph_1): don't require extents to be
15981 2000-02-27 Andy Piper <andy@xemacs.org>
15983 * gutter.c (Fset_default_gutter_position): don't default left and
15984 right gutter visibility to t.
15985 (Fset_default_gutter_position): run
15986 default-gutter-position-changed-hook.
15987 (syms_of_gutter): add default-gutter-position-changed-hook.
15989 2000-02-26 Andy Piper <andy@xemacs.org>
15991 * specifier.c (Fmake_specifier): add gutter references.
15993 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15995 * lisp.h: declare Fvalid_plist_p.
15997 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15999 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16000 well as its visibility so that it gets reconstructed.
16001 (construct_window_gutter_spec): new function. Construct a string
16002 to be displayed in the gutter from a plist of strings. Take care
16003 to only use elements that are declared as visible.
16004 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16006 (gutter_validate): allow plists of strings in the specifier.
16007 (gutter_specs_changed): construct the real_gutter from the gutter
16008 specs using construct_window_gutter_spec.
16009 (gutter_visible_validate): gutter-visible is a new specifier type.
16010 (Fgutter_visible_specifier_p): new function for the new specifier.
16011 (syms_of_gutter): declare gutter-visible and
16012 Fgutter_visible_specifier_p.
16013 (specifier_type_create_gutter): intitalize new gutter-visible
16015 (reinit_specifier_type_create_gutter): ditto.
16016 (specifier_vars_of_gutter): use new specifier type for gutter
16018 (init_frame_gutters): construct real_gutter correctly.
16019 (Fgutter_specifier_p): beef up documentation.
16020 (Fgutter_size_specifier_p): ditto.
16022 * winslots.h: add real_gutter slots.
16024 2000-02-25 Andy Piper <andy@xemacs.org>
16026 * device-msw.c: Be kind to older cygwin versions. From Raymond
16027 Toy <toy@rtp.ericsson.se>.
16029 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16030 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16032 2000-02-25 Martin Buchholz <martin@xemacs.org>
16034 * elhash.c (MARK_OBJ): Practice macro hygiene.
16036 2000-02-24 Martin Buchholz <martin@xemacs.org>
16038 * miscplay.c: s/__inline__/inline/g;
16039 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16040 (get_device_compdc): INLINE ==> static inline
16041 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16042 find -name '*.h' | \
16043 xargs global-replace \
16044 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16046 2000-02-25 Andy Piper <andy@xemacs.org>
16048 * window.c (window_top_frame_gutter_height): new function.
16049 (window_top_window_gutter_height): ditto.
16050 (window_top_gutter_height): use them.
16051 (window_bottom_frame_gutter_height): new function.
16052 (window_bottom_window_gutter_height): ditto.
16053 (window_bottom_gutter_height): use them.
16054 (window_left_window_gutter_width): new function.
16055 (window_left_frame_gutter_width): ditto.
16056 (window_left_gutter_width): use them.
16057 (window_right_window_gutter_width): new function.
16058 (window_right_frame_gutter_width): ditto.
16059 (window_right_gutter_width): use them.
16060 (window_pixel_height): new function. calulate window pixel height
16061 with frame gutter involvement.
16062 (Fsplit_window): calculate new sizes taking frame gutters into
16064 (window_char_height_to_pixel_height): don't include frame gutters.
16065 (window_char_height): use window_pixel_height.
16066 (window_pixheight): rename from window_pixel_height.
16067 (change_window_height): use it.
16068 (window_pixel_height_to_char_height): don't include frame gutters.
16069 (window_char_width_to_pixel_width): ditto.
16071 2000-02-25 Andy Piper <andy@xemacs.org>
16073 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16076 2000-02-24 Martin Buchholz <martin@xemacs.org>
16078 * alloc.c (staticpro):
16079 (staticpro_nodump):
16084 (compact_string_chars):
16085 (pdump_dump_wired):
16086 Convert: if (foo) abort(); ==> assert (! foo);
16088 * eldap.c (Fldap_search_basic):
16092 Fix compiler warnings, and possible crashes if (random) return
16093 value were to be used.
16095 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16097 * device-msw.c: Workaround ResetDC failure.
16099 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16100 applying a devmode.
16102 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16103 (mswindows_text_width): Do not start printer page.
16105 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16107 * glyphs-msw.c: Added image methods to msprinter console and
16108 msprinter-specific image instantiation.
16110 2000-02-20 Mike Alexander <mta@arbortext.com>
16112 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16113 to avoid crashes when selection-sets-clipboard is on
16114 (mswindows_own_selection): ditto
16116 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16119 * redisplay-msw.c (get_frame_dc):
16120 (get_frame_compdc):
16122 * device-msw.c (mswindows_init_device):
16123 (mswindows_delete_device):
16124 (msprinter_init_device):
16125 (msprinter_delete_device):
16126 * frame-msw.c (mswindows_init_frame_1):
16127 (mswindows_delete_frame):
16128 (msprinter_init_frame_3):
16129 (msprinter_delete_frame): Move compatible DC to device object from
16130 frame object, for both mswindows and msprinter. Only one at a time
16131 is needed, it is a real waste to have one per frame!
16133 2000-02-23 Andy Piper <andy@xemacs.org>
16135 * glyphs.c: add dynamic width and height elements.
16136 (image_instance_equal): ditto.
16138 * glyphs-widget.c (widget_query_geometry): calculate width and
16139 height dynamically if required.
16140 (initialize_widget_image_instance): initialize dynamic dimensions.
16141 (widget_instantiate): pick-up dynamic dimensions.
16143 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16144 dynamic determination. Add appropriate macros.
16146 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16148 (WINDOW_GUTTER_SIZE): ditto.
16149 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16151 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16153 (get_frame_dc): ditto.
16155 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16158 2000-02-23 Martin Buchholz <martin@xemacs.org>
16160 * XEmacs 21.2.31 is released.
16162 2000-02-22 Ben Wing <ben@xemacs.org>
16164 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16166 2000-02-22 Andy Piper <andy@xemacs.org>
16168 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16170 2000-02-21 Mike Sperber <mike@xemacs.org>
16174 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16177 2000-02-21 Mike Sperber <mike@xemacs.org>
16179 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16181 2000-02-21 Martin Buchholz <martin@xemacs.org>
16183 * XEmacs 21.2.30 is released.
16185 2000-02-20 Martin Buchholz <martin@xemacs.org>
16187 Performance hacking.
16189 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16190 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16191 * emacs.c (main_1):
16193 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16194 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16195 * symeval.h (DEFVAR_SYMVAL_FWD):
16196 * symbols.c (guts_of_unbound_marker):
16197 Make all c_readonly objects also lisp_readonly and marked for life.
16198 * lrecord.h (struct lrecord_implementation):
16199 Document flags better.
16200 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16201 * lrecord.h (DECLARE_LRECORD):
16202 * lrecord.h (XSETRECORD):
16203 * lrecord.h (RECORDP):
16204 * lrecord.h (RECORD_TYPEP):
16205 * lrecord.h (RECORD_MARKER): New.
16206 * lrecord.h (error_check_*):
16207 * lrecord.h (CONCHECK_NONRECORD):
16208 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16209 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16210 * lrecord.h (set_lheader_implementation):
16211 * lrecord.h (enum lrecord_type): New.
16212 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16213 * alloc.c (disksave_object_finalization_1):
16214 * alloc.c (mark_object):
16215 * alloc.c (lrecord_type_index):
16216 * alloc.c (tick_lcrecord_stats):
16217 * alloc.c (Fgarbage_collect):
16218 * alloc.c (init_alloc_once_early):
16219 * alloc.c (pdump_load):
16220 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16221 * alloc.c (lrecord_type_index): Delete.
16222 Make lisp object type indexes be constant.
16223 Makes (byte-compile) 5% faster.
16224 Put all marker functions into their own array.
16225 Makes (garbage-collect) 5% faster.
16226 Optimize SYMBOL_VALUE_MAGIC_P.
16227 Makes (byte-compile) 2-3% faster.
16228 * config.h.in (gc_checking_assert): New.
16229 * alloc.c: Use gc_checking_assert().
16230 * .dbxrc: Make compatible with new object type implementation.
16231 * .gdbinit: Make compatible with new object type implementation.
16232 * alloc.c: Delete all symbols defined only for debugging, such as
16233 Lisp_Type_Vector and lrecord_charset.
16235 2000-02-21 Andy Piper <andy@xemacs.org>
16237 * gui-msw.c (Fmswindows_shell_execute): fix file location
16240 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16241 unshowing so that set_window_buffer doesn't undo
16242 kill_buffer_hook's hard work.
16244 * glyphs-widget.c (tab_control_query_geometry): don't count the
16245 first item when calculating geometry.
16247 * glyphs.c (map_subwindow): remove redundant code.
16248 (update_frame_subwindows): be more circumspect about when to
16251 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16252 when items haven't changed. Update faces if faces have changed as
16253 well as just the widget face.
16254 (x_tab_control_update): Update faces if faces have changed as well
16255 as just the widget face.
16257 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16259 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16261 (build_syscolor_string): Use mswindows_color_to_string to try to
16263 (mswindows_device_system_metrics): Reverse the foreground and
16264 background colors so that they match the documentation.
16266 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16267 they match the default Windows palette.
16268 (mswindows_color_to_string): New function.
16270 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16272 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16274 2000-02-18 Olivier Galibert <galibert@pobox.com>
16276 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16277 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16279 * symbols.c (init_symbols_once_early): Removed obsolete
16280 DATA_SEG_BITS related kludge.
16281 (defvar_magic): Ditto.
16283 * malloc.c: Removed obsolete DATA_SEG_BITS
16285 * mem-limits.h: Ditto.
16287 * Makefile.in.in: Removed obsolete HAVE_SHM
16290 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16292 * device-msw.c (mswindows_delete_device): Free DDE string
16295 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16297 * keymap.c (get_keyelt):
16298 * unexnt.c (unexec):
16299 * vm-limit.c (memory_warnings):
16300 * ntheap.c (recreate_heap):
16301 * ntheap.h (UNINIT_PTR):
16302 * select-msw.c (Fmswindows_get_clipboard):
16303 (Fmswindows_set_clipboard):
16304 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16306 * menubar-msw.c (displayable_menu_item):
16308 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16309 * sysdep.c (sys_subshell):
16310 * process-nt.c (nt_create_process):
16311 * nt.c (normalize_filename):
16312 (dostounix_filename):
16313 (unixtodos_filename):
16314 * ntproc.c (win32_executable_type):
16315 * ntplay.c (play_sound_data_1):
16317 * editfns.c (get_home_directory):
16318 * event-msw.c (struct winsock_stream):
16319 (mswindows_dde_callback):
16320 * device-msw.c (msprinter_init_device):
16321 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16323 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16324 mswindows_clear_toolbar were swapped!
16326 * objects-msw.c:(colormap_t):
16328 * emacs.c (struct standard_args): Fixed const jumble.
16330 * glyphs-widget.c (update_widget): Fixed comparison notation.
16332 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16334 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16335 __declspec(noreturn) syntax.
16337 2000-02-19 Martin Buchholz <martin@xemacs.org>
16339 * eldap.c (Fldap_open):
16340 (Fldap_search_basic):
16343 Use new coding system conversion macros.
16345 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16347 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16349 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16351 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16352 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16354 * eldap.c (Qadd, Qreplace): New constant symbols
16355 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16356 interruptions by XEmacs signals
16357 Remove unnecessary calls to slow_down_interrupts and
16358 speed_up_interrupts
16359 (Fldap_search_basic): Renamed from Fldap_search_internal
16360 Added new optional parameter VERBOSE that triggers the
16361 display of progress messages
16362 Remove unnecessary calls to slow_down_interrupts and
16363 speed_up_interrupts
16364 LDAP result code analysis rewritten
16365 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16366 (syms_of_eldap): Define the new symbols and functions
16369 2000-02-17 Martin Buchholz <martin@xemacs.org>
16371 * realpath.c: Determine PATH_MAX maximally portably.
16373 * insdel.c (bytecount_to_charcount): Optimize.
16374 The function used to be optimized for entirely ASCII sequences.
16375 Now it is optimized for successive characters from the same
16376 charset. This also wins big for _mostly_ ASCII sequences.
16378 * fileio.c (Ffile_truename): convert return from realpath() using
16379 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16380 - Rewrite GCPROing slightly.
16382 * sysdep.c (sys_open): Do filename conversion, like all other
16383 sys_* functions. Fixes bug:
16384 (let ((file-name-coding-system 'iso-8859-2))
16385 (write-region x y latin2-name))
16386 ==> writes filename using internal encoding.
16388 2000-02-18 Martin Buchholz <martin@xemacs.org>
16390 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16391 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16392 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16393 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16394 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16395 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16396 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16397 (CONST_IF_NOT_DEBUG): Delete.
16398 * alloc.c (this_one_is_unmarkable): Delete.
16399 (mark_object): Don't check for this_one_is_unmarkable. Use the
16400 c_readonly flag instead.
16401 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16403 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16405 * event-msw.c (mswindows_drain_windows_queue):
16406 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16407 away redundant repaint events.
16409 2000-02-17 Andy Piper <andy@xemacs.org>
16411 * redisplay.h: declare mark_redisplay_structs.
16413 * redisplay.c (redisplay_window):
16414 (redisplay_frame): don't check subwindows_state_changed.
16415 (mark_redisplay): mark gutters here.
16417 * glyphs.c: (instantiate_image_instantiator): always layout if we
16418 haven't done so already.
16419 (allocate_image_instance): don't mark as dirty.
16420 (update_subwindow): bind inhibit_quit.
16422 * gutter.c (mark_gutters): new function.
16424 * glyphs-x.c (x_update_widget): Always resize to get round a
16427 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16428 breaking absolutely everything.
16430 * gutter.h: declare mark_gutters.
16432 2000-02-16 Martin Buchholz <martin@xemacs.org>
16434 * XEmacs 21.2.29 is released.
16436 2000-02-15 Olivier Galibert <galibert@pobox.com>
16438 * fns.c (size_bit_vector): Fix computation of the size.
16440 2000-02-15 Martin Buchholz <martin@xemacs.org>
16442 * *.[ch]: Change CONST to const globally.
16443 find -name '*.[ch]' | \
16444 xargs global-replace \
16445 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16446 - Remove vestigial references to CONST_IS_LOSING
16448 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16450 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16451 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16452 events instead of dispatching them directly.
16453 (mswindows_handle_paint): New function to do repainting.
16454 (mswindows_wnd_proc):
16455 (emacs_mswindows_handle_magic_event): Call above function.
16457 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16459 * objects-msw.c (mswindows_create_font_variant): Return the new
16461 (initialize_font_instance): Get font metrics from the underlined
16462 variant of the font to cope with the case where the underlined
16463 font has a bigger descent.
16465 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16467 * gui.c (gui_item_accelerator): Return the first underlined
16468 character in item name.
16470 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16472 * lisp.h: Added Qprinter.
16474 * general.c (syms_of_general): Initialized it.
16476 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16478 (get_frame_compdc): Made inline.
16480 * console.h (struct console_methods): Added eject_page method.
16482 * frame.h: Added FRAME_DISPLAY_P and friends.
16483 Aligned backslahes in many macros in more readable fashion.
16484 Added page_number to struct frame, and an accessor macro
16487 * defice.h: Added DEVICE_DISPLAY_P and friends.
16489 * device.c (Fdevice_printer_p): Used these.
16491 * frame.c (allocate_frame_core): Initialize page number.
16492 (Fprint_job_page_number):
16493 (Fprint_job_eject_page): Implemented.
16495 * frame-msw.c (msprinter_eject_page): Added method.
16496 (msprinter_start_page): Added.
16498 * window.c (Fwindow_truncated_p): Fixed docstring.
16499 (Fwindow_last_line_visible_height): Implemented.
16501 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16503 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16505 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16507 * syntax.c (scan_words): Always advance at least one character.
16509 2000-02-13 Andy Piper <andy@xemacs.org>
16511 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16512 to make sure the glyph is in the cachels.
16514 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16515 global image instance flag.
16516 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16517 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16519 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16520 (Fset_image_instance_property): mark layout as changed.
16521 (invalidate_glyph_geometry_maybe): mark layout as changed.
16522 (glyph_width): use new NEEDS_LAYOUT macro.
16523 (glyph_ascent): ditto.
16524 (glyph_descent): ditto.
16525 (glyph_height): ditto.
16526 (image_instance_layout): mark layout as clean after laying out.
16527 (update_subwindow): don't mark layout as clean here.
16529 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16530 should no longer be needed.
16532 * glyphs-x.c (x_update_widget): sanitize asserts.
16533 (x_finalize_image_instance): sanitize assignment to widgets.
16535 * glyphs-widget.c (widget_instantiate): don't need to clear the
16538 2000-02-13 Martin Buchholz <martin@xemacs.org>
16540 * sysdep.c (getcwd): Use standard prototype.
16541 * sysdep.h (getcwd): Use standard prototype.
16543 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16544 (sequence, start, end).
16545 Remove redundant type checking.
16546 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16547 view of `caller-protects') to avoid a crash where the real fix was
16550 2000-02-12 Martin Buchholz <martin@xemacs.org>
16552 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16554 * s/sol2.h: Remove feature macro initialization.
16556 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16557 (vector_hash): New. Code from internal_hash.
16559 Fix up allocation subsystem comments.
16561 * config.h.in: Add __EXTENSIONS__ for Solaris.
16563 * systime.h (EMACS_GETTIMEOFDAY): New.
16564 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16565 Remove Solaris-specific code.
16566 Use void* for the (ignored) second arg for gettimeofday().
16568 * elhash.c (hash_table_hash): Implement it, finally.
16569 * elhash.c: Use hashcode_t.
16571 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16572 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16574 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16575 * fns.c (size_bit_vector):
16576 * alloc.c (size_vector):
16577 (make_vector_internal):
16578 (make_bit_vector_internal):
16579 (sweep_bit_vectors_1):
16580 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16582 2000-02-10 Martin Buchholz <martin@xemacs.org>
16584 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16585 Include strings.h to avoid warnings for bzero and strcasecmp.
16587 2000-02-10 Olivier Galibert <galibert@pobox.com>
16589 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16590 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16592 * fns.c (size_bit_vector): New. Declare bit vectors as a
16595 2000-02-10 Olivier Galibert <galibert@pobox.com>
16597 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16598 use a value field instead.
16599 (symbol_value_forward_forward): Use value field.
16600 (DEFVAR_SYMVAL_FWD): Use value field.
16601 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16602 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16603 (DEFVAR_CONST_INT): Ditto.
16604 (DEFVAR_BOOL): Ditto.
16605 (DEFVAR_CONST_BOOL): Ditto.
16606 (DEFVAR_INT_MAGIC): Ditto.
16607 (DEFVAR_BOOL_MAGIC): Ditto.
16609 * symbols.c (guts_of_unbound_marker): Use value field.
16610 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16611 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16613 * lisp.h: Declare dumpopaque and noninteractive1.
16615 * alloc.c (dumpopaque): Added.
16616 (pdump_dump_opaquevec): Added.
16617 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16618 (pdump_load): Reload opaque data. Sync noninteractive1 with
16621 2000-02-10 Andy Piper <andy@xemacs.org>
16623 * glyphs.c (image_instance_layout): if the size changes, mark it
16626 * redisplay-output.c (redisplay_output_layout): Update the
16628 (redisplay_output_subwindow): ditto.
16630 * glyphs.c (update_subwindow): make sure we reset flags for
16631 layouts as well as everything else.
16633 * glyphs-widget.c (layout_layout): don't need to set the instances
16636 2000-02-09 Martin Buchholz <martin@xemacs.org>
16638 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16639 not HAVE_DLOPEN, which is a lower-level thing.
16641 * .cvsignore: Ignore gmon.out
16643 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16645 * .cvsignore: Ignore portable dumper xemacs.dmp file
16647 2000-02-09 Andy Piper <andy@xemacs.org>
16649 * redisplay-output.c (redisplay_output_layout): be more clever
16650 about when we output based on the changed flags.
16652 * glyphs.h (struct image_instantiator_methods): add update_method.
16653 (struct Lisp_Image_Instance): add changed flags. Declare new
16654 macros for manipulating them.
16656 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16657 (image_instance_parent_glyph): find an image_instance's parent
16658 glyph or image_instance.
16659 (image_instance_layout): mark the size as changed.
16660 (set_image_instance_dirty_p): new function. mark an image
16661 instance, plus all of its parents, as dirty.
16662 (Fset_image_instance_property): use it.
16663 (Fglyph_animated_timeout_handler): use it.
16664 (update_subwindow): call update_widget and device methods for
16665 update_subwindow. Mark all changed flags as clean.
16666 (Fresize_subwindow): mark size as changed.
16668 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16670 (x_update_subwindow): only resize subwindows here.
16671 (x_update_widget): new function. Update all changed properties of
16673 (x_resize_subwindow): deleted.
16674 (x_widget_set_property): deleted.
16675 (x_progress_gauge_set_property): deleted.
16676 (x_progress_gauge_update): new function. Implement recorded
16678 (x_tab_control_update): ditto.
16679 (x_tab_control_set_property): deleted.
16680 (console_type_create_glyphs_x): declare new functions.
16681 (image_instantiator_format_create_glyphs_x): ditto.
16683 * glyphs-widget.c (widget_set_property): mark text changed.
16684 (update_widget): new function. Update properties of a widget.
16685 (widget_instantiate): for layouts make sure we set their
16686 children's parent correctly.
16687 (tab_control_set_property): new function. Record changes that will
16688 take place under redisplay's control.
16689 (progress_gauge_set_property): ditto.
16690 (image_instantiator_progress_guage): declare new functions.
16691 (image_instantiator_tab_control): ditto.
16693 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16695 (mswindows_update_widget): new function. Update all properties on
16696 a widget that have changed.
16697 (mswindows_button_update): new function. Update a button's set
16699 (mswindows_tab_control_update): new function. Update the items in
16701 (mswindows_tab_control_set_property): deleted.
16702 (mswindows_progress_gauge_update): new function. Update the
16703 progress gauge's progress.
16704 (mswindows_widget_set_property): deleted. This is all done
16705 asynchronously now.
16706 (mswindows_progress_gauge_set_property): ditto.
16707 (console_type_create_glyphs_mswindows): declare new methods.
16708 (image_instantiator_format_create_glyphs_mswindows): ditto.
16710 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16711 (msprinter_set_frame_properties): ditto.
16713 * console.h (struct console_methods): Add update_widget_method.
16715 2000-02-09 Andy Piper <andy@xemacs.org>
16717 * gui-msw.c (Fmswindows_shell_execute): Make
16718 mswindows-shell-execute industrial strength.
16720 2000-02-08 Martin Buchholz <martin@xemacs.org>
16722 * lrecord.h: Make macro argument `props' match member function `plist'.
16725 * fns.c (Fremprop):
16726 * fns.c (Fobject_plist):
16729 Object property list frobbing cleanup.
16730 - Allow any lisp object (compared with `eq'), not just symbols, as
16731 keys in object plists.
16732 - Move symbol plist frobbing into symbols.c, where it belongs.
16733 - Move string plist frobbing into alloc.c, where it belongs.
16734 - Everything's an lrecord now, so no need to test for symbolp, etc.
16735 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16737 * extents.c: Reorder code to remove declarations.
16739 * frame.h (store_in_alist): Remove useless declaration.
16741 2000-02-07 Martin Buchholz <martin@xemacs.org>
16743 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16744 * config.h.in: Add HAVE_XCONVERTCASE.
16746 2000-02-07 Andy Piper <andy@xemacs.org>
16748 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16749 it breaks many things.
16751 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16753 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16754 actually can start a common comment type.
16755 * src/syntax.h (SYNTAX_END_P): ditto for end.
16757 2000-02-07 Martin Buchholz <martin@xemacs.org>
16759 * XEmacs 21.2.28 is released.
16761 2000-02-06 Martin Buchholz <martin@xemacs.org>
16763 * event-Xt.c (x_keysym_to_character): New.
16764 (maybe_define_x_key_as_self_inserting_character): New.
16765 (x_has_keysym): New.
16766 Auto-define all keys on the keyboard as self-insert-key.
16768 2000-02-02 Martin Buchholz <martin@xemacs.org>
16770 * menubar.c (vars_of_menubar): A small code simplification.
16772 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16775 * ExternalClient.c:
16776 * EmacsShell-sub.c:
16779 Use consistent style for specifying X resources.
16781 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16782 This makes (dontusethis-set-symbol-value-handler) actually usable.
16784 * lrecord.h (lrecord_decription_type):
16785 * alloc.c (pdump_register_sub):
16788 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16789 Comply with XEmacs coding style.
16790 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16791 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16793 * keymap.c (Faccessible_keymaps):
16794 Make (accessible-keymaps map "\C-h") do the Right Thing.
16795 Make (accessible-keymaps map []) do the Right Thing.
16796 Make (accessible-keymaps map "") do the Right Thing.
16797 (check_keymap_definition_loop): New function.
16798 (keymap_store_internal): Keep luser from shooting self in foot,
16799 via (define-key ctl-x-4-map "p" global-map).
16800 Remove fullness slot from struct Lisp_Keymap, since hash tables
16802 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16804 2000-01-30 Martin Buchholz <martin@xemacs.org>
16806 * redisplay.c (init_redisplay): Fix small memory leak.
16808 * elhash.c (pdump_reorganize_hash_table):
16809 Rename from reorganize_hash_table. Change prototype.
16810 Reuse the original memory for hentries. Save 100k.
16811 * alloc.c (PDUMP_READ): new macro.
16812 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16813 * alloc.c: No need to #ifndef before #undef.
16815 * print.c: Allow debug_print() to print readably by modifying
16816 debug_print_readably. Use consistent variable names.
16818 * .dbxrc: Try to get things to work even if stopped in a function
16819 without source available by explicitly specifying source files.
16820 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16822 * unexnt.c (_start): Removed bogus code which caused loading heap
16823 from differrent executable file.
16824 Removed bogus assignment to _fmode, which caused inconsistencies.
16826 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16828 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16829 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16830 Do not preliminary `#define signal sigset'.
16832 * systime.h: Do not prototype environ on windows nt and cygwin,
16833 this conflicts with system header.
16835 * syssignal.h: Use correct define for WINDOWSNT
16837 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16838 with system header.
16840 * sysdep.c (near start of file): Fixed commentary and rearranged
16841 ifdefs in readable order.
16842 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16845 (end_of_data): Do not compile in if using PDUMP.
16847 * symsinit.h: Prototyped vars_of_nt().
16849 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16850 (find_child_console): Use it.
16851 (sys_kill): Use it.
16853 * ntheap.h: Do not extern os_subtype.
16855 * ntheap.c (cache_system_info): Do not cache unneeded:
16856 nt_major_version, nt_minor_version and os_subtype.
16857 (recreate_heap): Do not compile in when PDUMPing.
16859 * nt.c (geteuid and friends): Use the new varibale
16860 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16861 (init_user_info): Removed the above mentioned hackery.
16862 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16863 stat has been fixed in the C runtime.
16864 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16866 * file-coding.c (struct file_coding_dump): Do not define
16867 ucs_to_mule_table in the struct if not MULE.
16868 (struct struct lrecord_description fcd_description_1): Do not dump
16871 * emacs.c (main_1): Call vars_of_nt().
16872 (right before Fdump_emacs_data): Don't need lastfile if using both
16873 portabe dumper and system malloc.
16875 * alloc.c (Fmemory_limit): Conditionalized out.
16876 (pdump): Use OPEN_BINARY for the portable dump file.
16877 (pdump_load): Ditto.
16879 2000-02-02 Mike Alexander <mta@arbortext.com>
16881 * nt.c (convert_time): Set tm_isdst before calling mktime and
16882 avoid calling it at all if the compiler supports 64 bit integers.
16883 Also initialize utc_base_ft before using it.
16885 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16887 * frame.c (change_frame_size_1): Take f->internal_border_width
16888 into consideration when calculating the width of the frame.
16890 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16892 * window.c (frame_min_height):
16893 (frame_size_valid_p):
16894 (frame_pixsize_valid_p): Added.
16895 (check_frame_size): Generalized.
16897 * window.h: Prototyped the above.
16900 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16901 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16902 Deleted Vwin32_* and Vbinary_process_* unused variables.
16904 * device-msw.c (msprinter_init_device): Do not get printer font
16905 list; Added DEVMODE functions.
16907 * frame-msw.c: Added lots of printer code.
16909 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16912 * console-msw.h: Added more msprinter device private slots.
16914 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16916 * event-msw.c (key_needs_default_processing_p): Added.
16917 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16919 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16921 * glyphs.c (image_instance_layout): Mark image instance as clean
16923 (glyph_dirty_p): Removed redundant function.
16924 (invalidate_glyph_geometry_maybe): Added.
16925 (update_glyph_cachel_data): Call it.
16927 * glyphs.h: Prototyped it.
16929 * redisplay.c (add_glyph_rune): Call it.
16930 (redisplay_window): Reset glyphs cachels when frame faces have
16931 changed, thus forcing recomputation of built-in border glyphs.
16933 2000-01-30 Martin Buchholz <martin@xemacs.org>
16935 * Makefile.in.in: Make portable dumper and purify play well together.
16936 Add imperfect, but better than nothing, support for pdump.
16937 Remove xemacs.dmp when temacs is re-generated.
16938 Don't ignore errors when dumping xemacs.
16940 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16942 2000-01-28 Andy Piper <andy@xemacs.org>
16944 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16945 (setup_normal_frame): ditto.
16946 (setup_frame_without_minibuffer): ditto.
16947 (setup_minibuffer_frame): ditto.
16948 (delete_frame_internal): ditto.
16949 (Fmake_frame_invisible): ditto.
16950 (Ficonify_frame): ditto.
16952 * window.h: change Fset_window_buffer signature.
16954 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16955 (Fset_window_buffer): allow recording of buffer if the window is
16956 the selected window.
16957 (window_loop): Use new Fset_window signature.
16959 2000-01-23 Daniel Pittman <daniel@danann.net>
16961 * config.h.in: Added template for `HAVE_ATHENA_3D'
16963 2000-01-29 Andy Piper <andy@xemacs.org>
16965 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16967 * gutter.c (output_gutter): Don't output if the window isn't live.
16969 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16971 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16972 of 01/12/00: Moved SetFocus back here where it belongs.
16974 2000-01-23 Andy Piper <andy@xemacs.org>
16976 * s/cygwin32.h: declare printer things.
16978 2000-01-26 Andy Piper <andy@xemacs.org>
16980 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16983 2000-01-24 Andy Piper <andy@xemacs.org>
16985 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16986 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16988 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16990 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16992 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16994 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16995 (mswindows_output_display_block): Avoid local shadows.
16997 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16998 (mswindows_enqueue_mouse_button_event): ditto.
16999 (mswindows_handle_gui_wm_command): remove declaration.
17001 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17004 * console-msw.h: Avoid shadows.
17005 (mswindows_get_toolbar_button_text):
17006 (emacs_mswindows_create_stream_pair):
17007 (emacs_mswindows_delete_stream_pair):
17008 (mswindows_handle_toolbar_wm_command): declare.
17010 * device-msw.c (build_syscolor_string): Avoid shadows.
17012 2000-01-23 Andy Piper <andy@xemacs.org>
17014 * glyphs-widget.c (widget_instantiate): reverse the items for
17015 layouts so that children are in the expected order.
17017 2000-01-28 Martin Buchholz <martin@xemacs.org>
17019 * ralloc.c: safe_bcopy ==> memmove
17020 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17021 * s/msdos.h: Remove BCOPY macros.
17022 * insdel.c (gap_right): Remove BCOPY conditional code.
17023 * insdel.c (gap_left): Remove BCOPY conditional code.
17024 XEmacs demands a working ANSI C compiler - hence memmove.
17026 * regex.c (regex_compile): Remove accidental use of trigraphs.
17028 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17030 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17033 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17035 * event-msw.c (mswindows_drain_windows_queue): Added the
17037 (mswindows_need_event): Commented the call to
17038 mswindows_drain_windows_queue().
17039 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17042 * console-msw.h: Moved a few function prototypes here from
17045 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17046 parameter from unsigned short to unsigned long.
17047 (Fmswindows_shell_execute): Added return value.
17049 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17051 * sysdep.c (init_system_name):
17052 process-unix.c (unix_canonicalized_host_name):
17053 Don't call freeaddrinfo() if getaddrinfo() fails.
17055 * process-unix.c (unix_open_unix_network_stream):
17056 Moved the code to get a port # into address loop.
17058 2000-01-27 Martin Buchholz <martin@xemacs.org>
17060 * buffer.c (reinit_vars_of_buffer):
17061 The right place to initialize conversion_in_dynarr and
17062 conversion_out_dynarr.
17064 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17066 * process-unix.c (unix_canonicalize_host_name): Muleize.
17067 (unix_open_network_stream): Muleize.
17069 * buffer.h: Fix up prototypes for ralloc.c functions.
17071 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17072 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17073 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17074 instead of gethostbyname()
17075 * process-unix.c: In unix_canonicalize_host_name() and
17076 unix_open_network_stream(), add code to use getaddrinfo()
17077 instead of gethostbyname().
17079 2000-01-27 Daniel Pittman <daniel@danann.net>
17081 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17082 libs when built with flat Athena.
17084 2000-01-27 Martin Buchholz <martin@xemacs.org>
17086 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17087 Use coding standards for function prototypes.
17089 2000-01-25 Martin Buchholz <martin@xemacs.org>
17091 * dialog-msw.c (push_lisp_string_as_unicode):
17092 * doc.c (unparesseuxify_doc_string):
17093 * dired.c (Fuser_name_completion_1):
17094 * dired.c (Fuser_name_all_completions):
17095 * dired.c (free_user_cache):
17096 * dired.c (user_name_completion):
17097 * console-x.c (get_display_arg_connection):
17098 * minibuf.c (clear_echo_area_internal):
17099 * minibuf.c (echo_area_append):
17100 * eldap.c (Fldap_open):
17101 * eldap.c (Fldap_search_internal):
17102 * frame-x.c (x_set_frame_text_value):
17103 * frame-x.c (x_set_frame_properties):
17104 * frame-x.c (x_create_widgets):
17105 * redisplay-tty.c (term_get_fkeys_1):
17106 * objects-x.c (x_parse_nearest_color):
17107 * objects-x.c (x_valid_color_name_p):
17108 * objects-x.c (x_initialize_font_instance):
17109 * objects-x.c (x_list_fonts):
17110 * objects-x.c (x_find_charset_font):
17111 * tooltalk.c (Fadd_tooltalk_message_arg):
17112 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17113 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17114 * process-unix.c (unix_create_process):
17115 * ntproc.c (sys_spawnve):
17116 * sound.c (Fplay_sound_file):
17117 * sound.c (Fplay_sound):
17118 * buffer.c (init_initial_directory):
17119 * buffer.c (init_buffer):
17120 * editfns.c (init_editfns):
17121 * editfns.c (Ftemp_directory):
17122 * editfns.c (Fuser_full_name):
17123 * editfns.c (uncache_home_directory):
17124 * editfns.c (get_home_directory):
17125 * editfns.c (Fuser_home_directory):
17126 * editfns.c (Fformat_time_string):
17127 * editfns.c (Fcurrent_time_string):
17128 * gui-x.c (button_item_to_widget_value):
17129 * database.c (Fopen_database):
17130 * event-Xt.c (x_to_emacs_keysym):
17131 * event-Xt.c (x_event_to_emacs_event):
17132 * event-Xt.c (describe_event_window):
17133 * event-msw.c (mswindows_wnd_proc):
17134 * glyphs-eimage.c (jpeg_instantiate):
17135 * glyphs-eimage.c (gif_instantiate):
17136 * glyphs-eimage.c (png_instantiate):
17137 * glyphs-eimage.c (tiff_instantiate):
17138 * glyphs-x.c (xbm_instantiate_1):
17139 * glyphs-x.c (x_xbm_instantiate):
17140 * glyphs-x.c (x_xface_instantiate):
17141 * glyphs-x.c (autodetect_instantiate):
17142 * glyphs-x.c (cursor_font_instantiate):
17143 * glyphs-x.c (x_widget_instantiate):
17144 * glyphs-x.c (x_widget_set_property):
17145 * glyphs-x.c (x_widget_property):
17146 * glyphs-x.c (BUILD_GLYPH_INST):
17147 * print.c (write_string_to_stdio_stream):
17148 * print.c (output_string):
17149 * print.c (Falternate_debugging_output):
17150 * print.c (Fexternal_debugging_output):
17151 * glyphs-msw.c (extract_xpm_color_names):
17152 * glyphs-msw.c (mswindows_xpm_instantiate):
17153 * glyphs-msw.c (bmp_instantiate):
17154 * glyphs-msw.c (resource_name_to_resource):
17155 * glyphs-msw.c (mswindows_resource_instantiate):
17156 * glyphs-msw.c (xbm_instantiate_1):
17157 * glyphs-msw.c (mswindows_xbm_instantiate):
17158 * glyphs-msw.c (mswindows_xface_instantiate):
17159 * glyphs-msw.c (mswindows_widget_instantiate):
17160 * glyphs-msw.c (add_tree_item):
17161 * glyphs-msw.c (add_tab_item):
17162 * glyphs-msw.c (mswindows_combo_box_instantiate):
17163 * glyphs-msw.c (mswindows_widget_property):
17164 * glyphs-msw.c (mswindows_combo_box_property):
17165 * glyphs-msw.c (mswindows_widget_set_property):
17166 * console.c (stuff_buffered_input):
17167 * objects-msw.c (mswindows_initialize_color_instance):
17168 * objects-msw.c (mswindows_valid_color_name_p):
17169 * objects-msw.c (mswindows_list_fonts):
17170 * objects-msw.c (mswindows_font_instance_truename):
17171 * bytecode.c (optimize_compiled_function):
17172 * select-x.c (symbol_to_x_atom):
17173 * select-x.c (x_atom_to_symbol):
17174 * select-x.c (hack_motif_clipboard_selection):
17175 * select-x.c (selection_data_to_lisp_data):
17176 * select-x.c (lisp_data_to_selection_data):
17177 * select-x.c (Fx_get_cutbuffer_internal):
17178 * select-x.c (Fx_store_cutbuffer_internal):
17179 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17180 * buffer.h (TO_INTERNAL_FORMAT): New function.
17181 * emacs.c (make_arg_list_1):
17182 * emacs.c (make_argc_argv):
17183 * emacs.c (main_1):
17184 * emacs.c (Fdump_emacs):
17185 * emacs.c (split_string_by_emchar_1):
17190 * device-x.c (x_init_device):
17191 * device-x.c (Fx_valid_keysym_name_p):
17192 * device-x.c (Fx_get_font_path):
17193 * device-x.c (Fx_set_font_path):
17194 * glyphs.c (bitmap_to_lisp_data):
17195 * glyphs.c (pixmap_to_lisp_data):
17196 * alloc.c (make_ext_string): Use coding system arguments. Update
17198 * alloc.c (build_string):
17199 * callproc.c (child_setup):
17200 * callproc.c (init_callproc):
17201 * fileio.c (lisp_strerror):
17202 * fileio.c (directory_file_name):
17203 * fileio.c (Fexpand_file_name):
17204 * fileio.c (Ffile_truename):
17205 * fileio.c (Fsysnetunam):
17206 * fileio.c (Fdo_auto_save):
17207 * sysdep.c (sys_readdir):
17208 * tests.c: New file. Allow adding C tests.
17209 Replace GET_* macros with a more comprehensible and flexible
17210 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17212 Any coding system can be used to do format conversion.
17213 Eliminate enum external_data_format.
17214 Eliminate convert_to_external_format.
17215 Eliminate convert_to_internal_format.
17216 Make sure file-name, keyboard, terminal, and ctext are always
17217 defined as coding systems or aliases. Make
17218 file-name-coding-system, terminal-coding-system, and
17219 keyboard-coding-system magical variables that are equivalent to
17220 defining the corresponding coding system aliases.
17222 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17223 * file-coding.c (Fcoding_system_alias_p): New function.
17224 * file-coding.c (Fcoding_system_aliasee): New function.
17225 * file-coding.c (append_suffix_to_symbol): New function.
17226 * file-coding.c (dangling_coding_system_alias_p): New function.
17227 * file-coding.c (Ffind_coding_system):
17228 * file-coding.c (Fcopy_coding_system):
17229 * file-coding.c (encode_coding_no_conversion):
17230 * file-coding.c (syms_of_file_coding):
17231 * file-coding.c (vars_of_file_coding):
17232 Rewrite coding system alias code.
17233 Allow nested aliases, like symbolic links.
17234 Allow redefinition of coding system aliases.
17235 Prevent existence of dangling coding system aliases.
17237 * dired.c (Fuser_name_completion_1):
17238 * dired.c (Fuser_name_all_completions):
17239 A crash would happen if user did QUIT in the middle of building
17240 user_name_cache. Remove redundant code in mainline and unwind_protect.
17243 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17245 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17246 an unsigned char *. Update all callers.
17248 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17250 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17252 2000-01-25 Martin Buchholz <martin@xemacs.org>
17254 * elhash.c (hentry_description): Use more portable definition.
17255 (resize_hash_table): Initialize new hentries using
17256 xnew_array_and_zero, thereby simplifying the code.
17258 * mule-charset.c (make_charset): Make sure entire object is
17259 initialized, to avoid Purify warnings.
17261 * alloc.c (resize_string): Fix unlikely crash with big strings.
17263 2000-01-24 Martin Buchholz <martin@xemacs.org>
17265 * realpath.c (xrealpath):
17266 Don't call getwd().
17268 2000-01-25 Martin Buchholz <martin@xemacs.org>
17270 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17272 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17274 * unexelfsgi.c (unexec): Change the way we decide which segment
17275 should be extended.
17277 Assumption that .bss section should be outside the PT_LOADable
17278 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17279 it's present) is inside the 'data' segment. This would fail the
17280 test which was used to find a segment to grow and cover new
17281 heap. Instead of this assumption, I created another one - on IRIX
17282 the segment to grow should start below .bss and it's address
17283 should extent above the end of .bss. Once this segment is
17284 identified, it's grown to accommodate the new heap and new
17285 zero-length .bss section is added at the end of .data2.
17287 2000-01-25 Martin Buchholz <martin@xemacs.org>
17289 * eval.c (Feval): Wrong number of arguments should use original
17290 function, not the indirect_function version of it.
17292 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17294 * glyphs-x.c (x_button_instantiate): Don't add image if
17295 it is not a pixmap.
17296 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17299 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17301 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17303 (DEFVAR_INT_MAGIC): Ditto.
17304 (DEFVAR_BOOL_MAGIC): Ditto.
17305 * glyphs.h: Reindent backslash.
17307 2000-01-24 Martin Buchholz <martin@xemacs.org>
17309 * glyphs-widget.c (layout_query_geometry):
17310 (layout_layout): Use correct types for gheight, gwidth.
17312 2000-01-24 Martin Buchholz <martin@xemacs.org>
17314 * EmacsManager.c (QueryGeometry): Purified.
17316 2000-01-23 Martin Buchholz <martin@xemacs.org>
17318 * alloc.c (make_float): Make sure entire object is initialized, to
17319 avoid Purify warnings.
17320 (pdump_register_sub): Remove useless assignment.
17321 (pdump): Use xmalloc, not malloc.
17322 (pdump_load): Use xmalloc, not malloc.
17324 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17331 * sysdep.c: Removed redundant #include <windows.h>
17333 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17335 * frame.c (delete_frame_internal): Do not delete device when its
17336 implementation so declares.
17337 (delete_frame_internal): Set device selected frame to nil when
17338 last frame goes away.
17340 * device-msw.c (msprinter_device_system_metrics): Implemented.
17341 (mswindows_device_system_metrics): Added 'device-dpi property.
17343 * device.c: (Fdevice_printer_p): Added.
17344 Added 'offset-workspace device metric.
17346 * console.h (device_metrics): Declared DM_offset_workspace.
17348 2000-01-23 Martin Buchholz <martin@xemacs.org>
17350 * fileio.c (Ffile_truename): Remove pointless and confusing
17351 initialization of elen.
17353 * glyphs-widget.c: Compiler warning fixes.
17355 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17357 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17358 instead of a Lisp_Object as argument to make it consistent with
17359 the other LIVE_P macros.
17360 (CHECK_LIVE_PROCESS): New macro.
17362 * process.c: Declare Qprocess_live_p.
17363 (Fprocess_live_p): New function.
17364 (create_process): Use PROCESS_LIVE_P.
17365 (read_process_output): Ditto.
17366 (set_process_filter): Ditto.
17367 (Fdelete_process): Ditto.
17368 (kill_buffer_processes): Ditto
17369 (process_send_signal): Use CHECK_LIVE_PROCESS.
17370 (Fprocess_input_coding_system): Check whether process is still
17371 alive (fix PR#1061).
17372 (Fprocess_output_coding_system): Ditto.
17373 (Fprocess_coding_system): Ditto.
17374 (Fset_process_input_coding_system): Ditto.
17375 (Fset_process_output_coding_system): Ditto.
17377 2000-01-23 Andy Piper <andy@xemacs.org>
17379 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17382 * glyphs.c (mark_image_instance): take into account changed
17383 image_instance format.
17384 (image_instance_equal): ditto.
17385 (image_instance_hash): ditto.
17387 * glyphs-widget.c (widget_instantiate): Incorporate layout
17388 instantiation here. Delay layout of the layout until later.
17389 (layout_instantiate): deleted.
17390 (layout_query_geometry): new function. get the geometry of a
17392 (layout_layout): layout a layout dynamically.
17393 (image_instantiator_widget): New function - splitting up
17394 image_instantiator_format_create_glyphs_widget for netwinder
17396 (image_instantiator_buttons):
17397 (image_instantiator_edit_fields):
17398 (image_instantiator_combo_box):
17399 (image_instantiator_scrollbar):
17400 (image_instantiator_progress_guage):
17401 (image_instantiator_tree_view):
17402 (image_instantiator_tab_control):
17403 (image_instantiator_labels):
17404 (image_instantiator_layout): ditto.
17405 (image_instantiator_format_create_glyphs_widget): Call preceding
17408 2000-01-22 Martin Buchholz <martin@xemacs.org>
17410 * process.c (Fset_process_coding_system):
17411 * device-x.c (Fx_keysym_hash_table):
17414 * lstream.c (Lstream_write): Return documented value, not 0.
17416 * fileio.c (directory_file_name):
17417 (Fsubstitute_in_file_name):
17418 (Fsubstitute_insert_file_contents_internal):
17419 (Fwrite_region_internal):
17424 Remove vestigial APOLLO-conditional code.
17426 2000-01-21 Martin Buchholz <martin@xemacs.org>
17428 * getpagesize.h: Add guard macros.
17429 * libsst.h: Add guard macros.
17430 * libst.h: Add guard macros.
17431 * line-number.h: Add guard macros.
17432 * ndir.h: Add guard macros.
17433 * sysfloat.h: Add guard macros.
17434 * sysfile.h: Add guard macros.
17435 * sysproc.h: Add guard macros.
17436 * syswait.h: Add guard macros.
17437 * xintrinsic.h: Add guard macros.
17438 * xintrinsicp.h: Add guard macros.
17439 * xmmanager.h: Add guard macros.
17440 * xmmanagerp.h: Add guard macros.
17441 * xmprimitive.h: Add guard macros.
17442 * xmu.h: Add guard macros.
17443 * gpmevent.h: Add copyright statement. Add guard macros.
17444 * miscplay.h: Add guard macros.
17445 * *.h: Use consistent C-standards-approved guard macro names.
17447 * opaque.c (make_opaque): Switch parameter order.
17448 * opaque.h (make_opaque): Switch parameter order.
17449 Update all callers.
17450 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17452 * config.h.in (type_checking_assert): Added.
17453 (bufpos_checking_assert): Added.
17455 2000-01-21 Martin Buchholz <martin@xemacs.org>
17457 * alloc.c: Harmless pdump changes.
17459 - spell alignment correctly.
17460 * sysdep.c: Use countof()
17462 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17464 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17465 initially_selected_for_input() console method, default to 0.
17466 (semi_canonicalize_console_connection): Try to delegate to
17467 canonicalize_console_connection if no such console method.
17468 (canonicalize_console_connection): Vice versa.
17469 (print_console): Do not print nil connection.
17471 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17472 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17473 (XDEVIMPF_FRAMELESS_OK): Added.
17474 (CONSOLE_INHERITS_METHOD): Added.
17476 * console-msw.c (mswindows_canonicalize_console_connection):
17478 (mswindows_canonicalize_device_connection): Added.
17480 * console-msw.h (struct msprinter_device): Added this struct and
17482 (mswindows_device): Made fontlist a lisp object.
17484 * device.c (semi_canonicalize_device_connection): Try to delegate
17485 to canonicalize_device_connection if no such console method.
17486 (canonicalize_device_connection): Vice versa.
17487 (print_device): Do not print nil connection.
17489 * device-msw.c (mswindows_init_device): Call InitCommonControls
17491 (mswindows_delete_device): Removed fontlist deallocation.
17492 (mswindows_mark_device): Added.
17494 * events.c (event_equal): Added abort() at unreached code.
17495 (event_hash): Ditto.
17497 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17498 fallback tags of Windows devices.
17500 * general.c (syms_of_general): Initialized Qmsprinter.
17502 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17503 of fallback tags of Windows devices.
17505 * lisp.h: Declared Qmsprinter.
17507 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17509 (mswindows_list_fonts): Ditto.
17510 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17511 that it can be used by both mswindows and msprinter devices.
17512 (initialize_font_instance): Added.
17513 (mswindows_initialize_font_instance): Use it.
17514 (msprinter_initialize_font_instance): Added.
17516 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17517 and implementation flags check.
17518 (redisplay_without_hooks): Changed the call to the above.
17519 (Fredraw_device): Ditto.
17520 (Fredisplay_device): Ditto.
17522 * redisplay-msw.c (get_frame_dc): Implemented.
17523 (get_frame_compdc): Implemented.
17524 (many functions): Use the two functions above to get device
17525 contexts, ether for a window or a printer.
17527 2000-01-21 Olivier Galibert <galibert@pobox.com>
17529 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17530 initialization here.
17531 (init_symbols_once_early): Call it.
17532 * emacs.c (main_1): Call it.
17533 * symsinit.h: Declare it.
17535 2000-01-19 Olivier Galibert <galibert@pobox.com>
17537 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17539 (pdump_backtrace): Ditto.
17540 (pdump_register_object): Ditto. Cleanup use of the pointers.
17541 (pdump_get_entry): Abort if trying to register a null pointer.
17542 (pdump_dump_data): Cleanup types when relocating.
17543 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17544 (pdump_dump_rtables): Remove bad casts.
17545 (pdump_load): Cleanup relocation w.r.t union type. Use a
17546 Lisp_Object instead of a EMACS_INT for the hashtable
17549 2000-01-20 Martin Buchholz <martin@xemacs.org>
17551 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17553 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17555 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17557 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17559 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17561 * faces.h (FACE_STRIKETHRU_P): Added.
17563 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17566 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17567 (mswindows_set_dc_font): New function, aware of font variants,
17568 separated from mswindows_update_dc.
17570 * objects-msw.h (struct mswindows_font_instance_data): Added
17573 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17574 cached fonts and the data structure.
17575 (mswindows_initialize_font_instance): Added creation of font data
17577 (mswindows_print_font_instance): Print at least something.
17578 (mswindows_create_font_variant): Implemented.
17579 (mswindows_get_hfont): Implemented.
17581 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17583 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17584 prototyping problem with msvc.
17586 * emacs.c (main_1): added syms_of_gui_mswindows() call
17588 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17589 syms_of_gui_mswindows() function
17591 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17593 2000-01-18 Martin Buchholz <martin@xemacs.org>
17595 * XEmacs 21.2.27 is released.
17597 2000-01-18 Martin Buchholz <martin@xemacs.org>
17599 * glyphs-eimage.c (struct tiff_error_struct):
17601 (tiff_warning_func):
17602 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17607 * unexec.c: Remove vestigial Lucid C code.
17611 * libsst.c: Ansify.
17612 Remove declarations of errno and strerror().
17614 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17616 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17618 2000-01-16 Martin Buchholz <martin@xemacs.org>
17620 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17623 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17628 Change enum eol_type to eol_type_t.
17630 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17632 * gui.c (get_gui_callback): Check cons before accessing car.
17634 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17636 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17637 (XSETSPECIFIER_TYPE): Ditto.
17639 2000-01-17 Didier Verna <didier@xemacs.org>
17641 * redisplay.c (generate_fstring_runes): compute string size in
17642 characters, not bytes.
17644 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17646 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17648 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17650 * print.c (print_error_message): Call print_prepare().
17652 2000-01-14 Martin Buchholz <martin@xemacs.org>
17654 * .dbxrc: Renamed from dbxrc.
17656 * events.c (event_to_character):
17657 Use `assert (foo)' instead of `if (!foo) abort()'
17659 * .gdbinit (xtype): Add documentation.
17660 * .gdbinit (check-temacs): New function.
17661 * .gdbinit (check-xemacs): New function.
17662 * dbxrc (check-xemacs): New function.
17663 * dbxrc (check-xemacs): New function.
17665 2000-01-14 Andy Piper <andy@xemacs.org>
17667 * glyphs-widget.c (widget_query_geometry): Make sure that we
17668 calculate default dimensions correctly.
17670 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17672 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17674 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17675 pdump_wire'd variable.
17677 * emacs.c: (main_1): Conditionalized calls to
17678 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17680 2000-01-13 Martin Buchholz <martin@xemacs.org>
17682 * window.c (Fset_window_configuration):
17683 * sysdep.c (_start):
17684 * input-method-motif.c (res):
17685 * event-Xt.c (Xt_process_to_emacs_event):
17686 Simple compiler warning fixes.
17688 * bytecode.c (funcall_compiled_function): Use the original
17689 function symbol on the backtrace list in preference to the
17690 compiled_function object in error messages.
17692 2000-01-13 Andy Piper <andy@xemacs.org>
17694 * glyphs-x.c (update_widget_face): Make sure we update the widget
17695 background as well as foreground.
17697 2000-01-13 Andy Piper <andy@xemacs.org>
17699 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17700 fields to subwindow.
17701 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17702 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17703 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17704 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17706 * glyphs-widget.c (check_valid_tab_orientation): new function.
17707 (initialize_widget_image_instance): zero orientation and
17709 (widget_instantiate): pick up orientation.
17710 (tab_control_query_geometry): return appropriate values for
17713 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17714 appropriate creation flags for left, right and bottom tabs.
17716 * s/cygwin32.h: add tab definitions.
17718 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17720 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17721 frame upon hiding a subwindow.
17722 (mswindows_button_instantiate): Changed the push button style to
17724 (mswindows_button_instantiate): Removed button BS_NOTIFY
17726 (mswindows_button_instantiate): Removed redundant check for
17727 a disabled gui item.
17728 (mswindows_button_instantiate): Made use of WS_TABSTOP
17729 consistent: "operable" controls (edit, button, tree, scroll) have
17730 this style, "display-only" ones (static, progress gauge) do
17731 not. This style is currently ignored by XEmacs though. Also,
17732 removed the WS_EX_CONTROLPARENT style - it is not for children,
17733 it is for their parents!
17734 (mswindows_edit_field_instantiate): Ditto.
17735 (mswindows_progress_gauge_instantiate): Ditto.
17736 (mswindows_tree_view_instantiate): Ditto.
17737 (mswindows_tab_control_instantiate): Ditto.
17738 (mswindows_scrollbar_instantiate): Ditto.
17739 (mswindows_combo_box_instantiate): Ditto.
17740 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17741 style to the "clip" window.
17742 (mswindows_button_instantiate): Removed compilation warning by
17743 equally typing terms of the ?: operator.
17745 2000-01-12 Didier Verna <didier@xemacs.org>
17747 * redisplay.c (generate_fstring_runes): new parameter holding the
17748 last modeline-format extent.
17749 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17750 extent, fill the glyph block with it.
17751 (generate_fstring_runes): handle these parameters.
17752 (generate_formatted_string_db): ditto.
17754 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17755 glyphs'extents in the modeline.
17757 1999-01-11 Mike Woolley <mike@bulsara.com>
17759 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17760 256Mb, as a workaround for the non-starting problem many people
17763 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17765 * console-tty.c (Fset_console_tty_output_coding_system):
17766 Force redrawing tty frame.
17768 2000-01-10 Didier Verna <didier@xemacs.org>
17770 * redisplay.c (generate_fstring_runes): fix size computation bug.
17772 2000-01-09 William M. Perry <wmperry@aventail.com>
17774 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17776 2000-01-09 Andy Piper <andy@xemacs.org>
17778 * glyphs-msw.c: index -> i to avoid shadows.
17779 (xbm_create_bitmap_from_data): make static.
17780 (check_valid_string_or_int): deleted.
17781 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17783 * glyphs-x.c (x_update_subwindow): remove unused args.
17785 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17786 back pointer - this is done in allocate_image_instance.
17787 (query_string_font): return Qnil to make the compiler happy.
17788 (unmap_subwindow): set to ~0 to make the compiler happy.
17789 (glyph_query_geometry): comment out until used.
17790 (glyph_layout): ditto.
17792 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17794 * insdel.c (signal_after_change): Remove extraneous unbind_to().