1 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * concord.c (Fconcord_decode_object): Do GCPRO for
5 (func_for_each_object): Likewise; do GCPRO for
6 for_each_object_closure->function.
7 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
8 for_each_object_closure->function, for_each_object_closure->genre,
9 for_each_object_closure->ds and for_each_object_closure->ret.
10 (concord_object_validate): Do GCPRO for Fconcord_make_object.
12 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * concord.c: Add EXFUNs for Fconcord_decode_object and
16 (Fconcord_make_object): Change order of arguments.
17 (Fconcord_decode_object): Modify for Fconcord_make_object.
18 (func_for_each_object): Likewise.
19 (concord_object_validate): Likewise.
20 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
22 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
26 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
28 * concord.c (Fconcord_decode_object): Try to use readable print
29 form as a key of Concord-index.
30 (Fconcord_object_get): Try to use readable print form as an ID of
32 (Fconcord_object_put): Try to use readable print form as an ID of
33 Concord-object and a feature value.
34 (Fconcord_object_spec): Try to use readable print form as an ID of
37 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * concord.c (print_concord_object): Support readable form.
41 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
43 * emacs.c (main_1): Call `structure_type_create_concord' when
44 HAVE_CONCORD is defined.
46 * symsinit.h (structure_type_create_concord): New prototype.
48 * concord.c (Qconcord_object): New variable.
51 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
53 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
54 char*> for genre-name.
55 (Fconcord_feature_list): Likewise.
56 (Fconcord_make_object): Likewise.
57 (Fconcord_decode_object): Likewise; use <char*> instead of
58 <unsigned char*> for feature_name and strid.
59 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
60 c_obj and feature_name.
61 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
63 (struct closure_for_object_spec): Use <char*> instead of <unsigned
64 char*> for member `object_id'.
65 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
66 char*> for feature-name.
67 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
69 (func_for_each_object): Cast to avoid warnings.
70 (Fconcord_foreach_object_in_feature): Use <char*> instead of
71 <unsigned char*> for genre_name and feature_name.
72 (concord_name_validate): New function.
73 (concord_object_validate): Likewise.
74 (concord_object_instantiate): Likewise.
75 (syms_of_concord): Add new builtin symbols `concord-object',
77 (structure_type_create_concord): New function.
79 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
81 * concord.c (Vconcord_ds_hash_table): New variable.
82 (Vconcord_genre_hash_table): New variable.
83 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
84 (Fconcord_ds_directory): New function.
85 (Fconcord_assign_genre): New function.
86 (Fconcord_genre_directory): New function.
87 (Fconcord_genre_ds): New function.
88 (Fconcord_feature_list): Allow to omit `ds'.
89 (Fconcord_make_object): Likewise.
90 (Fconcord_decode_object): Likewise.
91 (Fconcord_foreach_object_in_feature): Likewise.
92 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
93 Fconcord_assign_genre, Fconcord_genre_directory and
95 (vars_of_concord): Setup Vconcord_ds_hash_table and
96 Vconcord_genre_hash_table.
98 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
100 * concord.c (struct closure_for_each_object): Add new member
102 (func_for_each_object): Setup the return value to
103 `for_each_object_closure->ret'.
104 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
105 returns the value instead of Qt.
107 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * concord.c: New file.
111 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
114 `lrecord_type_concord_object'.
116 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
118 * symsinit.h (syms_of_concord): New prototype.
119 (vars_of_concord): New prototype.
121 * emacs.c (main_1): Setup symbols and variable about concord if
122 HAVE_CONCORD is defined.
124 * config.h.in (HAVE_CONCORD): New macro.
126 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
128 * chartab.c (Fput_char_attribute): For each character relation
129 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
131 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
133 * chartab.c (Fput_char_attribute): Use
134 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
135 calling `put_char_composition'.
137 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
139 * chartab.c (Q_halfwidth_of): New variable.
140 (put_char_composition): Return `<-halfwidth' instead of
141 `=decomposition' for compatibility mapping to single character
143 (Fput_char_attribute): Convert char-specs in value of
144 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
145 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
147 (syms_of_chartab): Add new symbol `<-halfwidth'.
149 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * chartab.c (put_char_composition): Return
152 `<-formed@{isolated|initial|medial|final}' for compatibility
153 mapping to single character tagged
154 `{isolated|initial|medial|final}'.
156 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
158 * chartab.c (Q_compat_of): Deleted.
159 (put_char_composition): Return `<-FOO' for compatibility mapping
160 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
161 of `symbol_name (XSYMBOL(...))'.
162 (Fput_char_attribute): Convert char-specs in value of
163 `{<-|->}font[^*]*' to characters and put reverse links.
164 (Fsave_char_attribute_table): Don't refer Q_compat_of.
165 (syms_of_chartab): Delete builtin symbol `<-compat'.
167 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
169 * chartab.c (Q_circled_of): New variable.
170 (put_char_composition): Return `<-circled' instead of
171 `=decomposition' for compatibility mapping to single character
173 (Fput_char_attribute): Convert char-specs in value of
174 `{<-|->}circled[^*]*' to characters and put reverse links.
175 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
177 (syms_of_chartab): Add new symbol `<-circled'.
179 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
181 * chartab.c (Qto_decomposition_at_circled): New variable.
182 (put_char_composition): Return `=>decomposition@circled' instead
183 of `=decomposition' for compatibility decomposition mapping tagged
185 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
187 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
189 * chartab.c (Q_subscript_of): New variable.
190 (put_char_composition): Return `<-subscript' instead of
191 `=decomposition' for compatibility mapping to single character
193 (Fput_char_attribute): Convert char-specs in value of
194 `{<-|->}subscript[^*]*' to characters and put reverse links.
195 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
197 (syms_of_chartab): Add new symbol `<-subscript'.
199 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
201 * chartab.c (Q_superscript_of): New variable.
202 (put_char_composition): Return `<-superscript' instead of
203 `=decomposition' for compatibility mapping to single character
205 (Fput_char_attribute): Convert char-specs in value of
206 `{<-|->}superscript[^*]*' to characters and put reverse links.
207 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
209 (syms_of_chartab): Add new symbol `<-superscript'.
211 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * chartab.c (Qto_decomposition_at_compat): Deleted.
214 (Qto_decomposition_at_superscript): New variable.
215 (put_char_composition): Use `=>decomposition@superscript' instead
216 of `=decomposition' for compatibility decomposition mapping tagged
218 (Fput_char_attribute): Fix condition about `put_char_composition'.
219 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
220 add news symbol `=>decomposition@superscript'.
222 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
224 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
225 for compatibility decomposition mapping tagged FOO.
226 (Fput_char_attribute): Modify for `put_char_composition'.
228 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
230 * chartab.c (Qto_decomposition_at_compat): New variable.
231 (Q_compat_of): Renamed from `Q_compatibility_of'.
232 (put_char_composition): Rename `Q_compatibility_of' to
233 `Q_compat_of'; return `=>decomposition@compat' for compatibility
234 decomposition mapping.
235 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
237 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
238 `<-compatibility' to `<-compat'.
240 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
242 * chartab.c (Q_compatibility_of): New variable.
243 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
244 object is proved to be a cons cell; return `<-compatibility' if
245 the first element of argument `value' is `compat'.
246 (Fput_char_attribute): Eliminate the first value if
247 `put_char_composition' returns `<-compatibility'.
248 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
249 for `<-compatibility'.
250 (syms_of_chartab): Add new symbol `<-compatibility'.
252 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
254 * chartab.c (Q_canonical): New variable.
255 (put_char_composition): Return a feature name: return
256 `->canonical' if argument `value' specifies single character.
257 (Fput_char_attribute): Use `put_char_composition' to determine
258 feature name for `=decomposition' or `->denotational'.
259 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
261 (syms_of_chartab): Add new symbol `->canonical'.
263 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * chartab.c (Qmap_decomposition): New variable.
266 (Fput_char_attribute): Convert `->decomposition' to
268 (syms_of_chartab): Add new symbol `=decomposition'.
270 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * chartab.c (Fget_range_char_table): Fix serious problem when
275 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
277 * chartab.c (char_table_get_db): Use `read_from_c_string'.
279 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
281 * lread.c (read_from_c_string): New function.
283 * lisp.h (read_from_c_string): New prototype.
285 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
287 * chartab.c (Fput_char_attribute): Convert char-specs in value of
288 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
289 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
290 for `{<-|->}Oracle-Bones[^*]*'.
292 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
297 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
299 * text-coding.c (Qccs_priority_list): New variable in XEmacs
301 (Fmake_coding_system): Support new property `ccs-priority-list' in
303 (Fcoding_system_property): Likewise.
304 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
305 Vdefault_coded_charset_priority_list in XEmacs CHISE.
306 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
308 (complex_vars_of_file_coding): Define new coding-system-property
309 `ccs-priority-list' in XEmacs CHISE.
311 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
313 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
315 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
316 changed to normal function.
317 (encode_char_2): Likewise.
319 * mule-charset.c (decoding_table_put_char): Copied from
320 char-ucs.h; changed to normal function.
321 (encode_char_2): Likewise.
323 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
327 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
328 (encode_char_2_search_children): New inline function.
329 (encode_char_2): Refer
330 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
331 and use `encode_char_2_search_children'.
333 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
337 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
338 (vars_of_mule_charset): Add new variable
339 `display-coded-charset-priority-use-inheritance' and
340 `display-coded-charset-priority-use-hierarchy-order'.
342 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
344 * char-ucs.h (Q_subsumptive): New extern.
345 (Q_denotational): Likewise.
346 (encode_char_2): Search children specified by `->subsumptive' and
349 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * mule-charset.c (complex_vars_of_mule_charset): Modify the
352 X-registry of `ucs-bmp'.
354 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
356 * chartab.c (char-variants): Refer `->subsumptive',
357 `->denotational' and `->identical' as same as `->ucs-unified'.
359 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
361 * chartab.c (Fput_char_attribute): Convert char-specs in value of
362 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
365 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * text-coding.c: Add EXFUN for `Fregexp_quote'.
368 (decode_add_er_char): Fix problem about infinite loop when a CCS
369 specified in `coded-charset-entity-reference-alist' is not
372 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * mule-charset.c (syms_of_mule_charset): Rename
375 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
377 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * fns.c (simplify_char_spec): Don't allocate new character-object
380 if specified char_spec does not have any CCS-features.
382 * chartab.h: Add EXFUN for Fdefine_char.
384 * chartab.c: Delete EXFUN for Fdefine_char.
386 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * fns.c (simplify_char_spec): Use Fdefine_char instead of
389 Ffind_char for char-spec.
391 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
393 * lisp-disunion.h (XCHARVAL): Fix condition about
396 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
400 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
401 point; use <Emchar> instead of <int> for character-id.
403 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
406 (make_char): Likewise.
407 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
409 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
410 instead of <int> as the type of return value; use <Lisp_Object>
411 instead of <Emchar> as the type of argument.
412 (XCHARVAL[macro version]): Cast the result into <Emchar>.
414 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
415 syntaxcode> instead of <int>.
417 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
419 * chartab.c (put_char_composition): Use DECODE_CHAR to get
420 character corresponding with UCS code point.
421 (Fput_char_attribute): Likewise.
423 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
424 character in the UCS decoding-table if the char-id is not equal to
427 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
429 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
430 for aliases; write `description'; write
431 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
434 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
436 * chartab.c (Fsave_char_attribute_table): Don't use
437 `save_charset_properties'.
439 * mule-charset.c (Fsave_charset_properties): Renamed from
440 `save_charset_properties' and changed to Lisp function again;
441 write property `type' as `CCS'; write properties `final-byte' and
442 `mother' if they exists.
443 (syms_of_mule_charset): Revive builtin function
444 `save-charset-properties' when HAVE_LIBCHISE is defined.
446 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
448 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
449 instead of Vexec_directory.
450 (char_attribute_system_db_file): Likewise.
452 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
454 * chartab.c (Fsave_char_attribute_table): Use
455 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
458 * mule-charset.c (save_charset_properties): Renamed from
459 `Fsave_charset_properties'; changed to non-Lisp function.
460 (syms_of_mule_charset): Abolish builtin function
461 `save-charset-properties'.
463 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
465 * mule-charset.c (Fsave_charset_properties): New function when
466 HAVE_LIBCHISE is defined.
467 (syms_of_mule_charset): Add new builtin function
468 `save-charset-properties' when HAVE_LIBCHISE is defined.
470 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
472 * chartab.c (Fput_char_attribute): Convert char-specs in value of
473 `{<-|->}ancient[^*]*' to characters and put reverse links.
474 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
475 for `{<-|->}ancient[^*]*'.
477 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
479 * chartab.c (Fput_char_attribute): Convert char-specs in value of
480 `{<-|->}original[^*]*' to characters and put reverse links.
481 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
482 for `{<-|->}original[^*]*'.
484 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
486 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
488 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
490 * mule-charset.c (Qsystem_char_id): New variable.
492 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
493 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
495 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
497 * chartab.c (Fput_char_attribute): When processing a reference of
498 a character, put into the end of the reversed reference of each
501 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
503 * chartab.c (Q_same): Deleted.
504 (Q_same_of): Deleted.
505 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
506 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
508 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
510 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
512 * chartab.c (Q_vulgar): Deleted.
513 (Q_vulgar_of): Deleted.
514 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
515 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
517 (syms_of_chartab): Don't define `{<-|->}vulgar'.
519 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
521 * chartab.c (Fput_char_attribute): Convert char-specs in value of
522 `{<-|->}wrong[^*]*' to characters and put reverse links.
523 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
524 for `{<-|->}wrong[^*]*'.
526 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
528 * chartab.c (Q_vulgar): New variable.
529 (Q_vulgar_of): New variable.
530 (Fput_char_attribute): Convert char-specs in value of
531 `{->|<-}vulgar' to characters and put reverse links.
532 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
534 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
536 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
538 * text-coding.c (decode_add_er_char): Must to quote prefix string
541 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
543 * mule-charset.c (put_char_ccs_code_point): Store characters of
544 =ucs whose code_points >= 0xF0000.
546 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
548 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
550 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
552 (complex_vars_of_mule_charset): Add new coded-charset
553 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
554 builtin characters over 0xEFFFF.
556 * chartab.c (syms_of_chartab): Don't define symbol
557 `system-char-id' in every case.
559 * char-ucs.h (Qsystem_char_id): New extern variable.
560 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
562 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
564 * text-coding.c (char_encode_utf8): Try to use entity-references
565 for U-000F0000 ... U-0010FFFF.
567 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
569 * text-coding.c (ER_BUF_SIZE): New macro.
570 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
572 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
573 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
575 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
577 * chartab.c (find_char_feature_in_family): New function.
578 (Fchar_feature): Use `find_char_feature_in_family' with
579 `->identical', `<-subsumptive' and `<-denotational'.
581 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
583 * text-coding.c (char_encode_as_entity_reference): Allow prefix
584 within 8 characters; fix infinite loop.
586 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
588 * chartab.c (Q_same): New variable.
589 (Q_same_of): New variable.
590 (Fput_char_attribute): Convert char-specs in value of
591 `{->|<-}same' to characters and put reverse links.
592 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
594 (syms_of_chartab): Add new symbols `{->|<-}same'.
596 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
598 * chartab.c (Q_component): New variable.
599 (Q_component_of): Likewise.
600 (Fput_char_attribute): Convert char-specs in value of
601 `{->|<-}ideographic-component-forms' to characters and put reverse
603 (syms_of_chartab): Add new symbols
604 `{->|<-}ideographic-component-forms'.
606 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
608 * chartab.c (Q_identical): New variable.
609 (Q_identical_from): New variable.
610 (Fchar_feature): Regard `->identical' as a feature to find
612 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
613 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
614 for `{->|<-}identical'.
615 (syms_of_chartab): Add new symbols `{->|<-}identical'.
617 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
619 * char-ucs.h (encode_char_2): New inline function.
620 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
622 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
624 * chartab.c (Fput_char_attribute): Convert char-specs to
625 characters in value of `ideographic-structure'.
626 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
627 for `{<-|->}simplified(@...)'.
628 (Fdefine_char): Try to use predefined character's id.
630 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
632 * fns.c (simplify_char_spec): Try to convert builtin chars to
635 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * chartab.c (Fput_char_attribute): Convert char-specs in value of
638 `<-simplified[^*]*' to characters and put reverse links.
640 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * chartab.c (Q_subsumptive): Renamed from Q_unified.
643 (Q_subsumptive_from): Renamed from Q_unified_from.
644 (Fchar_feature): Use `Q_subsumptive_from' instead of
646 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
648 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
649 `<-unified' to `<-subsumptive'.
651 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
654 inheritance itself; fix typo; stop recursive search if cyclic
655 inheritance is found.
657 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
659 * chartab.c (Q_denotational): New variable.
660 (Q_denotational_from): New variable.
661 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
662 (put_char_attribute): New function.
663 (Fput_char_attribute): Use `put_char_attribute'; regard
664 `->denotational' and `<-denotational' as same as `->unified' and
666 (syms_of_chartab): Add new symbols `->denotational' and
669 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
671 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
672 `Fget_char_attribute'.
673 (Fchar_variants): Likewise.
674 (get_char_table): Likewise.
675 (Fchar_feature): New function.
676 (put_char_composition): Use `Fchar_feature' instead of
677 `Fget_char_attribute'.
678 (Fput_char_attribute): Likewise; don't put the target character
679 into its `->unified' value.
680 (syms_of_chartab): Add new builtin function `char-feature'.
682 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
684 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
685 `Fget_char_attribute'.
686 (char_encode_utf8): Likewise.
688 * chartab.h: Add an EXFUN for `Fchar_feature'.
690 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
692 * chartab.c (Vnext_defined_char_id): New variable.
693 (Fput_char_attribute): Accept characters in `->unified'.
694 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
695 new characters which are not related with builtin char-id ranges.
696 (vars_of_chartab): Add new variable `next-defined-char-id'.
698 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
700 * chartab.c (Q_unified): New variable.
701 (Q_unified_from): New variable.
702 (Fput_char_attribute): Add code for `->unified'.
703 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
706 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
708 * mule-charset.c (decode_ccs_conversion): New function.
709 (decode_defined_char): Use `decode_ccs_conversion'.
710 (decode_builtin_char): Likewise.
712 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
714 * char-ucs.h: Change some charset-ids of private coded-charsets.
716 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
719 (char_encode_as_entity_reference): Likewise.
720 (decode_coding_big5): Modify for `decode_defined_char' and
722 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
723 avoid compiler warning.
724 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
726 * mule-charset.c (decode_defined_char): Add new argument
727 `without_inheritance'.
728 (Fdecode_char): Add new optional argument `without_inheritance'.
729 (Fdecode_builtin_char): Modify for `Fdecode_char'.
731 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
732 (simplify_char_spec): Likewise.
734 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
737 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
738 (map_char_table): Likewise.
739 (Fdefine_char): Use `Fdecode_char' without inheritance.
740 (Ffind_char): Modify for `Fdecode_char'.
742 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
744 * char-ucs.h (decode_defined_char): Add new argument
745 `without_inheritance'.
746 (DECODE_CHAR): Likewise.
747 (MAKE_CHAR): Modify for `DECODE_CHAR'.
749 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * chartab.c (Vchise_system_db_directory): New variable.
752 (vars_of_chartab): Add new variable `chise-system-db-directory'.
754 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
756 * chartab.c: EXFUN `Fmount_char_attribute_table'.
757 (print_chartab_range): Don't define when `UTF2000' is defined.
758 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
761 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
763 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
764 and optional argument `rehash' is specified, call
765 `open_chise_data_source_maybe' before
766 `chise_ds_foreach_char_feature_name' is called.
768 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
770 * chartab.c (char_attribute_list_reset_map_func): New function
771 when HAVE_LIBCHISE is defined.
772 (Fchar_attribute_list): Add new optional argument `rehash' when
773 HAVE_LIBCHISE is defined.
774 (open_chise_data_source_maybe): Use "chise-db" instead of
776 (char_attribute_system_db_file): Likewise.
777 (Fload_char_attribute_table): Use
778 `chise_feature_foreach_char_with_value' instead of
779 `chise_char_feature_value_iterate'.
781 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
783 * chartab.c (Vchise_db_directory): New variable.
784 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
786 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
788 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
789 instead of HAVE_CHISE to specify using with libchise.
791 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
793 * chartab.h: Don't use HAVE_CHISE_CLIENT.
795 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
796 defined or HAVE_LIBCHISE_LIBCHISE is defined.
797 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
799 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
800 HAVE_CHISE to specify using with libchise.
801 (syms_of_chartab): Don't define symbol `system-char-id' when
802 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
804 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
807 specify CHISE DB support.
808 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
809 of `char_attribute_system_db_file' to check feature DB file.
811 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
812 HAVE_CHISE_CLIENT to specify CHISE DB support.
814 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
815 specify CHISE DB support.
816 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
818 (Freset_char_attribute_table): Use `chise_feature_setup_db'
819 instead of `char_attribute_system_db_file' to check feature DB
822 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
827 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
830 (Fsave_charset_mapping_table): Don't use
831 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
833 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
834 (HAVE_LIBCHISE): New macro.
836 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
838 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
839 (Fsave_char_attribute_table): Don't use
840 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
842 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
844 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
846 (save_uint16_byte_table): Likewise.
847 (save_byte_table): Likewise.
848 (char_table_get_db): Use `chise_ds_load_char_feature_value'
849 instead of `chise_char_load_feature_value'.
850 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
852 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
854 * chartab.h (struct Lisp_Char_Table): Delete member
855 `feature_table' if CHISE is defined.
857 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
858 (Fcopy_char_table): Likewise.
859 (char_table_open_db_maybe): Likewise.
860 (char_table_close_db_maybe): Likewise.
861 (char_table_get_db): Likewise.
862 (Fmount_char_attribute_table): Likewise.
863 (Fload_char_attribute_table): Likewise.
865 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
867 * mule-charset.c (load_char_decoding_entry_maybe): Use
868 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
871 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
873 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
874 instead of `chise_open_data_source'.
875 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
878 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
880 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
881 instead of `chise_ds_open_feature_table'.
882 (char_table_close_db_maybe): Don't use `chise_ft_close'.
884 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
886 * mule-charset.c (Fsave_charset_mapping_table): Use
887 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
888 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
889 `chise_ccs_sync' instead of `chise_ccst_close'.
890 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
892 * chartab.c (open_chise_data_source_maybe): Modify for
893 `chise_open_data_source'.
894 (char_table_open_db_maybe): Modify for
895 `chise_ds_open_feature_table'.
897 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
899 * mule-charset.c (load_char_decoding_entry_maybe): Use
900 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
903 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
905 * mule-charset.c (Fsave_charset_mapping_table): Use
906 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
907 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
908 `chise_dt_put_char' and `chise_dt_close'.
909 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
910 `chise_ccs_decode' and `chise_ccst_close' instead of
911 `chise_ds_open_decoding_table', `chise_dt_get_char' and
914 * chartab.c (char_table_get_db): Use
915 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
916 (load_char_attribute_table_map_func): Modify for
917 `chise_char_feature_value_iterate'.
918 (Fload_char_attribute_table): Use
919 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
921 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
923 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
925 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
927 * chartab.c (put_char_table): Modify for inherited coded-charsets
930 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
932 * chartab.c (Fput_char_table_map_function): Fixed.
933 (word_boundary_p): Don't check charset in XEmacs CHISE.
935 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
937 * mule-charset.c (Fsave_charset_mapping_table): Use
938 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
939 instead of `chise_open_decoding_table'; refer
940 `default_chise_data_source'; use `chise_dt_close' instead of
941 `chise_close_decoding_table'.
942 (load_char_decoding_entry_maybe): Likewise.
944 * chartab.c (default_chise_data_source): New variable when `CHISE'
946 (Fcopy_char_table): `ct->ds' is deleted.
947 (open_chise_data_source_maybe): New function.
948 (Fclose_char_data_source): New function.
949 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
950 use `chise_ds_open_feature_table' instead of
951 `chise_open_feature_table'.
952 (char_table_close_db_maybe): Use `chise_ft_close' instead of
953 `chise_close_feature_table'; `cit->ds' is deleted.
954 (syms_of_chartab): Add new builtin function
955 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
957 * chartab.h (default_chise_data_source): New extern variable.
958 (open_chise_data_source_maybe): New prototype.
959 (struct Lisp_Char_Table): Delete `ds'.
961 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
963 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
966 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
968 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
969 not defined; add code for non-libchise setting.
970 (char_table_close_db_maybe): Likewise.
971 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
973 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
974 even if `CHISE' is not defined.
975 (Freset_char_attribute_table): Likewise.
976 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
977 `char_table_close_db_maybe' even if `CHISE' is not defined; use
979 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
980 `char_table_close_db_maybe' even if `CHISE' is not defined.
982 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
984 * chartab.c (char_table_open_db_maybe): New function.
985 (char_table_close_db_maybe): New function.
986 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
987 (Freset_char_attribute_table): Likewise.
988 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
989 `char_table_close_db_maybe'.
990 (Fload_char_attribute_table): Likewise.
992 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
994 * chartab.c: Don't include <chise.h> because it is included in
996 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
998 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1000 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1002 (Fclose_char_attribute_table): Close `ct->feature_table' and
1003 `ct->ds' when `CHISE' is defined.
1004 (Freset_char_attribute_table): Likewise.
1005 (load_char_attribute_maybe): Use `cit->ds' and
1006 `cit->feature_table' when `CHISE' is defined.
1007 (Fload_char_attribute_table): Likewise.
1009 * chartab.h: Include <chise.h> when `CHISE' is defined.
1010 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1011 when `CHISE' is defined.
1013 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1015 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1017 (char_table_description): Likewise.
1018 (Fmake_char_table): Likewise.
1019 (Fcopy_char_table): Likewise.
1020 (Fmount_char_attribute_table): Likewise.
1021 (Fclose_char_attribute_table): Likewise.
1022 (Freset_char_attribute_table): Likewise.
1023 (load_char_attribute_maybe): Likewise.
1024 (Fload_char_attribute_table): Likewise.
1026 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1029 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1031 * chartab.c (load_char_attribute_table_map_func): New function
1032 when CHISE is defined.
1033 (Qload_char_attribute_table_map_function): Don't define when CHISE
1035 (Fload_char_attribute_table_map_function): Likewise.
1036 (Fload_char_attribute_table): Use libchise when `CHISE' is
1038 (syms_of_chartab): Don't define
1039 `load-char-attribute-table-map-function' when CHISE is defined.
1041 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1043 * chartab.c: Include <chise.h> when `CHISE' is defined.
1044 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1046 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1048 * mule-charset.c (charset_code_point): Fix problem when searching
1049 in mother CCS fails with `defined_only' mode.
1051 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1053 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1054 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1055 (put_char_composition): Likewise.
1056 (Fput_char_attribute): Likewise.
1057 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1059 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1061 * chartab.c (Q_ucs): Deleted.
1062 (Fput_char_attribute): Don't refer `->ucs'.
1063 (Fdefine_char): Likewise.
1064 (Ffind_char): Likewise.
1065 (syms_of_chartab): Delete `->ucs'.
1067 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1069 * mule-charset.c (Qmap_cns11643_2): Renamed from
1070 `Qchinese_cns11643_2'.
1071 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1072 `chinese-cns11643-2'.
1073 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1076 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1078 * mule-charset.c (Qmap_cns11643_1): Renamed from
1079 `Qchinese_cns11643_1'.
1080 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1081 `chinese-cns11643-1'.
1082 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1085 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1087 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1088 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1090 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1093 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1095 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1096 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1098 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1101 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1103 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1104 (syms_of_mule_charset): Add new symbol `=big5' instead of
1106 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1108 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1110 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1111 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1113 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1116 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1118 * mule-charset.c (Qmap_jis_x0212): Renamed from
1119 `Qjapanese_jisx0212'.
1120 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1121 `japanese-jisx0212'.
1122 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1125 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1127 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1128 `Qjapanese_jisx0208'.
1129 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1130 of `japanese-jisx0208'.
1131 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1134 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1136 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1137 `Qjapanese_jisx0208_1978'.
1138 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1139 of `japanese-jisx0208-1978'.
1140 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1143 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1145 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1146 only for XEmacs CHISE.
1148 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1150 * char-ucs.h: Compact non-ISO-IR charset-ids.
1151 (LEADING_BYTE_UCS): Changed to -177.
1152 (LEADING_BYTE_CONTROL_1): Changed to -77.
1153 (LEADING_BYTE_UCS_BMP): Changed to -176.
1154 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1156 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1158 * mule-charset.c (Qiso_ir): New variable.
1159 (Fmake_charset): Recognise new property `iso-ir'.
1160 (syms_of_mule_charset): Add new symbol `iso-ir'.
1162 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1164 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1165 n to -n; charset-id of non ISO-IR sets are changed to positive
1168 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1170 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1171 for &MCS-XXXXXXXX; values.
1173 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1175 * mule.c (Vxemacs_chise_version): Renamed from
1176 `Vutf_2000_version'.
1177 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1178 `utf-2000-version' as an alias for `xemacs-chise-version'.
1180 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1182 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1183 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1186 * config.h.in (CHISE): New macro.
1188 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1190 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1192 (Qmap_ucs): New variable.
1193 (syms_of_mule_charset): Add new symbol `=ucs'.
1194 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1196 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1197 (simplify_char_spec): Likewise.
1199 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1201 * char-ucs.h (Qmap_ucs): New extern variable.
1203 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1205 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1206 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1207 don't define it when UTF2000 is not defined.
1208 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1209 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1210 when UTF2000 is not defined.
1211 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1212 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1214 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1216 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1218 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1220 (syms_of_mule_charset): Delete `ucs-gb'.
1221 (complex_vars_of_mule_charset): Likewise.
1223 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1225 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1227 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1228 (Qucs_cns): Deleted.
1229 (syms_of_mule_charset): Delete `ucs-cns'.
1230 (complex_vars_of_mule_charset): Likewise.
1232 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1234 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1236 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1237 (Qucs_jis): Deleted.
1238 (syms_of_mule_charset): Delete `ucs-jis'.
1239 (complex_vars_of_mule_charset): Likewise.
1241 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1243 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1245 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1247 (syms_of_mule_charset): Delete `ucs-ks'.
1248 (complex_vars_of_mule_charset): Likewise.
1250 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1253 (Qideograph_daikanwa_2): Deleted.
1254 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1255 (complex_vars_of_mule_charset): Likewise.
1257 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1258 (LEADING_BYTE_DAIKANWA_1): Deleted.
1259 (LEADING_BYTE_DAIKANWA_2): Deleted.
1260 (MIN_CHAR_DAIKANWA): Deleted.
1261 (MAX_CHAR_DAIKANWA): Deleted.
1263 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1265 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1266 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1267 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1269 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1270 (Vcharset_ideograph_daikanwa): Deleted.
1271 (Qideograph_hanziku_{1..12}): Deleted.
1272 (Qideograph_daikanwa): Deleted.
1273 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1274 Vcharset_ideograph_daikanwa.
1275 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1276 `ideograph-hanziku-{1..12}'.
1277 (complex_vars_of_mule_charset): Likewise.
1279 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1281 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1283 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1284 (Qideograph_gt_pj_{1..11}): Deleted.
1285 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1286 (complex_vars_of_mule_charset): Likewise.
1288 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1290 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1291 (Vcharset_ideograph_gt): Deleted.
1292 (Qucs_big5): Deleted.
1293 (Qideograph_gt): Deleted.
1294 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1296 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1299 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1300 (LEADING_BYTE_GT): Deleted.
1301 (MIN_CHAR_GT): Deleted.
1302 (MAX_CHAR_GT): Deleted.
1304 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1306 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1308 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1310 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1311 (save_uint16_byte_table): Likewise.
1312 (save_byte_table): Likewise; convert values by it.
1313 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1314 for `ideographic-structure'.
1315 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1316 as the filter for `ideographic-structure'.
1318 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1320 * chartab.c (put_char_composition): New function.
1321 (Fput_char_attribute): Use `put_char_composition'; use
1322 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1324 * fns.c (simplify_char_spec): New function.
1325 (char_ref_simplify_spec): New function.
1326 (Fchar_refs_simplify_char_specs): New function.
1327 (syms_of_fns): Add new builtin function
1328 `char-refs-simplify-char-specs'.
1330 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1332 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1333 (Qideograph_cbeta): Deleted.
1334 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1335 (complex_vars_of_mule_charset): Likewise.
1337 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1338 (MIN_CHAR_CBETA): Comment out.
1339 (MAX_CHAR_CBETA): Likewise.
1341 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1343 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1344 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1345 CHISE client feature.
1347 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1349 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1351 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1353 * mule-charset.c (charset_lookup_description_1): Use
1354 `NUM_LEADING_BYTES' in UTF-2000.
1356 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1358 * char-ucs.h (GC_CHARSETP): Deleted.
1360 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1362 * char-ucs.h (MAX_CHAR_GT): Updated.
1364 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1366 * text-coding.c: Sync with XEmacs 21.4.10.
1368 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1370 * mule-charset.c (Vcharset_china3_jef): Deleted.
1371 (Qchina3_jef): Deleted.
1372 (syms_of_mule_charset): Don't define `china3-jef'.
1373 (complex_vars_of_mule_charset): Likewise.
1375 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1376 (MIN_CHAR_CHINA3_JEF): Comment out.
1377 (MAX_CHAR_CHINA3_JEF): Comment out.
1379 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1381 * mule-charset.c (Vcharset_ucs_gb): New variable.
1382 (Qucs_gb): New variable.
1383 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1384 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1386 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1388 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1390 * mule-charset.c (charset_code_point): if a coded-charset has a
1391 final-byte, don't inherit the builtin range of the mother CCS.
1393 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1395 * mule-charset.c (charset_code_point): Fix problem about
1398 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1400 * mule-charset.c (decode_builtin_char): Reorganized.
1402 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1404 * text-coding.c (char_encode_as_entity_reference): Modify for
1405 `charset_code_point'.
1406 (char_encode_shift_jis): Likewise.
1407 (char_encode_big5): Likewise.
1408 (char_encode_utf8): Likewise.
1409 (char_encode_iso2022): Likewise.
1411 * mule-charset.c (charset_code_point): Add new argument
1413 (Fencode_char): Add new optional argument `defined_only'.
1415 * chartab.c (put_char_table): Modify for `charset_code_point'.
1417 * char-ucs.h (charset_code_point): Add new argument
1419 (encode_char_1): Modify for `charset_code_point'.
1421 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1423 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1424 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1426 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1428 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1429 (Qjis_x0208): Likewise.
1430 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1431 XCHARSET_FINAL(charset).
1432 (charset_code_point): Modify condition for final-byte based
1434 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1435 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1436 in UTF-2000; specify `=jis-x0208' as the mother of
1437 `japanese-jisx0208-1978', `japanese-jisx0208' and
1438 `japanese-jisx0208-1990' in UTF-2000.
1440 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1442 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1444 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1446 * text-coding.c (decode_coding_utf16): Support UTF-16.
1447 (char_encode_utf16): Fixed.
1449 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1451 * text-coding.c (Qutf16): New variable in MULE.
1452 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1453 (Fcoding_system_type): Add `utf-16' in MULE.
1454 (struct detection_state): Add a structure for utf16 in MULE.
1455 (detect_coding_type): Setup st->utf16.mask in MULE.
1456 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1458 (reset_encoding_stream): Use `char_encode_utf16' and
1459 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1460 (detect_coding_utf16): New function [incomplete].
1461 (decode_coding_utf16): New function [support only UCS-2].
1462 (char_encode_utf16): New function.
1463 (char_finish_utf16): New function.
1464 (syms_of_file_coding): Add new symbol `utf-16'; setup
1465 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1467 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1469 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1470 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1472 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1474 * chartab.c (put_char_table): When a charset is specified as a
1475 range in UTF-2000, don't support builtin characters.
1477 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1479 * mule-charset.c (decode_defined_char): Don't refer external
1480 database if Qunbound or Qnil are found.
1481 (Fsave_charset_mapping_table): Don't define it if
1482 HAVE_CHISE_CLIENT is not defined.
1483 (Freset_charset_mapping_table): New function.
1484 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1485 found in external database.
1486 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1487 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1488 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1490 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1492 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1495 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1498 Q_lowercase, Q_uppercase in UTF-2000.
1500 * chartab.c (get_char_table): Add special code for the standard
1501 case table to use character attribute `->downcase' and
1502 `->uppercase' for case operations in UTF-2000.
1504 * casetab.c (Qflippedcase): New variable in UTF-2000.
1505 (Q_lowercase): Likewise.
1506 (Q_uppercase): Likewise.
1507 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1508 and `->uppercase' in UTF-2000.
1509 (complex_vars_of_casetab): Assign attribute name `downcase' to
1510 downcase and CANON table of Vstandard_case_table in UTF-2000;
1511 assign attribute name `flippedcase' to upcase and EQV table of
1512 Vstandard_case_table in UTF-2000.
1514 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * text-coding.c (decode_add_er_char): Support isolated-chars.
1517 (char_encode_as_entity_reference): Likewise.
1519 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1521 * emacs.c (Vutf_2000_lisp_directory): New variable.
1522 (Vconfigure_utf_2000_lisp_directory): Likewise.
1523 (complex_vars_of_emacs): Add new variable
1524 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1526 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1528 * char-ucs.h (DECODE_CHAR): Delete special code for
1529 `chinese-big5-1' and `chinese-big5-2'.
1531 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1532 (Qbig5_2): Likewise.
1533 (decode_defined_char): Support CONVERSION_BIG5_1 and
1535 (decode_builtin_char): Likewise.
1536 (charset_code_point): Likewise.
1537 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1538 'conversion in UTF-2000.
1539 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1540 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1541 `chinese-big5-2' as children of `chinese-big5'.
1543 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1544 (CONVERSION_BIG5_2): New macro.
1546 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1548 * text-coding.c (char_encode_big5): Support entity-reference.
1550 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1552 * text-coding.c (char_encode_as_entity_reference): New function.
1553 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1555 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1557 * text-coding.c (decode_coding_big5): Support entity-reference
1560 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1562 * text-coding.c (allocate_coding_system): Initialize initial
1563 charsets for CODESYS_UTF8.
1564 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1565 charset-g2 for CODESYS_UTF8.
1566 (decode_coding_utf8): Use charset-g0.
1567 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1568 to force variants to map to UCS.
1570 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1572 * text-coding.c (Qutf_8_mcs): New variable.
1573 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1574 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1575 instead of `utf-8' in UTF-2000.
1577 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1579 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1580 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1581 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1582 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1583 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1584 CONVERSION_96x96x96x96 are introduced.
1585 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1586 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1587 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1589 * char-ucs.h (CONVERSION_94): New macro.
1590 (CONVERSION_96): New macro.
1591 (CONVERSION_94x94): New macro.
1592 (CONVERSION_96x96): New macro.
1593 (CONVERSION_94x94x94): New macro.
1594 (CONVERSION_96x96x96): New macro.
1595 (CONVERSION_94x94x94x60): New macro.
1596 (CONVERSION_94x94x94x94): New macro.
1597 (CONVERSION_96x96x96x96): New macro.
1599 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1601 * chartab.c (Vcharacter_variant_table): Deleted.
1602 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1603 of `Vcharacter_variant_table'.
1604 (Fput_char_attribute): Likewise.
1605 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1606 (complex_vars_of_chartab): Likewise.
1608 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1610 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1612 * fns.c (Qideographic_structure): New variable.
1613 (Qkeyword_char): New variable.
1614 (ids_format_unit): New function.
1615 (Fideographic_structure_to_ids): New function.
1616 (syms_of_fns): Add new symbols `ideographic-structure' and
1617 `:char'; add new builtin function `ideographic-structure-to-ids'.
1619 * data.c (Fchar_ref_p): New function.
1620 (syms_of_data): Add new builtin function `char-ref-p'.
1622 * chartab.h: Add an EXFUN for `Ffind_char'.
1624 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1626 * text-coding.c (Vcharacter_composition_table): Deleted.
1627 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1630 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1632 (Vcharacter_composition_table): Deleted.
1633 (Fget_composite_char): Use the implementation for external-DB
1634 support in every UTF-2000.
1635 (Fput_char_attribute): Likewise.
1636 (char_attribute_system_db_file): Don't define if external-DB
1637 feature is not available.
1638 (Fsave_char_attribute_table): Likewise.
1639 (Fmount_char_attribute_table): Likewise.
1640 (Fclose_char_attribute_table): Likewise.
1641 (Freset_char_attribute_table): Likewise.
1642 (Fload_char_attribute_table): Likewise.
1643 (syms_of_chartab): Don't define `save-char-attribute-table',
1644 `mount-char-attribute-table', `reset-char-attribute-table',
1645 `close-char-attribute-table' and `load-char-attribute-table' if
1646 external-DB feature is not available.
1647 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1649 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1651 * text-coding.c (Qcomposition): Add extern if external-DB feature
1653 (Vcharacter_composition_table): Don't add extern if external-DB
1654 feature is supported.
1655 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1656 character composition rule if external-DB feature is supported.
1658 * chartab.c (Vcharacter_composition_table): Don't define if
1659 external-DB feature is supported.
1660 (Qcomposition): New variable.
1661 (Fget_composite_char): New implementation for external-DB support.
1662 (Fput_char_attribute): Use `composition' property of each
1663 character instead of `Vcharacter_composition_table' to store
1664 character-composition rules if external-DB feature is supported.
1665 (syms_of_chartab): Add new symbol `composition'.
1666 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1667 external-DB feature is supported.
1669 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1671 * chartab.c (Vchar_db_stingy_mode): New variable.
1672 (load_char_attribute_maybe): Close database if
1673 Vchar_db_stingy_mode is not NIL.
1674 (Fload_char_attribute_table_map_function): Use
1675 `get_char_id_table_0' instead of `get_char_id_table'.
1676 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1678 * chartab.h (get_char_id_table_0): New inline function.
1679 (get_char_id_table): Use `get_char_id_table_0'.
1681 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1683 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1684 and `COMPOSE_ADD_CHAR'.
1685 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1687 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1689 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1690 instead of `DECODE_ADD_UCS_CHAR'.
1691 (COMPOSE_ADD_CHAR): Likewise.
1693 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1695 * text-coding.c (decode_flush_er_chars): New inline function.
1696 (decode_add_er_char): New function.
1697 (decode_coding_utf8): Use `decode_flush_er_chars' and
1698 `decode_add_er_char'.
1700 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1702 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1703 done before `decode_output_utf8_partial_char'.
1705 * mule-charset.c (complex_vars_of_mule_charset): Specify
1706 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1707 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1709 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1711 * mule-charset.c (decode_defined_char): New function; search
1713 (decode_builtin_char): Don't search mother if
1714 XCHARSET_MAX_CODE(charset) == 0.
1715 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1716 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1717 (Fdecode_char): Use `decode_defined_char' instead of
1718 `DECODE_DEFINED_CHAR'.
1719 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1720 mother of `Vcharset_ucs_jis'.
1722 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1723 instead of `DECODE_DEFINED_CHAR'.
1725 * char-ucs.h (decode_defined_char): Renamed from
1726 `DECODE_DEFINED_CHAR'; changed to normal function.
1727 (DECODE_CHAR): Use `decode_defined_char' instead of
1728 `DECODE_DEFINED_CHAR'.
1730 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1732 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1734 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1736 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1738 (Quse_entity_reference): New variable.
1742 (coding_system_description): Add description for
1743 `ccs_priority_list'.
1744 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1745 (allocate_coding_system): Initialize `ccs_priority_list' in
1747 (Fmake_coding_system): Add description about
1748 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1750 (Fcoding_system_property): Accept `disable-composition' and
1751 `use-entity-reference' in UTF-2000.
1752 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1754 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1755 (decode_coding_utf8): Decode entity-reference if
1756 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1757 (char_encode_utf8): Encode non-Unicode characters as
1758 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1760 (syms_of_file_coding): Add new symbols `use-entity-reference',
1762 (vars_of_file_coding): Add new variable
1763 `coded-charset-entity-reference-alist'.
1764 (complex_vars_of_file_coding): Declare `disable-composition' and
1765 `use-entity-reference' to be coding-system-properties in UTF-2000.
1767 * file-coding.h (struct Lisp_Coding_System): Add new member
1768 `use_entity_reference' and `ccs_priority_list'.
1769 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1770 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1771 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1773 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1775 * chartab.c (save_uint8_byte_table): Don't clear the table.
1776 (save_uint16_byte_table): Likewise.
1777 (save_byte_table): Likewise.
1778 (Fmount_char_attribute_table): New function.
1779 (syms_of_chartab): Add new builtin function
1780 `mount-char-attribute-table'.
1782 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1784 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1786 (load_char_decoding_entry_maybe): Open database as read-only mode.
1788 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1789 open database as "w+" mode.
1790 (load_char_attribute_maybe): Open database as read-only mode.
1791 (Fload_char_attribute_table): Likewise.
1793 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1795 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1796 (char_table_description): Delete member `db_file'.
1797 (Fmake_char_table): Don't refer `ct->db_file'.
1798 (Fcopy_char_table): Likewise.
1799 (Fsave_char_attribute_table): Likewise.
1800 (Fclose_char_attribute_table): Likewise.
1801 (Freset_char_attribute_table): Likewise.
1802 (load_char_attribute_maybe): Likewise.
1803 (Fload_char_attribute_table): Likewise.
1805 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1807 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1809 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1810 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1812 (load_char_attribute_maybe): Likewise.
1813 (Fload_char_attribute_table): Likewise.
1815 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1817 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1818 `ct->db_file' unconditionally.
1820 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1822 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1824 (char_table_description): Add description for `db_file' and `db'
1826 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1828 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1829 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1830 (Fclose_char_attribute_table): New function.
1831 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1832 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1834 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1835 (syms_of_chartab): Add new builtin function
1836 `Fclose_char_attribute_table'.
1838 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1840 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1842 (load_char_attribute_maybe): Change interface.
1843 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1845 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1847 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1849 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1851 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1852 instead of `DECODE_CHAR' for mother; don't use special code for
1853 chinese-big5 to use code space of chinese-big5-1 and
1855 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1856 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1858 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1859 (MAX_CHAR_BIG5_CDP): Revival.
1861 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1864 the XLFD registry-encoding name of `chinese-big5'.
1866 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1868 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1869 (Qchinese_big5_cdp): Deleted.
1870 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1871 (complex_vars_of_mule_charset): Delete coded-charset
1874 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1875 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1876 `CHARSET_ID_OFFSET - n' for private CCS.
1877 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1878 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1879 of `MIN_LEADING_BYTE'.
1880 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1881 `(CHARSET_ID_OFFSET - 97)'.
1882 (MIN_CHAR_BIG5_CDP): Deleted.
1883 (MAX_CHAR_BIG5_CDP): Deleted.
1885 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1887 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1889 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1891 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1892 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1895 * chartab.c (Vutf_2000_version): Moved to mule.c.
1896 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1898 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1900 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1901 when HAVE_CHISE_CLIENT is not defined.
1903 * mule.c (vars_of_mule): Provide feature `chise' when
1904 HAVE_CHISE_CLIENT is defined.
1906 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1908 * config.h.in (UTF2000): Add comment.
1909 (HAVE_CHISE_CLIENT): New macro.
1911 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1913 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1915 (Fput_char_attribute): Likewise.
1916 (char_attribute_system_db_file): Encode file-name of attribute.
1917 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1920 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1922 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1923 (Fsave_charset_mapping_table): Use
1924 `char_attribute_system_db_file'.
1925 (load_char_decoding_entry_maybe): Likewise.
1927 * chartab.h (Qsystem_char_id): New external variable.
1928 (char_attribute_system_db_file): New prototype.
1930 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1931 (char_attribute_system_db_file): New function.
1932 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1933 (Freset_char_attribute_table): Likewise.
1934 (load_char_attribute_maybe): Likewise.
1935 (Fload_char_attribute_table): Likewise.
1936 (syms_of_chartab): Add new symbol `system-char-id'.
1938 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1940 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1941 `XCHARSET_GRAPHIC(ccs)'.
1943 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1947 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1949 * chartab.c (Q_ucs_variants): New variable.
1950 (syms_of_chartab): Add new symbol `->ucs-variants'.
1951 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1952 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1953 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1955 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1957 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1958 `HAVE_DATABASE' is defined.
1959 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1960 `HAVE_DATABASE' is defined.
1962 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1964 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1966 (Freset_char_attribute_table): New function.
1967 (syms_of_chartab): Add new builtin function
1968 `reset-char-attribute-table'.
1970 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1972 * chartab.c (load_char_attribute_maybe): Don't make directories.
1974 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1976 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
1978 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
1981 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1983 * mule-charset.c (Fsave_charset_mapping_table): Use
1984 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
1986 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
1987 instead of `XCHARSET_CHARS'.
1989 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1991 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
1992 (XCHARSET_BYTE_SIZE): Likewise.
1994 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
1996 (XCHARSET_BYTE_SIZE): Likewise.
1998 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2000 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2001 data-directory to store database.
2002 (Fsave_char_attribute_table): Likewise.
2003 (load_char_attribute_maybe): Likewise.
2004 (Fload_char_attribute_table): Likewise.
2006 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2008 * mule-charset.c (Fsave_charset_mapping_table): New function.
2009 (syms_of_mule_charset): Add new builtin function
2010 `save-charset-mapping-table'.
2012 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2014 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2015 (get_ccs_octet_table): New inline function.
2016 (put_ccs_octet_table): Likewise.
2017 (decoding_table_put_char): Use `get_ccs_octet_table' and
2018 `put_ccs_octet_table'.
2019 (decoding_table_remove_char): Use `decoding_table_put_char'.
2020 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2022 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2023 into encoding_table.
2024 (make_charset): Use Qunbound instead Qnil as initial value of
2027 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2029 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2030 element is Qunloaded.
2031 (map_over_uint16_byte_table): Likewise.
2032 (map_over_byte_table): Likewise.
2033 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2034 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2035 database support, load encoding-table of the specified
2036 coded-charset if it is not loaded yet.
2037 (save_uint8_byte_table): New function of UTF-2000 with external
2039 (save_uint16_byte_table): Likewise.
2040 (save_byte_table): Likewise.
2041 (Fput_char_attribute): Don't store value into external database
2042 even if the external database feature is supported in UTF-2000;
2043 set `attribute' as name of char-table if the external database
2044 feature is supported.
2045 (Fsave_char_attribute_table): New function in UTF-2000.
2046 (syms_of_chartab): Add new builtin function
2047 `save-char-attribute-table' in UTF-2000.
2049 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2051 * chartab.c (char_attribute_table_to_put): New variable in
2053 (Qput_char_table_map_function): Likewise.
2054 (value_to_put): Likewise.
2055 (Fput_char_table_map_function): New function in UTF-2000.
2056 (put_char_table): Use `Fmap_char_attribute' for
2057 CHARTAB_RANGE_CHARSET in UTF-2000.
2058 (Fput_char_attribute): Store symbol instead of string in
2059 `XCHAR_TABLE_NAME (table)'.
2060 (load_char_attribute_maybe): Likewise.
2061 (syms_of_chartab): Add new symbol/function
2062 `put-char-table-map-function'.
2064 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2066 * database.h: Add new EXFUN for `Fmap_database'.
2068 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2069 (syms_of_database): Likewise.
2071 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2073 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2074 (XCHAR_TABLE_UNLOADED): Likewise.
2076 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2077 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2078 HAVE_DATABASE is defined.
2079 (char_attribute_table_to_load): New variable of UTF-2000 with
2080 external database support.
2081 (Qload_char_attribute_table_map_function): Likewise.
2082 (Fload_char_attribute_table_map_function): New function of
2083 UTF-2000 with external database support.
2084 (Fload_char_attribute_table): New function of UTF-2000.
2085 (Fmap_char_attribute): Call Fload_char_attribute_table if
2086 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2087 (syms_of_chartab): Add new symbol and function
2088 `load-char-attribute-table-map-function' in UTF-2000 with external
2089 database support; add new function `load-char-attribute-table' in
2092 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2094 * chartab.h (load_char_attribute_maybe): New prototype for
2095 UTF-2000 with DATABASE support.
2096 (get_char_id_table): Use `load_char_attribute_maybe' if
2097 HAVE_DATABASE is defined.
2099 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2100 with DATABASE support.
2102 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2104 * chartab.c (Fput_char_attribute): Use S-expression as key of
2107 * chartab.h (get_char_id_table): Use S-expression as key of
2110 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2112 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2113 if an element is not loaded, load the corresponding attributes
2114 from an external database.
2115 (map_over_uint16_byte_table): Likewise.
2116 (map_over_byte_table): Likewise.
2117 (map_char_table): Modify for `map_over_uint8_byte_table',
2118 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2119 element is not loaded, load the corresponding attributes from an
2121 (Fput_char_attribute): Change initial values to Qunloaded.
2123 * chartab.h (get_char_id_table): If a character attribute is not
2124 loaded and the attribute value is not found in an external
2125 database, store Qunbound as the attribute value.
2127 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2129 * chartab.c (BT_UINT8_unloaded): New macro.
2130 (UINT8_VALUE_P): Accept Qunloaded.
2131 (UINT8_ENCODE): Likewise.
2132 (UINT8_DECODE): Likewise.
2133 (BT_UINT16_unloaded): New macro.
2134 (UINT16_VALUE_P): Accept Qunloaded.
2135 (UINT16_ENCODE): Likewise.
2136 (UINT16_DECODE): Likewise.
2137 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2139 (mark_char_table): Mark `ct->name' in UTF-2000.
2140 (char_table_description): Add `name' in UTF-2000.
2141 (Fmake_char_table): Initialize `ct->name'.
2142 (Fcopy_char_table): Copy `ct->name'.
2143 (Fput_char_attribute): Store value into an external database if
2144 HAVE_DATABASE is defined.
2146 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2148 (CHAR_TABLE_NAME): New macro in UTF-2000.
2149 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2150 (get_char_id_table): Try to read an external database if Qunloaded
2151 is stored in a table.
2153 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2156 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2158 * database.h: Add EXFUN definitions for Fopen_database,
2159 Fput_database, Fget_database and Fclose_database.
2161 * data.c (Qunloaded): New variable in UTF-2000.
2163 * lisp.h (Qunloaded): New variable in UTF-2000.
2165 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2167 * mule-charset.c (put_char_ccs_code_point): Modify for
2168 `decoding_table_remove_char' and `decoding_table_put_char'.
2169 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2171 * char-ucs.h (decoding_table_remove_char): Change arguments to
2172 hide decoding_table vector.
2173 (decoding_table_put_char): Likewise.
2175 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2177 * mule-charset.c (decoding_table_remove_char): Moved to
2179 (decoding_table_put_char): Likewise.
2181 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2182 from mule-charset.c].
2183 (decoding_table_remove_char): New inline function [moved from
2185 (decoding_table_put_char): Likewise.
2187 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2189 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2192 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2194 * mule-charset.c (decode_builtin_char): Support mother charsets.
2196 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2198 * mule-charset.c (Q94x94x60): New variable.
2199 (charset_code_point): Support conversion `94x94x60'.
2200 (Fmake_charset): Likewise.
2201 (syms_of_mule_charset): Add new symbol `94x94x60'.
2203 * char-ucs.h (CONVERSION_94x94x60): New macro.
2205 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2207 * mule-charset.c (charset_code_point): Unify code about
2210 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2212 * mule-charset.c (charset_code_point): Merge code about builtin
2213 characters into code about mother charsets; don't use
2214 `range_charset_code_point'.
2215 (range_charset_code_point): Deleted.
2217 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2219 * mule-charset.c (Qcode_offset): New variable.
2220 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2221 `max-code'; accept new property `code-offset'.
2222 (syms_of_mule_charset): Add new symbol `code-offset'.
2224 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2226 * mule-charset.c (range_charset_code_point): Fixed.
2228 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2230 * mule-charset.c (decode_builtin_char): Change semantics of
2231 code-offset of coded-charset.
2232 (charset_code_point): Likewise.
2233 (range_charset_code_point): Likewise.
2234 (complex_vars_of_mule_charset): Modify for the change.
2236 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2238 * mule-charset.c (Fencode_char): Reverse arguments.
2240 * mule-charset.c (charset_code_point): Fixed.
2242 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2244 * mule-charset.c (Vcharset_mojikyo): Deleted.
2245 (Vcharset_mojikyo_2022_1): Deleted.
2246 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2247 (Qmin_code): New variable in UTF-2000.
2248 (Qmax_code): Likewise.
2249 (Qmother): Likewise.
2250 (Qconversion): Likewise.
2252 (Qmojikyo): Deleted.
2253 (Qmojikyo_2022_1): Deleted.
2254 (Qmojikyo_pj_{1..22}): Deleted.
2255 (mark_charset): Mark `cs->mother'.
2256 (charset_description): Add description for `mother'.
2257 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2258 new arguments `mother' and `conversion'; use
2259 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2260 (charset_code_point): Moved from char-ucs.h; support `mother'
2262 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2263 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2264 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2265 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2266 allow 2 as the value of `graphic' in UTF-2000; add new properties
2267 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2268 require `final' in UTF-2000; modify for `make_charset'.
2269 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2270 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2271 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2272 (Fencode_char): New function.
2273 (syms_of_mule_charset): Add new builtin function `encode-char' in
2274 UTF-2000; add new symbols `min-code', `max-code', `mother',
2275 `conversion' and `94x60'; delete symbols `mojikyo',
2276 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2277 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2278 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2279 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2281 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2282 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2284 * char-ucs.h (Vcharset_mojikyo): Deleted.
2285 (Vcharset_mojikyo_2022_1): Deleted.
2286 (LEADING_BYTE_MOJIKYO): Deleted.
2287 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2288 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2289 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2290 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2291 add new member `mother'; add new member `conversion'.
2292 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2293 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2294 (CHARSET_MOTHER): New macro.
2295 (CHARSET_CONVERSION): New macro.
2296 (CONVERSION_IDENTICAL): New macro.
2297 (CONVERSION_94x60): New macro.
2298 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2299 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2300 (XCHARSET_MOTHER): New macro.
2301 (XCHARSET_CONVERSION): New macro.
2302 (MIN_CHAR_MOJIKYO): Deleted.
2303 (MAX_CHAR_MOJIKYO): Deleted.
2304 (DECODE_MOJIKYO_2022): Deleted.
2305 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2306 (charset_code_point): Changed to non-inline function.
2307 (encode_char_1): Use `charset_code_point'.
2308 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2310 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2312 * lread.c (read_compiled_function): Fix prototype.
2313 (read_vector): Likewise.
2315 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2317 * lrecord.h (struct lrecord_header): Delete `older'.
2318 (set_lheader_implementation): Delete code for `older'.
2319 (set_lheader_older_implementation): Deleted.
2320 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2321 (OLDER_RECORD_P): Deleted.
2322 (OLDER_RECORD_HEADER_P): Deleted.
2323 (alloc_older_lcrecord): Deleted.
2324 (alloc_older_lcrecord_type): Deleted.
2326 * alloc.c (all_older_lcrecords): Deleted.
2327 (alloc_older_lcrecord): Deleted.
2328 (disksave_object_finalization_1): Delete code for older objects.
2329 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2330 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2332 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2334 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2335 instead of `make_older_vector'.
2336 (put_char_ccs_code_point): Likewise.
2337 (mark_charset): Mark `cs->decoding_table'.
2338 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2340 * lisp.h (make_older_vector): Deleted.
2341 (make_vector_newer): Deleted.
2343 * config.h.in (HAVE_GGC): Deleted.
2345 * alloc.c (make_older_vector): Deleted.
2346 (make_vector_newer_1): Deleted.
2347 (make_vector_newer): Deleted.
2349 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2351 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2352 (Qideograph_daikanwa_2): New variable.
2353 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2354 (complex_vars_of_mule_charset): Add new coded-charset
2355 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2356 `LEADING_BYTE_DAIKANWA'.
2358 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2359 (LEADING_BYTE_DAIKANWA_1): New macro.
2360 (LEADING_BYTE_DAIKANWA_2): New macro.
2361 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2363 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2365 * mule-charset.c (complex_vars_of_mule_charset): Change
2366 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2367 the second revised version.
2369 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2371 * mule-charset.c (Vcharset_ucs_smp): New variable.
2372 (Vcharset_ucs_sip): New variable.
2373 (Qucs_smp): New variable.
2374 (Qucs_sip): New variable.
2375 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2376 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2377 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2378 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2379 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2380 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2382 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2383 (LEADING_BYTE_UCS_SIP): New macro.
2384 (MIN_CHAR_SMP): New macro.
2385 (MAX_CHAR_SMP): New macro.
2386 (MIN_CHAR_SIP): New macro.
2387 (MAX_CHAR_SIP): New macro.
2389 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2391 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2394 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2396 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2397 value; don't store value into `encoding_table' of `Lisp_Charset'.
2398 (mark_charset): `encoding_table' was deleted.
2399 (charset_description): Likewise.
2400 (make_charset): Likewise.
2401 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2402 `put_char_ccs_code_point'.
2404 * chartab.h (Fput_char_attribute): New EXFUN.
2406 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2407 is unified with normal symbol space.
2408 (Fget_char_attribute): Likewise.
2409 (Fput_char_attribute): Likewise; behavior of
2410 `put_char_ccs_code_point' is changed.
2412 * char-ucs.h: Include "elhash.h".
2413 (Vchar_attribute_hash_table): New external variable.
2414 (struct Lisp_Charset): Delete `encoding_table'.
2415 (CHARSET_ENCODING_TABLE): New implementation; refer
2416 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2419 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2421 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2424 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2426 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2429 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2431 * chartab.c (uint8_byte_table_description): New constant.
2432 (uint8-byte-table): Use `uint8_byte_table_description'.
2433 (uint16_byte_table_description): New constant.
2434 (uint16-byte-table): Use `uint16_byte_table_description'.
2436 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2438 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2439 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2441 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2443 * mule-charset.c (Vcharset_ucs_ks): New variable.
2444 (Qucs_ks): New variable.
2445 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2446 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2448 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2450 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2452 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2453 (Fdecode_char): Likewise.
2455 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2457 (Fdefine_char): Modify for Fdecode_char.
2458 (Ffind_char): Likewise.
2460 * mule-charset.c (Fdecode_char): Add new optional argument
2462 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2464 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2466 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2467 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2468 (allocate_coding_system): Initialize initial-charsets of
2469 CODESYS_BIG5 in XEmacs UTF-2000.
2470 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2471 CODESYS_BIG5 in XEmacs UTF-2000.
2472 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2473 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2475 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2477 (Qideograph_hanziku_{1 .. 12}): Likewise.
2478 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2480 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2481 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2482 `ideograph-hanziku-{1 .. 12}'.
2484 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2485 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2486 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2487 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2488 (DECODE_DEFINED_CHAR): New inline function.
2489 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2491 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2493 * mule-charset.c (Vcharset_china3_jef): Renamed from
2494 `Vcharset_japanese_jef_china3'.
2495 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2496 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2497 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2498 (syms_of_mule_charset): Rename `china3-jef' from
2499 `japanese-jef-china3'.
2500 (complex_vars_of_mule_charset): Likewise; rename
2501 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2503 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2504 `LEADING_BYTE_JEF_CHINA3'.
2505 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2506 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2508 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2510 * mule-charset.c (encode_builtin_char_1): Comment out special code
2511 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2513 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2514 (MAX_CHAR_MOJIKYO_0): Comment out.
2515 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2516 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2517 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2518 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2520 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2522 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2523 (Qideograph_cbeta): New variable.
2524 (encode_builtin_char_1): Comment out special code for
2525 coded-charset `mojikyo' and `japanese-jef-china3'.
2526 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2527 (complex_vars_of_mule_charset): Add new coded-charset
2530 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2531 (MIN_CHAR_CBETA): New macro.
2532 (MAX_CHAR_CBETA): New macro.
2534 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2536 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2537 (LEADING_BYTE_JEF_CHINA3): New macro.
2538 (MIN_CHAR_JEF_CHINA3): New macro.
2539 (MAX_CHAR_JEF_CHINA3): Likewise.
2540 (DECODE_CHAR): Fixed.
2542 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2544 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2545 (Qjapanese_jef_china3): New variable.
2546 (encode_builtin_char_1): Support `japanese-jef-china3'.
2547 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2548 (complex_vars_of_mule_charset): Add new coded-charset
2549 `japanese-jef-china3'.
2551 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2553 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2554 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2555 94^4, 96^3, 96^4, 128^n and 256^n set.
2556 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2557 (map_char_table): Likewise.
2559 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2561 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2564 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2566 * chartab.h (get_char_id_table): New inline function.
2568 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2571 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2573 * chartab.h (decode_char_table_range): New prototype in XEmacs
2575 (put_char_id_table): New inline function in XEmacs UTF-2000.
2577 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2579 (decode_char_table_range): Delete static declaration in XEmacs
2582 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2584 * chartab.c (put_char_id_table): Use `put_char_table'.
2586 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2588 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2589 (map_over_uint16_byte_table): Likewise.
2590 (map_over_byte_table): Likewise.
2591 (map_char_table): Modify for `map_over_uint8_byte_table',
2592 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2595 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2597 * chartab.c (struct map_char_table_for_charset_arg): New
2599 (map_char_table_for_charset_fun): New function.
2600 (map_char_table): Use `map_char_table' for encoding_table of
2603 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2605 * chartab.c (map_char_table): Check a character is found in
2606 range->charset instead of non default value is defined in
2607 char-table when range is CHARTAB_RANGE_ROW.
2609 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2611 * chartab.c (map_char_id_table): Deleted.
2612 (Fmap_char_attribute): Use `map_char_table' instead of
2613 `map_char_id_table'.
2615 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2617 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2619 (update_syntax_table): Deleted in XEmacs UTF-2000.
2621 * syntax.c (find_defun_start): Use `syntax_table' instead of
2622 `mirror_syntax_table' in XEmacs UTF-2000.
2623 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2625 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2627 (Fmatching_paren): Likewise.
2628 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2630 (find_start_of_comment): Likewise.
2631 (find_end_of_comment): Likewise.
2632 (Fforward_comment): Likewise.
2633 (scan_lists): Likewise.
2634 (char_quoted): Likewise.
2635 (Fbackward_prefix_chars): Likewise.
2636 (scan_sexps_forward): Likewise.
2637 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2638 (update_syntax_table): Likewise.
2640 * search.c (skip_chars): Use `syntax_table' instead of
2641 `mirror_syntax_table' in XEmacs UTF-2000.
2642 (wordify): Likewise.
2643 (Freplace_match): Likewise.
2645 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2646 `mirror_syntax_table' in XEmacs UTF-2000.
2647 (WORDCHAR_P_UNSAFE): Likewise.
2648 (re_match_2_internal): Likewise.
2650 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2651 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2653 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2654 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2656 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2659 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2661 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2662 (char_table_description): Delete `mirror_table' in XEmacs
2664 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2666 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2667 (Fcopy_char_table): Likewise.
2668 (put_char_table): Don't call `update_syntax_table' in XEmacs
2671 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2672 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2673 (casify_region_internal): Likewise.
2675 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2677 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2678 `mirror_syntax_table' in XEmacs UTF-2000.
2680 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2681 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2682 (Fexpand_abbrev): Likewise.
2684 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2686 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2688 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2690 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2691 (map_over_uint16_byte_table): Likewise.
2692 (map_over_byte_table): Likewise.
2693 (get_char_id_table): Refer `cit->default_value'.
2694 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2695 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2696 of character-id ranges.
2697 (mark_char_table): Mark `ct->default_value'.
2698 (char_table_description): Add `default_value'.
2699 (fill_char_table): Use `default_value'.
2700 (decode_char_table_range): Decode `nil' as
2701 `CHARTAB_RANGE_DEFAULT'.
2702 (get_char_id_table): Refer `cit->default_value'.
2703 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2704 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2705 temporary hack; check value of char-table is bound or not.
2706 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2708 * chartab.h (struct Lisp_Char_Table): Add new member
2709 `default_value' in XEmacs UTF-2000.
2710 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2711 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2714 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2716 * chartab.h (Lisp_Char_ID_Table): Deleted.
2718 * chartab.c (char_table_description): Fix typo.
2719 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2720 `Lisp_Char_ID_Table'.
2722 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2724 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2727 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2730 * chartab.h (XCHAR_ID_TABLE): Deleted.
2731 (XSETCHAR_ID_TABLE): Deleted.
2732 (CHAR_ID_TABLE_P): Deleted.
2734 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2736 (Fget_composite_char): Likewise.
2737 (put_char_table): Likewise.
2738 (add_char_attribute_alist_mapper): Fixed.
2739 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2741 (Fget_char_attribute): Likewise.
2742 (Fget_char_attribute): Likewise.
2743 (Fmap_char_attribute): Likewise.
2745 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2747 (encode_char_1): Likewise.
2749 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2751 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2754 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2755 instead of `XCHAR_ID_TABLE'.
2756 (remove_char_ccs): Likewise.
2758 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2760 (Fget_composite_char): Likewise.
2761 (Fchar_variants): Likewise.
2762 (put_char_table): Likewise.
2763 (add_char_attribute_alist_mapper): Likewise.
2764 (Fchar_attribute_alist): Likewise.
2765 (Fget_char_attribute): Likewise.
2766 (Fput_char_attribute): Likewise.
2767 (Fmap_char_attribute): Likewise.
2768 (Fmap_char_attribute): Likewise.
2770 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2772 (encode_char_1): Likewise.
2774 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2776 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2777 `Lisp_Char_ID_Table'.
2778 (mark_char_id_table): Deleted.
2779 (print_char_id_table): Likewise.
2780 (char_id_table_equal): Likewise.
2781 (char_id_table_hash): Likewise.
2782 (char_id_table_description): Likewise.
2783 (char_id_table): Likewise.
2784 (make_char_id_table): Use `Fmake_char_table' and
2786 (get_char_id_table): Use `Lisp_Char_Table' instead of
2787 `Lisp_Char_ID_Table'.
2788 (put_char_id_table): Likewise.
2789 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2791 (Fremove_char_attribute): Likewise.
2792 (syms_of_chartab): Don't define type `char-id-table'.
2794 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2795 (char_id_table): Likewise.
2796 (GC_CHAR_ID_TABLE_P): Likewise.
2797 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2798 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2799 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2800 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2801 (get_char_id_table): Use `Lisp_Char_Table' instead of
2802 `Lisp_Char_ID_Table'.
2803 (put_char_id_table_0): Likewise.
2804 (put_char_id_table): Likewise.
2806 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2808 * chartab.h: Lisp_Byte_Table related codes are moved from
2811 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2813 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2815 * chartab.h: Don't include "chartab.h".
2816 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2817 (Lisp_Char_ID_Table): Likewise.
2818 (char_id_table): Likewise.
2819 (XCHAR_ID_TABLE): Likewise.
2820 (XSETCHAR_ID_TABLE): Likewise.
2821 (CHAR_ID_TABLE_P): Likewise.
2822 (GC_CHAR_ID_TABLE_P): Likewise.
2823 (get_char_id_table): Likewise.
2825 * char-ucs.h: Include "chartab.h".
2826 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2827 (Lisp_Char_ID_Table): Likewise.
2828 (char_id_table): Likewise.
2829 (XCHAR_ID_TABLE): Likewise.
2830 (XSETCHAR_ID_TABLE): Likewise.
2831 (CHAR_ID_TABLE_P): Likewise.
2832 (GC_CHAR_ID_TABLE_P): Likewise.
2833 (get_char_id_table): Likewise.
2835 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2837 * chartab.c (copy_uint8_byte_table): New function.
2838 (copy_uint16_byte_table): New function.
2839 (copy_byte_table): New function.
2840 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2842 (map_over_uint16_byte_table): Likewise.
2843 (map_over_byte_table): Likewise.
2844 (get_byte_table): Move prototype to chartab.h.
2845 (put_byte_table): Likewise.
2846 (put_char_id_table_0): Moved to chartab.h.
2847 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2848 (char_table_entry_equal): Likewise.
2849 (char_table_entry_hash): Likewise.
2850 (char_table_entry_description): Likewise.
2851 (char_table_entry): Likewise.
2852 (make_char_table_entry): Likewise.
2853 (copy_char_table_entry): Likewise.
2854 (get_non_ascii_char_table_value): Likewise.
2855 (map_over_charset_ascii): Likewise.
2856 (map_over_charset_control_1): Likewise.
2857 (map_over_charset_row): Likewise.
2858 (map_over_other_charset): Likewise.
2859 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2860 (print_char_table): Likewise.
2861 (char_table_equal): Likewise.
2862 (char_table_hash): Likewise.
2863 (char_table_description): Likewise.
2864 (fill_char_table): Likewise.
2865 (Fcopy_char_table): Likewise.
2866 (get_char_table): Likewise.
2867 (Fget_range_char_table): Likewise.
2868 (put_char_table): Likewise.
2869 (map_char_table): Likewise.
2870 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2873 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2875 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2876 `Vauto_fill_chars' in XEmacs UTF-2000.
2878 * chartab.h (get_byte_table): New prototype [moved from
2880 (put_byte_table): Likewise [moved from chartab.c].
2881 (put_char_id_table_0): New inline function [moved from chartab.c].
2882 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2883 (Lisp_Char_Table_Entry): Likewise.
2884 (char_table_entry): Likewise.
2885 (XCHAR_TABLE_ENTRY): Likewise.
2886 (XSETCHAR_TABLE_ENTRY): Likewise.
2887 (CHAR_TABLE_ENTRYP): Likewise.
2888 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2889 (NUM_ASCII_CHARS): Likewise.
2890 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2891 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2893 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2895 * chartab.c (get_char_id_table): Change interface.
2896 (put_char_id_table_0): New function.
2897 (put_char_id_table): Change interface; new implementation.
2898 (Fget_composite_char): Modify for interface change of
2899 `get_char_id_table'.
2900 (Fchar_variants): Likewise.
2901 (add_char_attribute_alist_mapper): Likewise.
2902 (Fchar_attribute_alist): Likewise.
2903 (Fget_char_attribute): Likewise.
2904 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2905 as same as character as the first argument like `put-char-table';
2906 modify for interface change of `put_char_id_table'.
2907 (Fremove_char_attribute): Modify for interface change of
2908 `put_char_id_table'.
2910 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2912 * text-coding.c: Sync up with XEmacs 21.2.41.
2913 (COMPOSE_ADD_CHAR): Modify for interface change of
2914 `get_char_id_table'.
2916 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2917 change of `put_char_id_table'.
2918 (remove_char_ccs): Likewise.
2920 * chartab.h (put_char_id_table): Change interface.
2922 * char-ucs.h (get_char_id_table): Change interface.
2923 (charset_code_point): Modify for interface change of
2924 `get_char_id_table'.
2925 (encode_char_1): Likewise.
2927 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2929 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2931 (map_over_uint16_byte_table): Likewise.
2932 (map_over_byte_table): Likewise.
2933 (map_char_id_table): Add new argument `range' like
2935 (Fmap_char_attribute): Add new argument `range' like
2938 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2940 * chartab.c (map_over_uint8_byte_table): Change interface of
2941 mapping function to use struct chartab_range instead of Emchar.
2942 (map_over_uint16_byte_table): Likewise.
2943 (map_over_byte_table): Likewise.
2944 (map_char_id_table): Likewise.
2945 (struct slow_map_char_id_table_arg): Deleted.
2946 (slow_map_char_id_table_fun): Deleted.
2947 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2948 function `slow_map_char_table_fun' instead of struct
2949 `slow_map_char_id_table_arg' and function
2950 `slow_map_char_id_table_fun'.
2952 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2954 * mule-charset.c: Move char-it-table related codes to chartab.c.
2955 (Vutf_2000_version): Moved to chartab.c.
2956 (Fdefine_char): Likewise.
2957 (Ffind_char): Likewise.
2958 (syms_of_mule_charset): Move types `uint8-byte-table',
2959 `uint16-byte-table', `byte-table' and `char-id-table' to
2960 chartab.c; move functions `char_attribute_list,
2961 `find_char_attribute_table, `char_attribute_alist,
2962 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2963 `map_char_attribute, `define_char, `find_char, `char_variants and
2964 `get_composite_char to chartab.c; move symbols `=>ucs',
2965 `->decomposition', `compat', `isolated', `initial', `medial',
2966 `final', `vertical', `noBreak', `fraction', `super', `sub',
2967 `circle', `square', `wide', `narrow', `small' and `font' to
2969 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2970 setting codes for `Vcharacter_composition_table' and
2971 `Vcharacter_variant_table' to chartab.c.
2972 (complex_vars_of_mule_charset): Move setting code for
2973 `Vchar_attribute_hash_table' to chartab.c.
2975 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2976 (make_char_id_table): New prototype.
2977 (put_char_id_table): Likewise.
2978 (Fget_char_attribute): Likewise.
2980 * chartab.c: Move char-id-table related code from mule-charset.c.
2981 (Vutf_2000_version): Moved from mule-charset.c.
2983 * char-ucs.h (Qucs): New external variable.
2984 (put_char_ccs_code_point): New prototype.
2985 (remove_char_ccs): Likewise.
2987 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2989 * mule-charset.c (Vcharset_ucs_jis): New variable.
2990 (Qucs_jis): Likewise.
2991 (syms_of_mule_charset): Add new symbol `ucs-jis'.
2992 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
2994 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
2996 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2998 * mule-charset.c (map_over_uint8_byte_table): New function.
2999 (map_over_uint16_byte_table): Likewise.
3000 (map_over_byte_table): Likewise.
3001 (map_char_id_table): Likewise.
3002 (slow_map_char_id_table_fun): Likewise.
3003 (Fmap_char_attribute): Likewise.
3004 (syms_of_mule_charset): Add new function `map-char-attribute'.
3006 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3008 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3009 (syms_of_mule_charset): Add new function `find-char'.
3011 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3013 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3015 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3016 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3018 (complex_vars_of_mule_charset): Add new coded-charset
3019 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3020 `ideograph-gt-pj-*'.
3022 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3024 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3026 * mule-charset.c (encode_builtin_char_1): Purge codes about
3027 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3028 {MIN|MAX}_CHAR_HEBREW.
3029 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3030 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3032 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3033 (MAX_CHAR_GREEK): Purged.
3034 (MIN_CHAR_CYRILLIC): Purged.
3035 (MAX_CHAR_CYRILLIC): Purged.
3036 (MIN_CHAR_HEBREW): Commented out.
3037 (MAX_CHAR_HEBREW): Likewise.
3039 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3041 * mule-charset.c (Qto_ucs): New variable.
3042 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3043 (Fdefine_char): Likewise.
3044 (syms_of_mule_charset): Add new symbol `=>ucs'.
3046 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3048 * mule-charset.c (Fdecode_char): Fixed.
3050 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3052 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3053 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3056 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3058 * mule-charset.c (Vcharset_ucs_big5): New variable.
3059 (Qucs_big5): Likewise.
3060 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3061 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3063 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3065 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3067 * mule-charset.c (decode_builtin_char): Check Big5 code range
3068 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3070 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3072 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3073 (Qchinese_gb12345): Likewise.
3074 (Fdecode_builtin_char): Fixed.
3075 (syms_of_mule_charset): Add `chinese-gb12345'.
3076 (complex_vars_of_mule_charset): Add coded-charset
3079 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3080 (LEADING_BYTE_CHINESE_GB12345): New macro.
3082 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3084 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3085 and `latin-viscii-upper' for `latin-viscii'.
3087 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3089 * mule-charset.c (Fdecode_builtin_char): Comment out
3090 regularization code for ISO-IR GR representation.
3092 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3094 * mule-charset.c (decode_builtin_char): New function; renamed from
3095 `make_builtin_char'; return -1 instead of signal.
3096 (Fdecode_builtin_char): Use `decode_builtin_char'.
3098 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3099 `make_builtin_char'.
3100 (DECODE_CHAR): Use `decode_builtin_char' instead of
3101 `make_builtin_char'; use mapping table of `chinese-big5' for
3102 `chinese-big5-{1,2}'.
3104 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3106 * text-coding.c (char_encode_big5): New function.
3107 (char_finish_big5): Likewise.
3108 (reset_encoding_stream): Use `char_encode_big5' and
3109 `char_finish_big5' for CODESYS_BIG5.
3110 (mule_encode): Don't use `encode_coding_big5'.
3111 (encode_coding_big5): Deleted.
3113 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3115 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3116 0x81- in XEmacs UTF-2000.
3117 (detect_coding_big5): Likewise.
3119 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3121 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3122 generate character-id if the CCS property does not have
3123 corresponding predefined character.
3124 (make_builtin_char): Return -1 if corresponding predefined
3125 character is not found.
3126 (Fdecode_char): Return nil if corresponding character is not
3128 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3129 don't map to builtin ucs space.
3131 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3133 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3134 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3136 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3139 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3140 (Qideograph_gt): Likewise.
3141 (Qideograph_gt_pj_{1..11}): Likewise.
3142 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3143 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3144 `ideograph-gt-pj-11'.
3145 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3146 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3147 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3149 * char-ucs.h (LEADING_BYTE_GT): New macro.
3150 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3151 (MIN_CHAR_GT): Likewise.
3152 (MAX_CHAR_GT): Likewise.
3154 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3156 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3157 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3159 * doprnt.c (unsigned_int_converters): Add `c'.
3160 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3162 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3163 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3165 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3166 (MAX_CHAR_MOJIKYO_0): New macro.
3167 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3169 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3171 * mule-charset.c (Fdefine_char): Delete cemented out code.
3172 (encode_builtin_char_1): Modify for new allocation of builtin
3175 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3177 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3179 * mule-charset.c (Vcharset_ucs_cns): New variable.
3180 (Qucs_cns): New variable.
3181 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3182 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3184 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3186 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3188 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3190 * search.c (search_buffer): Make `charset_base_code' as
3191 character-id >> 6 to eliminate the corresponding last byte in
3192 UTF-8 representation [I'm not sure it is right thing].
3193 (boyer_moore): Likewise.
3195 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3197 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3198 representation in MULE.
3200 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3202 * text-coding.c (Fmake_coding_system): Use
3203 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3204 `EXTERNAL_PROPERTY_LIST_LOOP'.
3206 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3208 * text-coding.c (decode_output_utf8_partial_char): New function.
3209 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3211 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3213 * text-coding.c (decode_coding_utf8): Output original byte
3214 sequence if it is broken; change order of conditions.
3216 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3219 * mb-multibyte.h (BYTE_ASCII_P):
3220 Use bit ops for char-signedness safety.
3221 (BYTE_C0_P): Use bit ops for char-signedness safety.
3222 (BYTE_C1_P): Use bit ops for char-signedness safety.
3224 * character.h: (XCHAR_OR_CHAR_INT):
3225 Always use inline function.
3226 Remove redundant type checking assert() - XINT will abort quite
3229 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3231 * text-coding.c: (Fencode_shift_jis_char):
3232 (Fencode_big5_char):
3233 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3234 Replace 0 with '\0' when working with bytes.
3235 Replace initial "(" with "\(" in docstrings.
3237 (Fmake_coding_system):
3238 When type is ccl and value is vector, register it with a proper
3239 symbol. And checks whether the given ccl program is valid.
3240 (mule_decode): When calling ccl_driver, if src indicates
3241 NULL pointer, set an empty string instead.
3242 (mule_encode): Likewise.
3245 (detect_coding_sjis):
3246 (decode_coding_sjis):
3247 (detect_coding_big5):
3248 (decode_coding_big5):
3249 (detect_coding_ucs4):
3250 (decode_coding_ucs4):
3251 (detect_coding_utf8):
3252 (decode_coding_utf8):
3253 (detect_coding_iso2022):
3254 (decode_coding_iso2022):
3255 (decode_coding_no_conversion):
3257 Make all detecting and decoding functions take an Extbyte * arg.
3258 (text_encode_generic):
3259 (encode_coding_big5):
3260 (encode_coding_no_conversion):
3262 Make all encoding functions take a Bufbyte * arg.
3263 Use size_t instead of unsigned int for memory sizes.
3264 Only cast to unsigned char whenever dereferencing Extbyte *.
3266 (struct lrecord_description fcd_description_1): Use countof.
3267 (complex_vars_of_file_coding):
3268 Use countof instead of sizeof.
3269 Use CHECK_NATNUM instead of CHECK_INT.
3271 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3273 * mule-charset.c (Fget_char_attribute): Add new optional argument
3275 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3276 (remove_char_ccs): Likewise.
3278 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3280 * text-coding.c (char_encode_shift_jis): New implementation in
3282 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3285 * mule-charset.c (Vcharset_chinese_big5): New variable in
3287 (Qchinese_big5): New variable in UTF-2000.
3288 (BIG5_SAME_ROW): New macro in UTF-2000.
3289 (make_builtin_char): Use builtin characters of
3290 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3291 characters of `Vcharset_chinese_big5'.
3292 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3293 (complex_vars_of_mule_charset): Add new coded-charset
3294 `chinese-big5' in UTF-2000.
3296 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3297 (Vcharset_chinese_big5): New external variable declaration.
3298 (Vcharset_japanese_jisx0208_1990): Likewise.
3300 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3302 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3304 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3306 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3308 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3309 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3310 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3313 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3315 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3317 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3319 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3322 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3324 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3325 for `CHARSET_BY_ATTRIBUTES'.
3326 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3327 `CHARSET_BY_ATTRIBUTES'.
3329 * text-coding.c (struct decoding_stream): Rename member `CH' to
3331 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3332 (decode_coding_sjis): Likewise.
3333 (decode_coding_big5): Likewise.
3334 (decode_coding_ucs4): Likewise.
3335 (decode_coding_utf8): Likewise.
3336 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3337 `CHARSET_BY_ATTRIBUTES'.
3338 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3339 `str->counter'; decode 3, 4 bytes sets.
3340 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3342 (decode_coding_no_conversion): Use `str->cpos' instead of
3345 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3346 (Qmojikyo_2022_1): New variable.
3347 (make_charset): Don't use `CHARSET_TYPE_*'.
3348 (range_charset_code_point): Support coded-charset
3350 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3351 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3352 `CHARSET_BY_ATTRIBUTES'.
3353 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3354 `CHARSET_BY_ATTRIBUTES'.
3355 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3356 (complex_vars_of_mule_charset): Add new coded-charset
3359 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3360 interface; changed to inline function.
3362 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3363 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3364 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3365 (CHARSET_TYPE_94): Deleted.
3366 (CHARSET_TYPE_94X94): Deleted.
3367 (CHARSET_TYPE_96): Deleted.
3368 (CHARSET_TYPE_96X96): Deleted.
3369 (CHARSET_TYPE_128): Deleted.
3370 (CHARSET_TYPE_128X128): Deleted.
3371 (CHARSET_TYPE_256): Deleted.
3372 (CHARSET_TYPE_256X256): Deleted.
3373 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3375 (DECODE_MOJIKYO_2022): New inline function.
3376 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3377 `Vcharset_mojikyo_2022_1'.
3379 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3381 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3383 (put_byte_table): Likewise.
3384 (char_id_table_equal): Use `get_byte_table' [new implementation].
3386 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3388 * mule-charset.c: Include <limits.h> in UTF-2000.
3389 (BT_UINT8_MIN): New macro in UTF-2000.
3390 (BT_UINT8_MAX): New macro in UTF-2000.
3391 (BT_UINT8_t): New macro in UTF-2000.
3392 (BT_UINT8_nil): New macro in UTF-2000.
3393 (BT_UINT8_unbound): New macro in UTF-2000.
3394 (INT_UINT8_P): New inline function in UTF-2000.
3395 (UINT8_VALUE_P): New inline function in UTF-2000.
3396 (UINT8_ENCODE): New inline function in UTF-2000.
3397 (UINT8_DECODE): New inline function in UTF-2000.
3398 (mark_uint8_byte_table): New function in UTF-2000.
3399 (print_uint8_byte_table): New function in UTF-2000.
3400 (uint8_byte_table_equal): New function in UTF-2000.
3401 (uint8_byte_table_hash): New function in UTF-2000.
3402 (make_uint8_byte_table): New function in UTF-2000.
3403 (uint8_byte_table_same_value_p): New function in UTF-2000.
3404 (BT_UINT16_MIN): New macro in UTF-2000.
3405 (BT_UINT16_MAX): New macro in UTF-2000.
3406 (BT_UINT16_t): New macro in UTF-2000.
3407 (BT_UINT16_nil): New macro in UTF-2000.
3408 (BT_UINT16_unbound): New macro in UTF-2000.
3409 (INT_UINT16_P): New inline function in UTF-2000.
3410 (UINT16_VALUE_P): New inline function in UTF-2000.
3411 (UINT16_ENCODE): New inline function in UTF-2000.
3412 (UINT16_DECODE): New inline function in UTF-2000.
3413 (UINT8_TO_UINT16): New inline function in UTF-2000.
3414 (mark_uint16_byte_table): New function in UTF-2000.
3415 (print_uint16_byte_table): New function in UTF-2000.
3416 (uint16_byte_table_equal): New function in UTF-2000.
3417 (uint16_byte_table_hash): New function in UTF-2000.
3418 (make_uint16_byte_table): New function in UTF-2000.
3419 (uint16_byte_table_same_value_p): New function in UTF-2000.
3420 (print_byte_table): New function in UTF-2000.
3421 (byte-table): Use `print_byte_table' as printer.
3422 (make_byte_table): Delete second argument `older'.
3423 (byte_table_same_value_p): New function in UTF-2000.
3424 (copy_byte_table): Deleted.
3425 (get_byte_table): New function in UTF-2000.
3426 (put_byte_table): New function in UTF-2000.
3427 (print_char_id_table): New function in UTF-2000.
3428 (char-id-table): Use `print_char_id_table' as printer.
3429 (make_char_id_table): Delete second argument `older'.
3430 (get_char_id_table): Use `get_byte_table [new implementation].
3431 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3433 (Ffind_char_attribute_table): New function in UTF-2000.
3434 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3435 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3436 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3437 (syms_of_mule_charset): Add new function
3438 `find-char-attribute-table' in UTF-2000.
3440 * lrecord.h (enum lrecord_type): Add
3441 `lrecord_type_uint16_byte_table' and
3442 `lrecord_type_uint8_byte_table'.
3444 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3445 (Lisp_Uint8_Byte_Table): New type.
3446 (XUINT8_BYTE_TABLE): New macro.
3447 (XSETUINT8_BYTE_TABLE): New macro.
3448 (UINT8_BYTE_TABLE_P): New macro.
3449 (GC_UINT8_BYTE_TABLE_P): New macro.
3450 (struct Lisp_Uint16_Byte_Table): New structure.
3451 (Lisp_Uint16_Byte_Table): New type.
3452 (XUINT16_BYTE_TABLE): New macro.
3453 (XSETUINT16_BYTE_TABLE): New macro.
3454 (UINT16_BYTE_TABLE_P): New macro.
3455 (GC_UINT16_BYTE_TABLE_P): New macro.
3457 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3459 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3460 (Vcharacter_ideographic_strokes_table): Deleted.
3461 (Vcharacter_total_strokes_table): Deleted.
3462 (Vcharacter_morohashi_daikanwa_table): Deleted.
3463 (Vcharacter_decomposition_table): Deleted.
3464 (Qname): Deleted because it is duplicated.
3465 (Qideographic_radical): Deleted.
3466 (Qideographic_strokes): Deleted.
3467 (Qtotal_strokes): Deleted.
3468 (Qmorohashi_daikanwa): Deleted.
3469 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3470 `ideographic-radical', `ideographic-strokes', `total-strokes',
3471 `morohashi-daikanwa' and `->decomposition'.
3472 (Fget_char_attribute): Likewise.
3473 (Fput_char_attribute): Likewise; use `make-vector' instead of
3474 `make_older_vector' for `->decomposition' value.
3475 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3476 `ideograph-daikanwa'.
3477 (syms_of_mule_charset): Delete builtin symbols `name',
3478 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3479 `morohashi-daikanwa'.
3480 (vars_of_mule_charset): Don't setup
3481 `Vcharacter_ideographic_radical_table',
3482 `Vcharacter_ideographic_strokes_table',
3483 `Vcharacter_total_strokes_table',
3484 `Vcharacter_morohashi_daikanwa_table' and
3485 `Vcharacter_decomposition_table'.
3487 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3489 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3490 `make_older_vector', `make_vector_newer_1' and
3491 `make_vector_newer'.
3493 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3494 `make_older_vector' and `make_vector_newer'.
3496 * config.h.in (HAVE_GGC): New macro.
3498 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3500 * mule-charset.c (struct char_attribute_list_closure): New
3501 structure in UTF-2000.
3502 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3503 (Fchar_attribute_list): Likewise.
3504 (Fset_charset_mapping_table): Use `make_vector_newer'.
3505 (Fdecode_builtin_char): New function in UTF-2000.
3506 (syms_of_mule_charset): Add new function `char-attribute-list' and
3507 `decode-builtin-char' in UTF-2000.
3509 * lisp.h (make_vector_newer): New prototype.
3511 * alloc.c (make_vector_newer_1): New function.
3512 (make_vector_newer): New function.
3514 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3516 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3519 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3521 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3522 (Vcharacter_attribute_table): Deleted.
3523 (Vcharacter_name_table): Deleted.
3524 (put_char_attribute): Deleted.
3525 (remove_char_attribute): Deleted.
3526 (struct char_attribute_alist_closure): New structure.
3527 (add_char_attribute_alist_mapper): New function.
3528 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3529 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3530 (Fget_char_attribute): Likewise.
3531 (Fput_char_attribute): Likewise.
3532 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3533 of `remove_char_attribute'.
3534 (Fdefine_char): Return character.
3535 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3536 and `Vcharacter_name_table'.
3537 (complex_vars_of_mule_charset): Likewise
3538 `Vchar_attribute_hash_table'.
3540 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3542 * character.h (CHARC_CHARSET): New macro.
3543 (CHARC_CHARSET_ID): New macro.
3544 (CHARC_CODE_POINT): New macro.
3545 (CHARC_COLUMNS): New macro.
3546 (CHARC_TO_CHAR): New inline function.
3547 (CHARC_EQ): New inline function.
3548 (CHARC_ASCII_EQ): New inline function.
3549 (CHARC_IS_SPACE): New inline function.
3550 (ASCII_TO_CHARC): New inline function.
3552 * char-ucs.h (encode_char_2): Deleted.
3553 (ENCODE_CHAR): Use `encode_char_1' again.
3554 (breakup_char_1): Likewise.
3555 (CHAR_TO_CHARC): New inline function.
3557 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3559 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3561 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3562 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3563 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3564 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3565 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3567 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3569 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3571 (x_output_display_block): Use `CHARC_CHARSET' and
3574 * redisplay-tty.c (tty_output_display_block): Use
3576 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3578 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3580 * insdel.c (find_charsets_in_charc_string): Use
3582 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3583 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3584 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3585 (convert_charc_string_into_malloced_string): Likewise.
3587 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3589 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3590 instead of <Emchar_dynarr *> for buf; use
3591 `convert_bufbyte_string_into_charc_dynarr' instead of
3592 `convert_bufbyte_string_into_emchar_dynarr'; use
3593 `find_charsets_in_charc_string' instead of
3594 `find_charsets_in_emchar_string'.
3597 - Include "character.h".
3598 (struct rune): New member `cglyph'; delete member `chr'.
3600 * redisplay.c (redisplay_text_width_charc_string): New function;
3601 delete `redisplay_text_width_emchar_string'.
3602 (rtw_charc_dynarr): New variable; renamed from
3603 `rtw_emchar_dynarr'.
3604 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3605 `rtw_emchar_dynarr'; use
3606 `convert_bufbyte_string_into_charc_dynarr' instead of
3607 `convert_bufbyte_string_into_emchar_dynarr'; use
3608 `redisplay_text_width_charc_string' instead of
3609 `redisplay_text_width_emchar_string'.
3610 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3611 instead of `rtw_emchar_dynarr'; use
3612 `convert_bufbyte_string_into_charc_dynarr' instead of
3613 `convert_bufbyte_string_into_emchar_dynarr'.
3614 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3615 `redisplay_text_width_charc_string' instead of
3616 `redisplay_text_width_emchar_string'.
3617 (create_text_block): Modify for <struct rune> change.
3618 (generate_formatted_string_db): Likewise.
3619 (create_string_text_block): Likewise.
3620 (pixel_to_glyph_translation): Likewise.
3622 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3623 instead of <const Emchar *>.
3624 (x_text_width): Likewise.
3625 (x_output_display_block): Use <Charc_dynarr *> instead
3626 <Emchar_dynarr *>; modify for <structure rune> change.
3627 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3630 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3631 <const Emchar *>; use `charc_string_displayed_columns' instead of
3632 `emchar_string_displayed_columns'.
3633 (tty_output_display_block): Use <Charc_dynarr *> instead of
3634 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3635 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3636 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3637 `tty_output_emchar_dynarr_dynarr'.
3638 (tty_output_charc_dynarr): New function; delete
3639 `tty_output_charc_dynarr'.
3641 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3642 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3643 <Emchar_dynarr *> for buf; use
3644 `convert_bufbyte_string_into_charc_dynarr' instead of
3645 `convert_bufbyte_string_into_emchar_dynarr'.
3647 * frame.c (title_string_charc_dynarr): New variable; renamed from
3648 `title_string_emchar_dynarr'.
3649 (generate_title_string): Use `title_string_charc_dynarr' instead
3650 of `title_string_emchar_dynarr'; use
3651 `convert_charc_string_into_malloced_string' instead of
3652 `convert_emchar_string_into_malloced_string'.
3653 (init_frame): Use `title_string_charc_dynarr' instead of
3654 `title_string_emchar_dynarr'.
3657 - Include "character.h".
3658 (struct console_methods): Use <const Charc *> instead of <const
3659 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3660 <Emchar_dynarr *> in output_string_method.
3662 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3665 * console-stream.c (stream_text_width): Use <const Charc *>
3666 instead of <const Emchar *>.
3668 * character.h (Charc_dynarr): New type.
3670 * char-ucs.h (structure Charc): New structure; define new type
3673 * char-lb.h (DECODE_CHAR): New inline function.
3674 (encode_char_1): New inline function.
3675 (ENCODE_CHAR): New macro.
3676 (structure Charc): New structure; define new type `Charc'.
3678 * char-1byte.h (Vcharset_control_1): New macro.
3679 (Vcharset_latin_iso8859_1): New macro.
3680 (DECODE_CHAR): New inline function.
3681 (encode_char_1): New inline function.
3682 (ENCODE_CHAR): New macro.
3683 (structure Charc): New structure; define new type `Charc'.
3685 * insdel.c (find_charsets_in_charc_string): New function; delete
3686 `find_charsets_in_emchar_string'.
3687 (charc_string_displayed_columns): New function; delete
3688 `emchar_string_displayed_columns'.
3689 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3690 `convert_bufbyte_string_into_emchar_dynarr'.
3691 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3692 `convert_charc_string_into_bufbyte_dynarr'.
3693 (convert_charc_string_into_malloced_string): New function; delete
3694 `convert_charc_string_into_malloced_string'.
3696 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3697 `find_charsets_in_emchar_string'.
3698 (charc_string_displayed_columns): New prototype; delete
3699 `emchar_string_displayed_columns'.
3700 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3701 `convert_charc_string_into_bufbyte_dynarr'.
3702 (convert_charc_string_into_malloced_string): New prototype; delete
3703 `convert_charc_string_into_malloced_string'.
3705 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3707 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3709 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3711 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3713 * char-ucs.h: Use <short> for <Charset_ID>.
3715 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3718 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3720 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3723 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3725 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3727 (Qmorohashi_daikanwa): New variable.
3728 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3729 for `morohashi-daikanwa' attribute.
3730 (Fget_char_attribute): Likewise.
3731 (Fput_char_attribute): Likewise.
3732 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3733 has the same value of `ideograph-daikanwa'.
3734 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3735 (vars_of_mule_charset): Setup
3736 `Vcharacter_morohashi_daikanwa_table'.
3738 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3740 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3742 (add_charset_to_list_mapper): Add `key' instead of
3743 `XCHARSET_NAME (value)' to return aliases.
3745 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3747 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3749 (Vcharacter_ideographic_strokes_table): New variable.
3750 (Qideographic_radical): New variable.
3751 (Qideographic_strokes): New variable.
3752 (Fchar_attribute_alist): Use
3753 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3754 attribute; use `Vcharacter_ideographic_strokes_table' for
3755 `ideographic-strokes' attribute.
3756 (Fget_char_attribute): Likewise.
3757 (Fput_char_attribute): Likewise.
3758 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3759 `ideographic-strokes'.
3760 (vars_of_mule_charset): Setup
3761 `Vcharacter_ideographic_radical_table' and
3762 `Vcharacter_ideographic_strokes_table'.
3764 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3766 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3767 (Qtotal_strokes): New variable.
3768 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3769 `total-strokes' attribute.
3770 (Fget_char_attribute): Likewise.
3771 (Fput_char_attribute): Likewise.
3772 (syms_of_mule_charset): Add new symbol `total-strokes'.
3773 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3775 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3777 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3778 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3780 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3781 `->decomposition' attribute.
3782 (Fput_char_attribute): Likewise.
3783 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3785 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3787 * mule-charset.c (decoding_table_check_elements): New function.
3788 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3790 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3792 * mule-charset.c (Fset_charset_mapping_table): Use
3793 `put_char_ccs_code_point'.
3795 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3797 * mule-charset.c (decoding_table_put_char): New inline function.
3798 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3800 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3802 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3803 (XCHARSET_BYTE_SIZE): New macro.
3804 (decoding_table_remove_char): New inline function.
3805 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3806 `decoding_table_remove_char'.
3807 (remove_char_ccs): Use `decoding_table_remove_char'.
3808 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3810 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3812 * mule-charset.c (Vcharacter_name_table): New variable.
3813 (Qname): New variable.
3814 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3816 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3817 `Vcharacter_name_table' for `name' attribute.
3818 (Fremove_char_attribute): Use function `remove_char_ccs'.
3819 (put_char_ccs_code_point): New function.
3820 (remove_char_ccs): New function.
3821 (syms_of_mule_charset): Add new symbol `name'.
3822 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3824 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3826 * mule-charset.c (make_byte_table): Add new argument `older'.
3827 (make_char_id_table): Likewise.
3828 (copy_char_id_table): Comment out because it is not used.
3829 (put_char_id_table): Modify for `make_byte_table'.
3830 (Fput_char_attribute): Make encoding_table as older object;
3831 inherit older bit of `Vcharacter_composition_table'.
3832 (mark_charset): Don't mark `cs->encoding_table'.
3833 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3834 normal object; make `Vcharacter_composition_table' as an older
3835 object; delete staticpro for `Vcharacter_composition_table'; make
3836 `Vcharacter_variant_table' as a normal object.
3838 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3839 (mark_object): Don't check older object in UTF-2000.
3841 * lrecord.h (struct lrecord_header): Add new member `older' in
3843 (set_lheader_implementation): Setup `SLI_header->older' in
3845 (set_lheader_older_implementation): New macro in UTF-2000.
3846 (OLDER_RECORD_P): New macro in UTF-2000.
3847 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3848 (alloc_older_lcrecord): New prototype in UTF-2000.
3849 (alloc_older_lcrecord_type): New macro in UTF-2000.
3851 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3853 * mule-charset.c (byte_table_description): Use
3854 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3855 (char_id_table_description): Delete bogus `, 1'.
3856 (Fget_char_attribute): Refer encoding_table of each coded-charset
3857 to get value of coded-charset attribute of a character.
3858 (Fput_char_attribute): Use `make_older_vector' instead of
3859 `make_vector'; use encoding_table of each coded-charset to store
3860 value of coded-charset attribute of a character.
3861 (Fremove_char_attribute): Use encoding_table of each coded-charset
3862 to store value of coded-charset attribute of a character.
3863 (mark_charset): Mark `cs->encoding_table'; don't mark
3864 `cs->decoding_table'.
3865 (charset_description): Add description of new member
3867 (make_charset): Initialize `encoding_table'.
3869 * char-ucs.h (struct Lisp_Charset): Add new member
3871 (CHARSET_ENCODING_TABLE): New macro.
3872 (XCHARSET_ENCODING_TABLE): New macro.
3873 (charset_code_point): New implementation.
3874 (encode_char_1): Likewise.
3876 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3877 (disksave_object_finalization_1): Call finalizers of
3878 `all_older_lcrecords' in UTF-2000.
3879 (make_older_vector): New function in UTF-2000.
3880 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3883 * lisp.h (make_older_vector): New prototype in UTF-2000.
3885 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3887 * lrecord.h (enum lrecord_type): Rename
3888 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3890 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3891 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3892 `get_char_code_table'.
3894 * mule-charset.c (mark_char_id_table): Renamed from
3895 `mark_char_code_table'.
3896 (char_id_table_equal): Renamed from `char_code_table_equal'.
3897 (char_id_table_hash): Renamed from `char_code_table_hash'.
3898 (make_char_id_table): Renamed from `make_char_code_table'.
3899 (copy_char_id_table): Renamed from `copy_char_code_table'.
3900 (get_char_id_table): Renamed from `get_char_code_table'.
3901 (put_char_id_table): Renamed from `put_char_code_table'.
3902 (to_char_id): Renamed from `to_char_code'.
3904 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3905 `Lisp_Char_Code_Table'.
3906 (char_id_table): Renamed from `char_code_table'.
3907 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3908 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3909 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3910 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3911 (get_char_id_table): Renamed from `get_char_code_table'.
3913 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3915 * lrecord.h (enum lrecord_type): Rename
3916 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3918 * mule-charset.c (mark_byte_table): Renamed from
3919 `mark_char_byte_table'.
3920 (byte_table_equal): Renamed from `char_byte_table_equal'.
3921 (byte_table_hash): Renamed from `byte_table_hash'.
3922 (make_byte_table): Renamed from `make_byte_table'.
3923 (copy_byte_table): Renamed from `copy_char_byte_table'.
3925 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3926 `Lisp_Char_Byte_Table'.
3927 (byte_table): Renamed from `char_byte_table'.
3928 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3929 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3930 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3931 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3933 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3935 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3936 (dfc_convert_to_internal_format): Likewise.
3938 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3939 * text-coding.c (Fcoding_system_alias_p): New function.
3940 * text-coding.c (Fcoding_system_aliasee): New function.
3941 * text-coding.c (append_suffix_to_symbol): New function.
3942 * text-coding.c (dangling_coding_system_alias_p): New function.
3943 * text-coding.c (Ffind_coding_system):
3944 * text-coding.c (Fcopy_coding_system):
3945 * text-coding.c (encode_coding_no_conversion):
3946 * text-coding.c (syms_of_file_coding):
3947 * text-coding.c (vars_of_file_coding):
3948 Rewrite coding system alias code.
3949 Allow nested aliases, like symbolic links.
3950 Allow redefinition of coding system aliases.
3951 Prevent existence of dangling coding system aliases.
3952 Eliminate convert_to_external_format.
3953 Eliminate convert_to_internal_format.
3955 * text-coding.c: Change enum eol_type to eol_type_t.
3957 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3959 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3960 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3962 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3963 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3965 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3967 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3968 `ideograph-daikanwa'.
3970 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3971 (Vcharset_ucs_bmp): Likewise.
3972 (Vcharset_mojikyo): Add new extern variable definition.
3973 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3974 (Vcharset_latin_iso8859_3): Likewise.
3975 (Vcharset_latin_iso8859_4): Likewise.
3976 (Vcharset_latin_iso8859_9): Likewise.
3977 (Vcharset_latin_viscii_lower): Likewise.
3978 (Vcharset_latin_viscii_upper): Likewise.
3979 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
3980 `mojikyo' code-point is used to decode.
3981 (encode_char_2): New function [to convert `mojikyo' code-point to
3982 Mojikyo font encoding].
3983 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
3984 (breakup_char_1): Likewise.
3985 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
3987 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3989 * text-coding.c (Fmake_coding_system): Add document about
3990 `disable-composition' property.
3992 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3994 * text-coding.c (Qdisable_composition): New variable; delete
3996 (Fmake_coding_system): Add new property `disable-composite';
3997 delete property `composite'.
3998 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
3999 instead of `!CODING_SYSTEM_COMPOSITE'.
4000 (syms_of_file_coding): Add new symbol `disable-composition';
4001 delete symbol `composite'.
4003 * file-coding.h (struct Lisp_Coding_System): Add
4004 `disable_composition'; delete `enable_composition'.
4005 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4006 `CODING_SYSTEM_COMPOSITE'.
4007 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4008 `XCODING_SYSTEM_COMPOSITE'.
4010 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4012 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4015 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4017 * text-coding.c (Qcomposite): New variable.
4018 (Fmake_coding_system): Add new property `composite'.
4019 (struct decoding_stream): Add `combined_char_count',
4020 `combined_chars' and `combining_table' in UTF-2000.
4021 (COMPOSE_FLUSH_CHARS): New macro.
4022 (COMPOSE_ADD_CHAR): New macro.
4023 (reset_decoding_stream): Reset `str->combined_char_count' and
4024 `str->combining_table' in UTF-2000.
4025 (decode_coding_iso2022): Modify for character-decomposition.
4026 (syms_of_file_coding): Add new symbol `composite'.
4028 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4030 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4031 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4032 of `Vcharacter_composition_table' if `->decomposition' property
4034 (Qlatin_tcvn5712): New variable.
4035 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4036 (complex_vars_of_mule_charset): Add new coded-charset
4039 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4041 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4043 * file-coding.h (struct Lisp_Coding_System): Add
4044 `enable_composition'.
4045 (CODING_SYSTEM_COMPOSITE): New macro.
4046 (XCODING_SYSTEM_COMPOSITE): New macro.
4048 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4050 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4052 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4054 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4055 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4057 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4059 * mule-charset.c (Vcharset_mojikyo): New variable.
4060 (Fdefine_char): Don't use coded-charset which does not have
4061 non-builtin character range to allocate character-id.
4062 (Qmojikyo): New variable.
4063 (syms_of_mule_charset): Add new symbol `mojikyo'.
4064 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4066 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4067 (LEADING_BYTE_MOJIKYO): New macro.
4068 (MIN_CHAR_MOJIKYO): New macro.
4069 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4070 (MAX_CHAR_MOJIKYO): New macro.
4072 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4074 * mule-charset.c (remove_char_attribute): Fixed.
4076 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4078 * mule-charset.c (remove_char_attribute): New function.
4079 (Fremove_char_attribute): New function.
4080 (encode_builtin_char_1): Comment out builtin-support for
4081 greek-iso8859-7 and cyrillic-iso8859-5.
4082 (Fdecode_char): Check `code' is an integer.
4083 (syms_of_mule_charset): Add `remove-char-attribute'.
4084 (MIN_CHAR_GREEK): Deleted.
4085 (MAX_CHAR_GREEK): Likewise.
4086 (MIN_CHAR_CYRILLIC): Likewise.
4087 (MAX_CHAR_CYRILLIC): Likewise.
4088 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4089 MAX_CHAR_GREEK for `greek-iso8859-7'.
4091 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4092 (MAX_CHAR_GREEK): Likewise.
4093 (MIN_CHAR_CYRILLIC): Likewise.
4094 (MAX_CHAR_CYRILLIC): Likewise.
4096 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4098 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4099 format is used without `ucs' property.
4100 (Fdecode_char): Fix problem with GR representation.
4101 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4102 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4104 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4106 * mule-charset.c (make_builtin_char): New function.
4107 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4108 (Fset_charset_mapping_table): Modify for new representation of
4110 (Fdecode_char): New function.
4111 (syms_of_mule_charset): Add new builtin function `decode-char' in
4114 * char-ucs.h (make_builtin_char): New prototype.
4115 (DECODE_CHAR): New inline function.
4116 (MAKE_CHAR): Use `DECODE_CHAR'.
4118 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4120 * text-coding.c (parse_charset_conversion_specs): Use
4121 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4123 (iso2022_designate): Likewise.
4125 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4126 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4128 * mule-charset.c (Vcharset_ucs): New variable.
4129 (print_charset): Change design; use `CHARSET_CHARS' and
4130 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4131 (make_charset): Change signature to specify `chars' and
4132 `dimension' instead of `type'.
4133 (range_charset_code_point): Modify for 256^n-set.
4134 (encode_builtin_char_1): Encode as `ucs' in default.
4135 (Fmake_charset): Modify for `make_charset'.
4136 (Fmake_reverse_direction_charset): Likewise.
4137 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4139 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4142 * char-ucs.h (Vcharset_ucs): New variable.
4143 (LEADING_BYTE_UCS): New macro.
4144 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4145 and `chars' to `unsigned short' from `unsigned int'.
4146 (CHARSET_TYPE): Deleted.
4147 (XCHARSET_TYPE): Deleted.
4149 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4151 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4153 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4154 (ENCODE_CHAR): New macro.
4156 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4158 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4159 to 0.14 (Kawachi-Katakami).
4161 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4163 * text-coding.c (char_encode_shift_jis): Modify for
4164 `charset_code_point'.
4165 (char_encode_iso2022): Likewise.
4167 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4168 (integer) instead of list of <Lisp_Object>s (integers) as the
4169 format of code-point of a coded-charset.
4170 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4171 (encode_builtin_char_1): New function; delete
4172 `split_builtin_char'.
4173 (charset_code_point): Return <int> instead of <Lisp_Object>.
4174 (Fsplit_char): Don't use `SPLIT_CHAR'.
4176 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4177 prototype for `split_builtin_char'.
4178 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4179 (charset_code_point): Likewise.
4180 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4181 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4183 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4185 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4186 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4188 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4190 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4192 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4193 (MAX_CHAR_OBS_94x94): Deleted.
4195 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4197 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4199 * char-ucs.h (MAX_CHAR_BMP): New macro.
4201 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4203 * text-coding.c: Sync with r21-2-24.
4205 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4207 * file-coding.c: Modify for UTF-2000.
4209 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4211 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4214 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4216 * mule-charset.c (split_builtin_char): Delete builtin support for
4217 `katakana-jisx0201'.
4218 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4219 BMP area in builtin representation.
4221 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4222 `Vcharset_katakana_jisx0201'.
4224 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4226 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4227 (Qisolated): New variable.
4228 (Qinitial): New variable.
4229 (Qmedial): New variable.
4230 (Qfinal): New variable.
4231 (Qvertical): New variable.
4232 (Qsmall): New variable.
4233 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4234 `Qvertical' and `Qsmall'.
4235 (Qmojikyo_pj_[1 .. 21]): New variable.
4236 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4237 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4238 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4241 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4243 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4244 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4245 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4247 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4249 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4250 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4252 (Qjapanese_jisx0208_1990): New variable.
4253 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4254 (complex_vars_of_mule_charset): Add new coded-charset
4255 `japanese-jisx0208-1990'.
4257 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4258 (MIN_CHAR_JIS_X0208_1990): New macro.
4259 (MAX_CHAR_JIS_X0208_1990): New macro.
4261 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4263 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4264 coded-charset is not found.
4266 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4268 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4269 (Fdefine_char): Use `Fmake_char'.
4271 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4273 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4274 (Vcharset_hiragana_jisx0208): Deleted.
4275 (Vcharset_katakana_jisx0208): Deleted.
4276 (Qideograph_daikanwa): New variable.
4277 (Qhiragana_jisx0208): Deleted.
4278 (Qkatakana_jisx0208): Deleted.
4279 (split_builtin_char): Split `ideograph-daikanwa'.
4280 (Fsplit_char): New implementation for UTF-2000.
4281 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4282 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4283 (complex_vars_of_mule_charset): Add new coded-charset
4284 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4285 `katakana-jisx0208'.
4287 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4288 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4289 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4290 (MIN_CHAR_DAIKANWA): New macro.
4291 (MAX_CHAR_DAIKANWA): New macro.
4293 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4295 * data.c (Fstring_to_number): Don't recognize floating point if
4298 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4300 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4302 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4304 * mule-charset.c (Qsquare): New variable.
4305 (to_char_code): Add `Qsquare'.
4306 (syms_of_mule_charset): Add new symbol `square'.
4308 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4310 * mule-charset.c (Qcircle): New variable.
4311 (to_char_code): Add `Qcircle'.
4312 (syms_of_mule_charset): Add new symbol `circle'.
4314 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4316 * mule-charset.c (Qfont): New variable.
4317 (to_char_code): Add `Qfont'.
4318 (syms_of_mule_charset): Add new symbol `font'.
4320 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4322 * mule-charset.c (Qsub): New variable.
4323 (to_char_code): Add `Qsub'.
4324 (syms_of_mule_charset): Add new symbol `sub'.
4326 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4328 * mule-charset.c (Fput_char_attribute): Convert each element of
4329 VALUE to GL position if ATTRIBUTE is a GR-set,
4331 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4333 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4334 coded-charset is a GR-set.
4336 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4338 * mule-charset.c (Fput_char_attribute): Check each element of
4339 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4341 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4343 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4345 (Qethiopic_ucs): New variable in UTF-2000.
4346 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4347 (complex_vars_of_mule_charset): Add new coded-charset
4348 `ethiopic-ucs' in UTF-2000.
4350 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4351 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4353 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4355 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4357 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4359 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4362 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4364 * mule-charset.c (Vcharacter_variant_table): New variable.
4365 (Q_ucs): New variable.
4366 (Fchar_variants): New function.
4367 (Fput_char_attribute): Register `->ucs' value to
4368 `Vcharacter_variant_table'.
4369 (syms_of_mule_charset): Add new function `char-variants' and new
4371 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4373 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4375 * mule-charset.c (get_char_code_table): Allow negative character
4377 (put_char_code_table): Likewise.
4378 (Vcharacter_composition_table): New variable.
4379 (Q_decomposition): New variable.
4380 (Qwide): New variable.
4381 (Qnarrow): New variable.
4382 (Qcompat): New variable.
4383 (QnoBreak): New variable.
4384 (Qsuper): New variable.
4385 (Qfraction): New variable.
4386 (to_char_code): New function.
4387 (Fget_composite_char): New function.
4388 (Fput_char_attribute): Register `->decomposition' value to
4389 `Vcharacter_composition_table'.
4390 (syms_of_mule_charset): Add new function `get-composite-char', new
4391 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4392 `super' and `fraction'.
4393 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4395 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4397 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4398 character; copy the return value.
4400 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4402 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4404 * mule-charset.c (range_charset_code_point): Must use make_int.
4405 (split_builtin_char): New function.
4407 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4409 * mule-charset.c (char_byte_table): Change name from
4410 "char-code-table" to "char-byte-table".
4411 (mark_char_code_table): New function.
4412 (char_code_table_equal): New function.
4413 (char_code_table_hash): New function.
4414 (char_code_table_description): New constant.
4415 (char_code_table): New type.
4416 (make_char_code_table): New function.
4417 (copy_char_code_table): New function.
4418 (get_char_code_table): Modify for `char_code_table' type.
4419 (put_char_code_table): Likewise.
4420 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4423 * char-ucs.h (char_code_table): New type.
4424 (XCHAR_CODE_TABLE): New macro.
4425 (XSETCHAR_CODE_TABLE): New macro.
4426 (CHAR_CODE_TABLE_P): New macro.
4427 (GC_CHAR_CODE_TABLE_P): New macro.
4428 (struct Lisp_Char_Code_Table): New structure.
4430 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4432 * mule-charset.c (Fmake_charset): Setup byte_offset for
4435 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4437 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4440 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4442 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4445 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4447 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4448 charset, it is regarded as a charset.
4449 (put_char_attribute): New function in UTF-2000.
4450 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4451 charset, mapping-table of the charset is modified.
4452 (Fdefine_char): New function in UTF-2000.
4453 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4454 `Fput_char_attribute'.
4455 (syms_of_mule_charset): Add new function `define-char' and new
4456 symbol `ucs' in UTF-2000.
4457 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4459 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4461 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4462 non-UTF-2000 configuration.
4464 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4466 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4467 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4469 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4471 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4472 (Fset_charset_mapping_table): Likewise.
4474 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4475 (CHARSET_ENCODING_TABLE): Delete.
4476 (XCHARSET_ENCODING_TABLE): Delete.
4477 (charset_code_point): New interface.
4479 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4481 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4482 instead of `charset_get_byte1' and `charset_get_byte2'.
4484 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4485 (charset_get_byte2): Deleted.
4487 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4489 * char-ucs.h (SPLIT_CHAR): New inline function.
4490 (breakup_char_1): Use `SPLIT_CHAR'.
4492 * mule-charset.c (range_charset_code_point): New function.
4493 (charset_code_point): New function.
4495 * char-ucs.h (range_charset_code_point): New interface.
4496 (breakup_char_1): Use `range_charset_code_point'.
4498 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4500 * mule-charset.c (Fmake_charset): Delete unused local variable
4503 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4504 (breakup_char_1): Find a charset and code-point in
4505 `Vcharacter_attribute_table'.
4507 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4509 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4512 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4514 * mule-charset.c (Vcharacter_attribute_table): New variable.
4515 (Fchar_attribute_alist): New function.
4516 (Fget_char_attribute): New function.
4517 (Fput_char_attribute): New function.
4518 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4520 (syms_of_mule_charset): Add new function `char-attribute-alist',
4521 `get-char-attribute' and `put-char-attribute'.
4522 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4524 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4526 * mule-charset.c (Fmake_charset): Just use
4527 `get_unallocated_leading_byte'.
4529 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4530 sets; don't use final-byte based number for private sets.
4532 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4534 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4537 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4539 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4542 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4544 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4545 of `CHAR_LEADING_BYTE' in UTF-2000.
4547 * insdel.c (find_charsets_in_bufbyte_string): Use
4548 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4549 (find_charsets_in_emchar_string): Likewise.
4551 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4552 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4554 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4555 (CHAR_CHARSET_ID): New macro.
4557 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4559 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4560 charset-id - MIN_LEADING_BYTE.
4561 (put_char_table): Likewise.
4563 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4565 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4566 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4567 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4568 (CHARSET_ID_OFFSET): New macro.
4569 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4570 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4571 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4572 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4574 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4576 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4577 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4578 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4579 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4580 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4582 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4584 * mule-charset.c (next_allocated_leading_byte): New variable in
4586 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4587 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4588 (get_unallocated_leading_byte): Simply use
4589 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4590 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4593 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4594 (MAX_LEADING_BYTE_PRIVATE): New macro.
4595 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4596 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4598 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4600 * mule-charset.c (Fmake_charset): Allocate final-byte based
4601 charset-id for 94-set, 96-set and 94x94-set.
4603 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4605 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4607 (Fmake_charset): Likewise.
4608 (complex_vars_of_mule_charset): Modify the font registry of
4609 `ucs-bmp' not to match `Ethiopic-Unicode'.
4611 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4613 * mule-charset.c (complex_vars_of_mule_charset): Add font
4614 registory of `ucs-bmp'.
4616 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4618 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4619 coded-charsets in `default-coded-charset-priority-list' when
4620 breaking up a character.
4622 * mule-charset.c (Vcharset_latin_viscii): New variable.
4623 (Qlatin_viscii): New variable.
4624 (make_charset): Don't use `decoding_table'.
4625 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4627 (Fset_charset_mapping_table): New implementation.
4628 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4629 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4630 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4631 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4632 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4633 charset `latin_viscii'.
4635 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4636 (CHARSET_TYPE_94X94): Change to 1 from 2.
4637 (CHARSET_TYPE_96): Change to 2 from 1.
4638 (CHARSET_TYPE_128): New macro.
4639 (CHARSET_TYPE_128X128): Change to 5 from 4.
4640 (CHARSET_TYPE_256): New macro.
4641 (CHARSET_TYPE_256X256): Change to 7 from 5.
4642 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4644 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4646 * text-coding.c (char_encode_shift_jis): Refer
4647 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4648 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4650 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4651 (char_byte_table_equal): New function in UTF-2000.
4652 (char_byte_table_hash): New function in UTF-2000.
4653 (char_byte_table_description): New constant in UTF-2000.
4654 (char_byte_table): New type in UTF-2000.
4655 (make_char_byte_table): New function in UTF-2000.
4656 (copy_char_byte_table): New function in UTF-2000.
4657 (make_char_code_table): New macro in UTF-2000.
4658 (get_char_code_table): New function in UTF-2000.
4659 (put_char_code_table): New function in UTF-2000.
4660 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4661 (charset_description): Add setting in UTF-2000.
4662 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4663 `CHARSET_TO_BYTE1_TABLE(cs)'.
4664 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4665 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4666 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4667 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4668 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4669 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4670 `CHARSET_TO_BYTE2_TABLE(cs)'.
4672 * char-ucs.h (char_byte_table): New type.
4673 (XCHAR_BYTE_TABLE): New macro.
4674 (XSETCHAR_BYTE_TABLE): New macro.
4675 (CHAR_BYTE_TABLE_P): New macro.
4676 (GC_CHAR_BYTE_TABLE_P): New macro.
4677 (struct Lisp_Char_Byte_Table): New structure.
4678 (get_char_code_table): New interface.
4679 (Emchar_to_byte_table): Deleted.
4680 (get_byte_from_character_table): Deleted.
4681 (struct Lisp_Charset): Add `encoding_table'; delete
4682 `to_byte1_table' and `to_byte2_table'.
4683 (CHARSET_ENCODING_TABLE): New macro.
4684 (CHARSET_TO_BYTE1_TABLE): Deleted.
4685 (CHARSET_TO_BYTE2_TABLE): Deleted.
4686 (XCHARSET_ENCODING_TABLE): New macro.
4687 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4688 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4690 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4692 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4693 `vietnamese-viscii-*'.
4695 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4697 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4698 (Qvietnamese_viscii_upper): New variable.
4699 (Fdefine_charset_alias): New function.
4700 (syms_of_mule_charset): Add new function `define-charset-alias'.
4701 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4702 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4705 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4707 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4708 (MAX_CHAR_OBS_94x94): New macro.
4709 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4712 * mule-charset.c (put_byte_from_character_table): Change unit size
4714 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4716 (Fmake_reverse_direction_charset): Modify dummy argument of
4717 `make_charset' for non-UTF-2000 environment.
4719 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4721 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4723 * mule-charset.c (destroy_byte_from_character_table): New macro.
4724 (latin_jisx0201_to_ucs): Deleted.
4725 (latin_iso8859_2_to_ucs): Deleted.
4726 (latin_iso8859_3_to_ucs): Deleted.
4727 (latin_iso8859_4_to_ucs): Deleted.
4728 (latin_iso8859_9_to_ucs): Deleted.
4729 (latin_viscii_lower_to_ucs): Deleted.
4730 (latin_viscii_upper_to_ucs): Deleted.
4731 (mark_charset): Mark `cs->decoding_table'.
4732 (Fcharset_mapping_table): Fix DOC-string.
4733 (Fset_charset_mapping_table): New function.
4734 (syms_of_mule_charset): Add nwe function
4735 `set-charset-mapping-table'.
4736 (complex_vars_of_mule_charset): Don't setup and use
4739 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4741 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4744 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4746 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4747 (Vcharset_katakana_jisx0208): New variable.
4748 (Qhiragana_jisx0208): New variable.
4749 (Qkatakana_jisx0208): New variable.
4750 (make_charset): Add new argument `byte_offset'.
4751 (charset_get_byte1): Modify for new coded-charset definition; use
4752 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4753 `XCHARSET_BYTE_OFFSET'.
4754 (Fmake_charset): Modify for `make_charset'.
4755 (Fmake_reverse_direction_charset): Likewise.
4756 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4757 `katakana-jisx0208'.
4758 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4759 `.' in font registry of charset `katakana-jisx0201',
4760 `latin-jisx0201', `vietnamese-viscii-lower' and
4761 `vietnamese-viscii-upper'; modify DOC-string of charset
4762 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4763 registry of charset `japanese-jisx0208' not to use font for JIS
4764 X0208:1990; add new charset `hiragana-jisx0208' and
4765 `katakana-jisx0208'.
4767 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4768 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4769 (struct Lisp_Charset): Add `byte_offset'.
4770 (CHARSET_BYTE_OFFSET): New macro.
4771 (XCHARSET_UCS_MIN): New macro.
4772 (XCHARSET_UCS_MAX): New macro.
4773 (XCHARSET_CODE_OFFSET): New macro.
4774 (XCHARSET_BYTE_OFFSET): New macro.
4775 (MIN_CHAR_HIRAGANA): New macro.
4776 (MAX_CHAR_HIRAGANA): New macro.
4777 (MIN_CHAR_KATAKANA): New macro.
4778 (MAX_CHAR_KATAKANA): New macro.
4779 (MAKE_CHAR): Modify for new coded-charset definition; use
4780 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4781 `XCHARSET_BYTE_OFFSET'.
4783 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4785 * mule-charset.c (CHAR96): Deleted.
4786 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4788 (latin_iso8859_2_to_ucs): Likewise.
4789 (latin_iso8859_3_to_ucs): Likewise.
4790 (latin_iso8859_4_to_ucs): Likewise.
4791 (latin_iso8859_9_to_ucs): Likewise.
4792 (latin_viscii_lower_to_ucs): Likewise.
4793 (latin_viscii_upper_to_ucs): Likewise.
4794 (latin_tcvn5712_to_ucs): Commented out.
4795 (make_charset): Change type of argument `decoding_table' from
4796 <Emchar*> to <Lisp_Object> [vector of characters].
4797 (Fmake_charset): Modify for `make_charset'.
4798 (Fmake_reverse_direction_charset): Likewise.
4799 (Fcharset_mapping_table): New function in UTF-2000.
4800 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4802 (complex_vars_of_mule_charset): Modify for type change of
4803 `*_to_ucs'; modify for `make_charset'.
4805 * char-ucs.h (struct Lisp_Charset): Change type of
4806 `decoding_table' from <Emchar*> to <Lisp_Object>.
4807 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4809 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4811 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4812 error with non-UTF-2000-Mule.
4814 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4816 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4818 (Vcharset_chinese_cns11643_4): Likewise.
4819 (Vcharset_chinese_cns11643_5): Likewise.
4820 (Vcharset_chinese_cns11643_6): Likewise.
4821 (Vcharset_chinese_cns11643_7): Likewise.
4822 (Qchinese_cns11643_3): Likewise.
4823 (Qchinese_cns11643_4): Likewise.
4824 (Qchinese_cns11643_5): Likewise.
4825 (Qchinese_cns11643_6): Likewise.
4826 (Qchinese_cns11643_7): Likewise.
4827 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4828 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4829 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4830 (complex_vars_of_mule_charset): Likewise.
4832 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4834 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4836 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4837 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4839 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4841 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4843 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4844 (breakup_char_1): Likewise.
4846 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4847 one of them includes the specified character.
4849 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4851 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4853 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4855 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4857 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4859 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4860 definition for non-UTF-2000 Mule.
4861 (latin_iso8859_3_to_ucs): Likewise.
4862 (latin_iso8859_4_to_ucs): Likewise.
4863 (latin_iso8859_9_to_ucs): Likewise.
4864 (latin_jisx0201_to_ucs): Likewise.
4865 (MIN_CHAR_THAI): Likewise.
4866 (MAX_CHAR_THAI): Likewise.
4867 (MIN_CHAR_GREEK): Likewise.
4868 (MAX_CHAR_GREEK): Likewise.
4869 (MIN_CHAR_HEBREW): Likewise.
4870 (MAX_CHAR_HEBREW): Likewise.
4871 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4872 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4873 (MIN_CHAR_CYRILLIC): Likewise.
4874 (MAX_CHAR_CYRILLIC): Likewise.
4876 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4878 * char-ucs.h (breakup_char_1): Use
4879 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4880 thai-tis620 and katakana-jisx0201 area.
4882 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4884 * char-ucs.h (breakup_char_1): Use
4885 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4888 * text-coding.c (reset_encoding_stream): Fixed.
4889 (char_encode_ucs4): Delete `& 255'.
4891 * char-ucs.h (breakup_char_1): Use
4892 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4894 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4896 * file-coding.c (Fmake_coding_system): Don't set up
4897 `codesys->fixed.size'.
4898 (encode_coding_no_conversion): Don't refer
4899 `str->codesys->fixed.size'.
4901 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4903 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4904 (latin_a_char_to_byte1): Deleted.
4905 (latin_a_char_to_byte2): Deleted.
4907 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4909 * mule-charset.c (make_charset): Add new argument `ucs_min',
4910 `ucs_max' and `code_offset'.
4911 (charset_get_byte1): New implementation [delete specific charset
4912 depended implementations].
4913 (Fmake_charset): Modify for `make_charset'.
4914 (Fmake_reverse_direction_charset): Likewise.
4915 (complex_vars_of_mule_charset): Likewise.
4917 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4919 (CHARSET_UCS_MIN): New macro.
4920 (CHARSET_UCS_MAX): New macro.
4921 (CHARSET_CODE_OFFSET): New macro.
4922 (MAKE_CHAR): Delete charset depended definitions [except
4925 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4927 * char-ucs.h (breakup_char_1): Use
4928 `Vdefault_coded_charset_priority_list' for C0-Controls,
4929 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4931 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4933 * char-ucs.h (charset_get_byte1): New function.
4934 (XCHARSET_GET_BYTE1): Deleted.
4935 (charset_get_byte2): New function.
4936 (XCHARSET_GET_BYTE2): Deleted.
4937 (Vdefault_coded_charset_priority_list): New external variable.
4938 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4939 `Vdefault_preferred_coded_charset_list'.
4941 * mule-charset.c (charset_get_byte1): New function.
4942 (charset_get_byte2): New function.
4943 (Vdefault_coded_charset_priority_list): New variable.
4944 (vars_of_mule_charset): Add new variable
4945 `default-coded-charset-priority-list'.
4947 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4949 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4950 (XCHARSET_GET_BYTE2): New inline function.
4951 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4952 `XCHARSET_GET_BYTE2'.
4954 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4956 * mule-charset.c (make_charset): Initialize
4957 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4958 NULL if table is not defined.
4960 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4962 * text-coding.c (char_encode_shift_jis): Use
4963 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4964 `ucs_to_latin_jisx0201'.
4966 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4967 (ucs_to_latin_iso8859_2): Deleted.
4968 (ucs_to_latin_iso8859_3): Deleted.
4969 (ucs_to_latin_iso8859_4): Deleted.
4970 (ucs_to_latin_iso8859_9): Deleted.
4971 (ucs_to_latin_viscii_lower): Deleted.
4972 (ucs_to_latin_viscii_upper): Deleted.
4973 (ucs_to_latin_tcvn5712): Deleted.
4974 (make_charset): Add new argument `decoding_table'; set up
4975 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4976 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
4977 `decoding_table' is defined in UTF-2000.
4978 (Fmake_charset): Modify for `make_charset'.
4979 (Fmake_reverse_direction_charset): Likewise.
4980 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
4981 and `GENERATE_96_SET'.
4983 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
4984 (ucs_to_latin_jisx0201): Deleted.
4985 (latin_iso8859_2_to_ucs): Deleted.
4986 (ucs_to_latin_iso8859_2): Deleted.
4987 (latin_iso8859_3_to_ucs): Deleted.
4988 (ucs_to_latin_iso8859_3): Deleted.
4989 (latin_iso8859_4_to_ucs): Deleted.
4990 (ucs_to_latin_iso8859_4): Deleted.
4991 (latin_iso8859_9_to_ucs): Deleted.
4992 (ucs_to_latin_iso8859_9): Deleted.
4993 (latin_viscii_lower_to_ucs): Deleted.
4994 (ucs_to_latin_viscii_lower): Deleted.
4995 (latin_viscii_upper_to_ucs): Deleted.
4996 (ucs_to_latin_viscii_upper): Deleted.
4997 (struct Lisp_Charset): Renamed `encoding_table' to
4998 `to_byte1_table'; add `to_byte2_table'.
4999 (CHARSET_DECODING_TABLE): New macro.
5000 (CHARSET_TO_BYTE1_TABLE): New macro.
5001 (CHARSET_TO_BYTE2_TABLE): New macro.
5002 (XCHARSET_DECODING_TABLE): New macro.
5003 (XCHARSET_TO_BYTE1_TABLE): New macro.
5004 (XCHARSET_TO_BYTE2_TABLE): New macro.
5005 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5007 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5008 don't use `ucs_to_*' tables.
5010 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5012 * text-coding.c (Fmake_coding_system): Don't set up
5013 `codesys->fixed.size'.
5014 (encode_coding_no_conversion): Use `if' instead of `switch'.
5016 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5018 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5020 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5021 (Fmake_charset): Modify for `make_charset'.
5022 (Fmake_reverse_direction_charset): Likewise.
5023 (complex_vars_of_mule_charset): Likewise.
5025 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5027 * text-coding.c (char_encode_shift_jis): Use table
5028 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5030 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5032 * text-coding.c (text_encode_generic): Use `if' instead of
5034 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5037 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5039 * text-coding.c (encode_coding_sjis): Deleted.
5040 (char_encode_shift_jis): New function.
5041 (char_finish_shift_jis): New function.
5042 (reset_encoding_stream): Set up `encode_char' and `finish' for
5043 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5044 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5045 (char_encode_utf8): Treat `eol_type'.
5047 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5049 * file-coding.c (decode_coding_iso2022): Use
5050 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5052 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5054 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5057 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5059 * char-lb.h (CHAR_COLUMNS): New macro.
5061 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5063 * text-coding.c (char_encode_ucs4): New function.
5064 (char_finish_ucs4): New function.
5065 (encode_coding_ucs4): Deleted.
5066 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5067 (text_encode_generic): Delete local variable `charset' and `half'.
5068 (ucs_to_mule_table): Deleted.
5069 (mule_to_ucs_table): Deleted.
5070 (Fset_ucs_char): Deleted.
5071 (ucs_to_char): Deleted.
5072 (Fucs_char): Deleted.
5073 (Fset_char_ucs): Deleted.
5074 (Fchar_ucs): Deleted.
5075 (decode_ucs4): Deleted.
5076 (mule_char_to_ucs4): Deleted.
5077 (encode_ucs4): Deleted.
5078 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5079 (decode_coding_utf8): Likewise.
5080 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5081 (char_encode_iso2022): Fixed.
5082 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5083 `Fset_char_ucs' and `Fchar_ucs'.
5084 (complex_vars_of_file_coding): Don't initialize
5085 `ucs_to_mule_table'.
5087 * objects-tty.c (tty_initialize_font_instance): Don't use
5090 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5093 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5094 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5096 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5097 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5098 (emchar_string_displayed_columns): Likewise.
5100 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5101 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5102 (string_column_at_point): Likewise.
5103 (Fmove_to_column): Likewise.
5105 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5106 `encoding_table' and `decoding_table'.
5107 (CHARSET_REP_BYTES): Deleted.
5108 (XCHARSET_REP_BYTES): Deleted.
5109 (XCHARSET_COLUMNS): Deleted.
5110 (CHAR_COLUMNS): New macro.
5111 (lookup_composite_char): Deleted unconditionally.
5112 (composite_char_string): Likewise.
5114 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5116 * char-ucs.h (Emchar_to_byte_table): New type.
5117 (get_byte_from_character_table): New function interface.
5118 (Vcharset_latin_jisx0201): New variable.
5119 (latin_jisx0201_to_ucs): New variable.
5120 (ucs_to_latin_jisx0201): New variable.
5121 (Vcharset_latin_iso8859_2): New variable.
5122 (latin_iso8859_2_to_ucs): New variable.
5123 (ucs_to_latin_iso8859_2): New variable.
5124 (Vcharset_latin_iso8859_3): New variable.
5125 (latin_iso8859_3_to_ucs): New variable.
5126 (ucs_to_latin_iso8859_3): New variable.
5127 (Vcharset_latin_iso8859_4): New variable.
5128 (latin_iso8859_4_to_ucs): New variable.
5129 (ucs_to_latin_iso8859_4): New variable.
5130 (Vcharset_latin_iso8859_9): New variable.
5131 (latin_iso8859_9_to_ucs): New variable.
5132 (ucs_to_latin_iso8859_9): New variable.
5133 (Vcharset_latin_viscii_lower): New variable.
5134 (latin_viscii_lower_to_ucs): New variable.
5135 (ucs_to_latin_viscii_lower): New variable.
5136 (Vcharset_latin_viscii_upper): New variable.
5137 (latin_viscii_upper_to_ucs): New variable.
5138 (ucs_to_latin_viscii_upper): New variable.
5139 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5140 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5141 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5142 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5143 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5144 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5145 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5146 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5147 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5148 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5150 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5151 (Vcharset_latin_viscii_upper): New variable.
5152 (make_byte_from_character_table): New function.
5153 (put_byte_from_character_table): New function.
5154 (get_byte_from_character_table): New function.
5155 (CHAR96): New macro.
5156 (ucs_to_latin_jisx0201): New variable.
5157 (latin_jisx0201_to_ucs): New variable.
5158 (ucs_to_latin_iso8859_2): New variable.
5159 (latin_iso8859_2_to_ucs): New variable.
5160 (ucs_to_latin_iso8859_3): New variable.
5161 (latin_iso8859_3_to_ucs): New variable.
5162 (ucs_to_latin_iso8859_4): New variable.
5163 (latin_iso8859_4_to_ucs): New variable.
5164 (ucs_to_latin_iso8859_9): New variable.
5165 (latin_iso8859_9_to_ucs): New variable.
5166 (ucs_to_latin_viscii_lower): New variable.
5167 (latin_viscii_lower_to_ucs): New variable.
5168 (ucs_to_latin_viscii_upper): New variable.
5169 (latin_viscii_upper_to_ucs): New variable.
5170 (ucs_to_latin_tcvn5712): New variable.
5171 (latin_tcvn5712_to_ucs): New variable.
5172 (Qlatin_viscii_lower): New variable.
5173 (Qlatin_viscii_upper): New variable.
5174 (syms_of_mule_charset): Set up new symbol
5175 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5176 (complex_vars_of_mule_charset): Set up new charset
5177 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5178 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5179 `ucs_to_<CHARSET>' tables.
5181 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5183 * text-coding.c: New file.
5185 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5187 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5189 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5190 (MAKE_CHAR): Modify for `ucs-bmp'.
5191 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5192 non-MULE characters of BMP.
5194 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5196 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5199 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5202 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5203 - Include character.h for `CHAR_ASCII_P'.
5205 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5207 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5208 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5210 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5211 (BYTE_C0_P): Likewise.
5212 (BYTE_C1_P): Likewise.
5213 (Lstream_get_emchar_1): Likewise.
5214 (Lstream_fput_emchar): Likewise.
5215 (Lstream_funget_emchar): Likewise.
5216 (copy_internal_to_external): Likewise.
5217 (copy_external_to_internal): Likewise.
5219 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5220 (BYTE_C0_P): Likewise.
5221 (BYTE_C1_P): Likewise.
5222 (Lstream_get_emchar_1): Likewise.
5223 (Lstream_fput_emchar): Likewise.
5224 (Lstream_funget_emchar): Likewise.
5225 (copy_internal_to_external): Likewise.
5226 (copy_external_to_internal): Likewise.
5228 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5229 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5231 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5232 (BYTE_ASCII_P): Moved to mb-1byte.h.
5234 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5236 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5238 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5239 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5240 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5241 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5242 (VALIDATE_CHARPTR_FORWARD): Likewise.
5243 (simple_charptr_emchar): Moved to mb-multibyte.h.
5244 (simple_set_charptr_emchar): Likewise.
5245 (simple_charptr_copy_char): Likewise.
5246 (non_ascii_charptr_emchar): Likewise.
5247 (non_ascii_set_charptr_emchar): Likewise.
5248 (non_ascii_charptr_copy_char): Likewise.
5249 (charptr_emchar): Moved to mb-*byte.h.
5250 (set_charptr_emchar): Likewise.
5251 (charptr_copy_char): Likewise.
5253 * mb-1byte.h, mb-multibyte.h: New files.
5255 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5257 * mb-utf-8.h (MULTIBYTE): New macro.
5258 (MAX_EMCHAR_LEN): Moved from buffer.h.
5259 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5261 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5263 * mb-lb.h, multibyte.h: New files.
5265 * char-1byte.h (Charset_ID): Moved from buffer.h.
5266 (MIN_LEADING_BYTE): Likewise.
5267 (LEADING_BYTE_ASCII): Likewise.
5268 (NUM_LEADING_BYTES): Likewise.
5269 (CHARSETP): Likewise.
5270 (CHARSET_BY_LEADING_BYTE): Likewise.
5271 (XCHARSET_LEADING_BYTE): Likewise.
5272 (XCHARSET_GRAPHIC): Likewise.
5273 (XCHARSET_COLUMNS): Likewise.
5274 (XCHARSET_DIMENSION): Likewise.
5275 (CHAR_CHARSET): Likewise.
5276 (CHAR_LEADING_BYTE): Likewise.
5277 (BREAKUP_CHAR): Likewise.
5278 (Vcharset_ascii): Likewise.
5280 * buffer.h: Include multibyte.h unconditionally.
5281 (VALID_CHARPTR_P): Moved to multibyte.h.
5282 (ASSERT_VALID_CHARPTR): Likewise.
5283 (REAL_INC_CHARPTR): Likewise.
5284 (REAL_INC_CHARBYTIND): Likewise.
5285 (REAL_DEC_CHARPTR): Likewise.
5286 (INC_CHARPTR): Likewise.
5287 (INC_CHARBYTIND): Likewise.
5288 (DEC_CHARPTR): Likewise.
5289 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5290 (VALIDATE_CHARPTR_FORWARD): Likewise.
5291 (charptr_n_addr): Likewise.
5292 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5293 (simple_charptr_emchar): Moved to multibyte.h.
5294 (simple_set_charptr_emchar): Likewise.
5295 (simple_charptr_copy_char): Likewise.
5296 (non_ascii_charptr_emchar): Likewise.
5297 (non_ascii_set_charptr_emchar): Likewise.
5298 (non_ascii_charptr_copy_char): Likewise.
5299 (charptr_emchar): Likewise.
5300 (set_charptr_emchar): Likewise.
5301 (charptr_copy_char): Likewise.
5302 (charptr_emchar_n): Likewise.
5303 (Charset_ID): Moved to char-1byte.h.
5304 (Vcharset_ascii): Likewise.
5305 (CHAR_CHARSET): Likewise.
5306 (CHAR_LEADING_BYTE): Likewise.
5307 (LEADING_BYTE_ASCII): Likewise.
5308 (NUM_LEADING_BYTES): Likewise.
5309 (MIN_LEADING_BYTE): Likewise.
5310 (CHARSETP): Likewise.
5311 (CHARSET_BY_LEADING_BYTE): Likewise.
5312 (XCHARSET_LEADING_BYTE): Likewise.
5313 (XCHARSET_GRAPHIC): Likewise.
5314 (XCHARSET_COLUMNS): Likewise.
5315 (XCHARSET_DIMENSION): Likewise.
5316 (BREAKUP_CHAR): Likewise.
5318 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5320 * character.h: Add document about interface for characters.
5322 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5323 (MAKE_CHAR): Delete comment about
5324 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5325 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5326 (BREAKUP_CHAR): Modify name of arguments.
5327 (CHAR_CHARSET): Modify name of argument.
5329 * buffer.h: Delete document about Emchar accessors.
5331 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5333 * character.h (CHAR_INTP): Moved from buffer.h
5334 (CHAR_OR_CHAR_INTP): Likewise.
5335 (XCHAR_OR_CHAR_INT): Likewise.
5336 (CHECK_CHAR_COERCE_INT): Likewise.
5338 * buffer.h (CHAR_INTP): Moved to character.h
5339 (CHAR_OR_CHAR_INTP): Likewise.
5340 (XCHAR_OR_CHAR_INT): Likewise.
5341 (CHECK_CHAR_COERCE_INT): Likewise.
5343 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5346 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5347 - Include char-1byte.h, char-lb.h or char-ucs.h.
5349 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5351 * buffer.h: Include character unconditionally.
5352 (valid_char_p): Moved to char-*.h.
5353 (non_ascii_valid_char_p): Moved to char-lb.h.
5355 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5357 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5359 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5360 in UTF-2000 because it is not ported yet and not to use
5361 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5362 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5363 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5365 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5366 (CHAR_ASCII_P): Moved from character.h.
5368 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5369 (CHAR_ASCII_P): Likewise.
5370 (CHAR_FIELD1_MASK): Deleted.
5371 (CHAR_FIELD2_MASK): Deleted.
5372 (CHAR_FIELD3_MASK): Deleted.
5373 (MAX_CHAR_BASIC_LATIN): New macro.
5374 (CHAR_FIELD1): Deleted.
5375 (CHAR_FIELD2_INTERNAL): Deleted.
5376 (CHAR_FIELD3_INTERNAL): Deleted.
5377 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5378 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5379 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5380 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5381 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5382 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5383 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5384 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5385 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5386 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5387 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5388 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5389 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5390 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5391 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5392 (MIN_CHAR_COMPOSITION): Deleted.
5393 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5394 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5396 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5398 * buffer.h: Include mb-utf-8.h in UTF-2000.
5400 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5402 * mb-utf-8.h: New file.
5404 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5406 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5409 * mule-charset.h, buffer.h (Charset_ID): New type.
5411 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5413 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5414 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5415 instead of `MULE_CHAR_PRIVATE_OFFSET',
5416 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5417 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5418 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5420 * character.h (Vcharset_japanese_jisx0212): New variable
5423 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5425 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5426 (charset_by_attributes): Delete array about direction.
5427 (latin_a_char_to_charset): New variable in UTF-2000.
5428 (latin_a_char_to_byte1): New variable in UTF-2000.
5429 (latin_a_char_to_byte2): New variable in UTF-2000.
5430 (Qucs_bmp): New variable.
5431 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5433 (next_allocated_2_byte_leading_byte): Likewise.
5434 (non_ascii_set_charptr_emchar): Likewise.
5435 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5436 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5437 `charset_by_attributes'.
5438 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5439 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5440 and `CHARSET_BY_LEADING_BYTE'.
5441 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5442 `utf-2000-version' to `vars_of_mule_charset'.
5443 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5444 define `leading-code-private-11' in UTF-2000; move setting of
5445 `utf-2000-version' from `syms_of_mule_charset'.
5446 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5449 * character.h (Charset_ID): New type.
5450 (LEADING_BYTE_UCS_BMP): New macro.
5451 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5452 (CHARSET_ID_OFFSET_94): New macro.
5453 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5454 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5455 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5457 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5458 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5459 (CHARSET_ID_OFFSET_96): New macro.
5460 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5461 CHARSET_ID_OFFSET_96 and final-byte.
5462 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5463 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5464 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5465 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5466 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5467 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5468 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5469 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5470 (LEADING_BYTE_THAI_TIS620): Likewise.
5471 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5472 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5473 (CHARSET_ID_OFFSET_94x94): New macro.
5474 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5475 CHARSET_ID_OFFSET_94x94 and final-byte.
5476 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5477 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5478 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5479 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5480 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5481 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5482 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5483 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5484 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5485 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5486 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5487 (CHARSET_TYPE_128X128): New macro.
5488 (CHARSET_TYPE_256X256): New macro.
5489 (XCHARSET_PRIVATE_P): Delete unconditionally.
5490 (charset_by_attributes): Delete array about direction.
5491 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5492 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5493 (MIN_CHAR_94): New macro.
5494 (MAX_CHAR_94): New macro.
5495 (MIN_CHAR_96): New macro.
5496 (MAX_CHAR_96): New macro.
5497 (MIN_CHAR_94x94): New macro.
5498 (MAX_CHAR_94x94): New macro.
5499 (MIN_CHAR_96x96): New macro.
5500 (MAX_CHAR_96x96): New macro.
5501 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5502 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5503 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5505 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5506 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5507 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5508 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5509 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5510 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5511 `XCHARSET_LEADING_BYTE' to make code-point.
5512 (latin_a_char_to_charset): New variable.
5513 (latin_a_char_to_byte1): New variable.
5514 (latin_a_char_to_byte2): New variable.
5515 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5516 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5517 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5519 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5520 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5521 (find_charsets_in_emchar_string): Likewise.
5522 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5524 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5526 (decode_coding_iso2022): Likewise.
5528 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5531 * redisplay.c (redisplay_text_width_emchar_string): Use
5532 `Charset_ID' instead of `unsigned char'.
5533 (redisplay_frame_text_width_string): Likewise.
5535 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5538 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5539 instead of `unsigned char'.
5540 (face_cachel_charset_font_metric_info): Likewise.
5542 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5543 (get_non_ascii_char_table_value): Likewise.
5544 (get_char_table): Likewise.
5545 (put_char_table): Likewise.
5546 (map_over_other_charset): Likewise.
5547 (map_char_table): Likewise.
5549 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5550 instead of `unsigned char'.
5552 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5554 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5555 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5557 * mule-charset.c (leading_code_private_11): Don't define in
5560 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5561 in UTF-2000 because it is not ported yet and not to use
5562 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5564 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5566 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5568 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5570 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5573 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5574 of unsigned char to store leading-byte.
5576 * chartab.c (get_non_ascii_char_table_value): Don't use
5577 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5579 * file-coding.c (encode_coding_big5): Delete bogus implementation
5582 * character.h (LEADING_BYTE_*): Delete definition for
5584 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5585 (LEADING_BYTE_PREFIX_P): Deleted.
5586 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5587 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5588 (BUFBYTE_LEADING_BYTE_P): Deleted.
5589 (CHARSET_PRIVATE_P): Deleted unconditionally.
5590 (rep_bytes_by_first_byte): Deleted unconditionally.
5591 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5592 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5593 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5594 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5595 (CHAR_FIELD2): Deleted.
5596 (CHAR_FIELD3): Deleted.
5597 (MAKE_CHAR): Delete definition for non-UTF-2000.
5598 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5599 (breakup_char_1): New implementation.
5600 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5601 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5603 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5605 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5608 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5610 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5611 (CHARSET_PRIVATE_P): Likewise.
5612 (XCHARSET_PRIVATE_P): Likewise.
5613 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5615 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5617 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5619 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5621 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5622 (NUM_LEADING_BYTES): Changed from 128 to 256.
5623 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5624 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5626 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5628 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5630 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5631 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5632 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5633 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5634 (Qchinese_cns11643_3): New variable in UTF2000.
5635 (Qchinese_cns11643_4): New variable in UTF2000.
5636 (Qchinese_cns11643_5): New variable in UTF2000.
5637 (Qchinese_cns11643_6): New variable in UTF2000.
5638 (Qchinese_cns11643_7): New variable in UTF2000.
5639 (syms_of_mule_charset): Define `chinese-cns11643-3',
5640 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5641 and `chinese-cns11643-7' in UTF2000.
5642 (vars_of_mule_charset): Initialize
5643 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5645 (complex_vars_of_mule_charset): Setup charset
5646 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5647 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5649 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5651 * mule-charset.c: Move setting for `leading-code-private-11' from
5652 `syms_of_mule_charset' to `vars_of_mule_charset'.
5654 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5656 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5657 and `NUM_LEADING_BYTES' in assert.
5659 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5661 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5663 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5664 `NUM_LEADING_BYTES' instead of 128.
5666 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5668 * mule-charset.h (charset_by_leading_byte): Use
5669 `NUM_LEADING_BYTES' instead of 128.
5670 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5672 * mule-charset.c (charset_by_leading_byte): Use
5673 `NUM_LEADING_BYTES' instead of 128.
5674 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5676 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5679 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5681 * mule-charset.c (syms_of_mule_charset): Update to
5684 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5686 * file-coding.c (encode_coding_sjis): New implementation for
5687 UTF2000. (decode_coding_sjis): Ditto.
5689 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5691 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5692 Don't define in UTF2000.
5694 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5697 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5698 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5701 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5703 * config.h.in (CHAR_IS_UCS4): New macro.
5705 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5706 conventional MULE representation.
5707 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5709 * mule-charset.h: Reverted to original.
5711 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5712 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5713 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5715 * character.h: New file.
5717 * file-coding.c (Fmake_coding_system): Set 1 to
5718 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5720 (encode_coding_no_conversion): New implementation for UTF2000.
5722 * file-coding.h (struct Lisp_Coding_System): Add new member
5725 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5727 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5728 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5729 (encode_coding_iso2022): New implementation for UTF2000.
5731 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5733 * mule-canna.c (c2mu): New implementation for UTF2000.
5736 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5738 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5740 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5742 * file-coding.c (reset_encoding_stream): Set 0 to
5743 `str->iso2022.current_char_boundary' in UTF2000.
5744 (encode_utf8): Don't define in UTF2000.
5745 (encode_coding_utf8): New implementation for UTF-8 representation
5747 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5749 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5751 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5753 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5755 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5757 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5759 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5760 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5761 as UTF-8 in UTF2000.
5762 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5763 (non_ascii_valid_char_p): Don't define in UTF2000.
5764 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5765 (Lstream_get_emchar_1): Likewise.
5766 (utf-2000-version): New variable in UTF2000.
5768 * lread.c (read_escape): Add new reader `u'.
5770 * insdel.c (three_to_one_table): Don't define in UTF2000.
5771 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5772 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5774 (bytind_to_bufpos_func): Likewise.
5775 (buffer_mule_signal_inserted_region): Likewise.
5776 (vars_of_insdel): Don't initialize `three_to_one_table'.
5777 (init_buffer_text): Use `buf->text->mule_size' instead of
5778 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5781 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5782 UTF-8 representation in UTF2000.
5783 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5784 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5785 (decode_coding_iso2022): Don't define local variable `lb' in
5786 UTF2000; don't use LEADING_BYTE in UTF2000; use
5787 `DECODE_ADD_UCS_CHAR' in UTF2000.
5788 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5790 * config.h.in (UTF2000): New macro.
5792 * buffer.h (struct buffer_text): Add new member `mule_size' and
5793 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5794 (valid_char_p): Return always 1 in UTF2000.
5795 (MAX_EMCHAR_LEN): 6 in UTF2000.
5796 (three_to_one_table): Don't define in UTF2000.
5797 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5799 (real_bytind_to_bufpos): Likewise.
5801 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5803 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5805 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5806 representation change.
5807 (Vutf_2000_version): New variable.
5808 (leading_code_private_11): New variable.
5809 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5810 `leading-code-private-11'.
5812 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5813 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5814 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5815 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5816 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5817 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5818 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5819 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5820 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5821 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5822 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5823 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5824 (MIN_CHAR_GREEK): New macro.
5825 (MAX_CHAR_GREEK): New macro.
5826 (MIN_CHAR_CYRILLIC): New macro.
5827 (MAX_CHAR_CYRILLIC): New macro.
5828 (MIN_CHAR_HEBREW): New macro.
5829 (MAX_CHAR_HEBREW): New macro.
5830 (MIN_CHAR_THAI): New macro.
5831 (MAX_CHAR_THAI): New macro.
5832 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5833 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5834 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5835 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5836 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5837 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5838 (CHAR_FIELD2): New inline function.
5839 (CHAR_FIELD3): New inline function.
5840 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5841 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5842 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5843 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5844 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5845 (MIN_CHAR_COMPOSITION): Likewise.
5846 (CHAR_LEADING_BYTE): Modified for character representation change.
5847 (MAKE_CHAR): Likewise.
5849 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5850 (Vcharset_greek_iso8859_7): Likewise.
5851 (Vcharset_cyrillic_iso8859_5): Likewise.
5852 (Vcharset_hebrew_iso8859_8): Likewise.
5853 (Vcharset_thai_tis620): Likewise.
5854 (Vcharset_katakana_jisx0201): Likewise.
5856 2005-02-06 Vin Shelton <acs@xemacs.org>
5858 * XEmacs 21.4.17 is released
5860 2005-01-31 Ben Wing <ben@xemacs.org>
5863 Define assert_failed() always.
5865 Always define ABORT().
5867 2005-01-25 Ben Wing <ben@xemacs.org>
5870 * Makefile.in.in (%.o):
5871 Don't compile executable as Windows (-mwindows) under Cygwin.
5872 Semi-recent changes to Cygwin's executable-startup handling make
5873 it impossible to access the TTY this way.
5875 Don't use special linker file under Cygwin (cygwin.sc) except
5876 when non-PDUMP (even in this case it is highly questionable); you
5879 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
5880 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
5882 2005-01-29 Ben Wing <ben@xemacs.org>
5884 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
5886 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
5888 2005-01-29 Ben Wing <ben@xemacs.org>
5890 * bytecode.c (optimize_compiled_function):
5892 * print.c (long_to_string):
5893 Add casts to avoid warning.
5896 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
5897 #### The better solution is to move the TIFF and JPEG code to
5900 * glyphs-msw.c (mswindows_xbm_instantiate):
5901 Define __STDC__ to avoid problems with compface.h.
5903 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
5905 * EmacsShell-sub.c (ABORT):
5906 * EmacsShell-sub.c (SuperClassRootGeometryManager):
5907 * EmacsShell-sub.c (RootGeometryManager):
5909 * EmacsShell.c (ABORT):
5910 * EmacsShell.c (EmacsShellUpdateSizeHints):
5911 * alloc.c (free_lcrecord):
5912 * alloca.c (i00afunc):
5913 * buffer.c (delete_from_buffer_alist):
5914 * buffer.c (MARKED_SLOT):
5915 * bytecode.c (execute_rare_opcode):
5916 * bytecode.c (optimize_byte_code):
5917 * bytecode.c (Ffetch_bytecode):
5918 * chartab.c (char_table_type_to_symbol):
5919 * chartab.c (Freset_char_table):
5920 * chartab.c (decode_char_table_range):
5921 * chartab.c (Fget_range_char_table):
5922 * chartab.c (check_valid_char_table_value):
5923 * chartab.c (map_char_table):
5924 * chartab.c (slow_map_char_table_fun):
5925 * chartab.c (chartab_instantiate):
5926 * cm.c (cmcheckmagic):
5927 * console-msw.c (DHEADER):
5928 * console.c (MARKED_SLOT):
5929 * data.c (finish_marking_weak_lists):
5930 * data.c (encode_weak_list_type):
5931 * debug.h (DASSERT):
5932 * device-gtk.c (gtk_init_device):
5933 * device-msw.c (mswindows_get_default_margin):
5934 * device-tty.c (tty_init_device):
5935 * device-x.c (get_device_from_display):
5936 * device-x.c (x_get_visual_depth):
5937 * doprnt.c (parse_doprnt_spec):
5938 * doprnt.c (get_doprnt_args):
5939 * dumper.c (pdump_get_indirect_count):
5940 * dumper.c (pdump_register_sub):
5941 * dumper.c (pdump_register_object):
5942 * dumper.c (pdump_register_struct):
5943 * dumper.c (pdump_dump_data):
5944 * dumper.c (pdump_reloc_one):
5945 * elhash.c (print_hash_table):
5946 * elhash.c (make_standard_lisp_hash_table):
5947 * elhash.c (hash_table_instantiate):
5949 * emacs.c (Fforce_debugging_signal):
5950 * emacs.c (sort_args):
5952 * emacs.c (assert_failed):
5953 * eval.c (throw_or_bomb_out):
5954 * eval.c (signal_1):
5957 * event-Xt.c (emacs_Xt_mapping_action):
5958 * event-Xt.c (Xt_process_to_emacs_event):
5960 * event-stream.c (check_event_stream_ok):
5961 * event-stream.c (Fadd_timeout):
5962 * event-stream.c (Fadd_async_timeout):
5963 * event-stream.c (Fdiscard_input):
5964 * event-stream.c (execute_internal_event):
5965 * event-stream.c (Frecent_keys):
5966 * event-stream.c (extract_this_command_keys_nth_mouse_event):
5967 * event-stream.c (lookup_command_event):
5968 * event-unixoid.c (poll_fds_for_input):
5970 * events.c (mark_event):
5971 * events.c (event_equal):
5972 * events.c (event_hash):
5973 * events.c (Fmake_event):
5974 * events.c (Fdeallocate_event):
5975 * events.c (event_chain_find_previous):
5976 * events.c (event_to_character):
5977 * events.c (format_event_object):
5978 * events.c (Fevent_type):
5979 * events.c (event_pixel_translation):
5980 * events.c (Fevent_properties):
5981 * extents.c (extent_in_region_p):
5982 * extents.c (print_extent):
5983 * extents.c (process_extents_for_insertion_mapper):
5984 * extents.c (report_extent_modification_mapper):
5985 * extents.c (glyph_layout_to_symbol):
5986 * faces.c (face_validate):
5987 * file-coding.c (eol_type_to_symbol):
5988 * file-coding.c (subsidiary_coding_system):
5989 * file-coding.c (Fcoding_system_type):
5990 * file-coding.c (Fcoding_system_property):
5991 * file-coding.c (mule_decode):
5992 * file-coding.c (mule_encode):
5993 * file-coding.c (encode_coding_ucs4):
5994 * file-coding.c (encode_coding_utf8):
5995 * file-coding.c (parse_iso2022_esc):
5996 * file-coding.c (encode_coding_iso2022):
6001 * fns.c (Fbase64_encode_region):
6002 * fns.c (Fbase64_encode_string):
6003 * fns.c (Fbase64_decode_region):
6004 * fns.c (Fbase64_decode_string):
6005 * font-lock.c (find_context):
6006 * font-lock.c (context_to_symbol):
6007 * frame-gtk.c (gtk_set_frame_pointer):
6008 * frame-gtk.c (gtk_update_frame_external_traits):
6009 * frame-x.c (x_wm_mark_shell_size_user_specified):
6010 * frame-x.c (x_wm_mark_shell_position_user_specified):
6011 * frame-x.c (x_wm_set_shell_iconic_p):
6012 * frame-x.c (x_wm_set_cell_size):
6013 * frame-x.c (x_wm_set_variable_size):
6014 * frame-x.c (x_wm_store_class_hints):
6015 * frame-x.c (x_wm_maybe_store_wm_command):
6016 * frame-x.c (x_initialize_frame_size):
6017 * frame-x.c (x_update_frame_external_traits):
6019 * frame.c (delete_frame_internal):
6020 * frame.c (mouse_pixel_position_1):
6021 * frame.c (change_frame_size_1):
6022 * free-hook.c (check_free):
6023 * free-hook.c (check_realloc):
6024 * free-hook.c (note_block_input):
6025 * free-hook.c (log_gcpro):
6026 * gccache-gtk.c (gc_cache_lookup):
6027 * glyphs-eimage.c (tiff_memory_write):
6028 * glyphs-gtk.c (gtk_finalize_image_instance):
6029 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6030 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6031 * glyphs-gtk.c (gtk_xpm_instantiate):
6032 * glyphs-gtk.c (gtk_unmap_subwindow):
6033 * glyphs-gtk.c (gtk_map_subwindow):
6034 * glyphs-gtk.c (gtk_button_redisplay):
6036 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6037 * glyphs-x.c (init_image_instance_from_xbm_inline):
6038 * glyphs-x.c (extract_xpm_color_names):
6039 * glyphs-x.c (x_xpm_instantiate):
6040 * glyphs.c (get_image_instantiator_governing_domain):
6041 * glyphs.c (print_image_instance):
6042 * glyphs.c (image_instance_equal):
6043 * glyphs.c (image_instance_hash):
6044 * glyphs.c (encode_image_instance_type):
6045 * glyphs.c (make_image_instance_1):
6046 * glyphs.c (inherit_instantiate):
6047 * glyphs.c (image_instantiate):
6048 * glyphs.c (allocate_glyph):
6049 * glyphs.c (Fglyph_type):
6050 * glyphs.c (redisplay_subwindow):
6051 * glyphs.c (display_table_entry):
6052 * gtk-glue.c (xemacs_list_to_gtklist):
6053 * gtk-glue.c (xemacs_gtklist_to_list):
6054 * gtk-glue.c (xemacs_list_to_array):
6055 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6056 * gutter.c (gutter_was_visible):
6057 * gutter.c (get_gutter_coords):
6058 * input-method-xlib.c (get_XIM_input):
6059 * insdel.c (bufpos_to_bytind_func):
6060 * insdel.c (bytind_to_bufpos_func):
6061 * insdel.c (move_gap):
6062 * intl.c (x_get_composed_input):
6063 * keymap.c (keymap_lookup_directly):
6064 * keymap.c (keymap_delete_inverse_internal):
6065 * keymap.c (ensure_meta_prefix_char_keymapp):
6066 * keymap.c (accessible_keymaps_mapper_1):
6067 * keymap.c (where_is_recursive_mapper):
6070 * lread.c (read_atom):
6071 * lstream.c (Lstream_delete):
6072 * lstream.c (make_lisp_buffer_stream_1):
6073 * macros.c (pop_kbd_macro_event):
6074 * malloc.c (malloc):
6076 * marker.c (bi_marker_position):
6077 * marker.c (set_bi_marker_position):
6078 * menubar-gtk.c (menu_descriptor_to_widget_1):
6079 * menubar-msw.c (prune_menubar):
6080 * menubar-x.c (set_frame_menubar):
6081 * mule-charset.c (get_unallocated_leading_byte):
6082 * mule-charset.h (CHAR_LEADING_BYTE):
6083 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6084 * nt.c (init_environment):
6085 * nt.c (generate_inode_val):
6086 * ntproc.c (delete_child):
6087 * ntproc.c (_sys_read_ahead):
6088 * ntproc.c (create_child):
6089 * objects.c (color_instantiate):
6090 * objects.c (font_instantiate):
6091 * objects.c (face_boolean_instantiate):
6092 * print.c (printing_major_badness):
6093 * process-nt.c (nt_send_process):
6094 * process-unix.c (unix_send_process):
6095 * process.c (get_process):
6096 * ralloc.c (obtain):
6097 * ralloc.c (relinquish):
6098 * ralloc.c (relocate_blocs):
6099 * ralloc.c (resize_bloc):
6100 * ralloc.c (r_alloc_free):
6101 * ralloc.c (r_re_alloc):
6102 * ralloc.c (r_alloc_thaw):
6103 * ralloc.c (init_ralloc):
6104 * ralloc.c (Free_Addr_Block):
6105 * ralloc.c (r_alloc):
6106 * redisplay-gtk.c (gtk_output_display_block):
6107 * redisplay-msw.c (mswindows_output_display_block):
6108 * redisplay-output.c (get_next_display_block):
6109 * redisplay-output.c (get_cursor_size_and_location):
6110 * redisplay-output.c (redisplay_output_layout):
6111 * redisplay-output.c (redisplay_clear_region):
6112 * redisplay-tty.c (tty_output_display_block):
6113 * redisplay-x.c (x_output_display_block):
6114 * redisplay.c (add_propagation_runes):
6115 * redisplay.c (add_glyph_rune):
6116 * redisplay.c (create_text_block):
6117 * redisplay.c (add_margin_runes):
6118 * redisplay.c (create_left_glyph_block):
6119 * redisplay.c (create_right_glyph_block):
6120 * redisplay.c (create_string_text_block):
6121 * redisplay.c (regenerate_window):
6122 * redisplay.c (REGEN_INC_FIND_START_END):
6123 * redisplay.c (redisplay_frame):
6124 * redisplay.c (point_in_line_start_cache):
6127 * regex.c (re_compile_fastmap):
6128 * regex.c (re_match_2_internal):
6129 * regex.c (regerror):
6130 * scrollbar-gtk.c (gtk_scrollbar_loop):
6131 * scrollbar-gtk.c (scrollbar_cb):
6132 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6133 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6134 * scrollbar-x.c (x_update_scrollbar_instance_status):
6135 * scrollbar-x.c (x_scrollbar_loop):
6136 * scrollbar-x.c (x_update_frame_scrollbars):
6137 * search.c (search_command):
6138 * search.c (Fmatch_data):
6139 * select-x.c (motif_clipboard_cb):
6140 * signal.c (interrupt_signal):
6141 * specifier.c (specifier_add_spec):
6142 * specifier.c (specifier_instance_from_inst_list):
6143 * specifier.c (specifier_instance):
6145 * specifier.h (struct specifier_methods):
6146 * strftime.c (add_num_time_t):
6147 * sunplay.c (init_device):
6148 * symbols.c (Fsetplist):
6149 * symbols.c (do_symval_forwarding):
6150 * symbols.c (store_symval_forwarding):
6152 * symbols.c (Fbuilt_in_variable_type):
6153 * symbols.c (decode_magic_handler_type):
6154 * symbols.c (handler_type_from_function_symbol):
6155 * syntax.c (update_syntax_cache):
6156 * sysdep.c (init_baud_rate):
6157 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6158 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6159 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6160 * toolbar.c (get_toolbar_coords):
6161 * ui-gtk.c (build_gtk_boxed):
6162 * ui-gtk.c (describe_gtk_arg):
6163 * ui-gtk.c (gtk_type_to_lisp):
6164 * ui-gtk.c (lisp_to_gtk_type):
6165 * ui-gtk.c (lisp_to_gtk_ret_type):
6166 * ui-gtk.c (lisp_to_flag):
6167 * unexnt.c (read_in_bss):
6168 * unexnt.c (map_in_heap):
6169 * window.c (real_window):
6170 * window.c (window_display_lines):
6171 * window.c (window_display_buffer):
6172 * window.c (set_window_display_buffer):
6173 * window.c (window_modeline_height):
6174 * window.c (unshow_buffer):
6175 * window.c (window_loop):
6176 * window.c (Fget_lru_window):
6177 * window.c (Fsplit_window):
6178 * window.c (Fset_window_configuration):
6179 * window.c (saved_window_index):
6180 * xgccache.c (gc_cache_lookup):
6181 abort() -> ABORT(). Eliminate preprocessor games with abort()
6182 since it creates huge problems in VC7, solvable only by including
6183 massive amounts of files in every compile (and not worth it).
6187 Inclusion of process.h does not need to be before lisp.h any more.
6188 Move later and remove comment about abort().
6190 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6192 * regex.c (re_match_2_internal):
6193 Correctly initialize loop which clears uninitialized registers.
6195 2005-01-28 Vin Shelton <acs@xemacs.org>
6197 * sheap.c (more_static_core): Applied Ben's version of the long
6200 2005-01-24 Vin Shelton <acs@xemacs.org>
6202 * sheap.c (more_static_core): Reformatted printf string so
6203 gcc-3.3.3 will compile this on Cygwin.
6205 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6207 * console.c (function_key_map): Reference `key-binding'.
6209 * keymap.c (Vkey_translation_map): Improve docstring.
6211 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6213 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6214 * window.c (window_loop): [fix] Take into account
6215 `allow-deletion-of-last-visible-frame' variable.
6216 * window.c (replace-buffer-in-windows): Ditto.
6218 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6220 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6222 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6224 * event-gtk.c: Recognise AltGr as a valid modifier.
6226 2005-01-12 Ville Skyttä <scop@xemacs.org>
6228 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6230 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6232 Fix backreference bug caught by test suite.
6234 * regex.c (regex_compile):
6235 Make backref duplicate internal register.
6237 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6239 Documentation, code clarification, and warning suppression.
6241 * regex.c (regex_compile):
6243 (re_match_2_internal):
6244 Improve comments and avoid redundant braces. [Most of the big hunk
6245 at l. 4710 is indentation; use diff -w to see the real changes.]
6246 (alt_match_null_string_p):
6247 (common_op_match_null_string_p):
6248 Avoid shadowing global on Mac OS X 10.4, at least.
6250 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6252 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6253 introduced with shy groups fix). [Already applied, probably
6254 with the second "fix shy groups" patch of 2004-10-07.]
6256 2005-01-10 Steve Youngs <steve@sxemacs.org>
6258 From Andrey Slusar <anrays@gmail.com>:
6260 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6262 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6264 * Makefile (RECURSIVE_MAKE): Removed.
6265 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6266 handling parallel builds.
6268 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6270 * Makefile.in.in: Enable support for parallel builds.
6272 2005-01-09 Steve Youngs <steve@sxemacs.org>
6274 From Andrey Slusar <anrays@gmail.com>:
6276 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6277 FreeBSD version is >= 199701 _and_ < 600006.
6279 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6281 * scrollbar.c (compute_scrollbar_instance_usage):
6282 Only call device method compute_scrollbar_instance_usage() if it
6285 2004-12-05 Vin Shelton <acs@xemacs.org>
6287 * XEmacs 21.4.16 is released
6289 2004-12-04 Vin Shelton <acs@xemacs.org>
6291 * depend: Regenerated.
6293 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6295 * regex.c (re_match_2_internal): Map internal to external
6296 registers. Fixes bug identified by Steve Youngs 2004-09-30
6297 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6299 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6301 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6302 to fix a crash. Also, check the buffer is live and it
6303 really exists in buffer_list. If the buffer is not in the list,
6306 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6308 Fix shy groups by implementing recording of all groups for
6309 repetition and backtracking. Backport from 21.5.
6311 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6312 external_to_internal_register, external_to_internal_register_size,
6313 and update comments for re_nsub.
6315 * regex.c (re_opcode_t): Update comments.
6316 (print_compiled_pattern): Ouput external_to_internal_register,
6317 external_to_internal_register_size, and re_ngroups for debugging.
6318 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6319 (regex_compile): Update header comment.
6320 Ensure that all groups are recorded so that repeat matches and
6321 backtracking work correctly. Comment related warning for groups >
6323 (re_search_2): Construct map of API indexes (which count only
6324 nonshy groups) to internal register numbers, and keep it updated.
6326 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6328 * frame-gtk.c (gtk_make_frame_visible):
6329 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6330 show/hide. This is what X uses and is prevents previously hidden
6331 widgets from suddenly reappearing.
6332 * gtk-xemacs.c (gtk_xemacs_paint):
6333 * gtk-xemacs.c (gtk_xemacs_draw):
6334 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6336 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6337 size and location changes so that they can be seen before the next
6338 idle event. Without this rapid changes to scrollbar properties
6341 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6344 * console-gtk.h (struct gtk_frame):
6345 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6346 Add hash tables track tab_control callback data.
6347 Added #defines for GTK object data names.
6348 Declaration of gtk_widget_to_frame().
6349 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6350 * frame-gtk.c (gtk_widget_to_frame): New.
6351 * frame-gtk.c (gtk_create_widgets):
6352 * frame-gtk.c (allocate_gtk_frame_struct):
6353 * frame-gtk.c (gtk_mark_frame):
6354 Manage frame callbakc hash tables.
6355 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6356 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6357 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6359 * glyphs-gtk.c (gtk_widget_query_geometry): New
6360 * glyphs-gtk.c (gtk_register_gui_item): New
6361 * glyphs-gtk.c (gtk_add_tab_item): New
6362 * glyphs-gtk.c (gtk_tab_control_callback): New
6363 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6364 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6365 Use correct list when loading item.
6366 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6367 Register new methods.
6368 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6369 default size, for widgets.
6370 * gui-x.c: Improved comment.
6371 * menubar-gtk.c (__generic_button_callback): Use
6372 gtk_widget_to_frame instead of __get_channel.
6374 * ui-gtk.c: Use symbolic names for GTK object data.
6376 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6378 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6380 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6382 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6384 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6386 * malloc.c (morecore): siz is a long because in some architectures
6387 (eg ia-64) an int cannot hold the address range. Additional patch
6388 from the SuSe distribution.
6390 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6393 * malloc.c: lim_data is a long because in some architectures
6394 (eg ia-64) an int cannot hold the address range.
6395 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6396 instead of ulimit() because ulimit() always returns -1.
6398 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6400 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6402 2004-06-11 David Kastrup <dak@gnu.org>
6404 * search.c (match_limit): Don't flag an error if match-data
6405 exceeding the allocated search_regs.num_regs gets requested, just
6408 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6410 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6411 replace symbolic color entries with the real colors specified in
6412 xpm-color-symbols, before passing the XPM to gtk.
6413 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6414 instead of a GTK specific field, so that it is used in by generic
6417 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6419 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6420 coredump from deref of NULL ptr (ExtData)
6422 2004-04-19 Jerry James <james@xemacs.org>
6424 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6425 VALBITS to compute the location of the sign bit.
6426 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6427 of VALBITS with EMACS_INT_MAX.
6428 * events.c (Fevent_timestamp): Ditto.
6429 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6430 compute the halfway point to timestamp wraparound.
6431 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6432 EMACS_INT_MIN instead of using VALBITS.
6433 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6434 incorrect number with VALBITS.
6435 * fns.c (Frandom): Correct number of integer bits in docstring.
6436 Use INT_VALBITS instead of VALBITS to compute the denominator.
6437 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6438 build random numbers.
6440 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6442 * event-gtk.c (gtk_event_to_emacs_event):
6444 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6445 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6446 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6447 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6448 * menubar-gtk.c (__activate_menu):
6449 * menubar-gtk.c (convert_underscores):
6450 * menubar-gtk.c (remove_underscores):
6451 * menubar-gtk.c (menu_convert):
6452 * menubar-gtk.c (menu_descriptor_to_widget_1):
6453 * menubar-gtk.c (menu_descriptor_to_widget):
6454 * menubar-gtk.c (menu_can_reuse_widget):
6455 * menubar-gtk.c (menu_create_menubar):
6456 * menubar-gtk.c (gtk_popup_menu):
6457 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6458 Added support for Gtk menu bar and menu item mnemonics.
6460 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6462 * sysdll.c: (dll_function): Added support for finding symbols in
6463 Darwin shared libraries as well in Darwin bundles.
6464 * sysdll.c (image_for_address): New
6465 * sysdll.c (my_find_image): New
6466 * sysdll.c (search_linked_libs): New
6468 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6470 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6471 return to GTK requires a different API to marshalling data to use
6473 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6475 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6477 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6479 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6481 * glyphs.c (process_image_string_instantiator):
6482 (Fset_console_type_image_conversion_list):
6483 Stop GCC from warning about shadowing of `exp'.
6485 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6487 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6489 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6491 2004-02-03 Vin Shelton <acs@xemacs.org>
6493 * glyphs.c (image_instance_layout): Remove pointless assertion.
6494 * regex.c (regex_grow_registers): Return type is void.
6496 2004-02-02 Vin Shelton <acs@xemacs.org>
6498 * XEmacs 21.4.15 is released
6500 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6502 * device-x.c (x_error_handler): Don't call stderr_out
6504 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6506 * buffer.c (other-buffer): Clarify documentation of order of
6507 arguments for FSF Emacs.
6509 2003-10-11 Olivier Galibert <galibert@pobox.com>
6511 * window.c (Fdelete_window): Dirty the mirror structure _before_
6512 marking the window deleted.
6514 2003-09-15 Jerry James <james@xemacs.org>
6516 * event-msw.c (debug_mswin_messages): Conditionally compile
6517 messages missing from the Cygwin headers.
6519 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6521 * data.c (eq_with_ebola_notice): Fix typo in comment.
6522 (Ftrue_list_p): Improve docstring.
6524 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6526 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6528 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6530 * search.c (trivial_regexp_p): Regexps containing "\{" are
6531 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6532 Stefan Monnier for suggesting a diagnosis.
6534 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6536 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6538 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6540 * search.c (Fsearch_forward):
6542 Document negative count.
6544 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6546 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6548 2003-09-13 Martin Buchholz <martin@xemacs.org>
6550 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6552 2003-09-15 Vin Shelton <acs@xemacs.org>
6554 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6557 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6559 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6560 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6561 (re_match_2_internal): Use TRANSLATE instead of
6562 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6563 non-ASCII char case conversion.
6565 2003-09-08 Mike Sperber <mike@xemacs.org>
6567 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6568 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6570 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6572 * .gdbinit (pobj): fix printing of symbol name.
6574 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6576 * frame-x.c (x_layout_widgets): When resizing is about to cause
6577 frame size slip, mark it for redisplay.
6579 2003-08-18 Jerry James <james@xemacs.org>
6581 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6583 2003-09-03 Vin Shelton <acs@xemacs.org>
6585 * XEmacs 21.4.14 is released
6587 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6589 * config.h.in (REGEX_MALLOC): Make it configure'able.
6591 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6593 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6595 * sysdll.c (dll_init):
6596 * sysdll.c (dll_open):
6597 * sysdll.c (dll_close):
6598 * sysdll.c (dll_function):
6599 * sysdll.c (dll_variable):
6600 * sysdll.c (dll_error):
6601 Add support for loading bundles using Darwin/MacOSX
6604 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6606 * process.c (start-process-internal): Document coding systems.
6608 2003-07-30 Jerry James <james@xemacs.org>
6610 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6612 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6614 * event-msw.c (mswindows_enqueue_mouse_button_event):
6615 * event-msw.c (mswindows_wnd_proc):
6616 enqueue button event when scrollwheel event isn't handled by
6617 mswindows_handle_mousewheel_event, such as when the scrollbars
6620 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6622 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6624 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6626 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6628 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6630 * regex.c (re_match_2_internal): Fix matching degenerate word
6633 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6635 * XEmacs 21.4.13 is released
6637 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6639 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6640 * lisp.h (<inttypes.h>):
6641 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6644 2003-03-15 Martin Buchholz <martin@xemacs.org>
6646 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6647 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6648 Result: "temacs can only be run in -batch mode."
6649 Fix: Check xemacs executable candidate for directory-ness.
6651 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6653 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6654 they conflict with <sys/types.h>.
6656 2003-02-14 Martin Buchholz <martin@xemacs.org>
6658 * database.c: Berkeley DB wants __STDC__ to be defined.
6660 2003-02-13 Martin Buchholz <martin@xemacs.org>
6662 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6664 2003-02-01 Martin Buchholz <martin@xemacs.org>
6666 * process-unix.c (unix_send_process): Fix C++ compile error.
6668 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6670 * Added .dylib as an acceptable shared library file extension
6671 * to support MacOSX.
6673 2003-02-01 Martin Buchholz <martin@xemacs.org>
6675 * EmacsFrameP.h (EmacsFramePart):
6676 Kludge to allow compiling with Motif1, but linking with Motif2.
6678 2003-01-28 Martin Buchholz <martin@xemacs.org>
6680 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6683 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6685 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6687 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6689 * sysdll.c: Included lisp.h to define needed alloca_array.
6691 2003-02-13 Martin Buchholz <martin@xemacs.org>
6693 Make XEmacs redisplay 10 times faster.
6694 If, that is, you're using a slow X connection and MoveOpaque.
6695 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6696 Use compress_motion = TRUE.
6697 * EmacsFrame.c (emacsFrameClassRec):
6698 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6699 * EmacsManager.c (emacsManagerClassRec):
6700 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6702 2003-01-30 Vin Shelton <acs@xemacs.org>
6704 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6706 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6708 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6709 Patch by Martin Buchholz.
6711 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6713 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6714 Thanks to icc for warning and Martin Buchholz for reporting.
6716 2003-01-29 Vin Shelton <acs@xemacs.org>
6718 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6720 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6721 remember to multiply by the element size.
6723 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6725 * XEmacs 21.4.12 "Portable Code" is released.
6727 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6729 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6730 * s/cygwin.sc: new linker file.
6732 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6734 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6736 * redisplay-x.c (x_output_string): Use X11-specified types.
6737 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6738 * emacs.c (__free_hook): Use typeof with Intel compiler.
6739 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6741 2003-01-08 Andy Piper <andy@xemacs.org>
6743 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6744 reserve size during unexec().
6746 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6748 * process-unix.c (unix_create_process): Don't let outchannel block.
6750 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6752 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6753 Needed for IsBadReadPtr().
6755 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6757 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6759 2002-12-14 Ben Wing <ben@xemacs.org>
6761 * callint.c: Declaration error.
6763 * dumper.c (pdump_load): Warning fix.
6764 * process.c: GCPRO error.
6765 * glyphs.c (unmap_subwindow):
6766 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6767 * event-stream.c (maybe_kbd_translate): Wrong argument to
6768 character_to_event().
6770 * alloc.c (garbage_collect_1):
6772 * emacs.c (debug_can_access_memory):
6773 * emacs.c (fatal_error_signal):
6774 * emacs.c (mswindows_handle_hardware_exceptions):
6777 * emacs.c (assert_failed):
6778 * emacs.c (syms_of_emacs):
6781 * print.c (std_handle_out_va):
6782 * print.c (write_string_to_stdio_stream):
6783 * print.c (write_fmt_string):
6784 * print.c (printing_badness):
6785 * print.c (printing_major_badness):
6786 * print.c (print_internal):
6787 * print.c (debug_print_no_newline):
6788 * print.c (debug_backtrace):
6789 Be more defensive in handling bad values when printing. Add code
6790 from trunk involving inhibit_non_essential_printing_operations.
6791 When going down or in debug_print(), don't do external conversion
6792 and such and try really, really hard when printing to avoid core
6793 dumping. Add force-debugging-signal, debug_break().
6795 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6797 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6798 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6800 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6802 * database.c: Fix open_database. Berkeley DB API has changed in
6803 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6805 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6807 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6809 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6811 * event-Xt.c (Xt_timeout):
6812 (Xt_timeout_callback):
6813 (emacs_Xt_add_timeout):
6814 (emacs_Xt_remove_timeout):
6815 (Xt_timeout_to_emacs_event):
6816 Turn completed_timeouts from a stack into a queue. Fixes
6817 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6819 2002-11-07 Wolfram Gloger <wg@malloc.de>
6821 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6822 * emacs.c (main): Assert that mmap'd allocation is disabled.
6824 2002-10-14 Andy Piper <andy@xemacs.org>
6826 * glyphs-widget.c (layout_query_geometry): add in fiddle
6827 factor. Include border text in width layout calculation.
6828 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6830 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6832 * XEmacs 21.4.10 "Military Intelligence" is released.
6834 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6836 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6837 using the NAS private array SoundFileInfo that no longer exists in
6838 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6839 and earlier. This is broken for some versions between 1.5a and
6842 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6844 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
6846 * emacs.c (shut_down_emacs): Improve crash message.
6848 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
6850 * file-coding.c (determine_real_coding_system): Check for coding
6851 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
6852 shebangs and Python PEP 263.
6854 2002-10-08 Andy Piper <andy@xemacs.org>
6856 * glyphs-widget.c (layout_query_geometry): only resize dynamically
6857 if static sizes haven't been set.
6859 2002-08-30 Mike Alexander <mta@arbortext.com>
6861 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
6864 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
6866 * callproc.c (child_setup): 21.4 doesn't have retry_close.
6868 2002-09-20 Mike Sperber <mike@xemacs.org>
6870 (This partially gets back my patch from 2002-07-20 without the
6872 * callproc.c (child_setup): Remove Ben's comment noting confusion
6873 over the file descriptors >= 3: close_process_descs() doesn't
6874 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
6875 * process-unix.c (unix_create_process): Call
6876 begin_dont_check_for_quit to inhibit unwanted interaction (and
6877 thus breaking of X event synchronicity) in the child.
6879 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
6881 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
6884 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
6886 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
6887 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
6888 the xemacs process did not exit, but looped infinitely here. This
6891 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
6893 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
6894 (find_context): Improve comments.
6896 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
6897 (re_match_2): An XCHAR_TABLE operation was missing.
6899 Many of the following changes were inspired by Andy Piper's (now
6900 obsolete) patch to make syntax-table text property lookup optional.
6904 * syntax.h (top level): Document semantics of syntax flags.
6905 * syntax.c (comstr_start, Fforward_comment): Improve comments.
6906 * syntax.c, syntax.h (top level): Document syntax cache better in
6909 [Instrument syntax caching (temporary change)]
6911 * syntax.h (enum syntax_cache_statistics_functions, struct
6912 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
6913 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
6914 * syntax.c (scan_words, Fforward_comment, scan_lists,
6915 Fbackward_prefix_characters):
6916 * font-lock.c (find_context):
6917 Use them to instrument syntax caching.
6918 * syntax.c (struct syntax_cache_statistics, scs_statistics,
6919 syntax_cache_statistics_function_names): New type and variables.
6920 * syntax.c (update_syntax_cache): Update and report statistics.
6922 [Major syntax cache optimizations]
6924 syntax.c (lookup_syntax_properties): Default off.
6926 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
6927 * syntax.c (update_syntax_cache):
6928 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
6930 [Minor syntax cache optimizations and code clarifications]
6932 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
6933 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
6934 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
6935 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
6936 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
6937 (Code clarification.)
6939 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
6940 scan_lists): Compute code from syncode, use Boolean macros instead
6941 of redundant masking operations. (Code clarification; any decent
6942 compiler can do this optimization.)
6944 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
6947 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
6948 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
6949 use F*_single_property_change instead of F*_extent_change.
6950 Currently F*_single_property_change is _much_ less efficient.
6952 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
6953 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
6954 syntax_cache.object properly, don't leave Qt or Qnil.
6955 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
6956 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
6957 tests for Qt or Qnil.
6959 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
6961 * redisplay.c (point_in_line_start_cache):
6962 * extents.c (print_extent_1):
6965 * extents.c (Fset_extent_property): Document `syntax-table' property.
6967 * extents.h (Fnext_single_property_change): EXFUN it.
6969 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6971 * search.c (clear_unused_search_regs): New static function.
6975 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
6976 Minor clarifications in comments.
6978 * regex.c (re_match_2_internal): Ensure no stale submatches.
6980 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
6982 * event-Xt.c (enqueue_focus_event): Add missing prototype.
6984 2002-08-29 Jerry James <james@xemacs.org>
6986 * lisp.h: structrures -> structures.
6988 2002-06-03 Andy Piper <andy@xemacs.org>
6990 * frame.c (frame_conversion_internal): add conversion appropriate
6991 for setting frame dimensions in pixels.
6993 * console.h (struct console_methods): add device-specific widget
6996 * emacs.c (main_1): initialize glyph vars.
6998 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
6999 (handle_focus_event_2): new function. Allow focus to
7000 be set to a particular window and widget.
7001 (enqueue_focus_event): new function. Create a
7002 synthetic focus event.
7003 (emacs_Xt_handle_magic_event): call
7004 handle_focus_event_2.
7006 * frame.c (Fset_frame_pixel_height): new function. Allow
7007 pixel-based sizing. Does the right thing on character-oriented
7009 (Fset_frame_pixel_width): ditto.
7010 (Fset_frame_pixel_size): ditto.
7011 (syms_of_frame): declare.
7013 * general-slots.h: add :vertically-justify and
7014 :horizontally-justify.
7016 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7017 (mswindows_widget_border_width): new function.
7018 (mswindows_combo_box_instantiate): set border widths.
7019 (console_type_create_glyphs_mswindows): declare.
7022 (check_valid_justification): allow vertical and horizontal
7024 (widget_border_width): new function. Call device methods.
7025 (widget_instance_border_width): ditto.
7026 (logical_unit_height): new function. Determine the height of a
7027 logical-unit. Logical units are intended to provide grid-like
7028 layout for subcontrols in a layout. If the layout is
7029 :vertically-justify top then subcontrols will be positioned on
7030 logical-unit boundaries, thus allowing adjacent subcontrols to
7032 (widget_logical_unit_height): ditto for widgets.
7033 (redisplay_widget): misc cleanup.
7034 (widget_spacing): new function. Call device specific
7035 methods. Intended to be the default gap between adjacent widgets.
7036 (widget_query_geometry): use new spacing functions to determine
7037 appropriate geometry.
7038 (initialize_widget_image_instance): initialize horizontal and
7039 vertical justification.
7040 (widget_instantiate): use logica-units where appropriate for
7041 sizing large widgets.
7042 (button_query_geometry): use widget_instance_border_width.
7043 (tree_view_query_geometry): ditto.
7044 (tab_control_query_geometry): ditto.
7045 (edit_field_query_geometry): new function.
7046 (layout_update): pick up :justify, :horizontally-justify and
7047 :vertically-justify none of which worked previously. :justify is
7048 used as a fallback for both horizontal and vertical justification.
7049 (layout_query_geometry): use logical units to size appropriately.
7050 (layout_layout): ditto.
7051 (Fwidget_logical_to_character_width): new function. Allow users to
7052 convert from logical units to characters so that frame sizes can
7053 be set appropriately.
7054 (Fwidget_logical_to_character_height): ditto.
7055 (syms_of_glyphs_widget): declare.
7056 (image_instantiator_edit_fields): add edit_field_query_geometry.
7057 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7058 :horizontally-justify.
7059 (specifier_vars_of_glyphs_widget): new function. Declare
7060 Vwidget_border_width which is not yet used.
7062 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7063 (x_widget_border_width): new function.
7064 (x_widget_instantiate): create a sensible name for widgets.
7065 (console_type_create_glyphs_x): declare x_widget_border_width.
7067 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7068 (struct Lisp_Image_Instance): add :vertically-justify and
7069 :horizontally-justify.
7070 (LAYOUT_JUSTIFY_TOP): new.
7071 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7072 (ROUND_UP): new macro. Round argument up to next integral
7075 * redisplay-output.c (redisplay_output_layout): misc formatting.
7077 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7079 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7081 * XEmacs 21.4.9 "Informed Management" is released.
7083 2002-08-19 Andy Piper <andy@xemacs.org>
7085 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7088 * realpath.c (xrealpath): normalize drive spec also so that dir
7089 sep chars are not mixed on cygwin.
7091 2002-08-06 Jerry James <james@xemacs.org>
7093 * window.c (Fsplit_window): Count only half of the divider width
7094 against the left window when splitting horizontally.
7096 2002-06-24 Andy Piper <andy@xemacs.org>
7098 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7099 toolbar was cleared.
7101 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7102 function. Split out from mswindows_output_frame_toolbars.
7103 (mswindows_output_frame_toolbars): move clear pieces to
7104 mswindows_output_frame_toolbars.
7106 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7107 out from gtk_output_frame_toolbars.
7108 (gtk_output_frame_toolbars): move clear pieces to
7109 gtk_clear_frame_toolbars.
7111 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7112 the frame is cleared. How this ever worked before is a mystery.
7113 (x_output_frame_toolbars): Only output toolbars.
7114 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7116 * gutter.c (update_gutter_geometry):
7117 Mark frame layout changed.
7118 (update_frame_gutter_geometry, update_frame_gutters):
7119 Respect frame_layout_changed.
7121 * console.h (struct console_methods): add
7122 clear_frame_toolbars_method.
7124 * redisplay.c (redisplay_frame): call
7125 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7127 * toolbar.h: declare update_frame_toolbars_geometry.
7129 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7130 out from update_frame_toolbars. Call clear_frame_toolbars.
7131 (update_frame_toolbars): only output, do not change geometry.
7133 * redisplay.c: add frame_layout_changed.
7135 * redisplay.h: add frame_layout_changed.
7136 (CLASS_RESET_CHANGED_FLAGS): set it.
7137 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7138 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7139 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7141 * device.h (struct device): add frame_layout_changed.
7142 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7144 * frame.h (struct frame): add frame_layout_changed.
7145 (MARK_FRAME_LAYOUT_CHANGED): new.
7147 2002-06-30 Mike Alexander <mta@arbortext.com>
7149 * event-msw.c (mswindows_need_event): Don't wait for a new message
7150 if the queue is not empty. Suggested by Paul Moore.
7152 2002-06-12 Andy Piper <andy@xemacs.org>
7154 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7155 for printing on accurately.
7157 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7159 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7160 WM_ACTIVATE message. Make sure that the frame is visible if the
7161 window is visible. This seemss to fix the problem where XEmacs
7162 appears to freeze after switching desktops with certain virtual
7164 (debug_output_mswin_message): Added code to output message
7165 parameters for WM_WINDOWPOSCHANGED,
7166 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7168 2002-05-25 Andy Piper <andy@xemacs.org>
7170 * select-x.c (vars_of_select_x): Fix docstring of
7171 x-selection-strict-motif-ownership
7173 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7175 * keymap.c (get_keymap):
7176 Add comment about do_autoload GCPROs own args.
7178 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7180 * bytecode.c (execute_optimized_program): check_opcode ifdef
7181 ERROR_CHECK_BYTE_CODE.
7183 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7185 Thanks to Ben Wing and Michael Sperber.
7187 * eval.c (Fcommand_execute):
7190 (Fmacroexpand_internal):
7191 (function_argcount):
7192 callint.c (Fcall_interactively):
7193 Add comment about do_autoload GCPROs own args.
7195 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7197 * eval.c (Ffuncall): Extra braces to placate GCC.
7199 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7201 * backtrace.h (grow_specpdl):
7203 * EmacsFrame.c (EmacsFrameSetValues):
7204 * eval.c (grow_specpdl):
7205 * ExternalShell.c (hack_event_masks_1):
7206 * glyphs-x.c (convert_EImage_to_XImage):
7207 (x_finalize_image_instance):
7208 * ralloc.c (page_size):
7210 * xgccache.c (gc_cache_hash):
7211 Fix unsigned comparison warnings.
7213 2002-07-29 Jerry James <james@xemacs.org>
7215 * lread.c (locate_file): Any nonnegative return value indicates
7216 success if MODE is nonnegative.
7218 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7220 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7223 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7225 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7227 * dumper.c (pdump_get_indirect_count):
7228 (pdump_scan_by_alignment):
7229 (pdump_dump_root_struct_ptrs):
7230 (pdump_dump_rtables):
7231 (pdump_dump_root_objects):
7233 * nas.c (WaveOpenDataForReading):
7234 * fns.c (print_bit_vector):
7235 * font-lock.c (SINGLE_SYNTAX_STYLE):
7236 * glyphs.c (check_for_ignored_expose):
7237 (find_matching_subwindow):
7239 * imgproc.c (get_histogram):
7240 * redisplay.c (point_in_line_start_cache):
7241 * redisplay-output.c (redisplay_unmap_subwindows):
7242 * symbols.c (defsymbol_massage_name_1):
7243 (defkeyword_massage_name):
7244 (deferror_massage_name_and_message):
7245 * redisplay-x.c (x_output_string):
7246 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7247 * frame.h (struct frame):
7248 * filelock.c (current_lock_owner):
7249 * doprnt.c (emacs_doprnt_1):
7250 * lisp.h (struct Lisp_Bit_Vector):
7254 2002-02-13 Ben Wing <ben@xemacs.org>
7256 * event-stream.c (reset_key_echo):
7257 * event-stream.c (reset_this_command_keys):
7258 * event-stream.c (execute_command_event):
7259 If console is dead as a result of C-x 5 0, then post-command stuff
7260 needs to be careful and do only non-console-specific stuff.
7262 2002-07-01 Mike Sperber <mike@xemacs.org>
7264 * process-unix.c (unix_send_process): Mark coding_outstream as
7265 non-open upon SIGPIPE.
7267 * event-stream.c (Fnext_event): Reorder switch cases to something
7270 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7272 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7273 Don't bogusly reinitialize ascii_character property.
7275 2002-07-08 Mike Sperber <mike@xemacs.org>
7277 * process.c (Fstart_process_internal): Do error checking before we
7278 fork off the child, so the child can't muck with the state of the
7281 2002-07-08 Mike Sperber <mike@xemacs.org>
7283 * ralloc.c (init_ralloc): Allocate properly for pdump.
7285 2002-06-12 Andy Piper <andy@xemacs.org>
7287 * glyphs.c (query_string_geometry): check the string.
7289 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7292 2002-06-17 Jerry James <james@xemacs.org>
7294 * sysdll.c: Remove RTLD_GLOBAL initialization.
7295 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7297 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7299 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7301 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7303 * sysdep.c (sys_rename): Make sys_rename work for the case where
7304 Windows rename sets errno to EACCES if target file exists.
7306 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7308 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7309 Fix detection of metric units to work on Win95
7311 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7313 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7315 2002-04-25 Andy Piper <andy@xemacs.org>
7317 * redisplay.c (create_text_block): Remove extra comment trailer.
7319 2002-04-24 Andy Piper <andy@xemacs.org>
7321 * redisplay.c (create_text_block): Don't actually add propagation
7322 data if the line ends after we have added a glyph.
7324 2002-04-22 Andy Piper <andy@xemacs.org>
7326 * extents.c (extent_fragment_update): check for glyphs we have
7327 previously displayed.
7328 * extents.c (print_extent_1): warning removal.
7329 * extents.h: change prototype.
7330 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7331 widths correctly for wide glyphs.
7332 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7333 * redisplay.c (prop_type): add PROP_GLYPH.
7334 * redisplay.c (struct prop_block): add glyph type
7335 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7336 to the propagation data.
7337 * redisplay.c (create_text_block): if there is a glyph in the
7338 propagation data use it to salt extent_fragment_update.
7339 * redisplay.c (create_string_text_block): ditto.
7341 2002-04-13 Nix <nix@esperi.demon.co.uk>
7343 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7344 * redisplay-output.c (compare_runes): Compare them.
7345 * redisplay.c: Update copyright date.
7346 * redisplay.c (pos_data): Add need_baseline_computation field.
7347 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7348 need_baseline_computation; zero yoffset. Set max_pixmap_height
7349 for all pixmaps, not just automatically positioned ones.
7350 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7351 * redisplay.c (calculate_baseline): New, compute textual baseline.
7352 * redisplay.c (add_glyph_rune): Call them.
7353 * redisplay.c (create_text_block): Likewise.
7354 * redisplay.c (create_overlay_glyph_block): Likewise.
7355 * redisplay.c (add_margin_runes): Likewise.
7356 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7358 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7359 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7360 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7361 * redisplay-msw.c (mswindows_output_string): Likewise.
7362 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7363 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7364 * redisplay-x.c (x_output_display_block): Likewise.
7366 2002-03-28 Ben Wing <ben@xemacs.org>
7368 * redisplay.c: Fixed bug in redisplay
7369 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7370 and down of the lines, since they're bigger than the line
7371 size. (It was seen most obviously when there's a horizontal scroll
7372 bar, e.g. do C-h a glyph or something like that.) The problem was
7373 that the glyph-contrib-p setting on glyphs was ignored even if it
7374 was set properly, which it wasn't until now.
7376 2002-04-24 Andy Piper <andy@xemacs.org>
7378 * lisp.h (Dynarr_end): Fix definition.
7380 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7382 * redisplay.c (mark_redisplay): Remove call to
7383 update_frame_window_mirror.
7385 2001-11-15 Andy Piper <andy@xemacs.org>
7387 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7390 2002-02-13 Andy Piper <andy@xemacs.org>
7392 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7393 we did in fact enqueue the XM_MAPFRAME event.
7395 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7397 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7398 to fix problem switching between virtual desktops under virtuawin
7399 virtual window manager.
7401 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7403 * event-msw.c: Typo fix.
7404 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7405 magic XM_MAPFRAME event has been sent.
7407 2001-11-23 Andy Piper <andy@xemacs.org>
7409 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7411 2001-11-21 Andy Piper <andy@xemacs.org>
7413 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7414 mouse events outside the frame.
7416 2002-03-20 Andy Piper <andy@xemacs.org>
7418 * menubar-msw.c (mswindows_popup_menu): warning removal.
7419 * dialog-msw.c (dialog_popped_down): ditto.
7421 2001-12-11 Andy Piper <andy@xemacs.org>
7423 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7424 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7426 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7427 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7428 * menubar-msw.c (mswindows_popup_menu): ditto.
7430 2001-10-29 Andy Piper <andy@xemacs.org>
7432 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7435 2002-01-03 Andy Piper <andy@xemacs.org>
7437 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7441 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7443 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7444 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7445 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7446 Detect and handle case where machine is set up for metric units
7448 2002-04-02 Andy Piper <andy@xemacs.org>
7450 * dired-msw.c (mswindows_get_files):
7451 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7452 completely handled by XEmacs. Suggested by Thomas Vogler
7453 <mail@thomas-vogler.de>.
7455 2001-11-14 Andy Piper <andy@xemacs.org>
7457 * nt.c (REG_ROOT): change registry key to XEmacs.
7459 2002-04-27 Andy Piper <andy@xemacs.org>
7461 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7463 2002-04-26 Andy Piper <andy@xemacs.org>
7465 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7468 2002-03-14 Mike Alexander <mta@arbortext.com>
7470 * event-msw.c (mswindows_unwait_process): New, remove process from
7472 * process-nt.c (nt_finalize_process_data): Call
7473 mswindows_unwait_process
7474 * console-msw.h: Declare mswindows_unwait_process
7476 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7478 * editfns.c (Fdecode_time):
7479 (Fformat_time_string):
7480 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7481 (make_time): Warning elimination (change arg name).
7483 2001-11-24 Andy Piper <andy@xemacs.org>
7485 * window.c (Fsplit_window): Doc return type.
7487 2002-04-01 Andy Piper <andy@xemacs.org>
7489 * emacs.c (Fkill_emacs): Only output message box in interactive
7492 2002-04-26 Andy Piper <andy@xemacs.org>
7494 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7497 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7499 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7502 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7504 * XEmacs 21.4.8 "Honest Recruiter" is released.
7506 2002-05-07 Nix <nix@esperi.demon.co.uk>
7508 Supersedes 2002-04-17 patch.
7510 * process.h (PROCESS_LIVE_P): Use the process status as
7511 evidence of health, not the state of the input stream.
7512 (PROCESS_READABLE_P): Say if the process is readable
7513 from. (It may be dead nonetheless.)
7514 (CHECK_READABLE_PROCESS): Test for that condition.
7516 * process.c (create_process): Use PROCESS_READABLE_P.
7517 (read_process_output, set_process_filter): Likewise.
7519 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7520 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7522 This code is #if 0'd, this is not the time to add new functions:
7524 * process.c (Fprocess_readable_p): Report readability status.
7525 * process.c (Qprocess_readable_p): New, associated symbol...
7526 * process.c (syms_of_process): ... initialize it.
7528 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7530 * XEmacs 21.4.7 "Economic Science" is released.
7532 2002-04-17 Nix <nix@esperi.demon.co.uk>
7534 * process.h (PROCESS_LIVE_P): Use the process status as
7535 evidence of health, not the state of the input stream.
7537 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7539 * sysdep.c (sys_siglist): change "signum" to "signal"
7541 2001-04-21 Martin Buchholz <martin@xemacs.org>
7543 * s/darwin.h: New file.
7544 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7546 2002-04-23 Andreas Jaeger <aj@suse.de>
7548 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7549 which use lib64 for 64-bit libs.
7550 (START_FILES): Likewise.
7552 2002-02-11 Mike Sperber <mike@xemacs.org>
7555 (x_IO_error_handler):
7556 (x_init_device): Temporarily keep device in static variable
7557 `device_being_initialized' so we can recover gracefully from
7558 internal XOpenDevice failure. (XOpenDevice is documented to
7559 return NULL on failure, but sometimes calls the IO error handler
7562 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7564 * dired.c (Ffile_name_all_completions): Change documentation --
7565 remove reference to completion-ignored-extensions.
7566 * dired.c (vars_of_dired): Change documentation for
7567 completion-ignored-extensions -- remove reference to
7568 file-name-all-completions.
7570 2002-03-06 Jerry James <james@xemacs.org>
7572 * emodules.c (emodules_load): Fix multiple loading of same module.
7574 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7575 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7576 RTLD_LAZY to avoid incorrect symbol binding when using nested
7577 shared libraries on Solaris.
7579 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7581 * fileio.c (Ffind_file_name_handler): Improve docstring.
7583 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7585 * fns.c (Fmapconcat): Improve docstring.
7587 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7589 * device-gtk.c: Add prototype for
7590 emacs_gtk_selection_clear_event_handle.
7591 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7592 selection. Setup signal handler for "selection_clear_event"
7593 (emacs_gtk_selection_clear_event_handle).
7595 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7596 other applications owning the clipboard (based on
7597 x_handle_selection_clear).
7599 2001-12-23 William M. Perry <wmperry@gnu.org>
7601 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7603 2002-01-04 Martin Buchholz <martin@xemacs.org>
7605 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7607 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7609 * XEmacs 21.4.6 "Common Lisp" is released.
7611 2001-12-16 Torsten Duwe <duwe@caldera.de>
7613 * search.c (Freplace_match): Add missing sub-expression functionality.
7615 * buffer.c (decode_buffer): Add a check for pointer type to
7616 decode_buffer, before gcc's CSE optimization reorders a
7617 dereference in front of the allow_string test.
7619 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7621 * window.c (window_loop): Fix bug that sometimes prevented
7622 window_loop() from iterating across multiple devices. Also, at
7623 Ben's request, changed infloop-detecting code to abort() instead
7624 of silently terminating window_loop().
7626 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7628 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7629 * editfns.c (make_time): New function.
7630 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7631 * lisp.h (make_time): Prototype and comment it.
7632 * dired.c (wasteful_word_to_lisp): Deprecate.
7633 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7635 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7637 * fileio.c (auto_save_1): Use current coding system, not
7640 2001-11-13 Ben Wing <ben@xemacs.org>
7643 * window.c (window_truncation_on):
7644 * window.c (syms_of_window):
7645 truncate-partial-width-windows should respect the buffer being
7646 displayed, like other redisplay vars.
7648 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7650 * event-stream.c (Fread_key_sequence): save current buffer.
7652 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7654 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7656 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7658 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7660 2001-10-26 Mike Alexander <mta@arbortext.com>
7662 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7664 2001-10-25 Andy Piper <andy@xemacs.org>
7667 * dialog-msw.c (handle_directory_proc): new function.
7668 (handle_directory_dialog_box): new fucntion.
7669 (handle_file_dialog_box): use new directory dialog support.
7670 (mswindows_make_dialog_box_internal): ditto.
7671 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7673 (mswindows_find_frame): make global.
7674 * fileio.c (Fexpand_file_name): build fix.
7675 * general-slots.h: add Qdirectory.
7676 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7678 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7679 cygwin not leaving win32 paths unchanged.
7680 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7681 cygwin runtime to do path conversion.
7682 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7683 (syms_of_win32): add new function.
7684 * window.c (window_loop): build fix.
7686 2001-10-15 Andy Piper <andy@xemacs.org>
7688 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7690 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7692 * XEmacs 21.4.5 "Civil Service" is released.
7694 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7696 * glyphs-x.c: Force buffer-tab highlight update when moving the
7697 buffer, avoiding an ugly black border, used for keyboard focus
7698 indication, on a widget that can never have keyboard focus, the
7701 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7703 * process-unix.c (unix_open_multicast_group): Remove too much
7704 conversion between host and network byte order.
7706 2001-09-10 Nix <nix@esperi.demon.co.uk>
7708 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7709 before replacing them.
7711 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7714 * src/window.c (undedicate_windows): Use it.
7715 * src/window.h: Add prototype.
7717 2001-09-17 Ben Wing <ben@xemacs.org>
7719 * fileio.c (normalize_filename):
7720 * fileio.c (Fexpand_file_name):
7721 Fix various C++ compile errors in Andy's recent code.
7723 * callint.c (Fcall_interactively):
7724 * editfns.c (Ftemp_directory):
7725 * editfns.c (Fuser_full_name):
7726 * emacs.c (argmatch):
7727 * lread.c (locate_file_map_suffixes):
7728 * redisplay-x.c (x_ring_bell):
7729 Fix sign-compare warnings.
7731 2001-09-08 Andy Piper <andy@xemacs.org>
7733 * fileio.c (normalize_filename): copied from nt.c
7734 * (Ffile_name_directory): enable win32 paths under cygwin.
7735 * (Ffile_name_nondirectory): ditto.
7736 * (directory_file_name): ditto.
7737 * (Fexpand_file_name): ditto.
7738 * (Ffile_truename): ditto.
7739 * (Fsubstitute_in_file_name): ditto.
7740 * (Ffile_name_absolute_p): ditto.
7741 * (Ffile_readable_p): ditto.
7743 2001-09-08 Andy Piper <andy@xemacs.org>
7745 * device-msw.c (mswindows_finish_init_device): remove dde
7747 * device-msw.c (mswindows_init_dde): factor out from
7748 mswindows_finish_init_device()
7749 * device-msw.c (init_mswindows_very_early): new function
7750 initialize but don't enable dde.
7751 * emacs.c (main_1): call init_mswindows_very_early.
7753 * event-msw.c (mswindows_dde_callback): only execute when we are
7755 * symsinit.h: declare init_mswindows_very_early.
7757 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7759 [sjt: This has been in 21.5 for months with no complaints.]
7761 * console.h (struct console_methods): Added flags member.
7762 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7763 (CONMETH_IMPL_FLAG):
7764 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7765 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7767 * device.c (window_system_pixelated_geometry): Use the above macros.
7769 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7770 implememntation flag.
7771 * device.h (DEVICE_DISPLAY_P): Use it.
7773 * frame.c (delete_frame_internal): Use the above macro.
7775 * redisplay.c (redisplay_device): Use it.
7776 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7777 (redisplay_frame): Ditto.
7779 * device-msw.c (mswindows_device_implementation_flags): Removed.
7780 (msprinter_device_implementation_flags): Removed.
7781 (console_type_create_device_mswindows): Removed references to
7782 implementation_flags methods, set implementation flags here.
7783 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7785 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7786 (console_type_create_device_gtk): Removed method declaration.
7787 Added commented out statement which semantically matches the
7788 commented out statement in the above removed method.
7790 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7792 The attached patch fixes a few warnings.
7794 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7795 * src/frame-gtk.c: guard against GNOME calls in GTK only
7796 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7797 * src/select-gtk.c: prototype lisp_to_time
7799 2001-06-08 Ben Wing <ben@xemacs.org>
7801 ------ gc-in-window-procedure fixes ------
7804 * alloc.c (struct post_gc_action):
7805 * alloc.c (register_post_gc_action):
7806 * alloc.c (run_post_gc_actions):
7807 * alloc.c (garbage_collect_1):
7808 Create "post-gc actions", to avoid those dreaded "GC during window
7809 procedure" problems.
7812 Abort, clean and simple, when GC in window procedure. We want
7813 to flush these puppies out.
7816 * glyphs-msw.c (finalize_destroy_window):
7817 * glyphs-msw.c (mswindows_finalize_image_instance):
7818 Use a post-gc action when destroying subwindows.
7821 Declare register_post_gc_action().
7824 * scrollbar-msw.c (unshow_that_mofo):
7825 Use a post-gc action when unshowing scrollbar windows, if in gc.
7827 * redisplay.c (mark_redisplay):
7828 Add comment about the utter evilness of what's going down here.
7830 ------ cygwin setitimer fixes ------
7832 * Makefile.in.in (sheap_objs):
7833 * Makefile.in.in (profile_objs):
7834 * Makefile.in.in (objs):
7835 Compile profile.c only when HAVE_SETITIMER.
7837 * nt.c (mswindows_sigset):
7838 * nt.c (mswindows_sighold):
7839 * nt.c (mswindows_sigrelse):
7840 * nt.c (mswindows_sigpause):
7841 * nt.c (mswindows_raise):
7842 * nt.c (close_file_data):
7846 Move setitimer() emulation to win32.c, because Cygwin needs it too.
7849 * profile.c (Fstart_profiling):
7850 * profile.c (Fstop_profiling):
7851 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
7852 instead of just plain setitimer().
7855 * signal.c (set_one_shot_timer):
7857 Define qxe_setitimer() as an encapsulation around setitimer() --
7858 call setitimer() directly unless Cygwin or MS Win, in which case
7859 we use our simulated version in win32.c.
7862 * systime.h (struct itimerval):
7863 * systime.h (ITIMER_REAL):
7864 Prototype mswindows_setitimer() and qxe_setitimer(). Long
7865 comment about "qxe" and the policy regarding encapsulation.
7868 * win32.c (setitimer_helper_proc):
7869 * win32.c (setitimer_helper_period):
7870 * win32.c (setitimer_helper):
7871 * win32.c (mswindows_setitimer):
7872 Move setitimer() emulation here, so Cygwin can use it.
7873 Rename a couple of functions and variables to be longer and more
7874 descriptive. In setitimer_helper_proc(), send the signal
7875 using either mswindows_raise() or (on Cygwin) kill(). If for
7876 some reason we are still getting lockups, we'll change the kill()
7877 to directly invoke the signal handlers.
7879 ------ windows shell fixes ------
7883 Comments about how these two files must die.
7885 * callproc.c (init_callproc):
7886 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
7887 not just COMSPEC. (more correct and closer to FSF.) Don't
7888 force a value for SHELL into the environment. (Comments added
7889 to explain why not.)
7891 * nt.c (init_user_info):
7892 Don't shove a fabricated SHELL into the environment. See above.
7894 2001-06-01 Ben Wing <ben@xemacs.org>
7896 * Makefile.in.in (ldflags):
7897 eliminate that pesky "defaulting to 00401000" warning.
7901 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
7903 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
7904 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
7906 2001-04-24 Jerry James <james@xemacs.org>
7908 * faces.h: pass parameters to Fadd_spec_to_specifier in the
7911 2001-06-01 Ben Wing <ben@xemacs.org>
7913 * event-msw.c (debug_mswin_messages):
7914 conditionalize the messages that were causing compile errors.
7915 (if only macros could generate #ifdef statements ...)
7917 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
7919 * XEmacs 21.4.4 "Artificial Intelligence" is released.
7921 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7923 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
7925 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
7927 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
7928 * process-unix.c (unix_canonicalize_host_name):
7929 sysdep.c (init_system_name):
7930 Use it to conditionally support IPv6 canonicalization.
7932 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
7935 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
7937 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
7939 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
7940 attempt is made to scroll when no scroll bar is available.
7942 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
7944 * input-method-motif.c (XIM_delete_frame): New callback.
7945 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
7946 got deleted from 21.4.3.)
7948 2001-06-01 Ben Wing <ben@xemacs.org>
7950 * nt.c (mswindows_utime):
7951 * nt.c (close_file_data):
7952 fix off-by-one-indirection error.
7954 2001-05-29 Adrian Aichner <adrian@xemacs.org>
7956 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
7957 because set_file_times() now takes Lisp_Object path, instead of
7959 * nt.c: Include buffer.h.
7960 * nt.c (convert_from_time_t): New.
7961 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
7962 not set mtime correctly.
7963 * nt.h: Declare mswindows_utime().
7964 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
7965 path, instead of char*.
7966 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
7968 2001-05-30 Ben Wing <ben@xemacs.org>
7972 (Stephen, just take all event-msw.c patches. This includes
7973 the "iconify" fix below.)
7976 * event-msw.c (mswindows_dequeue_dispatch_event):
7977 * event-msw.c (assert):
7978 * event-msw.c (emacs_mswindows_quit_p):
7979 * event-msw.c (debug_mswin_messages):
7980 * event-msw.c (debug_output_mswin_message):
7981 * event-msw.c (vars_of_event_mswindows):
7982 Fix yet more problems with C-g handling.
7983 Implement debug-mswindows-events.
7985 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7987 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
7989 2001-05-23 Ben Wing <ben@xemacs.org>
7991 * event-msw.c (winsock_writer):
7992 * event-msw.c (winsock_closer):
7993 prior kludgy code was clobbering the buffer, thinking it was
7994 "unused" space to store an unneeded return value; instead, use
7995 the variable we've already got staring us in the face.
7997 2001-05-17 Andy Piper <andy@xemacs.org>
7999 * sysfile.h: don't assume that file attributes are boolean
8001 2001-05-23 Ben Wing <ben@xemacs.org>
8003 * device-msw.c (msprinter_init_device):
8004 signal an error rather than crash with an unavailable network
8005 printer (from Mike Alexander).
8008 * event-msw.c (struct winsock_stream):
8009 * event-msw.c (winsock_writer):
8010 * event-msw.c (winsock_closer):
8011 * event-msw.c (make_winsock_stream_1):
8012 cleanup headers. fix (hopefully) an error with data corruption
8013 when sending to a network connection.
8015 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8016 to handle the ~user prefix by (a) always assuming we're referencing
8017 ourselves and not even verifying the user -- hence any file with
8018 a tilde as its first char is invalid! (b) if there wasn't a slash
8019 following the filename, the pointer was set *past* the end of
8020 file and we started reading from uninitialized memory. Now we
8021 simply treat these as files, always.
8023 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8025 2001-05-19 Ben Wing <ben@xemacs.org>
8027 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8030 * process-nt.c (vars_of_process_nt):
8031 remove unused mswindows-quote-process-args. rec for 21.4.
8033 2001-05-12 Ben Wing <ben@xemacs.org>
8035 * event-msw.c (mswindows_dde_callback):
8036 * event-msw.c (mswindows_wnd_proc):
8037 eliminate cygwin warnings.
8039 2001-05-06 Ben Wing <ben@xemacs.org>
8043 * device-msw.c (print_dialog_worker):
8044 * device-msw.c (mswindows_handle_print_dialog_box):
8045 * device-msw.c (syms_of_device_mswindows):
8046 * dialog-msw.c (mswindows_make_dialog_box_internal):
8048 implement printing the selection when it's selected.
8050 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8052 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8054 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8056 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8057 EMACS_INT is signed.
8059 2001-04-15 Michael Lausch <mla@1012surf.net>
8061 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8062 gtk_widget_request_size() to give scrollbar >0 width for
8065 2001-05-30 William M. Perry <wmperry@gnu.org>
8067 * event-gtk.c: Check for buttons as modifier keys.
8069 2001-05-25 Craig Lanning <CraigL@Knology.net>
8072 Properly find MinGW's <process.h> inside Cygwin's restructured
8073 include directories. Don't try to include <cygwin/version.h>
8074 since we are dropping support for MinGW in versions of Cygwin
8077 Drop support for MinGW in versions of Cygwin before b21.
8079 Properly find MinGW's <process.h> inside Cygwin's restructured
8080 include directories.
8082 Drop support for MinGW in versions of Cygwin before b21.
8084 Even though a.out.h is no longer detected by configure, allow
8085 MinGW to use it until we figure out how to do the job with Win32.
8087 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8089 * syntax.c (find_start_of_comment):
8090 Fix `unbalanced parentheses' bug when dealing with mixed comment
8091 styles in c++/java/etc. mode
8093 2001-05-29 Mike Alexander <mta@arbortext.com>
8095 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8096 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8098 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8100 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8102 2001-03-31 Mike Sperber <mike@xemacs.org>
8104 * search.c (Freplace_match): Support FSF-style specification of
8105 match subexpression when applied to a buffer.
8107 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8109 * event-stream.c (is_scrollbar_event): add missing semicolon
8111 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8113 * Makefile.in.in: Use TAR macro instead of hardcoding
8114 tar. Allows use of GNU tar instead of system tar
8116 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8118 * event-stream.c (is_scrollbar_event): add missing semicolon
8120 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8122 * XEmacs 21.4.3 "Academic Rigor" is released.
8124 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8126 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8128 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8130 * buffer.c (Vcase_fold_search): Remove obsolete
8131 comment about non ASCII case-fold-search. This
8132 bug has been fixed by case-table changes.
8134 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8136 * event-msw.c: Restore include of events-mod.h.
8138 2001-04-22 zhaoway <zw@debian.org>
8140 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8143 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8145 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8147 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8149 * mule-charset.c (Fmake_charset): Add missing else.
8151 2001-04-23 Ben Wing <ben@xemacs.org>
8153 * event-msw.c (FAKE_MOD_QUIT):
8154 * event-msw.c (mswindows_dequeue_dispatch_event):
8155 * event-msw.c (mswindows_wnd_proc):
8156 * event-msw.c (emacs_mswindows_quit_p):
8157 Get critical quit working.
8159 2001-05-05 Ben Wing <ben@xemacs.org>
8163 * device-msw.c (mswindows_get_default_margin):
8164 * frame-msw.c (mswindows_size_frame_internal):
8165 * frame-msw.c (msprinter_init_frame_1):
8166 * frame-msw.c (vars_of_frame_mswindows):
8167 Change top/bottom margin defaults to 0.5 inches.
8169 2001-05-01 Martin Buchholz <martin@xemacs.org>
8171 Fix link error with gcc 3.0 on Linux.
8172 * terminfo.c (UP): Remove.
8173 * terminfo.c (BC): Remove.
8174 * terminfo.c (PC): Remove.
8175 They weren't used, and in any case, these symbols should be
8176 defined in the *library*.
8178 2001-05-03 Martin Buchholz <martin@xemacs.org>
8180 * s/aix4.h: Fix crash with xlc -O3.
8181 Improve comment explaining how -O3 works.
8183 2001-04-15 Ben Wing <ben@xemacs.org>
8186 * event-stream.c (Fnext_event):
8187 * event-stream.c (is_scrollbar_event):
8188 * event-stream.c (execute_command_event):
8189 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8190 crash' problem. His fix introduces other problems. We filter
8191 out scrollbar events specifically, making them somewhat invisible
8192 to command-building, and not appearing in `this-command-keys'.
8193 More work is still needed (see comments in event-stream.c), but
8194 this fixes all the major problems.
8196 2001-04-20 Ben Wing <ben@xemacs.org>
8198 * .cvsignore: Added stuff for Windows.
8200 2001-04-28 Ben Wing <ben@xemacs.org>
8202 * buffer.c (Ferase_buffer):
8203 * editfns.c (buffer_insert1):
8204 * editfns.c (Finsert_before_markers):
8205 * editfns.c (Finsert_string):
8206 * editfns.c (Finsert_char):
8207 * editfns.c (Fdelete_region):
8208 * editfns.c (Fwiden):
8209 * editfns.c (Fnarrow_to_region):
8210 remove bogus lines setting zmacs_region_stays to 0.
8212 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8214 * process-unix.c (unix_open_network_stream): If connect() fails
8215 invalidate file descriptor after closing it.
8217 2001-03-08 Mike Alexander <mta@arbortext.com>
8219 * event-msw.c (mswindows_need_event_in_modal_loop):
8220 Don't dispatch a message if we didn't get one.
8221 (mswindows_need_event):
8222 Terminate the correct process when one exits instead of the first
8223 one on Vprocess_list and look for process termination when in
8224 mswindows_protect_modal_loop.
8226 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8228 * XEmacs 21.4.1 "Copyleft" is released.
8230 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8232 * input-method-motif.c (XIM_delete_frame): New callback.
8233 (XIM_init_frame): Register it.
8235 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8237 * XEmacs 21.4.0 "Solid Vapor" is released.
8239 2001-04-15 Ben Wing <ben@xemacs.org>
8241 * cmdloop.c (call_command_loop):
8242 Fix braino in bit-rotting code.
8244 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8246 * extents.c (Fset_extent_endpoints): Force creation of extent info
8247 in buffer_or_string.
8249 * extents.c (process_extents_for_insertion_mapper): Correctly
8250 check for open-open zero-length extents.
8252 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8254 * lisp.h: New typedefs Memory_count, Element_count.
8257 Sign-compare warning elimination: several unsigned -> signed.
8258 Based on work by Ben Wing <ben@xemacs.org>.
8260 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8262 * XEmacs 21.2.47 "Zephir" is released.
8264 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8266 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8268 2001-04-03 Mike Sperber <mike@xemacs.org>
8270 * search.c: Revert previous patch due because of release.
8272 2001-03-30 Ben Wing <ben@xemacs.org>
8275 Add missing killpg prototype.
8278 Add a comment about fixing problems when a new entry is added
8281 * frame-msw.c (mswindows_init_frame_1):
8282 Fix compile warnings.
8284 * menubar.c (vars_of_menubar):
8285 Provide `menu-accelerator-support' to indicate that we properly
8286 support %_ in menu specifications, so that package code can
8287 conditionalize on this (and remove %_ from menu specifications
8292 * scrollbar-msw.c (can_scroll):
8294 Fix handling of mouse wheel under Windows to follow standards --
8295 now scrolls window under pointer, not selected window.
8297 2001-03-31 Mike Sperber <mike@xemacs.org>
8299 * search.c (Freplace_match): Support FSF-style specification of
8300 match subexpression when applied to a buffer.
8302 2001-03-15 Martin Buchholz <martin@xemacs.org>
8304 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8305 function to modify KEYMAP, so map over a copy of the hash table.
8307 2001-03-21 Martin Buchholz <martin@xemacs.org>
8309 * XEmacs 21.2.46 "Urania" is released.
8311 2001-03-20 Dan Holmsand <dan@eyebee.com>
8313 * realpath.c (xrealpath): Make file-truename work with symlinks to
8314 /cygdrive paths on cygwin. Always lowercase drive-letters on
8316 (cygwin_readlink): Don't try to find canonical filename unless
8319 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8321 * ChangeLog: Log GTK merge.
8327 Revert gratuitous whitespace changes from GTK merge.
8329 * emacs.c: Document end of complex #ifdef @ l. 1495.
8332 2001-03-12 Andy Piper <andy@xemacs.org>
8334 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8335 have to do likewise.
8337 2001-03-12 Andy Piper <andy@xemacs.org>
8339 * sysdep.c: we only support mingw now.
8341 2001-03-09 Andy Piper <andy@xemacs.org>
8343 * unexcw.c (copy_executable_and_dump_data_section): making approx
8344 overrun a warning only.
8346 2001-03-10 William M. Perry <wmperry@aventail.com>
8348 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8349 satisfy Stephen's identical-after-cpp plea.
8351 2001-03-02 Ben Wing <ben@xemacs.org>
8354 * cmds.c (Fforward_char):
8358 Augment documentation of the most common motion commands to make
8359 note of the shifted-motion support.
8361 2001-03-02 Ben Wing <ben@xemacs.org>
8363 * nt.c (mswindows_fstat):
8364 * nt.c (mswindows_stat):
8365 * search.c (boyer_moore):
8366 Fix compile warnings under Windows.
8368 * sysdep.c (sys_readdir):
8369 Fix buggy filename-conversion code under Mule.
8371 2001-03-09 William M. Perry <wmperry@aventail.com>
8393 * redisplay-output.c:
8399 The Great GTK Merge.
8406 * emacs-widget-accessors.c:
8420 * native-gtk-toolbar.c:
8431 The Great GTK Merge: new files.
8433 2001-02-26 Ben Wing <ben@xemacs.org>
8435 Reapplied Lstream change.
8437 2001-02-26 Ben Wing <ben@xemacs.org>
8439 Undid the last change, since it is more controversial than I
8440 thought. It should be back in at some point soon.
8442 2001-02-25 Ben Wing <ben@xemacs.org>
8445 * callproc.c (Fold_call_process_internal):
8446 * event-msw.c (ntpipe_slurp_reader):
8447 * event-msw.c (ntpipe_shove_writer):
8448 * event-msw.c (winsock_reader):
8449 * event-msw.c (winsock_writer):
8451 * file-coding.c (detect_eol_type):
8452 * file-coding.c (detect_coding_type):
8453 * file-coding.c (determine_real_coding_system):
8454 * file-coding.c (Fdetect_coding_region):
8455 * file-coding.c (decoding_reader):
8456 * file-coding.c (decoding_writer):
8457 * file-coding.c (mule_decode):
8458 * file-coding.c (Fdecode_coding_region):
8459 * file-coding.c (encoding_reader):
8460 * file-coding.c (encoding_writer):
8461 * file-coding.c (mule_encode):
8462 * file-coding.c (Fencode_coding_region):
8463 * file-coding.c (detect_coding_sjis):
8464 * file-coding.c (decode_coding_sjis):
8465 * file-coding.c (encode_coding_sjis):
8466 * file-coding.c (detect_coding_big5):
8467 * file-coding.c (decode_coding_big5):
8468 * file-coding.c (encode_coding_big5):
8469 * file-coding.c (detect_coding_ucs4):
8470 * file-coding.c (decode_coding_ucs4):
8471 * file-coding.c (encode_coding_ucs4):
8472 * file-coding.c (detect_coding_utf8):
8473 * file-coding.c (decode_coding_utf8):
8474 * file-coding.c (encode_coding_utf8):
8475 * file-coding.c (detect_coding_iso2022):
8476 * file-coding.c (decode_coding_iso2022):
8477 * file-coding.c (encode_coding_iso2022):
8478 * file-coding.c (decode_coding_no_conversion):
8479 * file-coding.c (encode_coding_no_conversion):
8480 * glyphs-x.c (write_lisp_string_to_temp_file):
8481 * gpmevent.c (tty_get_foreign_selection):
8484 * lstream.c (Lstream_flush_out):
8485 * lstream.c (Lstream_adding):
8486 * lstream.c (Lstream_write_1):
8487 * lstream.c (Lstream_write):
8488 * lstream.c (Lstream_raw_read):
8489 * lstream.c (Lstream_read_more):
8490 * lstream.c (Lstream_read):
8491 * lstream.c (Lstream_unread):
8492 * lstream.c (Lstream_fputc):
8493 * lstream.c (stdio_reader):
8494 * lstream.c (stdio_writer):
8495 * lstream.c (filedesc_reader):
8496 * lstream.c (filedesc_writer):
8497 * lstream.c (lisp_string_reader):
8498 * lstream.c (struct fixed_buffer_stream):
8499 * lstream.c (make_fixed_buffer_input_stream):
8500 * lstream.c (make_fixed_buffer_output_stream):
8501 * lstream.c (fixed_buffer_reader):
8502 * lstream.c (fixed_buffer_writer):
8503 * lstream.c (struct resizing_buffer_stream):
8504 * lstream.c (resizing_buffer_writer):
8505 * lstream.c (dynarr_writer):
8506 * lstream.c (lisp_buffer_reader):
8507 * lstream.c (lisp_buffer_writer):
8509 * lstream.h (lstream_implementation):
8510 * lstream.h (struct lstream):
8512 * process-nt.c (nt_send_process):
8513 * process-unix.c (unix_send_process):
8515 Correct Lstream lossage due to mixing of signed and unsigned
8516 quantities. All Lstream uses of size_t and ssize_t are now a
8517 single signed data type Lstream_data_count. This fixes problems
8518 under Windows with sending large quantities of data to a process,
8519 and may well fix other subtle bugs.
8521 2001-02-23 Martin Buchholz <martin@xemacs.org>
8523 * XEmacs 21.2.45 "Thelxepeia" is released.
8525 2001-02-21 Martin Buchholz <martin@xemacs.org>
8527 * lisp-union.h (XSETINT):
8530 Reverse previous change of 2001-02-06.
8532 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8534 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8536 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8537 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8538 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8539 * regex.c (POS_AS_IN_BUFFER): removed
8540 * regex.c (re_search_2):
8541 * regex.c (re_match_2):
8542 Don't use an offset of 1 when calculating buffer positions, since
8543 `BI_BUF_BEGV' does it already.
8545 2001-02-18 Wim Dumon <wim@easics.be>
8547 * insdel.c (prepare_to_modify_buffer): Also check for
8548 supersession when clash-detection is enabled.
8550 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8552 * regex.c (re_match_2_internal):
8553 Convert temp characters from 'const unsigned char' to 're_char'.
8554 Fix crashing bug with extended characters under mule.
8555 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8556 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8557 font-lock, pdump, and new syntax-table code.
8558 * syntax.c (find_start_of_comment):
8559 (find_end_of_comment):
8561 Fix crashing bugs involving moving beyond end of buffer.
8562 * syntax.c (find_start_of_comment):
8563 Fixed logic to allow proper detection of cases where the same
8564 character is used to end both a two-char comment start and a
8565 two-char comment end sequence. Fixes `(forward-comment -1)'.
8566 * syntax.c (find_start_of_comment):
8567 Return position just past last comment-end character for all cases
8568 (previously was only done for two-char comment-end sequences).
8569 * syntax.c (forward-comment):
8570 Take value returned from `find_end_of_comment', rather than
8572 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8573 Properly deal with BUFFERP (syntax_cache.object)
8575 2001-02-17 Martin Buchholz <martin@xemacs.org>
8577 * alloc.c (Fgarbage_collect):
8578 * alloc.c (make_bit_vector_from_byte_vector):
8579 -Wsign-compare-correctness.
8581 2001-02-16 Martin Buchholz <martin@xemacs.org>
8583 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8584 (XSETCHAR): Likewise.
8585 (XSETOBJ): Likewise.
8587 2001-02-15 Martin Buchholz <martin@xemacs.org>
8589 * mule-canna.c (canna-func-delete_previous):
8590 Rename to canna-func-delete-previous.
8592 2001-02-14 Martin Buchholz <martin@xemacs.org>
8594 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8596 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8598 * font-lock.c (find_context): Fix C++ compile errors introduced by
8601 2001-02-13 Martin Buchholz <martin@xemacs.org>
8603 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8604 pragma, but earlier ones barf on the same pragma.
8606 2001-02-06 Mike Sperber <mike@xemacs.org>
8608 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8609 `configure-mule-lisp-directory'.
8611 2001-02-12 Martin Buchholz <martin@xemacs.org>
8613 Make sure dump-id.c is compiled in the same way as other .c's.
8614 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8615 * dump-id.h: Remove.
8616 * emacs.c: Move dump-id.h into dumper.h.
8617 * dumper.h: Move dump-id.h into dumper.h.
8619 Use standard .c.o rule for building dump-id.o.
8620 Remove preprocessor flags from link command.
8621 Add dump-id.o to ${otherobjs} if PDUMP.
8623 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8625 Port FSF 20.7 syntax table improvements.
8629 Fixups for new syntax table stuff.
8630 * dired.c: Include syntax.c.
8631 (Fdirectory_files): Initialize regex_match_object and
8633 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8634 and Fget_char_property.
8636 Use ported FSF 20.7 syntax table improvements.
8641 2001-02-09 Martin Buchholz <martin@xemacs.org>
8643 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8644 Unixware's enum boolean from sys/types.h.
8646 2001-02-10 Martin Buchholz <martin@xemacs.org>
8648 Fix support for building with latest Purify.
8649 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8650 (PURIFY_FLAGS): Likewise.
8652 2001-02-09 Martin Buchholz <martin@xemacs.org>
8654 * fileio.c (lisp_string_set_file_times): New.
8655 * fileio.c (Fcopy_file): Use it.
8657 (copy-file filename non-ascii-filename t t)
8658 ==> No such file or directory, non-ascii-filename
8660 2001-02-10 Martin Buchholz <martin@xemacs.org>
8662 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8663 USHRT_MAX seems clearer than ~0 anyways.
8665 2001-02-09 Martin Buchholz <martin@xemacs.org>
8667 dumper improvements. Inspired by Olivier.
8668 * dumper.c (pdump_max_align): New.
8669 * dumper.c (pdump_add_entry): Use pdump_max_align.
8670 * dumper.c (pdump_get_entry_list): Likewise.
8671 * dumper.c (pdump_scan_by_alignment): Likewise.
8672 Don't iterate through unnecessary alignments.
8673 * dumper.c (pdump_file_get): No need to align result of malloc().
8674 * dumper.c (pdump_mallocadr): Remove.
8675 The result of malloc() is guaranteed to be maximally aligned.
8676 * dumper.c: s/elmt/elt/g;
8677 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8678 * dumper.c (pdump_alert_undump_object): Likewise.
8679 * dumper.c (pdump_align_table):
8680 Don't support alignments > 64.
8681 Store ALIGNOF's, not shift counts, in table.
8683 2001-02-09 Martin Buchholz <martin@xemacs.org>
8685 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8686 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8687 * systime.h: Use HAVE_UTIME.
8688 * sysdep.c (struct utimbuf): Remove.
8689 * sysdep.c (set_file_times): Prefer utime() to utimes().
8690 * config.h.in (HAVE_UTIME): New.
8691 * config.h.in (HAVE_UTIME_H): Remove.
8692 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8694 2001-02-09 Martin Buchholz <martin@xemacs.org>
8696 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8698 2001-02-08 Martin Buchholz <martin@xemacs.org>
8700 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8702 2001-02-08 Martin Buchholz <martin@xemacs.org>
8704 * XEmacs 21.2.44 "Thalia" is released.
8706 2001-02-06 Martin Buchholz <martin@xemacs.org>
8708 Fixes crashes in kill-emacs on some systems.
8709 * process-unix.c (unix_kill_child_process):
8710 It's OK for kill() to fail with ESRCH.
8712 2001-02-07 Martin Buchholz <martin@xemacs.org>
8714 Contortions to make .gdbinit tricks work on most systems.
8715 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8716 * alloc.c (dbg_valmask): Make non-const.
8717 * alloc.c (dbg_typemask): Make non-const.
8718 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8719 * alloc.c (dbg_valbits): Make non-const.
8720 * alloc.c (dbg_gctypebits): Make non-const.
8721 * .gdbinit (decode_object): Make it work with AIX cc.
8723 2001-02-06 Martin Buchholz <martin@xemacs.org>
8725 * elhash.c (make_general_lisp_hash_table):
8726 Use simpler and more efficient calloc to clear entries.
8728 2001-02-07 Martin Buchholz <martin@xemacs.org>
8730 * window.c (window_scroll): Work around an AIX C compiler bug.
8731 Fixes 'scroll-up' does nothing problem with xlC.
8733 2001-02-05 Martin Buchholz <martin@xemacs.org>
8735 * .gdbinit: Remove obsolete comment.
8737 2001-01-31 Mike Alexander <mta@arbortext.com>
8739 * select.c (Fown_selection_internal): Set owned_p for device
8742 2001-02-01 Martin Buchholz <martin@xemacs.org>
8745 "not" cannot be used as a macro name as it is an operator in C++
8746 * config.h.in: Stop #defining `not'.
8747 * chartab.c (check_category_char): not ==> not_p
8748 * chartab.h: Likewise.
8749 * regex.c (re_match_2_internal): Likewise.
8751 2001-02-02 Martin Buchholz <martin@xemacs.org>
8753 * lisp-disunion.h: Fix up comments.
8755 2001-01-31 Martin Buchholz <martin@xemacs.org>
8757 * keymap.c (define_key_check_and_coerce_keysym):
8759 Support mouse-6 and mouse-7 bindings in the obvious way.
8761 2001-02-01 Martin Buchholz <martin@xemacs.org>
8763 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8765 2001-01-30 Martin Buchholz <martin@xemacs.org>
8767 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8768 Previous patch missed DEFVAR_INT_MAGIC.
8769 Make sure future DEFVAR_foo use correct types.
8770 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8771 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8772 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8773 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8774 * (DEFVAR_INT): Likewise.
8775 * redisplay.c (vertical_clip): Should be of type Fixnum.
8776 * redisplay.c (horizontal_clip): Likewise.
8777 * lisp.h (dump_add_opaque_int): New.
8778 (dump_add_opaque_fixnum): New.
8780 2001-01-29 Andy Piper <andy@xemacs.org>
8782 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8783 since they can be eval'ed
8785 2001-01-29 Martin Buchholz <martin@xemacs.org>
8787 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8788 Oops, XEmacs redefines `class'. Use `typename' instead.
8790 2001-01-28 Martin Buchholz <martin@xemacs.org>
8792 * dumper.c: Fix C++ compile errors.
8794 2001-01-29 Martin Buchholz <martin@xemacs.org>
8796 * tparam.c: Use correct prototypes.
8798 2001-01-28 Martin Buchholz <martin@xemacs.org>
8800 * sysproc.h: #include util.h for NetBSD's openpty.
8802 2001-01-27 Martin Buchholz <martin@xemacs.org>
8804 More 64-bit correctness.
8805 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8806 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8808 This finally finishes the 64-bit SGI port.
8809 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8810 * symbols.c: Fix up comments and type casts.
8811 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8812 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8813 * symeval.h (Fixnum): New type.
8814 * symeval.h (symbol_value_type): Fix up comment.
8830 * mule-canna.c: A million DEFVAR_INTs here...
8831 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8844 s/int/Fixnum/g in DEFVAR_INT declarations.
8846 2001-01-26 Martin Buchholz <martin@xemacs.org>
8848 Port pdump to SGI alignment-sensitive environment.
8849 Lisp Object sizeof methods now return aligned sizes. Rely on that.
8850 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
8852 Define and use aligned reading and writing macros.
8853 Use buffered stdio instead of posix i/o for faster dumping.
8854 Eliminate kludgy 256 byte space for header.
8855 Read and write from dump file using structs for alignment safety.
8856 * dumper.c (pdump_align_stream): New.
8857 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
8858 * dumper.c (PDUMP_READ_ALIGNED): New.
8859 * dumper.c (PDUMP_WRITE_ALIGNED): New.
8860 * dumper.c (pdump_static_Lisp_Object): New struct.
8861 * dumper.c (pdump_static_pointer): New struct.
8862 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
8863 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
8864 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
8865 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
8867 * dumper.c (pdump_backtrace):
8868 * dumper.c (pdump_get_indirect_count):
8869 * dumper.c (pdump_register_object):
8870 * dumper.c (pdump_register_struct):
8871 * dumper.c (pdump_reloc_one):
8872 * dumper.c (pdump_scan_by_alignment):
8873 * dumper.c (pdump_dump_from_root_struct_ptrs):
8874 * dumper.c (pdump_dump_opaques):
8875 * dumper.c (pdump_dump_rtables):
8876 * dumper.c (pdump_dump_from_root_objects):
8878 * dumper.c (pdump_load_finish):
8879 Use aligned reading and writing.
8881 * dumper.c (pdump_free): Make static.
8882 * dumper.c (pdump_hFile): Likewise.
8883 * dumper.c (pdump_hMap): Likewise.
8885 2001-01-26 Martin Buchholz <martin@xemacs.org>
8887 * XEmacs 21.2.43 "Terspichore" is released.
8889 2001-01-25 Martin Buchholz <martin@xemacs.org>
8891 Type fiddling for window_config.saved_windows_count
8892 * window.c (struct window_config):
8893 Make saved_windows_count member unsigned.
8894 * window.c (sizeof_window_config_for_n_windows):
8895 Make parameter unsigned.
8896 * window.c (mark_window_config):
8897 * window.c (window_config_equal):
8898 * window.c (free_window_configuration):
8899 * window.c (Fset_window_configuration):
8900 * window.c (count_windows):
8901 * window.c (Fcurrent_window_configuration):
8902 * window.c (reinit_vars_of_window):
8903 Update all callers and users.
8905 2001-01-25 Martin Buchholz <martin@xemacs.org>
8907 Alignment correctness for flexible arrays.
8908 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
8909 Make alignment-correct. Add interesting comments.
8910 * alloc.c (size_vector):
8911 * alloc.c (make_vector_internal):
8912 * alloc.c (make_bit_vector_internal):
8913 * alloc.c (sweep_bit_vectors_1):
8914 * fns.c (size_bit_vector):
8915 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
8916 * window.c (sizeof_window_config_for_n_windows):
8917 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
8919 2001-01-24 Martin Buchholz <martin@xemacs.org>
8921 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
8923 2001-01-23 Andy Piper <andy@xemacs.org>
8925 * select.c (Fown_selection_internal): pass owned_p
8927 * select-msw.c (mswindows_own_selection): New Signature.
8929 * console.h (struct console_methods): add owned_p to
8932 * select-x.c (x_own_selection): pass owned_p
8933 (hack_motif_clipboard_selection): use owned_p
8934 (vars_of_select_x): new variable -
8935 x_selection_strict_motif_ownership.
8937 2001-01-23 Martin Buchholz <martin@xemacs.org>
8939 * specifier.h (specifier_data_offset): Remove pointless parens.
8940 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
8942 2001-01-24 Martin Buchholz <martin@xemacs.org>
8944 Make Lisp_Object sizeof methods be alignment-correct.
8945 pdump must restore objects to the same alignment as the C compiler
8946 assumes. It really matters on SGIs.
8947 * lstream.c (aligned_sizeof_lstream): New.
8948 (sizeof_lstream): Use aligned_sizeof_lstream.
8949 (Lstream_new): Likewise.
8950 * opaque.c (aligned_sizeof_opaque): New.
8951 (sizeof_opaque): Use aligned_sizeof_opaque.
8952 (make_opaque): Likewise.
8953 * specifier.c (aligned_sizeof_specifier): New.
8954 (sizeof_specifier): Use aligned_sizeof_specifier.
8955 (make_specifier_internal): Likewise.
8957 2001-01-23 Martin Buchholz <martin@xemacs.org>
8959 * lstream.h (struct lstream): Use max_align_t for trailing data.
8960 * specifier.h (struct Lisp_Specifier): Likewise.
8962 2001-01-22 Martin Buchholz <martin@xemacs.org>
8964 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
8965 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
8966 (CCL_SUSPEND): Likewise.
8967 (CCL_INVALID_CMD): Likewise.
8968 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
8969 (ccl_driver): Likewise.
8970 (CCL_WRITE_CHAR): Macro hygiene.
8971 (CCL_WRITE_STRING): Macro hygiene.
8973 2001-01-22 Martin Buchholz <martin@xemacs.org>
8975 Port "portable" dumper to SunOS 4 and HP-UX.
8976 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
8977 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
8978 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
8980 2001-01-22 Martin Buchholz <martin@xemacs.org>
8982 * lisp.h (ALIGNOF): A better definition for C++.
8984 2001-01-20 Martin Buchholz <martin@xemacs.org>
8987 Fix printf warnings: int format, long int arg.
8988 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
8989 (PUSH_FAILURE_POINT): Use correct printf formats.
8990 (POP_FAILURE_POINT): Use correct printf formats.
8991 Use do {...} while (0)
8993 2001-01-20 Martin Buchholz <martin@xemacs.org>
8995 * XEmacs 21.2.42 "Poseidon" is released.
8997 2001-01-20 Martin Buchholz <martin@xemacs.org>
8999 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9001 2001-01-19 Martin Buchholz <martin@xemacs.org>
9003 De-kludgify FIXED_TYPE free list frobbing.
9004 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9005 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9006 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9007 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9008 * alloc.c (LRECORD_FREE_P): New.
9009 * alloc.c (MARK_LRECORD_AS_FREE): New.
9010 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9011 * alloc.c (STRUCT_FREE_P): Deleted.
9012 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9013 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9014 * alloc.c (STRING_CHARS_FREE_P): New.
9015 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9016 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9017 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9018 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9019 * alloc.c (resize_string): Use new definitions.
9020 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9021 * alloc.c (verify_string_chars_integrity): Use new definitions.
9022 * alloc.c (compact_string_chars): Use new definitions.
9023 * alloc.c: Update monster comments.
9024 * lrecord.h (lrecord_type): Add some new lrecord types for
9027 2001-01-18 Martin Buchholz <martin@xemacs.org>
9029 Improve alignment hackery.
9030 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9031 (max_align_t): Moved from opaque.h - general purpose.
9032 (ALIGN_PTR): Use size_t, not long.
9033 * opaque.h (max_align_t): Move to lisp.h.
9035 2001-01-18 Norbert Koch <nk@LF.net>
9037 * gui.h: Fix and add prototypes to fix build problems.
9039 2001-01-18 Martin Buchholz <martin@xemacs.org>
9041 temacs is going away, so `dump-temacs' is now a bad name.
9042 * .dbxrc (dump-temacs): Rename to `dmp'.
9043 * .gdbinit (dump-temacs): Rename to `dmp'.
9045 2001-01-17 Andy Piper <andy@xemacs.org>
9047 * glyphs.c (print_image_instance): comment to make martin happy.
9049 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9052 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9054 (mswindows_tab_control_redisplay): warning suppression.
9056 * glyphs-widget.c (widget_update): re-write to cope with updated
9058 (widget_instantiate): use new gui_item functions.
9059 (tab_control_update): deleted.
9060 (progress_gauge_update): deleted.
9061 (image_instantiator_progress_guage): take out update reference.
9062 (image_instantiator_tree_view): ditto.
9063 (image_instantiator_tab_control): ditto.
9065 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9067 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9068 return whether anything was changed.
9069 (update_gui_item_keywords): as it sounds.
9071 * gui.h: declare widget_gui_parse_item_keywords.
9073 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9074 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9076 2001-01-17 Martin Buchholz <martin@xemacs.org>
9078 * XEmacs 21.2.41 "Polyhymnia" is released.
9080 2001-01-16 Didier Verna <didier@xemacs.org>
9082 * glyphs.c (image_instantiate): don't use fallbacks when
9083 instantiating a face's background pixmap by inheritance.
9085 2001-01-14 Mike Sperber <mike@xemacs.org>
9087 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9088 Conditionalize accordingly.
9090 2001-01-16 Martin Buchholz <martin@xemacs.org>
9092 * dumper.c (pdump_file_get): Fix a compiler warning.
9094 2001-01-15 Martin Buchholz <martin@xemacs.org>
9096 Make Purify happy when pdumping.
9097 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9098 iniitalizing all bits of new lisp object memory.
9099 * symbols.c (Fmake_local_variable): Likewise.
9100 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9101 * symbols.c (Fdefvaralias): Likewise.
9102 * mule-charset.c (vars_of_mule_charset): Likewise.
9104 2001-01-15 Martin Buchholz <martin@xemacs.org>
9105 Add the `-nd' flag when running pre-dump operations under the debugger.
9106 * .dbxrc (run-temacs): Add `-nd'.
9107 * .dbxrc (update-elc): Likewise.
9108 * .dbxrc (dump-temacs): Likewise.
9109 * .gdbinit (run-temacs): Likewise.
9110 * .gdbinit (check-temacs): Likewise.
9111 * .gdbinit (update-elc): Likewise.
9112 * .gdbinit (dump-temacs): Likewise.
9114 2001-01-14 Martin Buchholz <martin@xemacs.org>
9116 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9117 export OBJECT_MODE=64
9118 configure --pdump --use-union-type=no
9119 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9120 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9122 * miscplay.c (sndcnv8U_2mono):
9123 Avoid two uses of `++' in the same expression.
9124 Suppresses a GCC warning.
9126 2001-01-13 Martin Buchholz <martin@xemacs.org>
9128 Make sure future compilers don't miscompile alloc.c.
9130 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9131 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9133 2001-01-12 Martin Buchholz <martin@xemacs.org>
9135 * dumper.c: A little post-pdump-rename comment fixup.
9137 2001-01-09 Jerry James <james@eecs.ku.edu>
9139 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9141 2001-01-13 Martin Buchholz <martin@xemacs.org>
9143 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9147 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9150 replace_symbol pdump_wire_lists pdump_weak_object_chains
9151 replace_symbol pdump_wire_list dump_add_weak_object_chain
9153 replace_symbol pdump_wires pdump_root_objects
9154 replace_symbol pdump_wire dump_add_root_object
9156 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9157 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9159 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9160 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9161 replace_symbol dumpstructinfo pdump_root_struct_ptr
9162 replace_symbol dumpstruct dump_add_root_struct_ptr
9164 replace_symbol dumpopaque dump_add_opaque
9165 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9166 replace_symbol dumpopaqueinfos pdump_opaques
9167 replace_symbol dumpopaqueinfo pdump_opaque
9169 replace_symbol nb_structdump nb_root_struct_ptrs
9170 replace_symbol nb_opaquedump nb_opaques
9172 replace_symbol align_table pdump_align_table
9173 replace_symbol dump_header pdump_header
9175 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9176 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9179 2001-01-12 Martin Buchholz <martin@xemacs.org>
9181 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9182 optimizing bytecount_to_charcount().
9184 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9187 (HAVE_DLFCN_H): Removed.
9188 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9190 2001-01-06 Martin Buchholz <martin@xemacs.org>
9192 Portable dumper maintainability improvements.
9193 * alloc.c (staticpro):
9194 * alloc.c (staticpro_nodump):
9195 * alloc.c (garbage_collect_1):
9196 * alloc.c (reinit_alloc_once_early):
9197 * alloc.c (init_alloc_once_early):
9198 * alloc.c: Move dumper functions to alloc.c.
9199 * dumper.c (pdump_backtrace):
9200 * dumper.c (pdump_dump_structs):
9201 * dumper.c (pdump_dump_opaques):
9202 * dumper.c (pdump_dump_rtables):
9203 * dumper.c (pdump_dump_wired):
9205 * dumper.c (pdump_load_check):
9206 * dumper.c (pdump_load_finish):
9207 * dumper.c (pdump_file_unmap):
9208 * dumper.c (pdump_file_get):
9209 * dumper.c (pdump_resource_free):
9210 * dumper.c (pdump_resource_get):
9211 * dumper.c (pdump_file_free):
9212 * dumper.c (pdump_file_try):
9213 * dumper.c (pdump_load):
9214 Remove fixed size limits on staticpro(), staticpro_nodump(),
9215 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9216 Remove custom code for dumping lrecord_implementations_table - use
9218 Remove (most of the) custom code for dumping staticpros - dump it
9219 like any other dynarr.
9221 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9222 * dumper.c: Moved functions from alloc.c.
9223 * alloc.c (dumpstruct): Moved to dumper.c.
9224 * alloc.c (dumpopaque): Likewise.
9225 * alloc.c (pdump_wire): Likewise.
9226 * alloc.c (pdump_wire_list): Likewise.
9228 * lisp.h (Dynarr_sizeof): New.
9229 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9230 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9231 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9233 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9234 * lisp.h (dumpopaque): ditto.
9235 * lisp.h (pdump_wire): ditto.
9236 * lisp.h (pdump_wire_list): ditto.
9238 2001-01-09 Martin Buchholz <martin@xemacs.org>
9240 * make-src-depend (PrintPatternDeps):
9241 Use `sort' to make output independent of perl version.
9243 2001-01-08 Martin Buchholz <martin@xemacs.org>
9246 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9247 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9249 2001-01-03 Didier Verna <didier@xemacs.org>
9251 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9252 that `focus_frame' is alive before thinking of calling
9253 `redisplay_redraw_cursor' on it.
9255 2001-01-08 Martin Buchholz <martin@xemacs.org>
9257 * XEmacs 21.2.40 is released.
9259 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9261 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9263 2001-01-06 Martin Buchholz <martin@xemacs.org>
9265 * alloc.c (dbg_valmask): Make const.
9266 * alloc.c (dbg_typemask): Make const.
9267 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9268 * alloc.c (dbg_valbits): Make const.
9269 * alloc.c (dbg_gctypebits): Make const.
9271 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9273 * redisplay-x.c (x_bevel_area):
9274 redisplay.h (struct rune):
9275 Typo fixes in comments.
9277 2001-01-05 Andy Piper <andy@xemacs.org>
9279 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9282 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9284 2001-01-05 Martin Buchholz <martin@xemacs.org>
9286 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9288 * mule-ccl.c (stack_idx_of_map_multiple):
9289 Non const global data must not be initialized!
9290 Found by MIYASHITA Hisashi.
9292 2001-01-02 Andy Piper <andy@xemacs.org>
9294 * frame.c (change_frame_size): make sure frame size is always
9297 * glyphs.c (image_instance_layout): minor code reuse.
9299 * window.c (Fcurrent_window_configuration): revert previous
9302 2001-01-02 Martin Buchholz <martin@xemacs.org>
9305 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9307 2000-12-31 Andy Piper <andy@xemacs.org>
9309 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9310 when widget gets unmapped.
9312 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9313 function. Make sure widgets losing focus don't just drop it.
9314 (handle_focus_event_1): record the widget with focus.
9316 2000-12-31 Andy Piper <andy@xemacs.org>
9318 * window.c (allocate_window): use
9319 make_image_instance_cache_hash_table.
9320 (make_dummy_parent): ditto.
9321 (Fset_window_configuration): ditto.
9323 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9325 * glyphs.c (process_image_string_instantiator): use
9327 (get_image_instantiator_governing_domain): ditto.
9328 (normalize_image_instantiator): ditto.
9329 (instantiate_image_instantiator): ditto.
9330 (make_image_instance_1): ditto.
9331 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9332 (instantiator_eq_equal): new function for use with instance hash
9334 (instantiator_eq_hash): ditto.
9335 (make_image_instance_cache_hash_table): create a suitable hash
9336 table for storing image instances.
9338 * elhash.h (hash_table_weakness): new internal weakness type
9339 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9340 declare new functions.
9342 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9343 another weakness type for glyphs.
9344 (make_standard_lisp_hash_table): new function split out from
9345 make_general_lisp_hash_table.
9346 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9347 (hash_table_instantiate): ditto.
9348 (Fmake_hash_table): ditto.
9350 2000-12-31 Martin Buchholz <martin@xemacs.org>
9352 * XEmacs 21.2.39 is released.
9354 2000-12-29 Andy Piper <andy@xemacs.org>
9356 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9358 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9359 the frame has changed so that we pick up geometry changes such as
9362 2000-12-28 Andy Piper <andy@xemacs.org>
9364 * lastfile.c (my_ebss): make a char array so we can pad the
9365 bss. Fixes cygwin unexec.
9367 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9369 2000-12-26 Andy Piper <andy@xemacs.org>
9371 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9372 comments and try and be more precise about a non-/SIGIO world.
9373 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9376 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9377 we don't normalize to zero width or height.
9379 2000-12-24 Andy Piper <andy@xemacs.org>
9381 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9383 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9385 * s/sco5.h: SCO 5 has pty support.
9387 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9389 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9390 input-method-xlib.c contains whole contents of input-method-xfs.c,
9391 so we can use input-method-xlib.c's code for USE_XFONTSET
9393 * input-method-xfs.c: removed.
9395 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9397 * file-coding.h (enum coding_category_type): reorder enumerators to
9398 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9399 (now one greater than largest real coding_category_type enumerator).
9400 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9401 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9402 Fcoding_category_list, Fset_coding_priority_list,
9403 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9404 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9406 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9408 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9409 * redisplay-output.c (redisplay_output_window): Clear top of window
9410 when face is changed.
9411 * redisplay-x.c (x_redraw_exposed_window): Call
9412 redisplay_clear_top_of_window.
9413 * redisplay.h: Publish redisplay_clear_top_of_window.
9415 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9417 * buffer.c (Fkill_buffer): Map over all devices.
9418 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9419 (list_windows): New function.
9420 (list_all_windows): Ditto.
9421 (Freplace_buffer_in_windows): Use them.
9423 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9425 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9426 (Fopen_database): Use `db_create' instead of `db_open'.
9427 (syms_of_database): Initialize Qqueue.
9429 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9431 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9432 buffer_local_face_property.
9433 * buffer.h (struct buffer): New member buffer_local_face_property.
9434 * window.c (Fset_window_buffer): Mark window's face as changed
9435 when buffer has buffer local face.
9436 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9437 * objects.c (color_after_change): Set buffer_local_face_property
9438 when locale of face specifier is buffer.
9439 * objects.c (font_after_change): Ditto.
9440 * objects.c (face_boolean_after_change): Ditto.
9441 * glyphs.c (image_after_change): Ditto.
9443 2000-12-09 Dan Holmsand <dan@eyebee.com>
9445 * nt.c (mswindows_fstat): Report file permissions, volume serial
9446 number, etc. Code adapted from FSF Emacs 20.7.
9448 2000-12-09 Dan Holmsand <dan@eyebee.com>
9450 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9451 of stat when we don't have symbolic links, to make sure
9452 mswindows_stat is called on mswindows.
9454 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9456 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9458 2000-12-12 Martin Buchholz <martin@xemacs.org>
9460 * doprnt.c (emacs_doprnt_1): More printing fixes.
9461 Make printing of numbers compatible with libc and FSF Emacs.
9462 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9463 Use the system printf to do most of the hard work of formatting,
9464 instead of doprnt_1().
9465 Calculate memory to allocate for format string.
9466 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9467 (doprnt_1): Cleaner code and documentation.
9469 2000-12-01 Jerry James <james@eecs.ukans.edu>
9471 * Makefile.in.in: Use the loop variable to install headers.
9473 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9475 * window.c (Fsplit_window): Don't invalidate face cache.
9477 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9479 * minibuf.c (Fall_completions): Undo the previous change
9480 which removed checking elements start with space.
9482 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9484 * mule-canna.c: Didier suppression.
9486 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9488 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9489 (warning suppression). Add English comment translations.
9491 2000-12-05 Martin Buchholz <martin@xemacs.org>
9493 * unexelfsgi.c (unexec): Better test for mmap failure.
9495 2000-12-05 Martin Buchholz <martin@xemacs.org>
9497 * XEmacs 21.2.38 is released.
9499 2000-12-05 Martin Buchholz <martin@xemacs.org>
9501 * redisplay.c (bar-cursor): Make a user variable.
9503 * symsinit.h: Add init_postgresql_from_environment.
9505 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9507 * regex.c: Convert to clean C.
9509 2000-12-05 Dan Holmsand <dan@eyebee.com>
9512 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9514 (sys_readlink): renamed to system_readlink to avoid conflict with
9515 the other sys_readlink.
9517 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9519 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9521 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9523 * postgresql.c (init_postgresql_from_environment): new function.
9524 (vars_of_postgresql): Move code initializing Lisp variables out and
9525 into init_postgresql_from_environment.
9526 emacs.c (main_1): Call init_postgresql_from_environment if and only
9527 if running a dumped XEmacs.
9529 2000-08-31 Dan Holmsand <dan@eyebee.com>
9531 * buffer.c: Make find-file-compare-truenames default to true on
9534 * realpath.c (win32_abs_start):
9536 (win32_readlink): New functions.
9537 (xrealpath): Return really real filenames on windows.
9539 * fileio.c (Ffile_truename): Make file-truename work on windows.
9541 2000-11-29 Didier Verna <didier@xemacs.org>
9543 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9544 * faces.c (update_face_cachel_data): use it.
9545 * faces.c (add_face_cachel): use it. Complete background pixmap
9546 frobbing in face cache if `update_face_cachel_data' has not done so.
9548 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9550 * search.c (string_match_1): Don't set last_thing_searched
9553 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9555 * buffer.c: Include casetab.h
9556 (common_init_complex_vars_of_buffer): Use new case-table object.
9557 * buffer.h: Include casetab.h
9558 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9559 (DOWNCASE_TABLE_OF): Ditto.
9560 * bufslots.h: Remove char-tables and add case-table.
9561 * casetab.c: Include casetab.h
9562 (CASE_TABLE_P): Removed.
9563 (mark_case_table): New function.
9564 (allocate_case_table): New function.
9565 (Fcase_table_p): Use new case-table.
9566 (case_table_char): New function.
9567 (Fget_case_table): Ditto.
9568 (Fput_case_table): Ditto.
9569 (Fput_case_table_pair): Ditto.
9570 (Fcopy_case_table): Ditto.
9571 (Fcurrent_case_table): Return case-table.
9572 (Fstandard_case_table): Return case-table.
9573 (Fset_case_table): Fix doc-string.
9574 (set_case_table): Use case-table
9575 (syms_of_casetab): DEFSUBR new functions.
9576 (complex_vars_of_casetab): Set up standard case-table.
9577 * casetab.h: New file.
9578 * editfns.c: Include casetab.h
9579 (Fcompare_buffer_substrings): Use case-table.
9580 * inline.c: Include casetab.h
9581 * lisp.h: Remove bogus extern.
9582 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9583 * search.c: Include casetab.h
9584 (TRANSLATE_ASCII): Removed.
9585 (TRANSLATE): Unconditionally translate character.
9586 (looking_at_1): Use case-table.
9587 (string_match_1): Ditto.
9588 (fast_string_match): Ditto.
9589 (search_command): Ditto.
9590 (search_buffer): Separate boyer_moore. Check whether
9591 boyer_moore is possible.
9592 (simple_search): New function.
9593 (boyer_moore): Separated from search_buffer. Translate char.
9595 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9597 * regex.c (RE_TR_ASCII): Removed.
9598 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9599 (PATFETCH): Call PATFETCH_RAW.
9600 (PATFETCH_RAW): Fetch Emchar.
9601 (PATUNFETCH): Decrement charptr.
9602 (GET_BUFFER_SPACE): Rename b to buf_end.
9604 (BUF_PUSH_2): Ditto.
9605 (BUF_PUSH_3): Ditto.
9606 (EXTEND_BUFFER): Ditto.
9607 (SET_LIST_BIT): Ditto.
9608 (regex_compile): Ditto. Translate non ASCII char.
9609 (compile_range): Ditto.
9610 (re_search_2): Ditto.
9611 (re_match_2_internal): Compare Emchar.
9612 (bcmp_translate): Ditto.
9614 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9616 * lisp.h (basic char/int typedefs): comment improvement.
9618 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9620 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9621 unstomp inhibit_site_lisp. Improve comments.
9623 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9625 * mule-charset.c (Fcharset_property): improve type checking, comments.
9627 2000-11-28 Andy Piper <andy@xemacs.org>
9629 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9630 clipped display for windows in the gutter also.
9631 (redisplay_display_boxes_in_window_p): change semantics of return
9632 codes to be more intuitive.
9634 * gutter.h: declare display_boxes_in_gutter_p.
9636 * gutter.c (display_boxes_in_gutter_p): new function for
9639 2000-11-22 Andy Piper <andy@xemacs.org>
9641 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9644 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9646 * callproc.c (Fold_call_process_internal):
9647 * gpm.c (Freceive_gpm_event):
9648 (tty_get_foreign_selection): Might be just warning supression.
9649 * fileio.c (Fwrite_region_internal):
9650 (Fset_visited_file_modtime):
9651 * keymap.c (event_matches_key_specifier_p):
9652 Initialize GCPROed variable.
9654 * menubar-x.c (command_builder_find_menu_accelerator):
9655 Initialize before use.
9657 2000-11-23 Andy Piper <andy@xemacs.org>
9659 * unexcw.c (unexec): make the resulting executable executable.
9661 2000-11-21 Martin Buchholz <martin@xemacs.org>
9663 * doc.c (get_doc_string):
9664 Use size_t, not int, for result of XSTRING_LENGTH.
9666 * cmds.c (Fdelete_char):
9667 * cmds.c (Fpoint_at_eol):
9668 * cmds.c (Fself_insert_command):
9669 Use EMACS_INT, not int, for result of XINT.
9670 Someday, someone will want to insert more than 2**31 identical characters.
9672 * cmds.c (Fdelete_char):
9673 * cmds.c (Fdelete_backward_char):
9674 * syntax.c (Fforward_word):
9675 * syntax.c (Fforward_comment):
9676 Make COUNT argument optional, for consistency with forward-char et al.
9678 2000-11-22 Martin Buchholz <martin@xemacs.org>
9681 * print.c (long_to_string):
9682 Return a useful value: the pointer at end of data written.
9685 Use `static const char * const' for constant strings.
9686 (union printf_arg): Delete `i', `ui' members.
9689 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9690 Do all printf-ing via the `l' specifier.
9691 Use EMACS_INT instead of int.
9694 2000-11-20 Didier Verna <didier@xemacs.org>
9696 * faces.c (update_face_cachel_data): don't frob the background
9697 pixmap when the window is being created. The face is needed but
9700 2000-11-20 Andy Piper <andy@xemacs.org>
9702 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9703 messing with a debug environment.
9705 2000-11-20 Martin Buchholz <martin@xemacs.org>
9707 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9709 2000-11-20 Martin Buchholz <martin@xemacs.org>
9711 * casetab.c (Fcase_table_p): Fix compile error and crash.
9713 2000-11-18 Philip Aston <philipa@mail.com>
9715 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9717 2000-11-18 Martin Buchholz <martin@xemacs.org>
9719 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9720 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9722 2000-11-17 Martin Buchholz <martin@xemacs.org>
9724 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9725 * unexelf.c: Use HAVE_ELF_H.
9726 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9727 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9728 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9729 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9731 So this is an unexelfsgi.c from a different line of development.
9733 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9735 * regex.c (RE_TR_ASCII): New function.
9736 (RE_TRANSLATE): Call it.
9738 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9740 * buffer.h (TRT_TABLE_OF): Remove assert.
9741 (IN_TRT_TABLE_DOMAIN): Removed.
9743 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9745 * free-hook.c (log_gcpro):
9746 (show_gcprohist): Add support for GCPRO5.
9748 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9750 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9752 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9754 * symeval.h: Declare flush_all_buffer_local_cache.
9756 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9757 (flush_buffer_local_cache): Added.
9758 (flush_all_buffer_local_cache): Added.
9760 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9762 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9763 (pdump_dump_data): Ditto.
9764 (pdump_reloc_one): Ditto.
9765 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9769 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9771 * buffer.c: Remove if 0'ed entry.
9772 * buffer.h: Rewrite TRT to use char-table.
9773 * bufslots.h: Remove mirror tables.
9774 * casetab.c: Remove mirror tables.
9775 (CASE_TABLE_P): New macro.
9776 (Fcase_table_p): Element of a case table is string or char-table.
9777 (make_mirror_trt_table): Removed.
9778 (set_case_table): Setup char-table from strings for backward
9780 * dired.c (Fdirectory_files):
9781 * dired-msw.c: (mswindows_get_files):
9782 * lisp.h: Change prototype of re_pattern_buffer.
9783 * regex.c: (RE_TRANSLATE): New macro.
9784 (TRANSLATE_P): Ditto.
9785 Change translate to type RE_TRANSLATE_TYPE.
9786 * regex.h: Define RE_TRANSLATE_TYPE
9787 * search.c (TRANSLATE): New macro.
9788 (TRANSLATE_ASCII): New macro.
9789 Translate table is changed to Lisp_Object.
9790 (signal_failure): Inhibit return.
9792 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9799 Do UNGCPRO before return.
9801 2000-11-14 Martin Buchholz <martin@xemacs.org>
9803 * XEmacs 21.2.37 is released.
9805 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9807 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9808 Add comments about discarded return value.
9810 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9813 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9815 2000-10-27 Andy Piper <andy@xemacs.org>
9817 * gutter.c (Fset_default_gutter_position): default left and right
9819 (calculate_gutter_size): calculate resonable heuristic for left
9820 and right gutter sizes.
9821 (specifier_vars_of_gutter): change left and right gutter sizes to
9823 (calculate_gutter_size_from_display_lines): new function.
9824 (output_gutter): check for resizing on left and right gutters.
9825 (clear_gutter): don't special case top and left gutters.
9826 (specifier_vars_of_gutter): use new signature for
9827 set_specifier_caching.
9829 * glyphs-x.c (x_redisplay_widget): spelling fix.
9830 * glyphs.c (specifier_vars_of_glyphs):
9831 * menubar.c (specifier_vars_of_menubar):
9832 * redisplay.c (specifier_vars_of_redisplay):
9833 * toolbar.c (specifier_vars_of_toolbar):
9834 * window.c (specifier_vars_of_window):
9835 * scrollbar.c (specifier_vars_of_scrollbar):
9836 (complex_vars_of_scrollbar): use new signature for
9837 set_specifier_caching.
9839 * specifier.c (set_specifier_caching): include recompute flag.
9840 (recompute_one_cached_specifier_in_window): always recompute if
9842 (recompute_one_cached_specifier_in_frame): ditto.
9844 * specifier.h (struct specifier_caching): add recompute flag.
9846 2000-10-24 Andy Piper <andy@xemacs.org>
9848 * unexcw.c (copy_executable_and_dump_data_section): add new
9849 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
9852 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9854 * console-x.h (x_device): New member modifier_release_time.
9855 * event-Xt.c (x_handle_sticky_modifiers):
9856 Bound interval modifier keys are sticky.
9857 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
9858 * events.h: extern it.
9860 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9862 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
9864 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
9866 * event-stream.c (execute_command_event): Preserve current_events
9867 and the like when event is misc-user-event.
9868 Inhibit quit during the call to maybe_echo_keys.
9870 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
9872 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
9873 symlink when buffer is killed.
9874 (inhibit_clash_detection): New variable.
9876 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
9878 * console.c (Fset_input_method): Trigger redisplay on tty.
9880 2000-11-07 Martin Buchholz <martin@xemacs.org>
9882 * process.c (Fprocess_status): Revert to previous behavior:
9883 (process-status "nosuchprocess") ==> nil
9885 2000-11-06 Martin Buchholz <martin@xemacs.org>
9887 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
9888 Work around another GCC 2.95.2 optimizer bug.
9890 2000-11-02 Martin Buchholz <martin@xemacs.org>
9892 * process.c (Fget_process): Use LIST_LOOP_2.
9893 (kill_buffer_processes): Use LIST_LOOP_2.
9895 * minibuf.c (Fall_completions):
9896 Delete old non-functional code for FSF fourth argument.
9898 * frame.c (frame_matches_frame_spec):
9899 Renamed from `frame_matches_frametype'. Update all callers.
9900 (device_matches_device_spec):
9901 Renamed from 'device_matches_console_spec'. Update all callers.
9903 * doc.c (Fsubstitute_command_keys):
9904 Remove buffer overflow crash. Small code cleanups.
9906 * casetab.c (check_case_table): Simpler code.
9908 * window.c (Freplace_buffer_in_windows):
9909 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
9910 (and similar implementation) as Fdelete_windows_on.
9913 * alloc.c (Fmake_list):
9914 * alloc.c (make_vector):
9915 * alloc.c (Fmake_vector):
9916 * alloc.c (make_bit_vector):
9917 * alloc.c (Fmake_bit_vector):
9918 * alloc.c (Fbit_vector):
9919 * alloc.c (Fmake_string):
9920 * alloc.c (Fpurecopy):
9921 * alloc.c (Fmemory_limit):
9923 * buffer.c (Fget_buffer):
9924 * buffer.c (Fkill_buffer):
9925 * buffer.c (complex_vars_of_buffer):
9926 * bytecode.c (Fcompiled_function_stack_depth):
9927 * callint.c (Fprefix_numeric_value):
9929 * event-stream.c (Fread_key_sequence):
9931 * casetab.c (Fcase_table_p):
9932 * casetab.c (check_case_table):
9933 * casetab.c (Fset_case_table):
9934 * casetab.c (Fset_standard_case_table):
9936 * chartab.c (Fchar_table_type):
9937 * chartab.c (Freset_char_table):
9938 * chartab.c (Fget_char_table):
9939 * chartab.c (Fget_range_char_table):
9940 * chartab.c (Fput_char_table):
9941 * chartab.c (Fmap_char_table):
9942 * chartab.c (Fcategory_table_p):
9943 * chartab.c (Fcheck_category_at):
9944 * chartab.c (Fchar_in_category_p):
9945 * chartab.c (Fcategory_table):
9946 * chartab.c (Fcopy_category_table):
9947 * chartab.c (Fset_category_table):
9948 * chartab.c (Fcategory_designator_p):
9949 * chartab.c (Fcategory_table_value_p):
9950 * cmds.c (Fdelete_char):
9951 * cmds.c (Fdelete_backward_char):
9952 * cmds.c (Fself_insert_command):
9953 * cmds.c (Fself_insert_internal):
9954 * console.c (Fvalid_console_type_p):
9955 * console.c (Fcdfw_console):
9956 * console.c (Fconsole_type):
9957 * console.c (Fconsole_name):
9958 * console.c (Fconsole_device_list):
9959 * console.c (Fconsole_on_window_system_p):
9963 * data.c (Fsubr_interactive):
9964 * data.c (Fchar_to_int):
9965 * data.c (Fint_to_char):
9968 * data.c (Fnumber_to_string):
9969 * data.c (Fstring_to_number):
9971 * database.c (mark_database):
9972 * database.c (finalize_database):
9973 * database.c (Fdatabase_live_p):
9974 * database.c (Fdatabasep):
9975 * device-x.c (Fx_get_resource):
9976 * device.c (Fdfw_device):
9978 * dired.c (Ffile_name_completion):
9979 * dired.c (Ffile_name_all_completions):
9980 * dired.c (Fuser_name_completion):
9981 * dired.c (Fuser_name_completion_1):
9982 * dired.c (Fuser_name_all_completions):
9983 * doc.c (Fdocumentation):
9984 * doc.c (Fdocumentation_property):
9985 * doc.c (Fsubstitute_command_keys):
9987 * editfns.c (Fchar_to_string):
9988 * editfns.c (Fstring_to_char):
9989 * editfns.c (Ftemp_directory):
9990 * editfns.c (Finsert_char):
9991 * editfns.c (Fbuffer_substring_no_properties):
9992 * editfns.c (Fnarrow_to_region):
9993 * editfns.c (Fchar_equal):
9994 * editfns.c (Fchar_Equal):
9995 * editfns.c (Ftranspose_regions):
9996 * emacs.c (Fdump_emacs):
9998 * eval.c (Fcommand_execute):
9999 * eval.c (Fautoload):
10000 * eval.c (Fbacktrace):
10001 * eval.c (Fbacktrace_frame):
10003 * events.c (Fcopy_event):
10004 * events.c (Fcharacter_to_event):
10005 * events.c (Fevent_button):
10006 * events.c (Fevent_process):
10008 * extents.c (Fnext_extent_change):
10009 * extents.c (Fextent_property):
10010 * faces.c (Ffacep):
10011 * faces.c (Fmake_face):
10013 * file-coding.c (Fencode_shift_jis_char):
10014 * file-coding.c (Fencode_big5_char):
10015 * fileio.c (Ffile_name_directory):
10016 * fileio.c (Ffile_name_nondirectory):
10017 * fileio.c (Ffile_name_as_directory):
10018 * fileio.c (Fdirectory_file_name):
10019 * fileio.c (Ffile_truename):
10020 * fileio.c (Fsubstitute_in_file_name):
10021 * fileio.c (Ffile_modes):
10022 * fileio.c (Fset_file_modes):
10023 * fileio.c (Fset_default_file_modes):
10024 * fileio.c (Fverify_visited_file_modtime):
10025 * floatfns.c (Facos):
10026 * floatfns.c (Fasin):
10027 * floatfns.c (Fatan):
10028 * floatfns.c (Fcos):
10029 * floatfns.c (Fsin):
10030 * floatfns.c (Ftan):
10031 * floatfns.c (Fbessel_j0):
10032 * floatfns.c (Fbessel_j1):
10033 * floatfns.c (Fbessel_jn):
10034 * floatfns.c (Fbessel_y0):
10035 * floatfns.c (Fbessel_y1):
10036 * floatfns.c (Fbessel_yn):
10037 * floatfns.c (Ferf):
10038 * floatfns.c (Ferfc):
10039 * floatfns.c (Flog_gamma):
10040 * floatfns.c (Fexp):
10041 * floatfns.c (Fexpt):
10042 * floatfns.c (Flog):
10043 * floatfns.c (Flog10):
10044 * floatfns.c (Fsqrt):
10045 * floatfns.c (Fcube_root):
10046 * floatfns.c (Facosh):
10047 * floatfns.c (Fasinh):
10048 * floatfns.c (Fatanh):
10049 * floatfns.c (Fcosh):
10050 * floatfns.c (Fsinh):
10051 * floatfns.c (Ftanh):
10052 * floatfns.c (Fabs):
10053 * floatfns.c (Ffloat):
10054 * floatfns.c (Flogb):
10055 * floatfns.c (Fceiling):
10056 * floatfns.c (Ffloor):
10057 * floatfns.c (Fround):
10058 * floatfns.c (Ftruncate):
10059 * floatfns.c (Ffceiling):
10060 * floatfns.c (Fffloor):
10061 * floatfns.c (Ffround):
10062 * floatfns.c (Fftruncate):
10063 * fns.c (Fstring_equal):
10064 * fns.c (Fstring_lessp):
10067 * fns.c (vconcat2):
10068 * fns.c (vconcat3):
10069 * fns.c (Fsubstring):
10071 * fns.c (Fold_assoc):
10072 * fns.c (assoc_no_quit):
10074 * fns.c (Fold_assq):
10075 * fns.c (assq_no_quit):
10077 * fns.c (Fold_rassoc):
10079 * fns.c (Fold_rassq):
10080 * fns.c (rassq_no_quit):
10081 * fns.c (Fremassoc):
10082 * fns.c (remassoc_no_quit):
10083 * fns.c (Fremassq):
10084 * fns.c (remassq_no_quit):
10085 * fns.c (Fremrassoc):
10086 * fns.c (Fremrassq):
10087 * fns.c (remrassq_no_quit):
10089 * fns.c (Fplist_get):
10090 * fns.c (Fplist_put):
10091 * fns.c (Fplist_remprop):
10092 * fns.c (Fplist_member):
10093 * fns.c (Flax_plist_get):
10094 * fns.c (Flax_plist_put):
10095 * fns.c (Flax_plist_remprop):
10096 * fns.c (Flax_plist_member):
10098 * fns.c (Fold_equal):
10099 * fns.c (Frequire):
10100 * fns.c (Fbase64_encode_region):
10101 * fns.c (Fbase64_encode_string):
10102 * fns.c (Fbase64_decode_region):
10104 * frame.c (frame_matches_frame_spec):
10105 * frame.c (device_matches_device_spec):
10106 * frame.c (next_frame):
10107 * frame.c (previous_frame):
10108 * frame.c (Fnext_frame):
10109 * frame.c (Fprevious_frame):
10110 * frame.c (Fframe_property):
10111 * frame.c (Fset_frame_height):
10112 * frame.c (Fset_frame_size):
10116 * glyphs.c (decode_error_behavior_flag):
10117 * glyphs.c (Fmake_image_instance):
10118 * indent.c (Findent_to):
10119 * intl.c (Fignore_defer_gettext):
10120 * keymap.c (Fkeymapp):
10121 * keymap.c (Flookup_key):
10123 * lread.c (Fload_internal):
10124 * lread.c (Feval_buffer):
10125 * lread.c (Feval_region):
10126 * macros.c (Fexecute_kbd_macro):
10127 * marker.c (set_marker_internal):
10128 * marker.c (Fset_marker):
10129 * marker.c (set_marker_restricted):
10130 * marker.c (Fcopy_marker):
10131 * marker.c (noseeum_copy_marker):
10133 * menubar.c (Fpopup_menu):
10135 * mule-charset.c (Fcharset_name):
10136 * mule-charset.c (Fchar_charset):
10137 * mule-charset.c (Fchar_octet):
10138 * mule-charset.c (Fsplit_char):
10139 * mule-wnnfns.c (Fwnn_open):
10140 * mule-wnnfns.c (Fwnn_dict_comment):
10141 * mule-wnnfns.c (Fwnn_quit_henkan):
10142 * mule-wnnfns.c (Fwnn_word_toroku):
10143 * mule-wnnfns.c (Fwnn_word_sakujo):
10144 * mule-wnnfns.c (Fwnn_word_use):
10145 * mule-wnnfns.c (Fwnn_hindo_set):
10147 * objects.c (Fmake_color_instance):
10148 * objects.c (Fmake_font_instance):
10149 * print.c (Fwrite_char):
10151 * process.c (mark_process):
10152 * process.c (print_process):
10153 * process.c (get_process_from_usid):
10154 * process.c (Fprocessp):
10155 * process.c (Fprocess_live_p):
10156 * process.c (Fget_process):
10157 * process.c (Fget_buffer_process):
10158 * process.c (get_process):
10159 * process.c (Fprocess_id):
10160 * process.c (Fprocess_name):
10161 * process.c (Fprocess_command):
10162 * process.c (init_process_io_handles):
10163 * process.c (start_process_unwind):
10164 * process.c (Fstart_process_internal):
10165 * process.c (Fopen_multicast_group_internal):
10166 * process.c (Fset_process_window_size):
10167 * process.c (read_process_output):
10168 * process.c (send_process):
10169 * process.c (Fprocess_tty_name):
10170 * process.c (Fset_process_buffer):
10171 * process.c (Fprocess_buffer):
10172 * process.c (Fprocess_mark):
10173 * process.c (set_process_filter):
10174 * process.c (Fset_process_filter):
10175 * process.c (Fprocess_filter):
10176 * process.c (Fprocess_send_region):
10177 * process.c (Fprocess_send_string):
10178 * process.c (exec_sentinel):
10179 * process.c (Fset_process_sentinel):
10180 * process.c (Fprocess_sentinel):
10181 * process.c (status_notify):
10182 * process.c (Fprocess_status):
10183 * process.c (Fprocess_exit_status):
10184 * process.c (process_send_signal):
10185 * process.c (Fprocess_send_eof):
10186 * process.c (deactivate_process):
10187 * process.c (remove_process):
10188 * process.c (Fdelete_process):
10189 * process.c (kill_buffer_processes):
10190 * process.c (Fprocess_kill_without_query):
10191 * process.c (Fprocess_kill_without_query_p):
10193 * rangetab.c (Fget_range_table):
10194 * rangetab.c (Fput_range_table):
10195 * rangetab.c (Fremove_range_table):
10196 * rangetab.c (Fclear_range_table):
10198 * search.c (Fskip_chars_forward):
10199 * search.c (Fskip_chars_backward):
10200 * search.c (Fskip_syntax_forward):
10201 * search.c (Fskip_syntax_backward):
10202 * search.c (search_command):
10203 * search.c (Freplace_match):
10204 * search.c (Fregexp_quote):
10205 * select.c (Fown_selection_internal):
10206 * select.c (Fselection_owner_p):
10207 * select.c (Fselection_exists_p):
10208 * select.c (Fget_selection_internal):
10211 * symbols.c (Fintern):
10212 * symbols.c (Fintern_soft):
10213 * symbols.c (Funintern):
10214 * symbols.c (Fapropos_internal):
10215 * symbols.c (Fset_default):
10217 * syntax.c (Fsyntax_table_p):
10218 * syntax.c (Fcopy_syntax_table):
10219 * syntax.c (Fset_syntax_table):
10220 * syntax.c (Fchar_syntax):
10221 * syntax.c (syntax_match):
10222 * syntax.c (Fmatching_paren):
10223 * syntax.c (Fforward_word):
10224 * syntax.c (scan_lists):
10225 * syntax.c (Fscan_lists):
10226 * syntax.c (Fscan_sexps):
10227 * syntax.c (Fparse_partial_sexp):
10228 * toolbar.c (Fcheck_toolbar_button_syntax):
10231 * window.c (Fwindowp):
10232 * window.c (Fwindow_live_p):
10233 * window.c (Fwindow_point):
10234 * window.c (Fdelete_window):
10235 * window.c (Fnext_window):
10236 * window.c (Fprevious_window):
10237 * window.c (Fother_window):
10238 * window.c (window_loop):
10239 * window.c (Fget_lru_window):
10240 * window.c (Fsplit_window):
10241 * window.c (Fenlarge_window):
10242 * window.c (Fenlarge_window_pixels):
10243 * window.c (Fshrink_window):
10244 * window.c (Fshrink_window_pixels):
10245 * window.c (change_window_height):
10246 * window.c (Fwindow_configuration_p):
10247 * window.c (Fcurrent_window_configuration):
10249 * casefiddle.c (casify_object):
10250 * casefiddle.c (Fupcase):
10251 * casefiddle.c (Fdowncase):
10252 * casefiddle.c (Fcapitalize):
10253 * casefiddle.c (Fupcase_initials):
10254 * casefiddle.c (casify_region_internal):
10255 * casefiddle.c (casify_region):
10256 * casefiddle.c (Fupcase_region):
10257 * casefiddle.c (Fdowncase_region):
10258 * casefiddle.c (Fcapitalize_region):
10259 * casefiddle.c (Fupcase_initials_region):
10260 * casefiddle.c (Fupcase_word):
10261 * casefiddle.c (Fdowncase_word):
10262 * casefiddle.c (Fcapitalize_word):
10263 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10264 Replace 0 with '\0' when working with bytes.
10265 Replace initial "(" with "\(" in docstrings.
10267 2000-11-01 Martin Buchholz <martin@xemacs.org>
10269 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10271 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10273 2000-10-31 Martin Buchholz <martin@xemacs.org>
10275 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10277 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10279 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10282 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10284 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10285 (inhibit_auto_save_session): New variable.
10286 (vars_of_fileio): Declare and initialize them.
10287 * fileio.c (Fdo_auto_save): Don't create session file if
10288 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10290 2000-10-31 Martin Buchholz <martin@xemacs.org>
10292 * sgiplay.c (play_internal): C++ compilability.
10293 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10294 * callproc.c (Fold_call_process_internal):
10295 Remove unused vars `env', `first'.
10296 * scrollbar.c (update_scrollbar_instance):
10297 #### unused var `current_window'.
10298 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10299 etc. within #ifdef NOT_YET.
10300 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10301 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10302 * specifier.c (specifier_instance):
10303 #### unused var `tag'.
10304 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10306 2000-10-27 Martin Buchholz <martin@xemacs.org>
10308 * fns.c (Fbutlast):
10309 * fns.c (list_sort):
10310 * fns.c (Ffillarray):
10311 * fns.c (bytecode_nconc2):
10314 * fns.c (Fmapconcat):
10315 Be pedantically 64-bit correct. For the time when someone will
10316 want to have a list with length > 2**32.
10318 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10319 Work around MIPSpro compiler bug.
10321 * process-unix.c (unix_kill_child_process): Add snarky comment.
10322 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10324 * config.h.in: Oops, _getpt ==> _getpty
10326 2000-10-26 Martin Buchholz <martin@xemacs.org>
10330 Use void*, not char*, as return type of alloca().
10332 * alloc.c (free_marker): Side effect inside assert expression!
10334 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10336 * mule-charset.c (Fset_charset_ccl_program): To check
10337 if the given ccl program is valid, use setup_ccl_program()
10338 instead of CHECK_VECTOR().
10339 (Fmake_charset): Likewise.
10341 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10343 * faces.c (get_extent_fragment_face_cache_index):
10344 Fix cachel.merged_faces memory leak.
10346 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10348 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10349 Reset MSB of octets obtained by DECODE_SJIS
10350 because of the incompatibility with Emacs.
10351 (ccl_driver)<CCL_ENCODE_SJIS>:
10352 Set MSB of octets before passing them to
10353 ENCODE_SJIS because of the incompatibility
10356 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10358 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10359 (DECLARE_LRECORD): Undo the last change.
10360 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10362 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10364 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10365 the implementation to lrecord_implementations_table.
10367 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10369 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10370 initial value of `lrecord_type_##c_name' and
10371 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10372 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10373 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10374 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10375 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10377 2000-10-17 Martin Buchholz <martin@xemacs.org>
10379 * miscplay.c (sndcnv8S_2mono):
10380 (sndcnv2monounsigned):
10381 (sndcnvULaw_2linear):
10383 Remove implementation-defined behavior.
10385 2000-10-12 Martin Buchholz <martin@xemacs.org>
10387 * input-method-xlib.c: Warning suppression.
10389 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10391 * mule-ccl.c: Sync up with Emacs 21.0.90.
10392 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10394 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10396 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10397 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10398 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10399 leading char belongs to official 2-dimensional charset.
10400 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10401 write the given character as is. Otherwise,
10402 if it is a multibyte char, convert it by
10403 non_ascii_set_charptr_emchar, then write it.
10404 (CCL_WRITE_STRING): Likewise.
10405 (ccl_get_compiled_code): New function.
10406 (setup_ccl_program): When ccl_prog is invalid,
10408 (Fregister_code_conversion_map): New function.
10409 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10411 * mule-ccl.h: Sync up with Emacs 21.0.90.
10412 (Fregister_ccl_program): export it.
10414 * redisplay-msw.c (separate_textual_runs):
10415 If ccl program is not valid, don't do ccl conversion.
10417 * redisplay-x.c (separate_textual_runs): Ditto.
10419 * file-coding.c (Fmake_coding_system):
10420 When type is ccl and value is vector, register it
10421 with a proper symbol. And checks whether the
10422 given ccl program is valid.
10423 (mule_decode): When calling ccl_driver, if src indicates
10424 NULL pointer, set an empty string instead.
10425 (mule_encode): Likewise.
10427 2000-10-11 Martin Buchholz <martin@xemacs.org>
10429 The following large batch of changes gets us back to a state of
10430 C++ compilability. Extbyte is now a char, which means that
10431 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10433 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10435 * sound.c (Fplay_sound): Type correctness.
10437 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10438 (x_get_window_property): Type correctness.
10439 (receive_incremental_selection): unsigned char ==> Extbyte
10440 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10441 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10442 (Fx_store_cutbuffer_internal): Type correctness.
10444 * process-unix.c (try_to_initialize_subtty): Type correctness.
10446 * objects-x.c (x_print_color_instance): Type correctness.
10447 (x_print_font_instance): Type correctness.
10448 (x_list_fonts): SExtbyte ==> Extbyte.
10449 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10450 (x_find_charset_font): SExtbyte ==> Extbyte.
10451 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10452 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10453 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10454 Use bufbyte_strcmp.
10456 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10457 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10458 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10459 (BYTE_C0_P): Use bit ops for char-signedness safety.
10460 (BYTE_C1_P): Use bit ops for char-signedness safety.
10461 (CHARSET_BY_LEADING_BYTE):
10462 (CHARSET_BY_ATTRIBUTES):
10463 Always use inline function.
10464 Use type_checking_assert.
10467 * mule-charset.c (non_ascii_charptr_copy_char):
10468 Modify to work with both ASCII and non-ASCII characters.
10469 Improve docs and variable names.
10470 Replace over-clever fall-through switch with a simple loop.
10471 (Lstream_get_emchar_1):
10472 Replace over-clever fall-through switch with a simple loop.
10474 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10475 Warning suppression.
10477 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10478 the return value of Lstream_getc, which could be EOF as well.
10480 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10482 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10483 APIs can be used on Extbytes without casts. Risky!
10484 (SExtbyte): Remove.
10485 (UExtbyte): Remove.
10487 * input-method-xlib.c (XIM_init_device):
10488 Use Xlib.h instead of IntrinsicP.h.
10489 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10490 which will break in X11R7.
10491 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10492 to call XRegisterIMInstantiateCallback with correct types.
10494 * gui-x.c (button_item_to_widget_value): Type correctness.
10496 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10498 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10499 (xbm_instantiate_1): Type correctness.
10500 (BUILD_GLYPH_INST): Type correctness.
10502 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10505 (decode_coding_sjis):
10506 (decode_coding_big5):
10507 (decode_coding_ucs4):
10508 (decode_coding_utf8):
10509 (decode_coding_iso2022):
10510 (decode_coding_no_conversion):
10511 Make all decoding functions take an Extbyte * arg.
10512 (encode_coding_sjis):
10513 (encode_coding_big5):
10514 (encode_coding_ucs4):
10515 (encode_coding_utf8):
10516 (encode_coding_iso2022):
10517 (encode_coding_no_conversion):
10518 Make all encoding functions take a Bufbyte * arg.
10519 Use size_t instead of unsigned int for memory sizes.
10520 Only cast to unsigned char whenever dereferencing Extbyte *.
10522 * doc.c (unparesseuxify_doc_string): Type correctness.
10524 * console-x.c (split_up_display_spec):
10525 Rewrite without using details of internal string representation.
10526 (x_semi_canonicalize_device_connection): Type correctness.
10529 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10530 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10531 (HAVE_XFREE386): Removed.
10533 * buffer.h (DEC_CHARPTR): `const' correctness.
10534 (bufbyte_strcmp): New.
10535 (bufbyte_memcmp): New.
10537 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10539 * buffer.h (XCHAR_OR_CHAR_INT):
10540 Always use inline function.
10541 Remove redundant type checking assert() - XINT will abort quite nicely.
10543 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10545 * search.c (Freplace_match): Set newtext to an empty string.
10547 2000-10-10 Martin Buchholz <martin@xemacs.org>
10549 * s/decosf1-3.h: Remove #include of stropts.h
10550 * s/ptx.h: Remove #include of stropts.h
10551 * s/usg5-4.h: Remove #include of stropts.h
10554 Use stropts.h, not sys/stropts.h.
10555 Use strtio.h, not sys/strtio.h.
10557 2000-10-04 Martin Buchholz <martin@xemacs.org>
10559 * XEmacs 21.2.36 is released.
10561 2000-09-21 Andy Piper <andy@xemacs.org>
10563 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10564 changes still involve copying the widget tree.
10565 (update_widget_face): make sure a change is register in the widget
10566 tree. Call update_tab_widget_face appropriately.
10567 (update_tab_widget_face): ditto.
10568 (x_tab_control_redisplay): make sure non-structural changes still
10569 involve copying the widget tree.
10571 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10573 * lread.c (locate_file): Check the path element is non-nil.
10575 2000-10-02 Martin Buchholz <martin@xemacs.org>
10577 * lisp.h: Warning suppression for SCO compilers.
10579 * redisplay-tty.c (reset_tty_modes): Fix crash.
10580 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10582 2000-09-27 Martin Buchholz <martin@xemacs.org>
10584 Big signal/process handling overhaul. Bugs fixed:
10585 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10586 M-x comint-kill-subjob should work for both values nil and t of
10587 process-connection-type. It was broken on most platforms.
10588 Testing on Irix and Cygwin still needed. Other plaforms tested.
10589 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10590 * process-unix.c: Signal/Process handling overhaul.
10591 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10592 (allocate_pty): Use all available modern methods of allocating
10593 ptys, falling back to old style BSD allocation as a last resort.
10594 Use allegedly more secure Unix98 pty allocation by default.
10595 (allocate_pty_the_old_fashioned_way): New. the last resort.
10596 (unix_create_process): Push ptem, ldterm, ttcompat where
10597 available. Autoconfiscate.
10598 (try_to_initialize_subtty): New.
10599 (unix_kill_child_process): Proper signal handling for ptys on most
10600 platforms, using special knowledge of AIX, BSD, etc...
10601 (unix_create_process): Always disconnect_controlling_terminal() for
10602 subprocesses, whether using ptys or not.
10603 * process.h: Remove old getpt-dependent PTY code.
10604 * process.c (Fprocess_send_signal): New, obvious generic function.
10605 (decode_signal): New.
10606 (Finterrupt_process):
10610 (Fcontinue_process):
10611 (Fsignal_process): Use decode_signal.
10612 (process_send_signal):
10613 Many docstring corrections.
10614 Allow any signal to be sent to a process object.
10615 * config.h.in: Add symbols for big signal/process overhaul.
10616 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10617 * sysproc.h: Include process-related headers, where available:
10618 sys/stropts.h sys/strtio.h pty.h libutil.h
10626 Remove old S&M pty stuff.
10627 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10628 * systty.h: Simplify cpp hackery, improve comments.
10629 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10631 * editfns.c (Fformat_time_string):
10632 Be a little more paranoid with the return value of ctime.
10634 * fileio.c (check_executable):
10636 Use symbolic constants X_OK, W_OK.
10638 * console-x.c (split_up_display_spec): Fix a warning.
10640 2000-10-02 Martin Buchholz <martin@xemacs.org>
10642 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10643 * ntproc.c (sys_spawnve): make_string ==> build_string
10644 Small clarity improvements.
10646 2000-09-30 Martin Buchholz <martin@xemacs.org>
10648 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10650 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10652 * config.h.in (HAVE_STRCASECMP): Remove.
10654 2000-09-29 Martin Buchholz <martin@xemacs.org>
10656 * redisplay-output.c (redisplay_output_pixmap):
10657 Cleaner and possibly more 64-bit correct code.
10659 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10661 * dumper.c (pdump_load_finish): move restoration of
10662 `noninteractive1' to emacs.c (main_1).
10663 * emacs.c (main_1): protect LISP-visible command-line flags
10666 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10668 * Makefile.in.in (versionclean): Use EXE_TARGET and
10669 DUMP_TARGET instead of literal program names.
10671 2000-09-20 Martin Buchholz <martin@xemacs.org>
10673 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10675 2000-09-19 Martin Buchholz <martin@xemacs.org>
10677 * *: Spelling mega-patch
10679 2000-09-19 Martin Buchholz <martin@xemacs.org>
10681 * fns.c (bad_bad_turtle):
10682 Delete "Eek!" comment, since we fixed the bug to which it refers.
10684 2000-09-16 Martin Buchholz <martin@xemacs.org>
10686 * alloca.c: Replace REGISTER with register.
10688 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10690 * file-coding.c (ucs_to_char): Use countof.
10692 2000-09-16 Martin Buchholz <martin@xemacs.org>
10694 * file-coding.c: (ucs_to_char):
10695 (complex_vars_of_file_coding):
10696 Use countof instead of sizeof.
10697 Use CHECK_NATNUM instead of CHECK_INT.
10699 * sysdep.c (strcasecmp): Remove.
10700 * device-x.c (ascii_strcasecmp): New.
10701 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10702 Avoid using non-standard non-portable strcasecmp.
10704 2000-09-16 Martin Buchholz <martin@xemacs.org>
10706 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10707 * font-lock.c: remove reference to emacsfns.h.
10708 * search.c: small doc improvement.
10709 * event-Xt.c: correct file names in comments.
10710 * console-x.h Correct file names in comments.
10711 * frame.c: Correct file names in comments.
10712 * event-stream.c: remove Energize from comments.
10714 2000-09-15 Martin Buchholz <martin@xemacs.org>
10716 * symeval.h (DEFERROR_STANDARD):
10719 (DEFSYMBOL_NO_DUMP):
10720 (DEFSYMBOL_MULTIWORD_PREDICATE):
10721 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10723 The construct &##name is not sensible C.
10724 Fixes compilation errors with Unixware native compiler.
10726 2000-09-14 Martin Buchholz <martin@xemacs.org>
10728 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10729 (next_frame_internal): Removed. We now just have next_frame.
10731 Write a simpler and cleaner one-pass algorithm.
10732 Remove called_from_delete_device arg and #ifdefed-out code.
10734 Renamed from prev_frame. Update callers.
10735 Cleaned up to have an analogous implementation to next_frame.
10736 (other_visible_frames_internal): Remove the
10737 called_from_delete_device bogus arg, and hence, remove this
10738 function. Just use other_visible_frames().
10740 * window.c (Fnext_window):
10741 Prettify docstring.
10742 Since next_frame() is guaranteed to return a frame, remove check
10743 for nil inserted in previous patch.
10744 (Fprevious_window):
10745 Prettify docstring.
10746 Make code look more like Fnext_window.
10748 Respect the `console' arg when iterating through windows.
10749 Fixes bug: (get-buffer-window buffer t device) not respecting
10751 This function needs more work, as others have pointed out.
10753 * frame.h: Rename prev_frame to previous_frame.
10754 device_matches_console_spec no longer takes a `frame' arg.
10759 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10760 From "Golubev I. N." <gin@mo.msk.ru>.
10762 * make-src-depend: Fix typo.
10764 2000-09-13 Martin Buchholz <martin@xemacs.org>
10766 * window.c (Fnext_window):
10767 next_frame() might return nil, not a frame.
10769 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10771 * frame.c (next_frame_internal):
10772 We've passed a frame if we've passed its device.
10774 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10775 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10777 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10779 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10780 Allow option to suppress accelerators in menu/dialog items.
10781 (populate_or_checksum_helper): Pass dialog title through above.
10783 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10785 * event-msw.c (mswindows_key_to_emacs_keysym):
10786 Add "pause" key, fix "menu" key.
10788 2000-09-09 Martin Buchholz <martin@xemacs.org>
10790 * eval.c (reinit_vars_of_eval):
10791 Increase max_lisp_eval_depth to 1000,
10792 required for thai-xtis.el to byte-compile under some circumstances.
10794 2000-09-04 Martin Buchholz <martin@xemacs.org>
10796 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10797 From Kenichi Handa.
10799 2000-09-01 Martin Buchholz <martin@xemacs.org>
10801 * make-src-depend: Make the generated Makefiles smaller.
10803 * s/hpux.h (SETUP_SLAVE_PTY):
10804 Provide a %d in the format string for the errno argument.
10806 * editfns.c (Ftemp_directory):
10808 Avoid buffer overrun on very long file name.
10810 * input-method-xlib.c (XIM_init_device):
10811 6th parameter of XRegisterIMInstantiateCallback has different
10812 pointer types on different OSes, so simply cast to (void *).
10814 * unexhp9k800.c: Warning fixes. Fiddly changes.
10816 * sysdll.c (dll_open):
10817 shl_load will hang hard if passed a NULL filename.
10818 Simply return NULL for compatibility with dlopen.
10819 * sysdll.c: Conform to XEmacs coding standards.
10821 * sysdep.c (get_pty_max_bytes):
10822 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10824 2000-08-31 Martin Buchholz <martin@xemacs.org>
10826 * tooltalk.c: Add #include <syssignal.h>
10828 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10830 * s/hpux.h: Don't use undefined function sigunblock().
10832 2000-08-31 Martin Buchholz <martin@xemacs.org>
10834 * config.h.in: Add HAVE_BALLOON_HELP.
10835 * emacs.c: Use HAVE_BALLOON_HELP.
10836 * Makefile.in.in (x_objs):
10837 Make Balloon Help conditional on finding shape.h.
10839 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10841 * syntax.c (regex_emacs_buffer_p): New variable.
10842 * syntax.h (regex_emacs_buffer_p): extern.
10843 * search.c (looking_at_1):
10845 (fast_string_match):
10846 (search_buffer): Set regex_emacs_buffer_p.
10847 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
10848 when before_dot, at_dot, after_dot.
10850 2000-08-23 Andy Piper <andy@xemacs.org>
10852 * gui-x.c (popup_selection_callback): Only set action_occurred
10853 when we really have an image instance.
10854 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
10856 2000-08-23 Andy Piper <andy@xemacs.org>
10858 * gui-msw.c (mswindows_handle_gui_wm_command): set
10860 * gui-x.c (popup_selection_callback): ditto.
10862 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
10863 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
10864 (struct Lisp_Image_Instance): add action_occurred flag.
10866 * glyphs.c (redisplay_subwindow): use action_occurred flag.
10867 (image_instance_changed): ditto.
10868 (reset_frame_subwindow_instance_cache): only unmap windows - do
10869 not remove them from the cache also.
10871 * glyphs-widget.c (tab_control_update): better debug.
10872 (progress_gauge_update): ditto.
10873 (layout_update): ditto.
10874 (layout_instantiate): ditto.
10875 (tab_control_order_only_changed): cope with null pending items.
10877 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
10878 debug. Force selection of an item when an action occurred. Cope
10879 with null pending_items.
10880 (mswindows_progress_gauge_redisplay): better debug.
10881 * glyphs-x.c (x_tab_control_redisplay): ditto.
10883 * redisplay.c (redisplay_frame): reset the frame cache if the
10886 * window.c (Fset_window_configuration): potentially re-enable
10888 (window_unmap_subwindows): need to finalize instances here since
10889 it is only used in mark_window_as_deleted.
10891 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
10893 * nas.c (SndOpenDataForReading):
10894 nas.c (WaveOpenDataForReading):
10895 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
10896 Somehow escaped from the 2000-08-14 patch.
10898 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
10900 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
10901 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
10903 2000-08-21 Andy Piper <andy@xemacs.org>
10905 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
10906 window if it is not already displayed.
10908 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
10909 it is not already displayed.
10911 * window.c (Fset_window_configuration): don't reset the frame
10914 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
10915 instances from the frame cache if we are actually finalizing them.
10916 (reset_frame_subwindow_instance_cache): reset frame cache only
10917 after unmapping everything.
10918 (map_subwindow): set displayed flag after mapping.
10920 2000-08-21 Martin Buchholz <martin@xemacs.org>
10922 * data.c (indirect_function):
10923 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
10925 * eval.c (function_argcount):
10926 Use original function when signaling errors.
10928 2000-08-18 Andy Piper <andy@xemacs.org>
10930 * frame.c (delete_frame_internal): use new
10931 free_frame_subwindow_instances name.
10933 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
10934 (add_tab_item): make return type correct.
10935 (mswindows_tab_control_instantiate): assert index of tab.
10936 (mswindows_tab_control_redisplay): Re-code to use
10937 gui_item_equal_sans_selected and gui_item_list_find_selected.
10939 * glyphs-widget.c (tab_control_update): Correct comment.
10941 * window.c (window_unmap_subwindows): use new
10942 unmap_subwindow_instance_cache_mapper.
10943 (window_unmap_subwindows_cache_mapper): deleted.
10944 (Fset_window_configuration): comparisons should now be with
10945 EQ. Preserve the subwindow instance cache across configuration
10947 (allocate_window): ditto.
10948 (make_dummy_parent): ditto.
10950 * glyphs.c (free_frame_subwindow_instances): rename from
10951 free_frame_subwindow_instance_cache. finalize all instances rather
10952 than just those in the display cache.
10953 (finalize_all_subwindow_instances): walk windows unmapping and
10954 finalizing subwindows.
10955 (unmap_subwindow_instance_cache_mapper): moved from
10956 window.c. Allow finalization as well as unmapping.
10958 * gui.c (gui_item_list_find_selected): new function.
10960 * gui.h (gui_item_list_find_selected): declare.
10962 * glyphs-x.c (x_tab_control_redisplay): pick tab
10963 explicitly. Re-code to use gui_item_equal_sans_selected and
10964 gui_item_list_find_selected.
10966 * glyphs-x.h: add lwlib-utils.h
10968 * buffer.c (Frecord_buffer): undo previous change.
10970 2000-08-09 Vin Shelton <acs@xemacs.org>
10972 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
10973 possible. Create temporary files more securely. The patch was
10974 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
10975 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
10976 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
10979 2000-08-07 Ben Wing <ben@xemacs.org>
10981 * getloadavg.c: remove duplicate (and windows-breaking)
10982 includes of fcntl.h and sys/file.h.
10984 * nt.c: remove duplicate getloadavg() definition.
10986 * sysdll.h (Qdll_filename_encoding): add missing stand-in
10989 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
10991 * eval.c (function_argcount): If function needs to be autoloaded
10992 actually use the loaded definition.
10995 2000-08-05 Ben Wing <ben@xemacs.org>
10997 * getloadavg.c: add prototype for getloadavg(). remove
10998 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
10999 of the code). remove duplicate header includes.
11001 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11003 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11004 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11005 useful load average.
11007 * alloc.c (reinit_alloc_once_early): removed references to
11008 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11009 the lisp vars are the only things referencing the malloc_sbrk_*
11010 vars, and they were already if 0'd out. these vars only exist
11011 in the older malloc.c, which is basically unused, and they're
11012 only for informational purposes.
11014 * m\*.h: removed useless VIRT_ADDR_VARIES.
11016 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11018 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11020 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11021 color if the image is a mono pixmap.
11023 2000-07-30 Ben Wing <ben@xemacs.org>
11025 * Makefile.in.in (release):
11028 * buffer.c (directory_is_current_directory):
11029 * dired-msw.c (mswindows_get_files):
11031 * dired.c (Fdirectory_files):
11032 * dired.c (file_name_completion_stat):
11033 * dired.c (Ffile_attributes):
11034 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11035 preprocessor tricks, to avoid problems on some machines
11038 * callproc.c (egetenv): GC docs.
11041 * console-msw.h (struct mswindows_dialog_id):
11042 * lrecord.h (lrecord_type):
11043 New object for use with MSW dialogs.
11045 * console.h (struct console_methods):
11046 New enable/disable frame methods, for proper modal dialogs.
11048 * device-msw.c (msprinter_default_printer): Fix to follow
11049 proper Mule conventions.
11052 * device-msw.c (signal_open_printer_error):
11053 * device-msw.c (msprinter_init_device):
11054 * device-msw.c (ensure_not_printing):
11055 * device-msw.c (plist_get_margin):
11056 * device-msw.c (Fmsprinter_select_settings):
11057 * device-msw.c (finalize_devmode):
11058 * device-msw.c (Fmsprinter_settings_despecialize):
11059 * device-msw.c (signal_enum_priner_error):
11060 * extents.c (decode_extent):
11061 * extents.c (decode_map_extents_flags):
11062 * extents.c (decode_extent_at_flag):
11063 * extents.c (Fextent_at):
11064 * extents.c (Fextents_at):
11065 * extents.c (symbol_to_glyph_layout):
11066 [[[[2]]]] Use structured errors.
11069 * dialog-msw.c (mswindows_is_dialog_msg):
11070 * dialog-msw.c (mark_mswindows_dialog_id):
11071 * dialog-msw.c (dialog_proc):
11072 * dialog-msw.c (handle_question_dialog_box):
11073 * dialog-msw.c (syms_of_dialog_mswindows):
11074 Define new object to clean up marking; use it as a dialog identifier.
11075 Call new delete-dialog-box-hook.
11077 * dialog-x.c (dbox_selection_callback):
11078 * dialog-x.c (dbox_descriptor_to_widget_value):
11079 * dialog-x.c (x_make_dialog_box_internal):
11080 Call new delete-dialog-box-hook.
11084 * dialog.c (syms_of_dialog):
11085 * dialog.c (vars_of_dialog):
11086 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11089 * eval.c (signal_call_debugger):
11090 when noninteractive, output stack traces on the console instead
11091 of in a (never-seen) buffer.
11093 * eval.c (signal_type_error):
11094 * eval.c (invalid_argument_2):
11096 new funs for use w/structured errors.
11099 * event-Xt.c (x_to_emacs_keysym):
11100 * event-Xt.c (describe_event):
11101 * event-Xt.c (emacs_Xt_event_handler):
11102 * event-Xt.c (vars_of_event_Xt):
11104 * event-msw.c (mswindows_wnd_proc):
11105 * event-msw.c (vars_of_event_mswindows):
11106 rename {x,mswindows}-debug-events to debug-{}-events for
11107 consistency with other debug-foo variables.
11110 document next-event more clearly.
11112 * fileio.c (Ffile_name_directory):
11113 * fileio.c (Ffile_name_nondirectory):
11114 * fileio.c (Funhandled_file_name_directory):
11115 * fileio.c (file_name_as_directory):
11116 * fileio.c (Ffile_name_as_directory):
11117 * fileio.c (directory_file_name):
11118 * fileio.c (Fdirectory_file_name):
11119 * fileio.c (Fmake_temp_name):
11120 * fileio.c (Ffile_truename):
11121 * fileio.c (Fsubstitute_in_file_name):
11122 * fileio.c (expand_and_dir_to_file):
11123 * fileio.c (barf_or_query_if_file_exists):
11124 * fileio.c (check_executable):
11125 * fileio.c (Ffile_exists_p):
11126 * fileio.c (Ffile_writable_p):
11127 * fileio.c (Ffile_directory_p):
11128 * fileio.c (Ffile_regular_p):
11129 * fileio.c (Ffile_modes):
11130 * fileio.c (Ffile_newer_than_file_p):
11131 * fileio.c (Fverify_visited_file_modtime):
11132 * fileio.c (Fset_visited_file_modtime):
11133 * fileio.c (auto_save_1):
11138 * frame-msw.c (mswindows_init_frame_1):
11139 * frame-msw.c (mswindows_enable_frame):
11140 * frame-msw.c (error_frame_unsizable):
11141 * frame-msw.c (msprinter_init_frame_1):
11142 * frame-msw.c (msprinter_init_frame_3):
11143 * frame-msw.c (console_type_create_frame_mswindows):
11145 implement new enable/disable frame methods.
11148 * frame-x.c (x_enable_frame):
11149 * frame-x.c (console_type_create_frame_x):
11150 implement new enable/disable frame methods.
11153 * frame.c (Fdisable_frame):
11154 * frame.c (syms_of_frame):
11155 * frame.h (struct frame):
11156 implement new enable/disable frame methods/functions.
11161 * glyphs-msw.c (mswindows_widget_instantiate):
11162 comment that initial-focus should be implemented.
11165 * glyphs-widget.c (check_valid_instantiator):
11166 * glyphs-widget.c (check_valid_orientation):
11167 * glyphs-widget.c (check_valid_tab_orientation):
11168 * glyphs-widget.c (check_valid_justification):
11169 * glyphs-widget.c (check_valid_border):
11170 * glyphs-widget.c (check_valid_callback):
11171 * glyphs-widget.c (check_valid_int_or_function):
11172 * glyphs-widget.c (check_valid_string_or_vector):
11173 * glyphs-widget.c (check_valid_item_list_1):
11174 * glyphs-widget.c (widget_validate):
11175 * glyphs-widget.c (combo_box_validate):
11176 * glyphs-widget.c (widget_instantiate):
11177 * glyphs-widget.c (syms_of_glyphs_widget):
11178 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11179 * glyphs-widget.c (image_instantiator_combo_box):
11180 * glyphs-widget.c (image_instantiator_scrollbar):
11181 * glyphs-widget.c (image_instantiator_tab_control):
11182 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11184 support (unimplemented) keyword initial-focus.
11185 reindent long macros.
11187 * glyphs-x.c (x_redisplay_widget):
11188 * glyphs-x.c (x_button_instantiate):
11189 * glyphs-x.c (x_button_redisplay):
11190 * glyphs-x.c (x_progress_gauge_instantiate):
11191 * glyphs-x.c (x_edit_field_instantiate):
11192 * glyphs-x.c (x_combo_box_instantiate):
11193 * glyphs-x.c (x_tab_control_instantiate):
11194 * glyphs-x.c (x_label_instantiate):
11196 * gui-x.c (button_item_to_widget_value):
11197 * gui-x.c (gui_items_to_widget_values_1):
11198 * gui-x.c (gui_item_children_to_widget_values):
11199 * gui-x.c (gui_items_to_widget_values):
11201 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11202 add new flag to gui-parsing routines to indicate whether
11203 accelerator specs should be supported.
11205 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11207 * glyphs.h (struct Lisp_Image_Instance):
11208 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11209 add initial-focus flag.
11212 * gui.c (syms_of_gui):
11213 * gui.c (vars_of_gui):
11214 clean up menu-no-selection-hook.
11217 support delete-dialog-box-hook.
11219 * lread.c (Fload_internal):
11220 * lread.c (locate_file_in_directory_mapper):
11224 * lrecord.h (struct toolbar_button):
11225 * lrecord.h (syms_of_toolbar):
11226 document how to create a new object.
11228 * menubar-msw.c (mswindows_char_is_accelerator):
11229 may be called on frames w/o menus.
11231 * menubar.c (vars_of_menubar):
11232 clean up :filter docs.
11239 * process-nt.c (validate_signal_number):
11240 * process-nt.c (signal_cannot_launch):
11241 * process-nt.c (nt_create_process):
11242 * process-nt.c (nt_send_process):
11243 * process-nt.c (nt_kill_child_process):
11244 * process-nt.c (nt_open_network_stream):
11245 * process-nt.c (syms_of_process_nt):
11247 delete quote-handling. call new lisp code that does it better.
11249 * process-unix.c (connect_to_file_descriptor):
11250 * process-unix.c (allocate_pty):
11251 * process-unix.c (unix_send_process):
11252 * process-unix.c (unix_kill_child_process):
11253 * process-unix.c (unix_open_network_stream):
11254 * process-unix.c (unix_open_multicast_group):
11258 * process.c (Fstart_process_internal):
11259 (2). need to canonicalize process path even if absolute.
11261 * select-msw.c (symbol_to_ms_cf):
11262 * select-msw.c (ms_cf_to_symbol):
11263 * select-msw.c (cf_is_autofreed):
11264 * select-msw.c (mswindows_destroy_selection):
11266 * select.c (syms_of_select):
11268 support dibv5, fix bugs. (from Mike Alexander)
11270 * select.c (Fget_selection_internal):
11271 * select.c (select_convert_out):
11274 * sysdep.c (xemacs_stat):
11277 * sysdep.c (mkdir):
11278 * sysdep.c (rmdir):
11279 but keep original stat() here because we provide encapsulation
11283 * sysfile.h (fstat):
11284 remove stat garbage.
11287 fix X/MSW conflict.
11288 don't include tchar.h. it's inappropriate because it makes
11289 compile-time distinctions when we want runtime distinctions.
11290 (we provide our own tchar replacements)
11293 use default object printer for toolbar-button.
11296 make sure we don't encapsulate.
11298 * window.c (vars_of_window):
11299 emphasize that temp-buffer-show-hook is obsolete.
11301 2000-08-05 Martin Buchholz <martin@xemacs.org>
11303 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11304 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11306 * events.c (Fevent_timestamp_lessp):
11307 Not 64-bit clean. Use EMACS_INT, not int.
11309 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11311 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11312 unsigned int and changed the last enum to
11313 lrecord_type_last_built_in_type.
11314 (lrecord_implementations_table): changed prototype to know how
11315 long the array is supposed to be.
11316 (lrecord_type_count): new unsigned int to keep track of the
11317 current number of lisp lrecord types.
11318 (DEFINE_EXTERNAL_LRECORD):
11319 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11320 dynamic-modules to declare new lisp types. They are the same
11321 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11322 int for each new type, and increment lrecord_type_count by 1.
11324 * alloc.c (lrecord_implementations_table): Changed to reference
11325 lrecord_type_last_built_in_type for the size of the array.
11326 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11328 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11330 * glyphs.h (check_valid_item_list): Renamed from
11331 check_valid_item_list_1.
11333 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11335 * select.c (Qselect_coerce): New.
11336 * select.c (Vselection_coercion_alist): New.
11337 * select.c (syms_of_select): Declare.
11338 * select.c (get-selection-internal): Use it.
11339 Use the new select-coerce functionality.
11341 * select.c (select_coerce): New.
11342 * select.h (select_coerce): Declare.
11343 New function to coerce one type of data into another.
11345 2000-08-03 Martin Buchholz <martin@xemacs.org>
11347 * callproc.c (Fcall_process_internal):
11348 (Fcall_process_internal):
11349 * process-unix.c (unix_create_process):
11350 Save and restore the value of errno, so that error messages are accurate.
11352 2000-08-01 Martin Buchholz <martin@xemacs.org>
11354 * elhash.c (print_hash_table):
11355 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11356 Prettify docstrings and indentation.
11358 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11360 * window.c (Fwindow_pixel_edges): Subtract frame border and
11363 2000-07-31 Andy Piper <andy@xemacs.org>
11365 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11366 will acknowledge the change.
11368 * glyphs.h: declare tab_control_order_only_changed.
11370 * glyphs-x.c (x_tab_control_redisplay): use
11371 tab_control_order_only_changed.
11373 * glyphs-widget.c (tab_control_order_only_changed): new function.
11375 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11376 tab_control_order_only_changed.
11378 * gui.c (gui_item_equal_sans_selected): new function.
11379 (gui_item_equal): use it.
11381 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11382 :properties in favor of :items..
11384 * glyphs-widget.c (check_valid_item_list): rename from
11385 check_valid_item_list_1.
11386 (check_valid_item_list_1): renamed.
11387 (combo_box_validate): deprecate :properties in favor of :items.
11388 (widget_instantiate): ditto.
11389 (tab_control_update): ditto.
11390 (image_instantiator_combo_box): ditto.
11391 (image_instantiator_tree_view): ditto.
11392 (image_instantiator_tab_control): ditto.
11393 (layout_post_instantiate): remove dead code.
11395 * print.c (debug_print_no_newline): only write to debugger if in
11398 * elhash.c (Fmake_hash_table): update doc string.
11400 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11401 messages whilst in GC. This at least stops XEmacs crashing but has
11402 the potential for wierd behaviour.
11404 2000-07-31 Martin Buchholz <martin@xemacs.org>
11407 Make existence of s&m files optional.
11409 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11410 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11411 * s/gnu.h: Remove HAVE_GETLOADAVG.
11412 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11413 * s/sol2.h: Remove HAVE_GETLOADAVG.
11414 * lisp.h: Remove getloadavg() declaration.
11416 Include <sys/loadavg.h> if available.
11417 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11418 * config.h.in: Group together getloadavg()-related macros.
11419 Use only configure-time tests to detect getloadavg().
11421 2000-07-30 Martin Buchholz <martin@xemacs.org>
11423 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11425 2000-07-25 Andy Piper <andy@xemacs.org>
11427 * syswindows.h: add tchar.h for native builds.
11429 * frame.c (syms_of_frame): remove set-glyph-image.
11431 * general-slots.h: add Qset_glyph_image.
11433 * glyphs-widget.c (layout_update): add domain arg to
11435 (syms_of_glyphs_widget): remove set-glyph-image.
11437 2000-07-23 Ben Wing <ben@xemacs.org>
11439 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11442 2000-07-22 Andy Piper <andy@xemacs.org>
11444 * symsinit.h: add syms_of_win32().
11446 * gui-msw.c (syms_of_gui_mswindows): remove
11447 Fmswindows_shell_execute.
11448 (Fmswindows_shell_execute): moved to win32.c.
11450 * emacs.c (main_1): add syms_of_win32 ().
11452 * win32.c (init_potentially_nonexistent_functions): rewrite in
11453 compiler-friendly terms.
11454 (Fmswindows_shell_execute): move here from gui-msw.c.
11455 (syms_of_win32): new.
11457 * device-msw.c (Fmswindows_printer_list): clean up args to
11459 Don't include tchar under cygwin or mingw.
11460 (msprinter_default_printer): make cygwin-friendly.
11462 2000-07-21 Andy Piper <andy@xemacs.org>
11464 * glyphs-widget.c (image_instantiator_tree_view): use tab
11465 control's update function.
11466 (layout_property): new function. Retrieve items.
11468 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11469 function. Re-populate the tree view from the pending items.
11471 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11472 is designated the parent if the domain is an image instance. This
11473 is needed so that dirtiness can be cascade up the hierarchy and
11474 thus for layout children to be redisplayed correctly.
11475 (allocate_image_instance): rename glyph -> parent.
11477 * redisplay.h: change redisplay_output_layout signature.
11479 * redisplay-msw.c (mswindows_output_display_block): use domain
11482 * redisplay-x.c (x_output_display_block): use domain arg.
11484 2000-07-10 Andy Piper <andy@xemacs.org>
11486 * window.c (Fset_window_configuration): add comment.
11488 * redisplay-output.c (compare_runes):
11489 (redisplay_output_subwindow): redisplay rather than update subwindow.
11490 (redisplay_output_layout): ditto.
11492 * redisplay-msw.c (mswindows_frame_output_end):
11493 (mswindows_frame_output_end): make defer window pos optional.
11495 * lisp.h: add Flast.
11497 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11498 normalize method. Change update method to be for changed
11499 instantiators. Add redisplay method. Change signature of layout
11501 (struct Lisp_Image_Instance): add instantiator.
11502 (IMAGE_INSTANCE_INSTANTIATOR): new.
11503 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11504 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11505 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11508 (find_instantiator_differences): new function.
11509 (Fset_instantiator_property): new convenience function.
11510 (check_image_instance_structure): strictly check for vector
11512 (normalize_image_instantiator): make non-static.
11513 (instantiate_image_instantiator): pass on dest_mask and use new
11514 signatures for image_instance_layout and friends.
11515 (mark_image_instance): mark the instantiator. Mark the subwindow
11516 face not the widget face.
11517 (image_instance_equal): add instantiator.
11518 (image_instance_hash): ditto.
11519 (allocate_image_instance): ditto.
11520 (Fset_image_instance_property): removed.
11521 (Fimage_instance_file_name): ditto.
11522 (Fcolorize_image_instance): ditto.
11523 (image_instance_layout): add offsets to be set.
11524 (update_image_instance): new function. update an image instance
11525 from its changed instantiator.
11526 (inherit_normalize): add dest_mask.
11527 (xbm_normalize): ditto.
11528 (xface_normalize): ditto.
11529 (xpm_normalize): ditto.
11530 (text_update): set_property -> update.
11531 (image_instantiate): use the glyph identity as a hash key, not the
11533 (glyph_width): use new image_instance_layout signature.
11534 (glyph_ascent): ditto.
11535 (glyph_descent): ditto.
11536 (glyph_height): ditto.
11537 (glyph_query_geometry): ressurrect.
11538 (glyph_layout): ditto.
11539 (redisplay_subwindow): update -> redisplay.
11540 (syms_of_glyphs): add Fset_instantiator_property.
11541 (image_instantiator_format_create): set_property -> update.
11544 (autodetect_normalize): add dest_maks to signature.
11545 (x_redisplay_subwindow): update -> redisplay.
11546 (x_redisplay_widget): ditto.
11547 (x_button_redisplay): ditto.
11548 (x_progress_gauge_redisplay): ditto.
11549 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11551 (console_type_create_glyphs_x): update -> redisplay.
11552 (image_instantiator_format_create_glyphs_x): ditto.
11555 (check_valid_instantiator): disallow glyphs in the instantiator,
11556 they must now be vectors.
11557 (check_valid_instantiator_list): ditto.
11558 (glyph_instantiator_to_glyph): use internal symbol rather than
11560 (widget_update): renamed from widget_set_property. Call cascaded
11562 (redisplay_widget): renamed from update_widget.
11563 (widget_layout): image_instance_layout now takes position as well
11565 (widget_normalize): ditto.
11566 (widget_instantiate): ditto.
11567 (tab_control_query_geometry) ditto.:
11568 (tab_control_update): renamed from tab_control_set_property.
11569 (progress_gauge_update): set_property -> update.
11570 (layout_normalize): rewrite so that child instantiators are
11572 (layout_update): new function. Create glyphs from the normalized
11573 children and cope with any other layout keywords. We do not
11574 instantiate children here that will be take care of by
11575 redisplay_output_layout.
11576 (layout_instantiate): call layout_update and not much else.
11577 (layout_post_instantiate): not sure whether this is needed
11579 (layout_query_geometry): query glyph geometry rather than
11580 image_instance geometry.
11581 (layout_layout): set offsets from pass in parameters. Use glyph
11582 geometry and layout functions rather than image instance ones.
11583 (native_layout_layout): ditto.
11584 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11585 (image_instantiator_widget): set_property -> update.
11586 (image_instantiator_buttons): ditto.
11587 (image_instantiator_progress_guage): ditto.
11588 (image_instantiator_tab_control): ditto.
11589 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11590 (image_instantiator_layout): add update method.
11592 * glyphs-msw.c (bmp_normalize):
11593 (mswindows_resource_normalize): add dest_mask so that it can be
11594 proprogated by layout_normalize.
11595 (begin_defer_window_pos): make optional because it may not be the
11596 right thing to do and it introduces differences with X.
11597 (mswindows_unmap_subwindow): ditto.
11598 (mswindows_map_subwindow): ditto.
11599 (mswindows_redisplay_subwindow): renamed from
11600 mswindows_update_subwindow.
11601 (mswindows_redisplay_widget): ditto.
11602 (mswindows_button_redisplay): renamed from
11603 mswindows_button_update. Update is now what the instantiation
11604 function does for a changed instantiator.
11605 (mswindows_progress_gauge_instantiate): set the progress value
11606 here if appropriate.
11607 (mswindows_tab_control_redisplay): cope with re-ordering of the
11608 members of the tab widget by simply selecting the new top
11609 widget. This makes things appear ok if you click on a tab.
11610 (mswindows_combo_box_instantiate): image_instance_layout now takes
11611 position as well as size.
11612 (mswindows_progress_gauge_redisplay): renamed from
11613 mswindows_progress_gauge_update.
11614 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11615 (image_instantiator_format_create_glyphs_mswindows): ditto.
11617 * glyphs-eimage.c (jpeg_normalize):
11620 (tiff_normalize): add dest_mask so that it can be proprogated by
11624 (print_hash_table):
11625 (hash_table_weakness_validate):
11626 (decode_hash_table_weakness):
11627 (Fhash_table_weakness):
11628 (Fhash_table_type):
11629 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11631 * console.h (struct console_methods): move update_* to
11634 2000-07-20 Ben Wing <ben@xemacs.org>
11636 * *.[ch] (XSETOBJ): remove unused middle argument.
11637 lisp-disunion.h: correct wrap_object() to one argument.
11639 2000-07-15 Ben Wing <ben@xemacs.org>
11642 * s/cygwin32.h (CYGWIN_CONV_PATH):
11643 Add missing logb prototype for v1.1.
11644 Use post-b20 names and alias to pre-b20 names when pre-b20.
11646 * s/windowsnt.h: [5].
11648 2000-07-15 Ben Wing <ben@xemacs.org>
11650 * Makefile.in.in (x_objs):
11651 * Makefile.in.in (sheap_objs):
11652 * Makefile.in.in (objs):
11653 added win32.o, cosmetic cleanups.
11655 * alloc.c (Fmake_byte_code):
11656 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11657 etc. macros which declare their own args now.
11659 * alloc.c (syms_of_alloc):
11660 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11663 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11665 * buffer.c (Fget_file_buffer):
11666 Fixed GCPRO problem.
11668 * buffer.c (get_truename_buffer):
11669 Fixed comment about GC checking.
11671 * buffer.c (syms_of_buffer):
11672 Undeclared those dedicated frame funs.
11676 Define convenience macros for internal/external conversions.
11677 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11678 and Qenvironment_variable_encoding for cleaner code.
11681 Remove dedicated-frame; in lisp.
11683 * bytecode.c (funcall_compiled_function):
11686 * bytecode.c (syms_of_bytecode):
11690 * console-msw.c (mswindows_show_console): Rewrote.
11692 * console-msw.c (Fmswindows_debugging_output): New.
11693 Sends to OutputDebugString (special MSWin debugger interface).
11695 * console-msw.c (Fmswindows_message_box):
11696 Fixed stupid bugs so it works when called from kill-emacs.
11698 * console-msw.c (syms_of_console_mswindows):
11699 Declare Fmswindows_debugging_output.
11702 New MSWin prototypes.
11704 * console-msw.h (struct mswindows_frame):
11705 New entry last-click-mods for improved button-modifier support.
11707 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11708 New struct entry `popup' with corresponding accessor.
11711 * console-x.c (split_up_display_spec):
11712 * console-x.c (get_display_arg_connection):
11713 * console-x.c (x_semi_canonicalize_console_connection):
11714 * console-x.c (x_canonicalize_device_connection):
11715 [[[6]]]: Change char to more specific type.
11716 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11718 * console-x.c (x_semi_canonicalize_console_connection):
11719 * console-x.c (x_canonicalize_device_connection):
11720 [[[9]]]: Fix up error signalling to use new structured error system.
11723 [[[4]]]: Define codesys aliases:
11724 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11725 Qx_color_name_encoding, Qx_display_name_encoding.
11727 * console.h (struct console_methods):
11728 New method make_dialog_box_internal supersedes older
11729 popup_dialog_box method.
11732 Define many new errors, part of new structured errors.
11734 * data.c (init_errors_once_early):
11735 * data.c (syms_of_data):
11738 * device-msw.c (mswindows_init_device):
11739 [[[5]]]: Cleanup to support NT 3.51.
11741 * device-msw.c (decode_devmode): Cleanup.
11743 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11744 * device-msw.c (mswindows_handle_print_dialog_box):
11745 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11746 * device-msw.c (syms_of_device_mswindows):
11747 Delete the dialog box primitives recently introduced by Kirill and
11748 instead interface to general dialog box interface.
11751 * device-x.c (compute_x_app_name):
11752 * device-x.c (x_init_device):
11753 * device-x.c (Fx_valid_keysym_name_p):
11754 * device-x.c (Fx_set_font_path):
11758 * device.h (wrap_device): New.
11759 First of its kind; meant to replace XSETDEVICE.
11761 * dialog-msw.c: Many file-dialog symbols.
11763 * dialog-msw.c (mswindows_register_popup_frame): New.
11764 * dialog-msw.c (mswindows_is_dialog_msg): New.
11765 For supporting kbd traversal in dialog boxes.
11767 * dialog-msw.c (dialog_proc):
11768 Support hitting ESC in dialogs.
11770 * dialog-msw.c (struct):
11771 Common dialog box errors.
11773 * dialog-msw.c (handle_file_dialog_box): New.
11774 Add file dialog code.
11776 * dialog-msw.c (handle_question_dialog_box):
11777 Redo existing code to support new question dialog syntax.
11779 * dialog-msw.c (console_type_create_dialog_mswindows):
11780 We support new dialog console method.
11782 * dialog-msw.c (syms_of_dialog_mswindows):
11783 * dialog-msw.c (vars_of_dialog_mswindows):
11784 New file dialog symbols, vars.
11787 * dialog-x.c (maybe_run_dbox_text_callback):
11788 * dialog-x.c (dbox_descriptor_to_widget_value):
11789 * dialog-x.c (x_make_dialog_box_internal):
11790 * dialog-x.c (console_type_create_dialog_x):
11791 Mule-ize entire file.
11792 Redo to support question dialog syntax.
11796 * dialog.c (Fmake_dialog_box_internal):
11797 * dialog.c (syms_of_dialog):
11798 Kill old popup-dialog-box, replace with new primitive.
11799 Just call device method or signal error.
11801 * eldap.c (Fldap_open):
11802 * eldap.c (Fldap_search_basic):
11803 * eldap.c (Fldap_add):
11804 * eldap.c (Fldap_modify):
11809 * emacs.c (make_arg_list_1):
11810 * emacs.c (make_arg_list):
11811 Mule-ize call to dll_init().
11815 * emacs.c (make_argc_argv):
11816 * emacs.c (free_argc_argv):
11817 * emacs.c (init_cmdargs):
11818 * emacs.c (main_1):
11819 * emacs.c (Fkill_emacs):
11820 * emacs.c (Fdump_emacs):
11821 Update comments about what can be used in syms_* etc.
11822 Call init_win32() when necessary.
11823 Fix up MS Win dialog box in kill-buffer to actually work right.
11834 * eval.c (condition_case_3):
11836 * eval.c (function_argcount):
11837 * eval.c (funcall_lambda):
11840 * eval.c (type_error): New.
11841 * eval.c (maybe_type_error): New.
11842 * eval.c (continuable_type_error): New.
11843 * eval.c (maybe_continuable_type_error): New.
11844 * eval.c (type_error_with_frob): New.
11845 * eval.c (maybe_type_error_with_frob): New.
11846 * eval.c (continuable_type_error_with_frob): New.
11847 * eval.c (maybe_continuable_type_error_with_frob): New.
11848 New functions for use with structured errors.
11851 * event-Xt.c (x_event_to_emacs_event):
11852 Buttons are now modifiers too.
11854 * event-Xt.c (emacs_Xt_current_event_timestamp):
11855 Implement new event method.
11856 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
11859 * event-msw.c (ntpipe_shove_writer): [5].
11860 * event-msw.c (mswindows_enqueue_mouse_button_event):
11861 * event-msw.c (mswindows_drain_windows_queue):
11862 * event-msw.c (mswindows_wnd_proc): [7].
11863 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
11864 * event-msw.c (mswindows_modifier_state):
11865 Throughout: support new button modifiers.
11867 * event-msw.c (emacs_mswindows_current_event_timestamp):
11868 Implement new event method.
11869 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
11872 * event-stream.c (event_stream_current_event_timestamp): New.
11873 * event-stream.c (maybe_kbd_translate): New functionality.
11874 * event-stream.c (vars_of_event_stream):
11875 Document new kbd-translate-table functionality.
11877 * event-stream.c (Fcurrent_event_timestamp): New.
11878 New primitive for use in fabricated events.
11879 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
11881 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
11884 * events.c (Fmake_event):
11885 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
11889 * events.c (format_event_object): fix gcc warnings.
11891 * events.c (Fevent_timestamp): Document new primitives.
11893 * events.c (TIMESTAMP_HALFSPACE): New.
11895 * events.c (Fevent_timestamp_lessp): New. New primitive for
11896 comparing timestamps correctly (half-space algorithm).
11898 * events.c (Fevent_modifier_bits): Doc fix.
11900 * events.c (Fevent_modifiers): Major doc addition.
11901 * events.c (event_x_y_pixel_internal): Typo fix.
11902 * events.c (syms_of_events): Declare new primitives.
11905 Update long comment for button modifiers, timestamps.
11907 * events.h (struct event_stream):
11908 New current_event_timestamp method.
11911 * extents.c (extent_in_region_p):
11912 * extents.c (decode_extent):
11913 * extents.c (Fset_extent_parent):
11914 * extents.c (decode_map_extents_flags):
11918 * extents.c (struct extent_at_arg):
11919 * extents.c (decode_extent_at_flag):
11920 * extents.c (extent_at_mapper):
11921 * extents.c (extent_at_bytind):
11922 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
11923 * extents.c (Fextents_at): New primitive. [9].
11924 * extents.c (symbol_to_glyph_layout): [9].
11925 Support new primitive `extents-at'.
11928 * extents.c (get_text_property_bytind):
11929 extent_at_bytind has another arg.
11932 * extents.c (syms_of_extents): New primitive.
11934 * file-coding.c (Fmake_coding_system): [1].
11935 * file-coding.c (subsidiary_coding_system): fix gcc warning
11936 * file-coding.c (syms_of_file_coding): [2].
11938 * fileio.c (Fexpand_file_name):
11939 * fileio.c (Fsysnetunam):
11940 * fileio.c (Ffile_exists_p):
11941 * fileio.c (Ffile_executable_p):
11942 * fileio.c (Fverify_visited_file_modtime):
11945 * fileio.c (syms_of_fileio): [2].
11947 * filelock.c (lock_file_1):
11948 * filelock.c (current_lock_owner):
11949 * filelock.c (lock_if_free):
11950 * filelock.c (lock_file):
11951 * filelock.c (unlock_file):
11954 * fns.c (concat): Fix gcc warning.
11957 * fns.c (Fold_member):
11959 * fns.c (Fold_memq):
11960 * fns.c (memq_no_quit):
11962 * fns.c (Fold_assoc):
11964 * fns.c (Fold_assq):
11965 * fns.c (assq_no_quit):
11967 * fns.c (Fold_rassoc):
11969 * fns.c (Fold_rassq):
11970 * fns.c (rassq_no_quit):
11972 * fns.c (Fold_delete):
11974 * fns.c (Fold_delq):
11975 * fns.c (delq_no_quit):
11976 * fns.c (Fremassoc):
11977 * fns.c (Fremassq):
11978 * fns.c (remassq_no_quit):
11979 * fns.c (Fremrassoc):
11980 * fns.c (Fremrassq):
11981 * fns.c (remrassq_no_quit):
11982 * fns.c (Freverse):
11986 * frame-msw.c (mswindows_init_frame_1):
11987 * frame-msw.c (mswindows_delete_frame):
11988 Register popups with dialog code so keyboard traversing works.
11990 * frame-tty.c (tty_raise_frame_no_select): [1].
11993 * frame-x.c (x_set_frame_text_value):
11994 * frame-x.c (x_set_frame_properties):
11995 * frame-x.c (x_create_widgets):
11999 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12001 * frame.h (wrap_frame): New.
12002 Macro like wrap_device.
12005 * general.c (SYMBOL):
12006 * general.c (syms_of_general):
12007 Major reorg. This is now just a wrapper and symbols themselves
12008 are listed in general-slots.h.
12010 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12011 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12013 * glyphs-msw.c (mswindows_native_layout_instantiate):
12014 Add DS_CONTROL so keyboard traversal will work.
12017 * glyphs-widget.c (syms_of_glyphs_widget):
12018 Move some symbols to general-slots.h.
12021 * glyphs-x.c (xbm_instantiate_1):
12022 * glyphs-x.c (x_xbm_instantiate):
12023 * glyphs-x.c (x_xface_instantiate):
12024 * glyphs-x.c (autodetect_instantiate):
12025 * glyphs-x.c (cursor_font_instantiate):
12026 * glyphs-x.c (x_update_widget):
12027 * glyphs-x.c (x_widget_instantiate):
12028 * glyphs.c (bitmap_to_lisp_data):
12029 * glyphs.c (pixmap_to_lisp_data):
12032 * glyphs.c (syms_of_glyphs):
12036 * gui-x.c (print_widget_value):
12037 * gui-x.c (menu_separator_style_and_to_external):
12038 * gui-x.c (add_accel_and_to_external):
12039 * gui-x.c (button_item_to_widget_value):
12040 * gui-x.c (gui_items_to_widget_values_1):
12041 * gui-x.c (gui_items_to_widget_values):
12042 * gui-x.c (syms_of_gui_x):
12043 * gui-x.c (vars_of_gui_x):
12044 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12048 Muleize, prototype changes matching gui-x.c.
12051 * gui.c (separator_string_p):
12052 * gui.c (gui_item_add_keyval_pair):
12053 * gui.c (make_gui_item_from_keywords_internal):
12054 * gui.c (signal_too_long_error):
12055 * gui.c (parse_gui_item_tree_item):
12056 * gui.c (syms_of_gui):
12057 * gui.c (vars_of_gui):
12059 menu-no-selection-hook moved here (used by MSWin).
12060 Move some symbols to general-slots.h.
12064 * insdel.c (get_buffer_pos_char):
12065 * insdel.c (get_buffer_range_char):
12068 * keymap.c (keymap_lookup_directly):
12069 * keymap.c (keymap_store):
12070 * keymap.c (ensure_meta_prefix_char_keymapp):
12071 * keymap.c (describe_map):
12073 Support new button modifiers.
12075 * lisp-disunion.h (wrap_object):
12076 * lisp-disunion.h (XSETOBJ):
12077 Rename make_obj to wrap_object.
12080 * lisp-union.h (make_int):
12081 * lisp-union.h (make_char):
12082 Support wrap_object.
12085 * lisp.h (LIST_LOOP):
12086 * lisp.h (EXTERNAL_LIST_LOOP):
12087 * lisp.h (LIST_LOOP_2):
12088 * lisp.h (EXTERNAL_LIST_LOOP_1):
12089 * lisp.h (EXTERNAL_LIST_LOOP_2):
12090 * lisp.h (EXTERNAL_LIST_LOOP_3):
12091 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12092 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12093 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12094 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12095 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12096 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12097 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12098 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12099 * lisp.h (struct Lisp_Symbol):
12100 * lisp.h (maybe_continuable_error_with_frob):
12101 Fix up section comments.
12102 Add new types for char to indicate usage.
12103 Delete symbols auto-generated from general-slots.h.
12104 Add prototypes for structured error functions.
12105 Add long comments describing looping macros and change interface
12106 so that lvalues are automatically declared.
12107 Add NO_DECLARE macro in case callers want to declare lvalues
12110 * lread.c (read_syntax_error):
12111 * lread.c (continuable_read_syntax_error):
12112 * lread.c (read_structure):
12113 * lread.c (sequence_reader):
12114 * lread.c (read_list_conser):
12115 * lread.c (read_compiled_function):
12116 Rename syntax_error and continuable_syntax_error to avoid clash
12117 with same-named structured error functions.
12119 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12120 * menubar-msw.c (populate_menu_add_item):
12121 * menubar-msw.c (populate_or_checksum_helper):
12126 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12127 Mule-ize whole file.
12129 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12131 * mule-charset.c (Fmake_charset):
12132 * mule-wnnfns.c (Fwnn_set_param):
12135 * ntproc.c (create_child):
12136 * ntproc.c (Fwin32_set_current_locale):
12137 Add comments portending doom.
12140 * objects-msw.c (old_font_enum_callback_2):
12141 * objects-msw.c (font_enum_callback_1):
12142 * objects-msw.c (mswindows_enumerate_fonts):
12146 * objects-x.c (allocate_nearest_color):
12147 * objects-x.c (x_parse_nearest_color):
12148 * objects-x.c (x_initialize_color_instance):
12149 * objects-x.c (x_print_color_instance):
12150 * objects-x.c (x_finalize_color_instance):
12151 * objects-x.c (x_valid_color_name_p):
12152 * objects-x.c (x_initialize_font_instance):
12153 * objects-x.c (x_print_font_instance):
12154 * objects-x.c (valid_x_font_name_p):
12155 * objects-x.c (truename_via_FONT_prop):
12156 * objects-x.c (truename_via_random_props):
12157 * objects-x.c (truename_via_XListFonts):
12158 * objects-x.c (x_font_truename):
12159 * objects-x.c (x_font_instance_truename):
12160 * objects-x.c (x_font_instance_properties):
12161 * objects-x.c (x_list_fonts):
12162 * objects-x.c (x_find_charset_font):
12163 Mule-ize entire file.
12170 * print.c (std_handle_out_external):
12171 * print.c (debug_print_no_newline):
12172 * print.c (syms_of_print):
12173 Output to all debugger kinds in debug-print.
12174 Fix console-output code under MSWin to actually work.
12176 * process-nt.c (send_signal):
12177 * process-nt.c (nt_create_process):
12178 Use newer Unicode macros.
12180 * process-unix.c (unix_create_process):
12181 * process-unix.c (unix_canonicalize_host_name):
12182 * process-unix.c (unix_open_network_stream):
12188 * search.c (syms_of_search):
12191 * select-msw.c (mswindows_destroy_selection):
12194 * select-x.c (symbol_to_x_atom):
12197 * select.c (syms_of_select):
12200 * sound.c (Fplay_sound_file):
12204 * specifier.c (decode_specifier_type):
12205 * specifier.c (Fvalid_specifier_locale_type_p):
12206 * specifier.c (check_valid_locale_or_locale_type):
12207 * specifier.c (decode_locale):
12208 * specifier.c (decode_locale_type):
12209 * specifier.c (decode_locale_list):
12210 * specifier.c (check_valid_domain):
12211 * specifier.c (decode_specifier_tag_set):
12212 * specifier.c (Fcanonicalize_tag_set):
12213 * specifier.c (Fdefine_specifier_tag):
12214 * specifier.c (Fspecifier_tag_predicate):
12215 * specifier.c (check_valid_inst_list):
12216 * specifier.c (check_valid_spec_list):
12217 * specifier.c (decode_how_to_add_specification):
12218 * specifier.c (check_modifiable_specifier):
12219 * specifier.c (specifier_add_spec):
12220 * specifier.c (boolean_validate):
12221 * specifier.c (display_table_validate):
12224 * specifier.c (syms_of_specifier):
12225 Move some symbols to general-slots.h.
12229 * symbols.c (Fmapatoms):
12230 * symbols.c (Fapropos_internal):
12233 * symbols.c (set_default_buffer_slot_variable):
12234 * symbols.c (set_default_console_slot_variable):
12237 * symbols.c (defsymbol_massage_name_1):
12238 * symbols.c (defkeyword_massage_name):
12239 * symbols.c (deferror_1):
12240 * symbols.c (deferror):
12241 * symbols.c (deferror_massage_name_and_message):
12243 * symeval.h (DEFSYMBOL):
12244 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12246 * symbols.c (syms_of_symbols):
12250 * symsinit.h (init_win32): New.
12251 Also new is syms_of_dialog_mswindows.
12254 Add new Unicode macros, missing Cygwin wide-char functions,
12255 convenience conversion macros for Qmswindows_tstr, macros for
12256 encapsulating required MSWin <-> Cygwin filename conversions,
12257 prototype for dynamically-extracted (not in NT 3.51) functions.
12262 * tooltalk.c (Fadd_tooltalk_message_arg):
12263 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12264 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12267 * tooltalk.c (syms_of_tooltalk):
12271 * unexnt.c (unexec):
12272 Fix up headers, declaration of unexec() to be more standard.
12274 2000-07-20 Martin Buchholz <martin@xemacs.org>
12276 * offix.h: Revert change to guard macros - they're used in offix.c!
12278 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12280 * lisp.h: Defsubred Fdelete.
12282 * console-msw.h: (msprinter_default_printer): Added.
12284 * console-msw.c (msprinter_canonicalize_console_connection):
12285 (msprinter_canonicalize_device_connection): Added.
12287 * device-msw.c (msprinter_default_printer):
12288 (Fmswingows_get_default_printer):
12289 (signal_enum_priner_error):
12290 (Fmswingows_printer_list): Added.
12292 2000-07-19 Martin Buchholz <martin@xemacs.org>
12294 * XEmacs 21.2.35 is released.
12296 2000-07-19 Martin Buchholz <martin@xemacs.org>
12298 * select-x.c (x_handle_selection_request):
12299 Text selected in xemacs and pasted into xterm failed to appear.
12300 Spelling fixes and cosmetic changes.
12302 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12304 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12305 XEmacs frame (fix for doubling chars in dialog boxes).
12307 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12309 * select.c (select_convert_in, select_convert_out):
12310 Don't call intern() every time.
12312 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12313 * select.c (vars_of_select): Initialise them.
12315 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12317 * select.c (selection-coercible-types): New.
12319 * select.c (own-selection-internal):
12320 * select.c (get-selection-internal):
12321 MULE bug fix - these should default to COMPOUND_TEXT and not
12322 STRING for MULE. I think.
12324 * select.c (select_convert_out): Use selection-coercible-types
12325 to find types that we can attempt to perform coercions on.
12327 2000-07-18 Martin Buchholz <martin@xemacs.org>
12331 Add coding: cookie to identify encoding.
12333 * mule-canna.c (CANNA_mode_keys): make static.
12334 Use proper prototypes, even for functions of no arguments.
12335 Remove external prototype for Fding().
12337 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12339 * select.c (syms_of_select): Add missing DEFSUBR.
12341 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12343 * select.c (get_selection_internal, own_selection_internal):
12344 Make the type default to STRING, rather than placing a nil type
12345 into Vselection_alist.
12347 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12349 * gpmevent.c (tty_selection_exists_p):
12350 * gpmevent.c (tty_own_selection):
12351 Updated parameter lists.
12353 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12355 * select.h (selection-alist): Removed declaration.
12357 * select.h (get_local_selection):
12358 * select.c (get_local_selection):
12361 * select.h (convert_selection): Removed declaration.
12362 * select.c (convert_selection): Removed.
12363 This function belongs in Lisp.
12365 * select.h (select_convert_in): Declare.
12366 * select.h (select_convert_out): Declare.
12367 * select.c (select_convert_in): New.
12368 * select.c (select_convert_out): New.
12369 New conversion functions for other files to call.
12371 * select.h (select_notify_buffer_kill): Declare.
12372 * select.c (select_notify_buffer_kill): New.
12373 New functions that get called from kill-buffer.
12375 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12376 X-specific lisp code.
12378 * select.h: Declare some of the lisp-visible functions for
12381 * select.c (clean_local_selection_data): Removed. This was
12382 a disgusting function, and previously should have been in
12383 select-x.c in any case. The functionality is now provided
12384 in select-convert-from-integer (select.el).
12386 * select.c (available-selection-types): Fixed stupidity where
12387 INTEGER and ATOM got added twice. Also add STRING when we see an
12390 * select.c (get-selection-internal): Removed symbol stripping. No
12391 longer causes conversion when data comes from the internal cache.
12393 * select.c (syms_of_select): Added new functions.
12395 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12396 error checking - previously this called abort!
12398 * select-x.c (x_own_selection): Changed comment.
12400 * select-x.c (x_handle_selection_request): Use select_convert_out.
12401 Don't mess with selection-alist; it's an internal variable of select.c.
12403 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12405 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12406 rather than messing with selection-alist.
12408 * select-msw.c (mswindows_get_foreign_selection):
12409 Use TO_INTERNAL_FORMAT rather than hacking.
12411 2000-07-14 Martin Buchholz <martin@xemacs.org>
12413 * process-unix.c (unix_open_multicast_group):
12414 (unix_open_multicast_group): Remove useless casts.
12416 2000-07-13 Martin Buchholz <martin@xemacs.org>
12418 * sound.c (Fplay_sound): Fix `unused variable' warning.
12420 * emacs.c (main): Use correct type for _environ on SCO5.
12422 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12424 * console.h (own_selection_method):
12425 * console.h (selection_exists_p_method):
12426 * console.h (available_selection_types_method): New.
12427 * console.h (register_selection_data_type_method): New.
12428 * console.h (selection_data_type_name): New.
12430 * console-msw.h (mswindows_destroy_selection): Declare it. New
12431 function & alist to track GlobalAlloc()'d handles that need
12432 releasing when the clipboard data gets replaced or emptied.
12434 * event-msw.c (mswindows_wnd_proc): Call it.
12436 * lisp.h, general.c (Qappend): New symbol representing a
12439 * select.c (own-selection-internal):
12440 * select.c (selection-exists-p):
12441 * select.c (available-selection-types): New.
12442 * select.c (register-selection-data-type): New.
12443 * select.c (selection-data-type-name): New. New functions to deal
12444 with device-specific selection data formats.
12445 * select.c (selection-converter-out-alist): Renamed.
12446 * select.c (selection-converter-in-alist): New.
12447 * select.c (selection-appender-alist): New. Added new alists.
12448 * select.c (syms_of_select, vars_of_select): Added new symbols &
12450 * select.c (get_local_selection): Split.
12451 * select.c: Removed spurious type checking - selections may now be
12452 of any type, not just strings.
12453 * select.c (own-selection-internal):
12455 * select.h, select.c (convert_selection): New. Created
12456 convert_selection() function based on get_local_selection().
12457 * select.h, select.c (QCF_*): New symbols representing mswindows
12459 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12460 symbols representing `how-to-add' modes.
12462 * select-msw.c (x_sym_p): New.
12463 * select-msw.c (symbol_to_ms_cf): New.
12464 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12465 symbols & clipboard formats. Can also handle string names.
12466 * select-msw.c (mswindows_own_selection):
12467 * select-msw.c (mswindows_selection_exists_p):
12468 Added `data-type' parameter. Use it.
12469 * select-msw.c (mswindows_available_selection_types): New.
12470 * select-msw.c (mswindows_register_selection_data_type): New.
12471 * select-msw.c (mswindows_selection_data_type_name): New.
12472 * select-msw.c (mswindows_own_selection):
12473 * select-msw.c (mswindows_get_foreign_selection):
12474 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12475 * select-msw.c (console_create_select_mswindows): Added new methods.
12476 * select-msw.c (mswindows_destroy_selection): New.
12477 * select-msw.c (Vhandle_alist): New list.
12478 * select-msw.c (mswindows_own_selection):
12480 * select-x.c (x_own_selection):
12481 * select-x.c (x_selection_exists_p):
12482 * select-x.c: Added some comments about maybe using new
12484 * select-x.c (x_own_selection):
12486 * specifier.c: Remove definition of Qappend (now in general.c)
12487 * specifier.c (syms_of_specifier): Remove Qappend.
12489 2000-07-12 Martin Buchholz <martin@xemacs.org>
12491 * config.h.in: Add socklen_t.
12493 * s/decosf4-0.h: No special compiler flags needed or desired.
12494 In particular, undefine _BSD for DEC OSF 4.0.
12496 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12498 * redisplay-msw.c (msprinter_frame_output_end): Added.
12499 (console_type_create_redisplay_mswindows): Referred the above.
12501 * frame.c (setup_frame_without_minibuffer): Do not create a
12502 default minibuffer frame on a printer device.
12504 * frame-msw.c (apply_dc_geometry): Added.
12505 (msprinter_start_page):
12506 (msprinter_init_frame_3):
12507 (msprinter_eject_page): Use it.
12509 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12510 and removed residual duplex and orientation properties.
12512 2000-07-11 Martin Buchholz <martin@xemacs.org>
12514 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12516 * unexalpha.c: Remove system prototypes from C sources!
12518 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12520 * eval.c: Remove references to M-x edit-options in DEFUNs for
12521 `defvar' and `defconst'.
12523 2000-07-09 Martin Buchholz <martin@xemacs.org>
12525 * config.h.in: Remove SMART_INCLUDE hackery.
12527 PostgreSQL hacking:
12528 * config.h.in: Don't use SMART_INCLUDE.
12530 * postgresql.h: Include libpq-fe.h here. Fix typo.
12531 * inline.c: Simply #include "postgresql.h"
12533 - Don't use SMART_INCLUDE
12534 - Use simply "const".
12535 - Use standard doc string conventions.
12536 - Use correct type for result of PQstatus.
12538 2000-07-09 Martin Buchholz <martin@xemacs.org>
12540 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12542 C++ compilation changes.
12543 * config.h.in (EXTERN_C): Define.
12544 * config.h.in (not): This is also a C++ keyword.
12545 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12546 * cm.c: Use EXTERN_C.
12547 * redisplay-tty.c: Use EXTERN_C.
12548 * sysdep.c: Use EXTERN_C. Remove Gould support.
12550 2000-07-09 Martin Buchholz <martin@xemacs.org>
12552 * general.c: Remove duplicate definition for Qfunction.
12554 2000-07-08 Ben Wing <ben@xemacs.org>
12556 * device-msw.c (msprinter_init_device):
12557 * device-msw.c (sync_printer_with_devmode):
12558 * device-msw.c (handle_devmode_changes):
12559 * device-msw.c (print_dialog_worker):
12560 * device-msw.c (Fmsprinter_apply_settings):
12561 * device-msw.c (hash_devmode):
12562 * device-msw.c (Fmsprinter_settings_despecialize):
12563 use Qmswindows_tstr, not Qctext.
12565 * vm-limit.c (check_memory_limits):
12566 avoid infinite loop printing warning messages.
12568 2000-07-05 Craig Lanning <lanning@scra.org>
12570 * Makefile.in.in: Add support for including the Windows resources
12571 when building with the cygwin and mingw targets.
12573 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12574 not set or not correct.
12575 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12576 (init_initial_directory): Don't try to use $PWD on the
12577 WIN32_NATIVE target.
12580 [[Add -mwindows to eliminate console window.]] not required --ben
12581 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12582 (MAIL_USE_POP): removed; now handled by configure.
12584 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12585 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12586 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12587 (MAIL_USE_POP): removed; now handled by configure.
12588 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12589 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12590 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12592 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12593 up from <winsock.h> via systime.h.
12594 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12595 (getpagesize): from Dan Holmsand, added.
12596 Added #endif which was left dangling by Ben's mega patch; added
12597 comment to help prevent this in the future.
12599 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12601 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12603 * console-msw.h (struct mswindows_device): Removed unnecessary
12604 cached device geometry values.
12605 Added update_tick and an accessor macro.
12606 (Lisp_Devmode): Added lrecord declaration.
12607 (struct msprinter_device): Contain devmode as a Lisp object.
12608 Added mswindows_get_selected_frame_hwnd();
12610 * console.h (struct console_methods): Indentation nitpicking.
12612 * device-msw.c (mswindows_init_device): Do not initialize geometry
12613 cache. Initialize update tick.
12614 (mswindows_device_system_metrics): Ask the device for its geometry.
12615 (global_free_2_maybe):
12616 (devmode_to_hglobal):
12617 (handle_printer_changes):
12618 (ensure_not_printing):
12619 (print_dialog_worker):
12620 (Fmsprinter_print_setup_dialog):
12621 (Fmsprinter_print_dialog):
12622 (plist_get_margin):
12623 (plist_set_margin):
12624 (Fmsprinter_page_setup_dialog): Added functions.
12625 (sync_printer_with_devmode):
12626 (handle_devmode_changes):
12627 (Fmsprinter_get_settings):
12628 (Fmsprinter_select_settings):
12629 (Fmsprinter_apply_settings):
12630 (allocate_devmode):
12631 (Fmsprinter_settings_copy):
12632 (Fmsprinter_settings_despecialize):
12634 (finalize_devmode):
12636 (hash_devmode): Added functions
12637 (syms_of_device_mswindows): Init devmode lrecord class.
12639 * device.h: Added an exfun for find-device.
12641 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12642 geometry; although, recreate the device compatible DC.
12644 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12645 (msprinter_init_frame_3):
12646 (msprinter_frame_property):
12647 (msprinter_internal_frame_property_p):
12648 (msprinter_frame_properties):
12649 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12650 print job properties (will move to device settings).
12652 * lisp.h: Added symbols.
12654 * general.c (syms_of_general): Declared them.
12656 * hash.c (string_hash): Added.
12658 * lrecord.h (lrecord_type): Added devmode lrecord type.
12660 2000-07-02 Mike Sperber <mike@xemacs.org>
12662 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12665 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12667 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12670 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12672 * data.c (Fstring_to_number): Don't recognize floating point if
12675 2000-06-22 Martin Buchholz <martin@xemacs.org>
12677 * glyphs-widget.c (tab_control_query_geometry):
12678 (widget_query_geometry):
12679 (button_query_geometry):
12680 * glyphs.c (text_query_geometry):
12681 Enforce type correctness.
12683 2000-06-18 Martin Buchholz <martin@xemacs.org>
12685 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12686 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12688 2000-06-17 Martin Buchholz <martin@xemacs.org>
12690 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12691 conflicts with gcc's fixincluded version of FOO.h.
12693 * glyphs.h (image_instance_geometry): Remove trailing `,'
12695 2000-06-08 Mike Alexander <mta@arbortext.com>
12697 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12698 (shove_thread): Don't write the same output twice
12699 (make_ntpipe_output_stream): Increase priority of shove thread
12700 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12702 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12705 2000-06-12 Ben Wing <ben@xemacs.org>
12707 * s\mingw32.h (sigset):
12708 * s\windowsnt.h (sigset):
12709 rename msw_ to mswindows_ for consistency with general convention.
12711 2000-06-12 Ben Wing <ben@xemacs.org>
12714 * console-msw.c (mswindows_get_console_hwnd):
12715 * console-msw.c (mswindows_ensure_console_allocated):
12716 * console-msw.c (mswindows_hide_console):
12717 * console-msw.c (mswindows_show_console):
12718 * console-msw.c (mswindows_ensure_console_buffered):
12719 * console-msw.c (mswindows_output_console_string):
12720 * console-msw.c (mswindows_windows9x_p):
12722 * device-msw.c (mswindows_get_workspace_coords):
12723 * device-msw.c (mswindows_device_system_metrics):
12724 * dialog-msw.c (mswindows_popup_dialog_box):
12725 * event-msw.c (mswindows_wnd_proc):
12726 * frame-msw.c (mswindows_size_frame_internal):
12727 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12728 * menubar-msw.c (displayable_menu_item):
12729 * menubar-msw.c (mswindows_char_is_accelerator):
12731 * nt.c (mswindows_sigset):
12732 * nt.c (mswindows_sigrelse):
12733 * nt.c (mswindows_sigpause):
12734 * nt.c (mswindows_raise):
12735 * nt.c (timer_proc):
12737 * ntproc.c (find_child_console):
12738 * ntproc.c (sys_kill):
12740 * print.c (std_handle_out_external):
12741 * process-nt.c (find_child_console):
12742 * process-nt.c (send_signal_the_95_way):
12743 * process-nt.c (ensure_console_window_exists):
12744 * process-nt.c (nt_create_process):
12746 rename msw_ to mswindows_ for consistency with general convention.
12750 include nt.h, not syswindows.h.
12752 * nt.c (mswindows_fstat):
12753 * nt.c (mswindows_stat):
12754 prefix mswindows_ instead of attempting to directly override the
12755 library functions. fix declarations.
12758 include syswindows.h. move some sysdep.h stuff here.
12761 include syswindows.h, not <windows.h>.
12769 * sysdep.c (sys_fstat):
12770 * sysdep.c (sys_stat):
12771 call mswindows versions when appropriate.
12774 move mswin decls to nt.h.
12777 add long comment describing appropriate use of the various windows
12780 2000-06-11 Ben Wing <ben@xemacs.org>
12782 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12784 2000-06-10 Ben Wing <ben@xemacs.org>
12786 * Makefile.in.in (release):
12787 Correction to make sure xemacs.exe always dumped when correct.
12791 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12793 * buffer.c (set_buffer_internal):
12794 [[[[2]]]]: Remove HAVE_FEP code.
12796 * buffer.c (init_initial_directory):
12800 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12804 * callproc.c (call_process_cleanup):
12805 * callproc.c (Fold_call_process_internal):
12806 * callproc.c (child_setup):
12807 * callproc.c (getenv_internal):
12808 * callproc.c (init_callproc):
12809 * callproc.c (vars_of_callproc):
12810 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12811 __CYGWIN32__ -> CYGWIN.
12812 DOS_NT -> WIN32_NATIVE.
12813 Remove MSDOS support/references, converting to WIN32_NATIVE
12815 __MINGW32__ -> MINGW.
12816 Fix windows.h includes.
12817 Remove bogus HAVE_NTGUI.
12823 mswindows_message_outputted added for use in allowing startup
12824 errors on the console to be seen.
12826 * console-msw.c (msw_ensure_console_allocated):
12827 * console-msw.c (msw_output_console_string):
12828 * console-msw.c (DHEADER):
12829 * console-msw.c (DOPAQUE_DATA):
12830 * console-msw.c (DEVENT):
12831 * console-msw.c (DCONS):
12832 * console-msw.c (DCONSCDR):
12833 * console-msw.c (DSTRING):
12834 * console-msw.c (DVECTOR):
12835 * console-msw.c (DSYMBOL):
12836 * console-msw.c (DSYMNAME):
12839 * console-stream.c (stream_init_console):
12840 Fix text/binary problems.
12843 * device-msw.c (mswindows_finish_init_device):
12844 * device-msw.c (mswindows_delete_device):
12847 * device.c (handle_asynch_device_change):
12851 * dgif_lib.c (DGifOpenFileName):
12852 * dgif_lib.c (DGifOpenFileHandle):
12853 * dgif_lib.c (DGifGetLine):
12854 * dgif_lib.c (DGifGetPixel):
12855 Added config.h/lisp.h, fix up includes.
12862 * dired.c (file_name_completion):
12863 * dired.c (Ffile_attributes):
12864 * dired.c (syms_of_dired):
12868 * dumper.c (pdump_file_unmap):
12869 * dumper.c (pdump_load):
12873 * editfns.c (Ftemp_directory):
12874 * editfns.c (user_login_name):
12875 * editfns.c (Fuser_real_login_name):
12876 * editfns.c (get_home_directory):
12879 * elhash.c (finish_marking_weak_hash_tables):
12880 [[[[5]]]]: Fix GCC warnings.
12883 * emacs.c (mswindows_handle_hardware_exceptions):
12884 * emacs.c (make_arg_list_1):
12885 * emacs.c (main_1):
12886 * emacs.c (Fkill_emacs):
12887 * emacs.c (Fdump_emacs):
12889 Fix problems with nested crashes, add long comment.
12891 * event-Xt.c (init_event_Xt_late):
12895 * event-msw.c (mswindows_dde_callback):
12896 * event-msw.c (mswindows_handle_sticky_modifiers):
12897 * event-msw.c (mswindows_wnd_proc):
12901 * events.c (character_to_event):
12905 * fileio.c (Ffile_name_directory):
12906 * fileio.c (Ffile_name_nondirectory):
12907 * fileio.c (directory_file_name):
12908 * fileio.c (Fexpand_file_name):
12909 * fileio.c (Fsubstitute_in_file_name):
12910 * fileio.c (Ffile_name_absolute_p):
12911 * fileio.c (check_executable):
12912 * fileio.c (Ffile_readable_p):
12913 * fileio.c (Ffile_accessible_directory_p):
12914 * fileio.c (Ffile_modes):
12915 * fileio.c (Funix_sync):
12916 * fileio.c (vars_of_fileio):
12919 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
12921 Expand getdefdir defn.
12922 Fix bogus rename() comment.
12924 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
12925 to use standard XEmacs include files, e.g. sysfile.h, rather
12926 than system-specific includes.
12932 * frame.c (vars_of_frame):
12936 * getloadavg.c (getloadavg):
12938 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
12939 (We don't use it elsewhere in the code; just add a comment.)
12946 * glyphs-msw.c (mswindows_resource_instantiate):
12949 * glyphs-x.c (x_native_layout_instantiate):
12952 * gui-msw.c (Fmswindows_shell_execute):
12961 * lread.c (locate_file_in_directory_mapper):
12968 * mem-limits.h (get_lim_data):
12980 * nt.c (rva_to_section):
12981 * nt.c (mswindows_executable_type):
12983 Fix closedir() defn.
12986 [[[[8]]]]: *_OK defs moved to sysfile.h.
12995 * print.c (std_handle_out_external):
12999 * process-nt.c (nt_create_process):
13001 try to fix process quoting somewhat.
13003 * process-unix.c (unix_create_process):
13007 * process.c (vars_of_process):
13014 * realpath.c (xrealpath):
13017 * redisplay-tty.c (init_tty_for_redisplay):
13027 * sheap.c (more_static_core):
13028 * sheap.c (report_sheap_usage):
13032 * signal.c (alarm_signal):
13039 * strftime.c (zone_name):
13042 * symsinit.h (init_sunpro):
13046 commctrl.h not in Cygwin b20.1.
13049 * sysdep.c (endif):
13050 * sysdep.c (sys_subshell):
13051 * sysdep.c (init_baud_rate):
13052 * sysdep.c (emacs_get_tty):
13053 * sysdep.c (emacs_set_tty):
13054 * sysdep.c (tty_init_sys_modes_on_device):
13055 * sysdep.c (init_system_name):
13056 * sysdep.c (sys_open):
13057 * sysdep.c (interruptible_open):
13058 * sysdep.c (sys_fopen):
13059 * sysdep.c (sys_mkdir):
13060 * sysdep.c (sys_rename):
13061 * sysdep.c (get_process_times_1):
13068 * sysdir.h (DIRENTRY_NONEMPTY):
13071 * sysdll.c (dll_init):
13077 added text/binary defs.
13083 * sysproc.h (EDESTADDRREQ):
13084 * sysproc.h (poll_fds_for_input):
13101 Always define WIN32_LEAN_AND_MEAN.
13103 * unexcw.c (unexec):
13107 * unexec.c (copy_text_and_data):
13108 * unexec.c (adjust_lnnoptrs):
13112 * unexnt.c (_start):
13115 2000-06-07 Ben Wing <ben@xemacs.org>
13117 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13118 was used only as a model. We've long since extracted any useful
13119 logic or code out of this. (I just did an exhaustive search.)
13121 * s\msdos.h: Removed.
13123 * s\windows95.h: Removed.
13125 2000-06-10 Ben Wing <ben@xemacs.org>
13129 Don't use extern with fun defs.
13133 Remove nt\inc include.
13134 Remove getdisk, getdefdir. (The former is unused, the latter
13135 expanded in fileio.h.)
13138 * s\windowsnt.h (WIN32_NATIVE):
13139 * s\windowsnt.h (HAVE_STRCASECMP):
13141 Add long comment about preprocessor changes.
13142 Remove getdisk, getdefdir. (The former is unused, the latter
13143 expanded in fileio.h.)
13145 2000-06-10 Ben Wing <ben@xemacs.org>
13154 Remove bogus/unused NO_SOCK_SIGIO.
13156 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13158 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13161 2000-06-04 Mike Sperber <mike@xemacs.org>
13163 * casetab.c (set_case_table): For `set-standard-case-table',
13164 actually deposit the new case tables where the rest of XEmacs can
13167 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13169 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13171 2000-06-05 Ben Wing <ben@xemacs.org>
13173 * callproc.c (child_setup): Don't do close_load_descs() under
13174 MS Windows. Put in a comment explaining why.
13176 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13178 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13179 Toolkit shell" which breaks `kill-compilation' on Windows NT
13180 native, retaining STDERR handling improvements.
13182 2000-06-01 Andreas Jaeger <aj@suse.de>
13184 * s/s390.h: Support for S390, based on a patch by Martin
13185 Schwidefsky <schwidefsky@de.ibm.com>.
13187 2000-05-30 Andy Piper <andy@xemacs.org>
13189 * window.c (allocate_window):
13190 (make_dummy_parent):
13191 (Fset_window_configuration): use new hashtable type.
13193 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13194 (struct image_instantiator_methods):
13195 (struct Lisp_Image_Instance): make instance geometry signed.
13197 * glyphs.c (instantiate_image_instantiator):
13198 (image_instance_query_geometry):
13199 (image_instance_layout):
13200 (image_instance_layout):
13201 (query_string_geometry):
13202 (text_query_geometry):
13203 (image_instantiate):
13204 (image_instantiate):
13205 (cache_subwindow_instance_in_frame_maybe):
13206 (subwindow_query_geometry): make instance geometry signed.
13208 * glyphs-widget.c (widget_query_geometry):
13210 (button_query_geometry):
13211 (tree_view_query_geometry):
13212 (tab_control_query_geometry):
13213 (layout_query_geometry):
13215 (native_layout_layout): make instance geometry signed.
13217 2000-05-29 Olivier Galibert <galibert@pobox.com>
13219 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13222 * general.c (syms_of_general): Add Qfull_assoc symbol.
13224 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13226 (decode_weak_list_type): Decode full-assoc type.
13227 (encode_weak_list_type): Encode full-assoc type.
13228 (Fmake_weak_list): Update doc string.
13230 2000-05-30 Andy Piper <andy@xemacs.org>
13232 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13234 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13235 (decode_hash_table_weakness): ditto.
13236 (Fhash_table_weakness): ditto.
13237 (Fhash_table_type): ditto.
13238 (finish_marking_weak_hash_tables): ditto.
13239 (hash_table_weakness_validate): ditto.
13240 (syms_of_elhash): ditto.
13242 2000-05-28 Martin Buchholz <martin@xemacs.org>
13244 * XEmacs 21.2.34 is released.
13246 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13248 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13250 (updating_line_start_cache): Gone.
13251 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13252 generic code to force a minimum of 1 line laid out in the
13255 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13257 * glyphs.c (instantiate_image_instantiator): Check for initialized
13258 height & width no longer special cases IMAGE_NOTHING.
13259 (nothing_instantiate): Set height and width of instance.
13261 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13263 * unexelf.c (unexec): Search for ".data" section.
13264 Initialize new_data2_offset from old_data_index.
13265 Remove redundant check for ElfW.
13267 2000-05-23 Andy Piper <andy@xemacs.org>
13269 * glyphs.c (get_image_instantiator_governing_domain): allow more
13270 specific domains as the governing domain rather than expecting an
13271 exact match. This fixes problems with layouts.
13273 2000-05-22 Andy Piper <andy@xemacs.org>
13275 * redisplay-output.c (compare_runes): check for non-images
13277 * glyphs.c (set_glyph_dirty_p): ditto.
13278 (update_glyph_cachel_data): ditto.
13280 * glyphs-widget.c (layout_post_instantiate): ditto.
13281 (layout_post_instantiate): ditto.
13283 * event-msw.c (mswindows_wnd_proc): warning removal.
13285 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13287 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13289 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13291 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13293 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13294 (mswindows_executable_type): mingw32 now has enough headers for
13297 2000-05-20 Andy Piper <andy@xemacs.org>
13299 * console-msw.c (mswindows_output_last_error): ; -> ,
13301 2000-05-12 Andy Piper <andy@xemacs.org>
13303 * console-msw.c (FROB): compare ints with ints.
13305 2000-05-11 Andy Piper <andy@xemacs.org>
13307 * glyphs-x.c (x_finalize_image_instance): make minimal build
13310 2000-05-20 Ben Wing <ben@xemacs.org>
13313 * event-Xt.c (vars_of_event_Xt):
13314 move modifier-keys-are-sticky to event-stream.c.
13317 * event-msw.c (mswindows_enqueue_mouse_button_event):
13318 * event-msw.c (key_needs_default_processing_p):
13319 * event-msw.c (XEMSW_LCONTROL):
13320 * event-msw.c (mswindows_handle_sticky_modifiers):
13321 * event-msw.c (FROB):
13322 * event-msw.c (clear_sticky_modifiers):
13323 * event-msw.c (output_modifier_keyboard_state):
13324 * event-msw.c (output_alt_keyboard_state):
13325 * event-msw.c (mswindows_wnd_proc):
13326 * event-msw.c (mswindows_modifier_state):
13327 * event-msw.c (emacs_mswindows_handle_magic_event):
13328 implement sticky modifiers.
13331 * event-stream.c (vars_of_event_stream):
13332 move modifier-keys-are-sticky here.
13335 add CHECK_FUNCTION.
13338 implement map-range-table.
13341 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13343 * redisplay-tty.c (reset_tty_modes):
13344 (tty_redisplay_shutdown): Adjust argument type to
13345 tty_frame_output_end.
13347 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13349 * eval.c (Fbacktrace): Don't output a line with only right
13352 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13354 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13355 (Fpq_reset_poll): Ditto.
13357 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13359 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13361 2000-05-16 Ben Wing <ben@xemacs.org>
13364 * buffer.c (dfc_convert_to/from_internal_format):
13365 * buffer.c (reinit_vars_of_buffer):
13366 Fix conversion functions to allow reentrancy.
13369 * console-msw.c (mswindows_output_last_error):
13370 New fun, generally useful -- output a human-readable
13371 version of GetLastError() on the console.
13374 * console-msw.h (struct mswindows_frame):
13375 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13377 * console-stream.c (stream_output_begin):
13378 * console-stream.c (stream_output_end):
13379 * console-stream.c (stream_output_vertical_divider):
13380 * console-stream.c (stream_clear_region):
13381 * console-stream.c (stream_flash):
13382 * console-stream.c (console_type_create_stream):
13383 Delete blank stream methods, not needed.
13385 * console.h (struct console_methods):
13386 Split begin/end methods into window and frame.
13389 * event-msw.c (mswindows_handle_paint):
13390 * event-msw.c (output_alt_keyboard_state):
13391 * event-msw.c (mswindows_wnd_proc):
13392 * event-msw.c (vars_of_event_mswindows):
13393 Comment about problems with ignored-expose.
13394 Define mswindows-debug-events; not really implemented.
13396 * frame-msw.c (mswindows_init_frame_1):
13400 * glyphs-msw.c (begin_defer_window_pos):
13401 * glyphs-msw.c (mswindows_unmap_subwindow):
13402 * glyphs-msw.c (mswindows_map_subwindow):
13403 * glyphs-msw.c (mswindows_resize_subwindow):
13404 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13406 * glyphs.c (make_image_instance_1):
13409 * gutter.c (Fredisplay_gutter_area):
13410 Use new begin/end methods.
13412 * lisp.h (Dynarr_new2):
13416 * redisplay-msw.c (mswindows_frame_output_begin):
13417 * redisplay-msw.c (mswindows_frame_output_end):
13418 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13419 New begin/end methods -- handle DeferWindowPos.
13421 * redisplay-output.c (redisplay_move_cursor):
13422 * redisplay-output.c (redraw_cursor_in_window):
13423 * redisplay-output.c (redisplay_update_line):
13424 * redisplay-output.c (redisplay_output_window):
13425 New begin/end methods.
13428 * redisplay-tty.c (tty_frame_output_begin):
13429 * redisplay-tty.c (tty_frame_output_end):
13430 * redisplay-tty.c (console_type_create_redisplay_tty):
13431 New begin/end methods.
13434 * redisplay-x.c (x_window_output_begin):
13435 * redisplay-x.c (x_window_output_end):
13436 * redisplay-x.c (console_type_create_redisplay_x):
13437 New begin/end methods.
13439 * redisplay.c (redisplay_frame):
13440 * redisplay.c (Fredisplay_echo_area):
13441 New begin/end methods.
13442 use MAYBE_DEVMETH for clear_frame; it may not exist.
13444 * window.h (WINDOW_XFRAME):
13445 WINDOW_XFOO macros -- get locale and decode struct pointer.
13448 2000-05-12 Ben Wing <ben@xemacs.org>
13451 * emacs.c (ensure_no_quitting_from_now_on):
13452 * emacs.c (fatal_error_signal):
13453 * emacs.c (mswindows_handle_hardware_exceptions):
13455 * emacs.c (Fkill_emacs):
13456 * emacs.c (shut_down_emacs):
13457 * emacs.c (assert_failed):
13458 various improvements in fatal error handling.
13461 move preparing_for_armageddon to emacs.c.
13464 declare fatal_error_in_progress.
13467 * print.c (std_handle_out_external):
13468 * print.c (std_handle_out_va):
13469 * print.c (stderr_out):
13470 * print.c (stdout_out):
13471 use console under mswin when no standard output.
13472 don't do code conversion during fatal error.
13474 * scrollbar.c (Fscrollbar_page_up):
13475 * scrollbar.c (Fscrollbar_page_down):
13476 fix missing else. reindent.
13478 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13482 * glyphs.h (GLYPH_CACHEL_DESCENT):
13483 (GLYPH_CACHEL_DESCENT):
13484 (GLYPH_CACHEL_DESCENT):
13485 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13486 used in case these are inline functions.
13487 Use more absurd values to error check.
13489 include window.h for error check functions.
13491 2000-05-11 Ben Wing <ben@xemacs.org>
13493 * cmdloop.c (Freally_early_error_handler):
13494 Display message box under windows; otherwise, message will disappear
13495 before it can be viewed.
13498 * console-msw.c (Fmswindows_message_box):
13499 * console-msw.c (FROB):
13500 * console-msw.c (syms_of_console_mswindows):
13501 Define new fun `mswindows-message-box'.
13502 #### I will merge this into `popup-dialog-box'; just give me
13506 * general.c (syms_of_general):
13507 Some new symbols used in `mswindows-message-box'.
13510 * glyphs.c (Fset_image_instance_property):
13511 put warning in this fun.
13514 * glyphs.h (GLYPH_CACHEL_WIDTH):
13515 * glyphs.h (GLYPH_CACHEL_ASCENT):
13516 * glyphs.h (GLYPH_CACHEL):
13517 * glyphs.h (GLYPH_CACHEL_GLYPH):
13518 define error-checking versions to try to catch a bug i've seen --
13519 redisplay gets in an infinite loop because the glyph width of the
13520 continuation glyph is 65535.
13523 Extern message-box stuff.
13525 * window.c (allocate_window):
13526 * window.c (make_dummy_parent):
13527 * window.c (Fset_window_configuration):
13528 Use EQUAL not EQ for subwindow caches to make them work a bit
13529 better. (Something is still very broken.)
13532 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13534 * glyphs.c (image_instantiate): Suppress gcc warnings.
13535 (Fmake_image_instance): Fix doc string.
13536 * specifier.c (Fmake_specifier): Ditto.
13538 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13540 * paths.h.in (PATH_LOCK): Removed.
13541 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13542 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13544 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13546 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13547 Document (featurep '(and xemacs 21.02)).
13549 2000-05-09 Ben Wing <ben@xemacs.org>
13551 * buffer.c (complex_vars_of_buffer):
13552 update modeline-format doc.
13555 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13558 timeline of all released versions of Emacs, for use in creating
13559 authorship comments and in synching up.
13561 * glyphs-widget.c (image_instantiator_buttons):
13562 * glyphs-widget.c (image_instantiator_edit_fields):
13563 * glyphs-widget.c (image_instantiator_combo_box):
13564 * glyphs-widget.c (image_instantiator_scrollbar):
13565 * glyphs-widget.c (image_instantiator_progress_guage):
13566 * glyphs-widget.c (image_instantiator_tree_view):
13567 * glyphs-widget.c (image_instantiator_tab_control):
13568 * glyphs-widget.c (image_instantiator_labels):
13569 * glyphs-widget.c (image_instantiator_layout):
13570 * glyphs-widget.c (image_instantiator_native_layout):
13571 rename decode_domain method to governing_domain.
13574 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13575 * glyphs.c (add_entry_to_device_ii_format_list):
13576 make sure we don't put an entry more than once into the list.
13577 * glyphs.c (check_instance_cache_mapper):
13578 *************************************************************
13579 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13581 *************************************************************
13582 * glyphs.c (get_image_instantiator_governing_domain):
13583 clean up, expand on new concept of governing domain.
13584 * glyphs.c (instantiate_image_instantiator):
13585 * glyphs.c (allocate_image_instance):
13586 use governing_domain instead of cache_domain in naming.
13587 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13588 * glyphs.c (make_image_instance_1):
13589 * glyphs.c (Fmake_image_instance):
13590 allow for any domain (not just device), and process the
13591 governing domain correctly. very big doc fix.
13592 * glyphs.c (Fimage_instance_domain):
13593 new primitive, to retrieve the governing domain of an image instance.
13594 * glyphs.c (image_instantiate):
13595 use new governing_domain stuff. this fixes a crash you could get
13596 by instantiating certain widget glyphs in frame locales. (should
13597 signal an error instead of crashing.)
13598 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13599 * glyphs.c (Fglyphp): clean up doc.
13600 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13601 * glyphs.c (syms_of_glyphs):
13602 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13603 * glyphs.c (image_instantiator_format_create): add some comments about
13605 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13606 for current-display-table. (Apparently Hrjove implemented in 1998 a
13607 design I wrote up in 1996, but didn't update the doc string.)
13609 * glyphs.h: clean up a doc string.
13610 * glyphs.h (governing_domain):
13611 * glyphs.h (struct image_instantiator_methods):
13612 changes for governing_domain stuff.
13615 * gutter.c (Fgutter_specifier_p):
13616 * gutter.c (Fgutter_size_specifier_p):
13617 * gutter.c (Fgutter_visible_specifier_p):
13619 * objects.c (Fcolor_specifier_p):
13620 * objects.c (Ffont_specifier_p):
13621 * objects.c (Fface_boolean_specifier_p):
13622 doc strings moved to make-*-specifier.
13624 * redisplay.c (add_disp_table_entry_runes_1):
13625 * redisplay.c (generate_fstring_runes):
13626 * redisplay.c (screen):
13627 add random comments and doc strings.
13630 * specifier.c (Fmake_specifier):
13631 major overhaul of this doc string.
13633 * specifier.c (Fvalid_specifier_domain_p):
13634 comment about the bogosity of image instances being domains.
13635 * specifier.c (decode_domain):
13636 now non-static, used in glyphs.c.
13637 * specifier.c (specifier_instance):
13638 comment about the bogosity of image instances being domains.
13639 * specifier.c (Fgeneric_specifier_p):
13640 move doc string to make-generic-specifier.
13641 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13645 * specifier.h (DOMAIN_FRAME):
13646 * specifier.h (DOMAIN_LIVE_P):
13647 * specifier.h (DOMAIN_XDEVICE):
13649 add comments about problems with these macros.
13650 prototype for decode_domain.
13653 * toolbar.c (Ftoolbar_specifier_p):
13654 move doc string to `make-toolbar-specifier'.
13656 * window.c (window_unmap_subwindows_cache_mapper):
13657 *************************************************************
13658 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13660 *************************************************************
13662 2000-05-09 Andy Piper <andy@xemacs.org>
13664 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13666 * window.c (Fset_window_configuration): reset the frame subwindow
13667 cache and re-initialize the window subwindow caches.
13669 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13671 2000-05-09 Ben Wing <ben@xemacs.org>
13673 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13676 2000-04-26 Mike Woolley <mike@bulsara.com>
13678 * ntheap.c: Changed recreate_heap to limit the amount reserved
13679 for the heap to that which is actually available. Also now
13680 displays a message box (with some dignostics) in the event that
13681 it still can't start.
13683 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13685 * callproc.c (Fold_call_process_internal): GCPRO path
13687 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13689 Patch by Bill Perry.
13691 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13692 back data instead of #ifdef.
13693 (Fscrollbar_page_down): ditto.
13695 2000-05-07 Ben Wing <ben@xemacs.org>
13698 Kludge for defining Qmswindows_tstr.
13701 * nt.c (open_input_file):
13702 * nt.c (open_output_file):
13703 * nt.c (rva_to_section):
13704 * nt.c (mswindows_executable_type):
13705 Move all memory-mapped-file routines here (some were in unexnt.c,
13706 which is bad because they are used by process-nt.c, and unexnt
13707 won't be around when portable dumping). Synched the above routines
13711 Removed ifdef'd out bogus code.
13712 Fixed some prototypes.
13714 * nt.h (file_data):
13715 * nt.h (OFFSET_TO_RVA):
13716 * nt.h (RVA_TO_OFFSET):
13717 * nt.h (RVA_TO_PTR):
13718 Moved the memory-mapped-file structures, macros and prototypes
13719 here, to parallel nt.c. ntheap.h should really be removed
13720 entirely, and it's a non-portable-dumper specific file.
13722 * ntheap.h (round_to_next):
13723 Moved the memory-mapped-file structures, macros and prototypes
13726 * ntproc.c (compare_env):
13727 Moved rva_to_section and mswindows_executable_type to nt.c.
13728 Moved compare_env to process-nt.c.
13729 ntproc.c will die, one day.
13731 * ntproc.c (sys_spawnve):
13732 Account for win32_ -> mswindows_.
13735 * process-nt.c (struct nt_process_data):
13736 * process-nt.c (ensure_console_window_exists):
13737 * process-nt.c (compare_env):
13738 * process-nt.c (nt_create_process):
13739 * process-nt.c (nt_kill_process_by_pid):
13740 * process-nt.c (syms_of_process_nt):
13741 * process-nt.c (vars_of_process_nt):
13742 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13743 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13744 changes). Eliminate our old `nt-quote-process-args' mechanism.
13745 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13746 Move compare_env here from ntproc.c.
13748 * process.c (Fprocess_send_region):
13749 Takes an optional fourth argument, BUFFER, which should fix some
13750 problems with call-process.
13753 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13756 Move ICC_BAR_CLASSES to syscommctrl.h.
13757 Add preliminary macros for MSWindows/Mule. More to come.
13760 * unexnt.c (unexec):
13761 open_output_file moved to nt.c.
13764 2000-05-05 Andy Piper <andy@xemacs.org>
13766 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13767 instance from the frame cache also since GC may catch up too late
13768 to make frame deletion sane.
13770 2000-05-04 Andy Piper <andy@xemacs.org>
13772 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13773 (x_finalize_image_instance): ungcpro on deletion.
13775 * glyphs.c (image_instantiator_format_create): give pointers a
13776 query geometry method so that the geometry is at least set.
13778 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13779 initialize layouts if using widgets.
13781 2000-05-03 Andy Piper <andy@xemacs.org>
13783 * nt.c: remove bogus reference to sysmmsystem.h
13785 * gui-x.c (popup_selection_callback): fix no selection abort.
13787 2000-05-02 Andy Piper <andy@xemacs.org>
13789 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13790 (mswindows_widget_instantiate): ditto.
13792 * glyphs-widget.c (initialize_widget_image_instance): initialize
13793 children correctly.
13794 (widget_instantiate): cope with children and items in the same
13797 * glyphs.c (mark_image_instance): cope with children as a first
13799 (image_instance_equal): ditto.
13800 (image_instance_hash): ditto.
13801 (image_instance_changed): ditto.
13803 2000-04-30 Andy Piper <andy@xemacs.org>
13805 * glyphs.c (subwindow_query_geometry): new function. Return some
13807 (subwindow_instantiate): don't assign dimensions if none have been
13809 (image_instantiator_format_create): add subwindow_query_geometry.
13810 (print_image_instance): cope with layouts as widgets.
13812 2000-04-29 Andy Piper <andy@xemacs.org>
13814 * frame.c (delete_frame_internal): call
13815 free_frame_subwindow_instance_cache so that all subwindows are
13816 finalized before their parent.
13817 (mark_frame): remove subwindow_cachels.
13818 (Fmake_frame): remove subwindow_cachel manipulation.
13819 (allocate_frame_core): subwindow_instance_cache is a weak list.
13820 (delete_frame_internal): set subwindow_instance_cache to nil.
13822 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13824 (mswindows_finalize_image_instance): use the device
13825 not the domain as the domain may have died already.
13827 * glyphs-x.c (x_finalize_image_instance): ditto.
13828 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13831 * redisplay-output.c (redisplay_unmap_subwindows): update for
13832 subwindow instance cache as a weak list.
13833 (redisplay_unmap_subwindows_maybe): ditto.
13834 (redisplay_unmap_subwindows_except_us): ditto.
13836 * glyphs.c (unmap_subwindow): error checking will check the domain
13837 so don't deal with it here. Don't use cachels anymore.
13838 (map_subwindow): ditto.
13839 (update_subwindow_cachel_data): remove old accessor names.
13840 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13841 (Fresize_subwindow): don't update cachel.
13842 (mark_subwindow_cachels):
13843 (update_subwindow_cachel_data):
13844 (add_subwindow_cachel):
13845 (get_subwindow_cachel_index):
13846 (update_subwindow_cachel):
13847 (reset_subwindow_cachels):
13848 (mark_subwindow_cachels_as_not_updated): deleted.
13849 (cache_subwindow_instance_in_frame_maybe): new function. Add a
13850 subwindow instance to the frame cache.
13851 (find_matching_subwindow): update for subwindow instance cache as
13853 (update_widget_instances): ditto.
13854 (image_instance_type_to_mask):inlined.
13855 (free_frame_subwindow_instance_cache): new function. finalize all
13856 subwindows that are instantiated.
13858 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
13859 of cachel information.
13860 (IMAGE_INSTANCE_DISPLAY_X):
13861 (IMAGE_INSTANCE_DISPLAY_Y):
13862 (IMAGE_INSTANCE_DISPLAY_WIDTH):
13863 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
13864 (XIMAGE_INSTANCE_DISPLAY_X):
13865 (XIMAGE_INSTANCE_DISPLAY_Y):
13866 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
13867 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
13868 remove subwindow_cachel structure and function references.
13869 (image_instance_type_to_mask): inline from glyphs.c
13871 * redisplay.c (redisplay_frame): remove subwindow_cachel
13874 * frame.h (struct frame): remove subwindow_cachels.
13875 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
13877 * frameslots.h: add subwindow_instance_cache.
13879 * window.c (replace_window): check subwindow cache of replacement.
13880 (window_unmap_subwindows_cache_mapper):
13881 (window_unmap_subwindows): new functions. Unmap all subwindows
13882 cached on this window.
13883 (mark_window_as_deleted): unmap all subwindows.
13885 2000-04-27 Andy Piper <andy@xemacs.org>
13887 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
13889 * glyphs-widget.c (widget_layout): return something.
13890 (layout_layout): return something. Fail if not initialized.
13891 (layout_query_geometry): ditto.
13892 (image_instantiator_native_layout): new function. Initialized the
13893 native layout type.
13894 (widget_instantiate): don't do layout stuff here.
13896 * glyphs.c (instantiate_image_instantiator): reorded calling or
13897 instantiate and post_instantiate with layout in between.
13898 (image_instance_layout): be more selective about deciding whether
13899 the layout has been done or not.
13901 * glyphs.h (struct image_instantiator_methods): return a value
13902 from layout_method.
13904 2000-04-26 Andy Piper <andy@xemacs.org>
13906 * glyphs.c (allocate_image_instance): make initial width and
13907 height unspecified. Set initialized to 0.
13909 * syscommctrl.h new file. Encapsulates commctrl.h.
13911 * syswindows.h new file. Encapsulates windows.h.
13913 * ntplay.c: use new syswindows.h and syscommctrl.h header.
13915 * console-msw.h: ditto.
13917 * redisplay-tty.c (tty_output_display_block): remove layout references.
13919 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
13920 window handle rather than just the frame.
13922 * glyphs.c (mark_image_instance): remove layout references.
13923 (print_image_instance): ditto.
13924 (image_instance_equal): ditto.
13925 (image_instance_hash): ditto.
13926 (decode_image_instance_type): ditto.
13927 (encode_image_instance_type): ditto.
13928 (image_instantiate): ditto.
13929 (allocate_glyph): ditto.
13930 (Fimage_instance_height): ditto.
13931 (Fimage_instance_width): ditto.
13932 (update_subwindow): ditto.
13934 * redisplay-x.c (x_output_display_block): recode for layouts as
13937 * redisplay-output.c (redisplay_output_layout): recode for layouts
13939 (compare_runes): remove layout references.
13941 * redisplay-msw.c (mswindows_output_display_block): recode for
13942 layouts as widgets.
13944 * glyphs-widget.c (image_instantiator_layout): remove
13945 layout_possible_dest_types.
13946 (layout_possible_dest_types): deleted.
13948 * glyphs.h (image_instance_type): remove layout references.
13949 (struct Lisp_Image_Instance): ditto. Add initialized flag.
13950 (IMAGE_INSTANCE_INITIALIZED): new accessor.
13951 (XIMAGE_INSTANCE_INITIALIZED): ditto.
13953 2000-04-25 Andy Piper <andy@xemacs.org>
13955 * glyphs-widget.c (image_instantiator_buttons):
13956 (image_instantiator_edit_fields):
13957 (image_instantiator_combo_box):
13958 (image_instantiator_scrollbar):
13959 (image_instantiator_progress_guage):
13960 (image_instantiator_tree_view):
13961 (image_instantiator_tab_control):
13962 (image_instantiator_labels):
13963 (image_instantiator_layout): call default post_instantiate method.
13964 (widget_post_instantiate): new function. Simply lays out the
13967 * glyphs.h (struct image_instantiator_methods): add
13968 post_instantiate method.
13970 * glyphs.c (instantiate_image_instantiator): add post_instantiate
13973 2000-04-23 Andy Piper <andy@xemacs.org>
13975 * glyphs.h (struct image_instantiator_methods): add
13976 decode_domain_method.
13977 (struct Lisp_Image_Instance): remove subwindow frame - it can be
13978 derived from the domain.
13979 (IMAGE_INSTANCE_FRAME): new accessor.
13980 (XIMAGE_INSTANCE_FRAME): ditto.
13982 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
13983 instead of _SUBWINDOW_FRAME.
13984 (finalize_image_instance): ditto.
13985 (Fimage_instance_foreground): ditto.
13986 (Fimage_instance_background): ditto.
13987 (image_instantiate): ditto.
13988 (update_subwindow_cachel): ditto.
13989 (update_subwindow): ditto.
13990 (unmap_subwindow): ditto.
13991 (map_subwindow): ditto
13992 (subwindow_instantiate): ditto.
13993 * glyphs-msw.c (mswindows_update_widget): ditto.
13994 (mswindows_progress_gauge_instantiate): ditto.
13995 (mswindows_tab_control_update): ditto.
13996 * glyphs-x.c (x_update_widget): ditto.
13997 (x_widget_instantiate): ditto.
13998 (x_tab_control_instantiate): ditto.
13999 (x_tab_control_update): ditto.
14000 * event-msw.c (mswindows_wnd_proc): ditto
14002 * glyphs-widget.c (image_instantiator_layout): use
14003 subwindow_decode_domain.
14004 (image_instantiator_buttons): ditto.
14005 (image_instantiator_edit_fields): ditto.
14006 (image_instantiator_combo_box): ditto.
14007 (image_instantiator_scrollbar): ditto.
14008 (image_instantiator_progress_guage): ditto.
14009 (image_instantiator_tree_view): ditto.
14010 (image_instantiator_tab_control): ditto.
14011 (image_instantiator_labels): ditto.
14012 (image_instantiator_layout): ditto.
14014 * glyphs.c: add instance error checking to many functions.
14015 (instantiate_image_instantiator): decode device from cache_domain.
14016 (image_instantiate): partially rewrite by using
14017 decode_image_instantiator_domain to determine what domain the
14018 instance needs to be cached in.
14019 (decode_image_instantiator_domain): new function. Determine what
14020 domain the image needs to be cached in.
14021 (check_window_subwindow_cache): new error checking function.
14022 (check_instance_cache_mapper): ditto.
14023 (check_image_instance_structure): ditto.
14024 (subwindow_decode_domain): new function. Encodes a window as a
14025 subwindow's cache domain.
14026 (image_instantiator_format_create): use it for text and
14029 2000-04-21 Andy Piper <andy@xemacs.org>
14031 * glyphs.c (image_instance_device): new function.
14032 (image_instance_frame): new function.
14033 (image_instance_window): new function.
14034 (image_instance_live_p): new function.
14036 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14039 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14040 (IMAGE_INSTANCE_DOMAIN): new accessor.
14041 (XIMAGE_INSTANCE_DOMAIN): ditto.
14043 * glyphs-x.c (x_finalize_image_instance): device->domain.
14045 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14046 (mswindows_finalize_image_instance): ditto.
14048 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14049 (gif_instantiate): ditto.
14050 (png_instantiate): ditto.
14051 (tiff_instantiate): ditto.
14053 * glyphs.c (instantiate_image_instantiator): use domain rather
14055 (mark_image_instance): device -> domain.
14056 (print_image_instance): ditto.
14057 (finalize_image_instance): ditto.
14058 (image_instance_equal): ditto.
14059 (allocate_image_instance): ditto.
14060 (Fcolorize_image_instance): ditto.
14061 (query_string_geometry): ditto.
14062 (image_instantiate): ditto
14063 (query_string_font): ditto.
14064 (image_instantiate): ditto.
14065 (update_subwindow): ditto.
14066 (unmap_subwindow): ditto.
14067 (map_subwindow): ditto.
14068 (subwindow_instantiate): ditto.
14070 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14071 (DOMAIN_FRAME): ditto.
14072 (DOMAIN_WINDOW): ditto.
14073 (DOMAIN_LIVE_P): ditto.
14074 (XDOMAIN_DEVICE): ditto.
14075 (XDOMAIN_FRAME): ditto.
14076 (XDOMAIN_WINDOW): ditto.
14078 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14079 a valid specifier domain.
14081 2000-04-19 Andy Piper <andy@xemacs.org>
14083 * glyphs-widget.c (syms_of_glyphs_widget): remove
14084 widget-callback-current-channel.
14085 (vars_of_glyphs_widget): ditto.
14088 * gui.c (get_gui_callback): revert to previous behaviour.
14090 2000-04-18 Andy Piper <andy@xemacs.org>
14092 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14093 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14094 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14096 * glyphs.c (image_instance_equal): add margin_width.
14097 (image_instance_hash): ditto.
14099 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14100 (layout_query_geometry): ditto.
14101 (layout_layout): ditto.
14102 (syms_of_glyphs_widget): add margin-width.
14103 (image_instantiator_layout): allow margin-width.
14105 * glyphs.c (update_widget_instances): make a normal function.
14106 (syms_of_glyphs): remove Qupdate_widget_instances.
14109 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14110 so that we don't corrupt ideas about the last event or
14111 command. Remove widget-callback-current-channel fiddling.
14112 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14114 2000-05-01 Martin Buchholz <martin@xemacs.org>
14116 * XEmacs 21.2.33 is released.
14118 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14120 * make-src-depend: Allow dots in header file name.
14122 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14124 * mule-charset.h (struct charset_lookup): Add
14125 next_allocated_1_byte_leading_byte and
14126 next_allocated_2_byte_leading_byte.
14127 * mule-charset.c: Move above two variables so that those values
14130 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14132 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14133 when string length is zero.
14134 (find_charsets_in_emchar_string): Ditto.
14136 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14138 * lisp.h: extern Qdialog and Qmenubar.
14140 * gui-x.c: added events.h.
14141 also fixed typo which made the file uncompilable.
14143 * general.c: Added Qmenubar and Qdialog
14145 2000-04-28 Ben Wing <ben@xemacs.org>
14147 * frame-msw.c (mswindows_init_frame_1):
14148 * frame-msw.c (mswindows_mark_frame):
14149 * event-msw.c (mswindows_enqueue_dispatch_event):
14151 * console-msw.h (struct mswindows_frame):
14152 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14153 there are now three hash tables for callbacks.
14154 mswindows_enqueue_dispatch_event is no longer static.
14156 * dialog-x.c (maybe_run_dbox_text_callback):
14157 * dialog-x.c (dbox_descriptor_to_widget_value):
14158 switch to new cons3 form for callbacks.
14160 * glyphs-msw.c (mswindows_register_gui_item):
14161 * glyphs-msw.c (mswindows_widget_instantiate):
14162 * glyphs-msw.c (add_tree_item):
14163 * glyphs-msw.c (add_tab_item):
14164 new image instance parameter, so it can be passed to callback-ex.
14165 respect :callback-ex as well as :callback.
14167 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14170 * glyphs.c (print_image_instance):
14171 prettify, e.g. now prints widget type.
14174 certain funs have new image instance parameter.
14177 * gui.c (get_gui_callback):
14178 * gui.c (gui_item_add_keyval_pair):
14179 * gui.c (gui_item_init):
14180 * gui.c (gui_add_item_keywords_to_plist):
14181 * gui.c (mark_gui_item):
14182 * gui.c (gui_item_hash):
14183 * gui.c (gui_item_equal):
14184 * gui.c (copy_gui_item):
14185 * gui.c (syms_of_gui):
14186 recognize callback-ex in a number of places.
14187 also, fix the annoying "can't get out of yes-no dialog" bug.
14190 * gui.h (struct Lisp_Gui_Item):
14191 recognize callback-ex in a number of places.
14193 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14194 new parameter in button_item_to_widget_value.
14196 * glyphs-x.c (x_update_widget):
14197 * glyphs-x.c (x_button_instantiate):
14198 * glyphs-x.c (x_button_update):
14199 * glyphs-x.c (x_progress_gauge_instantiate):
14200 * glyphs-x.c (x_edit_field_instantiate):
14201 * glyphs-x.c (x_combo_box_instantiate):
14202 * glyphs-x.c (x_tab_control_instantiate):
14203 * glyphs-x.c (x_label_instantiate):
14204 new image instance parameter in various places.
14207 * event-Xt.c (enqueue_Xt_dispatch_event):
14208 this fun gets exported.
14211 * gui-msw.c (mswindows_handle_gui_wm_command):
14212 handle both :callback and :callback-ex, and generate our own
14213 event because it's one of the callback-ex arguments.
14216 * gui-x.c (popup_selection_callback):
14217 handle both :callback and :callback-ex, and generate our own
14218 event because it's one of the callback-ex arguments.
14219 * gui-x.c (button_item_to_widget_value):
14220 * gui-x.c (gui_items_to_widget_values_1):
14221 * gui-x.c (gui_item_children_to_widget_values):
14222 * gui-x.c (gui_items_to_widget_values):
14223 new image instance parameter in various places.
14225 * fns.c (Freplace_list):
14226 fix small typo in doc string.
14229 declare enqueue_Xt_dispatch_event.
14231 2000-04-28 Ben Wing <ben@xemacs.org>
14234 * buffer.c (Frecord_buffer):
14235 * buffer.c (syms_of_buffer):
14236 delete record-buffer-hook.
14239 * fns.c (Freplace_list):
14240 * fns.c (syms_of_fns):
14241 new primitive replace-list.
14244 slot for old buffer-alist.
14247 exfun replace-list.
14250 * redisplay.c (redisplay_frame):
14251 * redisplay.c (syms_of_redisplay):
14252 * redisplay.c (vars_of_redisplay):
14253 new hook buffer-list-changed-hook.
14256 2000-04-27 Ben Wing <ben@xemacs.org>
14258 * extents.h: extern in_modeline_generation.
14260 * redisplay.c (generate_formatted_string_db): set
14261 in_modeline_generation.
14263 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14264 flags if in modeline generation. otherwise frame-modified-tick
14265 is ticked far too often.
14266 Declare in_modeline_generation.
14268 2000-04-26 Ben Wing <ben@xemacs.org>
14270 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14272 (vars_of_emacs): add quick-build as an error-checking option.
14273 A bit kludgy, but there doesn't seem much point in creating
14274 a real var for this.
14276 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14278 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14280 * redisplay.h (struct display_line): Add a new variable,
14283 * redisplay.c (create_text_block): Set dl->line_continuation if
14284 the line continues.
14285 (create_string_text_block): Ditto.
14286 (regenerate_window_incrementally): Use line_continuation instead
14287 of searching continuation glyph.
14288 (add_margin_runes): Call add_glyph_rune.
14289 (add_glyph_rune): Handle margin glyph.
14291 2000-04-20 Martin Buchholz <martin@xemacs.org>
14293 * filelock.c (fill_in_lock_file_name):
14295 Check for IS_ANY_SEP instead of '/'.
14297 Avoid generating gratuitous garbage. Call user_login_name() directly.
14298 Never check errno without first seeing that system call failed.
14299 (unlock_file): Add GCPRO.
14300 (Flock_buffer): Fix docstring.
14301 (Ffile_locked_p): Fix docstring. Add GCPRO.
14303 2000-04-19 Martin Buchholz <martin@xemacs.org>
14305 * sysdep.c (get_pty_max_bytes):
14306 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14307 strings longer than 252 bytes.
14309 * md5.c: Unconditionally include ANSI header <limits.h>
14311 * glyphs-x.c (convert_EImage_to_XImage):
14312 * lisp-union.h (union Lisp_Object):
14313 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14315 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14317 * filelock.c (current_lock_owner): Remove unused variable o, p.
14319 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14321 * callint.c: Remove multiply defined symbol Qlet
14322 (syms_of_callint): ditto.
14324 2000-04-14 Andy Piper <andy@xemacs.org>
14326 * general.c (syms_of_general): add last-command, this-command, let
14329 * lisp.h: declare various symbols.
14331 * glyphs.h: declare Qwidget_callback_current_channel;
14333 * glyphs-widget.c (syms_of_glyphs_widget): add
14334 Qgui_callback_current_channel.
14335 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14337 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14338 widget-callback-current-channel when invoking the interactive
14339 arg. Also bind last-command and next-command when invoking the
14341 * gui-x.c (popup_selection_callback): ditto.
14343 * gui.c (get_gui_callback): massage args so that we are always
14344 calling eval. This allows us to add our own variable bindings
14347 * glyphs-x.c (x_button_instantiate): use
14348 gui_items_to_widget_values since this is GC safe.
14349 (x_progress_gauge_instantiate): ditto.
14350 (x_edit_field_instantiate): ditto.
14351 (x_label_instantiate): ditto.
14353 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14354 (emacs_Xt_event_widget_focus_out): new function
14355 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14357 (emacs_Xt_event_add_widget_actions): new function. add focus
14358 functions as actions.
14359 (init_event_Xt_late): use it.
14361 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14363 * event-stream.c (Fdispatch_event): Doc fix.
14365 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14367 * postgresql.c: Remove all references to PQsetenv*.
14369 * postgresql.h: Remove references to PGsetenvHandler object.
14370 * lrecord.h (lrecord_type): Ditto.
14372 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14374 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14375 real_heigh and real_width members, and accessor macros for these.
14377 * glyphs-msw.c (init_image_instance_geometry): New function.
14378 (init_image_instance_from_dibitmap): Use it.
14379 (mswindows_resource_instantiate): Use it.
14380 (init_image_instance_from_xbm_inline): Use it.
14381 (mswindows_initialize_image_instance_mask): Use real bitmap
14383 (mswindows_create_resized_bitmap): Ditto.
14384 (mswindows_create_resized_mask): Ditto.
14386 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14387 and bitmap to their surface size.
14389 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14391 * process-unix.c (unix_send_process): Guard against process MIA
14392 after Faccept_process_output.
14394 2000-04-11 Ben Wing <ben@xemacs.org>
14396 * eval.c (unbind_to_hairy): fix brokenness introduced by
14397 nanosecond speed improvements.
14399 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14401 * sunplay.c (init_device): To play sounds correctly, the device
14402 apparently needs to be initialized at least once by XEmacs. Make
14405 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14407 * redisplay.c (add_margin_runes): Add text image glyph
14410 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14412 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14413 gcc is newer than 2.5.
14415 2000-04-06 Colin Rafferty <colin@xemacs.org>
14417 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14419 * fns.c (size_bit_vector):
14420 * alloc.c (size_vector):
14421 (make_vector_internal):
14422 (make_bit_vector_internal):
14423 (sweep_bit_vectors_1):
14424 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14426 2000-04-06 Andy Piper <andy@xemacs.org>
14428 * gmalloc.c (malloc): undo previous change.
14433 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14435 * line-number.c (buffer_line_number): Revert to former version.
14437 2000-04-06 Andy Piper <andy@xemacs.org>
14439 * gmalloc.c (malloc): add error checking.
14444 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14445 button_item_to_widget_value arg.
14447 * glyphs-x.c (x_button_instantiate): add extra
14448 button_item_to_widget_value arg.
14449 (x_progress_gauge_instantiate): ditto.
14450 (x_edit_field_instantiate): ditto.
14451 (x_label_instantiate): ditto.
14453 * gui-x.c (gui_items_to_widget_values_1): add extra
14454 button_item_to_widget_value arg.
14455 (button_item_to_widget_value): add extra menu_item_p arg.
14457 * gui-x.h: change signature of button_item_to_widget_value.
14459 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14460 button_item_to_widget_value arg.
14462 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14464 * buffer.h (struct buffer): auto_save_modified should be long.
14466 2000-04-05 Andy Piper <andy@xemacs.org>
14468 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14470 (button_query_geometry): give a little more room so that athena
14473 2000-04-05 Andy Piper <andy@xemacs.org>
14475 * faces.c (complex_vars_of_faces): The widget face should inherit
14476 the font of the gui-element face.
14478 2000-04-04 Andy Piper <andy@xemacs.org>
14480 * glyphs-x.c (x_button_update): new function. unconditionally
14481 update a button's state when the instance is dirty.
14482 (image_instantiator_format_create_glyphs_x): add x_button_update.
14483 (x_widget_instantiate): remove old resize cruft.
14485 2000-04-02 Andy Piper <andy@xemacs.org>
14487 * frame.c (change_frame_size_1): The introduction of gutters means
14488 that we need to allow 0 as a potential frame dimension.
14490 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14492 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14493 image glyph if allow_cursor.
14494 (add_hscroll_rune): Don't allow cursor to border glyph.
14495 (create_text_block): Ditto.
14497 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14498 text not in buffer.
14499 (redisplay_output_layout): Call ensure_face_cachel_complete for
14503 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14505 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14507 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14510 * redisplay-tty.c (tty_output_display_block): Delete the routine
14511 for text image glyph
14512 * redisplay-x.c (x_output_display_block): ditto
14513 * redisplay-msw.c (mswindows_output_display_block): ditto
14515 2000-02-02 Mike Alexander <mta@arbortext.com>
14517 Note: Some of these were committed by accident as part of other
14520 * regex.c (regex_compile): Avoid compiler warnings.
14522 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14524 * nt.h: Declare term_ntproc correctly.
14526 * nt.c: Remove incorrect declaration of get_home_directory which
14527 is declared correctly in lisp.h.
14529 * keymap.c (get_keyelt): Avoid compiler warnings.
14530 (raw_lookup_key_mapper): Avoid compiler warnings.
14532 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14534 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14536 * filemode.c (mode_string): Avoid compiler warnings.
14538 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14541 * events-mod.h: Undef some things that winuser.h defines differently.
14543 * data.c (Faset): Avoid compiler warnings.
14545 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14547 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14549 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14550 Fall through to simple beep on error.
14551 Replace "extern" by real header file.
14553 * linuxplay.c: Use nativesound.h
14554 (play_sound_data): Return error code. Be less verbose on error.
14556 * sunplay.c: Use nativesound.h
14557 (play_sound_data): Return error code. Be less verbose on error.
14559 * ntplay.c: Use nativesound.h
14560 (play_sound_data): Return fake error code
14562 * sgiplay.c: Use nativesound.h
14563 (play_sound_data): Return error code
14565 * hpplay.c: Use nativesound.h, partially implement
14566 new error code. Break compilation until finished.
14567 (play_sound_data): error code.
14569 * nativesound.h (play_sound_file):
14570 (play_sound_data): Prototype in new header.
14572 2000-03-31 Andy Piper <andy@xemacs.org>
14574 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14575 for toggle and radio buttons.
14576 (image_instantiator_buttons): use it.
14578 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14580 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14581 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14582 found. Scrollbar event probably belonged to some old config.
14584 2000-03-31 Andy Piper <andy@xemacs.org>
14586 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14588 (initialize_widget_image_instance): default layout to
14589 LAYOUT_HORIZONTAL rather than 0.
14590 (widget_instantiate): reverse the item list at the end rather than
14592 (layout_layout): re-code for the border text at the front of the
14593 item list rather than at the end.
14594 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14595 provided by the user.
14596 (widget_query_geometry): comment.
14598 2000-03-30 Andy Piper <andy@xemacs.org>
14600 * glyphs-widget.c (image_instantiator_layout): allow standard
14601 widget keywords in layouts.
14603 * gutter.c (output_gutter): cope with nil gutter contents.
14605 * frame.c (Fset_frame_properties): add gutter docs.
14607 2000-03-29 Andy Piper <andy@xemacs.org>
14609 * toolbar-msw.c (TBSTYLE_FLAT): add.
14610 (mswindows_output_toolbar): minor fiddling.
14612 2000-03-29 Andy Piper <andy@xemacs.org>
14614 * gutter.c (output_gutter): force gutter size recalculation if
14615 what we are trying to display won't fit.
14616 (update_gutter_geometry): new function. A per-gutter version of
14617 update_frame_gutter_geometry.
14618 (update_frame_gutter_geometry): use it.
14619 (redraw_exposed_gutter): add extra debugging output.
14621 2000-03-28 Mike Alexander <mta@arbortext.com>
14623 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14624 (pdump_file_unmap): Implement it on Windows
14625 (pdump_file_get): Save alocated handles for pdump_file_unmap
14627 2000-03-28 Andy Piper <andy@xemacs.org>
14629 * gui.c (get_gui_callback): treat Quit specially.
14631 2000-03-27 Andy Piper <andy@xemacs.org>
14633 * glyphs.c (image_instantiate): be careful to check in the same
14636 2000-03-27 Didier Verna <didier@xemacs.org>
14638 * config.h.in: define the proper SMART_INCLUDE macro.
14639 handle renaming of `foo_h_path' to `foo_h_file'.
14641 * database.c: ditto.
14645 * linuxplay.c: ditto.
14647 * terminfo.c: ditto.
14649 * tooltalk.h: ditto.
14651 2000-03-27 Andy Piper <andy@xemacs.org>
14653 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14654 gets updated whenever the face might have changed.
14656 2000-03-26 Mike Alexander <mta@arbortext.com>
14658 * dumper.c (pdump_resource_free): Fix the comment.
14660 2000-03-21 Olivier Galibert <galibert@pobox.com>
14662 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14664 2000-03-22 Mike Alexander <mta@arbortext.com>
14666 * dumper.c: Include Windows headers on Windows
14667 (pdump_resource_free): Add a body to the function
14668 (pdump_load): exe_name -> exe_path and add some comments.
14670 2000-03-25 Mike Alexander <mta@arbortext.com>
14672 * gui.c (copy_gui_item_tree): Return a value in all cases
14674 2000-03-21 Didier Verna <didier@xemacs.org>
14676 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14678 (SMART_INCLUDE): new macro.
14679 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14680 the proper location.
14682 * postgresql.c: use it.
14686 2000-03-24 Andy Piper <andy@xemacs.org>
14688 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14691 2000-03-24 Andy Piper <andy@xemacs.org>
14693 * redisplay-output.c (compare_runes): use image_instance_changed
14694 to detect changes. Do not depend on glyphs_changed, only depend on
14696 (redisplay_output_layout): add debug messages.
14697 (compare_runes): ditto.
14699 * glyphs.h: declare new functions.
14700 (struct Lisp_Image_Instance): remove percent and associated
14703 * gui.h: declare new copying functions.
14705 * gui.c (copy_gui_item_tree): new function.
14706 (copy_gui_item): new function.
14707 (gui_item_id_hash): revert to standard hash.
14708 (gui_item_hash): ditto.
14709 (gui_item_hash_internal): deleted.
14710 (mark_gui_item): mark value.
14711 (gui_item_add_keyval_pair): add value.
14712 (gui_item_init): ditto.
14713 (gui_add_item_keywords_to_plist): ditto.
14714 (gui_item_equal): ditto.
14715 (syms_of_gui): add Q_value.
14717 * glyphs-x.c (x_progress_gauge_update): use pending items and
14718 value for setting the state.
14719 (x_update_widget): don't set items from pending here.
14721 * glyphs-widget.c (update_widget): update items here.
14722 (progress_gauge_set_property): use items for storing value. Put
14723 new value in pending items.
14725 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14726 items for new value. Convert percent -> value.
14727 (mswindows_tab_control_update): don't update items here.
14729 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14730 (update_subwindow): ditto.
14731 (image_instance_changed): new function. Compare hash values and
14732 past and present widget items.
14733 (image_instantiate): We more careful about where we instantiate
14735 (image_instantiate): add error checking.
14737 * gutter.c (syms_of_gutter): use -hook.
14739 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14741 * console-tty.c (Fset_console_tty_input_coding_system): Use
14743 (Fset_console_tty_output_coding_system): Use Qterminal.
14744 (tty_init_console): Use Qkeyboard and Qterminal.
14746 2000-03-21 Ben Wing <ben@xemacs.org>
14748 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14749 From Mike Alexander <mta@arbortext.com>.
14751 2000-03-21 Ben Wing <ben@xemacs.org>
14753 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14754 process brokenness. Proper implementation to come.
14756 Rename call-process-internal to old-call-process-internal.
14757 New impl. in process.el.
14759 2000-03-21 Martin Buchholz <martin@xemacs.org>
14761 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14763 2000-03-20 Andy Piper <andy@xemacs.org>
14765 * glyphs.c (full_list_hash): make hashes of the same elements in
14766 different orders return different values.
14768 2000-03-20 Martin Buchholz <martin@xemacs.org>
14770 * XEmacs 21.2.32 is released.
14772 2000-03-20 Martin Buchholz <martin@xemacs.org>
14774 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14775 (DFC_MALLOC_USE_CONVERTED_DATA):
14776 Add aliasing-safe casts to allow use with char* or unsigned char*
14779 * eldap.c (Fldap_open):
14780 (Fldap_search_basic):
14783 Make C++-compilable.
14784 Make sure GCPRO'ed variables are initialized.
14785 Use temp variables to avoid repeated calls to Flength.
14787 2000-03-16 Martin Buchholz <martin@xemacs.org>
14790 Make sure PATH_MAX is always defined.
14791 Include limits.h for PATH_MAX.
14792 Deprecate use of MAXPATHLEN.
14794 2000-03-10 Martin Buchholz <martin@xemacs.org>
14796 * emacs.c: Add reinit_vars_of_fileio.
14797 * symsinit.h: Add reinit_vars_of_fileio.
14798 * fileio.c (reinit_vars_of_fileio): New.
14799 * fileio.c (Fmake_temp_name):
14800 Initialize temp_name random number from microseconds to make
14801 collisions even less likely. Initialize always at process startup
14802 time. (make-temp-name) used to return the same file name twice in
14804 Random stylistic fiddling.
14807 2000-03-20 Andy Piper <andy@xemacs.org>
14809 * glyphs.c (image_instantiate): allow text glyphs to be
14810 instantiated in the minibuffer window.
14812 2000-03-19 Andy Piper <andy@xemacs.org>
14814 * glyphs.c (image_instance_hash): be careful about which items we
14817 * glyphs-widget.c (tab_control_set_property): record into pending
14818 items rather than the actual items.
14820 * glyphs-x.c (x_update_widget): use pending items to update with.
14822 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14825 * glyphs.c (mark_image_instance): mark pending items.
14827 * window.c (Fset_window_configuration): record the buffer.
14828 (Fselect_window): totally revert previous change which breaks many
14831 2000-03-18 Andy Piper <andy@xemacs.org>
14833 * glyphs-msw.c (mswindows_tab_control_update): force selected
14836 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14837 window domain cache, otherwise we get inconsistencies at
14838 startup. There is something fishy at startup which can lead to the
14839 minibuffer being the selected window when the gutter content is
14842 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14844 (parse_gui_item_tree_children): ditto.
14845 (parse_gui_item_tree_item): ditto.
14847 * glyphs.c (Fupdate_widget_instances): return something.
14849 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
14851 * window.c (Fselect_window): Undo 2000-03-17 change.
14853 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
14855 * postgresql.c (Fpq_setenv): Remove this turkey when linking
14856 against v7.0 libraries. Insta-coredump city until the postgres
14859 2000-03-17 Andy Piper <andy@xemacs.org>
14861 * faces.c (complex_vars_of_faces): don't give the widget face an
14862 inherited background pixmap.
14864 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
14867 * event-stream.c (Fdispatch_non_command_events): return something.
14869 * gutter.c (output_gutter): use widget face.
14870 (clear_gutter): ditto.
14872 * NEWS: adjust again.
14874 * window.c (Fselect_window): make sure this runs to completion to
14875 avoid oddities with Fset_window_configuration.
14876 (Fcurrent_window_configuration): in general do not save the
14877 minibuffer as the selected window.
14879 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
14881 2000-03-16 Olivier Galibert <galibert@pobox.com>
14883 * emacs.c (Frunning_temacs_p): Revert previous patch.
14884 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
14886 2000-03-16 Andy Piper <andy@xemacs.org>
14888 * glyphs-x.c (x_tab_control_update): if no widget values then
14891 * NEWS: update for new features.
14893 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
14894 synthetic event to the native system.
14895 (reinit_vars_of_event_Xt): set force_event_pending to
14896 emacs_Xt_force_event_pending.
14898 * events.h (struct event_stream): add force_event_pending.
14900 * specifier.c (recompute_one_cached_specifier_in_window): add
14903 * redisplay.c (redisplay_frame): don't call
14904 update_frame_subwindows. Reset subwindow cachels when
14905 subwindows_changed, removing this was an optimization too far.
14907 * redisplay-output.c (compare_runes): reorganize so that we catch
14908 glyph changes when we want them. Set optimize_output when this
14909 would help layouts.
14910 (redisplay_output_layout): remove frame_really_changed, use
14911 optimize_output instead.
14913 * redisplay-msw.c (mswindows_output_display_block): reset
14914 optimize_output after outputting a glyph.
14915 * redisplay-x.c (x_output_display_block): ditto.
14916 * redisplay-tty.c (tty_output_display_block): ditto.
14918 * gutter.c: (specifier_vars_of_gutter): use new spec changed
14920 (gutter_specs_changed): do specific gutter positions.
14921 (top_gutter_specs_changed): new function. Only update the
14922 specified gutter specs.
14923 (bottom_gutter_specs_changed): ditto.
14924 (left_gutter_specs_changed): ditto.
14925 (right_gutter_specs_changed): ditto.
14927 * gui.c (gui_item_hash_internal): new function, does a real hash.
14928 (gui_item_id_hash): use it.
14929 (gui_item_hash): hash the eval'ed gui_item.
14931 * gui-x.c (popup_selection_callback): send an eval event to call
14932 Fupdate_widget_instances.
14934 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
14935 to call Fupdate_widget_instances.
14937 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
14938 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
14940 * glyphs.c: (update_frame_subwindows): deleted.
14941 (Fupdate_widget_instances): new function for updating the dirty
14942 state of widgets that might have changed.
14943 (syms_of_glyphs): add Qupdate_widget_instances.
14944 (full_list_hash): hash a list completely.
14945 (image_instance_hash): use it for items and properties.
14947 * frame-msw.c (mswindows_size_frame_internal): remove unused
14950 * faces.h (struct face_cachel): fix comment.
14952 * event-stream.c (Fdispatch_non_command_events): new
14953 function. Process non-command events, forcing an event cycle
14955 (syms_of_event_stream): declare.
14956 (event_stream_force_event_pending): new function. Force an event
14957 on the native event queue so that an event cycle will occur next
14961 (struct ntpipe_shove_stream):
14962 (mswindows_enqueue_dispatch_event):
14963 (mswindows_dequeue_dispatch_event):
14964 (mswindows_cancel_dispatch_event):
14965 (mswindows_pump_outstanding_events):
14966 (mswindows_drain_windows_queue):
14967 (mswindows_handle_paint):
14968 (mswindows_wnd_proc):
14969 (mswindows_key_to_emacs_keysym):
14970 (get_process_input_waitable):
14971 (emacs_mswindows_delete_stream_pair): re-indent file.
14972 (mswindows_need_event): do not process further fds if the windows
14973 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
14974 fixes the 100% cpu problem.
14975 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
14977 2000-03-15 Olivier Galibert <galibert@pobox.com>
14983 * emacs.c: Moved dump file searching to dumper.c.
14984 (Frunning_temacs_p): Fixed.
14986 * alloc.c: Moved everything pdump-related to dumper.c. Removed
14987 last_lrecord_type_index_assigned.
14989 2000-02-20 Olivier Galibert <galibert@pobox.com>
14991 * symsinit.h: Added reinit parameter to init_console_stream
14994 * lisp.h: Added file parameter to pdump_load declaration.
14996 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
14997 support. Added dump file searching.
14999 * config.h.in: Added EMACS_PROGNAME.
15001 * console-stream.c (init_console_stream): Fix reinitialisation
15002 when running from temacs.
15004 * alloc.c (pdump): Add id support.
15005 (pdump_load): Add file parameter and signature/id support.
15007 * Makefile.in.in: Add full pdump support.
15009 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15011 * postgresql.c: Update documentation to reflect latest code
15013 (print_result): Show tuple counts in printed representation when
15015 (Fpq_put_nbytes): MULE-ize.
15016 (Fpq_get_line_async): Ditto.
15018 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15020 * postgresql.c (Fpq_lo_import): Fix return value.
15021 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15023 2000-03-13 Ben Wing <ben@xemacs.org>
15025 * alloc.c (pdump_load):
15026 Fix compile warning under mswin.
15028 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15030 * postgresql.c: Mule-ization, bug fixes.
15031 Use PG_CODING to encapsulate coding system name changes.
15032 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15033 (pg-coding-system): Create.
15035 (Fpq_conn_defaults): Mule-ize.
15036 (Fpq_connectdb): Mule-ize & bug fix.
15037 (Fpq_connect_start): Mule-ize.
15038 (Fpq_set_client_encoding): Mule-ize.
15039 (Fpq_finish): Document `DEAD' connection status.
15040 (Fpq_clear): Ditto.
15041 (Fpq_pgconn): Mule-ize.
15042 (Fpq_exec): Mule-ize & bug fix.
15043 (Fpq_send_query): Ditto.
15044 (Fpq_get_result): Ditto.
15045 (Fpq_res_status): Mule-ize.
15046 (Fpq_result_error_message): Mule-ize.
15047 (Fpq_ntuples): fix comments.
15048 (Fpq_fname): Mule-ize.
15049 (Fpq_fnumber): Mule-ize.
15050 (Fpq_ftype): fix comments.
15051 (Fpq_get_value): Mule-ize.
15052 (Fpq_cmd_status): Ditto.
15053 (Fpq_cmd_tuples): Ditto.
15054 (Fpq_oid_value): Ditto.
15055 (Fpq_notifies): Ditto.
15056 (Fpq_lo_import): Ditto.
15057 (Fpq_lo_export): Ditto.
15058 (Fpq_get_line): Ditto.
15059 (Fpq_put_line): Mule-ize and bug fix.
15060 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15062 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15064 * postgresql.c (vars_of_postgresql): Mule-ize.
15065 (Fpq_conn_defaults): Ditto.
15067 2000-03-12 Ben Wing <ben@xemacs.org>
15069 * alloc.c (Fmake_byte_code):
15070 * alloc.c (debug_string_purity_print):
15071 * alloc.c (pdump_backtrace):
15072 * alloc.c (pdump_get_indirect_count):
15073 * alloc.c (pdump_register_sub):
15074 * alloc.c (pdump_register_object):
15075 * alloc.c (pdump_register_struct):
15076 * alloc.c (pdump_dump_data):
15077 * alloc.c (pdump_reloc_one):
15081 * console-msw.c (GetConsoleHwnd):
15082 * console-msw.c (msw_hide_console):
15083 * console-msw.c (msw_show_console):
15084 * console-msw.c (msw_ensure_console_buffered):
15085 * console-msw.c (msw_output_console_string):
15086 * console-msw.c (console_type_create_mswindows):
15088 a) Added functions to manipulate the console window for use with
15091 b) Added support for writing text to the console, which is now
15092 used under Windows when xemacs is not being run non-interactively,
15093 to write text that would otherwise be destined for stdout because
15094 under these circumstances, text written to stdout tends to
15095 disappear and not be seen.
15099 * event-Xt.c (x_event_to_emacs_event):
15100 * event-Xt.c (describe_event_window):
15101 * events-mod.h (XEMACS_MOD_CONTROL):
15103 * events.c (Fmake_event):
15104 * events.c (character_to_event):
15105 * events.c (event_to_character):
15106 * events.c (format_event_object):
15107 * events.c (Fevent_modifiers):
15109 * events.h (struct key_data):
15110 * events.h (struct button_data):
15111 * events.h (struct misc_user_data):
15112 * frame-x.c (Fcde_start_drag_internal):
15113 * frame-x.c (Foffix_start_drag_internal):
15114 * gpmevent.c (Freceive_gpm_event):
15116 * keymap.c (bucky_sym_to_bucky_bit):
15117 * keymap.c (control_meta_superify):
15118 * keymap.c (make_key_description):
15119 * keymap.c (keymap_lookup_directly):
15120 * keymap.c (create_bucky_submap):
15121 * keymap.c (keymap_store):
15122 * keymap.c (define_key_check_and_coerce_keysym):
15123 * keymap.c (define_key_parser):
15124 * keymap.c (define_key_alternate_name):
15125 * keymap.c (Fdefine_key):
15126 * keymap.c (raw_lookup_key_mapper):
15127 * keymap.c (struct map_keymap_unsorted_closure):
15128 * keymap.c (map_keymap_unsorted_mapper):
15129 * keymap.c (map_keymap_sort_predicate):
15130 * keymap.c (map_keymap_sorted):
15131 * keymap.c (accessible_keymaps_mapper_1):
15132 * keymap.c (where_is_recursive_mapper):
15133 * keymap.c (describe_map_mapper):
15134 * keymap.c (describe_map_sort_predicate):
15135 * keymap.c (describe_map):
15136 * keymap.c (complex_vars_of_keymap):
15137 And a number of other files, the key modifier preprocessor
15138 constants that xemacs uses have names that conflict with constants
15139 defined under MS Windows for other purposes, so they were renamed
15140 to begin with the prefix XEMACS_. The variables that hold such
15141 modifiers were changed to consistently be of type int to fix
15142 various compile warnings.
15144 * console.c (complex_vars_of_console):
15147 * device-msw.c (mswindows_finish_init_device):
15148 * device-msw.c (msw_get_workspace_coords):
15149 * device-msw.c (mswindows_device_system_metrics):
15150 and various other files, added support for a new
15151 device property called offset-workspace which returns the position
15152 of the upper left corner of the workspace area and goes along with
15153 the existing size-workspace property.
15156 * dialog-msw.c (push_bufbyte_string_as_unicode):
15157 * dialog-msw.c (mswindows_popup_dialog_box):
15158 Added support for XEmacs-style accelerator specifications in
15159 button text. Note: I didn't add support for this under X Windows,
15160 and somebody needs to do this.
15163 * dialog.c (Fpopup_dialog_box):
15164 Documented the support for accelerators that was just mentioned.
15166 editfns.c (get_home_directory): Changed behavior under Windows
15167 when HOME not defined; former behavior was irretrievably broken.
15170 * emacs.c (main_1):
15172 * minibuf.c (clear_echo_area_internal):
15173 * minibuf.c (echo_area_append):
15175 * print.c (std_handle_out_external):
15176 * print.c (std_handle_out_va):
15178 * print.c (write_string_to_stdio_stream):
15179 * print.c (output_string):
15180 * print.c (debug_print):
15181 * print.c (debug_backtrace):
15182 * print.c (debug_short_backtrace):
15183 Cleaned up the code that prints text to stdout so that this can be
15184 changed to output into a console window instead under MS Windows,
15185 as described above.
15188 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15189 * eval.c (internal_catch):
15190 * eval.c (unwind_to_catch):
15191 * eval.c (throw_or_bomb_out):
15192 * eval.c (condition_case_1):
15193 * eval.c (signal_1):
15194 * eval.c (check_error_state_sanity):
15195 * eval.c (call_with_suspended_errors_1):
15196 * eval.c (call_with_suspended_errors):
15197 * eval.c (reinit_vars_of_eval):
15198 Added code to catch throw loops and check for a pesky bug that may
15202 * event-msw.c (key_needs_default_processing_p):
15203 * event-msw.c (mswindows_wnd_proc):
15204 * event-msw.c (mswindows_modifier_state):
15205 * event-msw.c (emacs_mswindows_quit_p):
15206 * event-msw.c (vars_of_event_mswindows):
15207 a) Added support for using the alt key to select menu items as is
15208 standard under MS Windows. This is controlled using the variable
15209 menu-accelerator-enabled, just like under X Windows. There is an
15210 option on the options menu to turn this support on. I really
15211 think that it should be on by default under Windows, but I'm not
15212 going to make this change yet.
15214 b) Added support for dynamic display size changes under Windows.
15217 * event-stream.c (maybe_echo_keys):
15218 * event-stream.c (Fnext_event):
15219 * event-stream.c (command_builder_find_leaf):
15220 * event-stream.c (lookup_command_event):
15221 * event-stream.c (execute_command_event):
15222 * event-stream.c (pre_command_hook):
15223 * event-stream.c (post_command_hook):
15224 * event-stream.c (syms_of_event_stream):
15225 * event-stream.c (vars_of_event_stream):
15226 * event-stream.c (complex_vars_of_event_stream):
15227 * events.h (struct command_builder):
15229 a) Tried to clean up a little bit the horribly written x-specific
15230 accelerator code that crept into this file. I moved this code
15231 into menubar-x.c where it belongs. I also needed to move the
15232 command builder structure into the file events.h because it is
15233 accessed directly by this accelerator code. What I didn't do, but
15234 which should be done at some point, is to properly abstract this
15235 code using device methods instead of the kludgy way that it
15236 currently hooks into the event code.
15238 b) Added the lisp variables this-command-properties and
15239 last-command- properties, which should be used to synchronize two
15240 adjacent commands in preference to playing games with the variable
15241 this-command, which is typically what happens.
15243 c) Added some slightly nasty code to hook into the lisp support
15244 for shifted- motion-key selection. This is actually necessary for
15245 somewhat complicated reasons, which are described in
15246 simple.el. (NB: I think the proper thing would be to have the code
15247 that calls the pre and post command hooks also call out to generic
15248 lisp functions in simple.el, where all built-in stuff could be
15249 added. I will think about this more.)
15251 * event-unixoid.c (poll_fds_for_input):
15252 * lread.c (readchar):
15253 * redisplay-tty.c (tty_clear_frame):
15254 * redisplay-x.c (x_get_gc):
15255 * signal.c (interrupt_signal):
15256 And a whole bunch of other files: fixed up places that printed
15257 directly to stderr to instead call the function stderr_out so that
15258 the changes I made under Windows work correctly.
15260 * filemode.c (mode_string):
15264 * frame-msw.c (mswindows_size_frame_internal):
15265 Fixed the computation of frame size and position to keep the frame
15266 within the workspace area, rather than within the physical
15267 dimensions of the screen, so that the frame doesn't overlap window
15268 manager decorations, such as the start menu and toolbar, typically
15269 at the bottom of the screen.
15271 * frame.c (vars_of_frame):
15272 Changed the default frame title format under MS Windows to consist
15273 of buffername-XEmacs, which is standard under MS Windows. I think
15274 it might be a good idea to change this everywhere because I think
15275 it is superior to the current frame title format, but this is the
15276 kind of change that is likely to cause some people to get annoyed,
15277 so I'm not making it.
15279 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15281 * gui-msw.c (mswindows_handle_gui_wm_command):
15282 Fixed compile warnings.
15285 * gui-x.c (strdup_and_add_accel):
15286 * gui-x.c (button_item_to_widget_value):
15288 Added code to automatically put an accelerator onto the beginning
15289 of menu items that don't have one as is now the standard, and is
15290 described more later. Also fixed things so that the menu item
15291 name can be an evaluated expression, again a new standard.
15294 * gui.c (gui_item_add_keyval_pair):
15295 * gui.c (make_gui_item_from_keywords_internal):
15296 * gui.c (gui_add_item_keywords_to_plist):
15297 * gui.c (gui_item_accelerator):
15298 * gui.c (gui_name_accelerator):
15299 * gui.c (gui_item_included_p):
15300 * gui.c (gui_item_display_flush_left):
15301 * gui.c (gui_item_display_flush_right):
15302 * gui.c (parse_gui_item_tree_item):
15303 * gui.c (parse_gui_item_tree_children):
15304 * gui.c (parse_gui_item_tree_list):
15305 Mule-ized. Cleanup. GCPRO addition.
15307 * line-number.c (buffer_line_number):
15309 * lisp.h (EMACS_INT_MAX):
15310 Added the manifest constant EMACS_INT_MIN corresponding to the
15311 existing constant EMACS_INT_MAX. This is partially to fix compile
15312 warnings under Windows, and partly for cleanliness.
15315 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15316 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15317 * menubar-msw.c (displayable_menu_item):
15318 * menubar-msw.c (populate_menu_add_item):
15319 * menubar-msw.c (populate_or_checksum_helper):
15320 * menubar-msw.c (populate_menu):
15321 * menubar-msw.c (update_frame_menubar_maybe):
15322 * menubar-msw.c (prune_menubar):
15323 * menubar-msw.c (msw_char_is_accelerator):
15324 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15325 * menubar-msw.c (mswindows_handle_wm_command):
15326 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15327 * menubar-msw.c (mswindows_handle_wm_initmenu):
15328 * menubar-msw.c (mswindows_update_frame_menubars):
15329 * menubar-msw.c (mswindows_free_frame_menubars):
15330 * menubar-msw.c (mswindows_popup_menu):
15331 Fixed a bug in handling accelerators where an extra character
15332 would be displayed in the menu item. Also generalized the
15333 function displayable_menu_item because it is now used by the
15334 dialog box code as well. And finally, added code in the functions
15335 that create the menubar to extract a list of accelerators for the
15336 top level menubar, which is used in the event code to determine
15337 whether a particular alt-key combination should be used to invoke
15338 a menu item, or should be passed through to access the standard
15339 XEmacs keymap binding for this key combination.
15341 Much needed GCPROing.
15344 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15345 * menubar-x.c (menu_item_descriptor_to_widget_value):
15346 * menubar-x.c (restore_in_menu_callback):
15347 * menubar-x.c (x_popup_menu):
15348 * menubar-x.c (menu_move_up):
15349 * menubar-x.c (menu_move_down):
15350 * menubar-x.c (menu_move_left):
15351 * menubar-x.c (menu_move_right):
15352 * menubar-x.c (menu_select_item):
15353 * menubar-x.c (command_builder_operate_menu_accelerator):
15354 * menubar-x.c (menu_accelerator_junk_on_error):
15355 * menubar-x.c (command_builder_find_menu_accelerator):
15356 * menubar-x.c (Faccelerate_menu):
15358 Moved a whole bunch of code here that was previously in
15359 event-stream.c as described above. There is also code connected
15360 to the new standard of adding an accelerator to the beginning of
15361 menu items that don't have one as described above and below.
15364 * menubar.c (menu_parse_submenu_keywords):
15365 * menubar.c (Fmenu_find_real_submenu):
15366 * menubar.c (Fnormalize_menu_item_name):
15367 * menubar.c (syms_of_menubar):
15368 * menubar.c (vars_of_menubar):
15369 * menubar.c (complex_vars_of_menubar):
15371 a) Cleaned up a bunch of documentation and improved it.
15373 b) XEmacs now automatically adds an accelerator onto the beginning
15374 of any menu items that don't have one. I did this because there
15375 will inevitably be some menu items on the main menubar that don't
15376 have accelerators on them because the package that adds that
15377 particular menu item hasn't yet been fixed up to have accelerators
15378 in them and it looked rather strange to have some items with and
15379 some items without accelerators, especially since even in items
15380 without accelerators, you can, at least under windows, still
15381 access the item through an accelerator corresponding to the first
15382 character in the item's name. If people don't like this behavior,
15383 I can add a variable to turn it off optionally, but I'm not sure
15384 this is a good idea because we really do need to have accelerators
15385 on all of the menu items, and if a package doesn't like the
15386 accelerators being put on the first character, then it should put
15387 the accelerators where they belong.
15389 c) I made a behavior change, which is that the descriptor that
15390 specifies the text of the menu item, which formerly was just a
15391 string, can now also be an evaluated expression. This makes this
15392 descriptor parallel with all of the others, which could also be
15393 evaluated expressions. This also obviates the need for the
15394 keyword :label, which was previously listed in the documentation
15395 as unimplemented, and which was for the same purpose.
15400 * ntproc.c (new_child):
15401 * ntproc.c (sys_spawnve):
15402 * ntproc.c (find_child_console):
15403 * ntproc.c (sys_kill):
15404 Fixed compile warnings. By the way, this file should really go
15405 away entirely, and this will happen as soon as Kirill makes his
15406 final round of process cleanups, which affect the function
15410 * process-nt.c (struct nt_process_data):
15411 * process-nt.c (find_process_from_pid):
15412 * process-nt.c (send_signal_the_nt_way):
15413 * process-nt.c (enable_child_signals):
15414 * process-nt.c (find_child_console):
15415 * process-nt.c (send_signal_the_95_way):
15416 * process-nt.c (nt_finalize_process_data):
15417 * process-nt.c (ensure_console_window_exists):
15418 * process-nt.c (nt_create_process):
15419 * process-nt.c (nt_kill_child_process):
15420 * process-nt.c (nt_kill_process_by_pid):
15421 * process-nt.c (nt_open_network_stream):
15422 * process-nt.c (vars_of_process_nt):
15423 Copied over code from Emacs 20.5 to correctly send signals to sub-
15424 processes under Windows 95. Also added code to automatically
15425 create and hide console window when a sub-process is created under
15426 Windows 95, which obviates the need for the separate runemacs.exe
15427 executable, and finally implemented some variables that were
15428 implemented in Emacs 20.5, but previously not in XEmacs. These
15429 include mswindows- start-process-share-console and
15430 mswindows-start-process-inherit-error-mode. (Both of these only
15431 apply to Windows 95.)
15433 * regex.c (regex_compile): Fixed a compile warning.
15436 * select-msw.c (mswindows_own_selection):
15437 * select-msw.c (mswindows_get_foreign_selection):
15438 * select-msw.c (mswindows_disown_selection):
15439 * select-msw.c (console_type_create_select_mswindows):
15440 * select-msw.c (syms_of_select_mswindows):
15441 Cleaned up the file and implemented the device method
15442 selection_exists_p, which had accidentally been left out. Also
15443 removed four lisp functions that were remnants from before the
15444 time when the selection code was properly device abstracted.
15445 These functions are no longer needed because there are generic
15446 equivalents, and because they were added recently and don't exist
15447 in FSF Emacs, I don't think there's any problem with just deleting
15451 * sysdep.c (sys_subshell):
15452 Fixed a compile warning, although in this case there's probably
15453 something wrong with this code, and it ought to be looked into
15454 more thoroughly by somebody who understands it.
15457 * window.c (Fwindow_text_area_height):
15458 * window.c (Fwindow_width):
15459 * window.c (Fwindow_full_width):
15460 * window.c (Fwindow_pixel_width):
15461 * window.c (debug_print_window):
15462 * window.c (syms_of_window):
15463 Added functions window-text-area-height and window-full-width,
15464 which are functions for returning various width and height
15465 characteristics of a window. (One of these functions is necessary
15466 for making the file dialog box work correctly, and the other one
15467 was added for completeness.) Also added a table to the
15468 documentation for window-height which describes the entire scheme
15469 for accessing width and height characteristics of a window.
15471 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15473 * nt.c (fstat): Added a comment for another problem with
15474 non-encapsulated [f]stat(), reported by Adrian Aichner
15475 <aichner@ecf.teradyne.com>.
15477 2000-03-11 Andy Piper <andy@xemacs.org>
15479 * window.c (make_dummy_parent): initialize subwindow instance
15481 (Fset_window_configuration): zero extent_modiff.
15483 2000-03-10 Andy Piper <andy@xemacs.org>
15485 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15486 more changes can be triggered.
15487 (Fredisplay_frame): ditto.
15488 (Fredraw_device): ditto.
15489 (Fredisplay_device): ditto.
15490 (redisplay_frame): make non-static.
15491 (redisplay_frame): call update_frame_gutter_geometry outside of
15494 * gutter.h: declare update_frame_gutter_geometry.
15496 * redisplay.h: declare redisplay_frame.
15498 * gutter.c (update_frame_gutter_geometry): move geometry changes
15499 in update_frame_gutters here. Geometry changes can only occur
15500 outside of redisplay.
15501 (update_frame_gutters): remove geometry change code.
15502 (Fredisplay_gutter_area): make sure that we are in display when we
15503 update and that we have flushed any size changes.
15505 2000-03-11 Andy Piper <andy@xemacs.org>
15507 * alloc.c (pdump_dump_data): remove i & count shadows.
15509 2000-02-27 Mike Alexander <mta@arbortext.com>
15511 * sysdep.h: Declare pdump_read_file
15513 * sysdep.c (pdump_read_file): New function
15515 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15518 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15520 * lrecord.h: add `lrecord_type_pgsetenv'.
15522 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15524 * symsinit.h: declare (vars|syms)_of* functions.
15525 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15527 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15529 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15531 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15534 * emacs.c (main_1): Call postgres initialization code.
15536 * postgresql.h: New file. PostgreSQL RDBMS support.
15537 * postgresql.c: New file.
15539 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15541 * redisplay-output.c (redisplay_output_display_block): Disable
15544 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15546 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15547 (Fcanna_henkan_next): Ditto.
15548 (Fcanna_bunsetu_henkou): Ditto.
15549 (Fcanna_henkan_kakutei): Ditto.
15550 (Fcanna_henkan_end): Ditto.
15551 (Fcanna_henkan_quit): Ditto.
15552 (Fcanna_henkan_next): Set retun value correctly.
15553 (c2mu): Use unsigned char instead of signed char.
15555 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15557 * emacs.c (main_1): Always call syms_of_gui.
15558 * inline.c: include gui.h
15560 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15562 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15563 converted to Lisp_Object.
15564 (Qtop_bottom): New variable.
15565 (syms_of_redisplay): Initialize it.
15566 * redisplay.h (Vvisible_bell): Ditto.
15567 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15568 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15569 only flash top and bottom.
15571 2000-03-08 Andy Piper <andy@xemacs.org>
15573 * buffer.c (Frename_buffer): record new buffer name the right way.
15575 2000-03-08 Andy Piper <andy@xemacs.org>
15577 * glyphs.c (update_subwindow): increase hash depth so that widget
15578 items get picked up properly.
15580 * redisplay-output.c (compare_runes): increase hash depth so that
15581 widget items get picked up properly.
15583 2000-03-08 Andy Piper <andy@xemacs.org>
15585 * gutter.c (output_gutter): add some debug.
15587 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15588 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15589 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15591 * redisplay-output.c (compare_runes): use display_hash to
15592 determine if glyphs really are not the same.
15594 * glyphs.c (update_subwindow): check display_hash to see if
15595 anything really needs to be updated. If not then do
15596 nothing. Record the display_hash after updating.
15597 (image_instance_equal): compare the image_instance face also.
15599 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15601 * redisplay.h: Fix comment style.
15603 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15605 * consle-msw.h (struct mswindows_frame):
15606 Added new member paint_pending to indicate whether a WM_PAINT
15607 magic event has been queued for this frame.
15609 * event-msw.c (mswindows_drain_windows_queue):
15610 Don't queue a WM_PAINT magic event if one is already queued.
15611 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15613 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15615 2000-03-07 Didier Verna <didier@xemacs.org>
15617 * dired.c: #include `regex.h' after `sysfile.h'.
15619 2000-03-06 Martin Buchholz <martin@xemacs.org>
15621 * sound.c (init_nas_sound): Fix compiler warning.
15623 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15625 (MARK_STRUCT_AS_FREE):
15626 (MARK_STRUCT_AS_NOT_FREE):
15627 Make `gcc -fstrict-aliasing' work properly.
15629 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15631 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15632 (mswindows_delete_device): Call CoUnnitialize().
15634 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15636 2000-02-25 <CraigL@DyCon.com>
15638 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15641 * sysdep.c: This extern declaration for environ prevents MinGW
15642 from finding the variable in CRTDLL.DLL.
15644 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15646 (SHGFI_EXETYPE): ..
15647 (WM_MOUSEWHEEL): ..
15648 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15650 (MMRESULT): Removed, now defined in cygwin's windows headers.
15652 (uid_t,gid_t,pid_t,ssize_t): ..
15653 (_timeb): Removed, MinGW defines both _timeb and timeb.
15654 (HAVE_H_ERRNO): Added.
15655 (HAVE_TZNAME): Added, configure is not detecting this.
15657 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15659 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15660 * syntax.c (syntax_match): Use it.
15662 * cmds.c: Import auto-fill-chars from FSF Emacs.
15663 (Vauto_fill_chars): New variables.
15664 (internal_self_insert): Check Vauto_fill_chars.
15666 Declare auto-fill-chars as a Lisp variable and initialize it.
15668 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15670 * fileio.c (Fmake_symbolic_link):
15672 Run handlers even if local machine doesn't have symlinks.
15674 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15676 * event-msw.c (mswindows_drain_windows_queue):
15677 Don't generate paint magic events for non-XEmacs frames.
15679 2000-03-05 Andy Piper <andy@xemacs.org>
15681 * redisplay.c (redisplay_frame): generate_displayable_area and
15682 friends assumes that we are not in GC, we therefore have to make
15683 sure that this doesn't happen.
15685 * gutter.c (calculate_gutter_size): generate_displayable_area
15686 assumes that we are not in GC, we therefore have to make sure that
15687 this doesn't happen.
15689 2000-03-05 Martin Buchholz <martin@xemacs.org>
15691 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15693 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15695 * redisplay.c (regenerate_window): Make sure we set a sane value
15696 for end_pos even if we jump out of the loop.
15697 (regenerate_window): Answer Ben's question :-).
15698 (start_end_of_last_line): Add may_error argument.
15699 (start_of_last_line):
15700 (end_of_last_line): Pass may_error = 0.
15701 (end_of_last_line_may_error): New function.
15702 (pixel_to_glyph_translation): Use it, so we don't crash in
15705 2000-03-04 Andy Piper <andy@xemacs.org>
15707 * window.h (struct window): add gutter_extent_modiff.
15709 * window.c (allocate_window): zero out gutter_extent_modiff.
15711 * redisplay.h: declare sync_display_line_structs.
15713 * redisplay.c (add_glyph_rune): add a better comment.
15715 * redisplay-output.c (sync_display_line_structs): made non-static.
15716 (compare_runes): remove unneccesary glyph cachel access.
15718 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15720 * gutter.c (output_gutter): don't output the gutter if extent
15721 changes only involve extents in buffers. use 4 sets of display
15723 (gutter_extent_signal_changed_region_maybe): new function. Mark
15724 extents in gutters as changed.
15725 (update_frame_gutters): use 4 sets of display lines.
15726 (reset_gutter_display_lines): ditto.
15727 (free_frame_gutters): ditto.
15728 (redraw_exposed_gutter): force output of gutters.
15730 * frame.h (struct frame): add 4 sets of gutter display lines.
15732 * extents.c: (extent_changed_for_redisplay): signal changes to
15733 extents in strings in the gutter as well as extents in buffers.
15735 2000-03-02 Andy Piper <andy@xemacs.org>
15737 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15739 * frame.c (Fmake_frame): make sure the gutters get initialized
15740 after the frame is visible.
15741 (set_frame_selected_window): re-arrange compilation macros a
15743 (change_frame_size_1): mark gutters changed.
15745 * device.c (Fset_device_class): mark gutters changed.
15747 2000-03-01 Andy Piper <andy@xemacs.org>
15749 * window.c (window_top_frame_gutter_height): deleted.
15750 (window_bottom_frame_gutter_height): ditto.
15751 (window_left_frame_gutter_height): ditto.
15752 (window_right_frame_gutter_height): ditto.
15753 (window_top_gutter_height): don't use them.
15754 (window_bottom_gutter_height): ditto.
15755 (window_left_gutter_width): ditto.
15756 (window_right_gutter_width): ditto.
15757 (Fsplit_window): ditto.
15758 (Fwindow_pixel_edges): don't use border dimensions here.
15760 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15761 (update_scrollbar_instance): ditto.
15763 * redisplay.c (generate_modeline): don't take gutters into account.
15764 (generate_modeline): ditto.
15765 (redisplay_frame): small gutter display optimization.
15767 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15769 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15770 gutters into account.
15772 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15773 for window position and type.
15775 * gutter.c (get_gutter_coords): fix for frame gutters.
15776 (update_frame_gutters): update frame geometry if the gutters have
15778 (init_frame_gutters): record current gutter geometries.
15780 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15782 (mswindows_widget_instantiate): ditto.
15784 * frame.h (struct frame): add current_gutter_bounds.
15786 * frame.c (change_frame_size_1): position window and minibuffer
15787 appropriately taking into account the frame gutters.
15789 * frame-x.c: (x_initialize_frame_size): take into account the
15792 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15794 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15796 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15798 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15800 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15802 * file-coding.c (reset_decoding_stream): Clear previous
15803 detection state when autodetect.
15805 2000-02-29 Didier Verna <didier@xemacs.org>
15807 * extents.c (set_extent_glyph_1): don't require extents to be
15810 2000-02-27 Andy Piper <andy@xemacs.org>
15812 * gutter.c (Fset_default_gutter_position): don't default left and
15813 right gutter visibility to t.
15814 (Fset_default_gutter_position): run
15815 default-gutter-position-changed-hook.
15816 (syms_of_gutter): add default-gutter-position-changed-hook.
15818 2000-02-26 Andy Piper <andy@xemacs.org>
15820 * specifier.c (Fmake_specifier): add gutter references.
15822 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15824 * lisp.h: declare Fvalid_plist_p.
15826 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15828 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15829 well as its visibility so that it gets reconstructed.
15830 (construct_window_gutter_spec): new function. Construct a string
15831 to be displayed in the gutter from a plist of strings. Take care
15832 to only use elements that are declared as visible.
15833 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15835 (gutter_validate): allow plists of strings in the specifier.
15836 (gutter_specs_changed): construct the real_gutter from the gutter
15837 specs using construct_window_gutter_spec.
15838 (gutter_visible_validate): gutter-visible is a new specifier type.
15839 (Fgutter_visible_specifier_p): new function for the new specifier.
15840 (syms_of_gutter): declare gutter-visible and
15841 Fgutter_visible_specifier_p.
15842 (specifier_type_create_gutter): intitalize new gutter-visible
15844 (reinit_specifier_type_create_gutter): ditto.
15845 (specifier_vars_of_gutter): use new specifier type for gutter
15847 (init_frame_gutters): construct real_gutter correctly.
15848 (Fgutter_specifier_p): beef up documentation.
15849 (Fgutter_size_specifier_p): ditto.
15851 * winslots.h: add real_gutter slots.
15853 2000-02-25 Andy Piper <andy@xemacs.org>
15855 * device-msw.c: Be kind to older cygwin versions. From Raymond
15856 Toy <toy@rtp.ericsson.se>.
15858 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
15859 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
15861 2000-02-25 Martin Buchholz <martin@xemacs.org>
15863 * elhash.c (MARK_OBJ): Practice macro hygiene.
15865 2000-02-24 Martin Buchholz <martin@xemacs.org>
15867 * miscplay.c: s/__inline__/inline/g;
15868 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
15869 (get_device_compdc): INLINE ==> static inline
15870 * *.[ch]: Change INLINE to INLINE_HEADER globally.
15871 find -name '*.h' | \
15872 xargs global-replace \
15873 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
15875 2000-02-25 Andy Piper <andy@xemacs.org>
15877 * window.c (window_top_frame_gutter_height): new function.
15878 (window_top_window_gutter_height): ditto.
15879 (window_top_gutter_height): use them.
15880 (window_bottom_frame_gutter_height): new function.
15881 (window_bottom_window_gutter_height): ditto.
15882 (window_bottom_gutter_height): use them.
15883 (window_left_window_gutter_width): new function.
15884 (window_left_frame_gutter_width): ditto.
15885 (window_left_gutter_width): use them.
15886 (window_right_window_gutter_width): new function.
15887 (window_right_frame_gutter_width): ditto.
15888 (window_right_gutter_width): use them.
15889 (window_pixel_height): new function. calulate window pixel height
15890 with frame gutter involvement.
15891 (Fsplit_window): calculate new sizes taking frame gutters into
15893 (window_char_height_to_pixel_height): don't include frame gutters.
15894 (window_char_height): use window_pixel_height.
15895 (window_pixheight): rename from window_pixel_height.
15896 (change_window_height): use it.
15897 (window_pixel_height_to_char_height): don't include frame gutters.
15898 (window_char_width_to_pixel_width): ditto.
15900 2000-02-25 Andy Piper <andy@xemacs.org>
15902 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
15905 2000-02-24 Martin Buchholz <martin@xemacs.org>
15907 * alloc.c (staticpro):
15908 (staticpro_nodump):
15913 (compact_string_chars):
15914 (pdump_dump_wired):
15915 Convert: if (foo) abort(); ==> assert (! foo);
15917 * eldap.c (Fldap_search_basic):
15921 Fix compiler warnings, and possible crashes if (random) return
15922 value were to be used.
15924 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15926 * device-msw.c: Workaround ResetDC failure.
15928 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
15929 applying a devmode.
15931 * redisplay-msw.c (get_frame_dc): Added start_page_p.
15932 (mswindows_text_width): Do not start printer page.
15934 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
15936 * glyphs-msw.c: Added image methods to msprinter console and
15937 msprinter-specific image instantiation.
15939 2000-02-20 Mike Alexander <mta@arbortext.com>
15941 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
15942 to avoid crashes when selection-sets-clipboard is on
15943 (mswindows_own_selection): ditto
15945 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15948 * redisplay-msw.c (get_frame_dc):
15949 (get_frame_compdc):
15951 * device-msw.c (mswindows_init_device):
15952 (mswindows_delete_device):
15953 (msprinter_init_device):
15954 (msprinter_delete_device):
15955 * frame-msw.c (mswindows_init_frame_1):
15956 (mswindows_delete_frame):
15957 (msprinter_init_frame_3):
15958 (msprinter_delete_frame): Move compatible DC to device object from
15959 frame object, for both mswindows and msprinter. Only one at a time
15960 is needed, it is a real waste to have one per frame!
15962 2000-02-23 Andy Piper <andy@xemacs.org>
15964 * glyphs.c: add dynamic width and height elements.
15965 (image_instance_equal): ditto.
15967 * glyphs-widget.c (widget_query_geometry): calculate width and
15968 height dynamically if required.
15969 (initialize_widget_image_instance): initialize dynamic dimensions.
15970 (widget_instantiate): pick-up dynamic dimensions.
15972 * glyphs.h (struct Lisp_Image_Instance): add width and height for
15973 dynamic determination. Add appropriate macros.
15975 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
15977 (WINDOW_GUTTER_SIZE): ditto.
15978 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
15980 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
15982 (get_frame_dc): ditto.
15984 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
15987 2000-02-23 Martin Buchholz <martin@xemacs.org>
15989 * XEmacs 21.2.31 is released.
15991 2000-02-22 Ben Wing <ben@xemacs.org>
15993 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
15995 2000-02-22 Andy Piper <andy@xemacs.org>
15997 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
15999 2000-02-21 Mike Sperber <mike@xemacs.org>
16003 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16006 2000-02-21 Mike Sperber <mike@xemacs.org>
16008 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16010 2000-02-21 Martin Buchholz <martin@xemacs.org>
16012 * XEmacs 21.2.30 is released.
16014 2000-02-20 Martin Buchholz <martin@xemacs.org>
16016 Performance hacking.
16018 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16019 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16020 * emacs.c (main_1):
16022 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16023 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16024 * symeval.h (DEFVAR_SYMVAL_FWD):
16025 * symbols.c (guts_of_unbound_marker):
16026 Make all c_readonly objects also lisp_readonly and marked for life.
16027 * lrecord.h (struct lrecord_implementation):
16028 Document flags better.
16029 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16030 * lrecord.h (DECLARE_LRECORD):
16031 * lrecord.h (XSETRECORD):
16032 * lrecord.h (RECORDP):
16033 * lrecord.h (RECORD_TYPEP):
16034 * lrecord.h (RECORD_MARKER): New.
16035 * lrecord.h (error_check_*):
16036 * lrecord.h (CONCHECK_NONRECORD):
16037 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16038 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16039 * lrecord.h (set_lheader_implementation):
16040 * lrecord.h (enum lrecord_type): New.
16041 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16042 * alloc.c (disksave_object_finalization_1):
16043 * alloc.c (mark_object):
16044 * alloc.c (lrecord_type_index):
16045 * alloc.c (tick_lcrecord_stats):
16046 * alloc.c (Fgarbage_collect):
16047 * alloc.c (init_alloc_once_early):
16048 * alloc.c (pdump_load):
16049 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16050 * alloc.c (lrecord_type_index): Delete.
16051 Make lisp object type indexes be constant.
16052 Makes (byte-compile) 5% faster.
16053 Put all marker functions into their own array.
16054 Makes (garbage-collect) 5% faster.
16055 Optimize SYMBOL_VALUE_MAGIC_P.
16056 Makes (byte-compile) 2-3% faster.
16057 * config.h.in (gc_checking_assert): New.
16058 * alloc.c: Use gc_checking_assert().
16059 * .dbxrc: Make compatible with new object type implementation.
16060 * .gdbinit: Make compatible with new object type implementation.
16061 * alloc.c: Delete all symbols defined only for debugging, such as
16062 Lisp_Type_Vector and lrecord_charset.
16064 2000-02-21 Andy Piper <andy@xemacs.org>
16066 * gui-msw.c (Fmswindows_shell_execute): fix file location
16069 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16070 unshowing so that set_window_buffer doesn't undo
16071 kill_buffer_hook's hard work.
16073 * glyphs-widget.c (tab_control_query_geometry): don't count the
16074 first item when calculating geometry.
16076 * glyphs.c (map_subwindow): remove redundant code.
16077 (update_frame_subwindows): be more circumspect about when to
16080 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16081 when items haven't changed. Update faces if faces have changed as
16082 well as just the widget face.
16083 (x_tab_control_update): Update faces if faces have changed as well
16084 as just the widget face.
16086 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16088 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16090 (build_syscolor_string): Use mswindows_color_to_string to try to
16092 (mswindows_device_system_metrics): Reverse the foreground and
16093 background colors so that they match the documentation.
16095 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16096 they match the default Windows palette.
16097 (mswindows_color_to_string): New function.
16099 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16101 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16103 2000-02-18 Olivier Galibert <galibert@pobox.com>
16105 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16106 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16108 * symbols.c (init_symbols_once_early): Removed obsolete
16109 DATA_SEG_BITS related kludge.
16110 (defvar_magic): Ditto.
16112 * malloc.c: Removed obsolete DATA_SEG_BITS
16114 * mem-limits.h: Ditto.
16116 * Makefile.in.in: Removed obsolete HAVE_SHM
16119 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16121 * device-msw.c (mswindows_delete_device): Free DDE string
16124 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16126 * keymap.c (get_keyelt):
16127 * unexnt.c (unexec):
16128 * vm-limit.c (memory_warnings):
16129 * ntheap.c (recreate_heap):
16130 * ntheap.h (UNINIT_PTR):
16131 * select-msw.c (Fmswindows_get_clipboard):
16132 (Fmswindows_set_clipboard):
16133 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16135 * menubar-msw.c (displayable_menu_item):
16137 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16138 * sysdep.c (sys_subshell):
16139 * process-nt.c (nt_create_process):
16140 * nt.c (normalize_filename):
16141 (dostounix_filename):
16142 (unixtodos_filename):
16143 * ntproc.c (win32_executable_type):
16144 * ntplay.c (play_sound_data_1):
16146 * editfns.c (get_home_directory):
16147 * event-msw.c (struct winsock_stream):
16148 (mswindows_dde_callback):
16149 * device-msw.c (msprinter_init_device):
16150 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16152 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16153 mswindows_clear_toolbar were swapped!
16155 * objects-msw.c:(colormap_t):
16157 * emacs.c (struct standard_args): Fixed const jumble.
16159 * glyphs-widget.c (update_widget): Fixed comparison notation.
16161 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16163 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16164 __declspec(noreturn) syntax.
16166 2000-02-19 Martin Buchholz <martin@xemacs.org>
16168 * eldap.c (Fldap_open):
16169 (Fldap_search_basic):
16172 Use new coding system conversion macros.
16174 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16176 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16178 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16180 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16181 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16183 * eldap.c (Qadd, Qreplace): New constant symbols
16184 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16185 interruptions by XEmacs signals
16186 Remove unnecessary calls to slow_down_interrupts and
16187 speed_up_interrupts
16188 (Fldap_search_basic): Renamed from Fldap_search_internal
16189 Added new optional parameter VERBOSE that triggers the
16190 display of progress messages
16191 Remove unnecessary calls to slow_down_interrupts and
16192 speed_up_interrupts
16193 LDAP result code analysis rewritten
16194 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16195 (syms_of_eldap): Define the new symbols and functions
16198 2000-02-17 Martin Buchholz <martin@xemacs.org>
16200 * realpath.c: Determine PATH_MAX maximally portably.
16202 * insdel.c (bytecount_to_charcount): Optimize.
16203 The function used to be optimized for entirely ASCII sequences.
16204 Now it is optimized for successive characters from the same
16205 charset. This also wins big for _mostly_ ASCII sequences.
16207 * fileio.c (Ffile_truename): convert return from realpath() using
16208 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16209 - Rewrite GCPROing slightly.
16211 * sysdep.c (sys_open): Do filename conversion, like all other
16212 sys_* functions. Fixes bug:
16213 (let ((file-name-coding-system 'iso-8859-2))
16214 (write-region x y latin2-name))
16215 ==> writes filename using internal encoding.
16217 2000-02-18 Martin Buchholz <martin@xemacs.org>
16219 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16220 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16221 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16222 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16223 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16224 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16225 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16226 (CONST_IF_NOT_DEBUG): Delete.
16227 * alloc.c (this_one_is_unmarkable): Delete.
16228 (mark_object): Don't check for this_one_is_unmarkable. Use the
16229 c_readonly flag instead.
16230 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16232 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16234 * event-msw.c (mswindows_drain_windows_queue):
16235 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16236 away redundant repaint events.
16238 2000-02-17 Andy Piper <andy@xemacs.org>
16240 * redisplay.h: declare mark_redisplay_structs.
16242 * redisplay.c (redisplay_window):
16243 (redisplay_frame): don't check subwindows_state_changed.
16244 (mark_redisplay): mark gutters here.
16246 * glyphs.c: (instantiate_image_instantiator): always layout if we
16247 haven't done so already.
16248 (allocate_image_instance): don't mark as dirty.
16249 (update_subwindow): bind inhibit_quit.
16251 * gutter.c (mark_gutters): new function.
16253 * glyphs-x.c (x_update_widget): Always resize to get round a
16256 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16257 breaking absolutely everything.
16259 * gutter.h: declare mark_gutters.
16261 2000-02-16 Martin Buchholz <martin@xemacs.org>
16263 * XEmacs 21.2.29 is released.
16265 2000-02-15 Olivier Galibert <galibert@pobox.com>
16267 * fns.c (size_bit_vector): Fix computation of the size.
16269 2000-02-15 Martin Buchholz <martin@xemacs.org>
16271 * *.[ch]: Change CONST to const globally.
16272 find -name '*.[ch]' | \
16273 xargs global-replace \
16274 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16275 - Remove vestigial references to CONST_IS_LOSING
16277 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16279 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16280 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16281 events instead of dispatching them directly.
16282 (mswindows_handle_paint): New function to do repainting.
16283 (mswindows_wnd_proc):
16284 (emacs_mswindows_handle_magic_event): Call above function.
16286 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16288 * objects-msw.c (mswindows_create_font_variant): Return the new
16290 (initialize_font_instance): Get font metrics from the underlined
16291 variant of the font to cope with the case where the underlined
16292 font has a bigger descent.
16294 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16296 * gui.c (gui_item_accelerator): Return the first underlined
16297 character in item name.
16299 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16301 * lisp.h: Added Qprinter.
16303 * general.c (syms_of_general): Initialized it.
16305 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16307 (get_frame_compdc): Made inline.
16309 * console.h (struct console_methods): Added eject_page method.
16311 * frame.h: Added FRAME_DISPLAY_P and friends.
16312 Aligned backslahes in many macros in more readable fashion.
16313 Added page_number to struct frame, and an accessor macro
16316 * defice.h: Added DEVICE_DISPLAY_P and friends.
16318 * device.c (Fdevice_printer_p): Used these.
16320 * frame.c (allocate_frame_core): Initialize page number.
16321 (Fprint_job_page_number):
16322 (Fprint_job_eject_page): Implemented.
16324 * frame-msw.c (msprinter_eject_page): Added method.
16325 (msprinter_start_page): Added.
16327 * window.c (Fwindow_truncated_p): Fixed docstring.
16328 (Fwindow_last_line_visible_height): Implemented.
16330 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16332 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16334 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16336 * syntax.c (scan_words): Always advance at least one character.
16338 2000-02-13 Andy Piper <andy@xemacs.org>
16340 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16341 to make sure the glyph is in the cachels.
16343 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16344 global image instance flag.
16345 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16346 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16348 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16349 (Fset_image_instance_property): mark layout as changed.
16350 (invalidate_glyph_geometry_maybe): mark layout as changed.
16351 (glyph_width): use new NEEDS_LAYOUT macro.
16352 (glyph_ascent): ditto.
16353 (glyph_descent): ditto.
16354 (glyph_height): ditto.
16355 (image_instance_layout): mark layout as clean after laying out.
16356 (update_subwindow): don't mark layout as clean here.
16358 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16359 should no longer be needed.
16361 * glyphs-x.c (x_update_widget): sanitize asserts.
16362 (x_finalize_image_instance): sanitize assignment to widgets.
16364 * glyphs-widget.c (widget_instantiate): don't need to clear the
16367 2000-02-13 Martin Buchholz <martin@xemacs.org>
16369 * sysdep.c (getcwd): Use standard prototype.
16370 * sysdep.h (getcwd): Use standard prototype.
16372 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16373 (sequence, start, end).
16374 Remove redundant type checking.
16375 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16376 view of `caller-protects') to avoid a crash where the real fix was
16379 2000-02-12 Martin Buchholz <martin@xemacs.org>
16381 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16383 * s/sol2.h: Remove feature macro initialization.
16385 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16386 (vector_hash): New. Code from internal_hash.
16388 Fix up allocation subsystem comments.
16390 * config.h.in: Add __EXTENSIONS__ for Solaris.
16392 * systime.h (EMACS_GETTIMEOFDAY): New.
16393 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16394 Remove Solaris-specific code.
16395 Use void* for the (ignored) second arg for gettimeofday().
16397 * elhash.c (hash_table_hash): Implement it, finally.
16398 * elhash.c: Use hashcode_t.
16400 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16401 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16403 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16404 * fns.c (size_bit_vector):
16405 * alloc.c (size_vector):
16406 (make_vector_internal):
16407 (make_bit_vector_internal):
16408 (sweep_bit_vectors_1):
16409 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16411 2000-02-10 Martin Buchholz <martin@xemacs.org>
16413 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16414 Include strings.h to avoid warnings for bzero and strcasecmp.
16416 2000-02-10 Olivier Galibert <galibert@pobox.com>
16418 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16419 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16421 * fns.c (size_bit_vector): New. Declare bit vectors as a
16424 2000-02-10 Olivier Galibert <galibert@pobox.com>
16426 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16427 use a value field instead.
16428 (symbol_value_forward_forward): Use value field.
16429 (DEFVAR_SYMVAL_FWD): Use value field.
16430 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16431 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16432 (DEFVAR_CONST_INT): Ditto.
16433 (DEFVAR_BOOL): Ditto.
16434 (DEFVAR_CONST_BOOL): Ditto.
16435 (DEFVAR_INT_MAGIC): Ditto.
16436 (DEFVAR_BOOL_MAGIC): Ditto.
16438 * symbols.c (guts_of_unbound_marker): Use value field.
16439 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16440 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16442 * lisp.h: Declare dumpopaque and noninteractive1.
16444 * alloc.c (dumpopaque): Added.
16445 (pdump_dump_opaquevec): Added.
16446 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16447 (pdump_load): Reload opaque data. Sync noninteractive1 with
16450 2000-02-10 Andy Piper <andy@xemacs.org>
16452 * glyphs.c (image_instance_layout): if the size changes, mark it
16455 * redisplay-output.c (redisplay_output_layout): Update the
16457 (redisplay_output_subwindow): ditto.
16459 * glyphs.c (update_subwindow): make sure we reset flags for
16460 layouts as well as everything else.
16462 * glyphs-widget.c (layout_layout): don't need to set the instances
16465 2000-02-09 Martin Buchholz <martin@xemacs.org>
16467 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16468 not HAVE_DLOPEN, which is a lower-level thing.
16470 * .cvsignore: Ignore gmon.out
16472 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16474 * .cvsignore: Ignore portable dumper xemacs.dmp file
16476 2000-02-09 Andy Piper <andy@xemacs.org>
16478 * redisplay-output.c (redisplay_output_layout): be more clever
16479 about when we output based on the changed flags.
16481 * glyphs.h (struct image_instantiator_methods): add update_method.
16482 (struct Lisp_Image_Instance): add changed flags. Declare new
16483 macros for manipulating them.
16485 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16486 (image_instance_parent_glyph): find an image_instance's parent
16487 glyph or image_instance.
16488 (image_instance_layout): mark the size as changed.
16489 (set_image_instance_dirty_p): new function. mark an image
16490 instance, plus all of its parents, as dirty.
16491 (Fset_image_instance_property): use it.
16492 (Fglyph_animated_timeout_handler): use it.
16493 (update_subwindow): call update_widget and device methods for
16494 update_subwindow. Mark all changed flags as clean.
16495 (Fresize_subwindow): mark size as changed.
16497 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16499 (x_update_subwindow): only resize subwindows here.
16500 (x_update_widget): new function. Update all changed properties of
16502 (x_resize_subwindow): deleted.
16503 (x_widget_set_property): deleted.
16504 (x_progress_gauge_set_property): deleted.
16505 (x_progress_gauge_update): new function. Implement recorded
16507 (x_tab_control_update): ditto.
16508 (x_tab_control_set_property): deleted.
16509 (console_type_create_glyphs_x): declare new functions.
16510 (image_instantiator_format_create_glyphs_x): ditto.
16512 * glyphs-widget.c (widget_set_property): mark text changed.
16513 (update_widget): new function. Update properties of a widget.
16514 (widget_instantiate): for layouts make sure we set their
16515 children's parent correctly.
16516 (tab_control_set_property): new function. Record changes that will
16517 take place under redisplay's control.
16518 (progress_gauge_set_property): ditto.
16519 (image_instantiator_progress_guage): declare new functions.
16520 (image_instantiator_tab_control): ditto.
16522 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16524 (mswindows_update_widget): new function. Update all properties on
16525 a widget that have changed.
16526 (mswindows_button_update): new function. Update a button's set
16528 (mswindows_tab_control_update): new function. Update the items in
16530 (mswindows_tab_control_set_property): deleted.
16531 (mswindows_progress_gauge_update): new function. Update the
16532 progress gauge's progress.
16533 (mswindows_widget_set_property): deleted. This is all done
16534 asynchronously now.
16535 (mswindows_progress_gauge_set_property): ditto.
16536 (console_type_create_glyphs_mswindows): declare new methods.
16537 (image_instantiator_format_create_glyphs_mswindows): ditto.
16539 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16540 (msprinter_set_frame_properties): ditto.
16542 * console.h (struct console_methods): Add update_widget_method.
16544 2000-02-09 Andy Piper <andy@xemacs.org>
16546 * gui-msw.c (Fmswindows_shell_execute): Make
16547 mswindows-shell-execute industrial strength.
16549 2000-02-08 Martin Buchholz <martin@xemacs.org>
16551 * lrecord.h: Make macro argument `props' match member function `plist'.
16554 * fns.c (Fremprop):
16555 * fns.c (Fobject_plist):
16558 Object property list frobbing cleanup.
16559 - Allow any lisp object (compared with `eq'), not just symbols, as
16560 keys in object plists.
16561 - Move symbol plist frobbing into symbols.c, where it belongs.
16562 - Move string plist frobbing into alloc.c, where it belongs.
16563 - Everything's an lrecord now, so no need to test for symbolp, etc.
16564 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16566 * extents.c: Reorder code to remove declarations.
16568 * frame.h (store_in_alist): Remove useless declaration.
16570 2000-02-07 Martin Buchholz <martin@xemacs.org>
16572 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16573 * config.h.in: Add HAVE_XCONVERTCASE.
16575 2000-02-07 Andy Piper <andy@xemacs.org>
16577 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16578 it breaks many things.
16580 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16582 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16583 actually can start a common comment type.
16584 * src/syntax.h (SYNTAX_END_P): ditto for end.
16586 2000-02-07 Martin Buchholz <martin@xemacs.org>
16588 * XEmacs 21.2.28 is released.
16590 2000-02-06 Martin Buchholz <martin@xemacs.org>
16592 * event-Xt.c (x_keysym_to_character): New.
16593 (maybe_define_x_key_as_self_inserting_character): New.
16594 (x_has_keysym): New.
16595 Auto-define all keys on the keyboard as self-insert-key.
16597 2000-02-02 Martin Buchholz <martin@xemacs.org>
16599 * menubar.c (vars_of_menubar): A small code simplification.
16601 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16604 * ExternalClient.c:
16605 * EmacsShell-sub.c:
16608 Use consistent style for specifying X resources.
16610 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16611 This makes (dontusethis-set-symbol-value-handler) actually usable.
16613 * lrecord.h (lrecord_decription_type):
16614 * alloc.c (pdump_register_sub):
16617 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16618 Comply with XEmacs coding style.
16619 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16620 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16622 * keymap.c (Faccessible_keymaps):
16623 Make (accessible-keymaps map "\C-h") do the Right Thing.
16624 Make (accessible-keymaps map []) do the Right Thing.
16625 Make (accessible-keymaps map "") do the Right Thing.
16626 (check_keymap_definition_loop): New function.
16627 (keymap_store_internal): Keep luser from shooting self in foot,
16628 via (define-key ctl-x-4-map "p" global-map).
16629 Remove fullness slot from struct Lisp_Keymap, since hash tables
16631 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16633 2000-01-30 Martin Buchholz <martin@xemacs.org>
16635 * redisplay.c (init_redisplay): Fix small memory leak.
16637 * elhash.c (pdump_reorganize_hash_table):
16638 Rename from reorganize_hash_table. Change prototype.
16639 Reuse the original memory for hentries. Save 100k.
16640 * alloc.c (PDUMP_READ): new macro.
16641 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16642 * alloc.c: No need to #ifndef before #undef.
16644 * print.c: Allow debug_print() to print readably by modifying
16645 debug_print_readably. Use consistent variable names.
16647 * .dbxrc: Try to get things to work even if stopped in a function
16648 without source available by explicitly specifying source files.
16649 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16651 * unexnt.c (_start): Removed bogus code which caused loading heap
16652 from differrent executable file.
16653 Removed bogus assignment to _fmode, which caused inconsistencies.
16655 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16657 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16658 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16659 Do not preliminary `#define signal sigset'.
16661 * systime.h: Do not prototype environ on windows nt and cygwin,
16662 this conflicts with system header.
16664 * syssignal.h: Use correct define for WINDOWSNT
16666 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16667 with system header.
16669 * sysdep.c (near start of file): Fixed commentary and rearranged
16670 ifdefs in readable order.
16671 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16674 (end_of_data): Do not compile in if using PDUMP.
16676 * symsinit.h: Prototyped vars_of_nt().
16678 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16679 (find_child_console): Use it.
16680 (sys_kill): Use it.
16682 * ntheap.h: Do not extern os_subtype.
16684 * ntheap.c (cache_system_info): Do not cache unneeded:
16685 nt_major_version, nt_minor_version and os_subtype.
16686 (recreate_heap): Do not compile in when PDUMPing.
16688 * nt.c (geteuid and friends): Use the new varibale
16689 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16690 (init_user_info): Removed the above mentioned hackery.
16691 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16692 stat has been fixed in the C runtime.
16693 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16695 * file-coding.c (struct file_coding_dump): Do not define
16696 ucs_to_mule_table in the struct if not MULE.
16697 (struct struct lrecord_description fcd_description_1): Do not dump
16700 * emacs.c (main_1): Call vars_of_nt().
16701 (right before Fdump_emacs_data): Don't need lastfile if using both
16702 portabe dumper and system malloc.
16704 * alloc.c (Fmemory_limit): Conditionalized out.
16705 (pdump): Use OPEN_BINARY for the portable dump file.
16706 (pdump_load): Ditto.
16708 2000-02-02 Mike Alexander <mta@arbortext.com>
16710 * nt.c (convert_time): Set tm_isdst before calling mktime and
16711 avoid calling it at all if the compiler supports 64 bit integers.
16712 Also initialize utc_base_ft before using it.
16714 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16716 * frame.c (change_frame_size_1): Take f->internal_border_width
16717 into consideration when calculating the width of the frame.
16719 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16721 * window.c (frame_min_height):
16722 (frame_size_valid_p):
16723 (frame_pixsize_valid_p): Added.
16724 (check_frame_size): Generalized.
16726 * window.h: Prototyped the above.
16729 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16730 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16731 Deleted Vwin32_* and Vbinary_process_* unused variables.
16733 * device-msw.c (msprinter_init_device): Do not get printer font
16734 list; Added DEVMODE functions.
16736 * frame-msw.c: Added lots of printer code.
16738 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16741 * console-msw.h: Added more msprinter device private slots.
16743 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16745 * event-msw.c (key_needs_default_processing_p): Added.
16746 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16748 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16750 * glyphs.c (image_instance_layout): Mark image instance as clean
16752 (glyph_dirty_p): Removed redundant function.
16753 (invalidate_glyph_geometry_maybe): Added.
16754 (update_glyph_cachel_data): Call it.
16756 * glyphs.h: Prototyped it.
16758 * redisplay.c (add_glyph_rune): Call it.
16759 (redisplay_window): Reset glyphs cachels when frame faces have
16760 changed, thus forcing recomputation of built-in border glyphs.
16762 2000-01-30 Martin Buchholz <martin@xemacs.org>
16764 * Makefile.in.in: Make portable dumper and purify play well together.
16765 Add imperfect, but better than nothing, support for pdump.
16766 Remove xemacs.dmp when temacs is re-generated.
16767 Don't ignore errors when dumping xemacs.
16769 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16771 2000-01-28 Andy Piper <andy@xemacs.org>
16773 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16774 (setup_normal_frame): ditto.
16775 (setup_frame_without_minibuffer): ditto.
16776 (setup_minibuffer_frame): ditto.
16777 (delete_frame_internal): ditto.
16778 (Fmake_frame_invisible): ditto.
16779 (Ficonify_frame): ditto.
16781 * window.h: change Fset_window_buffer signature.
16783 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16784 (Fset_window_buffer): allow recording of buffer if the window is
16785 the selected window.
16786 (window_loop): Use new Fset_window signature.
16788 2000-01-23 Daniel Pittman <daniel@danann.net>
16790 * config.h.in: Added template for `HAVE_ATHENA_3D'
16792 2000-01-29 Andy Piper <andy@xemacs.org>
16794 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16796 * gutter.c (output_gutter): Don't output if the window isn't live.
16798 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16800 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16801 of 01/12/00: Moved SetFocus back here where it belongs.
16803 2000-01-23 Andy Piper <andy@xemacs.org>
16805 * s/cygwin32.h: declare printer things.
16807 2000-01-26 Andy Piper <andy@xemacs.org>
16809 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16812 2000-01-24 Andy Piper <andy@xemacs.org>
16814 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16815 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16817 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16819 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16821 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16823 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16824 (mswindows_output_display_block): Avoid local shadows.
16826 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16827 (mswindows_enqueue_mouse_button_event): ditto.
16828 (mswindows_handle_gui_wm_command): remove declaration.
16830 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16833 * console-msw.h: Avoid shadows.
16834 (mswindows_get_toolbar_button_text):
16835 (emacs_mswindows_create_stream_pair):
16836 (emacs_mswindows_delete_stream_pair):
16837 (mswindows_handle_toolbar_wm_command): declare.
16839 * device-msw.c (build_syscolor_string): Avoid shadows.
16841 2000-01-23 Andy Piper <andy@xemacs.org>
16843 * glyphs-widget.c (widget_instantiate): reverse the items for
16844 layouts so that children are in the expected order.
16846 2000-01-28 Martin Buchholz <martin@xemacs.org>
16848 * ralloc.c: safe_bcopy ==> memmove
16849 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
16850 * s/msdos.h: Remove BCOPY macros.
16851 * insdel.c (gap_right): Remove BCOPY conditional code.
16852 * insdel.c (gap_left): Remove BCOPY conditional code.
16853 XEmacs demands a working ANSI C compiler - hence memmove.
16855 * regex.c (regex_compile): Remove accidental use of trigraphs.
16857 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16859 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
16862 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16864 * event-msw.c (mswindows_drain_windows_queue): Added the
16866 (mswindows_need_event): Commented the call to
16867 mswindows_drain_windows_queue().
16868 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
16871 * console-msw.h: Moved a few function prototypes here from
16874 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
16875 parameter from unsigned short to unsigned long.
16876 (Fmswindows_shell_execute): Added return value.
16878 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16880 * sysdep.c (init_system_name):
16881 process-unix.c (unix_canonicalized_host_name):
16882 Don't call freeaddrinfo() if getaddrinfo() fails.
16884 * process-unix.c (unix_open_unix_network_stream):
16885 Moved the code to get a port # into address loop.
16887 2000-01-27 Martin Buchholz <martin@xemacs.org>
16889 * buffer.c (reinit_vars_of_buffer):
16890 The right place to initialize conversion_in_dynarr and
16891 conversion_out_dynarr.
16893 * alloc.c (pdump): Use the real open() till sys_open() is functional.
16895 * process-unix.c (unix_canonicalize_host_name): Muleize.
16896 (unix_open_network_stream): Muleize.
16898 * buffer.h: Fix up prototypes for ralloc.c functions.
16900 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
16901 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
16902 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
16903 instead of gethostbyname()
16904 * process-unix.c: In unix_canonicalize_host_name() and
16905 unix_open_network_stream(), add code to use getaddrinfo()
16906 instead of gethostbyname().
16908 2000-01-27 Daniel Pittman <daniel@danann.net>
16910 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
16911 libs when built with flat Athena.
16913 2000-01-27 Martin Buchholz <martin@xemacs.org>
16915 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
16916 Use coding standards for function prototypes.
16918 2000-01-25 Martin Buchholz <martin@xemacs.org>
16920 * dialog-msw.c (push_lisp_string_as_unicode):
16921 * doc.c (unparesseuxify_doc_string):
16922 * dired.c (Fuser_name_completion_1):
16923 * dired.c (Fuser_name_all_completions):
16924 * dired.c (free_user_cache):
16925 * dired.c (user_name_completion):
16926 * console-x.c (get_display_arg_connection):
16927 * minibuf.c (clear_echo_area_internal):
16928 * minibuf.c (echo_area_append):
16929 * eldap.c (Fldap_open):
16930 * eldap.c (Fldap_search_internal):
16931 * frame-x.c (x_set_frame_text_value):
16932 * frame-x.c (x_set_frame_properties):
16933 * frame-x.c (x_create_widgets):
16934 * redisplay-tty.c (term_get_fkeys_1):
16935 * objects-x.c (x_parse_nearest_color):
16936 * objects-x.c (x_valid_color_name_p):
16937 * objects-x.c (x_initialize_font_instance):
16938 * objects-x.c (x_list_fonts):
16939 * objects-x.c (x_find_charset_font):
16940 * tooltalk.c (Fadd_tooltalk_message_arg):
16941 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
16942 * tooltalk.c (Fadd_tooltalk_pattern_arg):
16943 * process-unix.c (unix_create_process):
16944 * ntproc.c (sys_spawnve):
16945 * sound.c (Fplay_sound_file):
16946 * sound.c (Fplay_sound):
16947 * buffer.c (init_initial_directory):
16948 * buffer.c (init_buffer):
16949 * editfns.c (init_editfns):
16950 * editfns.c (Ftemp_directory):
16951 * editfns.c (Fuser_full_name):
16952 * editfns.c (uncache_home_directory):
16953 * editfns.c (get_home_directory):
16954 * editfns.c (Fuser_home_directory):
16955 * editfns.c (Fformat_time_string):
16956 * editfns.c (Fcurrent_time_string):
16957 * gui-x.c (button_item_to_widget_value):
16958 * database.c (Fopen_database):
16959 * event-Xt.c (x_to_emacs_keysym):
16960 * event-Xt.c (x_event_to_emacs_event):
16961 * event-Xt.c (describe_event_window):
16962 * event-msw.c (mswindows_wnd_proc):
16963 * glyphs-eimage.c (jpeg_instantiate):
16964 * glyphs-eimage.c (gif_instantiate):
16965 * glyphs-eimage.c (png_instantiate):
16966 * glyphs-eimage.c (tiff_instantiate):
16967 * glyphs-x.c (xbm_instantiate_1):
16968 * glyphs-x.c (x_xbm_instantiate):
16969 * glyphs-x.c (x_xface_instantiate):
16970 * glyphs-x.c (autodetect_instantiate):
16971 * glyphs-x.c (cursor_font_instantiate):
16972 * glyphs-x.c (x_widget_instantiate):
16973 * glyphs-x.c (x_widget_set_property):
16974 * glyphs-x.c (x_widget_property):
16975 * glyphs-x.c (BUILD_GLYPH_INST):
16976 * print.c (write_string_to_stdio_stream):
16977 * print.c (output_string):
16978 * print.c (Falternate_debugging_output):
16979 * print.c (Fexternal_debugging_output):
16980 * glyphs-msw.c (extract_xpm_color_names):
16981 * glyphs-msw.c (mswindows_xpm_instantiate):
16982 * glyphs-msw.c (bmp_instantiate):
16983 * glyphs-msw.c (resource_name_to_resource):
16984 * glyphs-msw.c (mswindows_resource_instantiate):
16985 * glyphs-msw.c (xbm_instantiate_1):
16986 * glyphs-msw.c (mswindows_xbm_instantiate):
16987 * glyphs-msw.c (mswindows_xface_instantiate):
16988 * glyphs-msw.c (mswindows_widget_instantiate):
16989 * glyphs-msw.c (add_tree_item):
16990 * glyphs-msw.c (add_tab_item):
16991 * glyphs-msw.c (mswindows_combo_box_instantiate):
16992 * glyphs-msw.c (mswindows_widget_property):
16993 * glyphs-msw.c (mswindows_combo_box_property):
16994 * glyphs-msw.c (mswindows_widget_set_property):
16995 * console.c (stuff_buffered_input):
16996 * objects-msw.c (mswindows_initialize_color_instance):
16997 * objects-msw.c (mswindows_valid_color_name_p):
16998 * objects-msw.c (mswindows_list_fonts):
16999 * objects-msw.c (mswindows_font_instance_truename):
17000 * bytecode.c (optimize_compiled_function):
17001 * select-x.c (symbol_to_x_atom):
17002 * select-x.c (x_atom_to_symbol):
17003 * select-x.c (hack_motif_clipboard_selection):
17004 * select-x.c (selection_data_to_lisp_data):
17005 * select-x.c (lisp_data_to_selection_data):
17006 * select-x.c (Fx_get_cutbuffer_internal):
17007 * select-x.c (Fx_store_cutbuffer_internal):
17008 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17009 * buffer.h (TO_INTERNAL_FORMAT): New function.
17010 * emacs.c (make_arg_list_1):
17011 * emacs.c (make_argc_argv):
17012 * emacs.c (main_1):
17013 * emacs.c (Fdump_emacs):
17014 * emacs.c (split_string_by_emchar_1):
17019 * device-x.c (x_init_device):
17020 * device-x.c (Fx_valid_keysym_name_p):
17021 * device-x.c (Fx_get_font_path):
17022 * device-x.c (Fx_set_font_path):
17023 * glyphs.c (bitmap_to_lisp_data):
17024 * glyphs.c (pixmap_to_lisp_data):
17025 * alloc.c (make_ext_string): Use coding system arguments. Update
17027 * alloc.c (build_string):
17028 * callproc.c (child_setup):
17029 * callproc.c (init_callproc):
17030 * fileio.c (lisp_strerror):
17031 * fileio.c (directory_file_name):
17032 * fileio.c (Fexpand_file_name):
17033 * fileio.c (Ffile_truename):
17034 * fileio.c (Fsysnetunam):
17035 * fileio.c (Fdo_auto_save):
17036 * sysdep.c (sys_readdir):
17037 * tests.c: New file. Allow adding C tests.
17038 Replace GET_* macros with a more comprehensible and flexible
17039 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17041 Any coding system can be used to do format conversion.
17042 Eliminate enum external_data_format.
17043 Eliminate convert_to_external_format.
17044 Eliminate convert_to_internal_format.
17045 Make sure file-name, keyboard, terminal, and ctext are always
17046 defined as coding systems or aliases. Make
17047 file-name-coding-system, terminal-coding-system, and
17048 keyboard-coding-system magical variables that are equivalent to
17049 defining the corresponding coding system aliases.
17051 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17052 * file-coding.c (Fcoding_system_alias_p): New function.
17053 * file-coding.c (Fcoding_system_aliasee): New function.
17054 * file-coding.c (append_suffix_to_symbol): New function.
17055 * file-coding.c (dangling_coding_system_alias_p): New function.
17056 * file-coding.c (Ffind_coding_system):
17057 * file-coding.c (Fcopy_coding_system):
17058 * file-coding.c (encode_coding_no_conversion):
17059 * file-coding.c (syms_of_file_coding):
17060 * file-coding.c (vars_of_file_coding):
17061 Rewrite coding system alias code.
17062 Allow nested aliases, like symbolic links.
17063 Allow redefinition of coding system aliases.
17064 Prevent existence of dangling coding system aliases.
17066 * dired.c (Fuser_name_completion_1):
17067 * dired.c (Fuser_name_all_completions):
17068 A crash would happen if user did QUIT in the middle of building
17069 user_name_cache. Remove redundant code in mainline and unwind_protect.
17072 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17074 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17075 an unsigned char *. Update all callers.
17077 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17079 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17081 2000-01-25 Martin Buchholz <martin@xemacs.org>
17083 * elhash.c (hentry_description): Use more portable definition.
17084 (resize_hash_table): Initialize new hentries using
17085 xnew_array_and_zero, thereby simplifying the code.
17087 * mule-charset.c (make_charset): Make sure entire object is
17088 initialized, to avoid Purify warnings.
17090 * alloc.c (resize_string): Fix unlikely crash with big strings.
17092 2000-01-24 Martin Buchholz <martin@xemacs.org>
17094 * realpath.c (xrealpath):
17095 Don't call getwd().
17097 2000-01-25 Martin Buchholz <martin@xemacs.org>
17099 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17101 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17103 * unexelfsgi.c (unexec): Change the way we decide which segment
17104 should be extended.
17106 Assumption that .bss section should be outside the PT_LOADable
17107 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17108 it's present) is inside the 'data' segment. This would fail the
17109 test which was used to find a segment to grow and cover new
17110 heap. Instead of this assumption, I created another one - on IRIX
17111 the segment to grow should start below .bss and it's address
17112 should extent above the end of .bss. Once this segment is
17113 identified, it's grown to accommodate the new heap and new
17114 zero-length .bss section is added at the end of .data2.
17116 2000-01-25 Martin Buchholz <martin@xemacs.org>
17118 * eval.c (Feval): Wrong number of arguments should use original
17119 function, not the indirect_function version of it.
17121 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17123 * glyphs-x.c (x_button_instantiate): Don't add image if
17124 it is not a pixmap.
17125 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17128 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17130 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17132 (DEFVAR_INT_MAGIC): Ditto.
17133 (DEFVAR_BOOL_MAGIC): Ditto.
17134 * glyphs.h: Reindent backslash.
17136 2000-01-24 Martin Buchholz <martin@xemacs.org>
17138 * glyphs-widget.c (layout_query_geometry):
17139 (layout_layout): Use correct types for gheight, gwidth.
17141 2000-01-24 Martin Buchholz <martin@xemacs.org>
17143 * EmacsManager.c (QueryGeometry): Purified.
17145 2000-01-23 Martin Buchholz <martin@xemacs.org>
17147 * alloc.c (make_float): Make sure entire object is initialized, to
17148 avoid Purify warnings.
17149 (pdump_register_sub): Remove useless assignment.
17150 (pdump): Use xmalloc, not malloc.
17151 (pdump_load): Use xmalloc, not malloc.
17153 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17160 * sysdep.c: Removed redundant #include <windows.h>
17162 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17164 * frame.c (delete_frame_internal): Do not delete device when its
17165 implementation so declares.
17166 (delete_frame_internal): Set device selected frame to nil when
17167 last frame goes away.
17169 * device-msw.c (msprinter_device_system_metrics): Implemented.
17170 (mswindows_device_system_metrics): Added 'device-dpi property.
17172 * device.c: (Fdevice_printer_p): Added.
17173 Added 'offset-workspace device metric.
17175 * console.h (device_metrics): Declared DM_offset_workspace.
17177 2000-01-23 Martin Buchholz <martin@xemacs.org>
17179 * fileio.c (Ffile_truename): Remove pointless and confusing
17180 initialization of elen.
17182 * glyphs-widget.c: Compiler warning fixes.
17184 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17186 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17187 instead of a Lisp_Object as argument to make it consistent with
17188 the other LIVE_P macros.
17189 (CHECK_LIVE_PROCESS): New macro.
17191 * process.c: Declare Qprocess_live_p.
17192 (Fprocess_live_p): New function.
17193 (create_process): Use PROCESS_LIVE_P.
17194 (read_process_output): Ditto.
17195 (set_process_filter): Ditto.
17196 (Fdelete_process): Ditto.
17197 (kill_buffer_processes): Ditto
17198 (process_send_signal): Use CHECK_LIVE_PROCESS.
17199 (Fprocess_input_coding_system): Check whether process is still
17200 alive (fix PR#1061).
17201 (Fprocess_output_coding_system): Ditto.
17202 (Fprocess_coding_system): Ditto.
17203 (Fset_process_input_coding_system): Ditto.
17204 (Fset_process_output_coding_system): Ditto.
17206 2000-01-23 Andy Piper <andy@xemacs.org>
17208 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17211 * glyphs.c (mark_image_instance): take into account changed
17212 image_instance format.
17213 (image_instance_equal): ditto.
17214 (image_instance_hash): ditto.
17216 * glyphs-widget.c (widget_instantiate): Incorporate layout
17217 instantiation here. Delay layout of the layout until later.
17218 (layout_instantiate): deleted.
17219 (layout_query_geometry): new function. get the geometry of a
17221 (layout_layout): layout a layout dynamically.
17222 (image_instantiator_widget): New function - splitting up
17223 image_instantiator_format_create_glyphs_widget for netwinder
17225 (image_instantiator_buttons):
17226 (image_instantiator_edit_fields):
17227 (image_instantiator_combo_box):
17228 (image_instantiator_scrollbar):
17229 (image_instantiator_progress_guage):
17230 (image_instantiator_tree_view):
17231 (image_instantiator_tab_control):
17232 (image_instantiator_labels):
17233 (image_instantiator_layout): ditto.
17234 (image_instantiator_format_create_glyphs_widget): Call preceding
17237 2000-01-22 Martin Buchholz <martin@xemacs.org>
17239 * process.c (Fset_process_coding_system):
17240 * device-x.c (Fx_keysym_hash_table):
17243 * lstream.c (Lstream_write): Return documented value, not 0.
17245 * fileio.c (directory_file_name):
17246 (Fsubstitute_in_file_name):
17247 (Fsubstitute_insert_file_contents_internal):
17248 (Fwrite_region_internal):
17253 Remove vestigial APOLLO-conditional code.
17255 2000-01-21 Martin Buchholz <martin@xemacs.org>
17257 * getpagesize.h: Add guard macros.
17258 * libsst.h: Add guard macros.
17259 * libst.h: Add guard macros.
17260 * line-number.h: Add guard macros.
17261 * ndir.h: Add guard macros.
17262 * sysfloat.h: Add guard macros.
17263 * sysfile.h: Add guard macros.
17264 * sysproc.h: Add guard macros.
17265 * syswait.h: Add guard macros.
17266 * xintrinsic.h: Add guard macros.
17267 * xintrinsicp.h: Add guard macros.
17268 * xmmanager.h: Add guard macros.
17269 * xmmanagerp.h: Add guard macros.
17270 * xmprimitive.h: Add guard macros.
17271 * xmu.h: Add guard macros.
17272 * gpmevent.h: Add copyright statement. Add guard macros.
17273 * miscplay.h: Add guard macros.
17274 * *.h: Use consistent C-standards-approved guard macro names.
17276 * opaque.c (make_opaque): Switch parameter order.
17277 * opaque.h (make_opaque): Switch parameter order.
17278 Update all callers.
17279 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17281 * config.h.in (type_checking_assert): Added.
17282 (bufpos_checking_assert): Added.
17284 2000-01-21 Martin Buchholz <martin@xemacs.org>
17286 * alloc.c: Harmless pdump changes.
17288 - spell alignment correctly.
17289 * sysdep.c: Use countof()
17291 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17293 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17294 initially_selected_for_input() console method, default to 0.
17295 (semi_canonicalize_console_connection): Try to delegate to
17296 canonicalize_console_connection if no such console method.
17297 (canonicalize_console_connection): Vice versa.
17298 (print_console): Do not print nil connection.
17300 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17301 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17302 (XDEVIMPF_FRAMELESS_OK): Added.
17303 (CONSOLE_INHERITS_METHOD): Added.
17305 * console-msw.c (mswindows_canonicalize_console_connection):
17307 (mswindows_canonicalize_device_connection): Added.
17309 * console-msw.h (struct msprinter_device): Added this struct and
17311 (mswindows_device): Made fontlist a lisp object.
17313 * device.c (semi_canonicalize_device_connection): Try to delegate
17314 to canonicalize_device_connection if no such console method.
17315 (canonicalize_device_connection): Vice versa.
17316 (print_device): Do not print nil connection.
17318 * device-msw.c (mswindows_init_device): Call InitCommonControls
17320 (mswindows_delete_device): Removed fontlist deallocation.
17321 (mswindows_mark_device): Added.
17323 * events.c (event_equal): Added abort() at unreached code.
17324 (event_hash): Ditto.
17326 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17327 fallback tags of Windows devices.
17329 * general.c (syms_of_general): Initialized Qmsprinter.
17331 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17332 of fallback tags of Windows devices.
17334 * lisp.h: Declared Qmsprinter.
17336 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17338 (mswindows_list_fonts): Ditto.
17339 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17340 that it can be used by both mswindows and msprinter devices.
17341 (initialize_font_instance): Added.
17342 (mswindows_initialize_font_instance): Use it.
17343 (msprinter_initialize_font_instance): Added.
17345 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17346 and implementation flags check.
17347 (redisplay_without_hooks): Changed the call to the above.
17348 (Fredraw_device): Ditto.
17349 (Fredisplay_device): Ditto.
17351 * redisplay-msw.c (get_frame_dc): Implemented.
17352 (get_frame_compdc): Implemented.
17353 (many functions): Use the two functions above to get device
17354 contexts, ether for a window or a printer.
17356 2000-01-21 Olivier Galibert <galibert@pobox.com>
17358 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17359 initialization here.
17360 (init_symbols_once_early): Call it.
17361 * emacs.c (main_1): Call it.
17362 * symsinit.h: Declare it.
17364 2000-01-19 Olivier Galibert <galibert@pobox.com>
17366 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17368 (pdump_backtrace): Ditto.
17369 (pdump_register_object): Ditto. Cleanup use of the pointers.
17370 (pdump_get_entry): Abort if trying to register a null pointer.
17371 (pdump_dump_data): Cleanup types when relocating.
17372 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17373 (pdump_dump_rtables): Remove bad casts.
17374 (pdump_load): Cleanup relocation w.r.t union type. Use a
17375 Lisp_Object instead of a EMACS_INT for the hashtable
17378 2000-01-20 Martin Buchholz <martin@xemacs.org>
17380 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17382 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17384 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17386 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17388 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17390 * faces.h (FACE_STRIKETHRU_P): Added.
17392 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17395 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17396 (mswindows_set_dc_font): New function, aware of font variants,
17397 separated from mswindows_update_dc.
17399 * objects-msw.h (struct mswindows_font_instance_data): Added
17402 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17403 cached fonts and the data structure.
17404 (mswindows_initialize_font_instance): Added creation of font data
17406 (mswindows_print_font_instance): Print at least something.
17407 (mswindows_create_font_variant): Implemented.
17408 (mswindows_get_hfont): Implemented.
17410 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17412 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17413 prototyping problem with msvc.
17415 * emacs.c (main_1): added syms_of_gui_mswindows() call
17417 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17418 syms_of_gui_mswindows() function
17420 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17422 2000-01-18 Martin Buchholz <martin@xemacs.org>
17424 * XEmacs 21.2.27 is released.
17426 2000-01-18 Martin Buchholz <martin@xemacs.org>
17428 * glyphs-eimage.c (struct tiff_error_struct):
17430 (tiff_warning_func):
17431 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17436 * unexec.c: Remove vestigial Lucid C code.
17440 * libsst.c: Ansify.
17441 Remove declarations of errno and strerror().
17443 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17445 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17447 2000-01-16 Martin Buchholz <martin@xemacs.org>
17449 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17452 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17457 Change enum eol_type to eol_type_t.
17459 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17461 * gui.c (get_gui_callback): Check cons before accessing car.
17463 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17465 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17466 (XSETSPECIFIER_TYPE): Ditto.
17468 2000-01-17 Didier Verna <didier@xemacs.org>
17470 * redisplay.c (generate_fstring_runes): compute string size in
17471 characters, not bytes.
17473 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17475 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17477 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17479 * print.c (print_error_message): Call print_prepare().
17481 2000-01-14 Martin Buchholz <martin@xemacs.org>
17483 * .dbxrc: Renamed from dbxrc.
17485 * events.c (event_to_character):
17486 Use `assert (foo)' instead of `if (!foo) abort()'
17488 * .gdbinit (xtype): Add documentation.
17489 * .gdbinit (check-temacs): New function.
17490 * .gdbinit (check-xemacs): New function.
17491 * dbxrc (check-xemacs): New function.
17492 * dbxrc (check-xemacs): New function.
17494 2000-01-14 Andy Piper <andy@xemacs.org>
17496 * glyphs-widget.c (widget_query_geometry): Make sure that we
17497 calculate default dimensions correctly.
17499 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17501 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17503 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17504 pdump_wire'd variable.
17506 * emacs.c: (main_1): Conditionalized calls to
17507 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17509 2000-01-13 Martin Buchholz <martin@xemacs.org>
17511 * window.c (Fset_window_configuration):
17512 * sysdep.c (_start):
17513 * input-method-motif.c (res):
17514 * event-Xt.c (Xt_process_to_emacs_event):
17515 Simple compiler warning fixes.
17517 * bytecode.c (funcall_compiled_function): Use the original
17518 function symbol on the backtrace list in preference to the
17519 compiled_function object in error messages.
17521 2000-01-13 Andy Piper <andy@xemacs.org>
17523 * glyphs-x.c (update_widget_face): Make sure we update the widget
17524 background as well as foreground.
17526 2000-01-13 Andy Piper <andy@xemacs.org>
17528 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17529 fields to subwindow.
17530 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17531 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17532 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17533 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17535 * glyphs-widget.c (check_valid_tab_orientation): new function.
17536 (initialize_widget_image_instance): zero orientation and
17538 (widget_instantiate): pick up orientation.
17539 (tab_control_query_geometry): return appropriate values for
17542 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17543 appropriate creation flags for left, right and bottom tabs.
17545 * s/cygwin32.h: add tab definitions.
17547 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17549 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17550 frame upon hiding a subwindow.
17551 (mswindows_button_instantiate): Changed the push button style to
17553 (mswindows_button_instantiate): Removed button BS_NOTIFY
17555 (mswindows_button_instantiate): Removed redundant check for
17556 a disabled gui item.
17557 (mswindows_button_instantiate): Made use of WS_TABSTOP
17558 consistent: "operable" controls (edit, button, tree, scroll) have
17559 this style, "display-only" ones (static, progress gauge) do
17560 not. This style is currently ignored by XEmacs though. Also,
17561 removed the WS_EX_CONTROLPARENT style - it is not for children,
17562 it is for their parents!
17563 (mswindows_edit_field_instantiate): Ditto.
17564 (mswindows_progress_gauge_instantiate): Ditto.
17565 (mswindows_tree_view_instantiate): Ditto.
17566 (mswindows_tab_control_instantiate): Ditto.
17567 (mswindows_scrollbar_instantiate): Ditto.
17568 (mswindows_combo_box_instantiate): Ditto.
17569 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17570 style to the "clip" window.
17571 (mswindows_button_instantiate): Removed compilation warning by
17572 equally typing terms of the ?: operator.
17574 2000-01-12 Didier Verna <didier@xemacs.org>
17576 * redisplay.c (generate_fstring_runes): new parameter holding the
17577 last modeline-format extent.
17578 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17579 extent, fill the glyph block with it.
17580 (generate_fstring_runes): handle these parameters.
17581 (generate_formatted_string_db): ditto.
17583 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17584 glyphs'extents in the modeline.
17586 1999-01-11 Mike Woolley <mike@bulsara.com>
17588 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17589 256Mb, as a workaround for the non-starting problem many people
17592 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17594 * console-tty.c (Fset_console_tty_output_coding_system):
17595 Force redrawing tty frame.
17597 2000-01-10 Didier Verna <didier@xemacs.org>
17599 * redisplay.c (generate_fstring_runes): fix size computation bug.
17601 2000-01-09 William M. Perry <wmperry@aventail.com>
17603 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17605 2000-01-09 Andy Piper <andy@xemacs.org>
17607 * glyphs-msw.c: index -> i to avoid shadows.
17608 (xbm_create_bitmap_from_data): make static.
17609 (check_valid_string_or_int): deleted.
17610 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17612 * glyphs-x.c (x_update_subwindow): remove unused args.
17614 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17615 back pointer - this is done in allocate_image_instance.
17616 (query_string_font): return Qnil to make the compiler happy.
17617 (unmap_subwindow): set to ~0 to make the compiler happy.
17618 (glyph_query_geometry): comment out until used.
17619 (glyph_layout): ditto.
17621 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17623 * insdel.c (signal_after_change): Remove extraneous unbind_to().