1 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * concord.c (Fconcord_define_object): New function.
4 (syms_of_concord): Add new builtin function
5 `concord-define-object'.
7 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
9 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
12 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * concord.c: Add EXFUN for Fconcord_object_get.
15 (Vconcord_genre_object_hash_table): New variable.
16 (concord_genre_cache_get_object): New function.
17 (concord_genre_cache_put_object): New function.
18 (Fconcord_make_object): Use object cache; put object-ID into `=id'
20 (Fconcord_object_put): Call `concord_index_sync' after
21 `concord_index_strid_put_obj'.
22 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
24 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
26 * concord.c (Fconcord_decode_object): Do GCPRO for
28 (func_for_each_object): Likewise; do GCPRO for
29 for_each_object_closure->function.
30 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
31 for_each_object_closure->function, for_each_object_closure->genre,
32 for_each_object_closure->ds and for_each_object_closure->ret.
33 (concord_object_validate): Do GCPRO for Fconcord_make_object.
35 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
37 * concord.c: Add EXFUNs for Fconcord_decode_object and
39 (Fconcord_make_object): Change order of arguments.
40 (Fconcord_decode_object): Modify for Fconcord_make_object.
41 (func_for_each_object): Likewise.
42 (concord_object_validate): Likewise.
43 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
45 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
47 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
49 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
51 * concord.c (Fconcord_decode_object): Try to use readable print
52 form as a key of Concord-index.
53 (Fconcord_object_get): Try to use readable print form as an ID of
55 (Fconcord_object_put): Try to use readable print form as an ID of
56 Concord-object and a feature value.
57 (Fconcord_object_spec): Try to use readable print form as an ID of
60 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * concord.c (print_concord_object): Support readable form.
64 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
66 * emacs.c (main_1): Call `structure_type_create_concord' when
67 HAVE_CONCORD is defined.
69 * symsinit.h (structure_type_create_concord): New prototype.
71 * concord.c (Qconcord_object): New variable.
74 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
76 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
77 char*> for genre-name.
78 (Fconcord_feature_list): Likewise.
79 (Fconcord_make_object): Likewise.
80 (Fconcord_decode_object): Likewise; use <char*> instead of
81 <unsigned char*> for feature_name and strid.
82 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
83 c_obj and feature_name.
84 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
86 (struct closure_for_object_spec): Use <char*> instead of <unsigned
87 char*> for member `object_id'.
88 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
89 char*> for feature-name.
90 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
92 (func_for_each_object): Cast to avoid warnings.
93 (Fconcord_foreach_object_in_feature): Use <char*> instead of
94 <unsigned char*> for genre_name and feature_name.
95 (concord_name_validate): New function.
96 (concord_object_validate): Likewise.
97 (concord_object_instantiate): Likewise.
98 (syms_of_concord): Add new builtin symbols `concord-object',
100 (structure_type_create_concord): New function.
102 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
104 * concord.c (Vconcord_ds_hash_table): New variable.
105 (Vconcord_genre_hash_table): New variable.
106 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
107 (Fconcord_ds_directory): New function.
108 (Fconcord_assign_genre): New function.
109 (Fconcord_genre_directory): New function.
110 (Fconcord_genre_ds): New function.
111 (Fconcord_feature_list): Allow to omit `ds'.
112 (Fconcord_make_object): Likewise.
113 (Fconcord_decode_object): Likewise.
114 (Fconcord_foreach_object_in_feature): Likewise.
115 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
116 Fconcord_assign_genre, Fconcord_genre_directory and
118 (vars_of_concord): Setup Vconcord_ds_hash_table and
119 Vconcord_genre_hash_table.
121 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
123 * concord.c (struct closure_for_each_object): Add new member
125 (func_for_each_object): Setup the return value to
126 `for_each_object_closure->ret'.
127 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
128 returns the value instead of Qt.
130 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
132 * concord.c: New file.
134 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
136 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
137 `lrecord_type_concord_object'.
139 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
141 * symsinit.h (syms_of_concord): New prototype.
142 (vars_of_concord): New prototype.
144 * emacs.c (main_1): Setup symbols and variable about concord if
145 HAVE_CONCORD is defined.
147 * config.h.in (HAVE_CONCORD): New macro.
149 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * chartab.c (Fput_char_attribute): For each character relation
152 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
154 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
156 * chartab.c (Fput_char_attribute): Use
157 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
158 calling `put_char_composition'.
160 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * chartab.c (Q_halfwidth_of): New variable.
163 (put_char_composition): Return `<-halfwidth' instead of
164 `=decomposition' for compatibility mapping to single character
166 (Fput_char_attribute): Convert char-specs in value of
167 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
168 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
170 (syms_of_chartab): Add new symbol `<-halfwidth'.
172 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
174 * chartab.c (put_char_composition): Return
175 `<-formed@{isolated|initial|medial|final}' for compatibility
176 mapping to single character tagged
177 `{isolated|initial|medial|final}'.
179 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
181 * chartab.c (Q_compat_of): Deleted.
182 (put_char_composition): Return `<-FOO' for compatibility mapping
183 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
184 of `symbol_name (XSYMBOL(...))'.
185 (Fput_char_attribute): Convert char-specs in value of
186 `{<-|->}font[^*]*' to characters and put reverse links.
187 (Fsave_char_attribute_table): Don't refer Q_compat_of.
188 (syms_of_chartab): Delete builtin symbol `<-compat'.
190 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * chartab.c (Q_circled_of): New variable.
193 (put_char_composition): Return `<-circled' instead of
194 `=decomposition' for compatibility mapping to single character
196 (Fput_char_attribute): Convert char-specs in value of
197 `{<-|->}circled[^*]*' to characters and put reverse links.
198 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
200 (syms_of_chartab): Add new symbol `<-circled'.
202 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
204 * chartab.c (Qto_decomposition_at_circled): New variable.
205 (put_char_composition): Return `=>decomposition@circled' instead
206 of `=decomposition' for compatibility decomposition mapping tagged
208 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
210 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * chartab.c (Q_subscript_of): New variable.
213 (put_char_composition): Return `<-subscript' instead of
214 `=decomposition' for compatibility mapping to single character
216 (Fput_char_attribute): Convert char-specs in value of
217 `{<-|->}subscript[^*]*' to characters and put reverse links.
218 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
220 (syms_of_chartab): Add new symbol `<-subscript'.
222 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
224 * chartab.c (Q_superscript_of): New variable.
225 (put_char_composition): Return `<-superscript' instead of
226 `=decomposition' for compatibility mapping to single character
228 (Fput_char_attribute): Convert char-specs in value of
229 `{<-|->}superscript[^*]*' to characters and put reverse links.
230 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
232 (syms_of_chartab): Add new symbol `<-superscript'.
234 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
236 * chartab.c (Qto_decomposition_at_compat): Deleted.
237 (Qto_decomposition_at_superscript): New variable.
238 (put_char_composition): Use `=>decomposition@superscript' instead
239 of `=decomposition' for compatibility decomposition mapping tagged
241 (Fput_char_attribute): Fix condition about `put_char_composition'.
242 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
243 add news symbol `=>decomposition@superscript'.
245 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
247 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
248 for compatibility decomposition mapping tagged FOO.
249 (Fput_char_attribute): Modify for `put_char_composition'.
251 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
253 * chartab.c (Qto_decomposition_at_compat): New variable.
254 (Q_compat_of): Renamed from `Q_compatibility_of'.
255 (put_char_composition): Rename `Q_compatibility_of' to
256 `Q_compat_of'; return `=>decomposition@compat' for compatibility
257 decomposition mapping.
258 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
260 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
261 `<-compatibility' to `<-compat'.
263 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
265 * chartab.c (Q_compatibility_of): New variable.
266 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
267 object is proved to be a cons cell; return `<-compatibility' if
268 the first element of argument `value' is `compat'.
269 (Fput_char_attribute): Eliminate the first value if
270 `put_char_composition' returns `<-compatibility'.
271 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
272 for `<-compatibility'.
273 (syms_of_chartab): Add new symbol `<-compatibility'.
275 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
277 * chartab.c (Q_canonical): New variable.
278 (put_char_composition): Return a feature name: return
279 `->canonical' if argument `value' specifies single character.
280 (Fput_char_attribute): Use `put_char_composition' to determine
281 feature name for `=decomposition' or `->denotational'.
282 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
284 (syms_of_chartab): Add new symbol `->canonical'.
286 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
288 * chartab.c (Qmap_decomposition): New variable.
289 (Fput_char_attribute): Convert `->decomposition' to
291 (syms_of_chartab): Add new symbol `=decomposition'.
293 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
295 * chartab.c (Fget_range_char_table): Fix serious problem when
298 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * chartab.c (char_table_get_db): Use `read_from_c_string'.
302 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
304 * lread.c (read_from_c_string): New function.
306 * lisp.h (read_from_c_string): New prototype.
308 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
310 * chartab.c (Fput_char_attribute): Convert char-specs in value of
311 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
312 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
313 for `{<-|->}Oracle-Bones[^*]*'.
315 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
317 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
320 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
322 * text-coding.c (Qccs_priority_list): New variable in XEmacs
324 (Fmake_coding_system): Support new property `ccs-priority-list' in
326 (Fcoding_system_property): Likewise.
327 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
328 Vdefault_coded_charset_priority_list in XEmacs CHISE.
329 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
331 (complex_vars_of_file_coding): Define new coding-system-property
332 `ccs-priority-list' in XEmacs CHISE.
334 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
336 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
339 changed to normal function.
340 (encode_char_2): Likewise.
342 * mule-charset.c (decoding_table_put_char): Copied from
343 char-ucs.h; changed to normal function.
344 (encode_char_2): Likewise.
346 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
348 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
350 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
351 (encode_char_2_search_children): New inline function.
352 (encode_char_2): Refer
353 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
354 and use `encode_char_2_search_children'.
356 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
360 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
361 (vars_of_mule_charset): Add new variable
362 `display-coded-charset-priority-use-inheritance' and
363 `display-coded-charset-priority-use-hierarchy-order'.
365 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
367 * char-ucs.h (Q_subsumptive): New extern.
368 (Q_denotational): Likewise.
369 (encode_char_2): Search children specified by `->subsumptive' and
372 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * mule-charset.c (complex_vars_of_mule_charset): Modify the
375 X-registry of `ucs-bmp'.
377 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * chartab.c (char-variants): Refer `->subsumptive',
380 `->denotational' and `->identical' as same as `->ucs-unified'.
382 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * chartab.c (Fput_char_attribute): Convert char-specs in value of
385 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
388 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 * text-coding.c: Add EXFUN for `Fregexp_quote'.
391 (decode_add_er_char): Fix problem about infinite loop when a CCS
392 specified in `coded-charset-entity-reference-alist' is not
395 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
397 * mule-charset.c (syms_of_mule_charset): Rename
398 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
400 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
402 * fns.c (simplify_char_spec): Don't allocate new character-object
403 if specified char_spec does not have any CCS-features.
405 * chartab.h: Add EXFUN for Fdefine_char.
407 * chartab.c: Delete EXFUN for Fdefine_char.
409 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * fns.c (simplify_char_spec): Use Fdefine_char instead of
412 Ffind_char for char-spec.
414 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
416 * lisp-disunion.h (XCHARVAL): Fix condition about
419 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
423 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
424 point; use <Emchar> instead of <int> for character-id.
426 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
429 (make_char): Likewise.
430 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
432 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
433 instead of <int> as the type of return value; use <Lisp_Object>
434 instead of <Emchar> as the type of argument.
435 (XCHARVAL[macro version]): Cast the result into <Emchar>.
437 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
438 syntaxcode> instead of <int>.
440 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
442 * chartab.c (put_char_composition): Use DECODE_CHAR to get
443 character corresponding with UCS code point.
444 (Fput_char_attribute): Likewise.
446 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
447 character in the UCS decoding-table if the char-id is not equal to
450 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
453 for aliases; write `description'; write
454 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
457 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * chartab.c (Fsave_char_attribute_table): Don't use
460 `save_charset_properties'.
462 * mule-charset.c (Fsave_charset_properties): Renamed from
463 `save_charset_properties' and changed to Lisp function again;
464 write property `type' as `CCS'; write properties `final-byte' and
465 `mother' if they exists.
466 (syms_of_mule_charset): Revive builtin function
467 `save-charset-properties' when HAVE_LIBCHISE is defined.
469 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
471 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
472 instead of Vexec_directory.
473 (char_attribute_system_db_file): Likewise.
475 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
477 * chartab.c (Fsave_char_attribute_table): Use
478 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
481 * mule-charset.c (save_charset_properties): Renamed from
482 `Fsave_charset_properties'; changed to non-Lisp function.
483 (syms_of_mule_charset): Abolish builtin function
484 `save-charset-properties'.
486 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * mule-charset.c (Fsave_charset_properties): New function when
489 HAVE_LIBCHISE is defined.
490 (syms_of_mule_charset): Add new builtin function
491 `save-charset-properties' when HAVE_LIBCHISE is defined.
493 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
495 * chartab.c (Fput_char_attribute): Convert char-specs in value of
496 `{<-|->}ancient[^*]*' to characters and put reverse links.
497 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
498 for `{<-|->}ancient[^*]*'.
500 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * chartab.c (Fput_char_attribute): Convert char-specs in value of
503 `{<-|->}original[^*]*' to characters and put reverse links.
504 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
505 for `{<-|->}original[^*]*'.
507 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
509 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
511 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
513 * mule-charset.c (Qsystem_char_id): New variable.
515 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
516 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
518 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
520 * chartab.c (Fput_char_attribute): When processing a reference of
521 a character, put into the end of the reversed reference of each
524 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * chartab.c (Q_same): Deleted.
527 (Q_same_of): Deleted.
528 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
529 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
531 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
533 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * chartab.c (Q_vulgar): Deleted.
536 (Q_vulgar_of): Deleted.
537 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
538 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
540 (syms_of_chartab): Don't define `{<-|->}vulgar'.
542 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * chartab.c (Fput_char_attribute): Convert char-specs in value of
545 `{<-|->}wrong[^*]*' to characters and put reverse links.
546 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
547 for `{<-|->}wrong[^*]*'.
549 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
551 * chartab.c (Q_vulgar): New variable.
552 (Q_vulgar_of): New variable.
553 (Fput_char_attribute): Convert char-specs in value of
554 `{->|<-}vulgar' to characters and put reverse links.
555 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
557 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
559 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
561 * text-coding.c (decode_add_er_char): Must to quote prefix string
564 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
566 * mule-charset.c (put_char_ccs_code_point): Store characters of
567 =ucs whose code_points >= 0xF0000.
569 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
571 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
573 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
575 (complex_vars_of_mule_charset): Add new coded-charset
576 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
577 builtin characters over 0xEFFFF.
579 * chartab.c (syms_of_chartab): Don't define symbol
580 `system-char-id' in every case.
582 * char-ucs.h (Qsystem_char_id): New extern variable.
583 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
585 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * text-coding.c (char_encode_utf8): Try to use entity-references
588 for U-000F0000 ... U-0010FFFF.
590 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
592 * text-coding.c (ER_BUF_SIZE): New macro.
593 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
595 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
596 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
598 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
600 * chartab.c (find_char_feature_in_family): New function.
601 (Fchar_feature): Use `find_char_feature_in_family' with
602 `->identical', `<-subsumptive' and `<-denotational'.
604 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
606 * text-coding.c (char_encode_as_entity_reference): Allow prefix
607 within 8 characters; fix infinite loop.
609 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
611 * chartab.c (Q_same): New variable.
612 (Q_same_of): New variable.
613 (Fput_char_attribute): Convert char-specs in value of
614 `{->|<-}same' to characters and put reverse links.
615 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
617 (syms_of_chartab): Add new symbols `{->|<-}same'.
619 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
621 * chartab.c (Q_component): New variable.
622 (Q_component_of): Likewise.
623 (Fput_char_attribute): Convert char-specs in value of
624 `{->|<-}ideographic-component-forms' to characters and put reverse
626 (syms_of_chartab): Add new symbols
627 `{->|<-}ideographic-component-forms'.
629 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
631 * chartab.c (Q_identical): New variable.
632 (Q_identical_from): New variable.
633 (Fchar_feature): Regard `->identical' as a feature to find
635 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
636 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
637 for `{->|<-}identical'.
638 (syms_of_chartab): Add new symbols `{->|<-}identical'.
640 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * char-ucs.h (encode_char_2): New inline function.
643 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
645 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * chartab.c (Fput_char_attribute): Convert char-specs to
648 characters in value of `ideographic-structure'.
649 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
650 for `{<-|->}simplified(@...)'.
651 (Fdefine_char): Try to use predefined character's id.
653 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
655 * fns.c (simplify_char_spec): Try to convert builtin chars to
658 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
660 * chartab.c (Fput_char_attribute): Convert char-specs in value of
661 `<-simplified[^*]*' to characters and put reverse links.
663 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
665 * chartab.c (Q_subsumptive): Renamed from Q_unified.
666 (Q_subsumptive_from): Renamed from Q_unified_from.
667 (Fchar_feature): Use `Q_subsumptive_from' instead of
669 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
671 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
672 `<-unified' to `<-subsumptive'.
674 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
677 inheritance itself; fix typo; stop recursive search if cyclic
678 inheritance is found.
680 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
682 * chartab.c (Q_denotational): New variable.
683 (Q_denotational_from): New variable.
684 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
685 (put_char_attribute): New function.
686 (Fput_char_attribute): Use `put_char_attribute'; regard
687 `->denotational' and `<-denotational' as same as `->unified' and
689 (syms_of_chartab): Add new symbols `->denotational' and
692 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
695 `Fget_char_attribute'.
696 (Fchar_variants): Likewise.
697 (get_char_table): Likewise.
698 (Fchar_feature): New function.
699 (put_char_composition): Use `Fchar_feature' instead of
700 `Fget_char_attribute'.
701 (Fput_char_attribute): Likewise; don't put the target character
702 into its `->unified' value.
703 (syms_of_chartab): Add new builtin function `char-feature'.
705 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
708 `Fget_char_attribute'.
709 (char_encode_utf8): Likewise.
711 * chartab.h: Add an EXFUN for `Fchar_feature'.
713 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
715 * chartab.c (Vnext_defined_char_id): New variable.
716 (Fput_char_attribute): Accept characters in `->unified'.
717 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
718 new characters which are not related with builtin char-id ranges.
719 (vars_of_chartab): Add new variable `next-defined-char-id'.
721 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * chartab.c (Q_unified): New variable.
724 (Q_unified_from): New variable.
725 (Fput_char_attribute): Add code for `->unified'.
726 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
729 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
731 * mule-charset.c (decode_ccs_conversion): New function.
732 (decode_defined_char): Use `decode_ccs_conversion'.
733 (decode_builtin_char): Likewise.
735 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
737 * char-ucs.h: Change some charset-ids of private coded-charsets.
739 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
741 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
742 (char_encode_as_entity_reference): Likewise.
743 (decode_coding_big5): Modify for `decode_defined_char' and
745 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
746 avoid compiler warning.
747 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
749 * mule-charset.c (decode_defined_char): Add new argument
750 `without_inheritance'.
751 (Fdecode_char): Add new optional argument `without_inheritance'.
752 (Fdecode_builtin_char): Modify for `Fdecode_char'.
754 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
755 (simplify_char_spec): Likewise.
757 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
760 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
761 (map_char_table): Likewise.
762 (Fdefine_char): Use `Fdecode_char' without inheritance.
763 (Ffind_char): Modify for `Fdecode_char'.
765 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
767 * char-ucs.h (decode_defined_char): Add new argument
768 `without_inheritance'.
769 (DECODE_CHAR): Likewise.
770 (MAKE_CHAR): Modify for `DECODE_CHAR'.
772 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
774 * chartab.c (Vchise_system_db_directory): New variable.
775 (vars_of_chartab): Add new variable `chise-system-db-directory'.
777 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
779 * chartab.c: EXFUN `Fmount_char_attribute_table'.
780 (print_chartab_range): Don't define when `UTF2000' is defined.
781 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
784 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
786 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
787 and optional argument `rehash' is specified, call
788 `open_chise_data_source_maybe' before
789 `chise_ds_foreach_char_feature_name' is called.
791 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
793 * chartab.c (char_attribute_list_reset_map_func): New function
794 when HAVE_LIBCHISE is defined.
795 (Fchar_attribute_list): Add new optional argument `rehash' when
796 HAVE_LIBCHISE is defined.
797 (open_chise_data_source_maybe): Use "chise-db" instead of
799 (char_attribute_system_db_file): Likewise.
800 (Fload_char_attribute_table): Use
801 `chise_feature_foreach_char_with_value' instead of
802 `chise_char_feature_value_iterate'.
804 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
806 * chartab.c (Vchise_db_directory): New variable.
807 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
809 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
811 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
812 instead of HAVE_CHISE to specify using with libchise.
814 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
816 * chartab.h: Don't use HAVE_CHISE_CLIENT.
818 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
819 defined or HAVE_LIBCHISE_LIBCHISE is defined.
820 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
822 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
823 HAVE_CHISE to specify using with libchise.
824 (syms_of_chartab): Don't define symbol `system-char-id' when
825 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
827 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
830 specify CHISE DB support.
831 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
832 of `char_attribute_system_db_file' to check feature DB file.
834 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
835 HAVE_CHISE_CLIENT to specify CHISE DB support.
837 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
838 specify CHISE DB support.
839 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
841 (Freset_char_attribute_table): Use `chise_feature_setup_db'
842 instead of `char_attribute_system_db_file' to check feature DB
845 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
847 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
850 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
852 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
853 (Fsave_charset_mapping_table): Don't use
854 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
856 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
857 (HAVE_LIBCHISE): New macro.
859 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
861 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
862 (Fsave_char_attribute_table): Don't use
863 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
865 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
867 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
869 (save_uint16_byte_table): Likewise.
870 (save_byte_table): Likewise.
871 (char_table_get_db): Use `chise_ds_load_char_feature_value'
872 instead of `chise_char_load_feature_value'.
873 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
875 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
877 * chartab.h (struct Lisp_Char_Table): Delete member
878 `feature_table' if CHISE is defined.
880 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
881 (Fcopy_char_table): Likewise.
882 (char_table_open_db_maybe): Likewise.
883 (char_table_close_db_maybe): Likewise.
884 (char_table_get_db): Likewise.
885 (Fmount_char_attribute_table): Likewise.
886 (Fload_char_attribute_table): Likewise.
888 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
890 * mule-charset.c (load_char_decoding_entry_maybe): Use
891 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
894 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
896 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
897 instead of `chise_open_data_source'.
898 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
901 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
904 instead of `chise_ds_open_feature_table'.
905 (char_table_close_db_maybe): Don't use `chise_ft_close'.
907 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
909 * mule-charset.c (Fsave_charset_mapping_table): Use
910 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
911 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
912 `chise_ccs_sync' instead of `chise_ccst_close'.
913 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
915 * chartab.c (open_chise_data_source_maybe): Modify for
916 `chise_open_data_source'.
917 (char_table_open_db_maybe): Modify for
918 `chise_ds_open_feature_table'.
920 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
922 * mule-charset.c (load_char_decoding_entry_maybe): Use
923 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
926 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
928 * mule-charset.c (Fsave_charset_mapping_table): Use
929 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
930 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
931 `chise_dt_put_char' and `chise_dt_close'.
932 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
933 `chise_ccs_decode' and `chise_ccst_close' instead of
934 `chise_ds_open_decoding_table', `chise_dt_get_char' and
937 * chartab.c (char_table_get_db): Use
938 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
939 (load_char_attribute_table_map_func): Modify for
940 `chise_char_feature_value_iterate'.
941 (Fload_char_attribute_table): Use
942 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
944 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
946 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
948 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
950 * chartab.c (put_char_table): Modify for inherited coded-charsets
953 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
955 * chartab.c (Fput_char_table_map_function): Fixed.
956 (word_boundary_p): Don't check charset in XEmacs CHISE.
958 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
960 * mule-charset.c (Fsave_charset_mapping_table): Use
961 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
962 instead of `chise_open_decoding_table'; refer
963 `default_chise_data_source'; use `chise_dt_close' instead of
964 `chise_close_decoding_table'.
965 (load_char_decoding_entry_maybe): Likewise.
967 * chartab.c (default_chise_data_source): New variable when `CHISE'
969 (Fcopy_char_table): `ct->ds' is deleted.
970 (open_chise_data_source_maybe): New function.
971 (Fclose_char_data_source): New function.
972 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
973 use `chise_ds_open_feature_table' instead of
974 `chise_open_feature_table'.
975 (char_table_close_db_maybe): Use `chise_ft_close' instead of
976 `chise_close_feature_table'; `cit->ds' is deleted.
977 (syms_of_chartab): Add new builtin function
978 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
980 * chartab.h (default_chise_data_source): New extern variable.
981 (open_chise_data_source_maybe): New prototype.
982 (struct Lisp_Char_Table): Delete `ds'.
984 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
986 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
989 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
991 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
992 not defined; add code for non-libchise setting.
993 (char_table_close_db_maybe): Likewise.
994 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
996 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
997 even if `CHISE' is not defined.
998 (Freset_char_attribute_table): Likewise.
999 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1000 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1001 `char_table_get_db'.
1002 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1003 `char_table_close_db_maybe' even if `CHISE' is not defined.
1005 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1007 * chartab.c (char_table_open_db_maybe): New function.
1008 (char_table_close_db_maybe): New function.
1009 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1010 (Freset_char_attribute_table): Likewise.
1011 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1012 `char_table_close_db_maybe'.
1013 (Fload_char_attribute_table): Likewise.
1015 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1017 * chartab.c: Don't include <chise.h> because it is included in
1019 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1021 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1023 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1025 (Fclose_char_attribute_table): Close `ct->feature_table' and
1026 `ct->ds' when `CHISE' is defined.
1027 (Freset_char_attribute_table): Likewise.
1028 (load_char_attribute_maybe): Use `cit->ds' and
1029 `cit->feature_table' when `CHISE' is defined.
1030 (Fload_char_attribute_table): Likewise.
1032 * chartab.h: Include <chise.h> when `CHISE' is defined.
1033 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1034 when `CHISE' is defined.
1036 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1038 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1040 (char_table_description): Likewise.
1041 (Fmake_char_table): Likewise.
1042 (Fcopy_char_table): Likewise.
1043 (Fmount_char_attribute_table): Likewise.
1044 (Fclose_char_attribute_table): Likewise.
1045 (Freset_char_attribute_table): Likewise.
1046 (load_char_attribute_maybe): Likewise.
1047 (Fload_char_attribute_table): Likewise.
1049 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1052 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1054 * chartab.c (load_char_attribute_table_map_func): New function
1055 when CHISE is defined.
1056 (Qload_char_attribute_table_map_function): Don't define when CHISE
1058 (Fload_char_attribute_table_map_function): Likewise.
1059 (Fload_char_attribute_table): Use libchise when `CHISE' is
1061 (syms_of_chartab): Don't define
1062 `load-char-attribute-table-map-function' when CHISE is defined.
1064 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1066 * chartab.c: Include <chise.h> when `CHISE' is defined.
1067 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1069 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1071 * mule-charset.c (charset_code_point): Fix problem when searching
1072 in mother CCS fails with `defined_only' mode.
1074 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1076 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1077 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1078 (put_char_composition): Likewise.
1079 (Fput_char_attribute): Likewise.
1080 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1082 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1084 * chartab.c (Q_ucs): Deleted.
1085 (Fput_char_attribute): Don't refer `->ucs'.
1086 (Fdefine_char): Likewise.
1087 (Ffind_char): Likewise.
1088 (syms_of_chartab): Delete `->ucs'.
1090 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1092 * mule-charset.c (Qmap_cns11643_2): Renamed from
1093 `Qchinese_cns11643_2'.
1094 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1095 `chinese-cns11643-2'.
1096 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1099 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1101 * mule-charset.c (Qmap_cns11643_1): Renamed from
1102 `Qchinese_cns11643_1'.
1103 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1104 `chinese-cns11643-1'.
1105 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1108 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1110 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1111 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1113 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1116 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1118 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1119 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1121 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1124 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1126 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1127 (syms_of_mule_charset): Add new symbol `=big5' instead of
1129 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1131 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1133 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1134 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1136 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1139 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1141 * mule-charset.c (Qmap_jis_x0212): Renamed from
1142 `Qjapanese_jisx0212'.
1143 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1144 `japanese-jisx0212'.
1145 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1148 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1150 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1151 `Qjapanese_jisx0208'.
1152 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1153 of `japanese-jisx0208'.
1154 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1157 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1159 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1160 `Qjapanese_jisx0208_1978'.
1161 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1162 of `japanese-jisx0208-1978'.
1163 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1166 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1168 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1169 only for XEmacs CHISE.
1171 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1173 * char-ucs.h: Compact non-ISO-IR charset-ids.
1174 (LEADING_BYTE_UCS): Changed to -177.
1175 (LEADING_BYTE_CONTROL_1): Changed to -77.
1176 (LEADING_BYTE_UCS_BMP): Changed to -176.
1177 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1179 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1181 * mule-charset.c (Qiso_ir): New variable.
1182 (Fmake_charset): Recognise new property `iso-ir'.
1183 (syms_of_mule_charset): Add new symbol `iso-ir'.
1185 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1187 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1188 n to -n; charset-id of non ISO-IR sets are changed to positive
1191 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1193 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1194 for &MCS-XXXXXXXX; values.
1196 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1198 * mule.c (Vxemacs_chise_version): Renamed from
1199 `Vutf_2000_version'.
1200 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1201 `utf-2000-version' as an alias for `xemacs-chise-version'.
1203 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1205 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1206 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1209 * config.h.in (CHISE): New macro.
1211 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1213 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1215 (Qmap_ucs): New variable.
1216 (syms_of_mule_charset): Add new symbol `=ucs'.
1217 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1219 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1220 (simplify_char_spec): Likewise.
1222 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1224 * char-ucs.h (Qmap_ucs): New extern variable.
1226 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1228 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1229 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1230 don't define it when UTF2000 is not defined.
1231 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1232 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1233 when UTF2000 is not defined.
1234 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1235 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1237 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1239 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1241 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1243 (syms_of_mule_charset): Delete `ucs-gb'.
1244 (complex_vars_of_mule_charset): Likewise.
1246 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1248 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1250 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1251 (Qucs_cns): Deleted.
1252 (syms_of_mule_charset): Delete `ucs-cns'.
1253 (complex_vars_of_mule_charset): Likewise.
1255 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1257 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1259 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1260 (Qucs_jis): Deleted.
1261 (syms_of_mule_charset): Delete `ucs-jis'.
1262 (complex_vars_of_mule_charset): Likewise.
1264 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1266 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1268 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1270 (syms_of_mule_charset): Delete `ucs-ks'.
1271 (complex_vars_of_mule_charset): Likewise.
1273 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1275 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1276 (Qideograph_daikanwa_2): Deleted.
1277 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1278 (complex_vars_of_mule_charset): Likewise.
1280 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1281 (LEADING_BYTE_DAIKANWA_1): Deleted.
1282 (LEADING_BYTE_DAIKANWA_2): Deleted.
1283 (MIN_CHAR_DAIKANWA): Deleted.
1284 (MAX_CHAR_DAIKANWA): Deleted.
1286 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1288 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1289 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1290 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1292 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1293 (Vcharset_ideograph_daikanwa): Deleted.
1294 (Qideograph_hanziku_{1..12}): Deleted.
1295 (Qideograph_daikanwa): Deleted.
1296 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1297 Vcharset_ideograph_daikanwa.
1298 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1299 `ideograph-hanziku-{1..12}'.
1300 (complex_vars_of_mule_charset): Likewise.
1302 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1304 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1306 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1307 (Qideograph_gt_pj_{1..11}): Deleted.
1308 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1309 (complex_vars_of_mule_charset): Likewise.
1311 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1313 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1314 (Vcharset_ideograph_gt): Deleted.
1315 (Qucs_big5): Deleted.
1316 (Qideograph_gt): Deleted.
1317 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1319 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1322 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1323 (LEADING_BYTE_GT): Deleted.
1324 (MIN_CHAR_GT): Deleted.
1325 (MAX_CHAR_GT): Deleted.
1327 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1329 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1331 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1333 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1334 (save_uint16_byte_table): Likewise.
1335 (save_byte_table): Likewise; convert values by it.
1336 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1337 for `ideographic-structure'.
1338 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1339 as the filter for `ideographic-structure'.
1341 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1343 * chartab.c (put_char_composition): New function.
1344 (Fput_char_attribute): Use `put_char_composition'; use
1345 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1347 * fns.c (simplify_char_spec): New function.
1348 (char_ref_simplify_spec): New function.
1349 (Fchar_refs_simplify_char_specs): New function.
1350 (syms_of_fns): Add new builtin function
1351 `char-refs-simplify-char-specs'.
1353 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1355 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1356 (Qideograph_cbeta): Deleted.
1357 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1358 (complex_vars_of_mule_charset): Likewise.
1360 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1361 (MIN_CHAR_CBETA): Comment out.
1362 (MAX_CHAR_CBETA): Likewise.
1364 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1366 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1367 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1368 CHISE client feature.
1370 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1372 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1374 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1376 * mule-charset.c (charset_lookup_description_1): Use
1377 `NUM_LEADING_BYTES' in UTF-2000.
1379 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1381 * char-ucs.h (GC_CHARSETP): Deleted.
1383 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1385 * char-ucs.h (MAX_CHAR_GT): Updated.
1387 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1389 * text-coding.c: Sync with XEmacs 21.4.10.
1391 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1393 * mule-charset.c (Vcharset_china3_jef): Deleted.
1394 (Qchina3_jef): Deleted.
1395 (syms_of_mule_charset): Don't define `china3-jef'.
1396 (complex_vars_of_mule_charset): Likewise.
1398 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1399 (MIN_CHAR_CHINA3_JEF): Comment out.
1400 (MAX_CHAR_CHINA3_JEF): Comment out.
1402 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1404 * mule-charset.c (Vcharset_ucs_gb): New variable.
1405 (Qucs_gb): New variable.
1406 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1407 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1409 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1411 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1413 * mule-charset.c (charset_code_point): if a coded-charset has a
1414 final-byte, don't inherit the builtin range of the mother CCS.
1416 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1418 * mule-charset.c (charset_code_point): Fix problem about
1421 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1423 * mule-charset.c (decode_builtin_char): Reorganized.
1425 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1427 * text-coding.c (char_encode_as_entity_reference): Modify for
1428 `charset_code_point'.
1429 (char_encode_shift_jis): Likewise.
1430 (char_encode_big5): Likewise.
1431 (char_encode_utf8): Likewise.
1432 (char_encode_iso2022): Likewise.
1434 * mule-charset.c (charset_code_point): Add new argument
1436 (Fencode_char): Add new optional argument `defined_only'.
1438 * chartab.c (put_char_table): Modify for `charset_code_point'.
1440 * char-ucs.h (charset_code_point): Add new argument
1442 (encode_char_1): Modify for `charset_code_point'.
1444 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1446 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1447 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1449 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1451 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1452 (Qjis_x0208): Likewise.
1453 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1454 XCHARSET_FINAL(charset).
1455 (charset_code_point): Modify condition for final-byte based
1457 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1458 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1459 in UTF-2000; specify `=jis-x0208' as the mother of
1460 `japanese-jisx0208-1978', `japanese-jisx0208' and
1461 `japanese-jisx0208-1990' in UTF-2000.
1463 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1465 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1467 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1469 * text-coding.c (decode_coding_utf16): Support UTF-16.
1470 (char_encode_utf16): Fixed.
1472 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1474 * text-coding.c (Qutf16): New variable in MULE.
1475 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1476 (Fcoding_system_type): Add `utf-16' in MULE.
1477 (struct detection_state): Add a structure for utf16 in MULE.
1478 (detect_coding_type): Setup st->utf16.mask in MULE.
1479 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1481 (reset_encoding_stream): Use `char_encode_utf16' and
1482 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1483 (detect_coding_utf16): New function [incomplete].
1484 (decode_coding_utf16): New function [support only UCS-2].
1485 (char_encode_utf16): New function.
1486 (char_finish_utf16): New function.
1487 (syms_of_file_coding): Add new symbol `utf-16'; setup
1488 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1490 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1492 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1493 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1495 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1497 * chartab.c (put_char_table): When a charset is specified as a
1498 range in UTF-2000, don't support builtin characters.
1500 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1502 * mule-charset.c (decode_defined_char): Don't refer external
1503 database if Qunbound or Qnil are found.
1504 (Fsave_charset_mapping_table): Don't define it if
1505 HAVE_CHISE_CLIENT is not defined.
1506 (Freset_charset_mapping_table): New function.
1507 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1508 found in external database.
1509 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1510 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1511 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1513 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1515 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1518 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1520 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1521 Q_lowercase, Q_uppercase in UTF-2000.
1523 * chartab.c (get_char_table): Add special code for the standard
1524 case table to use character attribute `->downcase' and
1525 `->uppercase' for case operations in UTF-2000.
1527 * casetab.c (Qflippedcase): New variable in UTF-2000.
1528 (Q_lowercase): Likewise.
1529 (Q_uppercase): Likewise.
1530 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1531 and `->uppercase' in UTF-2000.
1532 (complex_vars_of_casetab): Assign attribute name `downcase' to
1533 downcase and CANON table of Vstandard_case_table in UTF-2000;
1534 assign attribute name `flippedcase' to upcase and EQV table of
1535 Vstandard_case_table in UTF-2000.
1537 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1539 * text-coding.c (decode_add_er_char): Support isolated-chars.
1540 (char_encode_as_entity_reference): Likewise.
1542 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1544 * emacs.c (Vutf_2000_lisp_directory): New variable.
1545 (Vconfigure_utf_2000_lisp_directory): Likewise.
1546 (complex_vars_of_emacs): Add new variable
1547 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1549 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1551 * char-ucs.h (DECODE_CHAR): Delete special code for
1552 `chinese-big5-1' and `chinese-big5-2'.
1554 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1555 (Qbig5_2): Likewise.
1556 (decode_defined_char): Support CONVERSION_BIG5_1 and
1558 (decode_builtin_char): Likewise.
1559 (charset_code_point): Likewise.
1560 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1561 'conversion in UTF-2000.
1562 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1563 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1564 `chinese-big5-2' as children of `chinese-big5'.
1566 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1567 (CONVERSION_BIG5_2): New macro.
1569 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1571 * text-coding.c (char_encode_big5): Support entity-reference.
1573 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1575 * text-coding.c (char_encode_as_entity_reference): New function.
1576 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1578 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1580 * text-coding.c (decode_coding_big5): Support entity-reference
1583 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1585 * text-coding.c (allocate_coding_system): Initialize initial
1586 charsets for CODESYS_UTF8.
1587 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1588 charset-g2 for CODESYS_UTF8.
1589 (decode_coding_utf8): Use charset-g0.
1590 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1591 to force variants to map to UCS.
1593 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1595 * text-coding.c (Qutf_8_mcs): New variable.
1596 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1597 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1598 instead of `utf-8' in UTF-2000.
1600 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1602 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1603 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1604 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1605 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1606 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1607 CONVERSION_96x96x96x96 are introduced.
1608 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1609 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1610 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1612 * char-ucs.h (CONVERSION_94): New macro.
1613 (CONVERSION_96): New macro.
1614 (CONVERSION_94x94): New macro.
1615 (CONVERSION_96x96): New macro.
1616 (CONVERSION_94x94x94): New macro.
1617 (CONVERSION_96x96x96): New macro.
1618 (CONVERSION_94x94x94x60): New macro.
1619 (CONVERSION_94x94x94x94): New macro.
1620 (CONVERSION_96x96x96x96): New macro.
1622 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1624 * chartab.c (Vcharacter_variant_table): Deleted.
1625 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1626 of `Vcharacter_variant_table'.
1627 (Fput_char_attribute): Likewise.
1628 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1629 (complex_vars_of_chartab): Likewise.
1631 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1633 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1635 * fns.c (Qideographic_structure): New variable.
1636 (Qkeyword_char): New variable.
1637 (ids_format_unit): New function.
1638 (Fideographic_structure_to_ids): New function.
1639 (syms_of_fns): Add new symbols `ideographic-structure' and
1640 `:char'; add new builtin function `ideographic-structure-to-ids'.
1642 * data.c (Fchar_ref_p): New function.
1643 (syms_of_data): Add new builtin function `char-ref-p'.
1645 * chartab.h: Add an EXFUN for `Ffind_char'.
1647 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1649 * text-coding.c (Vcharacter_composition_table): Deleted.
1650 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1653 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1655 (Vcharacter_composition_table): Deleted.
1656 (Fget_composite_char): Use the implementation for external-DB
1657 support in every UTF-2000.
1658 (Fput_char_attribute): Likewise.
1659 (char_attribute_system_db_file): Don't define if external-DB
1660 feature is not available.
1661 (Fsave_char_attribute_table): Likewise.
1662 (Fmount_char_attribute_table): Likewise.
1663 (Fclose_char_attribute_table): Likewise.
1664 (Freset_char_attribute_table): Likewise.
1665 (Fload_char_attribute_table): Likewise.
1666 (syms_of_chartab): Don't define `save-char-attribute-table',
1667 `mount-char-attribute-table', `reset-char-attribute-table',
1668 `close-char-attribute-table' and `load-char-attribute-table' if
1669 external-DB feature is not available.
1670 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1672 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1674 * text-coding.c (Qcomposition): Add extern if external-DB feature
1676 (Vcharacter_composition_table): Don't add extern if external-DB
1677 feature is supported.
1678 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1679 character composition rule if external-DB feature is supported.
1681 * chartab.c (Vcharacter_composition_table): Don't define if
1682 external-DB feature is supported.
1683 (Qcomposition): New variable.
1684 (Fget_composite_char): New implementation for external-DB support.
1685 (Fput_char_attribute): Use `composition' property of each
1686 character instead of `Vcharacter_composition_table' to store
1687 character-composition rules if external-DB feature is supported.
1688 (syms_of_chartab): Add new symbol `composition'.
1689 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1690 external-DB feature is supported.
1692 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1694 * chartab.c (Vchar_db_stingy_mode): New variable.
1695 (load_char_attribute_maybe): Close database if
1696 Vchar_db_stingy_mode is not NIL.
1697 (Fload_char_attribute_table_map_function): Use
1698 `get_char_id_table_0' instead of `get_char_id_table'.
1699 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1701 * chartab.h (get_char_id_table_0): New inline function.
1702 (get_char_id_table): Use `get_char_id_table_0'.
1704 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1706 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1707 and `COMPOSE_ADD_CHAR'.
1708 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1710 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1712 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1713 instead of `DECODE_ADD_UCS_CHAR'.
1714 (COMPOSE_ADD_CHAR): Likewise.
1716 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1718 * text-coding.c (decode_flush_er_chars): New inline function.
1719 (decode_add_er_char): New function.
1720 (decode_coding_utf8): Use `decode_flush_er_chars' and
1721 `decode_add_er_char'.
1723 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1725 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1726 done before `decode_output_utf8_partial_char'.
1728 * mule-charset.c (complex_vars_of_mule_charset): Specify
1729 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1730 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1732 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1734 * mule-charset.c (decode_defined_char): New function; search
1736 (decode_builtin_char): Don't search mother if
1737 XCHARSET_MAX_CODE(charset) == 0.
1738 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1739 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1740 (Fdecode_char): Use `decode_defined_char' instead of
1741 `DECODE_DEFINED_CHAR'.
1742 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1743 mother of `Vcharset_ucs_jis'.
1745 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1746 instead of `DECODE_DEFINED_CHAR'.
1748 * char-ucs.h (decode_defined_char): Renamed from
1749 `DECODE_DEFINED_CHAR'; changed to normal function.
1750 (DECODE_CHAR): Use `decode_defined_char' instead of
1751 `DECODE_DEFINED_CHAR'.
1753 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1755 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1757 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1759 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1761 (Quse_entity_reference): New variable.
1765 (coding_system_description): Add description for
1766 `ccs_priority_list'.
1767 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1768 (allocate_coding_system): Initialize `ccs_priority_list' in
1770 (Fmake_coding_system): Add description about
1771 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1773 (Fcoding_system_property): Accept `disable-composition' and
1774 `use-entity-reference' in UTF-2000.
1775 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1777 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1778 (decode_coding_utf8): Decode entity-reference if
1779 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1780 (char_encode_utf8): Encode non-Unicode characters as
1781 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1783 (syms_of_file_coding): Add new symbols `use-entity-reference',
1785 (vars_of_file_coding): Add new variable
1786 `coded-charset-entity-reference-alist'.
1787 (complex_vars_of_file_coding): Declare `disable-composition' and
1788 `use-entity-reference' to be coding-system-properties in UTF-2000.
1790 * file-coding.h (struct Lisp_Coding_System): Add new member
1791 `use_entity_reference' and `ccs_priority_list'.
1792 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1793 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1794 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1796 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1798 * chartab.c (save_uint8_byte_table): Don't clear the table.
1799 (save_uint16_byte_table): Likewise.
1800 (save_byte_table): Likewise.
1801 (Fmount_char_attribute_table): New function.
1802 (syms_of_chartab): Add new builtin function
1803 `mount-char-attribute-table'.
1805 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1807 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1809 (load_char_decoding_entry_maybe): Open database as read-only mode.
1811 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1812 open database as "w+" mode.
1813 (load_char_attribute_maybe): Open database as read-only mode.
1814 (Fload_char_attribute_table): Likewise.
1816 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1818 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1819 (char_table_description): Delete member `db_file'.
1820 (Fmake_char_table): Don't refer `ct->db_file'.
1821 (Fcopy_char_table): Likewise.
1822 (Fsave_char_attribute_table): Likewise.
1823 (Fclose_char_attribute_table): Likewise.
1824 (Freset_char_attribute_table): Likewise.
1825 (load_char_attribute_maybe): Likewise.
1826 (Fload_char_attribute_table): Likewise.
1828 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1830 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1832 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1833 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1835 (load_char_attribute_maybe): Likewise.
1836 (Fload_char_attribute_table): Likewise.
1838 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1840 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1841 `ct->db_file' unconditionally.
1843 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1845 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1847 (char_table_description): Add description for `db_file' and `db'
1849 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1851 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1852 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1853 (Fclose_char_attribute_table): New function.
1854 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1855 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1857 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1858 (syms_of_chartab): Add new builtin function
1859 `Fclose_char_attribute_table'.
1861 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1863 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1865 (load_char_attribute_maybe): Change interface.
1866 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1868 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1870 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1872 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1874 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1875 instead of `DECODE_CHAR' for mother; don't use special code for
1876 chinese-big5 to use code space of chinese-big5-1 and
1878 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1879 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1881 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1882 (MAX_CHAR_BIG5_CDP): Revival.
1884 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1886 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1887 the XLFD registry-encoding name of `chinese-big5'.
1889 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1891 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1892 (Qchinese_big5_cdp): Deleted.
1893 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1894 (complex_vars_of_mule_charset): Delete coded-charset
1897 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1898 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1899 `CHARSET_ID_OFFSET - n' for private CCS.
1900 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1901 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1902 of `MIN_LEADING_BYTE'.
1903 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1904 `(CHARSET_ID_OFFSET - 97)'.
1905 (MIN_CHAR_BIG5_CDP): Deleted.
1906 (MAX_CHAR_BIG5_CDP): Deleted.
1908 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1910 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1912 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1914 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1915 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1918 * chartab.c (Vutf_2000_version): Moved to mule.c.
1919 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1921 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1923 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1924 when HAVE_CHISE_CLIENT is not defined.
1926 * mule.c (vars_of_mule): Provide feature `chise' when
1927 HAVE_CHISE_CLIENT is defined.
1929 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1931 * config.h.in (UTF2000): Add comment.
1932 (HAVE_CHISE_CLIENT): New macro.
1934 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1936 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1938 (Fput_char_attribute): Likewise.
1939 (char_attribute_system_db_file): Encode file-name of attribute.
1940 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1943 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1945 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1946 (Fsave_charset_mapping_table): Use
1947 `char_attribute_system_db_file'.
1948 (load_char_decoding_entry_maybe): Likewise.
1950 * chartab.h (Qsystem_char_id): New external variable.
1951 (char_attribute_system_db_file): New prototype.
1953 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1954 (char_attribute_system_db_file): New function.
1955 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1956 (Freset_char_attribute_table): Likewise.
1957 (load_char_attribute_maybe): Likewise.
1958 (Fload_char_attribute_table): Likewise.
1959 (syms_of_chartab): Add new symbol `system-char-id'.
1961 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1963 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1964 `XCHARSET_GRAPHIC(ccs)'.
1966 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1968 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1970 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1972 * chartab.c (Q_ucs_variants): New variable.
1973 (syms_of_chartab): Add new symbol `->ucs-variants'.
1974 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1975 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1976 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1978 * mule-charset.c (load_char_decoding_entry_maybe): New function.
1980 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
1981 `HAVE_DATABASE' is defined.
1982 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
1983 `HAVE_DATABASE' is defined.
1985 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1987 * chartab.c (Fsave_char_attribute_table): Don't clear internal
1989 (Freset_char_attribute_table): New function.
1990 (syms_of_chartab): Add new builtin function
1991 `reset-char-attribute-table'.
1993 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1995 * chartab.c (load_char_attribute_maybe): Don't make directories.
1997 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1999 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2001 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2004 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2006 * mule-charset.c (Fsave_charset_mapping_table): Use
2007 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2009 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2010 instead of `XCHARSET_CHARS'.
2012 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2014 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2015 (XCHARSET_BYTE_SIZE): Likewise.
2017 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2019 (XCHARSET_BYTE_SIZE): Likewise.
2021 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2023 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2024 data-directory to store database.
2025 (Fsave_char_attribute_table): Likewise.
2026 (load_char_attribute_maybe): Likewise.
2027 (Fload_char_attribute_table): Likewise.
2029 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2031 * mule-charset.c (Fsave_charset_mapping_table): New function.
2032 (syms_of_mule_charset): Add new builtin function
2033 `save-charset-mapping-table'.
2035 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2037 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2038 (get_ccs_octet_table): New inline function.
2039 (put_ccs_octet_table): Likewise.
2040 (decoding_table_put_char): Use `get_ccs_octet_table' and
2041 `put_ccs_octet_table'.
2042 (decoding_table_remove_char): Use `decoding_table_put_char'.
2043 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2045 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2046 into encoding_table.
2047 (make_charset): Use Qunbound instead Qnil as initial value of
2050 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2052 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2053 element is Qunloaded.
2054 (map_over_uint16_byte_table): Likewise.
2055 (map_over_byte_table): Likewise.
2056 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2057 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2058 database support, load encoding-table of the specified
2059 coded-charset if it is not loaded yet.
2060 (save_uint8_byte_table): New function of UTF-2000 with external
2062 (save_uint16_byte_table): Likewise.
2063 (save_byte_table): Likewise.
2064 (Fput_char_attribute): Don't store value into external database
2065 even if the external database feature is supported in UTF-2000;
2066 set `attribute' as name of char-table if the external database
2067 feature is supported.
2068 (Fsave_char_attribute_table): New function in UTF-2000.
2069 (syms_of_chartab): Add new builtin function
2070 `save-char-attribute-table' in UTF-2000.
2072 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2074 * chartab.c (char_attribute_table_to_put): New variable in
2076 (Qput_char_table_map_function): Likewise.
2077 (value_to_put): Likewise.
2078 (Fput_char_table_map_function): New function in UTF-2000.
2079 (put_char_table): Use `Fmap_char_attribute' for
2080 CHARTAB_RANGE_CHARSET in UTF-2000.
2081 (Fput_char_attribute): Store symbol instead of string in
2082 `XCHAR_TABLE_NAME (table)'.
2083 (load_char_attribute_maybe): Likewise.
2084 (syms_of_chartab): Add new symbol/function
2085 `put-char-table-map-function'.
2087 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2089 * database.h: Add new EXFUN for `Fmap_database'.
2091 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2092 (syms_of_database): Likewise.
2094 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2096 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2097 (XCHAR_TABLE_UNLOADED): Likewise.
2099 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2100 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2101 HAVE_DATABASE is defined.
2102 (char_attribute_table_to_load): New variable of UTF-2000 with
2103 external database support.
2104 (Qload_char_attribute_table_map_function): Likewise.
2105 (Fload_char_attribute_table_map_function): New function of
2106 UTF-2000 with external database support.
2107 (Fload_char_attribute_table): New function of UTF-2000.
2108 (Fmap_char_attribute): Call Fload_char_attribute_table if
2109 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2110 (syms_of_chartab): Add new symbol and function
2111 `load-char-attribute-table-map-function' in UTF-2000 with external
2112 database support; add new function `load-char-attribute-table' in
2115 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2117 * chartab.h (load_char_attribute_maybe): New prototype for
2118 UTF-2000 with DATABASE support.
2119 (get_char_id_table): Use `load_char_attribute_maybe' if
2120 HAVE_DATABASE is defined.
2122 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2123 with DATABASE support.
2125 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2127 * chartab.c (Fput_char_attribute): Use S-expression as key of
2130 * chartab.h (get_char_id_table): Use S-expression as key of
2133 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2135 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2136 if an element is not loaded, load the corresponding attributes
2137 from an external database.
2138 (map_over_uint16_byte_table): Likewise.
2139 (map_over_byte_table): Likewise.
2140 (map_char_table): Modify for `map_over_uint8_byte_table',
2141 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2142 element is not loaded, load the corresponding attributes from an
2144 (Fput_char_attribute): Change initial values to Qunloaded.
2146 * chartab.h (get_char_id_table): If a character attribute is not
2147 loaded and the attribute value is not found in an external
2148 database, store Qunbound as the attribute value.
2150 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2152 * chartab.c (BT_UINT8_unloaded): New macro.
2153 (UINT8_VALUE_P): Accept Qunloaded.
2154 (UINT8_ENCODE): Likewise.
2155 (UINT8_DECODE): Likewise.
2156 (BT_UINT16_unloaded): New macro.
2157 (UINT16_VALUE_P): Accept Qunloaded.
2158 (UINT16_ENCODE): Likewise.
2159 (UINT16_DECODE): Likewise.
2160 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2162 (mark_char_table): Mark `ct->name' in UTF-2000.
2163 (char_table_description): Add `name' in UTF-2000.
2164 (Fmake_char_table): Initialize `ct->name'.
2165 (Fcopy_char_table): Copy `ct->name'.
2166 (Fput_char_attribute): Store value into an external database if
2167 HAVE_DATABASE is defined.
2169 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2171 (CHAR_TABLE_NAME): New macro in UTF-2000.
2172 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2173 (get_char_id_table): Try to read an external database if Qunloaded
2174 is stored in a table.
2176 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2179 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2181 * database.h: Add EXFUN definitions for Fopen_database,
2182 Fput_database, Fget_database and Fclose_database.
2184 * data.c (Qunloaded): New variable in UTF-2000.
2186 * lisp.h (Qunloaded): New variable in UTF-2000.
2188 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2190 * mule-charset.c (put_char_ccs_code_point): Modify for
2191 `decoding_table_remove_char' and `decoding_table_put_char'.
2192 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2194 * char-ucs.h (decoding_table_remove_char): Change arguments to
2195 hide decoding_table vector.
2196 (decoding_table_put_char): Likewise.
2198 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2200 * mule-charset.c (decoding_table_remove_char): Moved to
2202 (decoding_table_put_char): Likewise.
2204 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2205 from mule-charset.c].
2206 (decoding_table_remove_char): New inline function [moved from
2208 (decoding_table_put_char): Likewise.
2210 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2212 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2215 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2217 * mule-charset.c (decode_builtin_char): Support mother charsets.
2219 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2221 * mule-charset.c (Q94x94x60): New variable.
2222 (charset_code_point): Support conversion `94x94x60'.
2223 (Fmake_charset): Likewise.
2224 (syms_of_mule_charset): Add new symbol `94x94x60'.
2226 * char-ucs.h (CONVERSION_94x94x60): New macro.
2228 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2230 * mule-charset.c (charset_code_point): Unify code about
2233 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2235 * mule-charset.c (charset_code_point): Merge code about builtin
2236 characters into code about mother charsets; don't use
2237 `range_charset_code_point'.
2238 (range_charset_code_point): Deleted.
2240 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2242 * mule-charset.c (Qcode_offset): New variable.
2243 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2244 `max-code'; accept new property `code-offset'.
2245 (syms_of_mule_charset): Add new symbol `code-offset'.
2247 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2249 * mule-charset.c (range_charset_code_point): Fixed.
2251 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2253 * mule-charset.c (decode_builtin_char): Change semantics of
2254 code-offset of coded-charset.
2255 (charset_code_point): Likewise.
2256 (range_charset_code_point): Likewise.
2257 (complex_vars_of_mule_charset): Modify for the change.
2259 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2261 * mule-charset.c (Fencode_char): Reverse arguments.
2263 * mule-charset.c (charset_code_point): Fixed.
2265 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2267 * mule-charset.c (Vcharset_mojikyo): Deleted.
2268 (Vcharset_mojikyo_2022_1): Deleted.
2269 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2270 (Qmin_code): New variable in UTF-2000.
2271 (Qmax_code): Likewise.
2272 (Qmother): Likewise.
2273 (Qconversion): Likewise.
2275 (Qmojikyo): Deleted.
2276 (Qmojikyo_2022_1): Deleted.
2277 (Qmojikyo_pj_{1..22}): Deleted.
2278 (mark_charset): Mark `cs->mother'.
2279 (charset_description): Add description for `mother'.
2280 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2281 new arguments `mother' and `conversion'; use
2282 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2283 (charset_code_point): Moved from char-ucs.h; support `mother'
2285 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2286 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2287 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2288 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2289 allow 2 as the value of `graphic' in UTF-2000; add new properties
2290 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2291 require `final' in UTF-2000; modify for `make_charset'.
2292 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2293 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2294 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2295 (Fencode_char): New function.
2296 (syms_of_mule_charset): Add new builtin function `encode-char' in
2297 UTF-2000; add new symbols `min-code', `max-code', `mother',
2298 `conversion' and `94x60'; delete symbols `mojikyo',
2299 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2300 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2301 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2302 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2304 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2305 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2307 * char-ucs.h (Vcharset_mojikyo): Deleted.
2308 (Vcharset_mojikyo_2022_1): Deleted.
2309 (LEADING_BYTE_MOJIKYO): Deleted.
2310 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2311 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2312 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2313 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2314 add new member `mother'; add new member `conversion'.
2315 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2316 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2317 (CHARSET_MOTHER): New macro.
2318 (CHARSET_CONVERSION): New macro.
2319 (CONVERSION_IDENTICAL): New macro.
2320 (CONVERSION_94x60): New macro.
2321 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2322 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2323 (XCHARSET_MOTHER): New macro.
2324 (XCHARSET_CONVERSION): New macro.
2325 (MIN_CHAR_MOJIKYO): Deleted.
2326 (MAX_CHAR_MOJIKYO): Deleted.
2327 (DECODE_MOJIKYO_2022): Deleted.
2328 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2329 (charset_code_point): Changed to non-inline function.
2330 (encode_char_1): Use `charset_code_point'.
2331 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2333 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2335 * lread.c (read_compiled_function): Fix prototype.
2336 (read_vector): Likewise.
2338 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2340 * lrecord.h (struct lrecord_header): Delete `older'.
2341 (set_lheader_implementation): Delete code for `older'.
2342 (set_lheader_older_implementation): Deleted.
2343 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2344 (OLDER_RECORD_P): Deleted.
2345 (OLDER_RECORD_HEADER_P): Deleted.
2346 (alloc_older_lcrecord): Deleted.
2347 (alloc_older_lcrecord_type): Deleted.
2349 * alloc.c (all_older_lcrecords): Deleted.
2350 (alloc_older_lcrecord): Deleted.
2351 (disksave_object_finalization_1): Delete code for older objects.
2352 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2353 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2355 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2357 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2358 instead of `make_older_vector'.
2359 (put_char_ccs_code_point): Likewise.
2360 (mark_charset): Mark `cs->decoding_table'.
2361 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2363 * lisp.h (make_older_vector): Deleted.
2364 (make_vector_newer): Deleted.
2366 * config.h.in (HAVE_GGC): Deleted.
2368 * alloc.c (make_older_vector): Deleted.
2369 (make_vector_newer_1): Deleted.
2370 (make_vector_newer): Deleted.
2372 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2374 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2375 (Qideograph_daikanwa_2): New variable.
2376 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2377 (complex_vars_of_mule_charset): Add new coded-charset
2378 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2379 `LEADING_BYTE_DAIKANWA'.
2381 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2382 (LEADING_BYTE_DAIKANWA_1): New macro.
2383 (LEADING_BYTE_DAIKANWA_2): New macro.
2384 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2386 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * mule-charset.c (complex_vars_of_mule_charset): Change
2389 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2390 the second revised version.
2392 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2394 * mule-charset.c (Vcharset_ucs_smp): New variable.
2395 (Vcharset_ucs_sip): New variable.
2396 (Qucs_smp): New variable.
2397 (Qucs_sip): New variable.
2398 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2399 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2400 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2401 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2402 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2403 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2405 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2406 (LEADING_BYTE_UCS_SIP): New macro.
2407 (MIN_CHAR_SMP): New macro.
2408 (MAX_CHAR_SMP): New macro.
2409 (MIN_CHAR_SIP): New macro.
2410 (MAX_CHAR_SIP): New macro.
2412 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2414 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2417 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2419 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2420 value; don't store value into `encoding_table' of `Lisp_Charset'.
2421 (mark_charset): `encoding_table' was deleted.
2422 (charset_description): Likewise.
2423 (make_charset): Likewise.
2424 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2425 `put_char_ccs_code_point'.
2427 * chartab.h (Fput_char_attribute): New EXFUN.
2429 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2430 is unified with normal symbol space.
2431 (Fget_char_attribute): Likewise.
2432 (Fput_char_attribute): Likewise; behavior of
2433 `put_char_ccs_code_point' is changed.
2435 * char-ucs.h: Include "elhash.h".
2436 (Vchar_attribute_hash_table): New external variable.
2437 (struct Lisp_Charset): Delete `encoding_table'.
2438 (CHARSET_ENCODING_TABLE): New implementation; refer
2439 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2442 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2444 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2447 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2449 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2452 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2454 * chartab.c (uint8_byte_table_description): New constant.
2455 (uint8-byte-table): Use `uint8_byte_table_description'.
2456 (uint16_byte_table_description): New constant.
2457 (uint16-byte-table): Use `uint16_byte_table_description'.
2459 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2461 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2462 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2464 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2466 * mule-charset.c (Vcharset_ucs_ks): New variable.
2467 (Qucs_ks): New variable.
2468 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2469 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2471 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2473 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2475 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2476 (Fdecode_char): Likewise.
2478 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2480 (Fdefine_char): Modify for Fdecode_char.
2481 (Ffind_char): Likewise.
2483 * mule-charset.c (Fdecode_char): Add new optional argument
2485 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2487 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2489 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2490 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2491 (allocate_coding_system): Initialize initial-charsets of
2492 CODESYS_BIG5 in XEmacs UTF-2000.
2493 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2494 CODESYS_BIG5 in XEmacs UTF-2000.
2495 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2496 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2498 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2500 (Qideograph_hanziku_{1 .. 12}): Likewise.
2501 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2503 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2504 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2505 `ideograph-hanziku-{1 .. 12}'.
2507 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2508 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2509 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2510 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2511 (DECODE_DEFINED_CHAR): New inline function.
2512 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2514 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2516 * mule-charset.c (Vcharset_china3_jef): Renamed from
2517 `Vcharset_japanese_jef_china3'.
2518 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2519 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2520 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2521 (syms_of_mule_charset): Rename `china3-jef' from
2522 `japanese-jef-china3'.
2523 (complex_vars_of_mule_charset): Likewise; rename
2524 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2526 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2527 `LEADING_BYTE_JEF_CHINA3'.
2528 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2529 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2531 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2533 * mule-charset.c (encode_builtin_char_1): Comment out special code
2534 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2536 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2537 (MAX_CHAR_MOJIKYO_0): Comment out.
2538 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2539 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2540 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2541 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2543 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2545 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2546 (Qideograph_cbeta): New variable.
2547 (encode_builtin_char_1): Comment out special code for
2548 coded-charset `mojikyo' and `japanese-jef-china3'.
2549 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2550 (complex_vars_of_mule_charset): Add new coded-charset
2553 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2554 (MIN_CHAR_CBETA): New macro.
2555 (MAX_CHAR_CBETA): New macro.
2557 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2559 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2560 (LEADING_BYTE_JEF_CHINA3): New macro.
2561 (MIN_CHAR_JEF_CHINA3): New macro.
2562 (MAX_CHAR_JEF_CHINA3): Likewise.
2563 (DECODE_CHAR): Fixed.
2565 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2567 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2568 (Qjapanese_jef_china3): New variable.
2569 (encode_builtin_char_1): Support `japanese-jef-china3'.
2570 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2571 (complex_vars_of_mule_charset): Add new coded-charset
2572 `japanese-jef-china3'.
2574 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2577 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2578 94^4, 96^3, 96^4, 128^n and 256^n set.
2579 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2580 (map_char_table): Likewise.
2582 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2584 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2587 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2589 * chartab.h (get_char_id_table): New inline function.
2591 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2594 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2596 * chartab.h (decode_char_table_range): New prototype in XEmacs
2598 (put_char_id_table): New inline function in XEmacs UTF-2000.
2600 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2602 (decode_char_table_range): Delete static declaration in XEmacs
2605 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * chartab.c (put_char_id_table): Use `put_char_table'.
2609 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2611 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2612 (map_over_uint16_byte_table): Likewise.
2613 (map_over_byte_table): Likewise.
2614 (map_char_table): Modify for `map_over_uint8_byte_table',
2615 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2618 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2620 * chartab.c (struct map_char_table_for_charset_arg): New
2622 (map_char_table_for_charset_fun): New function.
2623 (map_char_table): Use `map_char_table' for encoding_table of
2626 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2628 * chartab.c (map_char_table): Check a character is found in
2629 range->charset instead of non default value is defined in
2630 char-table when range is CHARTAB_RANGE_ROW.
2632 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2634 * chartab.c (map_char_id_table): Deleted.
2635 (Fmap_char_attribute): Use `map_char_table' instead of
2636 `map_char_id_table'.
2638 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2640 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2642 (update_syntax_table): Deleted in XEmacs UTF-2000.
2644 * syntax.c (find_defun_start): Use `syntax_table' instead of
2645 `mirror_syntax_table' in XEmacs UTF-2000.
2646 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2648 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2650 (Fmatching_paren): Likewise.
2651 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2653 (find_start_of_comment): Likewise.
2654 (find_end_of_comment): Likewise.
2655 (Fforward_comment): Likewise.
2656 (scan_lists): Likewise.
2657 (char_quoted): Likewise.
2658 (Fbackward_prefix_chars): Likewise.
2659 (scan_sexps_forward): Likewise.
2660 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2661 (update_syntax_table): Likewise.
2663 * search.c (skip_chars): Use `syntax_table' instead of
2664 `mirror_syntax_table' in XEmacs UTF-2000.
2665 (wordify): Likewise.
2666 (Freplace_match): Likewise.
2668 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2669 `mirror_syntax_table' in XEmacs UTF-2000.
2670 (WORDCHAR_P_UNSAFE): Likewise.
2671 (re_match_2_internal): Likewise.
2673 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2674 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2676 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2677 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2679 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2682 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2684 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2685 (char_table_description): Delete `mirror_table' in XEmacs
2687 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2689 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2690 (Fcopy_char_table): Likewise.
2691 (put_char_table): Don't call `update_syntax_table' in XEmacs
2694 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2695 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2696 (casify_region_internal): Likewise.
2698 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2700 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2701 `mirror_syntax_table' in XEmacs UTF-2000.
2703 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2704 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2705 (Fexpand_abbrev): Likewise.
2707 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2709 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2711 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2713 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2714 (map_over_uint16_byte_table): Likewise.
2715 (map_over_byte_table): Likewise.
2716 (get_char_id_table): Refer `cit->default_value'.
2717 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2718 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2719 of character-id ranges.
2720 (mark_char_table): Mark `ct->default_value'.
2721 (char_table_description): Add `default_value'.
2722 (fill_char_table): Use `default_value'.
2723 (decode_char_table_range): Decode `nil' as
2724 `CHARTAB_RANGE_DEFAULT'.
2725 (get_char_id_table): Refer `cit->default_value'.
2726 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2727 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2728 temporary hack; check value of char-table is bound or not.
2729 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2731 * chartab.h (struct Lisp_Char_Table): Add new member
2732 `default_value' in XEmacs UTF-2000.
2733 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2734 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2737 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2739 * chartab.h (Lisp_Char_ID_Table): Deleted.
2741 * chartab.c (char_table_description): Fix typo.
2742 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2743 `Lisp_Char_ID_Table'.
2745 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2747 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2750 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2753 * chartab.h (XCHAR_ID_TABLE): Deleted.
2754 (XSETCHAR_ID_TABLE): Deleted.
2755 (CHAR_ID_TABLE_P): Deleted.
2757 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2759 (Fget_composite_char): Likewise.
2760 (put_char_table): Likewise.
2761 (add_char_attribute_alist_mapper): Fixed.
2762 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2764 (Fget_char_attribute): Likewise.
2765 (Fget_char_attribute): Likewise.
2766 (Fmap_char_attribute): Likewise.
2768 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2770 (encode_char_1): Likewise.
2772 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2774 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2777 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2778 instead of `XCHAR_ID_TABLE'.
2779 (remove_char_ccs): Likewise.
2781 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2783 (Fget_composite_char): Likewise.
2784 (Fchar_variants): Likewise.
2785 (put_char_table): Likewise.
2786 (add_char_attribute_alist_mapper): Likewise.
2787 (Fchar_attribute_alist): Likewise.
2788 (Fget_char_attribute): Likewise.
2789 (Fput_char_attribute): Likewise.
2790 (Fmap_char_attribute): Likewise.
2791 (Fmap_char_attribute): Likewise.
2793 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2795 (encode_char_1): Likewise.
2797 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2799 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2800 `Lisp_Char_ID_Table'.
2801 (mark_char_id_table): Deleted.
2802 (print_char_id_table): Likewise.
2803 (char_id_table_equal): Likewise.
2804 (char_id_table_hash): Likewise.
2805 (char_id_table_description): Likewise.
2806 (char_id_table): Likewise.
2807 (make_char_id_table): Use `Fmake_char_table' and
2809 (get_char_id_table): Use `Lisp_Char_Table' instead of
2810 `Lisp_Char_ID_Table'.
2811 (put_char_id_table): Likewise.
2812 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2814 (Fremove_char_attribute): Likewise.
2815 (syms_of_chartab): Don't define type `char-id-table'.
2817 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2818 (char_id_table): Likewise.
2819 (GC_CHAR_ID_TABLE_P): Likewise.
2820 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2821 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2822 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2823 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2824 (get_char_id_table): Use `Lisp_Char_Table' instead of
2825 `Lisp_Char_ID_Table'.
2826 (put_char_id_table_0): Likewise.
2827 (put_char_id_table): Likewise.
2829 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2831 * chartab.h: Lisp_Byte_Table related codes are moved from
2834 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2836 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2838 * chartab.h: Don't include "chartab.h".
2839 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2840 (Lisp_Char_ID_Table): Likewise.
2841 (char_id_table): Likewise.
2842 (XCHAR_ID_TABLE): Likewise.
2843 (XSETCHAR_ID_TABLE): Likewise.
2844 (CHAR_ID_TABLE_P): Likewise.
2845 (GC_CHAR_ID_TABLE_P): Likewise.
2846 (get_char_id_table): Likewise.
2848 * char-ucs.h: Include "chartab.h".
2849 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2850 (Lisp_Char_ID_Table): Likewise.
2851 (char_id_table): Likewise.
2852 (XCHAR_ID_TABLE): Likewise.
2853 (XSETCHAR_ID_TABLE): Likewise.
2854 (CHAR_ID_TABLE_P): Likewise.
2855 (GC_CHAR_ID_TABLE_P): Likewise.
2856 (get_char_id_table): Likewise.
2858 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2860 * chartab.c (copy_uint8_byte_table): New function.
2861 (copy_uint16_byte_table): New function.
2862 (copy_byte_table): New function.
2863 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2865 (map_over_uint16_byte_table): Likewise.
2866 (map_over_byte_table): Likewise.
2867 (get_byte_table): Move prototype to chartab.h.
2868 (put_byte_table): Likewise.
2869 (put_char_id_table_0): Moved to chartab.h.
2870 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2871 (char_table_entry_equal): Likewise.
2872 (char_table_entry_hash): Likewise.
2873 (char_table_entry_description): Likewise.
2874 (char_table_entry): Likewise.
2875 (make_char_table_entry): Likewise.
2876 (copy_char_table_entry): Likewise.
2877 (get_non_ascii_char_table_value): Likewise.
2878 (map_over_charset_ascii): Likewise.
2879 (map_over_charset_control_1): Likewise.
2880 (map_over_charset_row): Likewise.
2881 (map_over_other_charset): Likewise.
2882 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2883 (print_char_table): Likewise.
2884 (char_table_equal): Likewise.
2885 (char_table_hash): Likewise.
2886 (char_table_description): Likewise.
2887 (fill_char_table): Likewise.
2888 (Fcopy_char_table): Likewise.
2889 (get_char_table): Likewise.
2890 (Fget_range_char_table): Likewise.
2891 (put_char_table): Likewise.
2892 (map_char_table): Likewise.
2893 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2896 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2898 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2899 `Vauto_fill_chars' in XEmacs UTF-2000.
2901 * chartab.h (get_byte_table): New prototype [moved from
2903 (put_byte_table): Likewise [moved from chartab.c].
2904 (put_char_id_table_0): New inline function [moved from chartab.c].
2905 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2906 (Lisp_Char_Table_Entry): Likewise.
2907 (char_table_entry): Likewise.
2908 (XCHAR_TABLE_ENTRY): Likewise.
2909 (XSETCHAR_TABLE_ENTRY): Likewise.
2910 (CHAR_TABLE_ENTRYP): Likewise.
2911 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2912 (NUM_ASCII_CHARS): Likewise.
2913 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2914 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2916 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2918 * chartab.c (get_char_id_table): Change interface.
2919 (put_char_id_table_0): New function.
2920 (put_char_id_table): Change interface; new implementation.
2921 (Fget_composite_char): Modify for interface change of
2922 `get_char_id_table'.
2923 (Fchar_variants): Likewise.
2924 (add_char_attribute_alist_mapper): Likewise.
2925 (Fchar_attribute_alist): Likewise.
2926 (Fget_char_attribute): Likewise.
2927 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2928 as same as character as the first argument like `put-char-table';
2929 modify for interface change of `put_char_id_table'.
2930 (Fremove_char_attribute): Modify for interface change of
2931 `put_char_id_table'.
2933 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2935 * text-coding.c: Sync up with XEmacs 21.2.41.
2936 (COMPOSE_ADD_CHAR): Modify for interface change of
2937 `get_char_id_table'.
2939 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2940 change of `put_char_id_table'.
2941 (remove_char_ccs): Likewise.
2943 * chartab.h (put_char_id_table): Change interface.
2945 * char-ucs.h (get_char_id_table): Change interface.
2946 (charset_code_point): Modify for interface change of
2947 `get_char_id_table'.
2948 (encode_char_1): Likewise.
2950 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2952 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2954 (map_over_uint16_byte_table): Likewise.
2955 (map_over_byte_table): Likewise.
2956 (map_char_id_table): Add new argument `range' like
2958 (Fmap_char_attribute): Add new argument `range' like
2961 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2963 * chartab.c (map_over_uint8_byte_table): Change interface of
2964 mapping function to use struct chartab_range instead of Emchar.
2965 (map_over_uint16_byte_table): Likewise.
2966 (map_over_byte_table): Likewise.
2967 (map_char_id_table): Likewise.
2968 (struct slow_map_char_id_table_arg): Deleted.
2969 (slow_map_char_id_table_fun): Deleted.
2970 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2971 function `slow_map_char_table_fun' instead of struct
2972 `slow_map_char_id_table_arg' and function
2973 `slow_map_char_id_table_fun'.
2975 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2977 * mule-charset.c: Move char-it-table related codes to chartab.c.
2978 (Vutf_2000_version): Moved to chartab.c.
2979 (Fdefine_char): Likewise.
2980 (Ffind_char): Likewise.
2981 (syms_of_mule_charset): Move types `uint8-byte-table',
2982 `uint16-byte-table', `byte-table' and `char-id-table' to
2983 chartab.c; move functions `char_attribute_list,
2984 `find_char_attribute_table, `char_attribute_alist,
2985 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
2986 `map_char_attribute, `define_char, `find_char, `char_variants and
2987 `get_composite_char to chartab.c; move symbols `=>ucs',
2988 `->decomposition', `compat', `isolated', `initial', `medial',
2989 `final', `vertical', `noBreak', `fraction', `super', `sub',
2990 `circle', `square', `wide', `narrow', `small' and `font' to
2992 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
2993 setting codes for `Vcharacter_composition_table' and
2994 `Vcharacter_variant_table' to chartab.c.
2995 (complex_vars_of_mule_charset): Move setting code for
2996 `Vchar_attribute_hash_table' to chartab.c.
2998 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
2999 (make_char_id_table): New prototype.
3000 (put_char_id_table): Likewise.
3001 (Fget_char_attribute): Likewise.
3003 * chartab.c: Move char-id-table related code from mule-charset.c.
3004 (Vutf_2000_version): Moved from mule-charset.c.
3006 * char-ucs.h (Qucs): New external variable.
3007 (put_char_ccs_code_point): New prototype.
3008 (remove_char_ccs): Likewise.
3010 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3012 * mule-charset.c (Vcharset_ucs_jis): New variable.
3013 (Qucs_jis): Likewise.
3014 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3015 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3017 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3019 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3021 * mule-charset.c (map_over_uint8_byte_table): New function.
3022 (map_over_uint16_byte_table): Likewise.
3023 (map_over_byte_table): Likewise.
3024 (map_char_id_table): Likewise.
3025 (slow_map_char_id_table_fun): Likewise.
3026 (Fmap_char_attribute): Likewise.
3027 (syms_of_mule_charset): Add new function `map-char-attribute'.
3029 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3031 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3032 (syms_of_mule_charset): Add new function `find-char'.
3034 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3036 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3038 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3039 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3041 (complex_vars_of_mule_charset): Add new coded-charset
3042 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3043 `ideograph-gt-pj-*'.
3045 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3047 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3049 * mule-charset.c (encode_builtin_char_1): Purge codes about
3050 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3051 {MIN|MAX}_CHAR_HEBREW.
3052 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3053 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3055 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3056 (MAX_CHAR_GREEK): Purged.
3057 (MIN_CHAR_CYRILLIC): Purged.
3058 (MAX_CHAR_CYRILLIC): Purged.
3059 (MIN_CHAR_HEBREW): Commented out.
3060 (MAX_CHAR_HEBREW): Likewise.
3062 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3064 * mule-charset.c (Qto_ucs): New variable.
3065 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3066 (Fdefine_char): Likewise.
3067 (syms_of_mule_charset): Add new symbol `=>ucs'.
3069 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3071 * mule-charset.c (Fdecode_char): Fixed.
3073 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3075 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3076 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3079 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3081 * mule-charset.c (Vcharset_ucs_big5): New variable.
3082 (Qucs_big5): Likewise.
3083 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3084 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3086 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3088 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3090 * mule-charset.c (decode_builtin_char): Check Big5 code range
3091 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3093 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3095 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3096 (Qchinese_gb12345): Likewise.
3097 (Fdecode_builtin_char): Fixed.
3098 (syms_of_mule_charset): Add `chinese-gb12345'.
3099 (complex_vars_of_mule_charset): Add coded-charset
3102 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3103 (LEADING_BYTE_CHINESE_GB12345): New macro.
3105 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3107 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3108 and `latin-viscii-upper' for `latin-viscii'.
3110 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3112 * mule-charset.c (Fdecode_builtin_char): Comment out
3113 regularization code for ISO-IR GR representation.
3115 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3117 * mule-charset.c (decode_builtin_char): New function; renamed from
3118 `make_builtin_char'; return -1 instead of signal.
3119 (Fdecode_builtin_char): Use `decode_builtin_char'.
3121 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3122 `make_builtin_char'.
3123 (DECODE_CHAR): Use `decode_builtin_char' instead of
3124 `make_builtin_char'; use mapping table of `chinese-big5' for
3125 `chinese-big5-{1,2}'.
3127 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3129 * text-coding.c (char_encode_big5): New function.
3130 (char_finish_big5): Likewise.
3131 (reset_encoding_stream): Use `char_encode_big5' and
3132 `char_finish_big5' for CODESYS_BIG5.
3133 (mule_encode): Don't use `encode_coding_big5'.
3134 (encode_coding_big5): Deleted.
3136 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3139 0x81- in XEmacs UTF-2000.
3140 (detect_coding_big5): Likewise.
3142 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3144 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3145 generate character-id if the CCS property does not have
3146 corresponding predefined character.
3147 (make_builtin_char): Return -1 if corresponding predefined
3148 character is not found.
3149 (Fdecode_char): Return nil if corresponding character is not
3151 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3152 don't map to builtin ucs space.
3154 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3156 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3157 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3159 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3161 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3162 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3163 (Qideograph_gt): Likewise.
3164 (Qideograph_gt_pj_{1..11}): Likewise.
3165 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3166 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3167 `ideograph-gt-pj-11'.
3168 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3169 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3170 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3172 * char-ucs.h (LEADING_BYTE_GT): New macro.
3173 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3174 (MIN_CHAR_GT): Likewise.
3175 (MAX_CHAR_GT): Likewise.
3177 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3179 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3180 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3182 * doprnt.c (unsigned_int_converters): Add `c'.
3183 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3185 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3186 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3188 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3189 (MAX_CHAR_MOJIKYO_0): New macro.
3190 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3192 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3194 * mule-charset.c (Fdefine_char): Delete cemented out code.
3195 (encode_builtin_char_1): Modify for new allocation of builtin
3198 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3200 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3202 * mule-charset.c (Vcharset_ucs_cns): New variable.
3203 (Qucs_cns): New variable.
3204 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3205 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3207 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3209 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3211 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3213 * search.c (search_buffer): Make `charset_base_code' as
3214 character-id >> 6 to eliminate the corresponding last byte in
3215 UTF-8 representation [I'm not sure it is right thing].
3216 (boyer_moore): Likewise.
3218 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3220 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3221 representation in MULE.
3223 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3225 * text-coding.c (Fmake_coding_system): Use
3226 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3227 `EXTERNAL_PROPERTY_LIST_LOOP'.
3229 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3231 * text-coding.c (decode_output_utf8_partial_char): New function.
3232 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3234 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3236 * text-coding.c (decode_coding_utf8): Output original byte
3237 sequence if it is broken; change order of conditions.
3239 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3242 * mb-multibyte.h (BYTE_ASCII_P):
3243 Use bit ops for char-signedness safety.
3244 (BYTE_C0_P): Use bit ops for char-signedness safety.
3245 (BYTE_C1_P): Use bit ops for char-signedness safety.
3247 * character.h: (XCHAR_OR_CHAR_INT):
3248 Always use inline function.
3249 Remove redundant type checking assert() - XINT will abort quite
3252 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3254 * text-coding.c: (Fencode_shift_jis_char):
3255 (Fencode_big5_char):
3256 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3257 Replace 0 with '\0' when working with bytes.
3258 Replace initial "(" with "\(" in docstrings.
3260 (Fmake_coding_system):
3261 When type is ccl and value is vector, register it with a proper
3262 symbol. And checks whether the given ccl program is valid.
3263 (mule_decode): When calling ccl_driver, if src indicates
3264 NULL pointer, set an empty string instead.
3265 (mule_encode): Likewise.
3268 (detect_coding_sjis):
3269 (decode_coding_sjis):
3270 (detect_coding_big5):
3271 (decode_coding_big5):
3272 (detect_coding_ucs4):
3273 (decode_coding_ucs4):
3274 (detect_coding_utf8):
3275 (decode_coding_utf8):
3276 (detect_coding_iso2022):
3277 (decode_coding_iso2022):
3278 (decode_coding_no_conversion):
3280 Make all detecting and decoding functions take an Extbyte * arg.
3281 (text_encode_generic):
3282 (encode_coding_big5):
3283 (encode_coding_no_conversion):
3285 Make all encoding functions take a Bufbyte * arg.
3286 Use size_t instead of unsigned int for memory sizes.
3287 Only cast to unsigned char whenever dereferencing Extbyte *.
3289 (struct lrecord_description fcd_description_1): Use countof.
3290 (complex_vars_of_file_coding):
3291 Use countof instead of sizeof.
3292 Use CHECK_NATNUM instead of CHECK_INT.
3294 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3296 * mule-charset.c (Fget_char_attribute): Add new optional argument
3298 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3299 (remove_char_ccs): Likewise.
3301 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3303 * text-coding.c (char_encode_shift_jis): New implementation in
3305 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3308 * mule-charset.c (Vcharset_chinese_big5): New variable in
3310 (Qchinese_big5): New variable in UTF-2000.
3311 (BIG5_SAME_ROW): New macro in UTF-2000.
3312 (make_builtin_char): Use builtin characters of
3313 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3314 characters of `Vcharset_chinese_big5'.
3315 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3316 (complex_vars_of_mule_charset): Add new coded-charset
3317 `chinese-big5' in UTF-2000.
3319 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3320 (Vcharset_chinese_big5): New external variable declaration.
3321 (Vcharset_japanese_jisx0208_1990): Likewise.
3323 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3325 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3327 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3329 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3331 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3332 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3333 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3336 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3338 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3340 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3342 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3345 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3347 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3348 for `CHARSET_BY_ATTRIBUTES'.
3349 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3350 `CHARSET_BY_ATTRIBUTES'.
3352 * text-coding.c (struct decoding_stream): Rename member `CH' to
3354 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3355 (decode_coding_sjis): Likewise.
3356 (decode_coding_big5): Likewise.
3357 (decode_coding_ucs4): Likewise.
3358 (decode_coding_utf8): Likewise.
3359 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3360 `CHARSET_BY_ATTRIBUTES'.
3361 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3362 `str->counter'; decode 3, 4 bytes sets.
3363 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3365 (decode_coding_no_conversion): Use `str->cpos' instead of
3368 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3369 (Qmojikyo_2022_1): New variable.
3370 (make_charset): Don't use `CHARSET_TYPE_*'.
3371 (range_charset_code_point): Support coded-charset
3373 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3374 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3375 `CHARSET_BY_ATTRIBUTES'.
3376 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3377 `CHARSET_BY_ATTRIBUTES'.
3378 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3379 (complex_vars_of_mule_charset): Add new coded-charset
3382 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3383 interface; changed to inline function.
3385 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3386 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3387 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3388 (CHARSET_TYPE_94): Deleted.
3389 (CHARSET_TYPE_94X94): Deleted.
3390 (CHARSET_TYPE_96): Deleted.
3391 (CHARSET_TYPE_96X96): Deleted.
3392 (CHARSET_TYPE_128): Deleted.
3393 (CHARSET_TYPE_128X128): Deleted.
3394 (CHARSET_TYPE_256): Deleted.
3395 (CHARSET_TYPE_256X256): Deleted.
3396 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3398 (DECODE_MOJIKYO_2022): New inline function.
3399 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3400 `Vcharset_mojikyo_2022_1'.
3402 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3404 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3406 (put_byte_table): Likewise.
3407 (char_id_table_equal): Use `get_byte_table' [new implementation].
3409 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3411 * mule-charset.c: Include <limits.h> in UTF-2000.
3412 (BT_UINT8_MIN): New macro in UTF-2000.
3413 (BT_UINT8_MAX): New macro in UTF-2000.
3414 (BT_UINT8_t): New macro in UTF-2000.
3415 (BT_UINT8_nil): New macro in UTF-2000.
3416 (BT_UINT8_unbound): New macro in UTF-2000.
3417 (INT_UINT8_P): New inline function in UTF-2000.
3418 (UINT8_VALUE_P): New inline function in UTF-2000.
3419 (UINT8_ENCODE): New inline function in UTF-2000.
3420 (UINT8_DECODE): New inline function in UTF-2000.
3421 (mark_uint8_byte_table): New function in UTF-2000.
3422 (print_uint8_byte_table): New function in UTF-2000.
3423 (uint8_byte_table_equal): New function in UTF-2000.
3424 (uint8_byte_table_hash): New function in UTF-2000.
3425 (make_uint8_byte_table): New function in UTF-2000.
3426 (uint8_byte_table_same_value_p): New function in UTF-2000.
3427 (BT_UINT16_MIN): New macro in UTF-2000.
3428 (BT_UINT16_MAX): New macro in UTF-2000.
3429 (BT_UINT16_t): New macro in UTF-2000.
3430 (BT_UINT16_nil): New macro in UTF-2000.
3431 (BT_UINT16_unbound): New macro in UTF-2000.
3432 (INT_UINT16_P): New inline function in UTF-2000.
3433 (UINT16_VALUE_P): New inline function in UTF-2000.
3434 (UINT16_ENCODE): New inline function in UTF-2000.
3435 (UINT16_DECODE): New inline function in UTF-2000.
3436 (UINT8_TO_UINT16): New inline function in UTF-2000.
3437 (mark_uint16_byte_table): New function in UTF-2000.
3438 (print_uint16_byte_table): New function in UTF-2000.
3439 (uint16_byte_table_equal): New function in UTF-2000.
3440 (uint16_byte_table_hash): New function in UTF-2000.
3441 (make_uint16_byte_table): New function in UTF-2000.
3442 (uint16_byte_table_same_value_p): New function in UTF-2000.
3443 (print_byte_table): New function in UTF-2000.
3444 (byte-table): Use `print_byte_table' as printer.
3445 (make_byte_table): Delete second argument `older'.
3446 (byte_table_same_value_p): New function in UTF-2000.
3447 (copy_byte_table): Deleted.
3448 (get_byte_table): New function in UTF-2000.
3449 (put_byte_table): New function in UTF-2000.
3450 (print_char_id_table): New function in UTF-2000.
3451 (char-id-table): Use `print_char_id_table' as printer.
3452 (make_char_id_table): Delete second argument `older'.
3453 (get_char_id_table): Use `get_byte_table [new implementation].
3454 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3456 (Ffind_char_attribute_table): New function in UTF-2000.
3457 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3458 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3459 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3460 (syms_of_mule_charset): Add new function
3461 `find-char-attribute-table' in UTF-2000.
3463 * lrecord.h (enum lrecord_type): Add
3464 `lrecord_type_uint16_byte_table' and
3465 `lrecord_type_uint8_byte_table'.
3467 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3468 (Lisp_Uint8_Byte_Table): New type.
3469 (XUINT8_BYTE_TABLE): New macro.
3470 (XSETUINT8_BYTE_TABLE): New macro.
3471 (UINT8_BYTE_TABLE_P): New macro.
3472 (GC_UINT8_BYTE_TABLE_P): New macro.
3473 (struct Lisp_Uint16_Byte_Table): New structure.
3474 (Lisp_Uint16_Byte_Table): New type.
3475 (XUINT16_BYTE_TABLE): New macro.
3476 (XSETUINT16_BYTE_TABLE): New macro.
3477 (UINT16_BYTE_TABLE_P): New macro.
3478 (GC_UINT16_BYTE_TABLE_P): New macro.
3480 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3482 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3483 (Vcharacter_ideographic_strokes_table): Deleted.
3484 (Vcharacter_total_strokes_table): Deleted.
3485 (Vcharacter_morohashi_daikanwa_table): Deleted.
3486 (Vcharacter_decomposition_table): Deleted.
3487 (Qname): Deleted because it is duplicated.
3488 (Qideographic_radical): Deleted.
3489 (Qideographic_strokes): Deleted.
3490 (Qtotal_strokes): Deleted.
3491 (Qmorohashi_daikanwa): Deleted.
3492 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3493 `ideographic-radical', `ideographic-strokes', `total-strokes',
3494 `morohashi-daikanwa' and `->decomposition'.
3495 (Fget_char_attribute): Likewise.
3496 (Fput_char_attribute): Likewise; use `make-vector' instead of
3497 `make_older_vector' for `->decomposition' value.
3498 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3499 `ideograph-daikanwa'.
3500 (syms_of_mule_charset): Delete builtin symbols `name',
3501 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3502 `morohashi-daikanwa'.
3503 (vars_of_mule_charset): Don't setup
3504 `Vcharacter_ideographic_radical_table',
3505 `Vcharacter_ideographic_strokes_table',
3506 `Vcharacter_total_strokes_table',
3507 `Vcharacter_morohashi_daikanwa_table' and
3508 `Vcharacter_decomposition_table'.
3510 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3512 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3513 `make_older_vector', `make_vector_newer_1' and
3514 `make_vector_newer'.
3516 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3517 `make_older_vector' and `make_vector_newer'.
3519 * config.h.in (HAVE_GGC): New macro.
3521 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3523 * mule-charset.c (struct char_attribute_list_closure): New
3524 structure in UTF-2000.
3525 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3526 (Fchar_attribute_list): Likewise.
3527 (Fset_charset_mapping_table): Use `make_vector_newer'.
3528 (Fdecode_builtin_char): New function in UTF-2000.
3529 (syms_of_mule_charset): Add new function `char-attribute-list' and
3530 `decode-builtin-char' in UTF-2000.
3532 * lisp.h (make_vector_newer): New prototype.
3534 * alloc.c (make_vector_newer_1): New function.
3535 (make_vector_newer): New function.
3537 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3539 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3542 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3544 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3545 (Vcharacter_attribute_table): Deleted.
3546 (Vcharacter_name_table): Deleted.
3547 (put_char_attribute): Deleted.
3548 (remove_char_attribute): Deleted.
3549 (struct char_attribute_alist_closure): New structure.
3550 (add_char_attribute_alist_mapper): New function.
3551 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3552 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3553 (Fget_char_attribute): Likewise.
3554 (Fput_char_attribute): Likewise.
3555 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3556 of `remove_char_attribute'.
3557 (Fdefine_char): Return character.
3558 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3559 and `Vcharacter_name_table'.
3560 (complex_vars_of_mule_charset): Likewise
3561 `Vchar_attribute_hash_table'.
3563 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3565 * character.h (CHARC_CHARSET): New macro.
3566 (CHARC_CHARSET_ID): New macro.
3567 (CHARC_CODE_POINT): New macro.
3568 (CHARC_COLUMNS): New macro.
3569 (CHARC_TO_CHAR): New inline function.
3570 (CHARC_EQ): New inline function.
3571 (CHARC_ASCII_EQ): New inline function.
3572 (CHARC_IS_SPACE): New inline function.
3573 (ASCII_TO_CHARC): New inline function.
3575 * char-ucs.h (encode_char_2): Deleted.
3576 (ENCODE_CHAR): Use `encode_char_1' again.
3577 (breakup_char_1): Likewise.
3578 (CHAR_TO_CHARC): New inline function.
3580 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3582 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3584 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3585 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3586 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3587 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3588 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3590 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3592 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3594 (x_output_display_block): Use `CHARC_CHARSET' and
3597 * redisplay-tty.c (tty_output_display_block): Use
3599 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3601 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3603 * insdel.c (find_charsets_in_charc_string): Use
3605 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3606 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3607 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3608 (convert_charc_string_into_malloced_string): Likewise.
3610 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3612 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3613 instead of <Emchar_dynarr *> for buf; use
3614 `convert_bufbyte_string_into_charc_dynarr' instead of
3615 `convert_bufbyte_string_into_emchar_dynarr'; use
3616 `find_charsets_in_charc_string' instead of
3617 `find_charsets_in_emchar_string'.
3620 - Include "character.h".
3621 (struct rune): New member `cglyph'; delete member `chr'.
3623 * redisplay.c (redisplay_text_width_charc_string): New function;
3624 delete `redisplay_text_width_emchar_string'.
3625 (rtw_charc_dynarr): New variable; renamed from
3626 `rtw_emchar_dynarr'.
3627 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3628 `rtw_emchar_dynarr'; use
3629 `convert_bufbyte_string_into_charc_dynarr' instead of
3630 `convert_bufbyte_string_into_emchar_dynarr'; use
3631 `redisplay_text_width_charc_string' instead of
3632 `redisplay_text_width_emchar_string'.
3633 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3634 instead of `rtw_emchar_dynarr'; use
3635 `convert_bufbyte_string_into_charc_dynarr' instead of
3636 `convert_bufbyte_string_into_emchar_dynarr'.
3637 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3638 `redisplay_text_width_charc_string' instead of
3639 `redisplay_text_width_emchar_string'.
3640 (create_text_block): Modify for <struct rune> change.
3641 (generate_formatted_string_db): Likewise.
3642 (create_string_text_block): Likewise.
3643 (pixel_to_glyph_translation): Likewise.
3645 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3646 instead of <const Emchar *>.
3647 (x_text_width): Likewise.
3648 (x_output_display_block): Use <Charc_dynarr *> instead
3649 <Emchar_dynarr *>; modify for <structure rune> change.
3650 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3653 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3654 <const Emchar *>; use `charc_string_displayed_columns' instead of
3655 `emchar_string_displayed_columns'.
3656 (tty_output_display_block): Use <Charc_dynarr *> instead of
3657 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3658 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3659 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3660 `tty_output_emchar_dynarr_dynarr'.
3661 (tty_output_charc_dynarr): New function; delete
3662 `tty_output_charc_dynarr'.
3664 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3665 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3666 <Emchar_dynarr *> for buf; use
3667 `convert_bufbyte_string_into_charc_dynarr' instead of
3668 `convert_bufbyte_string_into_emchar_dynarr'.
3670 * frame.c (title_string_charc_dynarr): New variable; renamed from
3671 `title_string_emchar_dynarr'.
3672 (generate_title_string): Use `title_string_charc_dynarr' instead
3673 of `title_string_emchar_dynarr'; use
3674 `convert_charc_string_into_malloced_string' instead of
3675 `convert_emchar_string_into_malloced_string'.
3676 (init_frame): Use `title_string_charc_dynarr' instead of
3677 `title_string_emchar_dynarr'.
3680 - Include "character.h".
3681 (struct console_methods): Use <const Charc *> instead of <const
3682 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3683 <Emchar_dynarr *> in output_string_method.
3685 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3688 * console-stream.c (stream_text_width): Use <const Charc *>
3689 instead of <const Emchar *>.
3691 * character.h (Charc_dynarr): New type.
3693 * char-ucs.h (structure Charc): New structure; define new type
3696 * char-lb.h (DECODE_CHAR): New inline function.
3697 (encode_char_1): New inline function.
3698 (ENCODE_CHAR): New macro.
3699 (structure Charc): New structure; define new type `Charc'.
3701 * char-1byte.h (Vcharset_control_1): New macro.
3702 (Vcharset_latin_iso8859_1): New macro.
3703 (DECODE_CHAR): New inline function.
3704 (encode_char_1): New inline function.
3705 (ENCODE_CHAR): New macro.
3706 (structure Charc): New structure; define new type `Charc'.
3708 * insdel.c (find_charsets_in_charc_string): New function; delete
3709 `find_charsets_in_emchar_string'.
3710 (charc_string_displayed_columns): New function; delete
3711 `emchar_string_displayed_columns'.
3712 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3713 `convert_bufbyte_string_into_emchar_dynarr'.
3714 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3715 `convert_charc_string_into_bufbyte_dynarr'.
3716 (convert_charc_string_into_malloced_string): New function; delete
3717 `convert_charc_string_into_malloced_string'.
3719 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3720 `find_charsets_in_emchar_string'.
3721 (charc_string_displayed_columns): New prototype; delete
3722 `emchar_string_displayed_columns'.
3723 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3724 `convert_charc_string_into_bufbyte_dynarr'.
3725 (convert_charc_string_into_malloced_string): New prototype; delete
3726 `convert_charc_string_into_malloced_string'.
3728 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3730 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3732 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3734 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3736 * char-ucs.h: Use <short> for <Charset_ID>.
3738 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3741 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3743 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3746 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3748 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3750 (Qmorohashi_daikanwa): New variable.
3751 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3752 for `morohashi-daikanwa' attribute.
3753 (Fget_char_attribute): Likewise.
3754 (Fput_char_attribute): Likewise.
3755 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3756 has the same value of `ideograph-daikanwa'.
3757 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3758 (vars_of_mule_charset): Setup
3759 `Vcharacter_morohashi_daikanwa_table'.
3761 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3763 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3765 (add_charset_to_list_mapper): Add `key' instead of
3766 `XCHARSET_NAME (value)' to return aliases.
3768 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3770 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3772 (Vcharacter_ideographic_strokes_table): New variable.
3773 (Qideographic_radical): New variable.
3774 (Qideographic_strokes): New variable.
3775 (Fchar_attribute_alist): Use
3776 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3777 attribute; use `Vcharacter_ideographic_strokes_table' for
3778 `ideographic-strokes' attribute.
3779 (Fget_char_attribute): Likewise.
3780 (Fput_char_attribute): Likewise.
3781 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3782 `ideographic-strokes'.
3783 (vars_of_mule_charset): Setup
3784 `Vcharacter_ideographic_radical_table' and
3785 `Vcharacter_ideographic_strokes_table'.
3787 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3789 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3790 (Qtotal_strokes): New variable.
3791 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3792 `total-strokes' attribute.
3793 (Fget_char_attribute): Likewise.
3794 (Fput_char_attribute): Likewise.
3795 (syms_of_mule_charset): Add new symbol `total-strokes'.
3796 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3798 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3800 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3801 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3803 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3804 `->decomposition' attribute.
3805 (Fput_char_attribute): Likewise.
3806 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3808 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3810 * mule-charset.c (decoding_table_check_elements): New function.
3811 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3813 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3815 * mule-charset.c (Fset_charset_mapping_table): Use
3816 `put_char_ccs_code_point'.
3818 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3820 * mule-charset.c (decoding_table_put_char): New inline function.
3821 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3823 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3825 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3826 (XCHARSET_BYTE_SIZE): New macro.
3827 (decoding_table_remove_char): New inline function.
3828 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3829 `decoding_table_remove_char'.
3830 (remove_char_ccs): Use `decoding_table_remove_char'.
3831 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3833 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3835 * mule-charset.c (Vcharacter_name_table): New variable.
3836 (Qname): New variable.
3837 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3839 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3840 `Vcharacter_name_table' for `name' attribute.
3841 (Fremove_char_attribute): Use function `remove_char_ccs'.
3842 (put_char_ccs_code_point): New function.
3843 (remove_char_ccs): New function.
3844 (syms_of_mule_charset): Add new symbol `name'.
3845 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3847 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3849 * mule-charset.c (make_byte_table): Add new argument `older'.
3850 (make_char_id_table): Likewise.
3851 (copy_char_id_table): Comment out because it is not used.
3852 (put_char_id_table): Modify for `make_byte_table'.
3853 (Fput_char_attribute): Make encoding_table as older object;
3854 inherit older bit of `Vcharacter_composition_table'.
3855 (mark_charset): Don't mark `cs->encoding_table'.
3856 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3857 normal object; make `Vcharacter_composition_table' as an older
3858 object; delete staticpro for `Vcharacter_composition_table'; make
3859 `Vcharacter_variant_table' as a normal object.
3861 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3862 (mark_object): Don't check older object in UTF-2000.
3864 * lrecord.h (struct lrecord_header): Add new member `older' in
3866 (set_lheader_implementation): Setup `SLI_header->older' in
3868 (set_lheader_older_implementation): New macro in UTF-2000.
3869 (OLDER_RECORD_P): New macro in UTF-2000.
3870 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3871 (alloc_older_lcrecord): New prototype in UTF-2000.
3872 (alloc_older_lcrecord_type): New macro in UTF-2000.
3874 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3876 * mule-charset.c (byte_table_description): Use
3877 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3878 (char_id_table_description): Delete bogus `, 1'.
3879 (Fget_char_attribute): Refer encoding_table of each coded-charset
3880 to get value of coded-charset attribute of a character.
3881 (Fput_char_attribute): Use `make_older_vector' instead of
3882 `make_vector'; use encoding_table of each coded-charset to store
3883 value of coded-charset attribute of a character.
3884 (Fremove_char_attribute): Use encoding_table of each coded-charset
3885 to store value of coded-charset attribute of a character.
3886 (mark_charset): Mark `cs->encoding_table'; don't mark
3887 `cs->decoding_table'.
3888 (charset_description): Add description of new member
3890 (make_charset): Initialize `encoding_table'.
3892 * char-ucs.h (struct Lisp_Charset): Add new member
3894 (CHARSET_ENCODING_TABLE): New macro.
3895 (XCHARSET_ENCODING_TABLE): New macro.
3896 (charset_code_point): New implementation.
3897 (encode_char_1): Likewise.
3899 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3900 (disksave_object_finalization_1): Call finalizers of
3901 `all_older_lcrecords' in UTF-2000.
3902 (make_older_vector): New function in UTF-2000.
3903 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3906 * lisp.h (make_older_vector): New prototype in UTF-2000.
3908 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3910 * lrecord.h (enum lrecord_type): Rename
3911 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3913 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3914 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3915 `get_char_code_table'.
3917 * mule-charset.c (mark_char_id_table): Renamed from
3918 `mark_char_code_table'.
3919 (char_id_table_equal): Renamed from `char_code_table_equal'.
3920 (char_id_table_hash): Renamed from `char_code_table_hash'.
3921 (make_char_id_table): Renamed from `make_char_code_table'.
3922 (copy_char_id_table): Renamed from `copy_char_code_table'.
3923 (get_char_id_table): Renamed from `get_char_code_table'.
3924 (put_char_id_table): Renamed from `put_char_code_table'.
3925 (to_char_id): Renamed from `to_char_code'.
3927 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3928 `Lisp_Char_Code_Table'.
3929 (char_id_table): Renamed from `char_code_table'.
3930 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3931 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3932 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3933 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3934 (get_char_id_table): Renamed from `get_char_code_table'.
3936 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3938 * lrecord.h (enum lrecord_type): Rename
3939 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3941 * mule-charset.c (mark_byte_table): Renamed from
3942 `mark_char_byte_table'.
3943 (byte_table_equal): Renamed from `char_byte_table_equal'.
3944 (byte_table_hash): Renamed from `byte_table_hash'.
3945 (make_byte_table): Renamed from `make_byte_table'.
3946 (copy_byte_table): Renamed from `copy_char_byte_table'.
3948 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3949 `Lisp_Char_Byte_Table'.
3950 (byte_table): Renamed from `char_byte_table'.
3951 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3952 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3953 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3954 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3956 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3958 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3959 (dfc_convert_to_internal_format): Likewise.
3961 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3962 * text-coding.c (Fcoding_system_alias_p): New function.
3963 * text-coding.c (Fcoding_system_aliasee): New function.
3964 * text-coding.c (append_suffix_to_symbol): New function.
3965 * text-coding.c (dangling_coding_system_alias_p): New function.
3966 * text-coding.c (Ffind_coding_system):
3967 * text-coding.c (Fcopy_coding_system):
3968 * text-coding.c (encode_coding_no_conversion):
3969 * text-coding.c (syms_of_file_coding):
3970 * text-coding.c (vars_of_file_coding):
3971 Rewrite coding system alias code.
3972 Allow nested aliases, like symbolic links.
3973 Allow redefinition of coding system aliases.
3974 Prevent existence of dangling coding system aliases.
3975 Eliminate convert_to_external_format.
3976 Eliminate convert_to_internal_format.
3978 * text-coding.c: Change enum eol_type to eol_type_t.
3980 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3982 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
3983 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3985 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
3986 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
3988 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3990 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
3991 `ideograph-daikanwa'.
3993 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
3994 (Vcharset_ucs_bmp): Likewise.
3995 (Vcharset_mojikyo): Add new extern variable definition.
3996 (Vcharset_latin_iso8859_2): Deleted because it is not used.
3997 (Vcharset_latin_iso8859_3): Likewise.
3998 (Vcharset_latin_iso8859_4): Likewise.
3999 (Vcharset_latin_iso8859_9): Likewise.
4000 (Vcharset_latin_viscii_lower): Likewise.
4001 (Vcharset_latin_viscii_upper): Likewise.
4002 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4003 `mojikyo' code-point is used to decode.
4004 (encode_char_2): New function [to convert `mojikyo' code-point to
4005 Mojikyo font encoding].
4006 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4007 (breakup_char_1): Likewise.
4008 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4010 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4012 * text-coding.c (Fmake_coding_system): Add document about
4013 `disable-composition' property.
4015 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4017 * text-coding.c (Qdisable_composition): New variable; delete
4019 (Fmake_coding_system): Add new property `disable-composite';
4020 delete property `composite'.
4021 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4022 instead of `!CODING_SYSTEM_COMPOSITE'.
4023 (syms_of_file_coding): Add new symbol `disable-composition';
4024 delete symbol `composite'.
4026 * file-coding.h (struct Lisp_Coding_System): Add
4027 `disable_composition'; delete `enable_composition'.
4028 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4029 `CODING_SYSTEM_COMPOSITE'.
4030 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4031 `XCODING_SYSTEM_COMPOSITE'.
4033 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4035 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4038 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4040 * text-coding.c (Qcomposite): New variable.
4041 (Fmake_coding_system): Add new property `composite'.
4042 (struct decoding_stream): Add `combined_char_count',
4043 `combined_chars' and `combining_table' in UTF-2000.
4044 (COMPOSE_FLUSH_CHARS): New macro.
4045 (COMPOSE_ADD_CHAR): New macro.
4046 (reset_decoding_stream): Reset `str->combined_char_count' and
4047 `str->combining_table' in UTF-2000.
4048 (decode_coding_iso2022): Modify for character-decomposition.
4049 (syms_of_file_coding): Add new symbol `composite'.
4051 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4053 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4054 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4055 of `Vcharacter_composition_table' if `->decomposition' property
4057 (Qlatin_tcvn5712): New variable.
4058 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4059 (complex_vars_of_mule_charset): Add new coded-charset
4062 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4064 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4066 * file-coding.h (struct Lisp_Coding_System): Add
4067 `enable_composition'.
4068 (CODING_SYSTEM_COMPOSITE): New macro.
4069 (XCODING_SYSTEM_COMPOSITE): New macro.
4071 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4073 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4075 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4077 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4078 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4080 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4082 * mule-charset.c (Vcharset_mojikyo): New variable.
4083 (Fdefine_char): Don't use coded-charset which does not have
4084 non-builtin character range to allocate character-id.
4085 (Qmojikyo): New variable.
4086 (syms_of_mule_charset): Add new symbol `mojikyo'.
4087 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4089 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4090 (LEADING_BYTE_MOJIKYO): New macro.
4091 (MIN_CHAR_MOJIKYO): New macro.
4092 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4093 (MAX_CHAR_MOJIKYO): New macro.
4095 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4097 * mule-charset.c (remove_char_attribute): Fixed.
4099 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4101 * mule-charset.c (remove_char_attribute): New function.
4102 (Fremove_char_attribute): New function.
4103 (encode_builtin_char_1): Comment out builtin-support for
4104 greek-iso8859-7 and cyrillic-iso8859-5.
4105 (Fdecode_char): Check `code' is an integer.
4106 (syms_of_mule_charset): Add `remove-char-attribute'.
4107 (MIN_CHAR_GREEK): Deleted.
4108 (MAX_CHAR_GREEK): Likewise.
4109 (MIN_CHAR_CYRILLIC): Likewise.
4110 (MAX_CHAR_CYRILLIC): Likewise.
4111 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4112 MAX_CHAR_GREEK for `greek-iso8859-7'.
4114 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4115 (MAX_CHAR_GREEK): Likewise.
4116 (MIN_CHAR_CYRILLIC): Likewise.
4117 (MAX_CHAR_CYRILLIC): Likewise.
4119 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4121 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4122 format is used without `ucs' property.
4123 (Fdecode_char): Fix problem with GR representation.
4124 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4125 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4127 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4129 * mule-charset.c (make_builtin_char): New function.
4130 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4131 (Fset_charset_mapping_table): Modify for new representation of
4133 (Fdecode_char): New function.
4134 (syms_of_mule_charset): Add new builtin function `decode-char' in
4137 * char-ucs.h (make_builtin_char): New prototype.
4138 (DECODE_CHAR): New inline function.
4139 (MAKE_CHAR): Use `DECODE_CHAR'.
4141 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4143 * text-coding.c (parse_charset_conversion_specs): Use
4144 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4146 (iso2022_designate): Likewise.
4148 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4149 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4151 * mule-charset.c (Vcharset_ucs): New variable.
4152 (print_charset): Change design; use `CHARSET_CHARS' and
4153 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4154 (make_charset): Change signature to specify `chars' and
4155 `dimension' instead of `type'.
4156 (range_charset_code_point): Modify for 256^n-set.
4157 (encode_builtin_char_1): Encode as `ucs' in default.
4158 (Fmake_charset): Modify for `make_charset'.
4159 (Fmake_reverse_direction_charset): Likewise.
4160 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4162 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4165 * char-ucs.h (Vcharset_ucs): New variable.
4166 (LEADING_BYTE_UCS): New macro.
4167 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4168 and `chars' to `unsigned short' from `unsigned int'.
4169 (CHARSET_TYPE): Deleted.
4170 (XCHARSET_TYPE): Deleted.
4172 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4174 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4176 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4177 (ENCODE_CHAR): New macro.
4179 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4181 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4182 to 0.14 (Kawachi-Katakami).
4184 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4186 * text-coding.c (char_encode_shift_jis): Modify for
4187 `charset_code_point'.
4188 (char_encode_iso2022): Likewise.
4190 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4191 (integer) instead of list of <Lisp_Object>s (integers) as the
4192 format of code-point of a coded-charset.
4193 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4194 (encode_builtin_char_1): New function; delete
4195 `split_builtin_char'.
4196 (charset_code_point): Return <int> instead of <Lisp_Object>.
4197 (Fsplit_char): Don't use `SPLIT_CHAR'.
4199 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4200 prototype for `split_builtin_char'.
4201 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4202 (charset_code_point): Likewise.
4203 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4204 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4206 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4208 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4209 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4211 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4213 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4215 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4216 (MAX_CHAR_OBS_94x94): Deleted.
4218 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4220 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4222 * char-ucs.h (MAX_CHAR_BMP): New macro.
4224 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4226 * text-coding.c: Sync with r21-2-24.
4228 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4230 * file-coding.c: Modify for UTF-2000.
4232 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4234 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4237 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4239 * mule-charset.c (split_builtin_char): Delete builtin support for
4240 `katakana-jisx0201'.
4241 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4242 BMP area in builtin representation.
4244 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4245 `Vcharset_katakana_jisx0201'.
4247 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4249 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4250 (Qisolated): New variable.
4251 (Qinitial): New variable.
4252 (Qmedial): New variable.
4253 (Qfinal): New variable.
4254 (Qvertical): New variable.
4255 (Qsmall): New variable.
4256 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4257 `Qvertical' and `Qsmall'.
4258 (Qmojikyo_pj_[1 .. 21]): New variable.
4259 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4260 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4261 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4264 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4266 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4267 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4268 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4270 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4272 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4273 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4275 (Qjapanese_jisx0208_1990): New variable.
4276 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4277 (complex_vars_of_mule_charset): Add new coded-charset
4278 `japanese-jisx0208-1990'.
4280 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4281 (MIN_CHAR_JIS_X0208_1990): New macro.
4282 (MAX_CHAR_JIS_X0208_1990): New macro.
4284 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4286 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4287 coded-charset is not found.
4289 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4291 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4292 (Fdefine_char): Use `Fmake_char'.
4294 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4296 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4297 (Vcharset_hiragana_jisx0208): Deleted.
4298 (Vcharset_katakana_jisx0208): Deleted.
4299 (Qideograph_daikanwa): New variable.
4300 (Qhiragana_jisx0208): Deleted.
4301 (Qkatakana_jisx0208): Deleted.
4302 (split_builtin_char): Split `ideograph-daikanwa'.
4303 (Fsplit_char): New implementation for UTF-2000.
4304 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4305 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4306 (complex_vars_of_mule_charset): Add new coded-charset
4307 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4308 `katakana-jisx0208'.
4310 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4311 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4312 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4313 (MIN_CHAR_DAIKANWA): New macro.
4314 (MAX_CHAR_DAIKANWA): New macro.
4316 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4318 * data.c (Fstring_to_number): Don't recognize floating point if
4321 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4323 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4325 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4327 * mule-charset.c (Qsquare): New variable.
4328 (to_char_code): Add `Qsquare'.
4329 (syms_of_mule_charset): Add new symbol `square'.
4331 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4333 * mule-charset.c (Qcircle): New variable.
4334 (to_char_code): Add `Qcircle'.
4335 (syms_of_mule_charset): Add new symbol `circle'.
4337 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4339 * mule-charset.c (Qfont): New variable.
4340 (to_char_code): Add `Qfont'.
4341 (syms_of_mule_charset): Add new symbol `font'.
4343 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4345 * mule-charset.c (Qsub): New variable.
4346 (to_char_code): Add `Qsub'.
4347 (syms_of_mule_charset): Add new symbol `sub'.
4349 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4351 * mule-charset.c (Fput_char_attribute): Convert each element of
4352 VALUE to GL position if ATTRIBUTE is a GR-set,
4354 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4356 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4357 coded-charset is a GR-set.
4359 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4361 * mule-charset.c (Fput_char_attribute): Check each element of
4362 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4364 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4366 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4368 (Qethiopic_ucs): New variable in UTF-2000.
4369 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4370 (complex_vars_of_mule_charset): Add new coded-charset
4371 `ethiopic-ucs' in UTF-2000.
4373 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4374 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4376 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4378 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4380 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4382 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4385 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4387 * mule-charset.c (Vcharacter_variant_table): New variable.
4388 (Q_ucs): New variable.
4389 (Fchar_variants): New function.
4390 (Fput_char_attribute): Register `->ucs' value to
4391 `Vcharacter_variant_table'.
4392 (syms_of_mule_charset): Add new function `char-variants' and new
4394 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4396 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4398 * mule-charset.c (get_char_code_table): Allow negative character
4400 (put_char_code_table): Likewise.
4401 (Vcharacter_composition_table): New variable.
4402 (Q_decomposition): New variable.
4403 (Qwide): New variable.
4404 (Qnarrow): New variable.
4405 (Qcompat): New variable.
4406 (QnoBreak): New variable.
4407 (Qsuper): New variable.
4408 (Qfraction): New variable.
4409 (to_char_code): New function.
4410 (Fget_composite_char): New function.
4411 (Fput_char_attribute): Register `->decomposition' value to
4412 `Vcharacter_composition_table'.
4413 (syms_of_mule_charset): Add new function `get-composite-char', new
4414 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4415 `super' and `fraction'.
4416 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4418 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4420 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4421 character; copy the return value.
4423 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4425 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4427 * mule-charset.c (range_charset_code_point): Must use make_int.
4428 (split_builtin_char): New function.
4430 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4432 * mule-charset.c (char_byte_table): Change name from
4433 "char-code-table" to "char-byte-table".
4434 (mark_char_code_table): New function.
4435 (char_code_table_equal): New function.
4436 (char_code_table_hash): New function.
4437 (char_code_table_description): New constant.
4438 (char_code_table): New type.
4439 (make_char_code_table): New function.
4440 (copy_char_code_table): New function.
4441 (get_char_code_table): Modify for `char_code_table' type.
4442 (put_char_code_table): Likewise.
4443 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4446 * char-ucs.h (char_code_table): New type.
4447 (XCHAR_CODE_TABLE): New macro.
4448 (XSETCHAR_CODE_TABLE): New macro.
4449 (CHAR_CODE_TABLE_P): New macro.
4450 (GC_CHAR_CODE_TABLE_P): New macro.
4451 (struct Lisp_Char_Code_Table): New structure.
4453 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4455 * mule-charset.c (Fmake_charset): Setup byte_offset for
4458 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4460 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4463 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4465 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4468 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4470 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4471 charset, it is regarded as a charset.
4472 (put_char_attribute): New function in UTF-2000.
4473 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4474 charset, mapping-table of the charset is modified.
4475 (Fdefine_char): New function in UTF-2000.
4476 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4477 `Fput_char_attribute'.
4478 (syms_of_mule_charset): Add new function `define-char' and new
4479 symbol `ucs' in UTF-2000.
4480 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4482 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4484 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4485 non-UTF-2000 configuration.
4487 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4489 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4490 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4492 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4494 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4495 (Fset_charset_mapping_table): Likewise.
4497 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4498 (CHARSET_ENCODING_TABLE): Delete.
4499 (XCHARSET_ENCODING_TABLE): Delete.
4500 (charset_code_point): New interface.
4502 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4504 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4505 instead of `charset_get_byte1' and `charset_get_byte2'.
4507 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4508 (charset_get_byte2): Deleted.
4510 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4512 * char-ucs.h (SPLIT_CHAR): New inline function.
4513 (breakup_char_1): Use `SPLIT_CHAR'.
4515 * mule-charset.c (range_charset_code_point): New function.
4516 (charset_code_point): New function.
4518 * char-ucs.h (range_charset_code_point): New interface.
4519 (breakup_char_1): Use `range_charset_code_point'.
4521 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4523 * mule-charset.c (Fmake_charset): Delete unused local variable
4526 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4527 (breakup_char_1): Find a charset and code-point in
4528 `Vcharacter_attribute_table'.
4530 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4532 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4535 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4537 * mule-charset.c (Vcharacter_attribute_table): New variable.
4538 (Fchar_attribute_alist): New function.
4539 (Fget_char_attribute): New function.
4540 (Fput_char_attribute): New function.
4541 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4543 (syms_of_mule_charset): Add new function `char-attribute-alist',
4544 `get-char-attribute' and `put-char-attribute'.
4545 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4547 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4549 * mule-charset.c (Fmake_charset): Just use
4550 `get_unallocated_leading_byte'.
4552 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4553 sets; don't use final-byte based number for private sets.
4555 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4557 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4560 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4562 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4565 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4567 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4568 of `CHAR_LEADING_BYTE' in UTF-2000.
4570 * insdel.c (find_charsets_in_bufbyte_string): Use
4571 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4572 (find_charsets_in_emchar_string): Likewise.
4574 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4575 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4577 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4578 (CHAR_CHARSET_ID): New macro.
4580 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4582 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4583 charset-id - MIN_LEADING_BYTE.
4584 (put_char_table): Likewise.
4586 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4588 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4589 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4590 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4591 (CHARSET_ID_OFFSET): New macro.
4592 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4593 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4594 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4595 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4597 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4599 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4600 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4601 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4602 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4603 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4605 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4607 * mule-charset.c (next_allocated_leading_byte): New variable in
4609 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4610 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4611 (get_unallocated_leading_byte): Simply use
4612 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4613 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4616 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4617 (MAX_LEADING_BYTE_PRIVATE): New macro.
4618 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4619 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4621 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4623 * mule-charset.c (Fmake_charset): Allocate final-byte based
4624 charset-id for 94-set, 96-set and 94x94-set.
4626 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4628 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4630 (Fmake_charset): Likewise.
4631 (complex_vars_of_mule_charset): Modify the font registry of
4632 `ucs-bmp' not to match `Ethiopic-Unicode'.
4634 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4636 * mule-charset.c (complex_vars_of_mule_charset): Add font
4637 registory of `ucs-bmp'.
4639 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4641 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4642 coded-charsets in `default-coded-charset-priority-list' when
4643 breaking up a character.
4645 * mule-charset.c (Vcharset_latin_viscii): New variable.
4646 (Qlatin_viscii): New variable.
4647 (make_charset): Don't use `decoding_table'.
4648 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4650 (Fset_charset_mapping_table): New implementation.
4651 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4652 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4653 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4654 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4655 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4656 charset `latin_viscii'.
4658 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4659 (CHARSET_TYPE_94X94): Change to 1 from 2.
4660 (CHARSET_TYPE_96): Change to 2 from 1.
4661 (CHARSET_TYPE_128): New macro.
4662 (CHARSET_TYPE_128X128): Change to 5 from 4.
4663 (CHARSET_TYPE_256): New macro.
4664 (CHARSET_TYPE_256X256): Change to 7 from 5.
4665 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4667 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4669 * text-coding.c (char_encode_shift_jis): Refer
4670 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4671 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4673 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4674 (char_byte_table_equal): New function in UTF-2000.
4675 (char_byte_table_hash): New function in UTF-2000.
4676 (char_byte_table_description): New constant in UTF-2000.
4677 (char_byte_table): New type in UTF-2000.
4678 (make_char_byte_table): New function in UTF-2000.
4679 (copy_char_byte_table): New function in UTF-2000.
4680 (make_char_code_table): New macro in UTF-2000.
4681 (get_char_code_table): New function in UTF-2000.
4682 (put_char_code_table): New function in UTF-2000.
4683 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4684 (charset_description): Add setting in UTF-2000.
4685 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4686 `CHARSET_TO_BYTE1_TABLE(cs)'.
4687 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4688 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4689 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4690 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4691 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4692 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4693 `CHARSET_TO_BYTE2_TABLE(cs)'.
4695 * char-ucs.h (char_byte_table): New type.
4696 (XCHAR_BYTE_TABLE): New macro.
4697 (XSETCHAR_BYTE_TABLE): New macro.
4698 (CHAR_BYTE_TABLE_P): New macro.
4699 (GC_CHAR_BYTE_TABLE_P): New macro.
4700 (struct Lisp_Char_Byte_Table): New structure.
4701 (get_char_code_table): New interface.
4702 (Emchar_to_byte_table): Deleted.
4703 (get_byte_from_character_table): Deleted.
4704 (struct Lisp_Charset): Add `encoding_table'; delete
4705 `to_byte1_table' and `to_byte2_table'.
4706 (CHARSET_ENCODING_TABLE): New macro.
4707 (CHARSET_TO_BYTE1_TABLE): Deleted.
4708 (CHARSET_TO_BYTE2_TABLE): Deleted.
4709 (XCHARSET_ENCODING_TABLE): New macro.
4710 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4711 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4713 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4715 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4716 `vietnamese-viscii-*'.
4718 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4720 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4721 (Qvietnamese_viscii_upper): New variable.
4722 (Fdefine_charset_alias): New function.
4723 (syms_of_mule_charset): Add new function `define-charset-alias'.
4724 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4725 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4728 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4730 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4731 (MAX_CHAR_OBS_94x94): New macro.
4732 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4735 * mule-charset.c (put_byte_from_character_table): Change unit size
4737 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4739 (Fmake_reverse_direction_charset): Modify dummy argument of
4740 `make_charset' for non-UTF-2000 environment.
4742 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4744 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4746 * mule-charset.c (destroy_byte_from_character_table): New macro.
4747 (latin_jisx0201_to_ucs): Deleted.
4748 (latin_iso8859_2_to_ucs): Deleted.
4749 (latin_iso8859_3_to_ucs): Deleted.
4750 (latin_iso8859_4_to_ucs): Deleted.
4751 (latin_iso8859_9_to_ucs): Deleted.
4752 (latin_viscii_lower_to_ucs): Deleted.
4753 (latin_viscii_upper_to_ucs): Deleted.
4754 (mark_charset): Mark `cs->decoding_table'.
4755 (Fcharset_mapping_table): Fix DOC-string.
4756 (Fset_charset_mapping_table): New function.
4757 (syms_of_mule_charset): Add nwe function
4758 `set-charset-mapping-table'.
4759 (complex_vars_of_mule_charset): Don't setup and use
4762 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4764 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4767 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4769 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4770 (Vcharset_katakana_jisx0208): New variable.
4771 (Qhiragana_jisx0208): New variable.
4772 (Qkatakana_jisx0208): New variable.
4773 (make_charset): Add new argument `byte_offset'.
4774 (charset_get_byte1): Modify for new coded-charset definition; use
4775 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4776 `XCHARSET_BYTE_OFFSET'.
4777 (Fmake_charset): Modify for `make_charset'.
4778 (Fmake_reverse_direction_charset): Likewise.
4779 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4780 `katakana-jisx0208'.
4781 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4782 `.' in font registry of charset `katakana-jisx0201',
4783 `latin-jisx0201', `vietnamese-viscii-lower' and
4784 `vietnamese-viscii-upper'; modify DOC-string of charset
4785 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4786 registry of charset `japanese-jisx0208' not to use font for JIS
4787 X0208:1990; add new charset `hiragana-jisx0208' and
4788 `katakana-jisx0208'.
4790 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4791 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4792 (struct Lisp_Charset): Add `byte_offset'.
4793 (CHARSET_BYTE_OFFSET): New macro.
4794 (XCHARSET_UCS_MIN): New macro.
4795 (XCHARSET_UCS_MAX): New macro.
4796 (XCHARSET_CODE_OFFSET): New macro.
4797 (XCHARSET_BYTE_OFFSET): New macro.
4798 (MIN_CHAR_HIRAGANA): New macro.
4799 (MAX_CHAR_HIRAGANA): New macro.
4800 (MIN_CHAR_KATAKANA): New macro.
4801 (MAX_CHAR_KATAKANA): New macro.
4802 (MAKE_CHAR): Modify for new coded-charset definition; use
4803 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4804 `XCHARSET_BYTE_OFFSET'.
4806 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4808 * mule-charset.c (CHAR96): Deleted.
4809 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4811 (latin_iso8859_2_to_ucs): Likewise.
4812 (latin_iso8859_3_to_ucs): Likewise.
4813 (latin_iso8859_4_to_ucs): Likewise.
4814 (latin_iso8859_9_to_ucs): Likewise.
4815 (latin_viscii_lower_to_ucs): Likewise.
4816 (latin_viscii_upper_to_ucs): Likewise.
4817 (latin_tcvn5712_to_ucs): Commented out.
4818 (make_charset): Change type of argument `decoding_table' from
4819 <Emchar*> to <Lisp_Object> [vector of characters].
4820 (Fmake_charset): Modify for `make_charset'.
4821 (Fmake_reverse_direction_charset): Likewise.
4822 (Fcharset_mapping_table): New function in UTF-2000.
4823 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4825 (complex_vars_of_mule_charset): Modify for type change of
4826 `*_to_ucs'; modify for `make_charset'.
4828 * char-ucs.h (struct Lisp_Charset): Change type of
4829 `decoding_table' from <Emchar*> to <Lisp_Object>.
4830 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4832 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4834 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4835 error with non-UTF-2000-Mule.
4837 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4839 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4841 (Vcharset_chinese_cns11643_4): Likewise.
4842 (Vcharset_chinese_cns11643_5): Likewise.
4843 (Vcharset_chinese_cns11643_6): Likewise.
4844 (Vcharset_chinese_cns11643_7): Likewise.
4845 (Qchinese_cns11643_3): Likewise.
4846 (Qchinese_cns11643_4): Likewise.
4847 (Qchinese_cns11643_5): Likewise.
4848 (Qchinese_cns11643_6): Likewise.
4849 (Qchinese_cns11643_7): Likewise.
4850 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4851 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4852 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4853 (complex_vars_of_mule_charset): Likewise.
4855 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4857 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4859 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4860 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4862 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4864 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4866 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4867 (breakup_char_1): Likewise.
4869 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4870 one of them includes the specified character.
4872 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4874 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4876 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4878 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4880 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4882 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4883 definition for non-UTF-2000 Mule.
4884 (latin_iso8859_3_to_ucs): Likewise.
4885 (latin_iso8859_4_to_ucs): Likewise.
4886 (latin_iso8859_9_to_ucs): Likewise.
4887 (latin_jisx0201_to_ucs): Likewise.
4888 (MIN_CHAR_THAI): Likewise.
4889 (MAX_CHAR_THAI): Likewise.
4890 (MIN_CHAR_GREEK): Likewise.
4891 (MAX_CHAR_GREEK): Likewise.
4892 (MIN_CHAR_HEBREW): Likewise.
4893 (MAX_CHAR_HEBREW): Likewise.
4894 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4895 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4896 (MIN_CHAR_CYRILLIC): Likewise.
4897 (MAX_CHAR_CYRILLIC): Likewise.
4899 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4901 * char-ucs.h (breakup_char_1): Use
4902 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4903 thai-tis620 and katakana-jisx0201 area.
4905 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4907 * char-ucs.h (breakup_char_1): Use
4908 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4911 * text-coding.c (reset_encoding_stream): Fixed.
4912 (char_encode_ucs4): Delete `& 255'.
4914 * char-ucs.h (breakup_char_1): Use
4915 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4917 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4919 * file-coding.c (Fmake_coding_system): Don't set up
4920 `codesys->fixed.size'.
4921 (encode_coding_no_conversion): Don't refer
4922 `str->codesys->fixed.size'.
4924 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4926 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4927 (latin_a_char_to_byte1): Deleted.
4928 (latin_a_char_to_byte2): Deleted.
4930 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4932 * mule-charset.c (make_charset): Add new argument `ucs_min',
4933 `ucs_max' and `code_offset'.
4934 (charset_get_byte1): New implementation [delete specific charset
4935 depended implementations].
4936 (Fmake_charset): Modify for `make_charset'.
4937 (Fmake_reverse_direction_charset): Likewise.
4938 (complex_vars_of_mule_charset): Likewise.
4940 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4942 (CHARSET_UCS_MIN): New macro.
4943 (CHARSET_UCS_MAX): New macro.
4944 (CHARSET_CODE_OFFSET): New macro.
4945 (MAKE_CHAR): Delete charset depended definitions [except
4948 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4950 * char-ucs.h (breakup_char_1): Use
4951 `Vdefault_coded_charset_priority_list' for C0-Controls,
4952 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4954 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4956 * char-ucs.h (charset_get_byte1): New function.
4957 (XCHARSET_GET_BYTE1): Deleted.
4958 (charset_get_byte2): New function.
4959 (XCHARSET_GET_BYTE2): Deleted.
4960 (Vdefault_coded_charset_priority_list): New external variable.
4961 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4962 `Vdefault_preferred_coded_charset_list'.
4964 * mule-charset.c (charset_get_byte1): New function.
4965 (charset_get_byte2): New function.
4966 (Vdefault_coded_charset_priority_list): New variable.
4967 (vars_of_mule_charset): Add new variable
4968 `default-coded-charset-priority-list'.
4970 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4972 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4973 (XCHARSET_GET_BYTE2): New inline function.
4974 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4975 `XCHARSET_GET_BYTE2'.
4977 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4979 * mule-charset.c (make_charset): Initialize
4980 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
4981 NULL if table is not defined.
4983 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4985 * text-coding.c (char_encode_shift_jis): Use
4986 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
4987 `ucs_to_latin_jisx0201'.
4989 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
4990 (ucs_to_latin_iso8859_2): Deleted.
4991 (ucs_to_latin_iso8859_3): Deleted.
4992 (ucs_to_latin_iso8859_4): Deleted.
4993 (ucs_to_latin_iso8859_9): Deleted.
4994 (ucs_to_latin_viscii_lower): Deleted.
4995 (ucs_to_latin_viscii_upper): Deleted.
4996 (ucs_to_latin_tcvn5712): Deleted.
4997 (make_charset): Add new argument `decoding_table'; set up
4998 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
4999 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5000 `decoding_table' is defined in UTF-2000.
5001 (Fmake_charset): Modify for `make_charset'.
5002 (Fmake_reverse_direction_charset): Likewise.
5003 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5004 and `GENERATE_96_SET'.
5006 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5007 (ucs_to_latin_jisx0201): Deleted.
5008 (latin_iso8859_2_to_ucs): Deleted.
5009 (ucs_to_latin_iso8859_2): Deleted.
5010 (latin_iso8859_3_to_ucs): Deleted.
5011 (ucs_to_latin_iso8859_3): Deleted.
5012 (latin_iso8859_4_to_ucs): Deleted.
5013 (ucs_to_latin_iso8859_4): Deleted.
5014 (latin_iso8859_9_to_ucs): Deleted.
5015 (ucs_to_latin_iso8859_9): Deleted.
5016 (latin_viscii_lower_to_ucs): Deleted.
5017 (ucs_to_latin_viscii_lower): Deleted.
5018 (latin_viscii_upper_to_ucs): Deleted.
5019 (ucs_to_latin_viscii_upper): Deleted.
5020 (struct Lisp_Charset): Renamed `encoding_table' to
5021 `to_byte1_table'; add `to_byte2_table'.
5022 (CHARSET_DECODING_TABLE): New macro.
5023 (CHARSET_TO_BYTE1_TABLE): New macro.
5024 (CHARSET_TO_BYTE2_TABLE): New macro.
5025 (XCHARSET_DECODING_TABLE): New macro.
5026 (XCHARSET_TO_BYTE1_TABLE): New macro.
5027 (XCHARSET_TO_BYTE2_TABLE): New macro.
5028 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5030 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5031 don't use `ucs_to_*' tables.
5033 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5035 * text-coding.c (Fmake_coding_system): Don't set up
5036 `codesys->fixed.size'.
5037 (encode_coding_no_conversion): Use `if' instead of `switch'.
5039 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5041 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5043 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5044 (Fmake_charset): Modify for `make_charset'.
5045 (Fmake_reverse_direction_charset): Likewise.
5046 (complex_vars_of_mule_charset): Likewise.
5048 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5050 * text-coding.c (char_encode_shift_jis): Use table
5051 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5053 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5055 * text-coding.c (text_encode_generic): Use `if' instead of
5057 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5060 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5062 * text-coding.c (encode_coding_sjis): Deleted.
5063 (char_encode_shift_jis): New function.
5064 (char_finish_shift_jis): New function.
5065 (reset_encoding_stream): Set up `encode_char' and `finish' for
5066 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5067 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5068 (char_encode_utf8): Treat `eol_type'.
5070 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5072 * file-coding.c (decode_coding_iso2022): Use
5073 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5075 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5077 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5080 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5082 * char-lb.h (CHAR_COLUMNS): New macro.
5084 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5086 * text-coding.c (char_encode_ucs4): New function.
5087 (char_finish_ucs4): New function.
5088 (encode_coding_ucs4): Deleted.
5089 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5090 (text_encode_generic): Delete local variable `charset' and `half'.
5091 (ucs_to_mule_table): Deleted.
5092 (mule_to_ucs_table): Deleted.
5093 (Fset_ucs_char): Deleted.
5094 (ucs_to_char): Deleted.
5095 (Fucs_char): Deleted.
5096 (Fset_char_ucs): Deleted.
5097 (Fchar_ucs): Deleted.
5098 (decode_ucs4): Deleted.
5099 (mule_char_to_ucs4): Deleted.
5100 (encode_ucs4): Deleted.
5101 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5102 (decode_coding_utf8): Likewise.
5103 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5104 (char_encode_iso2022): Fixed.
5105 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5106 `Fset_char_ucs' and `Fchar_ucs'.
5107 (complex_vars_of_file_coding): Don't initialize
5108 `ucs_to_mule_table'.
5110 * objects-tty.c (tty_initialize_font_instance): Don't use
5113 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5116 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5117 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5119 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5120 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5121 (emchar_string_displayed_columns): Likewise.
5123 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5124 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5125 (string_column_at_point): Likewise.
5126 (Fmove_to_column): Likewise.
5128 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5129 `encoding_table' and `decoding_table'.
5130 (CHARSET_REP_BYTES): Deleted.
5131 (XCHARSET_REP_BYTES): Deleted.
5132 (XCHARSET_COLUMNS): Deleted.
5133 (CHAR_COLUMNS): New macro.
5134 (lookup_composite_char): Deleted unconditionally.
5135 (composite_char_string): Likewise.
5137 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5139 * char-ucs.h (Emchar_to_byte_table): New type.
5140 (get_byte_from_character_table): New function interface.
5141 (Vcharset_latin_jisx0201): New variable.
5142 (latin_jisx0201_to_ucs): New variable.
5143 (ucs_to_latin_jisx0201): New variable.
5144 (Vcharset_latin_iso8859_2): New variable.
5145 (latin_iso8859_2_to_ucs): New variable.
5146 (ucs_to_latin_iso8859_2): New variable.
5147 (Vcharset_latin_iso8859_3): New variable.
5148 (latin_iso8859_3_to_ucs): New variable.
5149 (ucs_to_latin_iso8859_3): New variable.
5150 (Vcharset_latin_iso8859_4): New variable.
5151 (latin_iso8859_4_to_ucs): New variable.
5152 (ucs_to_latin_iso8859_4): New variable.
5153 (Vcharset_latin_iso8859_9): New variable.
5154 (latin_iso8859_9_to_ucs): New variable.
5155 (ucs_to_latin_iso8859_9): New variable.
5156 (Vcharset_latin_viscii_lower): New variable.
5157 (latin_viscii_lower_to_ucs): New variable.
5158 (ucs_to_latin_viscii_lower): New variable.
5159 (Vcharset_latin_viscii_upper): New variable.
5160 (latin_viscii_upper_to_ucs): New variable.
5161 (ucs_to_latin_viscii_upper): New variable.
5162 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5163 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5164 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5165 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5166 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5167 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5168 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5169 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5170 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5171 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5173 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5174 (Vcharset_latin_viscii_upper): New variable.
5175 (make_byte_from_character_table): New function.
5176 (put_byte_from_character_table): New function.
5177 (get_byte_from_character_table): New function.
5178 (CHAR96): New macro.
5179 (ucs_to_latin_jisx0201): New variable.
5180 (latin_jisx0201_to_ucs): New variable.
5181 (ucs_to_latin_iso8859_2): New variable.
5182 (latin_iso8859_2_to_ucs): New variable.
5183 (ucs_to_latin_iso8859_3): New variable.
5184 (latin_iso8859_3_to_ucs): New variable.
5185 (ucs_to_latin_iso8859_4): New variable.
5186 (latin_iso8859_4_to_ucs): New variable.
5187 (ucs_to_latin_iso8859_9): New variable.
5188 (latin_iso8859_9_to_ucs): New variable.
5189 (ucs_to_latin_viscii_lower): New variable.
5190 (latin_viscii_lower_to_ucs): New variable.
5191 (ucs_to_latin_viscii_upper): New variable.
5192 (latin_viscii_upper_to_ucs): New variable.
5193 (ucs_to_latin_tcvn5712): New variable.
5194 (latin_tcvn5712_to_ucs): New variable.
5195 (Qlatin_viscii_lower): New variable.
5196 (Qlatin_viscii_upper): New variable.
5197 (syms_of_mule_charset): Set up new symbol
5198 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5199 (complex_vars_of_mule_charset): Set up new charset
5200 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5201 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5202 `ucs_to_<CHARSET>' tables.
5204 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5206 * text-coding.c: New file.
5208 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5210 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5212 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5213 (MAKE_CHAR): Modify for `ucs-bmp'.
5214 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5215 non-MULE characters of BMP.
5217 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5219 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5222 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5225 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5226 - Include character.h for `CHAR_ASCII_P'.
5228 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5230 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5231 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5233 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5234 (BYTE_C0_P): Likewise.
5235 (BYTE_C1_P): Likewise.
5236 (Lstream_get_emchar_1): Likewise.
5237 (Lstream_fput_emchar): Likewise.
5238 (Lstream_funget_emchar): Likewise.
5239 (copy_internal_to_external): Likewise.
5240 (copy_external_to_internal): Likewise.
5242 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5243 (BYTE_C0_P): Likewise.
5244 (BYTE_C1_P): Likewise.
5245 (Lstream_get_emchar_1): Likewise.
5246 (Lstream_fput_emchar): Likewise.
5247 (Lstream_funget_emchar): Likewise.
5248 (copy_internal_to_external): Likewise.
5249 (copy_external_to_internal): Likewise.
5251 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5252 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5254 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5255 (BYTE_ASCII_P): Moved to mb-1byte.h.
5257 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5259 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5261 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5262 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5263 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5264 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5265 (VALIDATE_CHARPTR_FORWARD): Likewise.
5266 (simple_charptr_emchar): Moved to mb-multibyte.h.
5267 (simple_set_charptr_emchar): Likewise.
5268 (simple_charptr_copy_char): Likewise.
5269 (non_ascii_charptr_emchar): Likewise.
5270 (non_ascii_set_charptr_emchar): Likewise.
5271 (non_ascii_charptr_copy_char): Likewise.
5272 (charptr_emchar): Moved to mb-*byte.h.
5273 (set_charptr_emchar): Likewise.
5274 (charptr_copy_char): Likewise.
5276 * mb-1byte.h, mb-multibyte.h: New files.
5278 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5280 * mb-utf-8.h (MULTIBYTE): New macro.
5281 (MAX_EMCHAR_LEN): Moved from buffer.h.
5282 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5284 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5286 * mb-lb.h, multibyte.h: New files.
5288 * char-1byte.h (Charset_ID): Moved from buffer.h.
5289 (MIN_LEADING_BYTE): Likewise.
5290 (LEADING_BYTE_ASCII): Likewise.
5291 (NUM_LEADING_BYTES): Likewise.
5292 (CHARSETP): Likewise.
5293 (CHARSET_BY_LEADING_BYTE): Likewise.
5294 (XCHARSET_LEADING_BYTE): Likewise.
5295 (XCHARSET_GRAPHIC): Likewise.
5296 (XCHARSET_COLUMNS): Likewise.
5297 (XCHARSET_DIMENSION): Likewise.
5298 (CHAR_CHARSET): Likewise.
5299 (CHAR_LEADING_BYTE): Likewise.
5300 (BREAKUP_CHAR): Likewise.
5301 (Vcharset_ascii): Likewise.
5303 * buffer.h: Include multibyte.h unconditionally.
5304 (VALID_CHARPTR_P): Moved to multibyte.h.
5305 (ASSERT_VALID_CHARPTR): Likewise.
5306 (REAL_INC_CHARPTR): Likewise.
5307 (REAL_INC_CHARBYTIND): Likewise.
5308 (REAL_DEC_CHARPTR): Likewise.
5309 (INC_CHARPTR): Likewise.
5310 (INC_CHARBYTIND): Likewise.
5311 (DEC_CHARPTR): Likewise.
5312 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5313 (VALIDATE_CHARPTR_FORWARD): Likewise.
5314 (charptr_n_addr): Likewise.
5315 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5316 (simple_charptr_emchar): Moved to multibyte.h.
5317 (simple_set_charptr_emchar): Likewise.
5318 (simple_charptr_copy_char): Likewise.
5319 (non_ascii_charptr_emchar): Likewise.
5320 (non_ascii_set_charptr_emchar): Likewise.
5321 (non_ascii_charptr_copy_char): Likewise.
5322 (charptr_emchar): Likewise.
5323 (set_charptr_emchar): Likewise.
5324 (charptr_copy_char): Likewise.
5325 (charptr_emchar_n): Likewise.
5326 (Charset_ID): Moved to char-1byte.h.
5327 (Vcharset_ascii): Likewise.
5328 (CHAR_CHARSET): Likewise.
5329 (CHAR_LEADING_BYTE): Likewise.
5330 (LEADING_BYTE_ASCII): Likewise.
5331 (NUM_LEADING_BYTES): Likewise.
5332 (MIN_LEADING_BYTE): Likewise.
5333 (CHARSETP): Likewise.
5334 (CHARSET_BY_LEADING_BYTE): Likewise.
5335 (XCHARSET_LEADING_BYTE): Likewise.
5336 (XCHARSET_GRAPHIC): Likewise.
5337 (XCHARSET_COLUMNS): Likewise.
5338 (XCHARSET_DIMENSION): Likewise.
5339 (BREAKUP_CHAR): Likewise.
5341 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5343 * character.h: Add document about interface for characters.
5345 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5346 (MAKE_CHAR): Delete comment about
5347 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5348 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5349 (BREAKUP_CHAR): Modify name of arguments.
5350 (CHAR_CHARSET): Modify name of argument.
5352 * buffer.h: Delete document about Emchar accessors.
5354 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5356 * character.h (CHAR_INTP): Moved from buffer.h
5357 (CHAR_OR_CHAR_INTP): Likewise.
5358 (XCHAR_OR_CHAR_INT): Likewise.
5359 (CHECK_CHAR_COERCE_INT): Likewise.
5361 * buffer.h (CHAR_INTP): Moved to character.h
5362 (CHAR_OR_CHAR_INTP): Likewise.
5363 (XCHAR_OR_CHAR_INT): Likewise.
5364 (CHECK_CHAR_COERCE_INT): Likewise.
5366 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5369 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5370 - Include char-1byte.h, char-lb.h or char-ucs.h.
5372 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5374 * buffer.h: Include character unconditionally.
5375 (valid_char_p): Moved to char-*.h.
5376 (non_ascii_valid_char_p): Moved to char-lb.h.
5378 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5380 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5382 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5383 in UTF-2000 because it is not ported yet and not to use
5384 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5385 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5386 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5388 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5389 (CHAR_ASCII_P): Moved from character.h.
5391 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5392 (CHAR_ASCII_P): Likewise.
5393 (CHAR_FIELD1_MASK): Deleted.
5394 (CHAR_FIELD2_MASK): Deleted.
5395 (CHAR_FIELD3_MASK): Deleted.
5396 (MAX_CHAR_BASIC_LATIN): New macro.
5397 (CHAR_FIELD1): Deleted.
5398 (CHAR_FIELD2_INTERNAL): Deleted.
5399 (CHAR_FIELD3_INTERNAL): Deleted.
5400 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5401 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5402 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5403 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5404 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5405 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5406 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5407 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5408 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5409 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5410 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5411 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5412 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5413 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5414 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5415 (MIN_CHAR_COMPOSITION): Deleted.
5416 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5417 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5419 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5421 * buffer.h: Include mb-utf-8.h in UTF-2000.
5423 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5425 * mb-utf-8.h: New file.
5427 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5429 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5432 * mule-charset.h, buffer.h (Charset_ID): New type.
5434 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5436 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5437 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5438 instead of `MULE_CHAR_PRIVATE_OFFSET',
5439 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5440 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5441 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5443 * character.h (Vcharset_japanese_jisx0212): New variable
5446 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5448 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5449 (charset_by_attributes): Delete array about direction.
5450 (latin_a_char_to_charset): New variable in UTF-2000.
5451 (latin_a_char_to_byte1): New variable in UTF-2000.
5452 (latin_a_char_to_byte2): New variable in UTF-2000.
5453 (Qucs_bmp): New variable.
5454 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5456 (next_allocated_2_byte_leading_byte): Likewise.
5457 (non_ascii_set_charptr_emchar): Likewise.
5458 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5459 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5460 `charset_by_attributes'.
5461 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5462 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5463 and `CHARSET_BY_LEADING_BYTE'.
5464 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5465 `utf-2000-version' to `vars_of_mule_charset'.
5466 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5467 define `leading-code-private-11' in UTF-2000; move setting of
5468 `utf-2000-version' from `syms_of_mule_charset'.
5469 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5472 * character.h (Charset_ID): New type.
5473 (LEADING_BYTE_UCS_BMP): New macro.
5474 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5475 (CHARSET_ID_OFFSET_94): New macro.
5476 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5477 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5478 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5480 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5481 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5482 (CHARSET_ID_OFFSET_96): New macro.
5483 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5484 CHARSET_ID_OFFSET_96 and final-byte.
5485 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5486 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5487 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5488 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5489 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5490 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5491 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5492 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5493 (LEADING_BYTE_THAI_TIS620): Likewise.
5494 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5495 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5496 (CHARSET_ID_OFFSET_94x94): New macro.
5497 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5498 CHARSET_ID_OFFSET_94x94 and final-byte.
5499 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5500 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5501 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5502 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5503 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5504 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5505 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5506 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5507 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5508 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5509 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5510 (CHARSET_TYPE_128X128): New macro.
5511 (CHARSET_TYPE_256X256): New macro.
5512 (XCHARSET_PRIVATE_P): Delete unconditionally.
5513 (charset_by_attributes): Delete array about direction.
5514 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5515 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5516 (MIN_CHAR_94): New macro.
5517 (MAX_CHAR_94): New macro.
5518 (MIN_CHAR_96): New macro.
5519 (MAX_CHAR_96): New macro.
5520 (MIN_CHAR_94x94): New macro.
5521 (MAX_CHAR_94x94): New macro.
5522 (MIN_CHAR_96x96): New macro.
5523 (MAX_CHAR_96x96): New macro.
5524 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5525 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5526 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5528 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5529 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5530 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5531 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5532 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5533 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5534 `XCHARSET_LEADING_BYTE' to make code-point.
5535 (latin_a_char_to_charset): New variable.
5536 (latin_a_char_to_byte1): New variable.
5537 (latin_a_char_to_byte2): New variable.
5538 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5539 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5540 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5542 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5543 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5544 (find_charsets_in_emchar_string): Likewise.
5545 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5547 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5549 (decode_coding_iso2022): Likewise.
5551 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5554 * redisplay.c (redisplay_text_width_emchar_string): Use
5555 `Charset_ID' instead of `unsigned char'.
5556 (redisplay_frame_text_width_string): Likewise.
5558 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5561 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5562 instead of `unsigned char'.
5563 (face_cachel_charset_font_metric_info): Likewise.
5565 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5566 (get_non_ascii_char_table_value): Likewise.
5567 (get_char_table): Likewise.
5568 (put_char_table): Likewise.
5569 (map_over_other_charset): Likewise.
5570 (map_char_table): Likewise.
5572 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5573 instead of `unsigned char'.
5575 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5577 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5578 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5580 * mule-charset.c (leading_code_private_11): Don't define in
5583 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5584 in UTF-2000 because it is not ported yet and not to use
5585 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5587 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5589 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5591 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5593 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5596 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5597 of unsigned char to store leading-byte.
5599 * chartab.c (get_non_ascii_char_table_value): Don't use
5600 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5602 * file-coding.c (encode_coding_big5): Delete bogus implementation
5605 * character.h (LEADING_BYTE_*): Delete definition for
5607 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5608 (LEADING_BYTE_PREFIX_P): Deleted.
5609 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5610 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5611 (BUFBYTE_LEADING_BYTE_P): Deleted.
5612 (CHARSET_PRIVATE_P): Deleted unconditionally.
5613 (rep_bytes_by_first_byte): Deleted unconditionally.
5614 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5615 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5616 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5617 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5618 (CHAR_FIELD2): Deleted.
5619 (CHAR_FIELD3): Deleted.
5620 (MAKE_CHAR): Delete definition for non-UTF-2000.
5621 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5622 (breakup_char_1): New implementation.
5623 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5624 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5626 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5628 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5631 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5633 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5634 (CHARSET_PRIVATE_P): Likewise.
5635 (XCHARSET_PRIVATE_P): Likewise.
5636 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5638 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5640 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5642 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5644 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5645 (NUM_LEADING_BYTES): Changed from 128 to 256.
5646 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5647 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5649 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5651 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5653 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5654 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5655 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5656 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5657 (Qchinese_cns11643_3): New variable in UTF2000.
5658 (Qchinese_cns11643_4): New variable in UTF2000.
5659 (Qchinese_cns11643_5): New variable in UTF2000.
5660 (Qchinese_cns11643_6): New variable in UTF2000.
5661 (Qchinese_cns11643_7): New variable in UTF2000.
5662 (syms_of_mule_charset): Define `chinese-cns11643-3',
5663 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5664 and `chinese-cns11643-7' in UTF2000.
5665 (vars_of_mule_charset): Initialize
5666 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5668 (complex_vars_of_mule_charset): Setup charset
5669 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5670 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5672 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5674 * mule-charset.c: Move setting for `leading-code-private-11' from
5675 `syms_of_mule_charset' to `vars_of_mule_charset'.
5677 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5679 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5680 and `NUM_LEADING_BYTES' in assert.
5682 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5684 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5686 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5687 `NUM_LEADING_BYTES' instead of 128.
5689 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5691 * mule-charset.h (charset_by_leading_byte): Use
5692 `NUM_LEADING_BYTES' instead of 128.
5693 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5695 * mule-charset.c (charset_by_leading_byte): Use
5696 `NUM_LEADING_BYTES' instead of 128.
5697 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5699 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5702 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5704 * mule-charset.c (syms_of_mule_charset): Update to
5707 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5709 * file-coding.c (encode_coding_sjis): New implementation for
5710 UTF2000. (decode_coding_sjis): Ditto.
5712 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5714 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5715 Don't define in UTF2000.
5717 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5720 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5721 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5724 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5726 * config.h.in (CHAR_IS_UCS4): New macro.
5728 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5729 conventional MULE representation.
5730 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5732 * mule-charset.h: Reverted to original.
5734 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5735 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5736 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5738 * character.h: New file.
5740 * file-coding.c (Fmake_coding_system): Set 1 to
5741 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5743 (encode_coding_no_conversion): New implementation for UTF2000.
5745 * file-coding.h (struct Lisp_Coding_System): Add new member
5748 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5750 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5751 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5752 (encode_coding_iso2022): New implementation for UTF2000.
5754 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5756 * mule-canna.c (c2mu): New implementation for UTF2000.
5759 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5761 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5763 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5765 * file-coding.c (reset_encoding_stream): Set 0 to
5766 `str->iso2022.current_char_boundary' in UTF2000.
5767 (encode_utf8): Don't define in UTF2000.
5768 (encode_coding_utf8): New implementation for UTF-8 representation
5770 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5772 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5774 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5776 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5778 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5780 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5782 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5783 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5784 as UTF-8 in UTF2000.
5785 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5786 (non_ascii_valid_char_p): Don't define in UTF2000.
5787 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5788 (Lstream_get_emchar_1): Likewise.
5789 (utf-2000-version): New variable in UTF2000.
5791 * lread.c (read_escape): Add new reader `u'.
5793 * insdel.c (three_to_one_table): Don't define in UTF2000.
5794 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5795 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5797 (bytind_to_bufpos_func): Likewise.
5798 (buffer_mule_signal_inserted_region): Likewise.
5799 (vars_of_insdel): Don't initialize `three_to_one_table'.
5800 (init_buffer_text): Use `buf->text->mule_size' instead of
5801 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5804 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5805 UTF-8 representation in UTF2000.
5806 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5807 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5808 (decode_coding_iso2022): Don't define local variable `lb' in
5809 UTF2000; don't use LEADING_BYTE in UTF2000; use
5810 `DECODE_ADD_UCS_CHAR' in UTF2000.
5811 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5813 * config.h.in (UTF2000): New macro.
5815 * buffer.h (struct buffer_text): Add new member `mule_size' and
5816 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5817 (valid_char_p): Return always 1 in UTF2000.
5818 (MAX_EMCHAR_LEN): 6 in UTF2000.
5819 (three_to_one_table): Don't define in UTF2000.
5820 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5822 (real_bytind_to_bufpos): Likewise.
5824 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5826 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5828 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5829 representation change.
5830 (Vutf_2000_version): New variable.
5831 (leading_code_private_11): New variable.
5832 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5833 `leading-code-private-11'.
5835 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5836 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5837 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5838 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5839 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5840 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5841 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5842 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5843 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5844 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5845 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5846 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5847 (MIN_CHAR_GREEK): New macro.
5848 (MAX_CHAR_GREEK): New macro.
5849 (MIN_CHAR_CYRILLIC): New macro.
5850 (MAX_CHAR_CYRILLIC): New macro.
5851 (MIN_CHAR_HEBREW): New macro.
5852 (MAX_CHAR_HEBREW): New macro.
5853 (MIN_CHAR_THAI): New macro.
5854 (MAX_CHAR_THAI): New macro.
5855 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5856 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5857 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5858 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5859 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5860 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5861 (CHAR_FIELD2): New inline function.
5862 (CHAR_FIELD3): New inline function.
5863 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5864 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5865 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5866 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5867 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5868 (MIN_CHAR_COMPOSITION): Likewise.
5869 (CHAR_LEADING_BYTE): Modified for character representation change.
5870 (MAKE_CHAR): Likewise.
5872 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5873 (Vcharset_greek_iso8859_7): Likewise.
5874 (Vcharset_cyrillic_iso8859_5): Likewise.
5875 (Vcharset_hebrew_iso8859_8): Likewise.
5876 (Vcharset_thai_tis620): Likewise.
5877 (Vcharset_katakana_jisx0201): Likewise.
5879 2006-01-28 Vin Shelton <acs@xemacs.org>
5881 * XEmacs 21.4.19 is released
5883 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
5885 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
5887 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
5889 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
5892 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
5894 * database.c: Suppress compiler warning under Cygwin.
5895 * database.c: Removed __FreeBSD__ check, should be handled by
5896 HAVE_U_xxx_T defines.
5898 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
5900 * console.c (stuff_buffered_input): Compile body only if
5903 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
5905 * callproc.c: #include sysdir.h, so that any appropriate Mule
5906 magic happens with the chdir() call when calling a subprocess.
5908 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
5910 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
5911 * mule-ccl.c: Check that a character set exists before using it
5912 to create a character.
5914 2005-12-06 Vin Shelton <acs@xemacs.org>
5916 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
5919 2005-12-03 Vin Shelton <acs@xemacs.org>
5921 * XEmacs 21.4.18 is released
5923 2005-11-27 Kean Johnston <kean@armory.com>
5925 * redisplay-tty.c (set_tty_modes):
5926 (reset_tty_modes): disable auto-margins if the terminal supports
5928 (init_tty_for_redisplay): fix cursor shape.
5930 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
5932 * mule-ccl.c (ccl_driver): Calculate the charset and position code
5933 for control-1 characters properly, both when reading multibyte
5934 characters and writing them.
5936 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
5938 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
5939 * select-x.c (x_reply_selection_request): Use it; fix the bug we
5940 were seeing with incremental selection transfer failing.
5942 2005-11-26 Vin Shelton <acs@xemacs.org>
5944 * callproc.c (Fold_call_process_internal): Create the buffer if it
5945 does not already exist. The original patch came from Ben Wing in
5946 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
5948 2002-05-13 Adrian Aichner <adrian@xemacs.org>
5950 * callproc.c: Process-related docstring improvements spurred by
5953 2005-11-25 Vin Shelton <acs@xemacs.org>
5955 * depend: Regenerated.
5957 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
5959 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
5960 says it clashes with a global with the same name.
5962 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
5964 * sysdll.c (dll_open): Under MacOS X return NULL under the
5965 filename is NULL. Fixes problems finding local symbols under 10.4
5968 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
5970 * config.h.in: New HAVE_U_INT*_T defines.
5972 * database.c: Only use u_int*_t typedefs if not already
5975 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
5977 * src/process-unix.c (unix_open_network_stream): moved
5978 'portbuf' buffer out of an inner block as it is used in the
5979 entire function. With gcc4, the stack may get corrupted
5980 after leaving this block. This patches adjusts the size of
5981 the used buffer also; static '128' bytes are far too much
5982 currently and might not suffice for future architectures
5983 (e.g. for 512 bit ones ;)). Instead of, use only the really
5984 required space (max octets * ln(256)/ln(10) chars + space
5985 for '\0' and the sign)
5987 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
5989 * callproc.c: Include sysdir.h, so any necessary Mule processing
5990 is done on the current directory name before starting a new
5993 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
5995 * chartab.c (Fchar_table_p):
5996 (Fget_range_char_table):
5999 Describe range representation and fix typo.
6001 2005-02-12 Vin Shelton <acs@xemacs.org>
6003 * emacs.c (shut_down_emacs): Advise users to send email to the
6004 xemacs-beta list instead of crashes@xemacs.org.
6006 2005-02-03 David Evers <extsw@appliedgenerics.com>
6008 * process-unix.c (unix_send_process): Flush the last chunk, even
6009 when the pipe is blocked.
6011 2005-02-06 Vin Shelton <acs@xemacs.org>
6013 * XEmacs 21.4.17 is released
6015 2005-01-31 Ben Wing <ben@xemacs.org>
6018 Define assert_failed() always.
6020 Always define ABORT().
6022 2005-01-25 Ben Wing <ben@xemacs.org>
6025 * Makefile.in.in (%.o):
6026 Don't compile executable as Windows (-mwindows) under Cygwin.
6027 Semi-recent changes to Cygwin's executable-startup handling make
6028 it impossible to access the TTY this way.
6030 Don't use special linker file under Cygwin (cygwin.sc) except
6031 when non-PDUMP (even in this case it is highly questionable); you
6034 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6035 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6037 2005-01-29 Ben Wing <ben@xemacs.org>
6039 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6041 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6043 2005-01-29 Ben Wing <ben@xemacs.org>
6045 * bytecode.c (optimize_compiled_function):
6047 * print.c (long_to_string):
6048 Add casts to avoid warning.
6051 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6052 #### The better solution is to move the TIFF and JPEG code to
6055 * glyphs-msw.c (mswindows_xbm_instantiate):
6056 Define __STDC__ to avoid problems with compface.h.
6058 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6060 * EmacsShell-sub.c (ABORT):
6061 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6062 * EmacsShell-sub.c (RootGeometryManager):
6064 * EmacsShell.c (ABORT):
6065 * EmacsShell.c (EmacsShellUpdateSizeHints):
6066 * alloc.c (free_lcrecord):
6067 * alloca.c (i00afunc):
6068 * buffer.c (delete_from_buffer_alist):
6069 * buffer.c (MARKED_SLOT):
6070 * bytecode.c (execute_rare_opcode):
6071 * bytecode.c (optimize_byte_code):
6072 * bytecode.c (Ffetch_bytecode):
6073 * chartab.c (char_table_type_to_symbol):
6074 * chartab.c (Freset_char_table):
6075 * chartab.c (decode_char_table_range):
6076 * chartab.c (Fget_range_char_table):
6077 * chartab.c (check_valid_char_table_value):
6078 * chartab.c (map_char_table):
6079 * chartab.c (slow_map_char_table_fun):
6080 * chartab.c (chartab_instantiate):
6081 * cm.c (cmcheckmagic):
6082 * console-msw.c (DHEADER):
6083 * console.c (MARKED_SLOT):
6084 * data.c (finish_marking_weak_lists):
6085 * data.c (encode_weak_list_type):
6086 * debug.h (DASSERT):
6087 * device-gtk.c (gtk_init_device):
6088 * device-msw.c (mswindows_get_default_margin):
6089 * device-tty.c (tty_init_device):
6090 * device-x.c (get_device_from_display):
6091 * device-x.c (x_get_visual_depth):
6092 * doprnt.c (parse_doprnt_spec):
6093 * doprnt.c (get_doprnt_args):
6094 * dumper.c (pdump_get_indirect_count):
6095 * dumper.c (pdump_register_sub):
6096 * dumper.c (pdump_register_object):
6097 * dumper.c (pdump_register_struct):
6098 * dumper.c (pdump_dump_data):
6099 * dumper.c (pdump_reloc_one):
6100 * elhash.c (print_hash_table):
6101 * elhash.c (make_standard_lisp_hash_table):
6102 * elhash.c (hash_table_instantiate):
6104 * emacs.c (Fforce_debugging_signal):
6105 * emacs.c (sort_args):
6107 * emacs.c (assert_failed):
6108 * eval.c (throw_or_bomb_out):
6109 * eval.c (signal_1):
6112 * event-Xt.c (emacs_Xt_mapping_action):
6113 * event-Xt.c (Xt_process_to_emacs_event):
6115 * event-stream.c (check_event_stream_ok):
6116 * event-stream.c (Fadd_timeout):
6117 * event-stream.c (Fadd_async_timeout):
6118 * event-stream.c (Fdiscard_input):
6119 * event-stream.c (execute_internal_event):
6120 * event-stream.c (Frecent_keys):
6121 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6122 * event-stream.c (lookup_command_event):
6123 * event-unixoid.c (poll_fds_for_input):
6125 * events.c (mark_event):
6126 * events.c (event_equal):
6127 * events.c (event_hash):
6128 * events.c (Fmake_event):
6129 * events.c (Fdeallocate_event):
6130 * events.c (event_chain_find_previous):
6131 * events.c (event_to_character):
6132 * events.c (format_event_object):
6133 * events.c (Fevent_type):
6134 * events.c (event_pixel_translation):
6135 * events.c (Fevent_properties):
6136 * extents.c (extent_in_region_p):
6137 * extents.c (print_extent):
6138 * extents.c (process_extents_for_insertion_mapper):
6139 * extents.c (report_extent_modification_mapper):
6140 * extents.c (glyph_layout_to_symbol):
6141 * faces.c (face_validate):
6142 * file-coding.c (eol_type_to_symbol):
6143 * file-coding.c (subsidiary_coding_system):
6144 * file-coding.c (Fcoding_system_type):
6145 * file-coding.c (Fcoding_system_property):
6146 * file-coding.c (mule_decode):
6147 * file-coding.c (mule_encode):
6148 * file-coding.c (encode_coding_ucs4):
6149 * file-coding.c (encode_coding_utf8):
6150 * file-coding.c (parse_iso2022_esc):
6151 * file-coding.c (encode_coding_iso2022):
6156 * fns.c (Fbase64_encode_region):
6157 * fns.c (Fbase64_encode_string):
6158 * fns.c (Fbase64_decode_region):
6159 * fns.c (Fbase64_decode_string):
6160 * font-lock.c (find_context):
6161 * font-lock.c (context_to_symbol):
6162 * frame-gtk.c (gtk_set_frame_pointer):
6163 * frame-gtk.c (gtk_update_frame_external_traits):
6164 * frame-x.c (x_wm_mark_shell_size_user_specified):
6165 * frame-x.c (x_wm_mark_shell_position_user_specified):
6166 * frame-x.c (x_wm_set_shell_iconic_p):
6167 * frame-x.c (x_wm_set_cell_size):
6168 * frame-x.c (x_wm_set_variable_size):
6169 * frame-x.c (x_wm_store_class_hints):
6170 * frame-x.c (x_wm_maybe_store_wm_command):
6171 * frame-x.c (x_initialize_frame_size):
6172 * frame-x.c (x_update_frame_external_traits):
6174 * frame.c (delete_frame_internal):
6175 * frame.c (mouse_pixel_position_1):
6176 * frame.c (change_frame_size_1):
6177 * free-hook.c (check_free):
6178 * free-hook.c (check_realloc):
6179 * free-hook.c (note_block_input):
6180 * free-hook.c (log_gcpro):
6181 * gccache-gtk.c (gc_cache_lookup):
6182 * glyphs-eimage.c (tiff_memory_write):
6183 * glyphs-gtk.c (gtk_finalize_image_instance):
6184 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6185 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6186 * glyphs-gtk.c (gtk_xpm_instantiate):
6187 * glyphs-gtk.c (gtk_unmap_subwindow):
6188 * glyphs-gtk.c (gtk_map_subwindow):
6189 * glyphs-gtk.c (gtk_button_redisplay):
6191 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6192 * glyphs-x.c (init_image_instance_from_xbm_inline):
6193 * glyphs-x.c (extract_xpm_color_names):
6194 * glyphs-x.c (x_xpm_instantiate):
6195 * glyphs.c (get_image_instantiator_governing_domain):
6196 * glyphs.c (print_image_instance):
6197 * glyphs.c (image_instance_equal):
6198 * glyphs.c (image_instance_hash):
6199 * glyphs.c (encode_image_instance_type):
6200 * glyphs.c (make_image_instance_1):
6201 * glyphs.c (inherit_instantiate):
6202 * glyphs.c (image_instantiate):
6203 * glyphs.c (allocate_glyph):
6204 * glyphs.c (Fglyph_type):
6205 * glyphs.c (redisplay_subwindow):
6206 * glyphs.c (display_table_entry):
6207 * gtk-glue.c (xemacs_list_to_gtklist):
6208 * gtk-glue.c (xemacs_gtklist_to_list):
6209 * gtk-glue.c (xemacs_list_to_array):
6210 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6211 * gutter.c (gutter_was_visible):
6212 * gutter.c (get_gutter_coords):
6213 * input-method-xlib.c (get_XIM_input):
6214 * insdel.c (bufpos_to_bytind_func):
6215 * insdel.c (bytind_to_bufpos_func):
6216 * insdel.c (move_gap):
6217 * intl.c (x_get_composed_input):
6218 * keymap.c (keymap_lookup_directly):
6219 * keymap.c (keymap_delete_inverse_internal):
6220 * keymap.c (ensure_meta_prefix_char_keymapp):
6221 * keymap.c (accessible_keymaps_mapper_1):
6222 * keymap.c (where_is_recursive_mapper):
6225 * lread.c (read_atom):
6226 * lstream.c (Lstream_delete):
6227 * lstream.c (make_lisp_buffer_stream_1):
6228 * macros.c (pop_kbd_macro_event):
6229 * malloc.c (malloc):
6231 * marker.c (bi_marker_position):
6232 * marker.c (set_bi_marker_position):
6233 * menubar-gtk.c (menu_descriptor_to_widget_1):
6234 * menubar-msw.c (prune_menubar):
6235 * menubar-x.c (set_frame_menubar):
6236 * mule-charset.c (get_unallocated_leading_byte):
6237 * mule-charset.h (CHAR_LEADING_BYTE):
6238 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6239 * nt.c (init_environment):
6240 * nt.c (generate_inode_val):
6241 * ntproc.c (delete_child):
6242 * ntproc.c (_sys_read_ahead):
6243 * ntproc.c (create_child):
6244 * objects.c (color_instantiate):
6245 * objects.c (font_instantiate):
6246 * objects.c (face_boolean_instantiate):
6247 * print.c (printing_major_badness):
6248 * process-nt.c (nt_send_process):
6249 * process-unix.c (unix_send_process):
6250 * process.c (get_process):
6251 * ralloc.c (obtain):
6252 * ralloc.c (relinquish):
6253 * ralloc.c (relocate_blocs):
6254 * ralloc.c (resize_bloc):
6255 * ralloc.c (r_alloc_free):
6256 * ralloc.c (r_re_alloc):
6257 * ralloc.c (r_alloc_thaw):
6258 * ralloc.c (init_ralloc):
6259 * ralloc.c (Free_Addr_Block):
6260 * ralloc.c (r_alloc):
6261 * redisplay-gtk.c (gtk_output_display_block):
6262 * redisplay-msw.c (mswindows_output_display_block):
6263 * redisplay-output.c (get_next_display_block):
6264 * redisplay-output.c (get_cursor_size_and_location):
6265 * redisplay-output.c (redisplay_output_layout):
6266 * redisplay-output.c (redisplay_clear_region):
6267 * redisplay-tty.c (tty_output_display_block):
6268 * redisplay-x.c (x_output_display_block):
6269 * redisplay.c (add_propagation_runes):
6270 * redisplay.c (add_glyph_rune):
6271 * redisplay.c (create_text_block):
6272 * redisplay.c (add_margin_runes):
6273 * redisplay.c (create_left_glyph_block):
6274 * redisplay.c (create_right_glyph_block):
6275 * redisplay.c (create_string_text_block):
6276 * redisplay.c (regenerate_window):
6277 * redisplay.c (REGEN_INC_FIND_START_END):
6278 * redisplay.c (redisplay_frame):
6279 * redisplay.c (point_in_line_start_cache):
6282 * regex.c (re_compile_fastmap):
6283 * regex.c (re_match_2_internal):
6284 * regex.c (regerror):
6285 * scrollbar-gtk.c (gtk_scrollbar_loop):
6286 * scrollbar-gtk.c (scrollbar_cb):
6287 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6288 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6289 * scrollbar-x.c (x_update_scrollbar_instance_status):
6290 * scrollbar-x.c (x_scrollbar_loop):
6291 * scrollbar-x.c (x_update_frame_scrollbars):
6292 * search.c (search_command):
6293 * search.c (Fmatch_data):
6294 * select-x.c (motif_clipboard_cb):
6295 * signal.c (interrupt_signal):
6296 * specifier.c (specifier_add_spec):
6297 * specifier.c (specifier_instance_from_inst_list):
6298 * specifier.c (specifier_instance):
6300 * specifier.h (struct specifier_methods):
6301 * strftime.c (add_num_time_t):
6302 * sunplay.c (init_device):
6303 * symbols.c (Fsetplist):
6304 * symbols.c (do_symval_forwarding):
6305 * symbols.c (store_symval_forwarding):
6307 * symbols.c (Fbuilt_in_variable_type):
6308 * symbols.c (decode_magic_handler_type):
6309 * symbols.c (handler_type_from_function_symbol):
6310 * syntax.c (update_syntax_cache):
6311 * sysdep.c (init_baud_rate):
6312 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6313 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6314 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6315 * toolbar.c (get_toolbar_coords):
6316 * ui-gtk.c (build_gtk_boxed):
6317 * ui-gtk.c (describe_gtk_arg):
6318 * ui-gtk.c (gtk_type_to_lisp):
6319 * ui-gtk.c (lisp_to_gtk_type):
6320 * ui-gtk.c (lisp_to_gtk_ret_type):
6321 * ui-gtk.c (lisp_to_flag):
6322 * unexnt.c (read_in_bss):
6323 * unexnt.c (map_in_heap):
6324 * window.c (real_window):
6325 * window.c (window_display_lines):
6326 * window.c (window_display_buffer):
6327 * window.c (set_window_display_buffer):
6328 * window.c (window_modeline_height):
6329 * window.c (unshow_buffer):
6330 * window.c (window_loop):
6331 * window.c (Fget_lru_window):
6332 * window.c (Fsplit_window):
6333 * window.c (Fset_window_configuration):
6334 * window.c (saved_window_index):
6335 * xgccache.c (gc_cache_lookup):
6336 abort() -> ABORT(). Eliminate preprocessor games with abort()
6337 since it creates huge problems in VC7, solvable only by including
6338 massive amounts of files in every compile (and not worth it).
6342 Inclusion of process.h does not need to be before lisp.h any more.
6343 Move later and remove comment about abort().
6345 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6347 * regex.c (re_match_2_internal):
6348 Correctly initialize loop which clears uninitialized registers.
6350 2005-01-28 Vin Shelton <acs@xemacs.org>
6352 * sheap.c (more_static_core): Applied Ben's version of the long
6355 2005-01-24 Vin Shelton <acs@xemacs.org>
6357 * sheap.c (more_static_core): Reformatted printf string so
6358 gcc-3.3.3 will compile this on Cygwin.
6360 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6362 * console.c (function_key_map): Reference `key-binding'.
6364 * keymap.c (Vkey_translation_map): Improve docstring.
6366 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6368 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6369 * window.c (window_loop): [fix] Take into account
6370 `allow-deletion-of-last-visible-frame' variable.
6371 * window.c (replace-buffer-in-windows): Ditto.
6373 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6375 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6377 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6379 * event-gtk.c: Recognise AltGr as a valid modifier.
6381 2005-01-12 Ville Skyttä <scop@xemacs.org>
6383 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6385 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6387 Fix backreference bug caught by test suite.
6389 * regex.c (regex_compile):
6390 Make backref duplicate internal register.
6392 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6394 Documentation, code clarification, and warning suppression.
6396 * regex.c (regex_compile):
6398 (re_match_2_internal):
6399 Improve comments and avoid redundant braces. [Most of the big hunk
6400 at l. 4710 is indentation; use diff -w to see the real changes.]
6401 (alt_match_null_string_p):
6402 (common_op_match_null_string_p):
6403 Avoid shadowing global on Mac OS X 10.4, at least.
6405 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6407 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6408 introduced with shy groups fix). [Already applied, probably
6409 with the second "fix shy groups" patch of 2004-10-07.]
6411 2005-01-10 Steve Youngs <steve@sxemacs.org>
6413 From Andrey Slusar <anrays@gmail.com>:
6415 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6417 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6419 * Makefile (RECURSIVE_MAKE): Removed.
6420 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6421 handling parallel builds.
6423 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6425 * Makefile.in.in: Enable support for parallel builds.
6427 2005-01-09 Steve Youngs <steve@sxemacs.org>
6429 From Andrey Slusar <anrays@gmail.com>:
6431 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6432 FreeBSD version is >= 199701 _and_ < 600006.
6434 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6436 * scrollbar.c (compute_scrollbar_instance_usage):
6437 Only call device method compute_scrollbar_instance_usage() if it
6440 2004-12-05 Vin Shelton <acs@xemacs.org>
6442 * XEmacs 21.4.16 is released
6444 2004-12-04 Vin Shelton <acs@xemacs.org>
6446 * depend: Regenerated.
6448 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6450 * regex.c (re_match_2_internal): Map internal to external
6451 registers. Fixes bug identified by Steve Youngs 2004-09-30
6452 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6454 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6456 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6457 to fix a crash. Also, check the buffer is live and it
6458 really exists in buffer_list. If the buffer is not in the list,
6461 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6463 Fix shy groups by implementing recording of all groups for
6464 repetition and backtracking. Backport from 21.5.
6466 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6467 external_to_internal_register, external_to_internal_register_size,
6468 and update comments for re_nsub.
6470 * regex.c (re_opcode_t): Update comments.
6471 (print_compiled_pattern): Ouput external_to_internal_register,
6472 external_to_internal_register_size, and re_ngroups for debugging.
6473 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6474 (regex_compile): Update header comment.
6475 Ensure that all groups are recorded so that repeat matches and
6476 backtracking work correctly. Comment related warning for groups >
6478 (re_search_2): Construct map of API indexes (which count only
6479 nonshy groups) to internal register numbers, and keep it updated.
6481 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6483 * frame-gtk.c (gtk_make_frame_visible):
6484 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6485 show/hide. This is what X uses and is prevents previously hidden
6486 widgets from suddenly reappearing.
6487 * gtk-xemacs.c (gtk_xemacs_paint):
6488 * gtk-xemacs.c (gtk_xemacs_draw):
6489 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6491 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6492 size and location changes so that they can be seen before the next
6493 idle event. Without this rapid changes to scrollbar properties
6496 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6499 * console-gtk.h (struct gtk_frame):
6500 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6501 Add hash tables track tab_control callback data.
6502 Added #defines for GTK object data names.
6503 Declaration of gtk_widget_to_frame().
6504 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6505 * frame-gtk.c (gtk_widget_to_frame): New.
6506 * frame-gtk.c (gtk_create_widgets):
6507 * frame-gtk.c (allocate_gtk_frame_struct):
6508 * frame-gtk.c (gtk_mark_frame):
6509 Manage frame callbakc hash tables.
6510 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6511 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6512 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6514 * glyphs-gtk.c (gtk_widget_query_geometry): New
6515 * glyphs-gtk.c (gtk_register_gui_item): New
6516 * glyphs-gtk.c (gtk_add_tab_item): New
6517 * glyphs-gtk.c (gtk_tab_control_callback): New
6518 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6519 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6520 Use correct list when loading item.
6521 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6522 Register new methods.
6523 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6524 default size, for widgets.
6525 * gui-x.c: Improved comment.
6526 * menubar-gtk.c (__generic_button_callback): Use
6527 gtk_widget_to_frame instead of __get_channel.
6529 * ui-gtk.c: Use symbolic names for GTK object data.
6531 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6533 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6535 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6537 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6539 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6541 * malloc.c (morecore): siz is a long because in some architectures
6542 (eg ia-64) an int cannot hold the address range. Additional patch
6543 from the SuSe distribution.
6545 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6548 * malloc.c: lim_data is a long because in some architectures
6549 (eg ia-64) an int cannot hold the address range.
6550 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6551 instead of ulimit() because ulimit() always returns -1.
6553 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6555 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6557 2004-06-11 David Kastrup <dak@gnu.org>
6559 * search.c (match_limit): Don't flag an error if match-data
6560 exceeding the allocated search_regs.num_regs gets requested, just
6563 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6565 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6566 replace symbolic color entries with the real colors specified in
6567 xpm-color-symbols, before passing the XPM to gtk.
6568 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6569 instead of a GTK specific field, so that it is used in by generic
6572 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6574 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6575 coredump from deref of NULL ptr (ExtData)
6577 2004-04-19 Jerry James <james@xemacs.org>
6579 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6580 VALBITS to compute the location of the sign bit.
6581 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6582 of VALBITS with EMACS_INT_MAX.
6583 * events.c (Fevent_timestamp): Ditto.
6584 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6585 compute the halfway point to timestamp wraparound.
6586 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6587 EMACS_INT_MIN instead of using VALBITS.
6588 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6589 incorrect number with VALBITS.
6590 * fns.c (Frandom): Correct number of integer bits in docstring.
6591 Use INT_VALBITS instead of VALBITS to compute the denominator.
6592 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6593 build random numbers.
6595 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6597 * event-gtk.c (gtk_event_to_emacs_event):
6599 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6600 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6601 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6602 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6603 * menubar-gtk.c (__activate_menu):
6604 * menubar-gtk.c (convert_underscores):
6605 * menubar-gtk.c (remove_underscores):
6606 * menubar-gtk.c (menu_convert):
6607 * menubar-gtk.c (menu_descriptor_to_widget_1):
6608 * menubar-gtk.c (menu_descriptor_to_widget):
6609 * menubar-gtk.c (menu_can_reuse_widget):
6610 * menubar-gtk.c (menu_create_menubar):
6611 * menubar-gtk.c (gtk_popup_menu):
6612 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6613 Added support for Gtk menu bar and menu item mnemonics.
6615 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6617 * sysdll.c: (dll_function): Added support for finding symbols in
6618 Darwin shared libraries as well in Darwin bundles.
6619 * sysdll.c (image_for_address): New
6620 * sysdll.c (my_find_image): New
6621 * sysdll.c (search_linked_libs): New
6623 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6625 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6626 return to GTK requires a different API to marshalling data to use
6628 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6630 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6632 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6634 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6636 * glyphs.c (process_image_string_instantiator):
6637 (Fset_console_type_image_conversion_list):
6638 Stop GCC from warning about shadowing of `exp'.
6640 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6642 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6644 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6646 2004-02-03 Vin Shelton <acs@xemacs.org>
6648 * glyphs.c (image_instance_layout): Remove pointless assertion.
6649 * regex.c (regex_grow_registers): Return type is void.
6651 2004-02-02 Vin Shelton <acs@xemacs.org>
6653 * XEmacs 21.4.15 is released
6655 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6657 * device-x.c (x_error_handler): Don't call stderr_out
6659 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6661 * buffer.c (other-buffer): Clarify documentation of order of
6662 arguments for FSF Emacs.
6664 2003-10-11 Olivier Galibert <galibert@pobox.com>
6666 * window.c (Fdelete_window): Dirty the mirror structure _before_
6667 marking the window deleted.
6669 2003-09-15 Jerry James <james@xemacs.org>
6671 * event-msw.c (debug_mswin_messages): Conditionally compile
6672 messages missing from the Cygwin headers.
6674 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6676 * data.c (eq_with_ebola_notice): Fix typo in comment.
6677 (Ftrue_list_p): Improve docstring.
6679 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6681 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6683 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6685 * search.c (trivial_regexp_p): Regexps containing "\{" are
6686 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6687 Stefan Monnier for suggesting a diagnosis.
6689 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6691 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6693 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6695 * search.c (Fsearch_forward):
6697 Document negative count.
6699 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6701 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6703 2003-09-13 Martin Buchholz <martin@xemacs.org>
6705 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6707 2003-09-15 Vin Shelton <acs@xemacs.org>
6709 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6712 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6714 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6715 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6716 (re_match_2_internal): Use TRANSLATE instead of
6717 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6718 non-ASCII char case conversion.
6720 2003-09-08 Mike Sperber <mike@xemacs.org>
6722 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6723 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6725 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6727 * .gdbinit (pobj): fix printing of symbol name.
6729 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6731 * frame-x.c (x_layout_widgets): When resizing is about to cause
6732 frame size slip, mark it for redisplay.
6734 2003-08-18 Jerry James <james@xemacs.org>
6736 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6738 2003-09-03 Vin Shelton <acs@xemacs.org>
6740 * XEmacs 21.4.14 is released
6742 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6744 * config.h.in (REGEX_MALLOC): Make it configure'able.
6746 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6748 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6750 * sysdll.c (dll_init):
6751 * sysdll.c (dll_open):
6752 * sysdll.c (dll_close):
6753 * sysdll.c (dll_function):
6754 * sysdll.c (dll_variable):
6755 * sysdll.c (dll_error):
6756 Add support for loading bundles using Darwin/MacOSX
6759 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6761 * process.c (start-process-internal): Document coding systems.
6763 2003-07-30 Jerry James <james@xemacs.org>
6765 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6767 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6769 * event-msw.c (mswindows_enqueue_mouse_button_event):
6770 * event-msw.c (mswindows_wnd_proc):
6771 enqueue button event when scrollwheel event isn't handled by
6772 mswindows_handle_mousewheel_event, such as when the scrollbars
6775 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6777 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6779 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6781 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6783 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6785 * regex.c (re_match_2_internal): Fix matching degenerate word
6788 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6790 * XEmacs 21.4.13 is released
6792 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6794 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6795 * lisp.h (<inttypes.h>):
6796 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6799 2003-03-15 Martin Buchholz <martin@xemacs.org>
6801 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6802 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6803 Result: "temacs can only be run in -batch mode."
6804 Fix: Check xemacs executable candidate for directory-ness.
6806 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6808 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6809 they conflict with <sys/types.h>.
6811 2003-02-14 Martin Buchholz <martin@xemacs.org>
6813 * database.c: Berkeley DB wants __STDC__ to be defined.
6815 2003-02-13 Martin Buchholz <martin@xemacs.org>
6817 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6819 2003-02-01 Martin Buchholz <martin@xemacs.org>
6821 * process-unix.c (unix_send_process): Fix C++ compile error.
6823 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6825 * Added .dylib as an acceptable shared library file extension
6826 * to support MacOSX.
6828 2003-02-01 Martin Buchholz <martin@xemacs.org>
6830 * EmacsFrameP.h (EmacsFramePart):
6831 Kludge to allow compiling with Motif1, but linking with Motif2.
6833 2003-01-28 Martin Buchholz <martin@xemacs.org>
6835 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6838 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6840 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6842 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6844 * sysdll.c: Included lisp.h to define needed alloca_array.
6846 2003-02-13 Martin Buchholz <martin@xemacs.org>
6848 Make XEmacs redisplay 10 times faster.
6849 If, that is, you're using a slow X connection and MoveOpaque.
6850 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6851 Use compress_motion = TRUE.
6852 * EmacsFrame.c (emacsFrameClassRec):
6853 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6854 * EmacsManager.c (emacsManagerClassRec):
6855 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6857 2003-01-30 Vin Shelton <acs@xemacs.org>
6859 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6861 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6863 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6864 Patch by Martin Buchholz.
6866 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6868 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6869 Thanks to icc for warning and Martin Buchholz for reporting.
6871 2003-01-29 Vin Shelton <acs@xemacs.org>
6873 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6875 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6876 remember to multiply by the element size.
6878 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6880 * XEmacs 21.4.12 "Portable Code" is released.
6882 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6884 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6885 * s/cygwin.sc: new linker file.
6887 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6889 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6891 * redisplay-x.c (x_output_string): Use X11-specified types.
6892 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6893 * emacs.c (__free_hook): Use typeof with Intel compiler.
6894 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6896 2003-01-08 Andy Piper <andy@xemacs.org>
6898 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6899 reserve size during unexec().
6901 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6903 * process-unix.c (unix_create_process): Don't let outchannel block.
6905 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6907 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6908 Needed for IsBadReadPtr().
6910 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6912 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6914 2002-12-14 Ben Wing <ben@xemacs.org>
6916 * callint.c: Declaration error.
6918 * dumper.c (pdump_load): Warning fix.
6919 * process.c: GCPRO error.
6920 * glyphs.c (unmap_subwindow):
6921 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6922 * event-stream.c (maybe_kbd_translate): Wrong argument to
6923 character_to_event().
6925 * alloc.c (garbage_collect_1):
6927 * emacs.c (debug_can_access_memory):
6928 * emacs.c (fatal_error_signal):
6929 * emacs.c (mswindows_handle_hardware_exceptions):
6932 * emacs.c (assert_failed):
6933 * emacs.c (syms_of_emacs):
6936 * print.c (std_handle_out_va):
6937 * print.c (write_string_to_stdio_stream):
6938 * print.c (write_fmt_string):
6939 * print.c (printing_badness):
6940 * print.c (printing_major_badness):
6941 * print.c (print_internal):
6942 * print.c (debug_print_no_newline):
6943 * print.c (debug_backtrace):
6944 Be more defensive in handling bad values when printing. Add code
6945 from trunk involving inhibit_non_essential_printing_operations.
6946 When going down or in debug_print(), don't do external conversion
6947 and such and try really, really hard when printing to avoid core
6948 dumping. Add force-debugging-signal, debug_break().
6950 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6952 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6953 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6955 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6957 * database.c: Fix open_database. Berkeley DB API has changed in
6958 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6960 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6962 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6964 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6966 * event-Xt.c (Xt_timeout):
6967 (Xt_timeout_callback):
6968 (emacs_Xt_add_timeout):
6969 (emacs_Xt_remove_timeout):
6970 (Xt_timeout_to_emacs_event):
6971 Turn completed_timeouts from a stack into a queue. Fixes
6972 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6974 2002-11-07 Wolfram Gloger <wg@malloc.de>
6976 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6977 * emacs.c (main): Assert that mmap'd allocation is disabled.
6979 2002-10-14 Andy Piper <andy@xemacs.org>
6981 * glyphs-widget.c (layout_query_geometry): add in fiddle
6982 factor. Include border text in width layout calculation.
6983 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
6985 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
6987 * XEmacs 21.4.10 "Military Intelligence" is released.
6989 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
6991 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
6992 using the NAS private array SoundFileInfo that no longer exists in
6993 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
6994 and earlier. This is broken for some versions between 1.5a and
6997 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
6999 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7001 * emacs.c (shut_down_emacs): Improve crash message.
7003 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7005 * file-coding.c (determine_real_coding_system): Check for coding
7006 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7007 shebangs and Python PEP 263.
7009 2002-10-08 Andy Piper <andy@xemacs.org>
7011 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7012 if static sizes haven't been set.
7014 2002-08-30 Mike Alexander <mta@arbortext.com>
7016 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7019 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7021 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7023 2002-09-20 Mike Sperber <mike@xemacs.org>
7025 (This partially gets back my patch from 2002-07-20 without the
7027 * callproc.c (child_setup): Remove Ben's comment noting confusion
7028 over the file descriptors >= 3: close_process_descs() doesn't
7029 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7030 * process-unix.c (unix_create_process): Call
7031 begin_dont_check_for_quit to inhibit unwanted interaction (and
7032 thus breaking of X event synchronicity) in the child.
7034 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7036 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7039 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7041 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7042 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7043 the xemacs process did not exit, but looped infinitely here. This
7046 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7048 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7049 (find_context): Improve comments.
7051 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7052 (re_match_2): An XCHAR_TABLE operation was missing.
7054 Many of the following changes were inspired by Andy Piper's (now
7055 obsolete) patch to make syntax-table text property lookup optional.
7059 * syntax.h (top level): Document semantics of syntax flags.
7060 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7061 * syntax.c, syntax.h (top level): Document syntax cache better in
7064 [Instrument syntax caching (temporary change)]
7066 * syntax.h (enum syntax_cache_statistics_functions, struct
7067 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7068 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7069 * syntax.c (scan_words, Fforward_comment, scan_lists,
7070 Fbackward_prefix_characters):
7071 * font-lock.c (find_context):
7072 Use them to instrument syntax caching.
7073 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7074 syntax_cache_statistics_function_names): New type and variables.
7075 * syntax.c (update_syntax_cache): Update and report statistics.
7077 [Major syntax cache optimizations]
7079 syntax.c (lookup_syntax_properties): Default off.
7081 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7082 * syntax.c (update_syntax_cache):
7083 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7085 [Minor syntax cache optimizations and code clarifications]
7087 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7088 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7089 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7090 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7091 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7092 (Code clarification.)
7094 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7095 scan_lists): Compute code from syncode, use Boolean macros instead
7096 of redundant masking operations. (Code clarification; any decent
7097 compiler can do this optimization.)
7099 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7102 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7103 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7104 use F*_single_property_change instead of F*_extent_change.
7105 Currently F*_single_property_change is _much_ less efficient.
7107 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7108 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7109 syntax_cache.object properly, don't leave Qt or Qnil.
7110 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7111 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7112 tests for Qt or Qnil.
7114 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7116 * redisplay.c (point_in_line_start_cache):
7117 * extents.c (print_extent_1):
7120 * extents.c (Fset_extent_property): Document `syntax-table' property.
7122 * extents.h (Fnext_single_property_change): EXFUN it.
7124 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7126 * search.c (clear_unused_search_regs): New static function.
7130 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7131 Minor clarifications in comments.
7133 * regex.c (re_match_2_internal): Ensure no stale submatches.
7135 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7137 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7139 2002-08-29 Jerry James <james@xemacs.org>
7141 * lisp.h: structrures -> structures.
7143 2002-06-03 Andy Piper <andy@xemacs.org>
7145 * frame.c (frame_conversion_internal): add conversion appropriate
7146 for setting frame dimensions in pixels.
7148 * console.h (struct console_methods): add device-specific widget
7151 * emacs.c (main_1): initialize glyph vars.
7153 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7154 (handle_focus_event_2): new function. Allow focus to
7155 be set to a particular window and widget.
7156 (enqueue_focus_event): new function. Create a
7157 synthetic focus event.
7158 (emacs_Xt_handle_magic_event): call
7159 handle_focus_event_2.
7161 * frame.c (Fset_frame_pixel_height): new function. Allow
7162 pixel-based sizing. Does the right thing on character-oriented
7164 (Fset_frame_pixel_width): ditto.
7165 (Fset_frame_pixel_size): ditto.
7166 (syms_of_frame): declare.
7168 * general-slots.h: add :vertically-justify and
7169 :horizontally-justify.
7171 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7172 (mswindows_widget_border_width): new function.
7173 (mswindows_combo_box_instantiate): set border widths.
7174 (console_type_create_glyphs_mswindows): declare.
7177 (check_valid_justification): allow vertical and horizontal
7179 (widget_border_width): new function. Call device methods.
7180 (widget_instance_border_width): ditto.
7181 (logical_unit_height): new function. Determine the height of a
7182 logical-unit. Logical units are intended to provide grid-like
7183 layout for subcontrols in a layout. If the layout is
7184 :vertically-justify top then subcontrols will be positioned on
7185 logical-unit boundaries, thus allowing adjacent subcontrols to
7187 (widget_logical_unit_height): ditto for widgets.
7188 (redisplay_widget): misc cleanup.
7189 (widget_spacing): new function. Call device specific
7190 methods. Intended to be the default gap between adjacent widgets.
7191 (widget_query_geometry): use new spacing functions to determine
7192 appropriate geometry.
7193 (initialize_widget_image_instance): initialize horizontal and
7194 vertical justification.
7195 (widget_instantiate): use logica-units where appropriate for
7196 sizing large widgets.
7197 (button_query_geometry): use widget_instance_border_width.
7198 (tree_view_query_geometry): ditto.
7199 (tab_control_query_geometry): ditto.
7200 (edit_field_query_geometry): new function.
7201 (layout_update): pick up :justify, :horizontally-justify and
7202 :vertically-justify none of which worked previously. :justify is
7203 used as a fallback for both horizontal and vertical justification.
7204 (layout_query_geometry): use logical units to size appropriately.
7205 (layout_layout): ditto.
7206 (Fwidget_logical_to_character_width): new function. Allow users to
7207 convert from logical units to characters so that frame sizes can
7208 be set appropriately.
7209 (Fwidget_logical_to_character_height): ditto.
7210 (syms_of_glyphs_widget): declare.
7211 (image_instantiator_edit_fields): add edit_field_query_geometry.
7212 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7213 :horizontally-justify.
7214 (specifier_vars_of_glyphs_widget): new function. Declare
7215 Vwidget_border_width which is not yet used.
7217 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7218 (x_widget_border_width): new function.
7219 (x_widget_instantiate): create a sensible name for widgets.
7220 (console_type_create_glyphs_x): declare x_widget_border_width.
7222 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7223 (struct Lisp_Image_Instance): add :vertically-justify and
7224 :horizontally-justify.
7225 (LAYOUT_JUSTIFY_TOP): new.
7226 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7227 (ROUND_UP): new macro. Round argument up to next integral
7230 * redisplay-output.c (redisplay_output_layout): misc formatting.
7232 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7234 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7236 * XEmacs 21.4.9 "Informed Management" is released.
7238 2002-08-19 Andy Piper <andy@xemacs.org>
7240 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7243 * realpath.c (xrealpath): normalize drive spec also so that dir
7244 sep chars are not mixed on cygwin.
7246 2002-08-06 Jerry James <james@xemacs.org>
7248 * window.c (Fsplit_window): Count only half of the divider width
7249 against the left window when splitting horizontally.
7251 2002-06-24 Andy Piper <andy@xemacs.org>
7253 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7254 toolbar was cleared.
7256 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7257 function. Split out from mswindows_output_frame_toolbars.
7258 (mswindows_output_frame_toolbars): move clear pieces to
7259 mswindows_output_frame_toolbars.
7261 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7262 out from gtk_output_frame_toolbars.
7263 (gtk_output_frame_toolbars): move clear pieces to
7264 gtk_clear_frame_toolbars.
7266 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7267 the frame is cleared. How this ever worked before is a mystery.
7268 (x_output_frame_toolbars): Only output toolbars.
7269 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7271 * gutter.c (update_gutter_geometry):
7272 Mark frame layout changed.
7273 (update_frame_gutter_geometry, update_frame_gutters):
7274 Respect frame_layout_changed.
7276 * console.h (struct console_methods): add
7277 clear_frame_toolbars_method.
7279 * redisplay.c (redisplay_frame): call
7280 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7282 * toolbar.h: declare update_frame_toolbars_geometry.
7284 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7285 out from update_frame_toolbars. Call clear_frame_toolbars.
7286 (update_frame_toolbars): only output, do not change geometry.
7288 * redisplay.c: add frame_layout_changed.
7290 * redisplay.h: add frame_layout_changed.
7291 (CLASS_RESET_CHANGED_FLAGS): set it.
7292 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7293 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7294 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7296 * device.h (struct device): add frame_layout_changed.
7297 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7299 * frame.h (struct frame): add frame_layout_changed.
7300 (MARK_FRAME_LAYOUT_CHANGED): new.
7302 2002-06-30 Mike Alexander <mta@arbortext.com>
7304 * event-msw.c (mswindows_need_event): Don't wait for a new message
7305 if the queue is not empty. Suggested by Paul Moore.
7307 2002-06-12 Andy Piper <andy@xemacs.org>
7309 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7310 for printing on accurately.
7312 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7314 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7315 WM_ACTIVATE message. Make sure that the frame is visible if the
7316 window is visible. This seemss to fix the problem where XEmacs
7317 appears to freeze after switching desktops with certain virtual
7319 (debug_output_mswin_message): Added code to output message
7320 parameters for WM_WINDOWPOSCHANGED,
7321 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7323 2002-05-25 Andy Piper <andy@xemacs.org>
7325 * select-x.c (vars_of_select_x): Fix docstring of
7326 x-selection-strict-motif-ownership
7328 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7330 * keymap.c (get_keymap):
7331 Add comment about do_autoload GCPROs own args.
7333 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7335 * bytecode.c (execute_optimized_program): check_opcode ifdef
7336 ERROR_CHECK_BYTE_CODE.
7338 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7340 Thanks to Ben Wing and Michael Sperber.
7342 * eval.c (Fcommand_execute):
7345 (Fmacroexpand_internal):
7346 (function_argcount):
7347 callint.c (Fcall_interactively):
7348 Add comment about do_autoload GCPROs own args.
7350 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7352 * eval.c (Ffuncall): Extra braces to placate GCC.
7354 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7356 * backtrace.h (grow_specpdl):
7358 * EmacsFrame.c (EmacsFrameSetValues):
7359 * eval.c (grow_specpdl):
7360 * ExternalShell.c (hack_event_masks_1):
7361 * glyphs-x.c (convert_EImage_to_XImage):
7362 (x_finalize_image_instance):
7363 * ralloc.c (page_size):
7365 * xgccache.c (gc_cache_hash):
7366 Fix unsigned comparison warnings.
7368 2002-07-29 Jerry James <james@xemacs.org>
7370 * lread.c (locate_file): Any nonnegative return value indicates
7371 success if MODE is nonnegative.
7373 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7375 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7378 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7380 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7382 * dumper.c (pdump_get_indirect_count):
7383 (pdump_scan_by_alignment):
7384 (pdump_dump_root_struct_ptrs):
7385 (pdump_dump_rtables):
7386 (pdump_dump_root_objects):
7388 * nas.c (WaveOpenDataForReading):
7389 * fns.c (print_bit_vector):
7390 * font-lock.c (SINGLE_SYNTAX_STYLE):
7391 * glyphs.c (check_for_ignored_expose):
7392 (find_matching_subwindow):
7394 * imgproc.c (get_histogram):
7395 * redisplay.c (point_in_line_start_cache):
7396 * redisplay-output.c (redisplay_unmap_subwindows):
7397 * symbols.c (defsymbol_massage_name_1):
7398 (defkeyword_massage_name):
7399 (deferror_massage_name_and_message):
7400 * redisplay-x.c (x_output_string):
7401 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7402 * frame.h (struct frame):
7403 * filelock.c (current_lock_owner):
7404 * doprnt.c (emacs_doprnt_1):
7405 * lisp.h (struct Lisp_Bit_Vector):
7409 2002-02-13 Ben Wing <ben@xemacs.org>
7411 * event-stream.c (reset_key_echo):
7412 * event-stream.c (reset_this_command_keys):
7413 * event-stream.c (execute_command_event):
7414 If console is dead as a result of C-x 5 0, then post-command stuff
7415 needs to be careful and do only non-console-specific stuff.
7417 2002-07-01 Mike Sperber <mike@xemacs.org>
7419 * process-unix.c (unix_send_process): Mark coding_outstream as
7420 non-open upon SIGPIPE.
7422 * event-stream.c (Fnext_event): Reorder switch cases to something
7425 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7427 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7428 Don't bogusly reinitialize ascii_character property.
7430 2002-07-08 Mike Sperber <mike@xemacs.org>
7432 * process.c (Fstart_process_internal): Do error checking before we
7433 fork off the child, so the child can't muck with the state of the
7436 2002-07-08 Mike Sperber <mike@xemacs.org>
7438 * ralloc.c (init_ralloc): Allocate properly for pdump.
7440 2002-06-12 Andy Piper <andy@xemacs.org>
7442 * glyphs.c (query_string_geometry): check the string.
7444 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7447 2002-06-17 Jerry James <james@xemacs.org>
7449 * sysdll.c: Remove RTLD_GLOBAL initialization.
7450 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7452 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7454 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7456 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7458 * sysdep.c (sys_rename): Make sys_rename work for the case where
7459 Windows rename sets errno to EACCES if target file exists.
7461 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7463 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7464 Fix detection of metric units to work on Win95
7466 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7468 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7470 2002-04-25 Andy Piper <andy@xemacs.org>
7472 * redisplay.c (create_text_block): Remove extra comment trailer.
7474 2002-04-24 Andy Piper <andy@xemacs.org>
7476 * redisplay.c (create_text_block): Don't actually add propagation
7477 data if the line ends after we have added a glyph.
7479 2002-04-22 Andy Piper <andy@xemacs.org>
7481 * extents.c (extent_fragment_update): check for glyphs we have
7482 previously displayed.
7483 * extents.c (print_extent_1): warning removal.
7484 * extents.h: change prototype.
7485 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7486 widths correctly for wide glyphs.
7487 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7488 * redisplay.c (prop_type): add PROP_GLYPH.
7489 * redisplay.c (struct prop_block): add glyph type
7490 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7491 to the propagation data.
7492 * redisplay.c (create_text_block): if there is a glyph in the
7493 propagation data use it to salt extent_fragment_update.
7494 * redisplay.c (create_string_text_block): ditto.
7496 2002-04-13 Nix <nix@esperi.demon.co.uk>
7498 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7499 * redisplay-output.c (compare_runes): Compare them.
7500 * redisplay.c: Update copyright date.
7501 * redisplay.c (pos_data): Add need_baseline_computation field.
7502 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7503 need_baseline_computation; zero yoffset. Set max_pixmap_height
7504 for all pixmaps, not just automatically positioned ones.
7505 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7506 * redisplay.c (calculate_baseline): New, compute textual baseline.
7507 * redisplay.c (add_glyph_rune): Call them.
7508 * redisplay.c (create_text_block): Likewise.
7509 * redisplay.c (create_overlay_glyph_block): Likewise.
7510 * redisplay.c (add_margin_runes): Likewise.
7511 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7513 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7514 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7515 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7516 * redisplay-msw.c (mswindows_output_string): Likewise.
7517 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7518 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7519 * redisplay-x.c (x_output_display_block): Likewise.
7521 2002-03-28 Ben Wing <ben@xemacs.org>
7523 * redisplay.c: Fixed bug in redisplay
7524 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7525 and down of the lines, since they're bigger than the line
7526 size. (It was seen most obviously when there's a horizontal scroll
7527 bar, e.g. do C-h a glyph or something like that.) The problem was
7528 that the glyph-contrib-p setting on glyphs was ignored even if it
7529 was set properly, which it wasn't until now.
7531 2002-04-24 Andy Piper <andy@xemacs.org>
7533 * lisp.h (Dynarr_end): Fix definition.
7535 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7537 * redisplay.c (mark_redisplay): Remove call to
7538 update_frame_window_mirror.
7540 2001-11-15 Andy Piper <andy@xemacs.org>
7542 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7545 2002-02-13 Andy Piper <andy@xemacs.org>
7547 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7548 we did in fact enqueue the XM_MAPFRAME event.
7550 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7552 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7553 to fix problem switching between virtual desktops under virtuawin
7554 virtual window manager.
7556 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7558 * event-msw.c: Typo fix.
7559 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7560 magic XM_MAPFRAME event has been sent.
7562 2001-11-23 Andy Piper <andy@xemacs.org>
7564 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7566 2001-11-21 Andy Piper <andy@xemacs.org>
7568 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7569 mouse events outside the frame.
7571 2002-03-20 Andy Piper <andy@xemacs.org>
7573 * menubar-msw.c (mswindows_popup_menu): warning removal.
7574 * dialog-msw.c (dialog_popped_down): ditto.
7576 2001-12-11 Andy Piper <andy@xemacs.org>
7578 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7579 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7581 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7582 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7583 * menubar-msw.c (mswindows_popup_menu): ditto.
7585 2001-10-29 Andy Piper <andy@xemacs.org>
7587 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7590 2002-01-03 Andy Piper <andy@xemacs.org>
7592 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7596 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7598 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7599 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7600 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7601 Detect and handle case where machine is set up for metric units
7603 2002-04-02 Andy Piper <andy@xemacs.org>
7605 * dired-msw.c (mswindows_get_files):
7606 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7607 completely handled by XEmacs. Suggested by Thomas Vogler
7608 <mail@thomas-vogler.de>.
7610 2001-11-14 Andy Piper <andy@xemacs.org>
7612 * nt.c (REG_ROOT): change registry key to XEmacs.
7614 2002-04-27 Andy Piper <andy@xemacs.org>
7616 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7618 2002-04-26 Andy Piper <andy@xemacs.org>
7620 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7623 2002-03-14 Mike Alexander <mta@arbortext.com>
7625 * event-msw.c (mswindows_unwait_process): New, remove process from
7627 * process-nt.c (nt_finalize_process_data): Call
7628 mswindows_unwait_process
7629 * console-msw.h: Declare mswindows_unwait_process
7631 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7633 * editfns.c (Fdecode_time):
7634 (Fformat_time_string):
7635 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7636 (make_time): Warning elimination (change arg name).
7638 2001-11-24 Andy Piper <andy@xemacs.org>
7640 * window.c (Fsplit_window): Doc return type.
7642 2002-04-01 Andy Piper <andy@xemacs.org>
7644 * emacs.c (Fkill_emacs): Only output message box in interactive
7647 2002-04-26 Andy Piper <andy@xemacs.org>
7649 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7652 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7654 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7657 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7659 * XEmacs 21.4.8 "Honest Recruiter" is released.
7661 2002-05-07 Nix <nix@esperi.demon.co.uk>
7663 Supersedes 2002-04-17 patch.
7665 * process.h (PROCESS_LIVE_P): Use the process status as
7666 evidence of health, not the state of the input stream.
7667 (PROCESS_READABLE_P): Say if the process is readable
7668 from. (It may be dead nonetheless.)
7669 (CHECK_READABLE_PROCESS): Test for that condition.
7671 * process.c (create_process): Use PROCESS_READABLE_P.
7672 (read_process_output, set_process_filter): Likewise.
7674 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7675 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7677 This code is #if 0'd, this is not the time to add new functions:
7679 * process.c (Fprocess_readable_p): Report readability status.
7680 * process.c (Qprocess_readable_p): New, associated symbol...
7681 * process.c (syms_of_process): ... initialize it.
7683 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7685 * XEmacs 21.4.7 "Economic Science" is released.
7687 2002-04-17 Nix <nix@esperi.demon.co.uk>
7689 * process.h (PROCESS_LIVE_P): Use the process status as
7690 evidence of health, not the state of the input stream.
7692 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7694 * sysdep.c (sys_siglist): change "signum" to "signal"
7696 2001-04-21 Martin Buchholz <martin@xemacs.org>
7698 * s/darwin.h: New file.
7699 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7701 2002-04-23 Andreas Jaeger <aj@suse.de>
7703 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7704 which use lib64 for 64-bit libs.
7705 (START_FILES): Likewise.
7707 2002-02-11 Mike Sperber <mike@xemacs.org>
7710 (x_IO_error_handler):
7711 (x_init_device): Temporarily keep device in static variable
7712 `device_being_initialized' so we can recover gracefully from
7713 internal XOpenDevice failure. (XOpenDevice is documented to
7714 return NULL on failure, but sometimes calls the IO error handler
7717 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7719 * dired.c (Ffile_name_all_completions): Change documentation --
7720 remove reference to completion-ignored-extensions.
7721 * dired.c (vars_of_dired): Change documentation for
7722 completion-ignored-extensions -- remove reference to
7723 file-name-all-completions.
7725 2002-03-06 Jerry James <james@xemacs.org>
7727 * emodules.c (emodules_load): Fix multiple loading of same module.
7729 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7730 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7731 RTLD_LAZY to avoid incorrect symbol binding when using nested
7732 shared libraries on Solaris.
7734 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7736 * fileio.c (Ffind_file_name_handler): Improve docstring.
7738 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7740 * fns.c (Fmapconcat): Improve docstring.
7742 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7744 * device-gtk.c: Add prototype for
7745 emacs_gtk_selection_clear_event_handle.
7746 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7747 selection. Setup signal handler for "selection_clear_event"
7748 (emacs_gtk_selection_clear_event_handle).
7750 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7751 other applications owning the clipboard (based on
7752 x_handle_selection_clear).
7754 2001-12-23 William M. Perry <wmperry@gnu.org>
7756 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7758 2002-01-04 Martin Buchholz <martin@xemacs.org>
7760 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7762 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7764 * XEmacs 21.4.6 "Common Lisp" is released.
7766 2001-12-16 Torsten Duwe <duwe@caldera.de>
7768 * search.c (Freplace_match): Add missing sub-expression functionality.
7770 * buffer.c (decode_buffer): Add a check for pointer type to
7771 decode_buffer, before gcc's CSE optimization reorders a
7772 dereference in front of the allow_string test.
7774 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7776 * window.c (window_loop): Fix bug that sometimes prevented
7777 window_loop() from iterating across multiple devices. Also, at
7778 Ben's request, changed infloop-detecting code to abort() instead
7779 of silently terminating window_loop().
7781 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7783 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7784 * editfns.c (make_time): New function.
7785 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7786 * lisp.h (make_time): Prototype and comment it.
7787 * dired.c (wasteful_word_to_lisp): Deprecate.
7788 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7790 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7792 * fileio.c (auto_save_1): Use current coding system, not
7795 2001-11-13 Ben Wing <ben@xemacs.org>
7798 * window.c (window_truncation_on):
7799 * window.c (syms_of_window):
7800 truncate-partial-width-windows should respect the buffer being
7801 displayed, like other redisplay vars.
7803 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7805 * event-stream.c (Fread_key_sequence): save current buffer.
7807 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7809 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7811 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7813 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7815 2001-10-26 Mike Alexander <mta@arbortext.com>
7817 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7819 2001-10-25 Andy Piper <andy@xemacs.org>
7822 * dialog-msw.c (handle_directory_proc): new function.
7823 (handle_directory_dialog_box): new fucntion.
7824 (handle_file_dialog_box): use new directory dialog support.
7825 (mswindows_make_dialog_box_internal): ditto.
7826 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7828 (mswindows_find_frame): make global.
7829 * fileio.c (Fexpand_file_name): build fix.
7830 * general-slots.h: add Qdirectory.
7831 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7833 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7834 cygwin not leaving win32 paths unchanged.
7835 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7836 cygwin runtime to do path conversion.
7837 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7838 (syms_of_win32): add new function.
7839 * window.c (window_loop): build fix.
7841 2001-10-15 Andy Piper <andy@xemacs.org>
7843 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7845 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7847 * XEmacs 21.4.5 "Civil Service" is released.
7849 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7851 * glyphs-x.c: Force buffer-tab highlight update when moving the
7852 buffer, avoiding an ugly black border, used for keyboard focus
7853 indication, on a widget that can never have keyboard focus, the
7856 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7858 * process-unix.c (unix_open_multicast_group): Remove too much
7859 conversion between host and network byte order.
7861 2001-09-10 Nix <nix@esperi.demon.co.uk>
7863 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7864 before replacing them.
7866 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7869 * src/window.c (undedicate_windows): Use it.
7870 * src/window.h: Add prototype.
7872 2001-09-17 Ben Wing <ben@xemacs.org>
7874 * fileio.c (normalize_filename):
7875 * fileio.c (Fexpand_file_name):
7876 Fix various C++ compile errors in Andy's recent code.
7878 * callint.c (Fcall_interactively):
7879 * editfns.c (Ftemp_directory):
7880 * editfns.c (Fuser_full_name):
7881 * emacs.c (argmatch):
7882 * lread.c (locate_file_map_suffixes):
7883 * redisplay-x.c (x_ring_bell):
7884 Fix sign-compare warnings.
7886 2001-09-08 Andy Piper <andy@xemacs.org>
7888 * fileio.c (normalize_filename): copied from nt.c
7889 * (Ffile_name_directory): enable win32 paths under cygwin.
7890 * (Ffile_name_nondirectory): ditto.
7891 * (directory_file_name): ditto.
7892 * (Fexpand_file_name): ditto.
7893 * (Ffile_truename): ditto.
7894 * (Fsubstitute_in_file_name): ditto.
7895 * (Ffile_name_absolute_p): ditto.
7896 * (Ffile_readable_p): ditto.
7898 2001-09-08 Andy Piper <andy@xemacs.org>
7900 * device-msw.c (mswindows_finish_init_device): remove dde
7902 * device-msw.c (mswindows_init_dde): factor out from
7903 mswindows_finish_init_device()
7904 * device-msw.c (init_mswindows_very_early): new function
7905 initialize but don't enable dde.
7906 * emacs.c (main_1): call init_mswindows_very_early.
7908 * event-msw.c (mswindows_dde_callback): only execute when we are
7910 * symsinit.h: declare init_mswindows_very_early.
7912 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7914 [sjt: This has been in 21.5 for months with no complaints.]
7916 * console.h (struct console_methods): Added flags member.
7917 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7918 (CONMETH_IMPL_FLAG):
7919 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7920 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7922 * device.c (window_system_pixelated_geometry): Use the above macros.
7924 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7925 implememntation flag.
7926 * device.h (DEVICE_DISPLAY_P): Use it.
7928 * frame.c (delete_frame_internal): Use the above macro.
7930 * redisplay.c (redisplay_device): Use it.
7931 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7932 (redisplay_frame): Ditto.
7934 * device-msw.c (mswindows_device_implementation_flags): Removed.
7935 (msprinter_device_implementation_flags): Removed.
7936 (console_type_create_device_mswindows): Removed references to
7937 implementation_flags methods, set implementation flags here.
7938 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7940 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7941 (console_type_create_device_gtk): Removed method declaration.
7942 Added commented out statement which semantically matches the
7943 commented out statement in the above removed method.
7945 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7947 The attached patch fixes a few warnings.
7949 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7950 * src/frame-gtk.c: guard against GNOME calls in GTK only
7951 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7952 * src/select-gtk.c: prototype lisp_to_time
7954 2001-06-08 Ben Wing <ben@xemacs.org>
7956 ------ gc-in-window-procedure fixes ------
7959 * alloc.c (struct post_gc_action):
7960 * alloc.c (register_post_gc_action):
7961 * alloc.c (run_post_gc_actions):
7962 * alloc.c (garbage_collect_1):
7963 Create "post-gc actions", to avoid those dreaded "GC during window
7964 procedure" problems.
7967 Abort, clean and simple, when GC in window procedure. We want
7968 to flush these puppies out.
7971 * glyphs-msw.c (finalize_destroy_window):
7972 * glyphs-msw.c (mswindows_finalize_image_instance):
7973 Use a post-gc action when destroying subwindows.
7976 Declare register_post_gc_action().
7979 * scrollbar-msw.c (unshow_that_mofo):
7980 Use a post-gc action when unshowing scrollbar windows, if in gc.
7982 * redisplay.c (mark_redisplay):
7983 Add comment about the utter evilness of what's going down here.
7985 ------ cygwin setitimer fixes ------
7987 * Makefile.in.in (sheap_objs):
7988 * Makefile.in.in (profile_objs):
7989 * Makefile.in.in (objs):
7990 Compile profile.c only when HAVE_SETITIMER.
7992 * nt.c (mswindows_sigset):
7993 * nt.c (mswindows_sighold):
7994 * nt.c (mswindows_sigrelse):
7995 * nt.c (mswindows_sigpause):
7996 * nt.c (mswindows_raise):
7997 * nt.c (close_file_data):
8001 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8004 * profile.c (Fstart_profiling):
8005 * profile.c (Fstop_profiling):
8006 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8007 instead of just plain setitimer().
8010 * signal.c (set_one_shot_timer):
8012 Define qxe_setitimer() as an encapsulation around setitimer() --
8013 call setitimer() directly unless Cygwin or MS Win, in which case
8014 we use our simulated version in win32.c.
8017 * systime.h (struct itimerval):
8018 * systime.h (ITIMER_REAL):
8019 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8020 comment about "qxe" and the policy regarding encapsulation.
8023 * win32.c (setitimer_helper_proc):
8024 * win32.c (setitimer_helper_period):
8025 * win32.c (setitimer_helper):
8026 * win32.c (mswindows_setitimer):
8027 Move setitimer() emulation here, so Cygwin can use it.
8028 Rename a couple of functions and variables to be longer and more
8029 descriptive. In setitimer_helper_proc(), send the signal
8030 using either mswindows_raise() or (on Cygwin) kill(). If for
8031 some reason we are still getting lockups, we'll change the kill()
8032 to directly invoke the signal handlers.
8034 ------ windows shell fixes ------
8038 Comments about how these two files must die.
8040 * callproc.c (init_callproc):
8041 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8042 not just COMSPEC. (more correct and closer to FSF.) Don't
8043 force a value for SHELL into the environment. (Comments added
8044 to explain why not.)
8046 * nt.c (init_user_info):
8047 Don't shove a fabricated SHELL into the environment. See above.
8049 2001-06-01 Ben Wing <ben@xemacs.org>
8051 * Makefile.in.in (ldflags):
8052 eliminate that pesky "defaulting to 00401000" warning.
8056 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8058 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8059 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8061 2001-04-24 Jerry James <james@xemacs.org>
8063 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8066 2001-06-01 Ben Wing <ben@xemacs.org>
8068 * event-msw.c (debug_mswin_messages):
8069 conditionalize the messages that were causing compile errors.
8070 (if only macros could generate #ifdef statements ...)
8072 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8074 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8076 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8078 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8080 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8082 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8083 * process-unix.c (unix_canonicalize_host_name):
8084 sysdep.c (init_system_name):
8085 Use it to conditionally support IPv6 canonicalization.
8087 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8090 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8092 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8094 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8095 attempt is made to scroll when no scroll bar is available.
8097 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8099 * input-method-motif.c (XIM_delete_frame): New callback.
8100 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8101 got deleted from 21.4.3.)
8103 2001-06-01 Ben Wing <ben@xemacs.org>
8105 * nt.c (mswindows_utime):
8106 * nt.c (close_file_data):
8107 fix off-by-one-indirection error.
8109 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8111 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8112 because set_file_times() now takes Lisp_Object path, instead of
8114 * nt.c: Include buffer.h.
8115 * nt.c (convert_from_time_t): New.
8116 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8117 not set mtime correctly.
8118 * nt.h: Declare mswindows_utime().
8119 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8120 path, instead of char*.
8121 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8123 2001-05-30 Ben Wing <ben@xemacs.org>
8127 (Stephen, just take all event-msw.c patches. This includes
8128 the "iconify" fix below.)
8131 * event-msw.c (mswindows_dequeue_dispatch_event):
8132 * event-msw.c (assert):
8133 * event-msw.c (emacs_mswindows_quit_p):
8134 * event-msw.c (debug_mswin_messages):
8135 * event-msw.c (debug_output_mswin_message):
8136 * event-msw.c (vars_of_event_mswindows):
8137 Fix yet more problems with C-g handling.
8138 Implement debug-mswindows-events.
8140 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8142 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8144 2001-05-23 Ben Wing <ben@xemacs.org>
8146 * event-msw.c (winsock_writer):
8147 * event-msw.c (winsock_closer):
8148 prior kludgy code was clobbering the buffer, thinking it was
8149 "unused" space to store an unneeded return value; instead, use
8150 the variable we've already got staring us in the face.
8152 2001-05-17 Andy Piper <andy@xemacs.org>
8154 * sysfile.h: don't assume that file attributes are boolean
8156 2001-05-23 Ben Wing <ben@xemacs.org>
8158 * device-msw.c (msprinter_init_device):
8159 signal an error rather than crash with an unavailable network
8160 printer (from Mike Alexander).
8163 * event-msw.c (struct winsock_stream):
8164 * event-msw.c (winsock_writer):
8165 * event-msw.c (winsock_closer):
8166 * event-msw.c (make_winsock_stream_1):
8167 cleanup headers. fix (hopefully) an error with data corruption
8168 when sending to a network connection.
8170 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8171 to handle the ~user prefix by (a) always assuming we're referencing
8172 ourselves and not even verifying the user -- hence any file with
8173 a tilde as its first char is invalid! (b) if there wasn't a slash
8174 following the filename, the pointer was set *past* the end of
8175 file and we started reading from uninitialized memory. Now we
8176 simply treat these as files, always.
8178 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8180 2001-05-19 Ben Wing <ben@xemacs.org>
8182 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8185 * process-nt.c (vars_of_process_nt):
8186 remove unused mswindows-quote-process-args. rec for 21.4.
8188 2001-05-12 Ben Wing <ben@xemacs.org>
8190 * event-msw.c (mswindows_dde_callback):
8191 * event-msw.c (mswindows_wnd_proc):
8192 eliminate cygwin warnings.
8194 2001-05-06 Ben Wing <ben@xemacs.org>
8198 * device-msw.c (print_dialog_worker):
8199 * device-msw.c (mswindows_handle_print_dialog_box):
8200 * device-msw.c (syms_of_device_mswindows):
8201 * dialog-msw.c (mswindows_make_dialog_box_internal):
8203 implement printing the selection when it's selected.
8205 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8207 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8209 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8211 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8212 EMACS_INT is signed.
8214 2001-04-15 Michael Lausch <mla@1012surf.net>
8216 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8217 gtk_widget_request_size() to give scrollbar >0 width for
8220 2001-05-30 William M. Perry <wmperry@gnu.org>
8222 * event-gtk.c: Check for buttons as modifier keys.
8224 2001-05-25 Craig Lanning <CraigL@Knology.net>
8227 Properly find MinGW's <process.h> inside Cygwin's restructured
8228 include directories. Don't try to include <cygwin/version.h>
8229 since we are dropping support for MinGW in versions of Cygwin
8232 Drop support for MinGW in versions of Cygwin before b21.
8234 Properly find MinGW's <process.h> inside Cygwin's restructured
8235 include directories.
8237 Drop support for MinGW in versions of Cygwin before b21.
8239 Even though a.out.h is no longer detected by configure, allow
8240 MinGW to use it until we figure out how to do the job with Win32.
8242 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8244 * syntax.c (find_start_of_comment):
8245 Fix `unbalanced parentheses' bug when dealing with mixed comment
8246 styles in c++/java/etc. mode
8248 2001-05-29 Mike Alexander <mta@arbortext.com>
8250 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8251 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8253 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8255 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8257 2001-03-31 Mike Sperber <mike@xemacs.org>
8259 * search.c (Freplace_match): Support FSF-style specification of
8260 match subexpression when applied to a buffer.
8262 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8264 * event-stream.c (is_scrollbar_event): add missing semicolon
8266 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8268 * Makefile.in.in: Use TAR macro instead of hardcoding
8269 tar. Allows use of GNU tar instead of system tar
8271 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8273 * event-stream.c (is_scrollbar_event): add missing semicolon
8275 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8277 * XEmacs 21.4.3 "Academic Rigor" is released.
8279 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8281 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8283 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8285 * buffer.c (Vcase_fold_search): Remove obsolete
8286 comment about non ASCII case-fold-search. This
8287 bug has been fixed by case-table changes.
8289 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8291 * event-msw.c: Restore include of events-mod.h.
8293 2001-04-22 zhaoway <zw@debian.org>
8295 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8298 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8300 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8302 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8304 * mule-charset.c (Fmake_charset): Add missing else.
8306 2001-04-23 Ben Wing <ben@xemacs.org>
8308 * event-msw.c (FAKE_MOD_QUIT):
8309 * event-msw.c (mswindows_dequeue_dispatch_event):
8310 * event-msw.c (mswindows_wnd_proc):
8311 * event-msw.c (emacs_mswindows_quit_p):
8312 Get critical quit working.
8314 2001-05-05 Ben Wing <ben@xemacs.org>
8318 * device-msw.c (mswindows_get_default_margin):
8319 * frame-msw.c (mswindows_size_frame_internal):
8320 * frame-msw.c (msprinter_init_frame_1):
8321 * frame-msw.c (vars_of_frame_mswindows):
8322 Change top/bottom margin defaults to 0.5 inches.
8324 2001-05-01 Martin Buchholz <martin@xemacs.org>
8326 Fix link error with gcc 3.0 on Linux.
8327 * terminfo.c (UP): Remove.
8328 * terminfo.c (BC): Remove.
8329 * terminfo.c (PC): Remove.
8330 They weren't used, and in any case, these symbols should be
8331 defined in the *library*.
8333 2001-05-03 Martin Buchholz <martin@xemacs.org>
8335 * s/aix4.h: Fix crash with xlc -O3.
8336 Improve comment explaining how -O3 works.
8338 2001-04-15 Ben Wing <ben@xemacs.org>
8341 * event-stream.c (Fnext_event):
8342 * event-stream.c (is_scrollbar_event):
8343 * event-stream.c (execute_command_event):
8344 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8345 crash' problem. His fix introduces other problems. We filter
8346 out scrollbar events specifically, making them somewhat invisible
8347 to command-building, and not appearing in `this-command-keys'.
8348 More work is still needed (see comments in event-stream.c), but
8349 this fixes all the major problems.
8351 2001-04-20 Ben Wing <ben@xemacs.org>
8353 * .cvsignore: Added stuff for Windows.
8355 2001-04-28 Ben Wing <ben@xemacs.org>
8357 * buffer.c (Ferase_buffer):
8358 * editfns.c (buffer_insert1):
8359 * editfns.c (Finsert_before_markers):
8360 * editfns.c (Finsert_string):
8361 * editfns.c (Finsert_char):
8362 * editfns.c (Fdelete_region):
8363 * editfns.c (Fwiden):
8364 * editfns.c (Fnarrow_to_region):
8365 remove bogus lines setting zmacs_region_stays to 0.
8367 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8369 * process-unix.c (unix_open_network_stream): If connect() fails
8370 invalidate file descriptor after closing it.
8372 2001-03-08 Mike Alexander <mta@arbortext.com>
8374 * event-msw.c (mswindows_need_event_in_modal_loop):
8375 Don't dispatch a message if we didn't get one.
8376 (mswindows_need_event):
8377 Terminate the correct process when one exits instead of the first
8378 one on Vprocess_list and look for process termination when in
8379 mswindows_protect_modal_loop.
8381 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8383 * XEmacs 21.4.1 "Copyleft" is released.
8385 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8387 * input-method-motif.c (XIM_delete_frame): New callback.
8388 (XIM_init_frame): Register it.
8390 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8392 * XEmacs 21.4.0 "Solid Vapor" is released.
8394 2001-04-15 Ben Wing <ben@xemacs.org>
8396 * cmdloop.c (call_command_loop):
8397 Fix braino in bit-rotting code.
8399 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8401 * extents.c (Fset_extent_endpoints): Force creation of extent info
8402 in buffer_or_string.
8404 * extents.c (process_extents_for_insertion_mapper): Correctly
8405 check for open-open zero-length extents.
8407 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8409 * lisp.h: New typedefs Memory_count, Element_count.
8412 Sign-compare warning elimination: several unsigned -> signed.
8413 Based on work by Ben Wing <ben@xemacs.org>.
8415 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8417 * XEmacs 21.2.47 "Zephir" is released.
8419 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8421 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8423 2001-04-03 Mike Sperber <mike@xemacs.org>
8425 * search.c: Revert previous patch due because of release.
8427 2001-03-30 Ben Wing <ben@xemacs.org>
8430 Add missing killpg prototype.
8433 Add a comment about fixing problems when a new entry is added
8436 * frame-msw.c (mswindows_init_frame_1):
8437 Fix compile warnings.
8439 * menubar.c (vars_of_menubar):
8440 Provide `menu-accelerator-support' to indicate that we properly
8441 support %_ in menu specifications, so that package code can
8442 conditionalize on this (and remove %_ from menu specifications
8447 * scrollbar-msw.c (can_scroll):
8449 Fix handling of mouse wheel under Windows to follow standards --
8450 now scrolls window under pointer, not selected window.
8452 2001-03-31 Mike Sperber <mike@xemacs.org>
8454 * search.c (Freplace_match): Support FSF-style specification of
8455 match subexpression when applied to a buffer.
8457 2001-03-15 Martin Buchholz <martin@xemacs.org>
8459 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8460 function to modify KEYMAP, so map over a copy of the hash table.
8462 2001-03-21 Martin Buchholz <martin@xemacs.org>
8464 * XEmacs 21.2.46 "Urania" is released.
8466 2001-03-20 Dan Holmsand <dan@eyebee.com>
8468 * realpath.c (xrealpath): Make file-truename work with symlinks to
8469 /cygdrive paths on cygwin. Always lowercase drive-letters on
8471 (cygwin_readlink): Don't try to find canonical filename unless
8474 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8476 * ChangeLog: Log GTK merge.
8482 Revert gratuitous whitespace changes from GTK merge.
8484 * emacs.c: Document end of complex #ifdef @ l. 1495.
8487 2001-03-12 Andy Piper <andy@xemacs.org>
8489 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8490 have to do likewise.
8492 2001-03-12 Andy Piper <andy@xemacs.org>
8494 * sysdep.c: we only support mingw now.
8496 2001-03-09 Andy Piper <andy@xemacs.org>
8498 * unexcw.c (copy_executable_and_dump_data_section): making approx
8499 overrun a warning only.
8501 2001-03-10 William M. Perry <wmperry@aventail.com>
8503 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8504 satisfy Stephen's identical-after-cpp plea.
8506 2001-03-02 Ben Wing <ben@xemacs.org>
8509 * cmds.c (Fforward_char):
8513 Augment documentation of the most common motion commands to make
8514 note of the shifted-motion support.
8516 2001-03-02 Ben Wing <ben@xemacs.org>
8518 * nt.c (mswindows_fstat):
8519 * nt.c (mswindows_stat):
8520 * search.c (boyer_moore):
8521 Fix compile warnings under Windows.
8523 * sysdep.c (sys_readdir):
8524 Fix buggy filename-conversion code under Mule.
8526 2001-03-09 William M. Perry <wmperry@aventail.com>
8548 * redisplay-output.c:
8554 The Great GTK Merge.
8561 * emacs-widget-accessors.c:
8575 * native-gtk-toolbar.c:
8586 The Great GTK Merge: new files.
8588 2001-02-26 Ben Wing <ben@xemacs.org>
8590 Reapplied Lstream change.
8592 2001-02-26 Ben Wing <ben@xemacs.org>
8594 Undid the last change, since it is more controversial than I
8595 thought. It should be back in at some point soon.
8597 2001-02-25 Ben Wing <ben@xemacs.org>
8600 * callproc.c (Fold_call_process_internal):
8601 * event-msw.c (ntpipe_slurp_reader):
8602 * event-msw.c (ntpipe_shove_writer):
8603 * event-msw.c (winsock_reader):
8604 * event-msw.c (winsock_writer):
8606 * file-coding.c (detect_eol_type):
8607 * file-coding.c (detect_coding_type):
8608 * file-coding.c (determine_real_coding_system):
8609 * file-coding.c (Fdetect_coding_region):
8610 * file-coding.c (decoding_reader):
8611 * file-coding.c (decoding_writer):
8612 * file-coding.c (mule_decode):
8613 * file-coding.c (Fdecode_coding_region):
8614 * file-coding.c (encoding_reader):
8615 * file-coding.c (encoding_writer):
8616 * file-coding.c (mule_encode):
8617 * file-coding.c (Fencode_coding_region):
8618 * file-coding.c (detect_coding_sjis):
8619 * file-coding.c (decode_coding_sjis):
8620 * file-coding.c (encode_coding_sjis):
8621 * file-coding.c (detect_coding_big5):
8622 * file-coding.c (decode_coding_big5):
8623 * file-coding.c (encode_coding_big5):
8624 * file-coding.c (detect_coding_ucs4):
8625 * file-coding.c (decode_coding_ucs4):
8626 * file-coding.c (encode_coding_ucs4):
8627 * file-coding.c (detect_coding_utf8):
8628 * file-coding.c (decode_coding_utf8):
8629 * file-coding.c (encode_coding_utf8):
8630 * file-coding.c (detect_coding_iso2022):
8631 * file-coding.c (decode_coding_iso2022):
8632 * file-coding.c (encode_coding_iso2022):
8633 * file-coding.c (decode_coding_no_conversion):
8634 * file-coding.c (encode_coding_no_conversion):
8635 * glyphs-x.c (write_lisp_string_to_temp_file):
8636 * gpmevent.c (tty_get_foreign_selection):
8639 * lstream.c (Lstream_flush_out):
8640 * lstream.c (Lstream_adding):
8641 * lstream.c (Lstream_write_1):
8642 * lstream.c (Lstream_write):
8643 * lstream.c (Lstream_raw_read):
8644 * lstream.c (Lstream_read_more):
8645 * lstream.c (Lstream_read):
8646 * lstream.c (Lstream_unread):
8647 * lstream.c (Lstream_fputc):
8648 * lstream.c (stdio_reader):
8649 * lstream.c (stdio_writer):
8650 * lstream.c (filedesc_reader):
8651 * lstream.c (filedesc_writer):
8652 * lstream.c (lisp_string_reader):
8653 * lstream.c (struct fixed_buffer_stream):
8654 * lstream.c (make_fixed_buffer_input_stream):
8655 * lstream.c (make_fixed_buffer_output_stream):
8656 * lstream.c (fixed_buffer_reader):
8657 * lstream.c (fixed_buffer_writer):
8658 * lstream.c (struct resizing_buffer_stream):
8659 * lstream.c (resizing_buffer_writer):
8660 * lstream.c (dynarr_writer):
8661 * lstream.c (lisp_buffer_reader):
8662 * lstream.c (lisp_buffer_writer):
8664 * lstream.h (lstream_implementation):
8665 * lstream.h (struct lstream):
8667 * process-nt.c (nt_send_process):
8668 * process-unix.c (unix_send_process):
8670 Correct Lstream lossage due to mixing of signed and unsigned
8671 quantities. All Lstream uses of size_t and ssize_t are now a
8672 single signed data type Lstream_data_count. This fixes problems
8673 under Windows with sending large quantities of data to a process,
8674 and may well fix other subtle bugs.
8676 2001-02-23 Martin Buchholz <martin@xemacs.org>
8678 * XEmacs 21.2.45 "Thelxepeia" is released.
8680 2001-02-21 Martin Buchholz <martin@xemacs.org>
8682 * lisp-union.h (XSETINT):
8685 Reverse previous change of 2001-02-06.
8687 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8689 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8691 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8692 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8693 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8694 * regex.c (POS_AS_IN_BUFFER): removed
8695 * regex.c (re_search_2):
8696 * regex.c (re_match_2):
8697 Don't use an offset of 1 when calculating buffer positions, since
8698 `BI_BUF_BEGV' does it already.
8700 2001-02-18 Wim Dumon <wim@easics.be>
8702 * insdel.c (prepare_to_modify_buffer): Also check for
8703 supersession when clash-detection is enabled.
8705 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8707 * regex.c (re_match_2_internal):
8708 Convert temp characters from 'const unsigned char' to 're_char'.
8709 Fix crashing bug with extended characters under mule.
8710 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8711 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8712 font-lock, pdump, and new syntax-table code.
8713 * syntax.c (find_start_of_comment):
8714 (find_end_of_comment):
8716 Fix crashing bugs involving moving beyond end of buffer.
8717 * syntax.c (find_start_of_comment):
8718 Fixed logic to allow proper detection of cases where the same
8719 character is used to end both a two-char comment start and a
8720 two-char comment end sequence. Fixes `(forward-comment -1)'.
8721 * syntax.c (find_start_of_comment):
8722 Return position just past last comment-end character for all cases
8723 (previously was only done for two-char comment-end sequences).
8724 * syntax.c (forward-comment):
8725 Take value returned from `find_end_of_comment', rather than
8727 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8728 Properly deal with BUFFERP (syntax_cache.object)
8730 2001-02-17 Martin Buchholz <martin@xemacs.org>
8732 * alloc.c (Fgarbage_collect):
8733 * alloc.c (make_bit_vector_from_byte_vector):
8734 -Wsign-compare-correctness.
8736 2001-02-16 Martin Buchholz <martin@xemacs.org>
8738 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8739 (XSETCHAR): Likewise.
8740 (XSETOBJ): Likewise.
8742 2001-02-15 Martin Buchholz <martin@xemacs.org>
8744 * mule-canna.c (canna-func-delete_previous):
8745 Rename to canna-func-delete-previous.
8747 2001-02-14 Martin Buchholz <martin@xemacs.org>
8749 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8751 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8753 * font-lock.c (find_context): Fix C++ compile errors introduced by
8756 2001-02-13 Martin Buchholz <martin@xemacs.org>
8758 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8759 pragma, but earlier ones barf on the same pragma.
8761 2001-02-06 Mike Sperber <mike@xemacs.org>
8763 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8764 `configure-mule-lisp-directory'.
8766 2001-02-12 Martin Buchholz <martin@xemacs.org>
8768 Make sure dump-id.c is compiled in the same way as other .c's.
8769 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8770 * dump-id.h: Remove.
8771 * emacs.c: Move dump-id.h into dumper.h.
8772 * dumper.h: Move dump-id.h into dumper.h.
8774 Use standard .c.o rule for building dump-id.o.
8775 Remove preprocessor flags from link command.
8776 Add dump-id.o to ${otherobjs} if PDUMP.
8778 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8780 Port FSF 20.7 syntax table improvements.
8784 Fixups for new syntax table stuff.
8785 * dired.c: Include syntax.c.
8786 (Fdirectory_files): Initialize regex_match_object and
8788 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8789 and Fget_char_property.
8791 Use ported FSF 20.7 syntax table improvements.
8796 2001-02-09 Martin Buchholz <martin@xemacs.org>
8798 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8799 Unixware's enum boolean from sys/types.h.
8801 2001-02-10 Martin Buchholz <martin@xemacs.org>
8803 Fix support for building with latest Purify.
8804 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8805 (PURIFY_FLAGS): Likewise.
8807 2001-02-09 Martin Buchholz <martin@xemacs.org>
8809 * fileio.c (lisp_string_set_file_times): New.
8810 * fileio.c (Fcopy_file): Use it.
8812 (copy-file filename non-ascii-filename t t)
8813 ==> No such file or directory, non-ascii-filename
8815 2001-02-10 Martin Buchholz <martin@xemacs.org>
8817 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8818 USHRT_MAX seems clearer than ~0 anyways.
8820 2001-02-09 Martin Buchholz <martin@xemacs.org>
8822 dumper improvements. Inspired by Olivier.
8823 * dumper.c (pdump_max_align): New.
8824 * dumper.c (pdump_add_entry): Use pdump_max_align.
8825 * dumper.c (pdump_get_entry_list): Likewise.
8826 * dumper.c (pdump_scan_by_alignment): Likewise.
8827 Don't iterate through unnecessary alignments.
8828 * dumper.c (pdump_file_get): No need to align result of malloc().
8829 * dumper.c (pdump_mallocadr): Remove.
8830 The result of malloc() is guaranteed to be maximally aligned.
8831 * dumper.c: s/elmt/elt/g;
8832 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8833 * dumper.c (pdump_alert_undump_object): Likewise.
8834 * dumper.c (pdump_align_table):
8835 Don't support alignments > 64.
8836 Store ALIGNOF's, not shift counts, in table.
8838 2001-02-09 Martin Buchholz <martin@xemacs.org>
8840 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8841 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8842 * systime.h: Use HAVE_UTIME.
8843 * sysdep.c (struct utimbuf): Remove.
8844 * sysdep.c (set_file_times): Prefer utime() to utimes().
8845 * config.h.in (HAVE_UTIME): New.
8846 * config.h.in (HAVE_UTIME_H): Remove.
8847 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8849 2001-02-09 Martin Buchholz <martin@xemacs.org>
8851 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8853 2001-02-08 Martin Buchholz <martin@xemacs.org>
8855 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8857 2001-02-08 Martin Buchholz <martin@xemacs.org>
8859 * XEmacs 21.2.44 "Thalia" is released.
8861 2001-02-06 Martin Buchholz <martin@xemacs.org>
8863 Fixes crashes in kill-emacs on some systems.
8864 * process-unix.c (unix_kill_child_process):
8865 It's OK for kill() to fail with ESRCH.
8867 2001-02-07 Martin Buchholz <martin@xemacs.org>
8869 Contortions to make .gdbinit tricks work on most systems.
8870 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8871 * alloc.c (dbg_valmask): Make non-const.
8872 * alloc.c (dbg_typemask): Make non-const.
8873 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8874 * alloc.c (dbg_valbits): Make non-const.
8875 * alloc.c (dbg_gctypebits): Make non-const.
8876 * .gdbinit (decode_object): Make it work with AIX cc.
8878 2001-02-06 Martin Buchholz <martin@xemacs.org>
8880 * elhash.c (make_general_lisp_hash_table):
8881 Use simpler and more efficient calloc to clear entries.
8883 2001-02-07 Martin Buchholz <martin@xemacs.org>
8885 * window.c (window_scroll): Work around an AIX C compiler bug.
8886 Fixes 'scroll-up' does nothing problem with xlC.
8888 2001-02-05 Martin Buchholz <martin@xemacs.org>
8890 * .gdbinit: Remove obsolete comment.
8892 2001-01-31 Mike Alexander <mta@arbortext.com>
8894 * select.c (Fown_selection_internal): Set owned_p for device
8897 2001-02-01 Martin Buchholz <martin@xemacs.org>
8900 "not" cannot be used as a macro name as it is an operator in C++
8901 * config.h.in: Stop #defining `not'.
8902 * chartab.c (check_category_char): not ==> not_p
8903 * chartab.h: Likewise.
8904 * regex.c (re_match_2_internal): Likewise.
8906 2001-02-02 Martin Buchholz <martin@xemacs.org>
8908 * lisp-disunion.h: Fix up comments.
8910 2001-01-31 Martin Buchholz <martin@xemacs.org>
8912 * keymap.c (define_key_check_and_coerce_keysym):
8914 Support mouse-6 and mouse-7 bindings in the obvious way.
8916 2001-02-01 Martin Buchholz <martin@xemacs.org>
8918 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8920 2001-01-30 Martin Buchholz <martin@xemacs.org>
8922 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8923 Previous patch missed DEFVAR_INT_MAGIC.
8924 Make sure future DEFVAR_foo use correct types.
8925 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8926 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8927 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8928 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8929 * (DEFVAR_INT): Likewise.
8930 * redisplay.c (vertical_clip): Should be of type Fixnum.
8931 * redisplay.c (horizontal_clip): Likewise.
8932 * lisp.h (dump_add_opaque_int): New.
8933 (dump_add_opaque_fixnum): New.
8935 2001-01-29 Andy Piper <andy@xemacs.org>
8937 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8938 since they can be eval'ed
8940 2001-01-29 Martin Buchholz <martin@xemacs.org>
8942 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8943 Oops, XEmacs redefines `class'. Use `typename' instead.
8945 2001-01-28 Martin Buchholz <martin@xemacs.org>
8947 * dumper.c: Fix C++ compile errors.
8949 2001-01-29 Martin Buchholz <martin@xemacs.org>
8951 * tparam.c: Use correct prototypes.
8953 2001-01-28 Martin Buchholz <martin@xemacs.org>
8955 * sysproc.h: #include util.h for NetBSD's openpty.
8957 2001-01-27 Martin Buchholz <martin@xemacs.org>
8959 More 64-bit correctness.
8960 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8961 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8963 This finally finishes the 64-bit SGI port.
8964 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8965 * symbols.c: Fix up comments and type casts.
8966 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8967 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8968 * symeval.h (Fixnum): New type.
8969 * symeval.h (symbol_value_type): Fix up comment.
8985 * mule-canna.c: A million DEFVAR_INTs here...
8986 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
8999 s/int/Fixnum/g in DEFVAR_INT declarations.
9001 2001-01-26 Martin Buchholz <martin@xemacs.org>
9003 Port pdump to SGI alignment-sensitive environment.
9004 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9005 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9007 Define and use aligned reading and writing macros.
9008 Use buffered stdio instead of posix i/o for faster dumping.
9009 Eliminate kludgy 256 byte space for header.
9010 Read and write from dump file using structs for alignment safety.
9011 * dumper.c (pdump_align_stream): New.
9012 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9013 * dumper.c (PDUMP_READ_ALIGNED): New.
9014 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9015 * dumper.c (pdump_static_Lisp_Object): New struct.
9016 * dumper.c (pdump_static_pointer): New struct.
9017 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9018 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9019 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9020 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9022 * dumper.c (pdump_backtrace):
9023 * dumper.c (pdump_get_indirect_count):
9024 * dumper.c (pdump_register_object):
9025 * dumper.c (pdump_register_struct):
9026 * dumper.c (pdump_reloc_one):
9027 * dumper.c (pdump_scan_by_alignment):
9028 * dumper.c (pdump_dump_from_root_struct_ptrs):
9029 * dumper.c (pdump_dump_opaques):
9030 * dumper.c (pdump_dump_rtables):
9031 * dumper.c (pdump_dump_from_root_objects):
9033 * dumper.c (pdump_load_finish):
9034 Use aligned reading and writing.
9036 * dumper.c (pdump_free): Make static.
9037 * dumper.c (pdump_hFile): Likewise.
9038 * dumper.c (pdump_hMap): Likewise.
9040 2001-01-26 Martin Buchholz <martin@xemacs.org>
9042 * XEmacs 21.2.43 "Terspichore" is released.
9044 2001-01-25 Martin Buchholz <martin@xemacs.org>
9046 Type fiddling for window_config.saved_windows_count
9047 * window.c (struct window_config):
9048 Make saved_windows_count member unsigned.
9049 * window.c (sizeof_window_config_for_n_windows):
9050 Make parameter unsigned.
9051 * window.c (mark_window_config):
9052 * window.c (window_config_equal):
9053 * window.c (free_window_configuration):
9054 * window.c (Fset_window_configuration):
9055 * window.c (count_windows):
9056 * window.c (Fcurrent_window_configuration):
9057 * window.c (reinit_vars_of_window):
9058 Update all callers and users.
9060 2001-01-25 Martin Buchholz <martin@xemacs.org>
9062 Alignment correctness for flexible arrays.
9063 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9064 Make alignment-correct. Add interesting comments.
9065 * alloc.c (size_vector):
9066 * alloc.c (make_vector_internal):
9067 * alloc.c (make_bit_vector_internal):
9068 * alloc.c (sweep_bit_vectors_1):
9069 * fns.c (size_bit_vector):
9070 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9071 * window.c (sizeof_window_config_for_n_windows):
9072 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9074 2001-01-24 Martin Buchholz <martin@xemacs.org>
9076 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9078 2001-01-23 Andy Piper <andy@xemacs.org>
9080 * select.c (Fown_selection_internal): pass owned_p
9082 * select-msw.c (mswindows_own_selection): New Signature.
9084 * console.h (struct console_methods): add owned_p to
9087 * select-x.c (x_own_selection): pass owned_p
9088 (hack_motif_clipboard_selection): use owned_p
9089 (vars_of_select_x): new variable -
9090 x_selection_strict_motif_ownership.
9092 2001-01-23 Martin Buchholz <martin@xemacs.org>
9094 * specifier.h (specifier_data_offset): Remove pointless parens.
9095 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9097 2001-01-24 Martin Buchholz <martin@xemacs.org>
9099 Make Lisp_Object sizeof methods be alignment-correct.
9100 pdump must restore objects to the same alignment as the C compiler
9101 assumes. It really matters on SGIs.
9102 * lstream.c (aligned_sizeof_lstream): New.
9103 (sizeof_lstream): Use aligned_sizeof_lstream.
9104 (Lstream_new): Likewise.
9105 * opaque.c (aligned_sizeof_opaque): New.
9106 (sizeof_opaque): Use aligned_sizeof_opaque.
9107 (make_opaque): Likewise.
9108 * specifier.c (aligned_sizeof_specifier): New.
9109 (sizeof_specifier): Use aligned_sizeof_specifier.
9110 (make_specifier_internal): Likewise.
9112 2001-01-23 Martin Buchholz <martin@xemacs.org>
9114 * lstream.h (struct lstream): Use max_align_t for trailing data.
9115 * specifier.h (struct Lisp_Specifier): Likewise.
9117 2001-01-22 Martin Buchholz <martin@xemacs.org>
9119 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9120 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9121 (CCL_SUSPEND): Likewise.
9122 (CCL_INVALID_CMD): Likewise.
9123 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9124 (ccl_driver): Likewise.
9125 (CCL_WRITE_CHAR): Macro hygiene.
9126 (CCL_WRITE_STRING): Macro hygiene.
9128 2001-01-22 Martin Buchholz <martin@xemacs.org>
9130 Port "portable" dumper to SunOS 4 and HP-UX.
9131 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9132 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9133 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9135 2001-01-22 Martin Buchholz <martin@xemacs.org>
9137 * lisp.h (ALIGNOF): A better definition for C++.
9139 2001-01-20 Martin Buchholz <martin@xemacs.org>
9142 Fix printf warnings: int format, long int arg.
9143 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9144 (PUSH_FAILURE_POINT): Use correct printf formats.
9145 (POP_FAILURE_POINT): Use correct printf formats.
9146 Use do {...} while (0)
9148 2001-01-20 Martin Buchholz <martin@xemacs.org>
9150 * XEmacs 21.2.42 "Poseidon" is released.
9152 2001-01-20 Martin Buchholz <martin@xemacs.org>
9154 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9156 2001-01-19 Martin Buchholz <martin@xemacs.org>
9158 De-kludgify FIXED_TYPE free list frobbing.
9159 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9160 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9161 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9162 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9163 * alloc.c (LRECORD_FREE_P): New.
9164 * alloc.c (MARK_LRECORD_AS_FREE): New.
9165 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9166 * alloc.c (STRUCT_FREE_P): Deleted.
9167 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9168 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9169 * alloc.c (STRING_CHARS_FREE_P): New.
9170 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9171 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9172 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9173 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9174 * alloc.c (resize_string): Use new definitions.
9175 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9176 * alloc.c (verify_string_chars_integrity): Use new definitions.
9177 * alloc.c (compact_string_chars): Use new definitions.
9178 * alloc.c: Update monster comments.
9179 * lrecord.h (lrecord_type): Add some new lrecord types for
9182 2001-01-18 Martin Buchholz <martin@xemacs.org>
9184 Improve alignment hackery.
9185 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9186 (max_align_t): Moved from opaque.h - general purpose.
9187 (ALIGN_PTR): Use size_t, not long.
9188 * opaque.h (max_align_t): Move to lisp.h.
9190 2001-01-18 Norbert Koch <nk@LF.net>
9192 * gui.h: Fix and add prototypes to fix build problems.
9194 2001-01-18 Martin Buchholz <martin@xemacs.org>
9196 temacs is going away, so `dump-temacs' is now a bad name.
9197 * .dbxrc (dump-temacs): Rename to `dmp'.
9198 * .gdbinit (dump-temacs): Rename to `dmp'.
9200 2001-01-17 Andy Piper <andy@xemacs.org>
9202 * glyphs.c (print_image_instance): comment to make martin happy.
9204 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9207 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9209 (mswindows_tab_control_redisplay): warning suppression.
9211 * glyphs-widget.c (widget_update): re-write to cope with updated
9213 (widget_instantiate): use new gui_item functions.
9214 (tab_control_update): deleted.
9215 (progress_gauge_update): deleted.
9216 (image_instantiator_progress_guage): take out update reference.
9217 (image_instantiator_tree_view): ditto.
9218 (image_instantiator_tab_control): ditto.
9220 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9222 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9223 return whether anything was changed.
9224 (update_gui_item_keywords): as it sounds.
9226 * gui.h: declare widget_gui_parse_item_keywords.
9228 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9229 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9231 2001-01-17 Martin Buchholz <martin@xemacs.org>
9233 * XEmacs 21.2.41 "Polyhymnia" is released.
9235 2001-01-16 Didier Verna <didier@xemacs.org>
9237 * glyphs.c (image_instantiate): don't use fallbacks when
9238 instantiating a face's background pixmap by inheritance.
9240 2001-01-14 Mike Sperber <mike@xemacs.org>
9242 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9243 Conditionalize accordingly.
9245 2001-01-16 Martin Buchholz <martin@xemacs.org>
9247 * dumper.c (pdump_file_get): Fix a compiler warning.
9249 2001-01-15 Martin Buchholz <martin@xemacs.org>
9251 Make Purify happy when pdumping.
9252 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9253 iniitalizing all bits of new lisp object memory.
9254 * symbols.c (Fmake_local_variable): Likewise.
9255 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9256 * symbols.c (Fdefvaralias): Likewise.
9257 * mule-charset.c (vars_of_mule_charset): Likewise.
9259 2001-01-15 Martin Buchholz <martin@xemacs.org>
9260 Add the `-nd' flag when running pre-dump operations under the debugger.
9261 * .dbxrc (run-temacs): Add `-nd'.
9262 * .dbxrc (update-elc): Likewise.
9263 * .dbxrc (dump-temacs): Likewise.
9264 * .gdbinit (run-temacs): Likewise.
9265 * .gdbinit (check-temacs): Likewise.
9266 * .gdbinit (update-elc): Likewise.
9267 * .gdbinit (dump-temacs): Likewise.
9269 2001-01-14 Martin Buchholz <martin@xemacs.org>
9271 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9272 export OBJECT_MODE=64
9273 configure --pdump --use-union-type=no
9274 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9275 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9277 * miscplay.c (sndcnv8U_2mono):
9278 Avoid two uses of `++' in the same expression.
9279 Suppresses a GCC warning.
9281 2001-01-13 Martin Buchholz <martin@xemacs.org>
9283 Make sure future compilers don't miscompile alloc.c.
9285 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9286 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9288 2001-01-12 Martin Buchholz <martin@xemacs.org>
9290 * dumper.c: A little post-pdump-rename comment fixup.
9292 2001-01-09 Jerry James <james@eecs.ku.edu>
9294 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9296 2001-01-13 Martin Buchholz <martin@xemacs.org>
9298 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9302 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9305 replace_symbol pdump_wire_lists pdump_weak_object_chains
9306 replace_symbol pdump_wire_list dump_add_weak_object_chain
9308 replace_symbol pdump_wires pdump_root_objects
9309 replace_symbol pdump_wire dump_add_root_object
9311 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9312 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9314 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9315 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9316 replace_symbol dumpstructinfo pdump_root_struct_ptr
9317 replace_symbol dumpstruct dump_add_root_struct_ptr
9319 replace_symbol dumpopaque dump_add_opaque
9320 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9321 replace_symbol dumpopaqueinfos pdump_opaques
9322 replace_symbol dumpopaqueinfo pdump_opaque
9324 replace_symbol nb_structdump nb_root_struct_ptrs
9325 replace_symbol nb_opaquedump nb_opaques
9327 replace_symbol align_table pdump_align_table
9328 replace_symbol dump_header pdump_header
9330 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9331 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9334 2001-01-12 Martin Buchholz <martin@xemacs.org>
9336 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9337 optimizing bytecount_to_charcount().
9339 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9342 (HAVE_DLFCN_H): Removed.
9343 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9345 2001-01-06 Martin Buchholz <martin@xemacs.org>
9347 Portable dumper maintainability improvements.
9348 * alloc.c (staticpro):
9349 * alloc.c (staticpro_nodump):
9350 * alloc.c (garbage_collect_1):
9351 * alloc.c (reinit_alloc_once_early):
9352 * alloc.c (init_alloc_once_early):
9353 * alloc.c: Move dumper functions to alloc.c.
9354 * dumper.c (pdump_backtrace):
9355 * dumper.c (pdump_dump_structs):
9356 * dumper.c (pdump_dump_opaques):
9357 * dumper.c (pdump_dump_rtables):
9358 * dumper.c (pdump_dump_wired):
9360 * dumper.c (pdump_load_check):
9361 * dumper.c (pdump_load_finish):
9362 * dumper.c (pdump_file_unmap):
9363 * dumper.c (pdump_file_get):
9364 * dumper.c (pdump_resource_free):
9365 * dumper.c (pdump_resource_get):
9366 * dumper.c (pdump_file_free):
9367 * dumper.c (pdump_file_try):
9368 * dumper.c (pdump_load):
9369 Remove fixed size limits on staticpro(), staticpro_nodump(),
9370 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9371 Remove custom code for dumping lrecord_implementations_table - use
9373 Remove (most of the) custom code for dumping staticpros - dump it
9374 like any other dynarr.
9376 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9377 * dumper.c: Moved functions from alloc.c.
9378 * alloc.c (dumpstruct): Moved to dumper.c.
9379 * alloc.c (dumpopaque): Likewise.
9380 * alloc.c (pdump_wire): Likewise.
9381 * alloc.c (pdump_wire_list): Likewise.
9383 * lisp.h (Dynarr_sizeof): New.
9384 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9385 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9386 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9388 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9389 * lisp.h (dumpopaque): ditto.
9390 * lisp.h (pdump_wire): ditto.
9391 * lisp.h (pdump_wire_list): ditto.
9393 2001-01-09 Martin Buchholz <martin@xemacs.org>
9395 * make-src-depend (PrintPatternDeps):
9396 Use `sort' to make output independent of perl version.
9398 2001-01-08 Martin Buchholz <martin@xemacs.org>
9401 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9402 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9404 2001-01-03 Didier Verna <didier@xemacs.org>
9406 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9407 that `focus_frame' is alive before thinking of calling
9408 `redisplay_redraw_cursor' on it.
9410 2001-01-08 Martin Buchholz <martin@xemacs.org>
9412 * XEmacs 21.2.40 is released.
9414 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9416 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9418 2001-01-06 Martin Buchholz <martin@xemacs.org>
9420 * alloc.c (dbg_valmask): Make const.
9421 * alloc.c (dbg_typemask): Make const.
9422 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9423 * alloc.c (dbg_valbits): Make const.
9424 * alloc.c (dbg_gctypebits): Make const.
9426 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9428 * redisplay-x.c (x_bevel_area):
9429 redisplay.h (struct rune):
9430 Typo fixes in comments.
9432 2001-01-05 Andy Piper <andy@xemacs.org>
9434 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9437 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9439 2001-01-05 Martin Buchholz <martin@xemacs.org>
9441 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9443 * mule-ccl.c (stack_idx_of_map_multiple):
9444 Non const global data must not be initialized!
9445 Found by MIYASHITA Hisashi.
9447 2001-01-02 Andy Piper <andy@xemacs.org>
9449 * frame.c (change_frame_size): make sure frame size is always
9452 * glyphs.c (image_instance_layout): minor code reuse.
9454 * window.c (Fcurrent_window_configuration): revert previous
9457 2001-01-02 Martin Buchholz <martin@xemacs.org>
9460 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9462 2000-12-31 Andy Piper <andy@xemacs.org>
9464 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9465 when widget gets unmapped.
9467 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9468 function. Make sure widgets losing focus don't just drop it.
9469 (handle_focus_event_1): record the widget with focus.
9471 2000-12-31 Andy Piper <andy@xemacs.org>
9473 * window.c (allocate_window): use
9474 make_image_instance_cache_hash_table.
9475 (make_dummy_parent): ditto.
9476 (Fset_window_configuration): ditto.
9478 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9480 * glyphs.c (process_image_string_instantiator): use
9482 (get_image_instantiator_governing_domain): ditto.
9483 (normalize_image_instantiator): ditto.
9484 (instantiate_image_instantiator): ditto.
9485 (make_image_instance_1): ditto.
9486 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9487 (instantiator_eq_equal): new function for use with instance hash
9489 (instantiator_eq_hash): ditto.
9490 (make_image_instance_cache_hash_table): create a suitable hash
9491 table for storing image instances.
9493 * elhash.h (hash_table_weakness): new internal weakness type
9494 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9495 declare new functions.
9497 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9498 another weakness type for glyphs.
9499 (make_standard_lisp_hash_table): new function split out from
9500 make_general_lisp_hash_table.
9501 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9502 (hash_table_instantiate): ditto.
9503 (Fmake_hash_table): ditto.
9505 2000-12-31 Martin Buchholz <martin@xemacs.org>
9507 * XEmacs 21.2.39 is released.
9509 2000-12-29 Andy Piper <andy@xemacs.org>
9511 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9513 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9514 the frame has changed so that we pick up geometry changes such as
9517 2000-12-28 Andy Piper <andy@xemacs.org>
9519 * lastfile.c (my_ebss): make a char array so we can pad the
9520 bss. Fixes cygwin unexec.
9522 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9524 2000-12-26 Andy Piper <andy@xemacs.org>
9526 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9527 comments and try and be more precise about a non-/SIGIO world.
9528 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9531 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9532 we don't normalize to zero width or height.
9534 2000-12-24 Andy Piper <andy@xemacs.org>
9536 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9538 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9540 * s/sco5.h: SCO 5 has pty support.
9542 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9544 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9545 input-method-xlib.c contains whole contents of input-method-xfs.c,
9546 so we can use input-method-xlib.c's code for USE_XFONTSET
9548 * input-method-xfs.c: removed.
9550 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9552 * file-coding.h (enum coding_category_type): reorder enumerators to
9553 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9554 (now one greater than largest real coding_category_type enumerator).
9555 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9556 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9557 Fcoding_category_list, Fset_coding_priority_list,
9558 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9559 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9561 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9563 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9564 * redisplay-output.c (redisplay_output_window): Clear top of window
9565 when face is changed.
9566 * redisplay-x.c (x_redraw_exposed_window): Call
9567 redisplay_clear_top_of_window.
9568 * redisplay.h: Publish redisplay_clear_top_of_window.
9570 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9572 * buffer.c (Fkill_buffer): Map over all devices.
9573 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9574 (list_windows): New function.
9575 (list_all_windows): Ditto.
9576 (Freplace_buffer_in_windows): Use them.
9578 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9580 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9581 (Fopen_database): Use `db_create' instead of `db_open'.
9582 (syms_of_database): Initialize Qqueue.
9584 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9586 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9587 buffer_local_face_property.
9588 * buffer.h (struct buffer): New member buffer_local_face_property.
9589 * window.c (Fset_window_buffer): Mark window's face as changed
9590 when buffer has buffer local face.
9591 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9592 * objects.c (color_after_change): Set buffer_local_face_property
9593 when locale of face specifier is buffer.
9594 * objects.c (font_after_change): Ditto.
9595 * objects.c (face_boolean_after_change): Ditto.
9596 * glyphs.c (image_after_change): Ditto.
9598 2000-12-09 Dan Holmsand <dan@eyebee.com>
9600 * nt.c (mswindows_fstat): Report file permissions, volume serial
9601 number, etc. Code adapted from FSF Emacs 20.7.
9603 2000-12-09 Dan Holmsand <dan@eyebee.com>
9605 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9606 of stat when we don't have symbolic links, to make sure
9607 mswindows_stat is called on mswindows.
9609 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9611 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9613 2000-12-12 Martin Buchholz <martin@xemacs.org>
9615 * doprnt.c (emacs_doprnt_1): More printing fixes.
9616 Make printing of numbers compatible with libc and FSF Emacs.
9617 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9618 Use the system printf to do most of the hard work of formatting,
9619 instead of doprnt_1().
9620 Calculate memory to allocate for format string.
9621 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9622 (doprnt_1): Cleaner code and documentation.
9624 2000-12-01 Jerry James <james@eecs.ukans.edu>
9626 * Makefile.in.in: Use the loop variable to install headers.
9628 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9630 * window.c (Fsplit_window): Don't invalidate face cache.
9632 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9634 * minibuf.c (Fall_completions): Undo the previous change
9635 which removed checking elements start with space.
9637 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9639 * mule-canna.c: Didier suppression.
9641 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9643 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9644 (warning suppression). Add English comment translations.
9646 2000-12-05 Martin Buchholz <martin@xemacs.org>
9648 * unexelfsgi.c (unexec): Better test for mmap failure.
9650 2000-12-05 Martin Buchholz <martin@xemacs.org>
9652 * XEmacs 21.2.38 is released.
9654 2000-12-05 Martin Buchholz <martin@xemacs.org>
9656 * redisplay.c (bar-cursor): Make a user variable.
9658 * symsinit.h: Add init_postgresql_from_environment.
9660 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9662 * regex.c: Convert to clean C.
9664 2000-12-05 Dan Holmsand <dan@eyebee.com>
9667 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9669 (sys_readlink): renamed to system_readlink to avoid conflict with
9670 the other sys_readlink.
9672 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9674 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9676 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9678 * postgresql.c (init_postgresql_from_environment): new function.
9679 (vars_of_postgresql): Move code initializing Lisp variables out and
9680 into init_postgresql_from_environment.
9681 emacs.c (main_1): Call init_postgresql_from_environment if and only
9682 if running a dumped XEmacs.
9684 2000-08-31 Dan Holmsand <dan@eyebee.com>
9686 * buffer.c: Make find-file-compare-truenames default to true on
9689 * realpath.c (win32_abs_start):
9691 (win32_readlink): New functions.
9692 (xrealpath): Return really real filenames on windows.
9694 * fileio.c (Ffile_truename): Make file-truename work on windows.
9696 2000-11-29 Didier Verna <didier@xemacs.org>
9698 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9699 * faces.c (update_face_cachel_data): use it.
9700 * faces.c (add_face_cachel): use it. Complete background pixmap
9701 frobbing in face cache if `update_face_cachel_data' has not done so.
9703 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9705 * search.c (string_match_1): Don't set last_thing_searched
9708 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9710 * buffer.c: Include casetab.h
9711 (common_init_complex_vars_of_buffer): Use new case-table object.
9712 * buffer.h: Include casetab.h
9713 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9714 (DOWNCASE_TABLE_OF): Ditto.
9715 * bufslots.h: Remove char-tables and add case-table.
9716 * casetab.c: Include casetab.h
9717 (CASE_TABLE_P): Removed.
9718 (mark_case_table): New function.
9719 (allocate_case_table): New function.
9720 (Fcase_table_p): Use new case-table.
9721 (case_table_char): New function.
9722 (Fget_case_table): Ditto.
9723 (Fput_case_table): Ditto.
9724 (Fput_case_table_pair): Ditto.
9725 (Fcopy_case_table): Ditto.
9726 (Fcurrent_case_table): Return case-table.
9727 (Fstandard_case_table): Return case-table.
9728 (Fset_case_table): Fix doc-string.
9729 (set_case_table): Use case-table
9730 (syms_of_casetab): DEFSUBR new functions.
9731 (complex_vars_of_casetab): Set up standard case-table.
9732 * casetab.h: New file.
9733 * editfns.c: Include casetab.h
9734 (Fcompare_buffer_substrings): Use case-table.
9735 * inline.c: Include casetab.h
9736 * lisp.h: Remove bogus extern.
9737 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9738 * search.c: Include casetab.h
9739 (TRANSLATE_ASCII): Removed.
9740 (TRANSLATE): Unconditionally translate character.
9741 (looking_at_1): Use case-table.
9742 (string_match_1): Ditto.
9743 (fast_string_match): Ditto.
9744 (search_command): Ditto.
9745 (search_buffer): Separate boyer_moore. Check whether
9746 boyer_moore is possible.
9747 (simple_search): New function.
9748 (boyer_moore): Separated from search_buffer. Translate char.
9750 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9752 * regex.c (RE_TR_ASCII): Removed.
9753 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9754 (PATFETCH): Call PATFETCH_RAW.
9755 (PATFETCH_RAW): Fetch Emchar.
9756 (PATUNFETCH): Decrement charptr.
9757 (GET_BUFFER_SPACE): Rename b to buf_end.
9759 (BUF_PUSH_2): Ditto.
9760 (BUF_PUSH_3): Ditto.
9761 (EXTEND_BUFFER): Ditto.
9762 (SET_LIST_BIT): Ditto.
9763 (regex_compile): Ditto. Translate non ASCII char.
9764 (compile_range): Ditto.
9765 (re_search_2): Ditto.
9766 (re_match_2_internal): Compare Emchar.
9767 (bcmp_translate): Ditto.
9769 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9771 * lisp.h (basic char/int typedefs): comment improvement.
9773 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9775 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9776 unstomp inhibit_site_lisp. Improve comments.
9778 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9780 * mule-charset.c (Fcharset_property): improve type checking, comments.
9782 2000-11-28 Andy Piper <andy@xemacs.org>
9784 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9785 clipped display for windows in the gutter also.
9786 (redisplay_display_boxes_in_window_p): change semantics of return
9787 codes to be more intuitive.
9789 * gutter.h: declare display_boxes_in_gutter_p.
9791 * gutter.c (display_boxes_in_gutter_p): new function for
9794 2000-11-22 Andy Piper <andy@xemacs.org>
9796 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9799 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9801 * callproc.c (Fold_call_process_internal):
9802 * gpm.c (Freceive_gpm_event):
9803 (tty_get_foreign_selection): Might be just warning supression.
9804 * fileio.c (Fwrite_region_internal):
9805 (Fset_visited_file_modtime):
9806 * keymap.c (event_matches_key_specifier_p):
9807 Initialize GCPROed variable.
9809 * menubar-x.c (command_builder_find_menu_accelerator):
9810 Initialize before use.
9812 2000-11-23 Andy Piper <andy@xemacs.org>
9814 * unexcw.c (unexec): make the resulting executable executable.
9816 2000-11-21 Martin Buchholz <martin@xemacs.org>
9818 * doc.c (get_doc_string):
9819 Use size_t, not int, for result of XSTRING_LENGTH.
9821 * cmds.c (Fdelete_char):
9822 * cmds.c (Fpoint_at_eol):
9823 * cmds.c (Fself_insert_command):
9824 Use EMACS_INT, not int, for result of XINT.
9825 Someday, someone will want to insert more than 2**31 identical characters.
9827 * cmds.c (Fdelete_char):
9828 * cmds.c (Fdelete_backward_char):
9829 * syntax.c (Fforward_word):
9830 * syntax.c (Fforward_comment):
9831 Make COUNT argument optional, for consistency with forward-char et al.
9833 2000-11-22 Martin Buchholz <martin@xemacs.org>
9836 * print.c (long_to_string):
9837 Return a useful value: the pointer at end of data written.
9840 Use `static const char * const' for constant strings.
9841 (union printf_arg): Delete `i', `ui' members.
9844 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9845 Do all printf-ing via the `l' specifier.
9846 Use EMACS_INT instead of int.
9849 2000-11-20 Didier Verna <didier@xemacs.org>
9851 * faces.c (update_face_cachel_data): don't frob the background
9852 pixmap when the window is being created. The face is needed but
9855 2000-11-20 Andy Piper <andy@xemacs.org>
9857 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9858 messing with a debug environment.
9860 2000-11-20 Martin Buchholz <martin@xemacs.org>
9862 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9864 2000-11-20 Martin Buchholz <martin@xemacs.org>
9866 * casetab.c (Fcase_table_p): Fix compile error and crash.
9868 2000-11-18 Philip Aston <philipa@mail.com>
9870 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9872 2000-11-18 Martin Buchholz <martin@xemacs.org>
9874 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9875 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9877 2000-11-17 Martin Buchholz <martin@xemacs.org>
9879 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9880 * unexelf.c: Use HAVE_ELF_H.
9881 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9882 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9883 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9884 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9886 So this is an unexelfsgi.c from a different line of development.
9888 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9890 * regex.c (RE_TR_ASCII): New function.
9891 (RE_TRANSLATE): Call it.
9893 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9895 * buffer.h (TRT_TABLE_OF): Remove assert.
9896 (IN_TRT_TABLE_DOMAIN): Removed.
9898 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9900 * free-hook.c (log_gcpro):
9901 (show_gcprohist): Add support for GCPRO5.
9903 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9905 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9907 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9909 * symeval.h: Declare flush_all_buffer_local_cache.
9911 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9912 (flush_buffer_local_cache): Added.
9913 (flush_all_buffer_local_cache): Added.
9915 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9917 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9918 (pdump_dump_data): Ditto.
9919 (pdump_reloc_one): Ditto.
9920 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9924 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9926 * buffer.c: Remove if 0'ed entry.
9927 * buffer.h: Rewrite TRT to use char-table.
9928 * bufslots.h: Remove mirror tables.
9929 * casetab.c: Remove mirror tables.
9930 (CASE_TABLE_P): New macro.
9931 (Fcase_table_p): Element of a case table is string or char-table.
9932 (make_mirror_trt_table): Removed.
9933 (set_case_table): Setup char-table from strings for backward
9935 * dired.c (Fdirectory_files):
9936 * dired-msw.c: (mswindows_get_files):
9937 * lisp.h: Change prototype of re_pattern_buffer.
9938 * regex.c: (RE_TRANSLATE): New macro.
9939 (TRANSLATE_P): Ditto.
9940 Change translate to type RE_TRANSLATE_TYPE.
9941 * regex.h: Define RE_TRANSLATE_TYPE
9942 * search.c (TRANSLATE): New macro.
9943 (TRANSLATE_ASCII): New macro.
9944 Translate table is changed to Lisp_Object.
9945 (signal_failure): Inhibit return.
9947 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9954 Do UNGCPRO before return.
9956 2000-11-14 Martin Buchholz <martin@xemacs.org>
9958 * XEmacs 21.2.37 is released.
9960 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9962 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9963 Add comments about discarded return value.
9965 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9968 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9970 2000-10-27 Andy Piper <andy@xemacs.org>
9972 * gutter.c (Fset_default_gutter_position): default left and right
9974 (calculate_gutter_size): calculate resonable heuristic for left
9975 and right gutter sizes.
9976 (specifier_vars_of_gutter): change left and right gutter sizes to
9978 (calculate_gutter_size_from_display_lines): new function.
9979 (output_gutter): check for resizing on left and right gutters.
9980 (clear_gutter): don't special case top and left gutters.
9981 (specifier_vars_of_gutter): use new signature for
9982 set_specifier_caching.
9984 * glyphs-x.c (x_redisplay_widget): spelling fix.
9985 * glyphs.c (specifier_vars_of_glyphs):
9986 * menubar.c (specifier_vars_of_menubar):
9987 * redisplay.c (specifier_vars_of_redisplay):
9988 * toolbar.c (specifier_vars_of_toolbar):
9989 * window.c (specifier_vars_of_window):
9990 * scrollbar.c (specifier_vars_of_scrollbar):
9991 (complex_vars_of_scrollbar): use new signature for
9992 set_specifier_caching.
9994 * specifier.c (set_specifier_caching): include recompute flag.
9995 (recompute_one_cached_specifier_in_window): always recompute if
9997 (recompute_one_cached_specifier_in_frame): ditto.
9999 * specifier.h (struct specifier_caching): add recompute flag.
10001 2000-10-24 Andy Piper <andy@xemacs.org>
10003 * unexcw.c (copy_executable_and_dump_data_section): add new
10004 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10007 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10009 * console-x.h (x_device): New member modifier_release_time.
10010 * event-Xt.c (x_handle_sticky_modifiers):
10011 Bound interval modifier keys are sticky.
10012 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10013 * events.h: extern it.
10015 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10017 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10019 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10021 * event-stream.c (execute_command_event): Preserve current_events
10022 and the like when event is misc-user-event.
10023 Inhibit quit during the call to maybe_echo_keys.
10025 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10027 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10028 symlink when buffer is killed.
10029 (inhibit_clash_detection): New variable.
10031 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10033 * console.c (Fset_input_method): Trigger redisplay on tty.
10035 2000-11-07 Martin Buchholz <martin@xemacs.org>
10037 * process.c (Fprocess_status): Revert to previous behavior:
10038 (process-status "nosuchprocess") ==> nil
10040 2000-11-06 Martin Buchholz <martin@xemacs.org>
10042 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10043 Work around another GCC 2.95.2 optimizer bug.
10045 2000-11-02 Martin Buchholz <martin@xemacs.org>
10047 * process.c (Fget_process): Use LIST_LOOP_2.
10048 (kill_buffer_processes): Use LIST_LOOP_2.
10050 * minibuf.c (Fall_completions):
10051 Delete old non-functional code for FSF fourth argument.
10053 * frame.c (frame_matches_frame_spec):
10054 Renamed from `frame_matches_frametype'. Update all callers.
10055 (device_matches_device_spec):
10056 Renamed from 'device_matches_console_spec'. Update all callers.
10058 * doc.c (Fsubstitute_command_keys):
10059 Remove buffer overflow crash. Small code cleanups.
10061 * casetab.c (check_case_table): Simpler code.
10063 * window.c (Freplace_buffer_in_windows):
10064 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10065 (and similar implementation) as Fdelete_windows_on.
10066 Update all callers.
10068 * alloc.c (Fmake_list):
10069 * alloc.c (make_vector):
10070 * alloc.c (Fmake_vector):
10071 * alloc.c (make_bit_vector):
10072 * alloc.c (Fmake_bit_vector):
10073 * alloc.c (Fbit_vector):
10074 * alloc.c (Fmake_string):
10075 * alloc.c (Fpurecopy):
10076 * alloc.c (Fmemory_limit):
10078 * buffer.c (Fget_buffer):
10079 * buffer.c (Fkill_buffer):
10080 * buffer.c (complex_vars_of_buffer):
10081 * bytecode.c (Fcompiled_function_stack_depth):
10082 * callint.c (Fprefix_numeric_value):
10084 * event-stream.c (Fread_key_sequence):
10086 * casetab.c (Fcase_table_p):
10087 * casetab.c (check_case_table):
10088 * casetab.c (Fset_case_table):
10089 * casetab.c (Fset_standard_case_table):
10091 * chartab.c (Fchar_table_type):
10092 * chartab.c (Freset_char_table):
10093 * chartab.c (Fget_char_table):
10094 * chartab.c (Fget_range_char_table):
10095 * chartab.c (Fput_char_table):
10096 * chartab.c (Fmap_char_table):
10097 * chartab.c (Fcategory_table_p):
10098 * chartab.c (Fcheck_category_at):
10099 * chartab.c (Fchar_in_category_p):
10100 * chartab.c (Fcategory_table):
10101 * chartab.c (Fcopy_category_table):
10102 * chartab.c (Fset_category_table):
10103 * chartab.c (Fcategory_designator_p):
10104 * chartab.c (Fcategory_table_value_p):
10105 * cmds.c (Fdelete_char):
10106 * cmds.c (Fdelete_backward_char):
10107 * cmds.c (Fself_insert_command):
10108 * cmds.c (Fself_insert_internal):
10109 * console.c (Fvalid_console_type_p):
10110 * console.c (Fcdfw_console):
10111 * console.c (Fconsole_type):
10112 * console.c (Fconsole_name):
10113 * console.c (Fconsole_device_list):
10114 * console.c (Fconsole_on_window_system_p):
10117 * data.c (Fold_eq):
10118 * data.c (Fsubr_interactive):
10119 * data.c (Fchar_to_int):
10120 * data.c (Fint_to_char):
10121 * data.c (Fsetcar):
10122 * data.c (Fsetcdr):
10123 * data.c (Fnumber_to_string):
10124 * data.c (Fstring_to_number):
10126 * database.c (mark_database):
10127 * database.c (finalize_database):
10128 * database.c (Fdatabase_live_p):
10129 * database.c (Fdatabasep):
10130 * device-x.c (Fx_get_resource):
10131 * device.c (Fdfw_device):
10133 * dired.c (Ffile_name_completion):
10134 * dired.c (Ffile_name_all_completions):
10135 * dired.c (Fuser_name_completion):
10136 * dired.c (Fuser_name_completion_1):
10137 * dired.c (Fuser_name_all_completions):
10138 * doc.c (Fdocumentation):
10139 * doc.c (Fdocumentation_property):
10140 * doc.c (Fsubstitute_command_keys):
10142 * editfns.c (Fchar_to_string):
10143 * editfns.c (Fstring_to_char):
10144 * editfns.c (Ftemp_directory):
10145 * editfns.c (Finsert_char):
10146 * editfns.c (Fbuffer_substring_no_properties):
10147 * editfns.c (Fnarrow_to_region):
10148 * editfns.c (Fchar_equal):
10149 * editfns.c (Fchar_Equal):
10150 * editfns.c (Ftranspose_regions):
10151 * emacs.c (Fdump_emacs):
10153 * eval.c (Fcommand_execute):
10154 * eval.c (Fautoload):
10155 * eval.c (Fbacktrace):
10156 * eval.c (Fbacktrace_frame):
10158 * events.c (Fcopy_event):
10159 * events.c (Fcharacter_to_event):
10160 * events.c (Fevent_button):
10161 * events.c (Fevent_process):
10163 * extents.c (Fnext_extent_change):
10164 * extents.c (Fextent_property):
10165 * faces.c (Ffacep):
10166 * faces.c (Fmake_face):
10168 * file-coding.c (Fencode_shift_jis_char):
10169 * file-coding.c (Fencode_big5_char):
10170 * fileio.c (Ffile_name_directory):
10171 * fileio.c (Ffile_name_nondirectory):
10172 * fileio.c (Ffile_name_as_directory):
10173 * fileio.c (Fdirectory_file_name):
10174 * fileio.c (Ffile_truename):
10175 * fileio.c (Fsubstitute_in_file_name):
10176 * fileio.c (Ffile_modes):
10177 * fileio.c (Fset_file_modes):
10178 * fileio.c (Fset_default_file_modes):
10179 * fileio.c (Fverify_visited_file_modtime):
10180 * floatfns.c (Facos):
10181 * floatfns.c (Fasin):
10182 * floatfns.c (Fatan):
10183 * floatfns.c (Fcos):
10184 * floatfns.c (Fsin):
10185 * floatfns.c (Ftan):
10186 * floatfns.c (Fbessel_j0):
10187 * floatfns.c (Fbessel_j1):
10188 * floatfns.c (Fbessel_jn):
10189 * floatfns.c (Fbessel_y0):
10190 * floatfns.c (Fbessel_y1):
10191 * floatfns.c (Fbessel_yn):
10192 * floatfns.c (Ferf):
10193 * floatfns.c (Ferfc):
10194 * floatfns.c (Flog_gamma):
10195 * floatfns.c (Fexp):
10196 * floatfns.c (Fexpt):
10197 * floatfns.c (Flog):
10198 * floatfns.c (Flog10):
10199 * floatfns.c (Fsqrt):
10200 * floatfns.c (Fcube_root):
10201 * floatfns.c (Facosh):
10202 * floatfns.c (Fasinh):
10203 * floatfns.c (Fatanh):
10204 * floatfns.c (Fcosh):
10205 * floatfns.c (Fsinh):
10206 * floatfns.c (Ftanh):
10207 * floatfns.c (Fabs):
10208 * floatfns.c (Ffloat):
10209 * floatfns.c (Flogb):
10210 * floatfns.c (Fceiling):
10211 * floatfns.c (Ffloor):
10212 * floatfns.c (Fround):
10213 * floatfns.c (Ftruncate):
10214 * floatfns.c (Ffceiling):
10215 * floatfns.c (Fffloor):
10216 * floatfns.c (Ffround):
10217 * floatfns.c (Fftruncate):
10218 * fns.c (Fstring_equal):
10219 * fns.c (Fstring_lessp):
10222 * fns.c (vconcat2):
10223 * fns.c (vconcat3):
10224 * fns.c (Fsubstring):
10226 * fns.c (Fold_assoc):
10227 * fns.c (assoc_no_quit):
10229 * fns.c (Fold_assq):
10230 * fns.c (assq_no_quit):
10232 * fns.c (Fold_rassoc):
10234 * fns.c (Fold_rassq):
10235 * fns.c (rassq_no_quit):
10236 * fns.c (Fremassoc):
10237 * fns.c (remassoc_no_quit):
10238 * fns.c (Fremassq):
10239 * fns.c (remassq_no_quit):
10240 * fns.c (Fremrassoc):
10241 * fns.c (Fremrassq):
10242 * fns.c (remrassq_no_quit):
10244 * fns.c (Fplist_get):
10245 * fns.c (Fplist_put):
10246 * fns.c (Fplist_remprop):
10247 * fns.c (Fplist_member):
10248 * fns.c (Flax_plist_get):
10249 * fns.c (Flax_plist_put):
10250 * fns.c (Flax_plist_remprop):
10251 * fns.c (Flax_plist_member):
10253 * fns.c (Fold_equal):
10254 * fns.c (Frequire):
10255 * fns.c (Fbase64_encode_region):
10256 * fns.c (Fbase64_encode_string):
10257 * fns.c (Fbase64_decode_region):
10259 * frame.c (frame_matches_frame_spec):
10260 * frame.c (device_matches_device_spec):
10261 * frame.c (next_frame):
10262 * frame.c (previous_frame):
10263 * frame.c (Fnext_frame):
10264 * frame.c (Fprevious_frame):
10265 * frame.c (Fframe_property):
10266 * frame.c (Fset_frame_height):
10267 * frame.c (Fset_frame_size):
10271 * glyphs.c (decode_error_behavior_flag):
10272 * glyphs.c (Fmake_image_instance):
10273 * indent.c (Findent_to):
10274 * intl.c (Fignore_defer_gettext):
10275 * keymap.c (Fkeymapp):
10276 * keymap.c (Flookup_key):
10278 * lread.c (Fload_internal):
10279 * lread.c (Feval_buffer):
10280 * lread.c (Feval_region):
10281 * macros.c (Fexecute_kbd_macro):
10282 * marker.c (set_marker_internal):
10283 * marker.c (Fset_marker):
10284 * marker.c (set_marker_restricted):
10285 * marker.c (Fcopy_marker):
10286 * marker.c (noseeum_copy_marker):
10288 * menubar.c (Fpopup_menu):
10290 * mule-charset.c (Fcharset_name):
10291 * mule-charset.c (Fchar_charset):
10292 * mule-charset.c (Fchar_octet):
10293 * mule-charset.c (Fsplit_char):
10294 * mule-wnnfns.c (Fwnn_open):
10295 * mule-wnnfns.c (Fwnn_dict_comment):
10296 * mule-wnnfns.c (Fwnn_quit_henkan):
10297 * mule-wnnfns.c (Fwnn_word_toroku):
10298 * mule-wnnfns.c (Fwnn_word_sakujo):
10299 * mule-wnnfns.c (Fwnn_word_use):
10300 * mule-wnnfns.c (Fwnn_hindo_set):
10302 * objects.c (Fmake_color_instance):
10303 * objects.c (Fmake_font_instance):
10304 * print.c (Fwrite_char):
10306 * process.c (mark_process):
10307 * process.c (print_process):
10308 * process.c (get_process_from_usid):
10309 * process.c (Fprocessp):
10310 * process.c (Fprocess_live_p):
10311 * process.c (Fget_process):
10312 * process.c (Fget_buffer_process):
10313 * process.c (get_process):
10314 * process.c (Fprocess_id):
10315 * process.c (Fprocess_name):
10316 * process.c (Fprocess_command):
10317 * process.c (init_process_io_handles):
10318 * process.c (start_process_unwind):
10319 * process.c (Fstart_process_internal):
10320 * process.c (Fopen_multicast_group_internal):
10321 * process.c (Fset_process_window_size):
10322 * process.c (read_process_output):
10323 * process.c (send_process):
10324 * process.c (Fprocess_tty_name):
10325 * process.c (Fset_process_buffer):
10326 * process.c (Fprocess_buffer):
10327 * process.c (Fprocess_mark):
10328 * process.c (set_process_filter):
10329 * process.c (Fset_process_filter):
10330 * process.c (Fprocess_filter):
10331 * process.c (Fprocess_send_region):
10332 * process.c (Fprocess_send_string):
10333 * process.c (exec_sentinel):
10334 * process.c (Fset_process_sentinel):
10335 * process.c (Fprocess_sentinel):
10336 * process.c (status_notify):
10337 * process.c (Fprocess_status):
10338 * process.c (Fprocess_exit_status):
10339 * process.c (process_send_signal):
10340 * process.c (Fprocess_send_eof):
10341 * process.c (deactivate_process):
10342 * process.c (remove_process):
10343 * process.c (Fdelete_process):
10344 * process.c (kill_buffer_processes):
10345 * process.c (Fprocess_kill_without_query):
10346 * process.c (Fprocess_kill_without_query_p):
10348 * rangetab.c (Fget_range_table):
10349 * rangetab.c (Fput_range_table):
10350 * rangetab.c (Fremove_range_table):
10351 * rangetab.c (Fclear_range_table):
10353 * search.c (Fskip_chars_forward):
10354 * search.c (Fskip_chars_backward):
10355 * search.c (Fskip_syntax_forward):
10356 * search.c (Fskip_syntax_backward):
10357 * search.c (search_command):
10358 * search.c (Freplace_match):
10359 * search.c (Fregexp_quote):
10360 * select.c (Fown_selection_internal):
10361 * select.c (Fselection_owner_p):
10362 * select.c (Fselection_exists_p):
10363 * select.c (Fget_selection_internal):
10366 * symbols.c (Fintern):
10367 * symbols.c (Fintern_soft):
10368 * symbols.c (Funintern):
10369 * symbols.c (Fapropos_internal):
10370 * symbols.c (Fset_default):
10372 * syntax.c (Fsyntax_table_p):
10373 * syntax.c (Fcopy_syntax_table):
10374 * syntax.c (Fset_syntax_table):
10375 * syntax.c (Fchar_syntax):
10376 * syntax.c (syntax_match):
10377 * syntax.c (Fmatching_paren):
10378 * syntax.c (Fforward_word):
10379 * syntax.c (scan_lists):
10380 * syntax.c (Fscan_lists):
10381 * syntax.c (Fscan_sexps):
10382 * syntax.c (Fparse_partial_sexp):
10383 * toolbar.c (Fcheck_toolbar_button_syntax):
10386 * window.c (Fwindowp):
10387 * window.c (Fwindow_live_p):
10388 * window.c (Fwindow_point):
10389 * window.c (Fdelete_window):
10390 * window.c (Fnext_window):
10391 * window.c (Fprevious_window):
10392 * window.c (Fother_window):
10393 * window.c (window_loop):
10394 * window.c (Fget_lru_window):
10395 * window.c (Fsplit_window):
10396 * window.c (Fenlarge_window):
10397 * window.c (Fenlarge_window_pixels):
10398 * window.c (Fshrink_window):
10399 * window.c (Fshrink_window_pixels):
10400 * window.c (change_window_height):
10401 * window.c (Fwindow_configuration_p):
10402 * window.c (Fcurrent_window_configuration):
10404 * casefiddle.c (casify_object):
10405 * casefiddle.c (Fupcase):
10406 * casefiddle.c (Fdowncase):
10407 * casefiddle.c (Fcapitalize):
10408 * casefiddle.c (Fupcase_initials):
10409 * casefiddle.c (casify_region_internal):
10410 * casefiddle.c (casify_region):
10411 * casefiddle.c (Fupcase_region):
10412 * casefiddle.c (Fdowncase_region):
10413 * casefiddle.c (Fcapitalize_region):
10414 * casefiddle.c (Fupcase_initials_region):
10415 * casefiddle.c (Fupcase_word):
10416 * casefiddle.c (Fdowncase_word):
10417 * casefiddle.c (Fcapitalize_word):
10418 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10419 Replace 0 with '\0' when working with bytes.
10420 Replace initial "(" with "\(" in docstrings.
10422 2000-11-01 Martin Buchholz <martin@xemacs.org>
10424 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10426 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10428 2000-10-31 Martin Buchholz <martin@xemacs.org>
10430 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10432 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10434 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10437 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10439 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10440 (inhibit_auto_save_session): New variable.
10441 (vars_of_fileio): Declare and initialize them.
10442 * fileio.c (Fdo_auto_save): Don't create session file if
10443 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10445 2000-10-31 Martin Buchholz <martin@xemacs.org>
10447 * sgiplay.c (play_internal): C++ compilability.
10448 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10449 * callproc.c (Fold_call_process_internal):
10450 Remove unused vars `env', `first'.
10451 * scrollbar.c (update_scrollbar_instance):
10452 #### unused var `current_window'.
10453 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10454 etc. within #ifdef NOT_YET.
10455 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10456 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10457 * specifier.c (specifier_instance):
10458 #### unused var `tag'.
10459 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10461 2000-10-27 Martin Buchholz <martin@xemacs.org>
10463 * fns.c (Fbutlast):
10464 * fns.c (list_sort):
10465 * fns.c (Ffillarray):
10466 * fns.c (bytecode_nconc2):
10469 * fns.c (Fmapconcat):
10470 Be pedantically 64-bit correct. For the time when someone will
10471 want to have a list with length > 2**32.
10473 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10474 Work around MIPSpro compiler bug.
10476 * process-unix.c (unix_kill_child_process): Add snarky comment.
10477 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10479 * config.h.in: Oops, _getpt ==> _getpty
10481 2000-10-26 Martin Buchholz <martin@xemacs.org>
10485 Use void*, not char*, as return type of alloca().
10487 * alloc.c (free_marker): Side effect inside assert expression!
10489 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10491 * mule-charset.c (Fset_charset_ccl_program): To check
10492 if the given ccl program is valid, use setup_ccl_program()
10493 instead of CHECK_VECTOR().
10494 (Fmake_charset): Likewise.
10496 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10498 * faces.c (get_extent_fragment_face_cache_index):
10499 Fix cachel.merged_faces memory leak.
10501 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10503 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10504 Reset MSB of octets obtained by DECODE_SJIS
10505 because of the incompatibility with Emacs.
10506 (ccl_driver)<CCL_ENCODE_SJIS>:
10507 Set MSB of octets before passing them to
10508 ENCODE_SJIS because of the incompatibility
10511 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10513 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10514 (DECLARE_LRECORD): Undo the last change.
10515 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10517 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10519 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10520 the implementation to lrecord_implementations_table.
10522 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10524 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10525 initial value of `lrecord_type_##c_name' and
10526 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10527 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10528 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10529 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10530 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10532 2000-10-17 Martin Buchholz <martin@xemacs.org>
10534 * miscplay.c (sndcnv8S_2mono):
10535 (sndcnv2monounsigned):
10536 (sndcnvULaw_2linear):
10538 Remove implementation-defined behavior.
10540 2000-10-12 Martin Buchholz <martin@xemacs.org>
10542 * input-method-xlib.c: Warning suppression.
10544 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10546 * mule-ccl.c: Sync up with Emacs 21.0.90.
10547 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10549 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10551 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10552 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10553 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10554 leading char belongs to official 2-dimensional charset.
10555 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10556 write the given character as is. Otherwise,
10557 if it is a multibyte char, convert it by
10558 non_ascii_set_charptr_emchar, then write it.
10559 (CCL_WRITE_STRING): Likewise.
10560 (ccl_get_compiled_code): New function.
10561 (setup_ccl_program): When ccl_prog is invalid,
10563 (Fregister_code_conversion_map): New function.
10564 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10566 * mule-ccl.h: Sync up with Emacs 21.0.90.
10567 (Fregister_ccl_program): export it.
10569 * redisplay-msw.c (separate_textual_runs):
10570 If ccl program is not valid, don't do ccl conversion.
10572 * redisplay-x.c (separate_textual_runs): Ditto.
10574 * file-coding.c (Fmake_coding_system):
10575 When type is ccl and value is vector, register it
10576 with a proper symbol. And checks whether the
10577 given ccl program is valid.
10578 (mule_decode): When calling ccl_driver, if src indicates
10579 NULL pointer, set an empty string instead.
10580 (mule_encode): Likewise.
10582 2000-10-11 Martin Buchholz <martin@xemacs.org>
10584 The following large batch of changes gets us back to a state of
10585 C++ compilability. Extbyte is now a char, which means that
10586 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10588 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10590 * sound.c (Fplay_sound): Type correctness.
10592 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10593 (x_get_window_property): Type correctness.
10594 (receive_incremental_selection): unsigned char ==> Extbyte
10595 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10596 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10597 (Fx_store_cutbuffer_internal): Type correctness.
10599 * process-unix.c (try_to_initialize_subtty): Type correctness.
10601 * objects-x.c (x_print_color_instance): Type correctness.
10602 (x_print_font_instance): Type correctness.
10603 (x_list_fonts): SExtbyte ==> Extbyte.
10604 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10605 (x_find_charset_font): SExtbyte ==> Extbyte.
10606 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10607 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10608 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10609 Use bufbyte_strcmp.
10611 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10612 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10613 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10614 (BYTE_C0_P): Use bit ops for char-signedness safety.
10615 (BYTE_C1_P): Use bit ops for char-signedness safety.
10616 (CHARSET_BY_LEADING_BYTE):
10617 (CHARSET_BY_ATTRIBUTES):
10618 Always use inline function.
10619 Use type_checking_assert.
10622 * mule-charset.c (non_ascii_charptr_copy_char):
10623 Modify to work with both ASCII and non-ASCII characters.
10624 Improve docs and variable names.
10625 Replace over-clever fall-through switch with a simple loop.
10626 (Lstream_get_emchar_1):
10627 Replace over-clever fall-through switch with a simple loop.
10629 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10630 Warning suppression.
10632 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10633 the return value of Lstream_getc, which could be EOF as well.
10635 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10637 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10638 APIs can be used on Extbytes without casts. Risky!
10639 (SExtbyte): Remove.
10640 (UExtbyte): Remove.
10642 * input-method-xlib.c (XIM_init_device):
10643 Use Xlib.h instead of IntrinsicP.h.
10644 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10645 which will break in X11R7.
10646 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10647 to call XRegisterIMInstantiateCallback with correct types.
10649 * gui-x.c (button_item_to_widget_value): Type correctness.
10651 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10653 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10654 (xbm_instantiate_1): Type correctness.
10655 (BUILD_GLYPH_INST): Type correctness.
10657 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10660 (decode_coding_sjis):
10661 (decode_coding_big5):
10662 (decode_coding_ucs4):
10663 (decode_coding_utf8):
10664 (decode_coding_iso2022):
10665 (decode_coding_no_conversion):
10666 Make all decoding functions take an Extbyte * arg.
10667 (encode_coding_sjis):
10668 (encode_coding_big5):
10669 (encode_coding_ucs4):
10670 (encode_coding_utf8):
10671 (encode_coding_iso2022):
10672 (encode_coding_no_conversion):
10673 Make all encoding functions take a Bufbyte * arg.
10674 Use size_t instead of unsigned int for memory sizes.
10675 Only cast to unsigned char whenever dereferencing Extbyte *.
10677 * doc.c (unparesseuxify_doc_string): Type correctness.
10679 * console-x.c (split_up_display_spec):
10680 Rewrite without using details of internal string representation.
10681 (x_semi_canonicalize_device_connection): Type correctness.
10684 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10685 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10686 (HAVE_XFREE386): Removed.
10688 * buffer.h (DEC_CHARPTR): `const' correctness.
10689 (bufbyte_strcmp): New.
10690 (bufbyte_memcmp): New.
10692 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10694 * buffer.h (XCHAR_OR_CHAR_INT):
10695 Always use inline function.
10696 Remove redundant type checking assert() - XINT will abort quite nicely.
10698 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10700 * search.c (Freplace_match): Set newtext to an empty string.
10702 2000-10-10 Martin Buchholz <martin@xemacs.org>
10704 * s/decosf1-3.h: Remove #include of stropts.h
10705 * s/ptx.h: Remove #include of stropts.h
10706 * s/usg5-4.h: Remove #include of stropts.h
10709 Use stropts.h, not sys/stropts.h.
10710 Use strtio.h, not sys/strtio.h.
10712 2000-10-04 Martin Buchholz <martin@xemacs.org>
10714 * XEmacs 21.2.36 is released.
10716 2000-09-21 Andy Piper <andy@xemacs.org>
10718 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10719 changes still involve copying the widget tree.
10720 (update_widget_face): make sure a change is register in the widget
10721 tree. Call update_tab_widget_face appropriately.
10722 (update_tab_widget_face): ditto.
10723 (x_tab_control_redisplay): make sure non-structural changes still
10724 involve copying the widget tree.
10726 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10728 * lread.c (locate_file): Check the path element is non-nil.
10730 2000-10-02 Martin Buchholz <martin@xemacs.org>
10732 * lisp.h: Warning suppression for SCO compilers.
10734 * redisplay-tty.c (reset_tty_modes): Fix crash.
10735 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10737 2000-09-27 Martin Buchholz <martin@xemacs.org>
10739 Big signal/process handling overhaul. Bugs fixed:
10740 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10741 M-x comint-kill-subjob should work for both values nil and t of
10742 process-connection-type. It was broken on most platforms.
10743 Testing on Irix and Cygwin still needed. Other plaforms tested.
10744 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10745 * process-unix.c: Signal/Process handling overhaul.
10746 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10747 (allocate_pty): Use all available modern methods of allocating
10748 ptys, falling back to old style BSD allocation as a last resort.
10749 Use allegedly more secure Unix98 pty allocation by default.
10750 (allocate_pty_the_old_fashioned_way): New. the last resort.
10751 (unix_create_process): Push ptem, ldterm, ttcompat where
10752 available. Autoconfiscate.
10753 (try_to_initialize_subtty): New.
10754 (unix_kill_child_process): Proper signal handling for ptys on most
10755 platforms, using special knowledge of AIX, BSD, etc...
10756 (unix_create_process): Always disconnect_controlling_terminal() for
10757 subprocesses, whether using ptys or not.
10758 * process.h: Remove old getpt-dependent PTY code.
10759 * process.c (Fprocess_send_signal): New, obvious generic function.
10760 (decode_signal): New.
10761 (Finterrupt_process):
10765 (Fcontinue_process):
10766 (Fsignal_process): Use decode_signal.
10767 (process_send_signal):
10768 Many docstring corrections.
10769 Allow any signal to be sent to a process object.
10770 * config.h.in: Add symbols for big signal/process overhaul.
10771 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10772 * sysproc.h: Include process-related headers, where available:
10773 sys/stropts.h sys/strtio.h pty.h libutil.h
10781 Remove old S&M pty stuff.
10782 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10783 * systty.h: Simplify cpp hackery, improve comments.
10784 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10786 * editfns.c (Fformat_time_string):
10787 Be a little more paranoid with the return value of ctime.
10789 * fileio.c (check_executable):
10791 Use symbolic constants X_OK, W_OK.
10793 * console-x.c (split_up_display_spec): Fix a warning.
10795 2000-10-02 Martin Buchholz <martin@xemacs.org>
10797 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10798 * ntproc.c (sys_spawnve): make_string ==> build_string
10799 Small clarity improvements.
10801 2000-09-30 Martin Buchholz <martin@xemacs.org>
10803 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10805 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10807 * config.h.in (HAVE_STRCASECMP): Remove.
10809 2000-09-29 Martin Buchholz <martin@xemacs.org>
10811 * redisplay-output.c (redisplay_output_pixmap):
10812 Cleaner and possibly more 64-bit correct code.
10814 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10816 * dumper.c (pdump_load_finish): move restoration of
10817 `noninteractive1' to emacs.c (main_1).
10818 * emacs.c (main_1): protect LISP-visible command-line flags
10821 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10823 * Makefile.in.in (versionclean): Use EXE_TARGET and
10824 DUMP_TARGET instead of literal program names.
10826 2000-09-20 Martin Buchholz <martin@xemacs.org>
10828 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10830 2000-09-19 Martin Buchholz <martin@xemacs.org>
10832 * *: Spelling mega-patch
10834 2000-09-19 Martin Buchholz <martin@xemacs.org>
10836 * fns.c (bad_bad_turtle):
10837 Delete "Eek!" comment, since we fixed the bug to which it refers.
10839 2000-09-16 Martin Buchholz <martin@xemacs.org>
10841 * alloca.c: Replace REGISTER with register.
10843 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10845 * file-coding.c (ucs_to_char): Use countof.
10847 2000-09-16 Martin Buchholz <martin@xemacs.org>
10849 * file-coding.c: (ucs_to_char):
10850 (complex_vars_of_file_coding):
10851 Use countof instead of sizeof.
10852 Use CHECK_NATNUM instead of CHECK_INT.
10854 * sysdep.c (strcasecmp): Remove.
10855 * device-x.c (ascii_strcasecmp): New.
10856 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10857 Avoid using non-standard non-portable strcasecmp.
10859 2000-09-16 Martin Buchholz <martin@xemacs.org>
10861 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10862 * font-lock.c: remove reference to emacsfns.h.
10863 * search.c: small doc improvement.
10864 * event-Xt.c: correct file names in comments.
10865 * console-x.h Correct file names in comments.
10866 * frame.c: Correct file names in comments.
10867 * event-stream.c: remove Energize from comments.
10869 2000-09-15 Martin Buchholz <martin@xemacs.org>
10871 * symeval.h (DEFERROR_STANDARD):
10874 (DEFSYMBOL_NO_DUMP):
10875 (DEFSYMBOL_MULTIWORD_PREDICATE):
10876 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10878 The construct &##name is not sensible C.
10879 Fixes compilation errors with Unixware native compiler.
10881 2000-09-14 Martin Buchholz <martin@xemacs.org>
10883 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10884 (next_frame_internal): Removed. We now just have next_frame.
10886 Write a simpler and cleaner one-pass algorithm.
10887 Remove called_from_delete_device arg and #ifdefed-out code.
10889 Renamed from prev_frame. Update callers.
10890 Cleaned up to have an analogous implementation to next_frame.
10891 (other_visible_frames_internal): Remove the
10892 called_from_delete_device bogus arg, and hence, remove this
10893 function. Just use other_visible_frames().
10895 * window.c (Fnext_window):
10896 Prettify docstring.
10897 Since next_frame() is guaranteed to return a frame, remove check
10898 for nil inserted in previous patch.
10899 (Fprevious_window):
10900 Prettify docstring.
10901 Make code look more like Fnext_window.
10903 Respect the `console' arg when iterating through windows.
10904 Fixes bug: (get-buffer-window buffer t device) not respecting
10906 This function needs more work, as others have pointed out.
10908 * frame.h: Rename prev_frame to previous_frame.
10909 device_matches_console_spec no longer takes a `frame' arg.
10914 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10915 From "Golubev I. N." <gin@mo.msk.ru>.
10917 * make-src-depend: Fix typo.
10919 2000-09-13 Martin Buchholz <martin@xemacs.org>
10921 * window.c (Fnext_window):
10922 next_frame() might return nil, not a frame.
10924 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10926 * frame.c (next_frame_internal):
10927 We've passed a frame if we've passed its device.
10929 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10930 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10932 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10934 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10935 Allow option to suppress accelerators in menu/dialog items.
10936 (populate_or_checksum_helper): Pass dialog title through above.
10938 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10940 * event-msw.c (mswindows_key_to_emacs_keysym):
10941 Add "pause" key, fix "menu" key.
10943 2000-09-09 Martin Buchholz <martin@xemacs.org>
10945 * eval.c (reinit_vars_of_eval):
10946 Increase max_lisp_eval_depth to 1000,
10947 required for thai-xtis.el to byte-compile under some circumstances.
10949 2000-09-04 Martin Buchholz <martin@xemacs.org>
10951 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10952 From Kenichi Handa.
10954 2000-09-01 Martin Buchholz <martin@xemacs.org>
10956 * make-src-depend: Make the generated Makefiles smaller.
10958 * s/hpux.h (SETUP_SLAVE_PTY):
10959 Provide a %d in the format string for the errno argument.
10961 * editfns.c (Ftemp_directory):
10963 Avoid buffer overrun on very long file name.
10965 * input-method-xlib.c (XIM_init_device):
10966 6th parameter of XRegisterIMInstantiateCallback has different
10967 pointer types on different OSes, so simply cast to (void *).
10969 * unexhp9k800.c: Warning fixes. Fiddly changes.
10971 * sysdll.c (dll_open):
10972 shl_load will hang hard if passed a NULL filename.
10973 Simply return NULL for compatibility with dlopen.
10974 * sysdll.c: Conform to XEmacs coding standards.
10976 * sysdep.c (get_pty_max_bytes):
10977 Support pty input lines longer than 512 bytes on HP-UX 10.20.
10979 2000-08-31 Martin Buchholz <martin@xemacs.org>
10981 * tooltalk.c: Add #include <syssignal.h>
10983 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
10985 * s/hpux.h: Don't use undefined function sigunblock().
10987 2000-08-31 Martin Buchholz <martin@xemacs.org>
10989 * config.h.in: Add HAVE_BALLOON_HELP.
10990 * emacs.c: Use HAVE_BALLOON_HELP.
10991 * Makefile.in.in (x_objs):
10992 Make Balloon Help conditional on finding shape.h.
10994 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
10996 * syntax.c (regex_emacs_buffer_p): New variable.
10997 * syntax.h (regex_emacs_buffer_p): extern.
10998 * search.c (looking_at_1):
11000 (fast_string_match):
11001 (search_buffer): Set regex_emacs_buffer_p.
11002 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11003 when before_dot, at_dot, after_dot.
11005 2000-08-23 Andy Piper <andy@xemacs.org>
11007 * gui-x.c (popup_selection_callback): Only set action_occurred
11008 when we really have an image instance.
11009 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11011 2000-08-23 Andy Piper <andy@xemacs.org>
11013 * gui-msw.c (mswindows_handle_gui_wm_command): set
11015 * gui-x.c (popup_selection_callback): ditto.
11017 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11018 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11019 (struct Lisp_Image_Instance): add action_occurred flag.
11021 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11022 (image_instance_changed): ditto.
11023 (reset_frame_subwindow_instance_cache): only unmap windows - do
11024 not remove them from the cache also.
11026 * glyphs-widget.c (tab_control_update): better debug.
11027 (progress_gauge_update): ditto.
11028 (layout_update): ditto.
11029 (layout_instantiate): ditto.
11030 (tab_control_order_only_changed): cope with null pending items.
11032 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11033 debug. Force selection of an item when an action occurred. Cope
11034 with null pending_items.
11035 (mswindows_progress_gauge_redisplay): better debug.
11036 * glyphs-x.c (x_tab_control_redisplay): ditto.
11038 * redisplay.c (redisplay_frame): reset the frame cache if the
11041 * window.c (Fset_window_configuration): potentially re-enable
11043 (window_unmap_subwindows): need to finalize instances here since
11044 it is only used in mark_window_as_deleted.
11046 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11048 * nas.c (SndOpenDataForReading):
11049 nas.c (WaveOpenDataForReading):
11050 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11051 Somehow escaped from the 2000-08-14 patch.
11053 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11055 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11056 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11058 2000-08-21 Andy Piper <andy@xemacs.org>
11060 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11061 window if it is not already displayed.
11063 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11064 it is not already displayed.
11066 * window.c (Fset_window_configuration): don't reset the frame
11069 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11070 instances from the frame cache if we are actually finalizing them.
11071 (reset_frame_subwindow_instance_cache): reset frame cache only
11072 after unmapping everything.
11073 (map_subwindow): set displayed flag after mapping.
11075 2000-08-21 Martin Buchholz <martin@xemacs.org>
11077 * data.c (indirect_function):
11078 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11080 * eval.c (function_argcount):
11081 Use original function when signaling errors.
11083 2000-08-18 Andy Piper <andy@xemacs.org>
11085 * frame.c (delete_frame_internal): use new
11086 free_frame_subwindow_instances name.
11088 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11089 (add_tab_item): make return type correct.
11090 (mswindows_tab_control_instantiate): assert index of tab.
11091 (mswindows_tab_control_redisplay): Re-code to use
11092 gui_item_equal_sans_selected and gui_item_list_find_selected.
11094 * glyphs-widget.c (tab_control_update): Correct comment.
11096 * window.c (window_unmap_subwindows): use new
11097 unmap_subwindow_instance_cache_mapper.
11098 (window_unmap_subwindows_cache_mapper): deleted.
11099 (Fset_window_configuration): comparisons should now be with
11100 EQ. Preserve the subwindow instance cache across configuration
11102 (allocate_window): ditto.
11103 (make_dummy_parent): ditto.
11105 * glyphs.c (free_frame_subwindow_instances): rename from
11106 free_frame_subwindow_instance_cache. finalize all instances rather
11107 than just those in the display cache.
11108 (finalize_all_subwindow_instances): walk windows unmapping and
11109 finalizing subwindows.
11110 (unmap_subwindow_instance_cache_mapper): moved from
11111 window.c. Allow finalization as well as unmapping.
11113 * gui.c (gui_item_list_find_selected): new function.
11115 * gui.h (gui_item_list_find_selected): declare.
11117 * glyphs-x.c (x_tab_control_redisplay): pick tab
11118 explicitly. Re-code to use gui_item_equal_sans_selected and
11119 gui_item_list_find_selected.
11121 * glyphs-x.h: add lwlib-utils.h
11123 * buffer.c (Frecord_buffer): undo previous change.
11125 2000-08-09 Vin Shelton <acs@xemacs.org>
11127 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11128 possible. Create temporary files more securely. The patch was
11129 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11130 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11131 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11134 2000-08-07 Ben Wing <ben@xemacs.org>
11136 * getloadavg.c: remove duplicate (and windows-breaking)
11137 includes of fcntl.h and sys/file.h.
11139 * nt.c: remove duplicate getloadavg() definition.
11141 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11144 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11146 * eval.c (function_argcount): If function needs to be autoloaded
11147 actually use the loaded definition.
11150 2000-08-05 Ben Wing <ben@xemacs.org>
11152 * getloadavg.c: add prototype for getloadavg(). remove
11153 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11154 of the code). remove duplicate header includes.
11156 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11158 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11159 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11160 useful load average.
11162 * alloc.c (reinit_alloc_once_early): removed references to
11163 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11164 the lisp vars are the only things referencing the malloc_sbrk_*
11165 vars, and they were already if 0'd out. these vars only exist
11166 in the older malloc.c, which is basically unused, and they're
11167 only for informational purposes.
11169 * m\*.h: removed useless VIRT_ADDR_VARIES.
11171 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11173 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11175 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11176 color if the image is a mono pixmap.
11178 2000-07-30 Ben Wing <ben@xemacs.org>
11180 * Makefile.in.in (release):
11183 * buffer.c (directory_is_current_directory):
11184 * dired-msw.c (mswindows_get_files):
11186 * dired.c (Fdirectory_files):
11187 * dired.c (file_name_completion_stat):
11188 * dired.c (Ffile_attributes):
11189 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11190 preprocessor tricks, to avoid problems on some machines
11193 * callproc.c (egetenv): GC docs.
11196 * console-msw.h (struct mswindows_dialog_id):
11197 * lrecord.h (lrecord_type):
11198 New object for use with MSW dialogs.
11200 * console.h (struct console_methods):
11201 New enable/disable frame methods, for proper modal dialogs.
11203 * device-msw.c (msprinter_default_printer): Fix to follow
11204 proper Mule conventions.
11207 * device-msw.c (signal_open_printer_error):
11208 * device-msw.c (msprinter_init_device):
11209 * device-msw.c (ensure_not_printing):
11210 * device-msw.c (plist_get_margin):
11211 * device-msw.c (Fmsprinter_select_settings):
11212 * device-msw.c (finalize_devmode):
11213 * device-msw.c (Fmsprinter_settings_despecialize):
11214 * device-msw.c (signal_enum_priner_error):
11215 * extents.c (decode_extent):
11216 * extents.c (decode_map_extents_flags):
11217 * extents.c (decode_extent_at_flag):
11218 * extents.c (Fextent_at):
11219 * extents.c (Fextents_at):
11220 * extents.c (symbol_to_glyph_layout):
11221 [[[[2]]]] Use structured errors.
11224 * dialog-msw.c (mswindows_is_dialog_msg):
11225 * dialog-msw.c (mark_mswindows_dialog_id):
11226 * dialog-msw.c (dialog_proc):
11227 * dialog-msw.c (handle_question_dialog_box):
11228 * dialog-msw.c (syms_of_dialog_mswindows):
11229 Define new object to clean up marking; use it as a dialog identifier.
11230 Call new delete-dialog-box-hook.
11232 * dialog-x.c (dbox_selection_callback):
11233 * dialog-x.c (dbox_descriptor_to_widget_value):
11234 * dialog-x.c (x_make_dialog_box_internal):
11235 Call new delete-dialog-box-hook.
11239 * dialog.c (syms_of_dialog):
11240 * dialog.c (vars_of_dialog):
11241 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11244 * eval.c (signal_call_debugger):
11245 when noninteractive, output stack traces on the console instead
11246 of in a (never-seen) buffer.
11248 * eval.c (signal_type_error):
11249 * eval.c (invalid_argument_2):
11251 new funs for use w/structured errors.
11254 * event-Xt.c (x_to_emacs_keysym):
11255 * event-Xt.c (describe_event):
11256 * event-Xt.c (emacs_Xt_event_handler):
11257 * event-Xt.c (vars_of_event_Xt):
11259 * event-msw.c (mswindows_wnd_proc):
11260 * event-msw.c (vars_of_event_mswindows):
11261 rename {x,mswindows}-debug-events to debug-{}-events for
11262 consistency with other debug-foo variables.
11265 document next-event more clearly.
11267 * fileio.c (Ffile_name_directory):
11268 * fileio.c (Ffile_name_nondirectory):
11269 * fileio.c (Funhandled_file_name_directory):
11270 * fileio.c (file_name_as_directory):
11271 * fileio.c (Ffile_name_as_directory):
11272 * fileio.c (directory_file_name):
11273 * fileio.c (Fdirectory_file_name):
11274 * fileio.c (Fmake_temp_name):
11275 * fileio.c (Ffile_truename):
11276 * fileio.c (Fsubstitute_in_file_name):
11277 * fileio.c (expand_and_dir_to_file):
11278 * fileio.c (barf_or_query_if_file_exists):
11279 * fileio.c (check_executable):
11280 * fileio.c (Ffile_exists_p):
11281 * fileio.c (Ffile_writable_p):
11282 * fileio.c (Ffile_directory_p):
11283 * fileio.c (Ffile_regular_p):
11284 * fileio.c (Ffile_modes):
11285 * fileio.c (Ffile_newer_than_file_p):
11286 * fileio.c (Fverify_visited_file_modtime):
11287 * fileio.c (Fset_visited_file_modtime):
11288 * fileio.c (auto_save_1):
11293 * frame-msw.c (mswindows_init_frame_1):
11294 * frame-msw.c (mswindows_enable_frame):
11295 * frame-msw.c (error_frame_unsizable):
11296 * frame-msw.c (msprinter_init_frame_1):
11297 * frame-msw.c (msprinter_init_frame_3):
11298 * frame-msw.c (console_type_create_frame_mswindows):
11300 implement new enable/disable frame methods.
11303 * frame-x.c (x_enable_frame):
11304 * frame-x.c (console_type_create_frame_x):
11305 implement new enable/disable frame methods.
11308 * frame.c (Fdisable_frame):
11309 * frame.c (syms_of_frame):
11310 * frame.h (struct frame):
11311 implement new enable/disable frame methods/functions.
11316 * glyphs-msw.c (mswindows_widget_instantiate):
11317 comment that initial-focus should be implemented.
11320 * glyphs-widget.c (check_valid_instantiator):
11321 * glyphs-widget.c (check_valid_orientation):
11322 * glyphs-widget.c (check_valid_tab_orientation):
11323 * glyphs-widget.c (check_valid_justification):
11324 * glyphs-widget.c (check_valid_border):
11325 * glyphs-widget.c (check_valid_callback):
11326 * glyphs-widget.c (check_valid_int_or_function):
11327 * glyphs-widget.c (check_valid_string_or_vector):
11328 * glyphs-widget.c (check_valid_item_list_1):
11329 * glyphs-widget.c (widget_validate):
11330 * glyphs-widget.c (combo_box_validate):
11331 * glyphs-widget.c (widget_instantiate):
11332 * glyphs-widget.c (syms_of_glyphs_widget):
11333 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11334 * glyphs-widget.c (image_instantiator_combo_box):
11335 * glyphs-widget.c (image_instantiator_scrollbar):
11336 * glyphs-widget.c (image_instantiator_tab_control):
11337 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11339 support (unimplemented) keyword initial-focus.
11340 reindent long macros.
11342 * glyphs-x.c (x_redisplay_widget):
11343 * glyphs-x.c (x_button_instantiate):
11344 * glyphs-x.c (x_button_redisplay):
11345 * glyphs-x.c (x_progress_gauge_instantiate):
11346 * glyphs-x.c (x_edit_field_instantiate):
11347 * glyphs-x.c (x_combo_box_instantiate):
11348 * glyphs-x.c (x_tab_control_instantiate):
11349 * glyphs-x.c (x_label_instantiate):
11351 * gui-x.c (button_item_to_widget_value):
11352 * gui-x.c (gui_items_to_widget_values_1):
11353 * gui-x.c (gui_item_children_to_widget_values):
11354 * gui-x.c (gui_items_to_widget_values):
11356 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11357 add new flag to gui-parsing routines to indicate whether
11358 accelerator specs should be supported.
11360 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11362 * glyphs.h (struct Lisp_Image_Instance):
11363 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11364 add initial-focus flag.
11367 * gui.c (syms_of_gui):
11368 * gui.c (vars_of_gui):
11369 clean up menu-no-selection-hook.
11372 support delete-dialog-box-hook.
11374 * lread.c (Fload_internal):
11375 * lread.c (locate_file_in_directory_mapper):
11379 * lrecord.h (struct toolbar_button):
11380 * lrecord.h (syms_of_toolbar):
11381 document how to create a new object.
11383 * menubar-msw.c (mswindows_char_is_accelerator):
11384 may be called on frames w/o menus.
11386 * menubar.c (vars_of_menubar):
11387 clean up :filter docs.
11394 * process-nt.c (validate_signal_number):
11395 * process-nt.c (signal_cannot_launch):
11396 * process-nt.c (nt_create_process):
11397 * process-nt.c (nt_send_process):
11398 * process-nt.c (nt_kill_child_process):
11399 * process-nt.c (nt_open_network_stream):
11400 * process-nt.c (syms_of_process_nt):
11402 delete quote-handling. call new lisp code that does it better.
11404 * process-unix.c (connect_to_file_descriptor):
11405 * process-unix.c (allocate_pty):
11406 * process-unix.c (unix_send_process):
11407 * process-unix.c (unix_kill_child_process):
11408 * process-unix.c (unix_open_network_stream):
11409 * process-unix.c (unix_open_multicast_group):
11413 * process.c (Fstart_process_internal):
11414 (2). need to canonicalize process path even if absolute.
11416 * select-msw.c (symbol_to_ms_cf):
11417 * select-msw.c (ms_cf_to_symbol):
11418 * select-msw.c (cf_is_autofreed):
11419 * select-msw.c (mswindows_destroy_selection):
11421 * select.c (syms_of_select):
11423 support dibv5, fix bugs. (from Mike Alexander)
11425 * select.c (Fget_selection_internal):
11426 * select.c (select_convert_out):
11429 * sysdep.c (xemacs_stat):
11432 * sysdep.c (mkdir):
11433 * sysdep.c (rmdir):
11434 but keep original stat() here because we provide encapsulation
11438 * sysfile.h (fstat):
11439 remove stat garbage.
11442 fix X/MSW conflict.
11443 don't include tchar.h. it's inappropriate because it makes
11444 compile-time distinctions when we want runtime distinctions.
11445 (we provide our own tchar replacements)
11448 use default object printer for toolbar-button.
11451 make sure we don't encapsulate.
11453 * window.c (vars_of_window):
11454 emphasize that temp-buffer-show-hook is obsolete.
11456 2000-08-05 Martin Buchholz <martin@xemacs.org>
11458 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11459 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11461 * events.c (Fevent_timestamp_lessp):
11462 Not 64-bit clean. Use EMACS_INT, not int.
11464 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11466 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11467 unsigned int and changed the last enum to
11468 lrecord_type_last_built_in_type.
11469 (lrecord_implementations_table): changed prototype to know how
11470 long the array is supposed to be.
11471 (lrecord_type_count): new unsigned int to keep track of the
11472 current number of lisp lrecord types.
11473 (DEFINE_EXTERNAL_LRECORD):
11474 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11475 dynamic-modules to declare new lisp types. They are the same
11476 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11477 int for each new type, and increment lrecord_type_count by 1.
11479 * alloc.c (lrecord_implementations_table): Changed to reference
11480 lrecord_type_last_built_in_type for the size of the array.
11481 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11483 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11485 * glyphs.h (check_valid_item_list): Renamed from
11486 check_valid_item_list_1.
11488 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11490 * select.c (Qselect_coerce): New.
11491 * select.c (Vselection_coercion_alist): New.
11492 * select.c (syms_of_select): Declare.
11493 * select.c (get-selection-internal): Use it.
11494 Use the new select-coerce functionality.
11496 * select.c (select_coerce): New.
11497 * select.h (select_coerce): Declare.
11498 New function to coerce one type of data into another.
11500 2000-08-03 Martin Buchholz <martin@xemacs.org>
11502 * callproc.c (Fcall_process_internal):
11503 (Fcall_process_internal):
11504 * process-unix.c (unix_create_process):
11505 Save and restore the value of errno, so that error messages are accurate.
11507 2000-08-01 Martin Buchholz <martin@xemacs.org>
11509 * elhash.c (print_hash_table):
11510 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11511 Prettify docstrings and indentation.
11513 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11515 * window.c (Fwindow_pixel_edges): Subtract frame border and
11518 2000-07-31 Andy Piper <andy@xemacs.org>
11520 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11521 will acknowledge the change.
11523 * glyphs.h: declare tab_control_order_only_changed.
11525 * glyphs-x.c (x_tab_control_redisplay): use
11526 tab_control_order_only_changed.
11528 * glyphs-widget.c (tab_control_order_only_changed): new function.
11530 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11531 tab_control_order_only_changed.
11533 * gui.c (gui_item_equal_sans_selected): new function.
11534 (gui_item_equal): use it.
11536 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11537 :properties in favor of :items..
11539 * glyphs-widget.c (check_valid_item_list): rename from
11540 check_valid_item_list_1.
11541 (check_valid_item_list_1): renamed.
11542 (combo_box_validate): deprecate :properties in favor of :items.
11543 (widget_instantiate): ditto.
11544 (tab_control_update): ditto.
11545 (image_instantiator_combo_box): ditto.
11546 (image_instantiator_tree_view): ditto.
11547 (image_instantiator_tab_control): ditto.
11548 (layout_post_instantiate): remove dead code.
11550 * print.c (debug_print_no_newline): only write to debugger if in
11553 * elhash.c (Fmake_hash_table): update doc string.
11555 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11556 messages whilst in GC. This at least stops XEmacs crashing but has
11557 the potential for wierd behaviour.
11559 2000-07-31 Martin Buchholz <martin@xemacs.org>
11562 Make existence of s&m files optional.
11564 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11565 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11566 * s/gnu.h: Remove HAVE_GETLOADAVG.
11567 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11568 * s/sol2.h: Remove HAVE_GETLOADAVG.
11569 * lisp.h: Remove getloadavg() declaration.
11571 Include <sys/loadavg.h> if available.
11572 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11573 * config.h.in: Group together getloadavg()-related macros.
11574 Use only configure-time tests to detect getloadavg().
11576 2000-07-30 Martin Buchholz <martin@xemacs.org>
11578 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11580 2000-07-25 Andy Piper <andy@xemacs.org>
11582 * syswindows.h: add tchar.h for native builds.
11584 * frame.c (syms_of_frame): remove set-glyph-image.
11586 * general-slots.h: add Qset_glyph_image.
11588 * glyphs-widget.c (layout_update): add domain arg to
11590 (syms_of_glyphs_widget): remove set-glyph-image.
11592 2000-07-23 Ben Wing <ben@xemacs.org>
11594 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11597 2000-07-22 Andy Piper <andy@xemacs.org>
11599 * symsinit.h: add syms_of_win32().
11601 * gui-msw.c (syms_of_gui_mswindows): remove
11602 Fmswindows_shell_execute.
11603 (Fmswindows_shell_execute): moved to win32.c.
11605 * emacs.c (main_1): add syms_of_win32 ().
11607 * win32.c (init_potentially_nonexistent_functions): rewrite in
11608 compiler-friendly terms.
11609 (Fmswindows_shell_execute): move here from gui-msw.c.
11610 (syms_of_win32): new.
11612 * device-msw.c (Fmswindows_printer_list): clean up args to
11614 Don't include tchar under cygwin or mingw.
11615 (msprinter_default_printer): make cygwin-friendly.
11617 2000-07-21 Andy Piper <andy@xemacs.org>
11619 * glyphs-widget.c (image_instantiator_tree_view): use tab
11620 control's update function.
11621 (layout_property): new function. Retrieve items.
11623 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11624 function. Re-populate the tree view from the pending items.
11626 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11627 is designated the parent if the domain is an image instance. This
11628 is needed so that dirtiness can be cascade up the hierarchy and
11629 thus for layout children to be redisplayed correctly.
11630 (allocate_image_instance): rename glyph -> parent.
11632 * redisplay.h: change redisplay_output_layout signature.
11634 * redisplay-msw.c (mswindows_output_display_block): use domain
11637 * redisplay-x.c (x_output_display_block): use domain arg.
11639 2000-07-10 Andy Piper <andy@xemacs.org>
11641 * window.c (Fset_window_configuration): add comment.
11643 * redisplay-output.c (compare_runes):
11644 (redisplay_output_subwindow): redisplay rather than update subwindow.
11645 (redisplay_output_layout): ditto.
11647 * redisplay-msw.c (mswindows_frame_output_end):
11648 (mswindows_frame_output_end): make defer window pos optional.
11650 * lisp.h: add Flast.
11652 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11653 normalize method. Change update method to be for changed
11654 instantiators. Add redisplay method. Change signature of layout
11656 (struct Lisp_Image_Instance): add instantiator.
11657 (IMAGE_INSTANCE_INSTANTIATOR): new.
11658 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11659 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11660 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11663 (find_instantiator_differences): new function.
11664 (Fset_instantiator_property): new convenience function.
11665 (check_image_instance_structure): strictly check for vector
11667 (normalize_image_instantiator): make non-static.
11668 (instantiate_image_instantiator): pass on dest_mask and use new
11669 signatures for image_instance_layout and friends.
11670 (mark_image_instance): mark the instantiator. Mark the subwindow
11671 face not the widget face.
11672 (image_instance_equal): add instantiator.
11673 (image_instance_hash): ditto.
11674 (allocate_image_instance): ditto.
11675 (Fset_image_instance_property): removed.
11676 (Fimage_instance_file_name): ditto.
11677 (Fcolorize_image_instance): ditto.
11678 (image_instance_layout): add offsets to be set.
11679 (update_image_instance): new function. update an image instance
11680 from its changed instantiator.
11681 (inherit_normalize): add dest_mask.
11682 (xbm_normalize): ditto.
11683 (xface_normalize): ditto.
11684 (xpm_normalize): ditto.
11685 (text_update): set_property -> update.
11686 (image_instantiate): use the glyph identity as a hash key, not the
11688 (glyph_width): use new image_instance_layout signature.
11689 (glyph_ascent): ditto.
11690 (glyph_descent): ditto.
11691 (glyph_height): ditto.
11692 (glyph_query_geometry): ressurrect.
11693 (glyph_layout): ditto.
11694 (redisplay_subwindow): update -> redisplay.
11695 (syms_of_glyphs): add Fset_instantiator_property.
11696 (image_instantiator_format_create): set_property -> update.
11699 (autodetect_normalize): add dest_maks to signature.
11700 (x_redisplay_subwindow): update -> redisplay.
11701 (x_redisplay_widget): ditto.
11702 (x_button_redisplay): ditto.
11703 (x_progress_gauge_redisplay): ditto.
11704 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11706 (console_type_create_glyphs_x): update -> redisplay.
11707 (image_instantiator_format_create_glyphs_x): ditto.
11710 (check_valid_instantiator): disallow glyphs in the instantiator,
11711 they must now be vectors.
11712 (check_valid_instantiator_list): ditto.
11713 (glyph_instantiator_to_glyph): use internal symbol rather than
11715 (widget_update): renamed from widget_set_property. Call cascaded
11717 (redisplay_widget): renamed from update_widget.
11718 (widget_layout): image_instance_layout now takes position as well
11720 (widget_normalize): ditto.
11721 (widget_instantiate): ditto.
11722 (tab_control_query_geometry) ditto.:
11723 (tab_control_update): renamed from tab_control_set_property.
11724 (progress_gauge_update): set_property -> update.
11725 (layout_normalize): rewrite so that child instantiators are
11727 (layout_update): new function. Create glyphs from the normalized
11728 children and cope with any other layout keywords. We do not
11729 instantiate children here that will be take care of by
11730 redisplay_output_layout.
11731 (layout_instantiate): call layout_update and not much else.
11732 (layout_post_instantiate): not sure whether this is needed
11734 (layout_query_geometry): query glyph geometry rather than
11735 image_instance geometry.
11736 (layout_layout): set offsets from pass in parameters. Use glyph
11737 geometry and layout functions rather than image instance ones.
11738 (native_layout_layout): ditto.
11739 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11740 (image_instantiator_widget): set_property -> update.
11741 (image_instantiator_buttons): ditto.
11742 (image_instantiator_progress_guage): ditto.
11743 (image_instantiator_tab_control): ditto.
11744 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11745 (image_instantiator_layout): add update method.
11747 * glyphs-msw.c (bmp_normalize):
11748 (mswindows_resource_normalize): add dest_mask so that it can be
11749 proprogated by layout_normalize.
11750 (begin_defer_window_pos): make optional because it may not be the
11751 right thing to do and it introduces differences with X.
11752 (mswindows_unmap_subwindow): ditto.
11753 (mswindows_map_subwindow): ditto.
11754 (mswindows_redisplay_subwindow): renamed from
11755 mswindows_update_subwindow.
11756 (mswindows_redisplay_widget): ditto.
11757 (mswindows_button_redisplay): renamed from
11758 mswindows_button_update. Update is now what the instantiation
11759 function does for a changed instantiator.
11760 (mswindows_progress_gauge_instantiate): set the progress value
11761 here if appropriate.
11762 (mswindows_tab_control_redisplay): cope with re-ordering of the
11763 members of the tab widget by simply selecting the new top
11764 widget. This makes things appear ok if you click on a tab.
11765 (mswindows_combo_box_instantiate): image_instance_layout now takes
11766 position as well as size.
11767 (mswindows_progress_gauge_redisplay): renamed from
11768 mswindows_progress_gauge_update.
11769 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11770 (image_instantiator_format_create_glyphs_mswindows): ditto.
11772 * glyphs-eimage.c (jpeg_normalize):
11775 (tiff_normalize): add dest_mask so that it can be proprogated by
11779 (print_hash_table):
11780 (hash_table_weakness_validate):
11781 (decode_hash_table_weakness):
11782 (Fhash_table_weakness):
11783 (Fhash_table_type):
11784 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11786 * console.h (struct console_methods): move update_* to
11789 2000-07-20 Ben Wing <ben@xemacs.org>
11791 * *.[ch] (XSETOBJ): remove unused middle argument.
11792 lisp-disunion.h: correct wrap_object() to one argument.
11794 2000-07-15 Ben Wing <ben@xemacs.org>
11797 * s/cygwin32.h (CYGWIN_CONV_PATH):
11798 Add missing logb prototype for v1.1.
11799 Use post-b20 names and alias to pre-b20 names when pre-b20.
11801 * s/windowsnt.h: [5].
11803 2000-07-15 Ben Wing <ben@xemacs.org>
11805 * Makefile.in.in (x_objs):
11806 * Makefile.in.in (sheap_objs):
11807 * Makefile.in.in (objs):
11808 added win32.o, cosmetic cleanups.
11810 * alloc.c (Fmake_byte_code):
11811 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11812 etc. macros which declare their own args now.
11814 * alloc.c (syms_of_alloc):
11815 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11818 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11820 * buffer.c (Fget_file_buffer):
11821 Fixed GCPRO problem.
11823 * buffer.c (get_truename_buffer):
11824 Fixed comment about GC checking.
11826 * buffer.c (syms_of_buffer):
11827 Undeclared those dedicated frame funs.
11831 Define convenience macros for internal/external conversions.
11832 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11833 and Qenvironment_variable_encoding for cleaner code.
11836 Remove dedicated-frame; in lisp.
11838 * bytecode.c (funcall_compiled_function):
11841 * bytecode.c (syms_of_bytecode):
11845 * console-msw.c (mswindows_show_console): Rewrote.
11847 * console-msw.c (Fmswindows_debugging_output): New.
11848 Sends to OutputDebugString (special MSWin debugger interface).
11850 * console-msw.c (Fmswindows_message_box):
11851 Fixed stupid bugs so it works when called from kill-emacs.
11853 * console-msw.c (syms_of_console_mswindows):
11854 Declare Fmswindows_debugging_output.
11857 New MSWin prototypes.
11859 * console-msw.h (struct mswindows_frame):
11860 New entry last-click-mods for improved button-modifier support.
11862 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11863 New struct entry `popup' with corresponding accessor.
11866 * console-x.c (split_up_display_spec):
11867 * console-x.c (get_display_arg_connection):
11868 * console-x.c (x_semi_canonicalize_console_connection):
11869 * console-x.c (x_canonicalize_device_connection):
11870 [[[6]]]: Change char to more specific type.
11871 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11873 * console-x.c (x_semi_canonicalize_console_connection):
11874 * console-x.c (x_canonicalize_device_connection):
11875 [[[9]]]: Fix up error signalling to use new structured error system.
11878 [[[4]]]: Define codesys aliases:
11879 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11880 Qx_color_name_encoding, Qx_display_name_encoding.
11882 * console.h (struct console_methods):
11883 New method make_dialog_box_internal supersedes older
11884 popup_dialog_box method.
11887 Define many new errors, part of new structured errors.
11889 * data.c (init_errors_once_early):
11890 * data.c (syms_of_data):
11893 * device-msw.c (mswindows_init_device):
11894 [[[5]]]: Cleanup to support NT 3.51.
11896 * device-msw.c (decode_devmode): Cleanup.
11898 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11899 * device-msw.c (mswindows_handle_print_dialog_box):
11900 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11901 * device-msw.c (syms_of_device_mswindows):
11902 Delete the dialog box primitives recently introduced by Kirill and
11903 instead interface to general dialog box interface.
11906 * device-x.c (compute_x_app_name):
11907 * device-x.c (x_init_device):
11908 * device-x.c (Fx_valid_keysym_name_p):
11909 * device-x.c (Fx_set_font_path):
11913 * device.h (wrap_device): New.
11914 First of its kind; meant to replace XSETDEVICE.
11916 * dialog-msw.c: Many file-dialog symbols.
11918 * dialog-msw.c (mswindows_register_popup_frame): New.
11919 * dialog-msw.c (mswindows_is_dialog_msg): New.
11920 For supporting kbd traversal in dialog boxes.
11922 * dialog-msw.c (dialog_proc):
11923 Support hitting ESC in dialogs.
11925 * dialog-msw.c (struct):
11926 Common dialog box errors.
11928 * dialog-msw.c (handle_file_dialog_box): New.
11929 Add file dialog code.
11931 * dialog-msw.c (handle_question_dialog_box):
11932 Redo existing code to support new question dialog syntax.
11934 * dialog-msw.c (console_type_create_dialog_mswindows):
11935 We support new dialog console method.
11937 * dialog-msw.c (syms_of_dialog_mswindows):
11938 * dialog-msw.c (vars_of_dialog_mswindows):
11939 New file dialog symbols, vars.
11942 * dialog-x.c (maybe_run_dbox_text_callback):
11943 * dialog-x.c (dbox_descriptor_to_widget_value):
11944 * dialog-x.c (x_make_dialog_box_internal):
11945 * dialog-x.c (console_type_create_dialog_x):
11946 Mule-ize entire file.
11947 Redo to support question dialog syntax.
11951 * dialog.c (Fmake_dialog_box_internal):
11952 * dialog.c (syms_of_dialog):
11953 Kill old popup-dialog-box, replace with new primitive.
11954 Just call device method or signal error.
11956 * eldap.c (Fldap_open):
11957 * eldap.c (Fldap_search_basic):
11958 * eldap.c (Fldap_add):
11959 * eldap.c (Fldap_modify):
11964 * emacs.c (make_arg_list_1):
11965 * emacs.c (make_arg_list):
11966 Mule-ize call to dll_init().
11970 * emacs.c (make_argc_argv):
11971 * emacs.c (free_argc_argv):
11972 * emacs.c (init_cmdargs):
11973 * emacs.c (main_1):
11974 * emacs.c (Fkill_emacs):
11975 * emacs.c (Fdump_emacs):
11976 Update comments about what can be used in syms_* etc.
11977 Call init_win32() when necessary.
11978 Fix up MS Win dialog box in kill-buffer to actually work right.
11989 * eval.c (condition_case_3):
11991 * eval.c (function_argcount):
11992 * eval.c (funcall_lambda):
11995 * eval.c (type_error): New.
11996 * eval.c (maybe_type_error): New.
11997 * eval.c (continuable_type_error): New.
11998 * eval.c (maybe_continuable_type_error): New.
11999 * eval.c (type_error_with_frob): New.
12000 * eval.c (maybe_type_error_with_frob): New.
12001 * eval.c (continuable_type_error_with_frob): New.
12002 * eval.c (maybe_continuable_type_error_with_frob): New.
12003 New functions for use with structured errors.
12006 * event-Xt.c (x_event_to_emacs_event):
12007 Buttons are now modifiers too.
12009 * event-Xt.c (emacs_Xt_current_event_timestamp):
12010 Implement new event method.
12011 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12014 * event-msw.c (ntpipe_shove_writer): [5].
12015 * event-msw.c (mswindows_enqueue_mouse_button_event):
12016 * event-msw.c (mswindows_drain_windows_queue):
12017 * event-msw.c (mswindows_wnd_proc): [7].
12018 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12019 * event-msw.c (mswindows_modifier_state):
12020 Throughout: support new button modifiers.
12022 * event-msw.c (emacs_mswindows_current_event_timestamp):
12023 Implement new event method.
12024 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12027 * event-stream.c (event_stream_current_event_timestamp): New.
12028 * event-stream.c (maybe_kbd_translate): New functionality.
12029 * event-stream.c (vars_of_event_stream):
12030 Document new kbd-translate-table functionality.
12032 * event-stream.c (Fcurrent_event_timestamp): New.
12033 New primitive for use in fabricated events.
12034 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12036 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12039 * events.c (Fmake_event):
12040 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12044 * events.c (format_event_object): fix gcc warnings.
12046 * events.c (Fevent_timestamp): Document new primitives.
12048 * events.c (TIMESTAMP_HALFSPACE): New.
12050 * events.c (Fevent_timestamp_lessp): New. New primitive for
12051 comparing timestamps correctly (half-space algorithm).
12053 * events.c (Fevent_modifier_bits): Doc fix.
12055 * events.c (Fevent_modifiers): Major doc addition.
12056 * events.c (event_x_y_pixel_internal): Typo fix.
12057 * events.c (syms_of_events): Declare new primitives.
12060 Update long comment for button modifiers, timestamps.
12062 * events.h (struct event_stream):
12063 New current_event_timestamp method.
12066 * extents.c (extent_in_region_p):
12067 * extents.c (decode_extent):
12068 * extents.c (Fset_extent_parent):
12069 * extents.c (decode_map_extents_flags):
12073 * extents.c (struct extent_at_arg):
12074 * extents.c (decode_extent_at_flag):
12075 * extents.c (extent_at_mapper):
12076 * extents.c (extent_at_bytind):
12077 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12078 * extents.c (Fextents_at): New primitive. [9].
12079 * extents.c (symbol_to_glyph_layout): [9].
12080 Support new primitive `extents-at'.
12083 * extents.c (get_text_property_bytind):
12084 extent_at_bytind has another arg.
12087 * extents.c (syms_of_extents): New primitive.
12089 * file-coding.c (Fmake_coding_system): [1].
12090 * file-coding.c (subsidiary_coding_system): fix gcc warning
12091 * file-coding.c (syms_of_file_coding): [2].
12093 * fileio.c (Fexpand_file_name):
12094 * fileio.c (Fsysnetunam):
12095 * fileio.c (Ffile_exists_p):
12096 * fileio.c (Ffile_executable_p):
12097 * fileio.c (Fverify_visited_file_modtime):
12100 * fileio.c (syms_of_fileio): [2].
12102 * filelock.c (lock_file_1):
12103 * filelock.c (current_lock_owner):
12104 * filelock.c (lock_if_free):
12105 * filelock.c (lock_file):
12106 * filelock.c (unlock_file):
12109 * fns.c (concat): Fix gcc warning.
12112 * fns.c (Fold_member):
12114 * fns.c (Fold_memq):
12115 * fns.c (memq_no_quit):
12117 * fns.c (Fold_assoc):
12119 * fns.c (Fold_assq):
12120 * fns.c (assq_no_quit):
12122 * fns.c (Fold_rassoc):
12124 * fns.c (Fold_rassq):
12125 * fns.c (rassq_no_quit):
12127 * fns.c (Fold_delete):
12129 * fns.c (Fold_delq):
12130 * fns.c (delq_no_quit):
12131 * fns.c (Fremassoc):
12132 * fns.c (Fremassq):
12133 * fns.c (remassq_no_quit):
12134 * fns.c (Fremrassoc):
12135 * fns.c (Fremrassq):
12136 * fns.c (remrassq_no_quit):
12137 * fns.c (Freverse):
12141 * frame-msw.c (mswindows_init_frame_1):
12142 * frame-msw.c (mswindows_delete_frame):
12143 Register popups with dialog code so keyboard traversing works.
12145 * frame-tty.c (tty_raise_frame_no_select): [1].
12148 * frame-x.c (x_set_frame_text_value):
12149 * frame-x.c (x_set_frame_properties):
12150 * frame-x.c (x_create_widgets):
12154 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12156 * frame.h (wrap_frame): New.
12157 Macro like wrap_device.
12160 * general.c (SYMBOL):
12161 * general.c (syms_of_general):
12162 Major reorg. This is now just a wrapper and symbols themselves
12163 are listed in general-slots.h.
12165 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12166 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12168 * glyphs-msw.c (mswindows_native_layout_instantiate):
12169 Add DS_CONTROL so keyboard traversal will work.
12172 * glyphs-widget.c (syms_of_glyphs_widget):
12173 Move some symbols to general-slots.h.
12176 * glyphs-x.c (xbm_instantiate_1):
12177 * glyphs-x.c (x_xbm_instantiate):
12178 * glyphs-x.c (x_xface_instantiate):
12179 * glyphs-x.c (autodetect_instantiate):
12180 * glyphs-x.c (cursor_font_instantiate):
12181 * glyphs-x.c (x_update_widget):
12182 * glyphs-x.c (x_widget_instantiate):
12183 * glyphs.c (bitmap_to_lisp_data):
12184 * glyphs.c (pixmap_to_lisp_data):
12187 * glyphs.c (syms_of_glyphs):
12191 * gui-x.c (print_widget_value):
12192 * gui-x.c (menu_separator_style_and_to_external):
12193 * gui-x.c (add_accel_and_to_external):
12194 * gui-x.c (button_item_to_widget_value):
12195 * gui-x.c (gui_items_to_widget_values_1):
12196 * gui-x.c (gui_items_to_widget_values):
12197 * gui-x.c (syms_of_gui_x):
12198 * gui-x.c (vars_of_gui_x):
12199 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12203 Muleize, prototype changes matching gui-x.c.
12206 * gui.c (separator_string_p):
12207 * gui.c (gui_item_add_keyval_pair):
12208 * gui.c (make_gui_item_from_keywords_internal):
12209 * gui.c (signal_too_long_error):
12210 * gui.c (parse_gui_item_tree_item):
12211 * gui.c (syms_of_gui):
12212 * gui.c (vars_of_gui):
12214 menu-no-selection-hook moved here (used by MSWin).
12215 Move some symbols to general-slots.h.
12219 * insdel.c (get_buffer_pos_char):
12220 * insdel.c (get_buffer_range_char):
12223 * keymap.c (keymap_lookup_directly):
12224 * keymap.c (keymap_store):
12225 * keymap.c (ensure_meta_prefix_char_keymapp):
12226 * keymap.c (describe_map):
12228 Support new button modifiers.
12230 * lisp-disunion.h (wrap_object):
12231 * lisp-disunion.h (XSETOBJ):
12232 Rename make_obj to wrap_object.
12235 * lisp-union.h (make_int):
12236 * lisp-union.h (make_char):
12237 Support wrap_object.
12240 * lisp.h (LIST_LOOP):
12241 * lisp.h (EXTERNAL_LIST_LOOP):
12242 * lisp.h (LIST_LOOP_2):
12243 * lisp.h (EXTERNAL_LIST_LOOP_1):
12244 * lisp.h (EXTERNAL_LIST_LOOP_2):
12245 * lisp.h (EXTERNAL_LIST_LOOP_3):
12246 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12247 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12248 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12249 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12250 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12251 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12252 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12253 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12254 * lisp.h (struct Lisp_Symbol):
12255 * lisp.h (maybe_continuable_error_with_frob):
12256 Fix up section comments.
12257 Add new types for char to indicate usage.
12258 Delete symbols auto-generated from general-slots.h.
12259 Add prototypes for structured error functions.
12260 Add long comments describing looping macros and change interface
12261 so that lvalues are automatically declared.
12262 Add NO_DECLARE macro in case callers want to declare lvalues
12265 * lread.c (read_syntax_error):
12266 * lread.c (continuable_read_syntax_error):
12267 * lread.c (read_structure):
12268 * lread.c (sequence_reader):
12269 * lread.c (read_list_conser):
12270 * lread.c (read_compiled_function):
12271 Rename syntax_error and continuable_syntax_error to avoid clash
12272 with same-named structured error functions.
12274 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12275 * menubar-msw.c (populate_menu_add_item):
12276 * menubar-msw.c (populate_or_checksum_helper):
12281 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12282 Mule-ize whole file.
12284 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12286 * mule-charset.c (Fmake_charset):
12287 * mule-wnnfns.c (Fwnn_set_param):
12290 * ntproc.c (create_child):
12291 * ntproc.c (Fwin32_set_current_locale):
12292 Add comments portending doom.
12295 * objects-msw.c (old_font_enum_callback_2):
12296 * objects-msw.c (font_enum_callback_1):
12297 * objects-msw.c (mswindows_enumerate_fonts):
12301 * objects-x.c (allocate_nearest_color):
12302 * objects-x.c (x_parse_nearest_color):
12303 * objects-x.c (x_initialize_color_instance):
12304 * objects-x.c (x_print_color_instance):
12305 * objects-x.c (x_finalize_color_instance):
12306 * objects-x.c (x_valid_color_name_p):
12307 * objects-x.c (x_initialize_font_instance):
12308 * objects-x.c (x_print_font_instance):
12309 * objects-x.c (valid_x_font_name_p):
12310 * objects-x.c (truename_via_FONT_prop):
12311 * objects-x.c (truename_via_random_props):
12312 * objects-x.c (truename_via_XListFonts):
12313 * objects-x.c (x_font_truename):
12314 * objects-x.c (x_font_instance_truename):
12315 * objects-x.c (x_font_instance_properties):
12316 * objects-x.c (x_list_fonts):
12317 * objects-x.c (x_find_charset_font):
12318 Mule-ize entire file.
12325 * print.c (std_handle_out_external):
12326 * print.c (debug_print_no_newline):
12327 * print.c (syms_of_print):
12328 Output to all debugger kinds in debug-print.
12329 Fix console-output code under MSWin to actually work.
12331 * process-nt.c (send_signal):
12332 * process-nt.c (nt_create_process):
12333 Use newer Unicode macros.
12335 * process-unix.c (unix_create_process):
12336 * process-unix.c (unix_canonicalize_host_name):
12337 * process-unix.c (unix_open_network_stream):
12343 * search.c (syms_of_search):
12346 * select-msw.c (mswindows_destroy_selection):
12349 * select-x.c (symbol_to_x_atom):
12352 * select.c (syms_of_select):
12355 * sound.c (Fplay_sound_file):
12359 * specifier.c (decode_specifier_type):
12360 * specifier.c (Fvalid_specifier_locale_type_p):
12361 * specifier.c (check_valid_locale_or_locale_type):
12362 * specifier.c (decode_locale):
12363 * specifier.c (decode_locale_type):
12364 * specifier.c (decode_locale_list):
12365 * specifier.c (check_valid_domain):
12366 * specifier.c (decode_specifier_tag_set):
12367 * specifier.c (Fcanonicalize_tag_set):
12368 * specifier.c (Fdefine_specifier_tag):
12369 * specifier.c (Fspecifier_tag_predicate):
12370 * specifier.c (check_valid_inst_list):
12371 * specifier.c (check_valid_spec_list):
12372 * specifier.c (decode_how_to_add_specification):
12373 * specifier.c (check_modifiable_specifier):
12374 * specifier.c (specifier_add_spec):
12375 * specifier.c (boolean_validate):
12376 * specifier.c (display_table_validate):
12379 * specifier.c (syms_of_specifier):
12380 Move some symbols to general-slots.h.
12384 * symbols.c (Fmapatoms):
12385 * symbols.c (Fapropos_internal):
12388 * symbols.c (set_default_buffer_slot_variable):
12389 * symbols.c (set_default_console_slot_variable):
12392 * symbols.c (defsymbol_massage_name_1):
12393 * symbols.c (defkeyword_massage_name):
12394 * symbols.c (deferror_1):
12395 * symbols.c (deferror):
12396 * symbols.c (deferror_massage_name_and_message):
12398 * symeval.h (DEFSYMBOL):
12399 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12401 * symbols.c (syms_of_symbols):
12405 * symsinit.h (init_win32): New.
12406 Also new is syms_of_dialog_mswindows.
12409 Add new Unicode macros, missing Cygwin wide-char functions,
12410 convenience conversion macros for Qmswindows_tstr, macros for
12411 encapsulating required MSWin <-> Cygwin filename conversions,
12412 prototype for dynamically-extracted (not in NT 3.51) functions.
12417 * tooltalk.c (Fadd_tooltalk_message_arg):
12418 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12419 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12422 * tooltalk.c (syms_of_tooltalk):
12426 * unexnt.c (unexec):
12427 Fix up headers, declaration of unexec() to be more standard.
12429 2000-07-20 Martin Buchholz <martin@xemacs.org>
12431 * offix.h: Revert change to guard macros - they're used in offix.c!
12433 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12435 * lisp.h: Defsubred Fdelete.
12437 * console-msw.h: (msprinter_default_printer): Added.
12439 * console-msw.c (msprinter_canonicalize_console_connection):
12440 (msprinter_canonicalize_device_connection): Added.
12442 * device-msw.c (msprinter_default_printer):
12443 (Fmswingows_get_default_printer):
12444 (signal_enum_priner_error):
12445 (Fmswingows_printer_list): Added.
12447 2000-07-19 Martin Buchholz <martin@xemacs.org>
12449 * XEmacs 21.2.35 is released.
12451 2000-07-19 Martin Buchholz <martin@xemacs.org>
12453 * select-x.c (x_handle_selection_request):
12454 Text selected in xemacs and pasted into xterm failed to appear.
12455 Spelling fixes and cosmetic changes.
12457 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12459 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12460 XEmacs frame (fix for doubling chars in dialog boxes).
12462 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12464 * select.c (select_convert_in, select_convert_out):
12465 Don't call intern() every time.
12467 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12468 * select.c (vars_of_select): Initialise them.
12470 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12472 * select.c (selection-coercible-types): New.
12474 * select.c (own-selection-internal):
12475 * select.c (get-selection-internal):
12476 MULE bug fix - these should default to COMPOUND_TEXT and not
12477 STRING for MULE. I think.
12479 * select.c (select_convert_out): Use selection-coercible-types
12480 to find types that we can attempt to perform coercions on.
12482 2000-07-18 Martin Buchholz <martin@xemacs.org>
12486 Add coding: cookie to identify encoding.
12488 * mule-canna.c (CANNA_mode_keys): make static.
12489 Use proper prototypes, even for functions of no arguments.
12490 Remove external prototype for Fding().
12492 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12494 * select.c (syms_of_select): Add missing DEFSUBR.
12496 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12498 * select.c (get_selection_internal, own_selection_internal):
12499 Make the type default to STRING, rather than placing a nil type
12500 into Vselection_alist.
12502 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12504 * gpmevent.c (tty_selection_exists_p):
12505 * gpmevent.c (tty_own_selection):
12506 Updated parameter lists.
12508 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12510 * select.h (selection-alist): Removed declaration.
12512 * select.h (get_local_selection):
12513 * select.c (get_local_selection):
12516 * select.h (convert_selection): Removed declaration.
12517 * select.c (convert_selection): Removed.
12518 This function belongs in Lisp.
12520 * select.h (select_convert_in): Declare.
12521 * select.h (select_convert_out): Declare.
12522 * select.c (select_convert_in): New.
12523 * select.c (select_convert_out): New.
12524 New conversion functions for other files to call.
12526 * select.h (select_notify_buffer_kill): Declare.
12527 * select.c (select_notify_buffer_kill): New.
12528 New functions that get called from kill-buffer.
12530 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12531 X-specific lisp code.
12533 * select.h: Declare some of the lisp-visible functions for
12536 * select.c (clean_local_selection_data): Removed. This was
12537 a disgusting function, and previously should have been in
12538 select-x.c in any case. The functionality is now provided
12539 in select-convert-from-integer (select.el).
12541 * select.c (available-selection-types): Fixed stupidity where
12542 INTEGER and ATOM got added twice. Also add STRING when we see an
12545 * select.c (get-selection-internal): Removed symbol stripping. No
12546 longer causes conversion when data comes from the internal cache.
12548 * select.c (syms_of_select): Added new functions.
12550 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12551 error checking - previously this called abort!
12553 * select-x.c (x_own_selection): Changed comment.
12555 * select-x.c (x_handle_selection_request): Use select_convert_out.
12556 Don't mess with selection-alist; it's an internal variable of select.c.
12558 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12560 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12561 rather than messing with selection-alist.
12563 * select-msw.c (mswindows_get_foreign_selection):
12564 Use TO_INTERNAL_FORMAT rather than hacking.
12566 2000-07-14 Martin Buchholz <martin@xemacs.org>
12568 * process-unix.c (unix_open_multicast_group):
12569 (unix_open_multicast_group): Remove useless casts.
12571 2000-07-13 Martin Buchholz <martin@xemacs.org>
12573 * sound.c (Fplay_sound): Fix `unused variable' warning.
12575 * emacs.c (main): Use correct type for _environ on SCO5.
12577 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12579 * console.h (own_selection_method):
12580 * console.h (selection_exists_p_method):
12581 * console.h (available_selection_types_method): New.
12582 * console.h (register_selection_data_type_method): New.
12583 * console.h (selection_data_type_name): New.
12585 * console-msw.h (mswindows_destroy_selection): Declare it. New
12586 function & alist to track GlobalAlloc()'d handles that need
12587 releasing when the clipboard data gets replaced or emptied.
12589 * event-msw.c (mswindows_wnd_proc): Call it.
12591 * lisp.h, general.c (Qappend): New symbol representing a
12594 * select.c (own-selection-internal):
12595 * select.c (selection-exists-p):
12596 * select.c (available-selection-types): New.
12597 * select.c (register-selection-data-type): New.
12598 * select.c (selection-data-type-name): New. New functions to deal
12599 with device-specific selection data formats.
12600 * select.c (selection-converter-out-alist): Renamed.
12601 * select.c (selection-converter-in-alist): New.
12602 * select.c (selection-appender-alist): New. Added new alists.
12603 * select.c (syms_of_select, vars_of_select): Added new symbols &
12605 * select.c (get_local_selection): Split.
12606 * select.c: Removed spurious type checking - selections may now be
12607 of any type, not just strings.
12608 * select.c (own-selection-internal):
12610 * select.h, select.c (convert_selection): New. Created
12611 convert_selection() function based on get_local_selection().
12612 * select.h, select.c (QCF_*): New symbols representing mswindows
12614 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12615 symbols representing `how-to-add' modes.
12617 * select-msw.c (x_sym_p): New.
12618 * select-msw.c (symbol_to_ms_cf): New.
12619 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12620 symbols & clipboard formats. Can also handle string names.
12621 * select-msw.c (mswindows_own_selection):
12622 * select-msw.c (mswindows_selection_exists_p):
12623 Added `data-type' parameter. Use it.
12624 * select-msw.c (mswindows_available_selection_types): New.
12625 * select-msw.c (mswindows_register_selection_data_type): New.
12626 * select-msw.c (mswindows_selection_data_type_name): New.
12627 * select-msw.c (mswindows_own_selection):
12628 * select-msw.c (mswindows_get_foreign_selection):
12629 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12630 * select-msw.c (console_create_select_mswindows): Added new methods.
12631 * select-msw.c (mswindows_destroy_selection): New.
12632 * select-msw.c (Vhandle_alist): New list.
12633 * select-msw.c (mswindows_own_selection):
12635 * select-x.c (x_own_selection):
12636 * select-x.c (x_selection_exists_p):
12637 * select-x.c: Added some comments about maybe using new
12639 * select-x.c (x_own_selection):
12641 * specifier.c: Remove definition of Qappend (now in general.c)
12642 * specifier.c (syms_of_specifier): Remove Qappend.
12644 2000-07-12 Martin Buchholz <martin@xemacs.org>
12646 * config.h.in: Add socklen_t.
12648 * s/decosf4-0.h: No special compiler flags needed or desired.
12649 In particular, undefine _BSD for DEC OSF 4.0.
12651 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12653 * redisplay-msw.c (msprinter_frame_output_end): Added.
12654 (console_type_create_redisplay_mswindows): Referred the above.
12656 * frame.c (setup_frame_without_minibuffer): Do not create a
12657 default minibuffer frame on a printer device.
12659 * frame-msw.c (apply_dc_geometry): Added.
12660 (msprinter_start_page):
12661 (msprinter_init_frame_3):
12662 (msprinter_eject_page): Use it.
12664 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12665 and removed residual duplex and orientation properties.
12667 2000-07-11 Martin Buchholz <martin@xemacs.org>
12669 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12671 * unexalpha.c: Remove system prototypes from C sources!
12673 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12675 * eval.c: Remove references to M-x edit-options in DEFUNs for
12676 `defvar' and `defconst'.
12678 2000-07-09 Martin Buchholz <martin@xemacs.org>
12680 * config.h.in: Remove SMART_INCLUDE hackery.
12682 PostgreSQL hacking:
12683 * config.h.in: Don't use SMART_INCLUDE.
12685 * postgresql.h: Include libpq-fe.h here. Fix typo.
12686 * inline.c: Simply #include "postgresql.h"
12688 - Don't use SMART_INCLUDE
12689 - Use simply "const".
12690 - Use standard doc string conventions.
12691 - Use correct type for result of PQstatus.
12693 2000-07-09 Martin Buchholz <martin@xemacs.org>
12695 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12697 C++ compilation changes.
12698 * config.h.in (EXTERN_C): Define.
12699 * config.h.in (not): This is also a C++ keyword.
12700 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12701 * cm.c: Use EXTERN_C.
12702 * redisplay-tty.c: Use EXTERN_C.
12703 * sysdep.c: Use EXTERN_C. Remove Gould support.
12705 2000-07-09 Martin Buchholz <martin@xemacs.org>
12707 * general.c: Remove duplicate definition for Qfunction.
12709 2000-07-08 Ben Wing <ben@xemacs.org>
12711 * device-msw.c (msprinter_init_device):
12712 * device-msw.c (sync_printer_with_devmode):
12713 * device-msw.c (handle_devmode_changes):
12714 * device-msw.c (print_dialog_worker):
12715 * device-msw.c (Fmsprinter_apply_settings):
12716 * device-msw.c (hash_devmode):
12717 * device-msw.c (Fmsprinter_settings_despecialize):
12718 use Qmswindows_tstr, not Qctext.
12720 * vm-limit.c (check_memory_limits):
12721 avoid infinite loop printing warning messages.
12723 2000-07-05 Craig Lanning <lanning@scra.org>
12725 * Makefile.in.in: Add support for including the Windows resources
12726 when building with the cygwin and mingw targets.
12728 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12729 not set or not correct.
12730 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12731 (init_initial_directory): Don't try to use $PWD on the
12732 WIN32_NATIVE target.
12735 [[Add -mwindows to eliminate console window.]] not required --ben
12736 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12737 (MAIL_USE_POP): removed; now handled by configure.
12739 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12740 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12741 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12742 (MAIL_USE_POP): removed; now handled by configure.
12743 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12744 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12745 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12747 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12748 up from <winsock.h> via systime.h.
12749 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12750 (getpagesize): from Dan Holmsand, added.
12751 Added #endif which was left dangling by Ben's mega patch; added
12752 comment to help prevent this in the future.
12754 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12756 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12758 * console-msw.h (struct mswindows_device): Removed unnecessary
12759 cached device geometry values.
12760 Added update_tick and an accessor macro.
12761 (Lisp_Devmode): Added lrecord declaration.
12762 (struct msprinter_device): Contain devmode as a Lisp object.
12763 Added mswindows_get_selected_frame_hwnd();
12765 * console.h (struct console_methods): Indentation nitpicking.
12767 * device-msw.c (mswindows_init_device): Do not initialize geometry
12768 cache. Initialize update tick.
12769 (mswindows_device_system_metrics): Ask the device for its geometry.
12770 (global_free_2_maybe):
12771 (devmode_to_hglobal):
12772 (handle_printer_changes):
12773 (ensure_not_printing):
12774 (print_dialog_worker):
12775 (Fmsprinter_print_setup_dialog):
12776 (Fmsprinter_print_dialog):
12777 (plist_get_margin):
12778 (plist_set_margin):
12779 (Fmsprinter_page_setup_dialog): Added functions.
12780 (sync_printer_with_devmode):
12781 (handle_devmode_changes):
12782 (Fmsprinter_get_settings):
12783 (Fmsprinter_select_settings):
12784 (Fmsprinter_apply_settings):
12785 (allocate_devmode):
12786 (Fmsprinter_settings_copy):
12787 (Fmsprinter_settings_despecialize):
12789 (finalize_devmode):
12791 (hash_devmode): Added functions
12792 (syms_of_device_mswindows): Init devmode lrecord class.
12794 * device.h: Added an exfun for find-device.
12796 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12797 geometry; although, recreate the device compatible DC.
12799 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12800 (msprinter_init_frame_3):
12801 (msprinter_frame_property):
12802 (msprinter_internal_frame_property_p):
12803 (msprinter_frame_properties):
12804 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12805 print job properties (will move to device settings).
12807 * lisp.h: Added symbols.
12809 * general.c (syms_of_general): Declared them.
12811 * hash.c (string_hash): Added.
12813 * lrecord.h (lrecord_type): Added devmode lrecord type.
12815 2000-07-02 Mike Sperber <mike@xemacs.org>
12817 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12820 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12822 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12825 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12827 * data.c (Fstring_to_number): Don't recognize floating point if
12830 2000-06-22 Martin Buchholz <martin@xemacs.org>
12832 * glyphs-widget.c (tab_control_query_geometry):
12833 (widget_query_geometry):
12834 (button_query_geometry):
12835 * glyphs.c (text_query_geometry):
12836 Enforce type correctness.
12838 2000-06-18 Martin Buchholz <martin@xemacs.org>
12840 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12841 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12843 2000-06-17 Martin Buchholz <martin@xemacs.org>
12845 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12846 conflicts with gcc's fixincluded version of FOO.h.
12848 * glyphs.h (image_instance_geometry): Remove trailing `,'
12850 2000-06-08 Mike Alexander <mta@arbortext.com>
12852 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12853 (shove_thread): Don't write the same output twice
12854 (make_ntpipe_output_stream): Increase priority of shove thread
12855 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12857 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12860 2000-06-12 Ben Wing <ben@xemacs.org>
12862 * s\mingw32.h (sigset):
12863 * s\windowsnt.h (sigset):
12864 rename msw_ to mswindows_ for consistency with general convention.
12866 2000-06-12 Ben Wing <ben@xemacs.org>
12869 * console-msw.c (mswindows_get_console_hwnd):
12870 * console-msw.c (mswindows_ensure_console_allocated):
12871 * console-msw.c (mswindows_hide_console):
12872 * console-msw.c (mswindows_show_console):
12873 * console-msw.c (mswindows_ensure_console_buffered):
12874 * console-msw.c (mswindows_output_console_string):
12875 * console-msw.c (mswindows_windows9x_p):
12877 * device-msw.c (mswindows_get_workspace_coords):
12878 * device-msw.c (mswindows_device_system_metrics):
12879 * dialog-msw.c (mswindows_popup_dialog_box):
12880 * event-msw.c (mswindows_wnd_proc):
12881 * frame-msw.c (mswindows_size_frame_internal):
12882 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12883 * menubar-msw.c (displayable_menu_item):
12884 * menubar-msw.c (mswindows_char_is_accelerator):
12886 * nt.c (mswindows_sigset):
12887 * nt.c (mswindows_sigrelse):
12888 * nt.c (mswindows_sigpause):
12889 * nt.c (mswindows_raise):
12890 * nt.c (timer_proc):
12892 * ntproc.c (find_child_console):
12893 * ntproc.c (sys_kill):
12895 * print.c (std_handle_out_external):
12896 * process-nt.c (find_child_console):
12897 * process-nt.c (send_signal_the_95_way):
12898 * process-nt.c (ensure_console_window_exists):
12899 * process-nt.c (nt_create_process):
12901 rename msw_ to mswindows_ for consistency with general convention.
12905 include nt.h, not syswindows.h.
12907 * nt.c (mswindows_fstat):
12908 * nt.c (mswindows_stat):
12909 prefix mswindows_ instead of attempting to directly override the
12910 library functions. fix declarations.
12913 include syswindows.h. move some sysdep.h stuff here.
12916 include syswindows.h, not <windows.h>.
12924 * sysdep.c (sys_fstat):
12925 * sysdep.c (sys_stat):
12926 call mswindows versions when appropriate.
12929 move mswin decls to nt.h.
12932 add long comment describing appropriate use of the various windows
12935 2000-06-11 Ben Wing <ben@xemacs.org>
12937 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12939 2000-06-10 Ben Wing <ben@xemacs.org>
12941 * Makefile.in.in (release):
12942 Correction to make sure xemacs.exe always dumped when correct.
12946 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12948 * buffer.c (set_buffer_internal):
12949 [[[[2]]]]: Remove HAVE_FEP code.
12951 * buffer.c (init_initial_directory):
12955 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12959 * callproc.c (call_process_cleanup):
12960 * callproc.c (Fold_call_process_internal):
12961 * callproc.c (child_setup):
12962 * callproc.c (getenv_internal):
12963 * callproc.c (init_callproc):
12964 * callproc.c (vars_of_callproc):
12965 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12966 __CYGWIN32__ -> CYGWIN.
12967 DOS_NT -> WIN32_NATIVE.
12968 Remove MSDOS support/references, converting to WIN32_NATIVE
12970 __MINGW32__ -> MINGW.
12971 Fix windows.h includes.
12972 Remove bogus HAVE_NTGUI.
12978 mswindows_message_outputted added for use in allowing startup
12979 errors on the console to be seen.
12981 * console-msw.c (msw_ensure_console_allocated):
12982 * console-msw.c (msw_output_console_string):
12983 * console-msw.c (DHEADER):
12984 * console-msw.c (DOPAQUE_DATA):
12985 * console-msw.c (DEVENT):
12986 * console-msw.c (DCONS):
12987 * console-msw.c (DCONSCDR):
12988 * console-msw.c (DSTRING):
12989 * console-msw.c (DVECTOR):
12990 * console-msw.c (DSYMBOL):
12991 * console-msw.c (DSYMNAME):
12994 * console-stream.c (stream_init_console):
12995 Fix text/binary problems.
12998 * device-msw.c (mswindows_finish_init_device):
12999 * device-msw.c (mswindows_delete_device):
13002 * device.c (handle_asynch_device_change):
13006 * dgif_lib.c (DGifOpenFileName):
13007 * dgif_lib.c (DGifOpenFileHandle):
13008 * dgif_lib.c (DGifGetLine):
13009 * dgif_lib.c (DGifGetPixel):
13010 Added config.h/lisp.h, fix up includes.
13017 * dired.c (file_name_completion):
13018 * dired.c (Ffile_attributes):
13019 * dired.c (syms_of_dired):
13023 * dumper.c (pdump_file_unmap):
13024 * dumper.c (pdump_load):
13028 * editfns.c (Ftemp_directory):
13029 * editfns.c (user_login_name):
13030 * editfns.c (Fuser_real_login_name):
13031 * editfns.c (get_home_directory):
13034 * elhash.c (finish_marking_weak_hash_tables):
13035 [[[[5]]]]: Fix GCC warnings.
13038 * emacs.c (mswindows_handle_hardware_exceptions):
13039 * emacs.c (make_arg_list_1):
13040 * emacs.c (main_1):
13041 * emacs.c (Fkill_emacs):
13042 * emacs.c (Fdump_emacs):
13044 Fix problems with nested crashes, add long comment.
13046 * event-Xt.c (init_event_Xt_late):
13050 * event-msw.c (mswindows_dde_callback):
13051 * event-msw.c (mswindows_handle_sticky_modifiers):
13052 * event-msw.c (mswindows_wnd_proc):
13056 * events.c (character_to_event):
13060 * fileio.c (Ffile_name_directory):
13061 * fileio.c (Ffile_name_nondirectory):
13062 * fileio.c (directory_file_name):
13063 * fileio.c (Fexpand_file_name):
13064 * fileio.c (Fsubstitute_in_file_name):
13065 * fileio.c (Ffile_name_absolute_p):
13066 * fileio.c (check_executable):
13067 * fileio.c (Ffile_readable_p):
13068 * fileio.c (Ffile_accessible_directory_p):
13069 * fileio.c (Ffile_modes):
13070 * fileio.c (Funix_sync):
13071 * fileio.c (vars_of_fileio):
13074 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13076 Expand getdefdir defn.
13077 Fix bogus rename() comment.
13079 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13080 to use standard XEmacs include files, e.g. sysfile.h, rather
13081 than system-specific includes.
13087 * frame.c (vars_of_frame):
13091 * getloadavg.c (getloadavg):
13093 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13094 (We don't use it elsewhere in the code; just add a comment.)
13101 * glyphs-msw.c (mswindows_resource_instantiate):
13104 * glyphs-x.c (x_native_layout_instantiate):
13107 * gui-msw.c (Fmswindows_shell_execute):
13116 * lread.c (locate_file_in_directory_mapper):
13123 * mem-limits.h (get_lim_data):
13135 * nt.c (rva_to_section):
13136 * nt.c (mswindows_executable_type):
13138 Fix closedir() defn.
13141 [[[[8]]]]: *_OK defs moved to sysfile.h.
13150 * print.c (std_handle_out_external):
13154 * process-nt.c (nt_create_process):
13156 try to fix process quoting somewhat.
13158 * process-unix.c (unix_create_process):
13162 * process.c (vars_of_process):
13169 * realpath.c (xrealpath):
13172 * redisplay-tty.c (init_tty_for_redisplay):
13182 * sheap.c (more_static_core):
13183 * sheap.c (report_sheap_usage):
13187 * signal.c (alarm_signal):
13194 * strftime.c (zone_name):
13197 * symsinit.h (init_sunpro):
13201 commctrl.h not in Cygwin b20.1.
13204 * sysdep.c (endif):
13205 * sysdep.c (sys_subshell):
13206 * sysdep.c (init_baud_rate):
13207 * sysdep.c (emacs_get_tty):
13208 * sysdep.c (emacs_set_tty):
13209 * sysdep.c (tty_init_sys_modes_on_device):
13210 * sysdep.c (init_system_name):
13211 * sysdep.c (sys_open):
13212 * sysdep.c (interruptible_open):
13213 * sysdep.c (sys_fopen):
13214 * sysdep.c (sys_mkdir):
13215 * sysdep.c (sys_rename):
13216 * sysdep.c (get_process_times_1):
13223 * sysdir.h (DIRENTRY_NONEMPTY):
13226 * sysdll.c (dll_init):
13232 added text/binary defs.
13238 * sysproc.h (EDESTADDRREQ):
13239 * sysproc.h (poll_fds_for_input):
13256 Always define WIN32_LEAN_AND_MEAN.
13258 * unexcw.c (unexec):
13262 * unexec.c (copy_text_and_data):
13263 * unexec.c (adjust_lnnoptrs):
13267 * unexnt.c (_start):
13270 2000-06-07 Ben Wing <ben@xemacs.org>
13272 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13273 was used only as a model. We've long since extracted any useful
13274 logic or code out of this. (I just did an exhaustive search.)
13276 * s\msdos.h: Removed.
13278 * s\windows95.h: Removed.
13280 2000-06-10 Ben Wing <ben@xemacs.org>
13284 Don't use extern with fun defs.
13288 Remove nt\inc include.
13289 Remove getdisk, getdefdir. (The former is unused, the latter
13290 expanded in fileio.h.)
13293 * s\windowsnt.h (WIN32_NATIVE):
13294 * s\windowsnt.h (HAVE_STRCASECMP):
13296 Add long comment about preprocessor changes.
13297 Remove getdisk, getdefdir. (The former is unused, the latter
13298 expanded in fileio.h.)
13300 2000-06-10 Ben Wing <ben@xemacs.org>
13309 Remove bogus/unused NO_SOCK_SIGIO.
13311 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13313 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13316 2000-06-04 Mike Sperber <mike@xemacs.org>
13318 * casetab.c (set_case_table): For `set-standard-case-table',
13319 actually deposit the new case tables where the rest of XEmacs can
13322 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13324 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13326 2000-06-05 Ben Wing <ben@xemacs.org>
13328 * callproc.c (child_setup): Don't do close_load_descs() under
13329 MS Windows. Put in a comment explaining why.
13331 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13333 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13334 Toolkit shell" which breaks `kill-compilation' on Windows NT
13335 native, retaining STDERR handling improvements.
13337 2000-06-01 Andreas Jaeger <aj@suse.de>
13339 * s/s390.h: Support for S390, based on a patch by Martin
13340 Schwidefsky <schwidefsky@de.ibm.com>.
13342 2000-05-30 Andy Piper <andy@xemacs.org>
13344 * window.c (allocate_window):
13345 (make_dummy_parent):
13346 (Fset_window_configuration): use new hashtable type.
13348 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13349 (struct image_instantiator_methods):
13350 (struct Lisp_Image_Instance): make instance geometry signed.
13352 * glyphs.c (instantiate_image_instantiator):
13353 (image_instance_query_geometry):
13354 (image_instance_layout):
13355 (image_instance_layout):
13356 (query_string_geometry):
13357 (text_query_geometry):
13358 (image_instantiate):
13359 (image_instantiate):
13360 (cache_subwindow_instance_in_frame_maybe):
13361 (subwindow_query_geometry): make instance geometry signed.
13363 * glyphs-widget.c (widget_query_geometry):
13365 (button_query_geometry):
13366 (tree_view_query_geometry):
13367 (tab_control_query_geometry):
13368 (layout_query_geometry):
13370 (native_layout_layout): make instance geometry signed.
13372 2000-05-29 Olivier Galibert <galibert@pobox.com>
13374 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13377 * general.c (syms_of_general): Add Qfull_assoc symbol.
13379 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13381 (decode_weak_list_type): Decode full-assoc type.
13382 (encode_weak_list_type): Encode full-assoc type.
13383 (Fmake_weak_list): Update doc string.
13385 2000-05-30 Andy Piper <andy@xemacs.org>
13387 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13389 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13390 (decode_hash_table_weakness): ditto.
13391 (Fhash_table_weakness): ditto.
13392 (Fhash_table_type): ditto.
13393 (finish_marking_weak_hash_tables): ditto.
13394 (hash_table_weakness_validate): ditto.
13395 (syms_of_elhash): ditto.
13397 2000-05-28 Martin Buchholz <martin@xemacs.org>
13399 * XEmacs 21.2.34 is released.
13401 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13403 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13405 (updating_line_start_cache): Gone.
13406 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13407 generic code to force a minimum of 1 line laid out in the
13410 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13412 * glyphs.c (instantiate_image_instantiator): Check for initialized
13413 height & width no longer special cases IMAGE_NOTHING.
13414 (nothing_instantiate): Set height and width of instance.
13416 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13418 * unexelf.c (unexec): Search for ".data" section.
13419 Initialize new_data2_offset from old_data_index.
13420 Remove redundant check for ElfW.
13422 2000-05-23 Andy Piper <andy@xemacs.org>
13424 * glyphs.c (get_image_instantiator_governing_domain): allow more
13425 specific domains as the governing domain rather than expecting an
13426 exact match. This fixes problems with layouts.
13428 2000-05-22 Andy Piper <andy@xemacs.org>
13430 * redisplay-output.c (compare_runes): check for non-images
13432 * glyphs.c (set_glyph_dirty_p): ditto.
13433 (update_glyph_cachel_data): ditto.
13435 * glyphs-widget.c (layout_post_instantiate): ditto.
13436 (layout_post_instantiate): ditto.
13438 * event-msw.c (mswindows_wnd_proc): warning removal.
13440 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13442 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13444 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13446 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13448 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13449 (mswindows_executable_type): mingw32 now has enough headers for
13452 2000-05-20 Andy Piper <andy@xemacs.org>
13454 * console-msw.c (mswindows_output_last_error): ; -> ,
13456 2000-05-12 Andy Piper <andy@xemacs.org>
13458 * console-msw.c (FROB): compare ints with ints.
13460 2000-05-11 Andy Piper <andy@xemacs.org>
13462 * glyphs-x.c (x_finalize_image_instance): make minimal build
13465 2000-05-20 Ben Wing <ben@xemacs.org>
13468 * event-Xt.c (vars_of_event_Xt):
13469 move modifier-keys-are-sticky to event-stream.c.
13472 * event-msw.c (mswindows_enqueue_mouse_button_event):
13473 * event-msw.c (key_needs_default_processing_p):
13474 * event-msw.c (XEMSW_LCONTROL):
13475 * event-msw.c (mswindows_handle_sticky_modifiers):
13476 * event-msw.c (FROB):
13477 * event-msw.c (clear_sticky_modifiers):
13478 * event-msw.c (output_modifier_keyboard_state):
13479 * event-msw.c (output_alt_keyboard_state):
13480 * event-msw.c (mswindows_wnd_proc):
13481 * event-msw.c (mswindows_modifier_state):
13482 * event-msw.c (emacs_mswindows_handle_magic_event):
13483 implement sticky modifiers.
13486 * event-stream.c (vars_of_event_stream):
13487 move modifier-keys-are-sticky here.
13490 add CHECK_FUNCTION.
13493 implement map-range-table.
13496 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13498 * redisplay-tty.c (reset_tty_modes):
13499 (tty_redisplay_shutdown): Adjust argument type to
13500 tty_frame_output_end.
13502 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13504 * eval.c (Fbacktrace): Don't output a line with only right
13507 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13509 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13510 (Fpq_reset_poll): Ditto.
13512 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13514 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13516 2000-05-16 Ben Wing <ben@xemacs.org>
13519 * buffer.c (dfc_convert_to/from_internal_format):
13520 * buffer.c (reinit_vars_of_buffer):
13521 Fix conversion functions to allow reentrancy.
13524 * console-msw.c (mswindows_output_last_error):
13525 New fun, generally useful -- output a human-readable
13526 version of GetLastError() on the console.
13529 * console-msw.h (struct mswindows_frame):
13530 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13532 * console-stream.c (stream_output_begin):
13533 * console-stream.c (stream_output_end):
13534 * console-stream.c (stream_output_vertical_divider):
13535 * console-stream.c (stream_clear_region):
13536 * console-stream.c (stream_flash):
13537 * console-stream.c (console_type_create_stream):
13538 Delete blank stream methods, not needed.
13540 * console.h (struct console_methods):
13541 Split begin/end methods into window and frame.
13544 * event-msw.c (mswindows_handle_paint):
13545 * event-msw.c (output_alt_keyboard_state):
13546 * event-msw.c (mswindows_wnd_proc):
13547 * event-msw.c (vars_of_event_mswindows):
13548 Comment about problems with ignored-expose.
13549 Define mswindows-debug-events; not really implemented.
13551 * frame-msw.c (mswindows_init_frame_1):
13555 * glyphs-msw.c (begin_defer_window_pos):
13556 * glyphs-msw.c (mswindows_unmap_subwindow):
13557 * glyphs-msw.c (mswindows_map_subwindow):
13558 * glyphs-msw.c (mswindows_resize_subwindow):
13559 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13561 * glyphs.c (make_image_instance_1):
13564 * gutter.c (Fredisplay_gutter_area):
13565 Use new begin/end methods.
13567 * lisp.h (Dynarr_new2):
13571 * redisplay-msw.c (mswindows_frame_output_begin):
13572 * redisplay-msw.c (mswindows_frame_output_end):
13573 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13574 New begin/end methods -- handle DeferWindowPos.
13576 * redisplay-output.c (redisplay_move_cursor):
13577 * redisplay-output.c (redraw_cursor_in_window):
13578 * redisplay-output.c (redisplay_update_line):
13579 * redisplay-output.c (redisplay_output_window):
13580 New begin/end methods.
13583 * redisplay-tty.c (tty_frame_output_begin):
13584 * redisplay-tty.c (tty_frame_output_end):
13585 * redisplay-tty.c (console_type_create_redisplay_tty):
13586 New begin/end methods.
13589 * redisplay-x.c (x_window_output_begin):
13590 * redisplay-x.c (x_window_output_end):
13591 * redisplay-x.c (console_type_create_redisplay_x):
13592 New begin/end methods.
13594 * redisplay.c (redisplay_frame):
13595 * redisplay.c (Fredisplay_echo_area):
13596 New begin/end methods.
13597 use MAYBE_DEVMETH for clear_frame; it may not exist.
13599 * window.h (WINDOW_XFRAME):
13600 WINDOW_XFOO macros -- get locale and decode struct pointer.
13603 2000-05-12 Ben Wing <ben@xemacs.org>
13606 * emacs.c (ensure_no_quitting_from_now_on):
13607 * emacs.c (fatal_error_signal):
13608 * emacs.c (mswindows_handle_hardware_exceptions):
13610 * emacs.c (Fkill_emacs):
13611 * emacs.c (shut_down_emacs):
13612 * emacs.c (assert_failed):
13613 various improvements in fatal error handling.
13616 move preparing_for_armageddon to emacs.c.
13619 declare fatal_error_in_progress.
13622 * print.c (std_handle_out_external):
13623 * print.c (std_handle_out_va):
13624 * print.c (stderr_out):
13625 * print.c (stdout_out):
13626 use console under mswin when no standard output.
13627 don't do code conversion during fatal error.
13629 * scrollbar.c (Fscrollbar_page_up):
13630 * scrollbar.c (Fscrollbar_page_down):
13631 fix missing else. reindent.
13633 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13637 * glyphs.h (GLYPH_CACHEL_DESCENT):
13638 (GLYPH_CACHEL_DESCENT):
13639 (GLYPH_CACHEL_DESCENT):
13640 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13641 used in case these are inline functions.
13642 Use more absurd values to error check.
13644 include window.h for error check functions.
13646 2000-05-11 Ben Wing <ben@xemacs.org>
13648 * cmdloop.c (Freally_early_error_handler):
13649 Display message box under windows; otherwise, message will disappear
13650 before it can be viewed.
13653 * console-msw.c (Fmswindows_message_box):
13654 * console-msw.c (FROB):
13655 * console-msw.c (syms_of_console_mswindows):
13656 Define new fun `mswindows-message-box'.
13657 #### I will merge this into `popup-dialog-box'; just give me
13661 * general.c (syms_of_general):
13662 Some new symbols used in `mswindows-message-box'.
13665 * glyphs.c (Fset_image_instance_property):
13666 put warning in this fun.
13669 * glyphs.h (GLYPH_CACHEL_WIDTH):
13670 * glyphs.h (GLYPH_CACHEL_ASCENT):
13671 * glyphs.h (GLYPH_CACHEL):
13672 * glyphs.h (GLYPH_CACHEL_GLYPH):
13673 define error-checking versions to try to catch a bug i've seen --
13674 redisplay gets in an infinite loop because the glyph width of the
13675 continuation glyph is 65535.
13678 Extern message-box stuff.
13680 * window.c (allocate_window):
13681 * window.c (make_dummy_parent):
13682 * window.c (Fset_window_configuration):
13683 Use EQUAL not EQ for subwindow caches to make them work a bit
13684 better. (Something is still very broken.)
13687 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13689 * glyphs.c (image_instantiate): Suppress gcc warnings.
13690 (Fmake_image_instance): Fix doc string.
13691 * specifier.c (Fmake_specifier): Ditto.
13693 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13695 * paths.h.in (PATH_LOCK): Removed.
13696 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13697 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13699 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13701 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13702 Document (featurep '(and xemacs 21.02)).
13704 2000-05-09 Ben Wing <ben@xemacs.org>
13706 * buffer.c (complex_vars_of_buffer):
13707 update modeline-format doc.
13710 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13713 timeline of all released versions of Emacs, for use in creating
13714 authorship comments and in synching up.
13716 * glyphs-widget.c (image_instantiator_buttons):
13717 * glyphs-widget.c (image_instantiator_edit_fields):
13718 * glyphs-widget.c (image_instantiator_combo_box):
13719 * glyphs-widget.c (image_instantiator_scrollbar):
13720 * glyphs-widget.c (image_instantiator_progress_guage):
13721 * glyphs-widget.c (image_instantiator_tree_view):
13722 * glyphs-widget.c (image_instantiator_tab_control):
13723 * glyphs-widget.c (image_instantiator_labels):
13724 * glyphs-widget.c (image_instantiator_layout):
13725 * glyphs-widget.c (image_instantiator_native_layout):
13726 rename decode_domain method to governing_domain.
13729 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13730 * glyphs.c (add_entry_to_device_ii_format_list):
13731 make sure we don't put an entry more than once into the list.
13732 * glyphs.c (check_instance_cache_mapper):
13733 *************************************************************
13734 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13736 *************************************************************
13737 * glyphs.c (get_image_instantiator_governing_domain):
13738 clean up, expand on new concept of governing domain.
13739 * glyphs.c (instantiate_image_instantiator):
13740 * glyphs.c (allocate_image_instance):
13741 use governing_domain instead of cache_domain in naming.
13742 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13743 * glyphs.c (make_image_instance_1):
13744 * glyphs.c (Fmake_image_instance):
13745 allow for any domain (not just device), and process the
13746 governing domain correctly. very big doc fix.
13747 * glyphs.c (Fimage_instance_domain):
13748 new primitive, to retrieve the governing domain of an image instance.
13749 * glyphs.c (image_instantiate):
13750 use new governing_domain stuff. this fixes a crash you could get
13751 by instantiating certain widget glyphs in frame locales. (should
13752 signal an error instead of crashing.)
13753 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13754 * glyphs.c (Fglyphp): clean up doc.
13755 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13756 * glyphs.c (syms_of_glyphs):
13757 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13758 * glyphs.c (image_instantiator_format_create): add some comments about
13760 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13761 for current-display-table. (Apparently Hrjove implemented in 1998 a
13762 design I wrote up in 1996, but didn't update the doc string.)
13764 * glyphs.h: clean up a doc string.
13765 * glyphs.h (governing_domain):
13766 * glyphs.h (struct image_instantiator_methods):
13767 changes for governing_domain stuff.
13770 * gutter.c (Fgutter_specifier_p):
13771 * gutter.c (Fgutter_size_specifier_p):
13772 * gutter.c (Fgutter_visible_specifier_p):
13774 * objects.c (Fcolor_specifier_p):
13775 * objects.c (Ffont_specifier_p):
13776 * objects.c (Fface_boolean_specifier_p):
13777 doc strings moved to make-*-specifier.
13779 * redisplay.c (add_disp_table_entry_runes_1):
13780 * redisplay.c (generate_fstring_runes):
13781 * redisplay.c (screen):
13782 add random comments and doc strings.
13785 * specifier.c (Fmake_specifier):
13786 major overhaul of this doc string.
13788 * specifier.c (Fvalid_specifier_domain_p):
13789 comment about the bogosity of image instances being domains.
13790 * specifier.c (decode_domain):
13791 now non-static, used in glyphs.c.
13792 * specifier.c (specifier_instance):
13793 comment about the bogosity of image instances being domains.
13794 * specifier.c (Fgeneric_specifier_p):
13795 move doc string to make-generic-specifier.
13796 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13800 * specifier.h (DOMAIN_FRAME):
13801 * specifier.h (DOMAIN_LIVE_P):
13802 * specifier.h (DOMAIN_XDEVICE):
13804 add comments about problems with these macros.
13805 prototype for decode_domain.
13808 * toolbar.c (Ftoolbar_specifier_p):
13809 move doc string to `make-toolbar-specifier'.
13811 * window.c (window_unmap_subwindows_cache_mapper):
13812 *************************************************************
13813 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13815 *************************************************************
13817 2000-05-09 Andy Piper <andy@xemacs.org>
13819 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13821 * window.c (Fset_window_configuration): reset the frame subwindow
13822 cache and re-initialize the window subwindow caches.
13824 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13826 2000-05-09 Ben Wing <ben@xemacs.org>
13828 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13831 2000-04-26 Mike Woolley <mike@bulsara.com>
13833 * ntheap.c: Changed recreate_heap to limit the amount reserved
13834 for the heap to that which is actually available. Also now
13835 displays a message box (with some dignostics) in the event that
13836 it still can't start.
13838 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13840 * callproc.c (Fold_call_process_internal): GCPRO path
13842 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13844 Patch by Bill Perry.
13846 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13847 back data instead of #ifdef.
13848 (Fscrollbar_page_down): ditto.
13850 2000-05-07 Ben Wing <ben@xemacs.org>
13853 Kludge for defining Qmswindows_tstr.
13856 * nt.c (open_input_file):
13857 * nt.c (open_output_file):
13858 * nt.c (rva_to_section):
13859 * nt.c (mswindows_executable_type):
13860 Move all memory-mapped-file routines here (some were in unexnt.c,
13861 which is bad because they are used by process-nt.c, and unexnt
13862 won't be around when portable dumping). Synched the above routines
13866 Removed ifdef'd out bogus code.
13867 Fixed some prototypes.
13869 * nt.h (file_data):
13870 * nt.h (OFFSET_TO_RVA):
13871 * nt.h (RVA_TO_OFFSET):
13872 * nt.h (RVA_TO_PTR):
13873 Moved the memory-mapped-file structures, macros and prototypes
13874 here, to parallel nt.c. ntheap.h should really be removed
13875 entirely, and it's a non-portable-dumper specific file.
13877 * ntheap.h (round_to_next):
13878 Moved the memory-mapped-file structures, macros and prototypes
13881 * ntproc.c (compare_env):
13882 Moved rva_to_section and mswindows_executable_type to nt.c.
13883 Moved compare_env to process-nt.c.
13884 ntproc.c will die, one day.
13886 * ntproc.c (sys_spawnve):
13887 Account for win32_ -> mswindows_.
13890 * process-nt.c (struct nt_process_data):
13891 * process-nt.c (ensure_console_window_exists):
13892 * process-nt.c (compare_env):
13893 * process-nt.c (nt_create_process):
13894 * process-nt.c (nt_kill_process_by_pid):
13895 * process-nt.c (syms_of_process_nt):
13896 * process-nt.c (vars_of_process_nt):
13897 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13898 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13899 changes). Eliminate our old `nt-quote-process-args' mechanism.
13900 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13901 Move compare_env here from ntproc.c.
13903 * process.c (Fprocess_send_region):
13904 Takes an optional fourth argument, BUFFER, which should fix some
13905 problems with call-process.
13908 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13911 Move ICC_BAR_CLASSES to syscommctrl.h.
13912 Add preliminary macros for MSWindows/Mule. More to come.
13915 * unexnt.c (unexec):
13916 open_output_file moved to nt.c.
13919 2000-05-05 Andy Piper <andy@xemacs.org>
13921 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13922 instance from the frame cache also since GC may catch up too late
13923 to make frame deletion sane.
13925 2000-05-04 Andy Piper <andy@xemacs.org>
13927 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13928 (x_finalize_image_instance): ungcpro on deletion.
13930 * glyphs.c (image_instantiator_format_create): give pointers a
13931 query geometry method so that the geometry is at least set.
13933 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13934 initialize layouts if using widgets.
13936 2000-05-03 Andy Piper <andy@xemacs.org>
13938 * nt.c: remove bogus reference to sysmmsystem.h
13940 * gui-x.c (popup_selection_callback): fix no selection abort.
13942 2000-05-02 Andy Piper <andy@xemacs.org>
13944 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13945 (mswindows_widget_instantiate): ditto.
13947 * glyphs-widget.c (initialize_widget_image_instance): initialize
13948 children correctly.
13949 (widget_instantiate): cope with children and items in the same
13952 * glyphs.c (mark_image_instance): cope with children as a first
13954 (image_instance_equal): ditto.
13955 (image_instance_hash): ditto.
13956 (image_instance_changed): ditto.
13958 2000-04-30 Andy Piper <andy@xemacs.org>
13960 * glyphs.c (subwindow_query_geometry): new function. Return some
13962 (subwindow_instantiate): don't assign dimensions if none have been
13964 (image_instantiator_format_create): add subwindow_query_geometry.
13965 (print_image_instance): cope with layouts as widgets.
13967 2000-04-29 Andy Piper <andy@xemacs.org>
13969 * frame.c (delete_frame_internal): call
13970 free_frame_subwindow_instance_cache so that all subwindows are
13971 finalized before their parent.
13972 (mark_frame): remove subwindow_cachels.
13973 (Fmake_frame): remove subwindow_cachel manipulation.
13974 (allocate_frame_core): subwindow_instance_cache is a weak list.
13975 (delete_frame_internal): set subwindow_instance_cache to nil.
13977 * glyphs-msw.c (mswindows_finalize_image_instance): make double
13979 (mswindows_finalize_image_instance): use the device
13980 not the domain as the domain may have died already.
13982 * glyphs-x.c (x_finalize_image_instance): ditto.
13983 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
13986 * redisplay-output.c (redisplay_unmap_subwindows): update for
13987 subwindow instance cache as a weak list.
13988 (redisplay_unmap_subwindows_maybe): ditto.
13989 (redisplay_unmap_subwindows_except_us): ditto.
13991 * glyphs.c (unmap_subwindow): error checking will check the domain
13992 so don't deal with it here. Don't use cachels anymore.
13993 (map_subwindow): ditto.
13994 (update_subwindow_cachel_data): remove old accessor names.
13995 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
13996 (Fresize_subwindow): don't update cachel.
13997 (mark_subwindow_cachels):
13998 (update_subwindow_cachel_data):
13999 (add_subwindow_cachel):
14000 (get_subwindow_cachel_index):
14001 (update_subwindow_cachel):
14002 (reset_subwindow_cachels):
14003 (mark_subwindow_cachels_as_not_updated): deleted.
14004 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14005 subwindow instance to the frame cache.
14006 (find_matching_subwindow): update for subwindow instance cache as
14008 (update_widget_instances): ditto.
14009 (image_instance_type_to_mask):inlined.
14010 (free_frame_subwindow_instance_cache): new function. finalize all
14011 subwindows that are instantiated.
14013 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14014 of cachel information.
14015 (IMAGE_INSTANCE_DISPLAY_X):
14016 (IMAGE_INSTANCE_DISPLAY_Y):
14017 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14018 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14019 (XIMAGE_INSTANCE_DISPLAY_X):
14020 (XIMAGE_INSTANCE_DISPLAY_Y):
14021 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14022 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14023 remove subwindow_cachel structure and function references.
14024 (image_instance_type_to_mask): inline from glyphs.c
14026 * redisplay.c (redisplay_frame): remove subwindow_cachel
14029 * frame.h (struct frame): remove subwindow_cachels.
14030 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14032 * frameslots.h: add subwindow_instance_cache.
14034 * window.c (replace_window): check subwindow cache of replacement.
14035 (window_unmap_subwindows_cache_mapper):
14036 (window_unmap_subwindows): new functions. Unmap all subwindows
14037 cached on this window.
14038 (mark_window_as_deleted): unmap all subwindows.
14040 2000-04-27 Andy Piper <andy@xemacs.org>
14042 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14044 * glyphs-widget.c (widget_layout): return something.
14045 (layout_layout): return something. Fail if not initialized.
14046 (layout_query_geometry): ditto.
14047 (image_instantiator_native_layout): new function. Initialized the
14048 native layout type.
14049 (widget_instantiate): don't do layout stuff here.
14051 * glyphs.c (instantiate_image_instantiator): reorded calling or
14052 instantiate and post_instantiate with layout in between.
14053 (image_instance_layout): be more selective about deciding whether
14054 the layout has been done or not.
14056 * glyphs.h (struct image_instantiator_methods): return a value
14057 from layout_method.
14059 2000-04-26 Andy Piper <andy@xemacs.org>
14061 * glyphs.c (allocate_image_instance): make initial width and
14062 height unspecified. Set initialized to 0.
14064 * syscommctrl.h new file. Encapsulates commctrl.h.
14066 * syswindows.h new file. Encapsulates windows.h.
14068 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14070 * console-msw.h: ditto.
14072 * redisplay-tty.c (tty_output_display_block): remove layout references.
14074 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14075 window handle rather than just the frame.
14077 * glyphs.c (mark_image_instance): remove layout references.
14078 (print_image_instance): ditto.
14079 (image_instance_equal): ditto.
14080 (image_instance_hash): ditto.
14081 (decode_image_instance_type): ditto.
14082 (encode_image_instance_type): ditto.
14083 (image_instantiate): ditto.
14084 (allocate_glyph): ditto.
14085 (Fimage_instance_height): ditto.
14086 (Fimage_instance_width): ditto.
14087 (update_subwindow): ditto.
14089 * redisplay-x.c (x_output_display_block): recode for layouts as
14092 * redisplay-output.c (redisplay_output_layout): recode for layouts
14094 (compare_runes): remove layout references.
14096 * redisplay-msw.c (mswindows_output_display_block): recode for
14097 layouts as widgets.
14099 * glyphs-widget.c (image_instantiator_layout): remove
14100 layout_possible_dest_types.
14101 (layout_possible_dest_types): deleted.
14103 * glyphs.h (image_instance_type): remove layout references.
14104 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14105 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14106 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14108 2000-04-25 Andy Piper <andy@xemacs.org>
14110 * glyphs-widget.c (image_instantiator_buttons):
14111 (image_instantiator_edit_fields):
14112 (image_instantiator_combo_box):
14113 (image_instantiator_scrollbar):
14114 (image_instantiator_progress_guage):
14115 (image_instantiator_tree_view):
14116 (image_instantiator_tab_control):
14117 (image_instantiator_labels):
14118 (image_instantiator_layout): call default post_instantiate method.
14119 (widget_post_instantiate): new function. Simply lays out the
14122 * glyphs.h (struct image_instantiator_methods): add
14123 post_instantiate method.
14125 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14128 2000-04-23 Andy Piper <andy@xemacs.org>
14130 * glyphs.h (struct image_instantiator_methods): add
14131 decode_domain_method.
14132 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14133 derived from the domain.
14134 (IMAGE_INSTANCE_FRAME): new accessor.
14135 (XIMAGE_INSTANCE_FRAME): ditto.
14137 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14138 instead of _SUBWINDOW_FRAME.
14139 (finalize_image_instance): ditto.
14140 (Fimage_instance_foreground): ditto.
14141 (Fimage_instance_background): ditto.
14142 (image_instantiate): ditto.
14143 (update_subwindow_cachel): ditto.
14144 (update_subwindow): ditto.
14145 (unmap_subwindow): ditto.
14146 (map_subwindow): ditto
14147 (subwindow_instantiate): ditto.
14148 * glyphs-msw.c (mswindows_update_widget): ditto.
14149 (mswindows_progress_gauge_instantiate): ditto.
14150 (mswindows_tab_control_update): ditto.
14151 * glyphs-x.c (x_update_widget): ditto.
14152 (x_widget_instantiate): ditto.
14153 (x_tab_control_instantiate): ditto.
14154 (x_tab_control_update): ditto.
14155 * event-msw.c (mswindows_wnd_proc): ditto
14157 * glyphs-widget.c (image_instantiator_layout): use
14158 subwindow_decode_domain.
14159 (image_instantiator_buttons): ditto.
14160 (image_instantiator_edit_fields): ditto.
14161 (image_instantiator_combo_box): ditto.
14162 (image_instantiator_scrollbar): ditto.
14163 (image_instantiator_progress_guage): ditto.
14164 (image_instantiator_tree_view): ditto.
14165 (image_instantiator_tab_control): ditto.
14166 (image_instantiator_labels): ditto.
14167 (image_instantiator_layout): ditto.
14169 * glyphs.c: add instance error checking to many functions.
14170 (instantiate_image_instantiator): decode device from cache_domain.
14171 (image_instantiate): partially rewrite by using
14172 decode_image_instantiator_domain to determine what domain the
14173 instance needs to be cached in.
14174 (decode_image_instantiator_domain): new function. Determine what
14175 domain the image needs to be cached in.
14176 (check_window_subwindow_cache): new error checking function.
14177 (check_instance_cache_mapper): ditto.
14178 (check_image_instance_structure): ditto.
14179 (subwindow_decode_domain): new function. Encodes a window as a
14180 subwindow's cache domain.
14181 (image_instantiator_format_create): use it for text and
14184 2000-04-21 Andy Piper <andy@xemacs.org>
14186 * glyphs.c (image_instance_device): new function.
14187 (image_instance_frame): new function.
14188 (image_instance_window): new function.
14189 (image_instance_live_p): new function.
14191 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14194 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14195 (IMAGE_INSTANCE_DOMAIN): new accessor.
14196 (XIMAGE_INSTANCE_DOMAIN): ditto.
14198 * glyphs-x.c (x_finalize_image_instance): device->domain.
14200 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14201 (mswindows_finalize_image_instance): ditto.
14203 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14204 (gif_instantiate): ditto.
14205 (png_instantiate): ditto.
14206 (tiff_instantiate): ditto.
14208 * glyphs.c (instantiate_image_instantiator): use domain rather
14210 (mark_image_instance): device -> domain.
14211 (print_image_instance): ditto.
14212 (finalize_image_instance): ditto.
14213 (image_instance_equal): ditto.
14214 (allocate_image_instance): ditto.
14215 (Fcolorize_image_instance): ditto.
14216 (query_string_geometry): ditto.
14217 (image_instantiate): ditto
14218 (query_string_font): ditto.
14219 (image_instantiate): ditto.
14220 (update_subwindow): ditto.
14221 (unmap_subwindow): ditto.
14222 (map_subwindow): ditto.
14223 (subwindow_instantiate): ditto.
14225 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14226 (DOMAIN_FRAME): ditto.
14227 (DOMAIN_WINDOW): ditto.
14228 (DOMAIN_LIVE_P): ditto.
14229 (XDOMAIN_DEVICE): ditto.
14230 (XDOMAIN_FRAME): ditto.
14231 (XDOMAIN_WINDOW): ditto.
14233 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14234 a valid specifier domain.
14236 2000-04-19 Andy Piper <andy@xemacs.org>
14238 * glyphs-widget.c (syms_of_glyphs_widget): remove
14239 widget-callback-current-channel.
14240 (vars_of_glyphs_widget): ditto.
14243 * gui.c (get_gui_callback): revert to previous behaviour.
14245 2000-04-18 Andy Piper <andy@xemacs.org>
14247 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14248 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14249 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14251 * glyphs.c (image_instance_equal): add margin_width.
14252 (image_instance_hash): ditto.
14254 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14255 (layout_query_geometry): ditto.
14256 (layout_layout): ditto.
14257 (syms_of_glyphs_widget): add margin-width.
14258 (image_instantiator_layout): allow margin-width.
14260 * glyphs.c (update_widget_instances): make a normal function.
14261 (syms_of_glyphs): remove Qupdate_widget_instances.
14264 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14265 so that we don't corrupt ideas about the last event or
14266 command. Remove widget-callback-current-channel fiddling.
14267 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14269 2000-05-01 Martin Buchholz <martin@xemacs.org>
14271 * XEmacs 21.2.33 is released.
14273 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14275 * make-src-depend: Allow dots in header file name.
14277 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14279 * mule-charset.h (struct charset_lookup): Add
14280 next_allocated_1_byte_leading_byte and
14281 next_allocated_2_byte_leading_byte.
14282 * mule-charset.c: Move above two variables so that those values
14285 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14287 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14288 when string length is zero.
14289 (find_charsets_in_emchar_string): Ditto.
14291 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14293 * lisp.h: extern Qdialog and Qmenubar.
14295 * gui-x.c: added events.h.
14296 also fixed typo which made the file uncompilable.
14298 * general.c: Added Qmenubar and Qdialog
14300 2000-04-28 Ben Wing <ben@xemacs.org>
14302 * frame-msw.c (mswindows_init_frame_1):
14303 * frame-msw.c (mswindows_mark_frame):
14304 * event-msw.c (mswindows_enqueue_dispatch_event):
14306 * console-msw.h (struct mswindows_frame):
14307 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14308 there are now three hash tables for callbacks.
14309 mswindows_enqueue_dispatch_event is no longer static.
14311 * dialog-x.c (maybe_run_dbox_text_callback):
14312 * dialog-x.c (dbox_descriptor_to_widget_value):
14313 switch to new cons3 form for callbacks.
14315 * glyphs-msw.c (mswindows_register_gui_item):
14316 * glyphs-msw.c (mswindows_widget_instantiate):
14317 * glyphs-msw.c (add_tree_item):
14318 * glyphs-msw.c (add_tab_item):
14319 new image instance parameter, so it can be passed to callback-ex.
14320 respect :callback-ex as well as :callback.
14322 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14325 * glyphs.c (print_image_instance):
14326 prettify, e.g. now prints widget type.
14329 certain funs have new image instance parameter.
14332 * gui.c (get_gui_callback):
14333 * gui.c (gui_item_add_keyval_pair):
14334 * gui.c (gui_item_init):
14335 * gui.c (gui_add_item_keywords_to_plist):
14336 * gui.c (mark_gui_item):
14337 * gui.c (gui_item_hash):
14338 * gui.c (gui_item_equal):
14339 * gui.c (copy_gui_item):
14340 * gui.c (syms_of_gui):
14341 recognize callback-ex in a number of places.
14342 also, fix the annoying "can't get out of yes-no dialog" bug.
14345 * gui.h (struct Lisp_Gui_Item):
14346 recognize callback-ex in a number of places.
14348 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14349 new parameter in button_item_to_widget_value.
14351 * glyphs-x.c (x_update_widget):
14352 * glyphs-x.c (x_button_instantiate):
14353 * glyphs-x.c (x_button_update):
14354 * glyphs-x.c (x_progress_gauge_instantiate):
14355 * glyphs-x.c (x_edit_field_instantiate):
14356 * glyphs-x.c (x_combo_box_instantiate):
14357 * glyphs-x.c (x_tab_control_instantiate):
14358 * glyphs-x.c (x_label_instantiate):
14359 new image instance parameter in various places.
14362 * event-Xt.c (enqueue_Xt_dispatch_event):
14363 this fun gets exported.
14366 * gui-msw.c (mswindows_handle_gui_wm_command):
14367 handle both :callback and :callback-ex, and generate our own
14368 event because it's one of the callback-ex arguments.
14371 * gui-x.c (popup_selection_callback):
14372 handle both :callback and :callback-ex, and generate our own
14373 event because it's one of the callback-ex arguments.
14374 * gui-x.c (button_item_to_widget_value):
14375 * gui-x.c (gui_items_to_widget_values_1):
14376 * gui-x.c (gui_item_children_to_widget_values):
14377 * gui-x.c (gui_items_to_widget_values):
14378 new image instance parameter in various places.
14380 * fns.c (Freplace_list):
14381 fix small typo in doc string.
14384 declare enqueue_Xt_dispatch_event.
14386 2000-04-28 Ben Wing <ben@xemacs.org>
14389 * buffer.c (Frecord_buffer):
14390 * buffer.c (syms_of_buffer):
14391 delete record-buffer-hook.
14394 * fns.c (Freplace_list):
14395 * fns.c (syms_of_fns):
14396 new primitive replace-list.
14399 slot for old buffer-alist.
14402 exfun replace-list.
14405 * redisplay.c (redisplay_frame):
14406 * redisplay.c (syms_of_redisplay):
14407 * redisplay.c (vars_of_redisplay):
14408 new hook buffer-list-changed-hook.
14411 2000-04-27 Ben Wing <ben@xemacs.org>
14413 * extents.h: extern in_modeline_generation.
14415 * redisplay.c (generate_formatted_string_db): set
14416 in_modeline_generation.
14418 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14419 flags if in modeline generation. otherwise frame-modified-tick
14420 is ticked far too often.
14421 Declare in_modeline_generation.
14423 2000-04-26 Ben Wing <ben@xemacs.org>
14425 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14427 (vars_of_emacs): add quick-build as an error-checking option.
14428 A bit kludgy, but there doesn't seem much point in creating
14429 a real var for this.
14431 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14433 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14435 * redisplay.h (struct display_line): Add a new variable,
14438 * redisplay.c (create_text_block): Set dl->line_continuation if
14439 the line continues.
14440 (create_string_text_block): Ditto.
14441 (regenerate_window_incrementally): Use line_continuation instead
14442 of searching continuation glyph.
14443 (add_margin_runes): Call add_glyph_rune.
14444 (add_glyph_rune): Handle margin glyph.
14446 2000-04-20 Martin Buchholz <martin@xemacs.org>
14448 * filelock.c (fill_in_lock_file_name):
14450 Check for IS_ANY_SEP instead of '/'.
14452 Avoid generating gratuitous garbage. Call user_login_name() directly.
14453 Never check errno without first seeing that system call failed.
14454 (unlock_file): Add GCPRO.
14455 (Flock_buffer): Fix docstring.
14456 (Ffile_locked_p): Fix docstring. Add GCPRO.
14458 2000-04-19 Martin Buchholz <martin@xemacs.org>
14460 * sysdep.c (get_pty_max_bytes):
14461 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14462 strings longer than 252 bytes.
14464 * md5.c: Unconditionally include ANSI header <limits.h>
14466 * glyphs-x.c (convert_EImage_to_XImage):
14467 * lisp-union.h (union Lisp_Object):
14468 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14470 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14472 * filelock.c (current_lock_owner): Remove unused variable o, p.
14474 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14476 * callint.c: Remove multiply defined symbol Qlet
14477 (syms_of_callint): ditto.
14479 2000-04-14 Andy Piper <andy@xemacs.org>
14481 * general.c (syms_of_general): add last-command, this-command, let
14484 * lisp.h: declare various symbols.
14486 * glyphs.h: declare Qwidget_callback_current_channel;
14488 * glyphs-widget.c (syms_of_glyphs_widget): add
14489 Qgui_callback_current_channel.
14490 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14492 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14493 widget-callback-current-channel when invoking the interactive
14494 arg. Also bind last-command and next-command when invoking the
14496 * gui-x.c (popup_selection_callback): ditto.
14498 * gui.c (get_gui_callback): massage args so that we are always
14499 calling eval. This allows us to add our own variable bindings
14502 * glyphs-x.c (x_button_instantiate): use
14503 gui_items_to_widget_values since this is GC safe.
14504 (x_progress_gauge_instantiate): ditto.
14505 (x_edit_field_instantiate): ditto.
14506 (x_label_instantiate): ditto.
14508 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14509 (emacs_Xt_event_widget_focus_out): new function
14510 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14512 (emacs_Xt_event_add_widget_actions): new function. add focus
14513 functions as actions.
14514 (init_event_Xt_late): use it.
14516 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14518 * event-stream.c (Fdispatch_event): Doc fix.
14520 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14522 * postgresql.c: Remove all references to PQsetenv*.
14524 * postgresql.h: Remove references to PGsetenvHandler object.
14525 * lrecord.h (lrecord_type): Ditto.
14527 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14529 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14530 real_heigh and real_width members, and accessor macros for these.
14532 * glyphs-msw.c (init_image_instance_geometry): New function.
14533 (init_image_instance_from_dibitmap): Use it.
14534 (mswindows_resource_instantiate): Use it.
14535 (init_image_instance_from_xbm_inline): Use it.
14536 (mswindows_initialize_image_instance_mask): Use real bitmap
14538 (mswindows_create_resized_bitmap): Ditto.
14539 (mswindows_create_resized_mask): Ditto.
14541 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14542 and bitmap to their surface size.
14544 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14546 * process-unix.c (unix_send_process): Guard against process MIA
14547 after Faccept_process_output.
14549 2000-04-11 Ben Wing <ben@xemacs.org>
14551 * eval.c (unbind_to_hairy): fix brokenness introduced by
14552 nanosecond speed improvements.
14554 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14556 * sunplay.c (init_device): To play sounds correctly, the device
14557 apparently needs to be initialized at least once by XEmacs. Make
14560 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14562 * redisplay.c (add_margin_runes): Add text image glyph
14565 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14567 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14568 gcc is newer than 2.5.
14570 2000-04-06 Colin Rafferty <colin@xemacs.org>
14572 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14574 * fns.c (size_bit_vector):
14575 * alloc.c (size_vector):
14576 (make_vector_internal):
14577 (make_bit_vector_internal):
14578 (sweep_bit_vectors_1):
14579 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14581 2000-04-06 Andy Piper <andy@xemacs.org>
14583 * gmalloc.c (malloc): undo previous change.
14588 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14590 * line-number.c (buffer_line_number): Revert to former version.
14592 2000-04-06 Andy Piper <andy@xemacs.org>
14594 * gmalloc.c (malloc): add error checking.
14599 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14600 button_item_to_widget_value arg.
14602 * glyphs-x.c (x_button_instantiate): add extra
14603 button_item_to_widget_value arg.
14604 (x_progress_gauge_instantiate): ditto.
14605 (x_edit_field_instantiate): ditto.
14606 (x_label_instantiate): ditto.
14608 * gui-x.c (gui_items_to_widget_values_1): add extra
14609 button_item_to_widget_value arg.
14610 (button_item_to_widget_value): add extra menu_item_p arg.
14612 * gui-x.h: change signature of button_item_to_widget_value.
14614 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14615 button_item_to_widget_value arg.
14617 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14619 * buffer.h (struct buffer): auto_save_modified should be long.
14621 2000-04-05 Andy Piper <andy@xemacs.org>
14623 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14625 (button_query_geometry): give a little more room so that athena
14628 2000-04-05 Andy Piper <andy@xemacs.org>
14630 * faces.c (complex_vars_of_faces): The widget face should inherit
14631 the font of the gui-element face.
14633 2000-04-04 Andy Piper <andy@xemacs.org>
14635 * glyphs-x.c (x_button_update): new function. unconditionally
14636 update a button's state when the instance is dirty.
14637 (image_instantiator_format_create_glyphs_x): add x_button_update.
14638 (x_widget_instantiate): remove old resize cruft.
14640 2000-04-02 Andy Piper <andy@xemacs.org>
14642 * frame.c (change_frame_size_1): The introduction of gutters means
14643 that we need to allow 0 as a potential frame dimension.
14645 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14647 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14648 image glyph if allow_cursor.
14649 (add_hscroll_rune): Don't allow cursor to border glyph.
14650 (create_text_block): Ditto.
14652 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14653 text not in buffer.
14654 (redisplay_output_layout): Call ensure_face_cachel_complete for
14658 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14660 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14662 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14665 * redisplay-tty.c (tty_output_display_block): Delete the routine
14666 for text image glyph
14667 * redisplay-x.c (x_output_display_block): ditto
14668 * redisplay-msw.c (mswindows_output_display_block): ditto
14670 2000-02-02 Mike Alexander <mta@arbortext.com>
14672 Note: Some of these were committed by accident as part of other
14675 * regex.c (regex_compile): Avoid compiler warnings.
14677 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14679 * nt.h: Declare term_ntproc correctly.
14681 * nt.c: Remove incorrect declaration of get_home_directory which
14682 is declared correctly in lisp.h.
14684 * keymap.c (get_keyelt): Avoid compiler warnings.
14685 (raw_lookup_key_mapper): Avoid compiler warnings.
14687 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14689 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14691 * filemode.c (mode_string): Avoid compiler warnings.
14693 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14696 * events-mod.h: Undef some things that winuser.h defines differently.
14698 * data.c (Faset): Avoid compiler warnings.
14700 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14702 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14704 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14705 Fall through to simple beep on error.
14706 Replace "extern" by real header file.
14708 * linuxplay.c: Use nativesound.h
14709 (play_sound_data): Return error code. Be less verbose on error.
14711 * sunplay.c: Use nativesound.h
14712 (play_sound_data): Return error code. Be less verbose on error.
14714 * ntplay.c: Use nativesound.h
14715 (play_sound_data): Return fake error code
14717 * sgiplay.c: Use nativesound.h
14718 (play_sound_data): Return error code
14720 * hpplay.c: Use nativesound.h, partially implement
14721 new error code. Break compilation until finished.
14722 (play_sound_data): error code.
14724 * nativesound.h (play_sound_file):
14725 (play_sound_data): Prototype in new header.
14727 2000-03-31 Andy Piper <andy@xemacs.org>
14729 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14730 for toggle and radio buttons.
14731 (image_instantiator_buttons): use it.
14733 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14735 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14736 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14737 found. Scrollbar event probably belonged to some old config.
14739 2000-03-31 Andy Piper <andy@xemacs.org>
14741 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14743 (initialize_widget_image_instance): default layout to
14744 LAYOUT_HORIZONTAL rather than 0.
14745 (widget_instantiate): reverse the item list at the end rather than
14747 (layout_layout): re-code for the border text at the front of the
14748 item list rather than at the end.
14749 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14750 provided by the user.
14751 (widget_query_geometry): comment.
14753 2000-03-30 Andy Piper <andy@xemacs.org>
14755 * glyphs-widget.c (image_instantiator_layout): allow standard
14756 widget keywords in layouts.
14758 * gutter.c (output_gutter): cope with nil gutter contents.
14760 * frame.c (Fset_frame_properties): add gutter docs.
14762 2000-03-29 Andy Piper <andy@xemacs.org>
14764 * toolbar-msw.c (TBSTYLE_FLAT): add.
14765 (mswindows_output_toolbar): minor fiddling.
14767 2000-03-29 Andy Piper <andy@xemacs.org>
14769 * gutter.c (output_gutter): force gutter size recalculation if
14770 what we are trying to display won't fit.
14771 (update_gutter_geometry): new function. A per-gutter version of
14772 update_frame_gutter_geometry.
14773 (update_frame_gutter_geometry): use it.
14774 (redraw_exposed_gutter): add extra debugging output.
14776 2000-03-28 Mike Alexander <mta@arbortext.com>
14778 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14779 (pdump_file_unmap): Implement it on Windows
14780 (pdump_file_get): Save alocated handles for pdump_file_unmap
14782 2000-03-28 Andy Piper <andy@xemacs.org>
14784 * gui.c (get_gui_callback): treat Quit specially.
14786 2000-03-27 Andy Piper <andy@xemacs.org>
14788 * glyphs.c (image_instantiate): be careful to check in the same
14791 2000-03-27 Didier Verna <didier@xemacs.org>
14793 * config.h.in: define the proper SMART_INCLUDE macro.
14794 handle renaming of `foo_h_path' to `foo_h_file'.
14796 * database.c: ditto.
14800 * linuxplay.c: ditto.
14802 * terminfo.c: ditto.
14804 * tooltalk.h: ditto.
14806 2000-03-27 Andy Piper <andy@xemacs.org>
14808 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14809 gets updated whenever the face might have changed.
14811 2000-03-26 Mike Alexander <mta@arbortext.com>
14813 * dumper.c (pdump_resource_free): Fix the comment.
14815 2000-03-21 Olivier Galibert <galibert@pobox.com>
14817 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14819 2000-03-22 Mike Alexander <mta@arbortext.com>
14821 * dumper.c: Include Windows headers on Windows
14822 (pdump_resource_free): Add a body to the function
14823 (pdump_load): exe_name -> exe_path and add some comments.
14825 2000-03-25 Mike Alexander <mta@arbortext.com>
14827 * gui.c (copy_gui_item_tree): Return a value in all cases
14829 2000-03-21 Didier Verna <didier@xemacs.org>
14831 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14833 (SMART_INCLUDE): new macro.
14834 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14835 the proper location.
14837 * postgresql.c: use it.
14841 2000-03-24 Andy Piper <andy@xemacs.org>
14843 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14846 2000-03-24 Andy Piper <andy@xemacs.org>
14848 * redisplay-output.c (compare_runes): use image_instance_changed
14849 to detect changes. Do not depend on glyphs_changed, only depend on
14851 (redisplay_output_layout): add debug messages.
14852 (compare_runes): ditto.
14854 * glyphs.h: declare new functions.
14855 (struct Lisp_Image_Instance): remove percent and associated
14858 * gui.h: declare new copying functions.
14860 * gui.c (copy_gui_item_tree): new function.
14861 (copy_gui_item): new function.
14862 (gui_item_id_hash): revert to standard hash.
14863 (gui_item_hash): ditto.
14864 (gui_item_hash_internal): deleted.
14865 (mark_gui_item): mark value.
14866 (gui_item_add_keyval_pair): add value.
14867 (gui_item_init): ditto.
14868 (gui_add_item_keywords_to_plist): ditto.
14869 (gui_item_equal): ditto.
14870 (syms_of_gui): add Q_value.
14872 * glyphs-x.c (x_progress_gauge_update): use pending items and
14873 value for setting the state.
14874 (x_update_widget): don't set items from pending here.
14876 * glyphs-widget.c (update_widget): update items here.
14877 (progress_gauge_set_property): use items for storing value. Put
14878 new value in pending items.
14880 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14881 items for new value. Convert percent -> value.
14882 (mswindows_tab_control_update): don't update items here.
14884 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14885 (update_subwindow): ditto.
14886 (image_instance_changed): new function. Compare hash values and
14887 past and present widget items.
14888 (image_instantiate): We more careful about where we instantiate
14890 (image_instantiate): add error checking.
14892 * gutter.c (syms_of_gutter): use -hook.
14894 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14896 * console-tty.c (Fset_console_tty_input_coding_system): Use
14898 (Fset_console_tty_output_coding_system): Use Qterminal.
14899 (tty_init_console): Use Qkeyboard and Qterminal.
14901 2000-03-21 Ben Wing <ben@xemacs.org>
14903 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14904 From Mike Alexander <mta@arbortext.com>.
14906 2000-03-21 Ben Wing <ben@xemacs.org>
14908 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14909 process brokenness. Proper implementation to come.
14911 Rename call-process-internal to old-call-process-internal.
14912 New impl. in process.el.
14914 2000-03-21 Martin Buchholz <martin@xemacs.org>
14916 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14918 2000-03-20 Andy Piper <andy@xemacs.org>
14920 * glyphs.c (full_list_hash): make hashes of the same elements in
14921 different orders return different values.
14923 2000-03-20 Martin Buchholz <martin@xemacs.org>
14925 * XEmacs 21.2.32 is released.
14927 2000-03-20 Martin Buchholz <martin@xemacs.org>
14929 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14930 (DFC_MALLOC_USE_CONVERTED_DATA):
14931 Add aliasing-safe casts to allow use with char* or unsigned char*
14934 * eldap.c (Fldap_open):
14935 (Fldap_search_basic):
14938 Make C++-compilable.
14939 Make sure GCPRO'ed variables are initialized.
14940 Use temp variables to avoid repeated calls to Flength.
14942 2000-03-16 Martin Buchholz <martin@xemacs.org>
14945 Make sure PATH_MAX is always defined.
14946 Include limits.h for PATH_MAX.
14947 Deprecate use of MAXPATHLEN.
14949 2000-03-10 Martin Buchholz <martin@xemacs.org>
14951 * emacs.c: Add reinit_vars_of_fileio.
14952 * symsinit.h: Add reinit_vars_of_fileio.
14953 * fileio.c (reinit_vars_of_fileio): New.
14954 * fileio.c (Fmake_temp_name):
14955 Initialize temp_name random number from microseconds to make
14956 collisions even less likely. Initialize always at process startup
14957 time. (make-temp-name) used to return the same file name twice in
14959 Random stylistic fiddling.
14962 2000-03-20 Andy Piper <andy@xemacs.org>
14964 * glyphs.c (image_instantiate): allow text glyphs to be
14965 instantiated in the minibuffer window.
14967 2000-03-19 Andy Piper <andy@xemacs.org>
14969 * glyphs.c (image_instance_hash): be careful about which items we
14972 * glyphs-widget.c (tab_control_set_property): record into pending
14973 items rather than the actual items.
14975 * glyphs-x.c (x_update_widget): use pending items to update with.
14977 * glyphs-msw.c (mswindows_tab_control_update): use pending items
14980 * glyphs.c (mark_image_instance): mark pending items.
14982 * window.c (Fset_window_configuration): record the buffer.
14983 (Fselect_window): totally revert previous change which breaks many
14986 2000-03-18 Andy Piper <andy@xemacs.org>
14988 * glyphs-msw.c (mswindows_tab_control_update): force selected
14991 * glyphs.c (image_instantiate): don't allow the minibuffer as a
14992 window domain cache, otherwise we get inconsistencies at
14993 startup. There is something fishy at startup which can lead to the
14994 minibuffer being the selected window when the gutter content is
14997 * gui.c (parse_gui_item_tree_list): add probably unnecessary
14999 (parse_gui_item_tree_children): ditto.
15000 (parse_gui_item_tree_item): ditto.
15002 * glyphs.c (Fupdate_widget_instances): return something.
15004 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15006 * window.c (Fselect_window): Undo 2000-03-17 change.
15008 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15010 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15011 against v7.0 libraries. Insta-coredump city until the postgres
15014 2000-03-17 Andy Piper <andy@xemacs.org>
15016 * faces.c (complex_vars_of_faces): don't give the widget face an
15017 inherited background pixmap.
15019 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15022 * event-stream.c (Fdispatch_non_command_events): return something.
15024 * gutter.c (output_gutter): use widget face.
15025 (clear_gutter): ditto.
15027 * NEWS: adjust again.
15029 * window.c (Fselect_window): make sure this runs to completion to
15030 avoid oddities with Fset_window_configuration.
15031 (Fcurrent_window_configuration): in general do not save the
15032 minibuffer as the selected window.
15034 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15036 2000-03-16 Olivier Galibert <galibert@pobox.com>
15038 * emacs.c (Frunning_temacs_p): Revert previous patch.
15039 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15041 2000-03-16 Andy Piper <andy@xemacs.org>
15043 * glyphs-x.c (x_tab_control_update): if no widget values then
15046 * NEWS: update for new features.
15048 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15049 synthetic event to the native system.
15050 (reinit_vars_of_event_Xt): set force_event_pending to
15051 emacs_Xt_force_event_pending.
15053 * events.h (struct event_stream): add force_event_pending.
15055 * specifier.c (recompute_one_cached_specifier_in_window): add
15058 * redisplay.c (redisplay_frame): don't call
15059 update_frame_subwindows. Reset subwindow cachels when
15060 subwindows_changed, removing this was an optimization too far.
15062 * redisplay-output.c (compare_runes): reorganize so that we catch
15063 glyph changes when we want them. Set optimize_output when this
15064 would help layouts.
15065 (redisplay_output_layout): remove frame_really_changed, use
15066 optimize_output instead.
15068 * redisplay-msw.c (mswindows_output_display_block): reset
15069 optimize_output after outputting a glyph.
15070 * redisplay-x.c (x_output_display_block): ditto.
15071 * redisplay-tty.c (tty_output_display_block): ditto.
15073 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15075 (gutter_specs_changed): do specific gutter positions.
15076 (top_gutter_specs_changed): new function. Only update the
15077 specified gutter specs.
15078 (bottom_gutter_specs_changed): ditto.
15079 (left_gutter_specs_changed): ditto.
15080 (right_gutter_specs_changed): ditto.
15082 * gui.c (gui_item_hash_internal): new function, does a real hash.
15083 (gui_item_id_hash): use it.
15084 (gui_item_hash): hash the eval'ed gui_item.
15086 * gui-x.c (popup_selection_callback): send an eval event to call
15087 Fupdate_widget_instances.
15089 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15090 to call Fupdate_widget_instances.
15092 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15093 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15095 * glyphs.c: (update_frame_subwindows): deleted.
15096 (Fupdate_widget_instances): new function for updating the dirty
15097 state of widgets that might have changed.
15098 (syms_of_glyphs): add Qupdate_widget_instances.
15099 (full_list_hash): hash a list completely.
15100 (image_instance_hash): use it for items and properties.
15102 * frame-msw.c (mswindows_size_frame_internal): remove unused
15105 * faces.h (struct face_cachel): fix comment.
15107 * event-stream.c (Fdispatch_non_command_events): new
15108 function. Process non-command events, forcing an event cycle
15110 (syms_of_event_stream): declare.
15111 (event_stream_force_event_pending): new function. Force an event
15112 on the native event queue so that an event cycle will occur next
15116 (struct ntpipe_shove_stream):
15117 (mswindows_enqueue_dispatch_event):
15118 (mswindows_dequeue_dispatch_event):
15119 (mswindows_cancel_dispatch_event):
15120 (mswindows_pump_outstanding_events):
15121 (mswindows_drain_windows_queue):
15122 (mswindows_handle_paint):
15123 (mswindows_wnd_proc):
15124 (mswindows_key_to_emacs_keysym):
15125 (get_process_input_waitable):
15126 (emacs_mswindows_delete_stream_pair): re-indent file.
15127 (mswindows_need_event): do not process further fds if the windows
15128 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15129 fixes the 100% cpu problem.
15130 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15132 2000-03-15 Olivier Galibert <galibert@pobox.com>
15138 * emacs.c: Moved dump file searching to dumper.c.
15139 (Frunning_temacs_p): Fixed.
15141 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15142 last_lrecord_type_index_assigned.
15144 2000-02-20 Olivier Galibert <galibert@pobox.com>
15146 * symsinit.h: Added reinit parameter to init_console_stream
15149 * lisp.h: Added file parameter to pdump_load declaration.
15151 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15152 support. Added dump file searching.
15154 * config.h.in: Added EMACS_PROGNAME.
15156 * console-stream.c (init_console_stream): Fix reinitialisation
15157 when running from temacs.
15159 * alloc.c (pdump): Add id support.
15160 (pdump_load): Add file parameter and signature/id support.
15162 * Makefile.in.in: Add full pdump support.
15164 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15166 * postgresql.c: Update documentation to reflect latest code
15168 (print_result): Show tuple counts in printed representation when
15170 (Fpq_put_nbytes): MULE-ize.
15171 (Fpq_get_line_async): Ditto.
15173 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15175 * postgresql.c (Fpq_lo_import): Fix return value.
15176 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15178 2000-03-13 Ben Wing <ben@xemacs.org>
15180 * alloc.c (pdump_load):
15181 Fix compile warning under mswin.
15183 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15185 * postgresql.c: Mule-ization, bug fixes.
15186 Use PG_CODING to encapsulate coding system name changes.
15187 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15188 (pg-coding-system): Create.
15190 (Fpq_conn_defaults): Mule-ize.
15191 (Fpq_connectdb): Mule-ize & bug fix.
15192 (Fpq_connect_start): Mule-ize.
15193 (Fpq_set_client_encoding): Mule-ize.
15194 (Fpq_finish): Document `DEAD' connection status.
15195 (Fpq_clear): Ditto.
15196 (Fpq_pgconn): Mule-ize.
15197 (Fpq_exec): Mule-ize & bug fix.
15198 (Fpq_send_query): Ditto.
15199 (Fpq_get_result): Ditto.
15200 (Fpq_res_status): Mule-ize.
15201 (Fpq_result_error_message): Mule-ize.
15202 (Fpq_ntuples): fix comments.
15203 (Fpq_fname): Mule-ize.
15204 (Fpq_fnumber): Mule-ize.
15205 (Fpq_ftype): fix comments.
15206 (Fpq_get_value): Mule-ize.
15207 (Fpq_cmd_status): Ditto.
15208 (Fpq_cmd_tuples): Ditto.
15209 (Fpq_oid_value): Ditto.
15210 (Fpq_notifies): Ditto.
15211 (Fpq_lo_import): Ditto.
15212 (Fpq_lo_export): Ditto.
15213 (Fpq_get_line): Ditto.
15214 (Fpq_put_line): Mule-ize and bug fix.
15215 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15217 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15219 * postgresql.c (vars_of_postgresql): Mule-ize.
15220 (Fpq_conn_defaults): Ditto.
15222 2000-03-12 Ben Wing <ben@xemacs.org>
15224 * alloc.c (Fmake_byte_code):
15225 * alloc.c (debug_string_purity_print):
15226 * alloc.c (pdump_backtrace):
15227 * alloc.c (pdump_get_indirect_count):
15228 * alloc.c (pdump_register_sub):
15229 * alloc.c (pdump_register_object):
15230 * alloc.c (pdump_register_struct):
15231 * alloc.c (pdump_dump_data):
15232 * alloc.c (pdump_reloc_one):
15236 * console-msw.c (GetConsoleHwnd):
15237 * console-msw.c (msw_hide_console):
15238 * console-msw.c (msw_show_console):
15239 * console-msw.c (msw_ensure_console_buffered):
15240 * console-msw.c (msw_output_console_string):
15241 * console-msw.c (console_type_create_mswindows):
15243 a) Added functions to manipulate the console window for use with
15246 b) Added support for writing text to the console, which is now
15247 used under Windows when xemacs is not being run non-interactively,
15248 to write text that would otherwise be destined for stdout because
15249 under these circumstances, text written to stdout tends to
15250 disappear and not be seen.
15254 * event-Xt.c (x_event_to_emacs_event):
15255 * event-Xt.c (describe_event_window):
15256 * events-mod.h (XEMACS_MOD_CONTROL):
15258 * events.c (Fmake_event):
15259 * events.c (character_to_event):
15260 * events.c (event_to_character):
15261 * events.c (format_event_object):
15262 * events.c (Fevent_modifiers):
15264 * events.h (struct key_data):
15265 * events.h (struct button_data):
15266 * events.h (struct misc_user_data):
15267 * frame-x.c (Fcde_start_drag_internal):
15268 * frame-x.c (Foffix_start_drag_internal):
15269 * gpmevent.c (Freceive_gpm_event):
15271 * keymap.c (bucky_sym_to_bucky_bit):
15272 * keymap.c (control_meta_superify):
15273 * keymap.c (make_key_description):
15274 * keymap.c (keymap_lookup_directly):
15275 * keymap.c (create_bucky_submap):
15276 * keymap.c (keymap_store):
15277 * keymap.c (define_key_check_and_coerce_keysym):
15278 * keymap.c (define_key_parser):
15279 * keymap.c (define_key_alternate_name):
15280 * keymap.c (Fdefine_key):
15281 * keymap.c (raw_lookup_key_mapper):
15282 * keymap.c (struct map_keymap_unsorted_closure):
15283 * keymap.c (map_keymap_unsorted_mapper):
15284 * keymap.c (map_keymap_sort_predicate):
15285 * keymap.c (map_keymap_sorted):
15286 * keymap.c (accessible_keymaps_mapper_1):
15287 * keymap.c (where_is_recursive_mapper):
15288 * keymap.c (describe_map_mapper):
15289 * keymap.c (describe_map_sort_predicate):
15290 * keymap.c (describe_map):
15291 * keymap.c (complex_vars_of_keymap):
15292 And a number of other files, the key modifier preprocessor
15293 constants that xemacs uses have names that conflict with constants
15294 defined under MS Windows for other purposes, so they were renamed
15295 to begin with the prefix XEMACS_. The variables that hold such
15296 modifiers were changed to consistently be of type int to fix
15297 various compile warnings.
15299 * console.c (complex_vars_of_console):
15302 * device-msw.c (mswindows_finish_init_device):
15303 * device-msw.c (msw_get_workspace_coords):
15304 * device-msw.c (mswindows_device_system_metrics):
15305 and various other files, added support for a new
15306 device property called offset-workspace which returns the position
15307 of the upper left corner of the workspace area and goes along with
15308 the existing size-workspace property.
15311 * dialog-msw.c (push_bufbyte_string_as_unicode):
15312 * dialog-msw.c (mswindows_popup_dialog_box):
15313 Added support for XEmacs-style accelerator specifications in
15314 button text. Note: I didn't add support for this under X Windows,
15315 and somebody needs to do this.
15318 * dialog.c (Fpopup_dialog_box):
15319 Documented the support for accelerators that was just mentioned.
15321 editfns.c (get_home_directory): Changed behavior under Windows
15322 when HOME not defined; former behavior was irretrievably broken.
15325 * emacs.c (main_1):
15327 * minibuf.c (clear_echo_area_internal):
15328 * minibuf.c (echo_area_append):
15330 * print.c (std_handle_out_external):
15331 * print.c (std_handle_out_va):
15333 * print.c (write_string_to_stdio_stream):
15334 * print.c (output_string):
15335 * print.c (debug_print):
15336 * print.c (debug_backtrace):
15337 * print.c (debug_short_backtrace):
15338 Cleaned up the code that prints text to stdout so that this can be
15339 changed to output into a console window instead under MS Windows,
15340 as described above.
15343 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15344 * eval.c (internal_catch):
15345 * eval.c (unwind_to_catch):
15346 * eval.c (throw_or_bomb_out):
15347 * eval.c (condition_case_1):
15348 * eval.c (signal_1):
15349 * eval.c (check_error_state_sanity):
15350 * eval.c (call_with_suspended_errors_1):
15351 * eval.c (call_with_suspended_errors):
15352 * eval.c (reinit_vars_of_eval):
15353 Added code to catch throw loops and check for a pesky bug that may
15357 * event-msw.c (key_needs_default_processing_p):
15358 * event-msw.c (mswindows_wnd_proc):
15359 * event-msw.c (mswindows_modifier_state):
15360 * event-msw.c (emacs_mswindows_quit_p):
15361 * event-msw.c (vars_of_event_mswindows):
15362 a) Added support for using the alt key to select menu items as is
15363 standard under MS Windows. This is controlled using the variable
15364 menu-accelerator-enabled, just like under X Windows. There is an
15365 option on the options menu to turn this support on. I really
15366 think that it should be on by default under Windows, but I'm not
15367 going to make this change yet.
15369 b) Added support for dynamic display size changes under Windows.
15372 * event-stream.c (maybe_echo_keys):
15373 * event-stream.c (Fnext_event):
15374 * event-stream.c (command_builder_find_leaf):
15375 * event-stream.c (lookup_command_event):
15376 * event-stream.c (execute_command_event):
15377 * event-stream.c (pre_command_hook):
15378 * event-stream.c (post_command_hook):
15379 * event-stream.c (syms_of_event_stream):
15380 * event-stream.c (vars_of_event_stream):
15381 * event-stream.c (complex_vars_of_event_stream):
15382 * events.h (struct command_builder):
15384 a) Tried to clean up a little bit the horribly written x-specific
15385 accelerator code that crept into this file. I moved this code
15386 into menubar-x.c where it belongs. I also needed to move the
15387 command builder structure into the file events.h because it is
15388 accessed directly by this accelerator code. What I didn't do, but
15389 which should be done at some point, is to properly abstract this
15390 code using device methods instead of the kludgy way that it
15391 currently hooks into the event code.
15393 b) Added the lisp variables this-command-properties and
15394 last-command- properties, which should be used to synchronize two
15395 adjacent commands in preference to playing games with the variable
15396 this-command, which is typically what happens.
15398 c) Added some slightly nasty code to hook into the lisp support
15399 for shifted- motion-key selection. This is actually necessary for
15400 somewhat complicated reasons, which are described in
15401 simple.el. (NB: I think the proper thing would be to have the code
15402 that calls the pre and post command hooks also call out to generic
15403 lisp functions in simple.el, where all built-in stuff could be
15404 added. I will think about this more.)
15406 * event-unixoid.c (poll_fds_for_input):
15407 * lread.c (readchar):
15408 * redisplay-tty.c (tty_clear_frame):
15409 * redisplay-x.c (x_get_gc):
15410 * signal.c (interrupt_signal):
15411 And a whole bunch of other files: fixed up places that printed
15412 directly to stderr to instead call the function stderr_out so that
15413 the changes I made under Windows work correctly.
15415 * filemode.c (mode_string):
15419 * frame-msw.c (mswindows_size_frame_internal):
15420 Fixed the computation of frame size and position to keep the frame
15421 within the workspace area, rather than within the physical
15422 dimensions of the screen, so that the frame doesn't overlap window
15423 manager decorations, such as the start menu and toolbar, typically
15424 at the bottom of the screen.
15426 * frame.c (vars_of_frame):
15427 Changed the default frame title format under MS Windows to consist
15428 of buffername-XEmacs, which is standard under MS Windows. I think
15429 it might be a good idea to change this everywhere because I think
15430 it is superior to the current frame title format, but this is the
15431 kind of change that is likely to cause some people to get annoyed,
15432 so I'm not making it.
15434 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15436 * gui-msw.c (mswindows_handle_gui_wm_command):
15437 Fixed compile warnings.
15440 * gui-x.c (strdup_and_add_accel):
15441 * gui-x.c (button_item_to_widget_value):
15443 Added code to automatically put an accelerator onto the beginning
15444 of menu items that don't have one as is now the standard, and is
15445 described more later. Also fixed things so that the menu item
15446 name can be an evaluated expression, again a new standard.
15449 * gui.c (gui_item_add_keyval_pair):
15450 * gui.c (make_gui_item_from_keywords_internal):
15451 * gui.c (gui_add_item_keywords_to_plist):
15452 * gui.c (gui_item_accelerator):
15453 * gui.c (gui_name_accelerator):
15454 * gui.c (gui_item_included_p):
15455 * gui.c (gui_item_display_flush_left):
15456 * gui.c (gui_item_display_flush_right):
15457 * gui.c (parse_gui_item_tree_item):
15458 * gui.c (parse_gui_item_tree_children):
15459 * gui.c (parse_gui_item_tree_list):
15460 Mule-ized. Cleanup. GCPRO addition.
15462 * line-number.c (buffer_line_number):
15464 * lisp.h (EMACS_INT_MAX):
15465 Added the manifest constant EMACS_INT_MIN corresponding to the
15466 existing constant EMACS_INT_MAX. This is partially to fix compile
15467 warnings under Windows, and partly for cleanliness.
15470 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15471 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15472 * menubar-msw.c (displayable_menu_item):
15473 * menubar-msw.c (populate_menu_add_item):
15474 * menubar-msw.c (populate_or_checksum_helper):
15475 * menubar-msw.c (populate_menu):
15476 * menubar-msw.c (update_frame_menubar_maybe):
15477 * menubar-msw.c (prune_menubar):
15478 * menubar-msw.c (msw_char_is_accelerator):
15479 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15480 * menubar-msw.c (mswindows_handle_wm_command):
15481 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15482 * menubar-msw.c (mswindows_handle_wm_initmenu):
15483 * menubar-msw.c (mswindows_update_frame_menubars):
15484 * menubar-msw.c (mswindows_free_frame_menubars):
15485 * menubar-msw.c (mswindows_popup_menu):
15486 Fixed a bug in handling accelerators where an extra character
15487 would be displayed in the menu item. Also generalized the
15488 function displayable_menu_item because it is now used by the
15489 dialog box code as well. And finally, added code in the functions
15490 that create the menubar to extract a list of accelerators for the
15491 top level menubar, which is used in the event code to determine
15492 whether a particular alt-key combination should be used to invoke
15493 a menu item, or should be passed through to access the standard
15494 XEmacs keymap binding for this key combination.
15496 Much needed GCPROing.
15499 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15500 * menubar-x.c (menu_item_descriptor_to_widget_value):
15501 * menubar-x.c (restore_in_menu_callback):
15502 * menubar-x.c (x_popup_menu):
15503 * menubar-x.c (menu_move_up):
15504 * menubar-x.c (menu_move_down):
15505 * menubar-x.c (menu_move_left):
15506 * menubar-x.c (menu_move_right):
15507 * menubar-x.c (menu_select_item):
15508 * menubar-x.c (command_builder_operate_menu_accelerator):
15509 * menubar-x.c (menu_accelerator_junk_on_error):
15510 * menubar-x.c (command_builder_find_menu_accelerator):
15511 * menubar-x.c (Faccelerate_menu):
15513 Moved a whole bunch of code here that was previously in
15514 event-stream.c as described above. There is also code connected
15515 to the new standard of adding an accelerator to the beginning of
15516 menu items that don't have one as described above and below.
15519 * menubar.c (menu_parse_submenu_keywords):
15520 * menubar.c (Fmenu_find_real_submenu):
15521 * menubar.c (Fnormalize_menu_item_name):
15522 * menubar.c (syms_of_menubar):
15523 * menubar.c (vars_of_menubar):
15524 * menubar.c (complex_vars_of_menubar):
15526 a) Cleaned up a bunch of documentation and improved it.
15528 b) XEmacs now automatically adds an accelerator onto the beginning
15529 of any menu items that don't have one. I did this because there
15530 will inevitably be some menu items on the main menubar that don't
15531 have accelerators on them because the package that adds that
15532 particular menu item hasn't yet been fixed up to have accelerators
15533 in them and it looked rather strange to have some items with and
15534 some items without accelerators, especially since even in items
15535 without accelerators, you can, at least under windows, still
15536 access the item through an accelerator corresponding to the first
15537 character in the item's name. If people don't like this behavior,
15538 I can add a variable to turn it off optionally, but I'm not sure
15539 this is a good idea because we really do need to have accelerators
15540 on all of the menu items, and if a package doesn't like the
15541 accelerators being put on the first character, then it should put
15542 the accelerators where they belong.
15544 c) I made a behavior change, which is that the descriptor that
15545 specifies the text of the menu item, which formerly was just a
15546 string, can now also be an evaluated expression. This makes this
15547 descriptor parallel with all of the others, which could also be
15548 evaluated expressions. This also obviates the need for the
15549 keyword :label, which was previously listed in the documentation
15550 as unimplemented, and which was for the same purpose.
15555 * ntproc.c (new_child):
15556 * ntproc.c (sys_spawnve):
15557 * ntproc.c (find_child_console):
15558 * ntproc.c (sys_kill):
15559 Fixed compile warnings. By the way, this file should really go
15560 away entirely, and this will happen as soon as Kirill makes his
15561 final round of process cleanups, which affect the function
15565 * process-nt.c (struct nt_process_data):
15566 * process-nt.c (find_process_from_pid):
15567 * process-nt.c (send_signal_the_nt_way):
15568 * process-nt.c (enable_child_signals):
15569 * process-nt.c (find_child_console):
15570 * process-nt.c (send_signal_the_95_way):
15571 * process-nt.c (nt_finalize_process_data):
15572 * process-nt.c (ensure_console_window_exists):
15573 * process-nt.c (nt_create_process):
15574 * process-nt.c (nt_kill_child_process):
15575 * process-nt.c (nt_kill_process_by_pid):
15576 * process-nt.c (nt_open_network_stream):
15577 * process-nt.c (vars_of_process_nt):
15578 Copied over code from Emacs 20.5 to correctly send signals to sub-
15579 processes under Windows 95. Also added code to automatically
15580 create and hide console window when a sub-process is created under
15581 Windows 95, which obviates the need for the separate runemacs.exe
15582 executable, and finally implemented some variables that were
15583 implemented in Emacs 20.5, but previously not in XEmacs. These
15584 include mswindows- start-process-share-console and
15585 mswindows-start-process-inherit-error-mode. (Both of these only
15586 apply to Windows 95.)
15588 * regex.c (regex_compile): Fixed a compile warning.
15591 * select-msw.c (mswindows_own_selection):
15592 * select-msw.c (mswindows_get_foreign_selection):
15593 * select-msw.c (mswindows_disown_selection):
15594 * select-msw.c (console_type_create_select_mswindows):
15595 * select-msw.c (syms_of_select_mswindows):
15596 Cleaned up the file and implemented the device method
15597 selection_exists_p, which had accidentally been left out. Also
15598 removed four lisp functions that were remnants from before the
15599 time when the selection code was properly device abstracted.
15600 These functions are no longer needed because there are generic
15601 equivalents, and because they were added recently and don't exist
15602 in FSF Emacs, I don't think there's any problem with just deleting
15606 * sysdep.c (sys_subshell):
15607 Fixed a compile warning, although in this case there's probably
15608 something wrong with this code, and it ought to be looked into
15609 more thoroughly by somebody who understands it.
15612 * window.c (Fwindow_text_area_height):
15613 * window.c (Fwindow_width):
15614 * window.c (Fwindow_full_width):
15615 * window.c (Fwindow_pixel_width):
15616 * window.c (debug_print_window):
15617 * window.c (syms_of_window):
15618 Added functions window-text-area-height and window-full-width,
15619 which are functions for returning various width and height
15620 characteristics of a window. (One of these functions is necessary
15621 for making the file dialog box work correctly, and the other one
15622 was added for completeness.) Also added a table to the
15623 documentation for window-height which describes the entire scheme
15624 for accessing width and height characteristics of a window.
15626 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15628 * nt.c (fstat): Added a comment for another problem with
15629 non-encapsulated [f]stat(), reported by Adrian Aichner
15630 <aichner@ecf.teradyne.com>.
15632 2000-03-11 Andy Piper <andy@xemacs.org>
15634 * window.c (make_dummy_parent): initialize subwindow instance
15636 (Fset_window_configuration): zero extent_modiff.
15638 2000-03-10 Andy Piper <andy@xemacs.org>
15640 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15641 more changes can be triggered.
15642 (Fredisplay_frame): ditto.
15643 (Fredraw_device): ditto.
15644 (Fredisplay_device): ditto.
15645 (redisplay_frame): make non-static.
15646 (redisplay_frame): call update_frame_gutter_geometry outside of
15649 * gutter.h: declare update_frame_gutter_geometry.
15651 * redisplay.h: declare redisplay_frame.
15653 * gutter.c (update_frame_gutter_geometry): move geometry changes
15654 in update_frame_gutters here. Geometry changes can only occur
15655 outside of redisplay.
15656 (update_frame_gutters): remove geometry change code.
15657 (Fredisplay_gutter_area): make sure that we are in display when we
15658 update and that we have flushed any size changes.
15660 2000-03-11 Andy Piper <andy@xemacs.org>
15662 * alloc.c (pdump_dump_data): remove i & count shadows.
15664 2000-02-27 Mike Alexander <mta@arbortext.com>
15666 * sysdep.h: Declare pdump_read_file
15668 * sysdep.c (pdump_read_file): New function
15670 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15673 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15675 * lrecord.h: add `lrecord_type_pgsetenv'.
15677 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15679 * symsinit.h: declare (vars|syms)_of* functions.
15680 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15682 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15684 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15686 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15689 * emacs.c (main_1): Call postgres initialization code.
15691 * postgresql.h: New file. PostgreSQL RDBMS support.
15692 * postgresql.c: New file.
15694 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15696 * redisplay-output.c (redisplay_output_display_block): Disable
15699 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15701 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15702 (Fcanna_henkan_next): Ditto.
15703 (Fcanna_bunsetu_henkou): Ditto.
15704 (Fcanna_henkan_kakutei): Ditto.
15705 (Fcanna_henkan_end): Ditto.
15706 (Fcanna_henkan_quit): Ditto.
15707 (Fcanna_henkan_next): Set retun value correctly.
15708 (c2mu): Use unsigned char instead of signed char.
15710 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15712 * emacs.c (main_1): Always call syms_of_gui.
15713 * inline.c: include gui.h
15715 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15717 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15718 converted to Lisp_Object.
15719 (Qtop_bottom): New variable.
15720 (syms_of_redisplay): Initialize it.
15721 * redisplay.h (Vvisible_bell): Ditto.
15722 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15723 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15724 only flash top and bottom.
15726 2000-03-08 Andy Piper <andy@xemacs.org>
15728 * buffer.c (Frename_buffer): record new buffer name the right way.
15730 2000-03-08 Andy Piper <andy@xemacs.org>
15732 * glyphs.c (update_subwindow): increase hash depth so that widget
15733 items get picked up properly.
15735 * redisplay-output.c (compare_runes): increase hash depth so that
15736 widget items get picked up properly.
15738 2000-03-08 Andy Piper <andy@xemacs.org>
15740 * gutter.c (output_gutter): add some debug.
15742 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15743 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15744 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15746 * redisplay-output.c (compare_runes): use display_hash to
15747 determine if glyphs really are not the same.
15749 * glyphs.c (update_subwindow): check display_hash to see if
15750 anything really needs to be updated. If not then do
15751 nothing. Record the display_hash after updating.
15752 (image_instance_equal): compare the image_instance face also.
15754 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15756 * redisplay.h: Fix comment style.
15758 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15760 * consle-msw.h (struct mswindows_frame):
15761 Added new member paint_pending to indicate whether a WM_PAINT
15762 magic event has been queued for this frame.
15764 * event-msw.c (mswindows_drain_windows_queue):
15765 Don't queue a WM_PAINT magic event if one is already queued.
15766 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15768 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15770 2000-03-07 Didier Verna <didier@xemacs.org>
15772 * dired.c: #include `regex.h' after `sysfile.h'.
15774 2000-03-06 Martin Buchholz <martin@xemacs.org>
15776 * sound.c (init_nas_sound): Fix compiler warning.
15778 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15780 (MARK_STRUCT_AS_FREE):
15781 (MARK_STRUCT_AS_NOT_FREE):
15782 Make `gcc -fstrict-aliasing' work properly.
15784 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15786 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15787 (mswindows_delete_device): Call CoUnnitialize().
15789 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15791 2000-02-25 <CraigL@DyCon.com>
15793 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15796 * sysdep.c: This extern declaration for environ prevents MinGW
15797 from finding the variable in CRTDLL.DLL.
15799 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15801 (SHGFI_EXETYPE): ..
15802 (WM_MOUSEWHEEL): ..
15803 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15805 (MMRESULT): Removed, now defined in cygwin's windows headers.
15807 (uid_t,gid_t,pid_t,ssize_t): ..
15808 (_timeb): Removed, MinGW defines both _timeb and timeb.
15809 (HAVE_H_ERRNO): Added.
15810 (HAVE_TZNAME): Added, configure is not detecting this.
15812 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15814 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15815 * syntax.c (syntax_match): Use it.
15817 * cmds.c: Import auto-fill-chars from FSF Emacs.
15818 (Vauto_fill_chars): New variables.
15819 (internal_self_insert): Check Vauto_fill_chars.
15821 Declare auto-fill-chars as a Lisp variable and initialize it.
15823 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15825 * fileio.c (Fmake_symbolic_link):
15827 Run handlers even if local machine doesn't have symlinks.
15829 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15831 * event-msw.c (mswindows_drain_windows_queue):
15832 Don't generate paint magic events for non-XEmacs frames.
15834 2000-03-05 Andy Piper <andy@xemacs.org>
15836 * redisplay.c (redisplay_frame): generate_displayable_area and
15837 friends assumes that we are not in GC, we therefore have to make
15838 sure that this doesn't happen.
15840 * gutter.c (calculate_gutter_size): generate_displayable_area
15841 assumes that we are not in GC, we therefore have to make sure that
15842 this doesn't happen.
15844 2000-03-05 Martin Buchholz <martin@xemacs.org>
15846 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15848 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15850 * redisplay.c (regenerate_window): Make sure we set a sane value
15851 for end_pos even if we jump out of the loop.
15852 (regenerate_window): Answer Ben's question :-).
15853 (start_end_of_last_line): Add may_error argument.
15854 (start_of_last_line):
15855 (end_of_last_line): Pass may_error = 0.
15856 (end_of_last_line_may_error): New function.
15857 (pixel_to_glyph_translation): Use it, so we don't crash in
15860 2000-03-04 Andy Piper <andy@xemacs.org>
15862 * window.h (struct window): add gutter_extent_modiff.
15864 * window.c (allocate_window): zero out gutter_extent_modiff.
15866 * redisplay.h: declare sync_display_line_structs.
15868 * redisplay.c (add_glyph_rune): add a better comment.
15870 * redisplay-output.c (sync_display_line_structs): made non-static.
15871 (compare_runes): remove unneccesary glyph cachel access.
15873 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15875 * gutter.c (output_gutter): don't output the gutter if extent
15876 changes only involve extents in buffers. use 4 sets of display
15878 (gutter_extent_signal_changed_region_maybe): new function. Mark
15879 extents in gutters as changed.
15880 (update_frame_gutters): use 4 sets of display lines.
15881 (reset_gutter_display_lines): ditto.
15882 (free_frame_gutters): ditto.
15883 (redraw_exposed_gutter): force output of gutters.
15885 * frame.h (struct frame): add 4 sets of gutter display lines.
15887 * extents.c: (extent_changed_for_redisplay): signal changes to
15888 extents in strings in the gutter as well as extents in buffers.
15890 2000-03-02 Andy Piper <andy@xemacs.org>
15892 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15894 * frame.c (Fmake_frame): make sure the gutters get initialized
15895 after the frame is visible.
15896 (set_frame_selected_window): re-arrange compilation macros a
15898 (change_frame_size_1): mark gutters changed.
15900 * device.c (Fset_device_class): mark gutters changed.
15902 2000-03-01 Andy Piper <andy@xemacs.org>
15904 * window.c (window_top_frame_gutter_height): deleted.
15905 (window_bottom_frame_gutter_height): ditto.
15906 (window_left_frame_gutter_height): ditto.
15907 (window_right_frame_gutter_height): ditto.
15908 (window_top_gutter_height): don't use them.
15909 (window_bottom_gutter_height): ditto.
15910 (window_left_gutter_width): ditto.
15911 (window_right_gutter_width): ditto.
15912 (Fsplit_window): ditto.
15913 (Fwindow_pixel_edges): don't use border dimensions here.
15915 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15916 (update_scrollbar_instance): ditto.
15918 * redisplay.c (generate_modeline): don't take gutters into account.
15919 (generate_modeline): ditto.
15920 (redisplay_frame): small gutter display optimization.
15922 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15924 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15925 gutters into account.
15927 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15928 for window position and type.
15930 * gutter.c (get_gutter_coords): fix for frame gutters.
15931 (update_frame_gutters): update frame geometry if the gutters have
15933 (init_frame_gutters): record current gutter geometries.
15935 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15937 (mswindows_widget_instantiate): ditto.
15939 * frame.h (struct frame): add current_gutter_bounds.
15941 * frame.c (change_frame_size_1): position window and minibuffer
15942 appropriately taking into account the frame gutters.
15944 * frame-x.c: (x_initialize_frame_size): take into account the
15947 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15949 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15951 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15953 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15955 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15957 * file-coding.c (reset_decoding_stream): Clear previous
15958 detection state when autodetect.
15960 2000-02-29 Didier Verna <didier@xemacs.org>
15962 * extents.c (set_extent_glyph_1): don't require extents to be
15965 2000-02-27 Andy Piper <andy@xemacs.org>
15967 * gutter.c (Fset_default_gutter_position): don't default left and
15968 right gutter visibility to t.
15969 (Fset_default_gutter_position): run
15970 default-gutter-position-changed-hook.
15971 (syms_of_gutter): add default-gutter-position-changed-hook.
15973 2000-02-26 Andy Piper <andy@xemacs.org>
15975 * specifier.c (Fmake_specifier): add gutter references.
15977 * gutter.h (RAW_WINDOW_GUTTER): new macro.
15979 * lisp.h: declare Fvalid_plist_p.
15981 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
15983 (default_gutter_visible_p_changed_in_window): invalidate gutter as
15984 well as its visibility so that it gets reconstructed.
15985 (construct_window_gutter_spec): new function. Construct a string
15986 to be displayed in the gutter from a plist of strings. Take care
15987 to only use elements that are declared as visible.
15988 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
15990 (gutter_validate): allow plists of strings in the specifier.
15991 (gutter_specs_changed): construct the real_gutter from the gutter
15992 specs using construct_window_gutter_spec.
15993 (gutter_visible_validate): gutter-visible is a new specifier type.
15994 (Fgutter_visible_specifier_p): new function for the new specifier.
15995 (syms_of_gutter): declare gutter-visible and
15996 Fgutter_visible_specifier_p.
15997 (specifier_type_create_gutter): intitalize new gutter-visible
15999 (reinit_specifier_type_create_gutter): ditto.
16000 (specifier_vars_of_gutter): use new specifier type for gutter
16002 (init_frame_gutters): construct real_gutter correctly.
16003 (Fgutter_specifier_p): beef up documentation.
16004 (Fgutter_size_specifier_p): ditto.
16006 * winslots.h: add real_gutter slots.
16008 2000-02-25 Andy Piper <andy@xemacs.org>
16010 * device-msw.c: Be kind to older cygwin versions. From Raymond
16011 Toy <toy@rtp.ericsson.se>.
16013 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16014 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16016 2000-02-25 Martin Buchholz <martin@xemacs.org>
16018 * elhash.c (MARK_OBJ): Practice macro hygiene.
16020 2000-02-24 Martin Buchholz <martin@xemacs.org>
16022 * miscplay.c: s/__inline__/inline/g;
16023 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16024 (get_device_compdc): INLINE ==> static inline
16025 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16026 find -name '*.h' | \
16027 xargs global-replace \
16028 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16030 2000-02-25 Andy Piper <andy@xemacs.org>
16032 * window.c (window_top_frame_gutter_height): new function.
16033 (window_top_window_gutter_height): ditto.
16034 (window_top_gutter_height): use them.
16035 (window_bottom_frame_gutter_height): new function.
16036 (window_bottom_window_gutter_height): ditto.
16037 (window_bottom_gutter_height): use them.
16038 (window_left_window_gutter_width): new function.
16039 (window_left_frame_gutter_width): ditto.
16040 (window_left_gutter_width): use them.
16041 (window_right_window_gutter_width): new function.
16042 (window_right_frame_gutter_width): ditto.
16043 (window_right_gutter_width): use them.
16044 (window_pixel_height): new function. calulate window pixel height
16045 with frame gutter involvement.
16046 (Fsplit_window): calculate new sizes taking frame gutters into
16048 (window_char_height_to_pixel_height): don't include frame gutters.
16049 (window_char_height): use window_pixel_height.
16050 (window_pixheight): rename from window_pixel_height.
16051 (change_window_height): use it.
16052 (window_pixel_height_to_char_height): don't include frame gutters.
16053 (window_char_width_to_pixel_width): ditto.
16055 2000-02-25 Andy Piper <andy@xemacs.org>
16057 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16060 2000-02-24 Martin Buchholz <martin@xemacs.org>
16062 * alloc.c (staticpro):
16063 (staticpro_nodump):
16068 (compact_string_chars):
16069 (pdump_dump_wired):
16070 Convert: if (foo) abort(); ==> assert (! foo);
16072 * eldap.c (Fldap_search_basic):
16076 Fix compiler warnings, and possible crashes if (random) return
16077 value were to be used.
16079 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16081 * device-msw.c: Workaround ResetDC failure.
16083 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16084 applying a devmode.
16086 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16087 (mswindows_text_width): Do not start printer page.
16089 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16091 * glyphs-msw.c: Added image methods to msprinter console and
16092 msprinter-specific image instantiation.
16094 2000-02-20 Mike Alexander <mta@arbortext.com>
16096 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16097 to avoid crashes when selection-sets-clipboard is on
16098 (mswindows_own_selection): ditto
16100 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16103 * redisplay-msw.c (get_frame_dc):
16104 (get_frame_compdc):
16106 * device-msw.c (mswindows_init_device):
16107 (mswindows_delete_device):
16108 (msprinter_init_device):
16109 (msprinter_delete_device):
16110 * frame-msw.c (mswindows_init_frame_1):
16111 (mswindows_delete_frame):
16112 (msprinter_init_frame_3):
16113 (msprinter_delete_frame): Move compatible DC to device object from
16114 frame object, for both mswindows and msprinter. Only one at a time
16115 is needed, it is a real waste to have one per frame!
16117 2000-02-23 Andy Piper <andy@xemacs.org>
16119 * glyphs.c: add dynamic width and height elements.
16120 (image_instance_equal): ditto.
16122 * glyphs-widget.c (widget_query_geometry): calculate width and
16123 height dynamically if required.
16124 (initialize_widget_image_instance): initialize dynamic dimensions.
16125 (widget_instantiate): pick-up dynamic dimensions.
16127 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16128 dynamic determination. Add appropriate macros.
16130 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16132 (WINDOW_GUTTER_SIZE): ditto.
16133 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16135 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16137 (get_frame_dc): ditto.
16139 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16142 2000-02-23 Martin Buchholz <martin@xemacs.org>
16144 * XEmacs 21.2.31 is released.
16146 2000-02-22 Ben Wing <ben@xemacs.org>
16148 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16150 2000-02-22 Andy Piper <andy@xemacs.org>
16152 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16154 2000-02-21 Mike Sperber <mike@xemacs.org>
16158 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16161 2000-02-21 Mike Sperber <mike@xemacs.org>
16163 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16165 2000-02-21 Martin Buchholz <martin@xemacs.org>
16167 * XEmacs 21.2.30 is released.
16169 2000-02-20 Martin Buchholz <martin@xemacs.org>
16171 Performance hacking.
16173 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16174 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16175 * emacs.c (main_1):
16177 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16178 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16179 * symeval.h (DEFVAR_SYMVAL_FWD):
16180 * symbols.c (guts_of_unbound_marker):
16181 Make all c_readonly objects also lisp_readonly and marked for life.
16182 * lrecord.h (struct lrecord_implementation):
16183 Document flags better.
16184 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16185 * lrecord.h (DECLARE_LRECORD):
16186 * lrecord.h (XSETRECORD):
16187 * lrecord.h (RECORDP):
16188 * lrecord.h (RECORD_TYPEP):
16189 * lrecord.h (RECORD_MARKER): New.
16190 * lrecord.h (error_check_*):
16191 * lrecord.h (CONCHECK_NONRECORD):
16192 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16193 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16194 * lrecord.h (set_lheader_implementation):
16195 * lrecord.h (enum lrecord_type): New.
16196 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16197 * alloc.c (disksave_object_finalization_1):
16198 * alloc.c (mark_object):
16199 * alloc.c (lrecord_type_index):
16200 * alloc.c (tick_lcrecord_stats):
16201 * alloc.c (Fgarbage_collect):
16202 * alloc.c (init_alloc_once_early):
16203 * alloc.c (pdump_load):
16204 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16205 * alloc.c (lrecord_type_index): Delete.
16206 Make lisp object type indexes be constant.
16207 Makes (byte-compile) 5% faster.
16208 Put all marker functions into their own array.
16209 Makes (garbage-collect) 5% faster.
16210 Optimize SYMBOL_VALUE_MAGIC_P.
16211 Makes (byte-compile) 2-3% faster.
16212 * config.h.in (gc_checking_assert): New.
16213 * alloc.c: Use gc_checking_assert().
16214 * .dbxrc: Make compatible with new object type implementation.
16215 * .gdbinit: Make compatible with new object type implementation.
16216 * alloc.c: Delete all symbols defined only for debugging, such as
16217 Lisp_Type_Vector and lrecord_charset.
16219 2000-02-21 Andy Piper <andy@xemacs.org>
16221 * gui-msw.c (Fmswindows_shell_execute): fix file location
16224 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16225 unshowing so that set_window_buffer doesn't undo
16226 kill_buffer_hook's hard work.
16228 * glyphs-widget.c (tab_control_query_geometry): don't count the
16229 first item when calculating geometry.
16231 * glyphs.c (map_subwindow): remove redundant code.
16232 (update_frame_subwindows): be more circumspect about when to
16235 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16236 when items haven't changed. Update faces if faces have changed as
16237 well as just the widget face.
16238 (x_tab_control_update): Update faces if faces have changed as well
16239 as just the widget face.
16241 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16243 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16245 (build_syscolor_string): Use mswindows_color_to_string to try to
16247 (mswindows_device_system_metrics): Reverse the foreground and
16248 background colors so that they match the documentation.
16250 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16251 they match the default Windows palette.
16252 (mswindows_color_to_string): New function.
16254 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16256 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16258 2000-02-18 Olivier Galibert <galibert@pobox.com>
16260 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16261 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16263 * symbols.c (init_symbols_once_early): Removed obsolete
16264 DATA_SEG_BITS related kludge.
16265 (defvar_magic): Ditto.
16267 * malloc.c: Removed obsolete DATA_SEG_BITS
16269 * mem-limits.h: Ditto.
16271 * Makefile.in.in: Removed obsolete HAVE_SHM
16274 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16276 * device-msw.c (mswindows_delete_device): Free DDE string
16279 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16281 * keymap.c (get_keyelt):
16282 * unexnt.c (unexec):
16283 * vm-limit.c (memory_warnings):
16284 * ntheap.c (recreate_heap):
16285 * ntheap.h (UNINIT_PTR):
16286 * select-msw.c (Fmswindows_get_clipboard):
16287 (Fmswindows_set_clipboard):
16288 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16290 * menubar-msw.c (displayable_menu_item):
16292 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16293 * sysdep.c (sys_subshell):
16294 * process-nt.c (nt_create_process):
16295 * nt.c (normalize_filename):
16296 (dostounix_filename):
16297 (unixtodos_filename):
16298 * ntproc.c (win32_executable_type):
16299 * ntplay.c (play_sound_data_1):
16301 * editfns.c (get_home_directory):
16302 * event-msw.c (struct winsock_stream):
16303 (mswindows_dde_callback):
16304 * device-msw.c (msprinter_init_device):
16305 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16307 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16308 mswindows_clear_toolbar were swapped!
16310 * objects-msw.c:(colormap_t):
16312 * emacs.c (struct standard_args): Fixed const jumble.
16314 * glyphs-widget.c (update_widget): Fixed comparison notation.
16316 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16318 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16319 __declspec(noreturn) syntax.
16321 2000-02-19 Martin Buchholz <martin@xemacs.org>
16323 * eldap.c (Fldap_open):
16324 (Fldap_search_basic):
16327 Use new coding system conversion macros.
16329 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16331 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16333 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16335 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16336 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16338 * eldap.c (Qadd, Qreplace): New constant symbols
16339 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16340 interruptions by XEmacs signals
16341 Remove unnecessary calls to slow_down_interrupts and
16342 speed_up_interrupts
16343 (Fldap_search_basic): Renamed from Fldap_search_internal
16344 Added new optional parameter VERBOSE that triggers the
16345 display of progress messages
16346 Remove unnecessary calls to slow_down_interrupts and
16347 speed_up_interrupts
16348 LDAP result code analysis rewritten
16349 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16350 (syms_of_eldap): Define the new symbols and functions
16353 2000-02-17 Martin Buchholz <martin@xemacs.org>
16355 * realpath.c: Determine PATH_MAX maximally portably.
16357 * insdel.c (bytecount_to_charcount): Optimize.
16358 The function used to be optimized for entirely ASCII sequences.
16359 Now it is optimized for successive characters from the same
16360 charset. This also wins big for _mostly_ ASCII sequences.
16362 * fileio.c (Ffile_truename): convert return from realpath() using
16363 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16364 - Rewrite GCPROing slightly.
16366 * sysdep.c (sys_open): Do filename conversion, like all other
16367 sys_* functions. Fixes bug:
16368 (let ((file-name-coding-system 'iso-8859-2))
16369 (write-region x y latin2-name))
16370 ==> writes filename using internal encoding.
16372 2000-02-18 Martin Buchholz <martin@xemacs.org>
16374 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16375 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16376 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16377 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16378 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16379 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16380 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16381 (CONST_IF_NOT_DEBUG): Delete.
16382 * alloc.c (this_one_is_unmarkable): Delete.
16383 (mark_object): Don't check for this_one_is_unmarkable. Use the
16384 c_readonly flag instead.
16385 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16387 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16389 * event-msw.c (mswindows_drain_windows_queue):
16390 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16391 away redundant repaint events.
16393 2000-02-17 Andy Piper <andy@xemacs.org>
16395 * redisplay.h: declare mark_redisplay_structs.
16397 * redisplay.c (redisplay_window):
16398 (redisplay_frame): don't check subwindows_state_changed.
16399 (mark_redisplay): mark gutters here.
16401 * glyphs.c: (instantiate_image_instantiator): always layout if we
16402 haven't done so already.
16403 (allocate_image_instance): don't mark as dirty.
16404 (update_subwindow): bind inhibit_quit.
16406 * gutter.c (mark_gutters): new function.
16408 * glyphs-x.c (x_update_widget): Always resize to get round a
16411 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16412 breaking absolutely everything.
16414 * gutter.h: declare mark_gutters.
16416 2000-02-16 Martin Buchholz <martin@xemacs.org>
16418 * XEmacs 21.2.29 is released.
16420 2000-02-15 Olivier Galibert <galibert@pobox.com>
16422 * fns.c (size_bit_vector): Fix computation of the size.
16424 2000-02-15 Martin Buchholz <martin@xemacs.org>
16426 * *.[ch]: Change CONST to const globally.
16427 find -name '*.[ch]' | \
16428 xargs global-replace \
16429 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16430 - Remove vestigial references to CONST_IS_LOSING
16432 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16434 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16435 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16436 events instead of dispatching them directly.
16437 (mswindows_handle_paint): New function to do repainting.
16438 (mswindows_wnd_proc):
16439 (emacs_mswindows_handle_magic_event): Call above function.
16441 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16443 * objects-msw.c (mswindows_create_font_variant): Return the new
16445 (initialize_font_instance): Get font metrics from the underlined
16446 variant of the font to cope with the case where the underlined
16447 font has a bigger descent.
16449 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16451 * gui.c (gui_item_accelerator): Return the first underlined
16452 character in item name.
16454 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16456 * lisp.h: Added Qprinter.
16458 * general.c (syms_of_general): Initialized it.
16460 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16462 (get_frame_compdc): Made inline.
16464 * console.h (struct console_methods): Added eject_page method.
16466 * frame.h: Added FRAME_DISPLAY_P and friends.
16467 Aligned backslahes in many macros in more readable fashion.
16468 Added page_number to struct frame, and an accessor macro
16471 * defice.h: Added DEVICE_DISPLAY_P and friends.
16473 * device.c (Fdevice_printer_p): Used these.
16475 * frame.c (allocate_frame_core): Initialize page number.
16476 (Fprint_job_page_number):
16477 (Fprint_job_eject_page): Implemented.
16479 * frame-msw.c (msprinter_eject_page): Added method.
16480 (msprinter_start_page): Added.
16482 * window.c (Fwindow_truncated_p): Fixed docstring.
16483 (Fwindow_last_line_visible_height): Implemented.
16485 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16487 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16489 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16491 * syntax.c (scan_words): Always advance at least one character.
16493 2000-02-13 Andy Piper <andy@xemacs.org>
16495 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16496 to make sure the glyph is in the cachels.
16498 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16499 global image instance flag.
16500 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16501 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16503 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16504 (Fset_image_instance_property): mark layout as changed.
16505 (invalidate_glyph_geometry_maybe): mark layout as changed.
16506 (glyph_width): use new NEEDS_LAYOUT macro.
16507 (glyph_ascent): ditto.
16508 (glyph_descent): ditto.
16509 (glyph_height): ditto.
16510 (image_instance_layout): mark layout as clean after laying out.
16511 (update_subwindow): don't mark layout as clean here.
16513 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16514 should no longer be needed.
16516 * glyphs-x.c (x_update_widget): sanitize asserts.
16517 (x_finalize_image_instance): sanitize assignment to widgets.
16519 * glyphs-widget.c (widget_instantiate): don't need to clear the
16522 2000-02-13 Martin Buchholz <martin@xemacs.org>
16524 * sysdep.c (getcwd): Use standard prototype.
16525 * sysdep.h (getcwd): Use standard prototype.
16527 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16528 (sequence, start, end).
16529 Remove redundant type checking.
16530 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16531 view of `caller-protects') to avoid a crash where the real fix was
16534 2000-02-12 Martin Buchholz <martin@xemacs.org>
16536 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16538 * s/sol2.h: Remove feature macro initialization.
16540 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16541 (vector_hash): New. Code from internal_hash.
16543 Fix up allocation subsystem comments.
16545 * config.h.in: Add __EXTENSIONS__ for Solaris.
16547 * systime.h (EMACS_GETTIMEOFDAY): New.
16548 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16549 Remove Solaris-specific code.
16550 Use void* for the (ignored) second arg for gettimeofday().
16552 * elhash.c (hash_table_hash): Implement it, finally.
16553 * elhash.c: Use hashcode_t.
16555 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16556 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16558 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16559 * fns.c (size_bit_vector):
16560 * alloc.c (size_vector):
16561 (make_vector_internal):
16562 (make_bit_vector_internal):
16563 (sweep_bit_vectors_1):
16564 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16566 2000-02-10 Martin Buchholz <martin@xemacs.org>
16568 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16569 Include strings.h to avoid warnings for bzero and strcasecmp.
16571 2000-02-10 Olivier Galibert <galibert@pobox.com>
16573 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16574 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16576 * fns.c (size_bit_vector): New. Declare bit vectors as a
16579 2000-02-10 Olivier Galibert <galibert@pobox.com>
16581 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16582 use a value field instead.
16583 (symbol_value_forward_forward): Use value field.
16584 (DEFVAR_SYMVAL_FWD): Use value field.
16585 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16586 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16587 (DEFVAR_CONST_INT): Ditto.
16588 (DEFVAR_BOOL): Ditto.
16589 (DEFVAR_CONST_BOOL): Ditto.
16590 (DEFVAR_INT_MAGIC): Ditto.
16591 (DEFVAR_BOOL_MAGIC): Ditto.
16593 * symbols.c (guts_of_unbound_marker): Use value field.
16594 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16595 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16597 * lisp.h: Declare dumpopaque and noninteractive1.
16599 * alloc.c (dumpopaque): Added.
16600 (pdump_dump_opaquevec): Added.
16601 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16602 (pdump_load): Reload opaque data. Sync noninteractive1 with
16605 2000-02-10 Andy Piper <andy@xemacs.org>
16607 * glyphs.c (image_instance_layout): if the size changes, mark it
16610 * redisplay-output.c (redisplay_output_layout): Update the
16612 (redisplay_output_subwindow): ditto.
16614 * glyphs.c (update_subwindow): make sure we reset flags for
16615 layouts as well as everything else.
16617 * glyphs-widget.c (layout_layout): don't need to set the instances
16620 2000-02-09 Martin Buchholz <martin@xemacs.org>
16622 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16623 not HAVE_DLOPEN, which is a lower-level thing.
16625 * .cvsignore: Ignore gmon.out
16627 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16629 * .cvsignore: Ignore portable dumper xemacs.dmp file
16631 2000-02-09 Andy Piper <andy@xemacs.org>
16633 * redisplay-output.c (redisplay_output_layout): be more clever
16634 about when we output based on the changed flags.
16636 * glyphs.h (struct image_instantiator_methods): add update_method.
16637 (struct Lisp_Image_Instance): add changed flags. Declare new
16638 macros for manipulating them.
16640 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16641 (image_instance_parent_glyph): find an image_instance's parent
16642 glyph or image_instance.
16643 (image_instance_layout): mark the size as changed.
16644 (set_image_instance_dirty_p): new function. mark an image
16645 instance, plus all of its parents, as dirty.
16646 (Fset_image_instance_property): use it.
16647 (Fglyph_animated_timeout_handler): use it.
16648 (update_subwindow): call update_widget and device methods for
16649 update_subwindow. Mark all changed flags as clean.
16650 (Fresize_subwindow): mark size as changed.
16652 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16654 (x_update_subwindow): only resize subwindows here.
16655 (x_update_widget): new function. Update all changed properties of
16657 (x_resize_subwindow): deleted.
16658 (x_widget_set_property): deleted.
16659 (x_progress_gauge_set_property): deleted.
16660 (x_progress_gauge_update): new function. Implement recorded
16662 (x_tab_control_update): ditto.
16663 (x_tab_control_set_property): deleted.
16664 (console_type_create_glyphs_x): declare new functions.
16665 (image_instantiator_format_create_glyphs_x): ditto.
16667 * glyphs-widget.c (widget_set_property): mark text changed.
16668 (update_widget): new function. Update properties of a widget.
16669 (widget_instantiate): for layouts make sure we set their
16670 children's parent correctly.
16671 (tab_control_set_property): new function. Record changes that will
16672 take place under redisplay's control.
16673 (progress_gauge_set_property): ditto.
16674 (image_instantiator_progress_guage): declare new functions.
16675 (image_instantiator_tab_control): ditto.
16677 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16679 (mswindows_update_widget): new function. Update all properties on
16680 a widget that have changed.
16681 (mswindows_button_update): new function. Update a button's set
16683 (mswindows_tab_control_update): new function. Update the items in
16685 (mswindows_tab_control_set_property): deleted.
16686 (mswindows_progress_gauge_update): new function. Update the
16687 progress gauge's progress.
16688 (mswindows_widget_set_property): deleted. This is all done
16689 asynchronously now.
16690 (mswindows_progress_gauge_set_property): ditto.
16691 (console_type_create_glyphs_mswindows): declare new methods.
16692 (image_instantiator_format_create_glyphs_mswindows): ditto.
16694 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16695 (msprinter_set_frame_properties): ditto.
16697 * console.h (struct console_methods): Add update_widget_method.
16699 2000-02-09 Andy Piper <andy@xemacs.org>
16701 * gui-msw.c (Fmswindows_shell_execute): Make
16702 mswindows-shell-execute industrial strength.
16704 2000-02-08 Martin Buchholz <martin@xemacs.org>
16706 * lrecord.h: Make macro argument `props' match member function `plist'.
16709 * fns.c (Fremprop):
16710 * fns.c (Fobject_plist):
16713 Object property list frobbing cleanup.
16714 - Allow any lisp object (compared with `eq'), not just symbols, as
16715 keys in object plists.
16716 - Move symbol plist frobbing into symbols.c, where it belongs.
16717 - Move string plist frobbing into alloc.c, where it belongs.
16718 - Everything's an lrecord now, so no need to test for symbolp, etc.
16719 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16721 * extents.c: Reorder code to remove declarations.
16723 * frame.h (store_in_alist): Remove useless declaration.
16725 2000-02-07 Martin Buchholz <martin@xemacs.org>
16727 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16728 * config.h.in: Add HAVE_XCONVERTCASE.
16730 2000-02-07 Andy Piper <andy@xemacs.org>
16732 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16733 it breaks many things.
16735 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16737 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16738 actually can start a common comment type.
16739 * src/syntax.h (SYNTAX_END_P): ditto for end.
16741 2000-02-07 Martin Buchholz <martin@xemacs.org>
16743 * XEmacs 21.2.28 is released.
16745 2000-02-06 Martin Buchholz <martin@xemacs.org>
16747 * event-Xt.c (x_keysym_to_character): New.
16748 (maybe_define_x_key_as_self_inserting_character): New.
16749 (x_has_keysym): New.
16750 Auto-define all keys on the keyboard as self-insert-key.
16752 2000-02-02 Martin Buchholz <martin@xemacs.org>
16754 * menubar.c (vars_of_menubar): A small code simplification.
16756 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16759 * ExternalClient.c:
16760 * EmacsShell-sub.c:
16763 Use consistent style for specifying X resources.
16765 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16766 This makes (dontusethis-set-symbol-value-handler) actually usable.
16768 * lrecord.h (lrecord_decription_type):
16769 * alloc.c (pdump_register_sub):
16772 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16773 Comply with XEmacs coding style.
16774 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16775 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16777 * keymap.c (Faccessible_keymaps):
16778 Make (accessible-keymaps map "\C-h") do the Right Thing.
16779 Make (accessible-keymaps map []) do the Right Thing.
16780 Make (accessible-keymaps map "") do the Right Thing.
16781 (check_keymap_definition_loop): New function.
16782 (keymap_store_internal): Keep luser from shooting self in foot,
16783 via (define-key ctl-x-4-map "p" global-map).
16784 Remove fullness slot from struct Lisp_Keymap, since hash tables
16786 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16788 2000-01-30 Martin Buchholz <martin@xemacs.org>
16790 * redisplay.c (init_redisplay): Fix small memory leak.
16792 * elhash.c (pdump_reorganize_hash_table):
16793 Rename from reorganize_hash_table. Change prototype.
16794 Reuse the original memory for hentries. Save 100k.
16795 * alloc.c (PDUMP_READ): new macro.
16796 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16797 * alloc.c: No need to #ifndef before #undef.
16799 * print.c: Allow debug_print() to print readably by modifying
16800 debug_print_readably. Use consistent variable names.
16802 * .dbxrc: Try to get things to work even if stopped in a function
16803 without source available by explicitly specifying source files.
16804 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16806 * unexnt.c (_start): Removed bogus code which caused loading heap
16807 from differrent executable file.
16808 Removed bogus assignment to _fmode, which caused inconsistencies.
16810 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16812 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16813 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16814 Do not preliminary `#define signal sigset'.
16816 * systime.h: Do not prototype environ on windows nt and cygwin,
16817 this conflicts with system header.
16819 * syssignal.h: Use correct define for WINDOWSNT
16821 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16822 with system header.
16824 * sysdep.c (near start of file): Fixed commentary and rearranged
16825 ifdefs in readable order.
16826 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16829 (end_of_data): Do not compile in if using PDUMP.
16831 * symsinit.h: Prototyped vars_of_nt().
16833 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16834 (find_child_console): Use it.
16835 (sys_kill): Use it.
16837 * ntheap.h: Do not extern os_subtype.
16839 * ntheap.c (cache_system_info): Do not cache unneeded:
16840 nt_major_version, nt_minor_version and os_subtype.
16841 (recreate_heap): Do not compile in when PDUMPing.
16843 * nt.c (geteuid and friends): Use the new varibale
16844 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16845 (init_user_info): Removed the above mentioned hackery.
16846 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16847 stat has been fixed in the C runtime.
16848 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16850 * file-coding.c (struct file_coding_dump): Do not define
16851 ucs_to_mule_table in the struct if not MULE.
16852 (struct struct lrecord_description fcd_description_1): Do not dump
16855 * emacs.c (main_1): Call vars_of_nt().
16856 (right before Fdump_emacs_data): Don't need lastfile if using both
16857 portabe dumper and system malloc.
16859 * alloc.c (Fmemory_limit): Conditionalized out.
16860 (pdump): Use OPEN_BINARY for the portable dump file.
16861 (pdump_load): Ditto.
16863 2000-02-02 Mike Alexander <mta@arbortext.com>
16865 * nt.c (convert_time): Set tm_isdst before calling mktime and
16866 avoid calling it at all if the compiler supports 64 bit integers.
16867 Also initialize utc_base_ft before using it.
16869 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16871 * frame.c (change_frame_size_1): Take f->internal_border_width
16872 into consideration when calculating the width of the frame.
16874 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16876 * window.c (frame_min_height):
16877 (frame_size_valid_p):
16878 (frame_pixsize_valid_p): Added.
16879 (check_frame_size): Generalized.
16881 * window.h: Prototyped the above.
16884 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16885 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16886 Deleted Vwin32_* and Vbinary_process_* unused variables.
16888 * device-msw.c (msprinter_init_device): Do not get printer font
16889 list; Added DEVMODE functions.
16891 * frame-msw.c: Added lots of printer code.
16893 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16896 * console-msw.h: Added more msprinter device private slots.
16898 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16900 * event-msw.c (key_needs_default_processing_p): Added.
16901 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16903 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16905 * glyphs.c (image_instance_layout): Mark image instance as clean
16907 (glyph_dirty_p): Removed redundant function.
16908 (invalidate_glyph_geometry_maybe): Added.
16909 (update_glyph_cachel_data): Call it.
16911 * glyphs.h: Prototyped it.
16913 * redisplay.c (add_glyph_rune): Call it.
16914 (redisplay_window): Reset glyphs cachels when frame faces have
16915 changed, thus forcing recomputation of built-in border glyphs.
16917 2000-01-30 Martin Buchholz <martin@xemacs.org>
16919 * Makefile.in.in: Make portable dumper and purify play well together.
16920 Add imperfect, but better than nothing, support for pdump.
16921 Remove xemacs.dmp when temacs is re-generated.
16922 Don't ignore errors when dumping xemacs.
16924 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16926 2000-01-28 Andy Piper <andy@xemacs.org>
16928 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16929 (setup_normal_frame): ditto.
16930 (setup_frame_without_minibuffer): ditto.
16931 (setup_minibuffer_frame): ditto.
16932 (delete_frame_internal): ditto.
16933 (Fmake_frame_invisible): ditto.
16934 (Ficonify_frame): ditto.
16936 * window.h: change Fset_window_buffer signature.
16938 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16939 (Fset_window_buffer): allow recording of buffer if the window is
16940 the selected window.
16941 (window_loop): Use new Fset_window signature.
16943 2000-01-23 Daniel Pittman <daniel@danann.net>
16945 * config.h.in: Added template for `HAVE_ATHENA_3D'
16947 2000-01-29 Andy Piper <andy@xemacs.org>
16949 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16951 * gutter.c (output_gutter): Don't output if the window isn't live.
16953 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16955 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16956 of 01/12/00: Moved SetFocus back here where it belongs.
16958 2000-01-23 Andy Piper <andy@xemacs.org>
16960 * s/cygwin32.h: declare printer things.
16962 2000-01-26 Andy Piper <andy@xemacs.org>
16964 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16967 2000-01-24 Andy Piper <andy@xemacs.org>
16969 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16970 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16972 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16974 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16976 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16978 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
16979 (mswindows_output_display_block): Avoid local shadows.
16981 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
16982 (mswindows_enqueue_mouse_button_event): ditto.
16983 (mswindows_handle_gui_wm_command): remove declaration.
16985 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
16988 * console-msw.h: Avoid shadows.
16989 (mswindows_get_toolbar_button_text):
16990 (emacs_mswindows_create_stream_pair):
16991 (emacs_mswindows_delete_stream_pair):
16992 (mswindows_handle_toolbar_wm_command): declare.
16994 * device-msw.c (build_syscolor_string): Avoid shadows.
16996 2000-01-23 Andy Piper <andy@xemacs.org>
16998 * glyphs-widget.c (widget_instantiate): reverse the items for
16999 layouts so that children are in the expected order.
17001 2000-01-28 Martin Buchholz <martin@xemacs.org>
17003 * ralloc.c: safe_bcopy ==> memmove
17004 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17005 * s/msdos.h: Remove BCOPY macros.
17006 * insdel.c (gap_right): Remove BCOPY conditional code.
17007 * insdel.c (gap_left): Remove BCOPY conditional code.
17008 XEmacs demands a working ANSI C compiler - hence memmove.
17010 * regex.c (regex_compile): Remove accidental use of trigraphs.
17012 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17014 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17017 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17019 * event-msw.c (mswindows_drain_windows_queue): Added the
17021 (mswindows_need_event): Commented the call to
17022 mswindows_drain_windows_queue().
17023 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17026 * console-msw.h: Moved a few function prototypes here from
17029 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17030 parameter from unsigned short to unsigned long.
17031 (Fmswindows_shell_execute): Added return value.
17033 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17035 * sysdep.c (init_system_name):
17036 process-unix.c (unix_canonicalized_host_name):
17037 Don't call freeaddrinfo() if getaddrinfo() fails.
17039 * process-unix.c (unix_open_unix_network_stream):
17040 Moved the code to get a port # into address loop.
17042 2000-01-27 Martin Buchholz <martin@xemacs.org>
17044 * buffer.c (reinit_vars_of_buffer):
17045 The right place to initialize conversion_in_dynarr and
17046 conversion_out_dynarr.
17048 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17050 * process-unix.c (unix_canonicalize_host_name): Muleize.
17051 (unix_open_network_stream): Muleize.
17053 * buffer.h: Fix up prototypes for ralloc.c functions.
17055 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17056 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17057 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17058 instead of gethostbyname()
17059 * process-unix.c: In unix_canonicalize_host_name() and
17060 unix_open_network_stream(), add code to use getaddrinfo()
17061 instead of gethostbyname().
17063 2000-01-27 Daniel Pittman <daniel@danann.net>
17065 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17066 libs when built with flat Athena.
17068 2000-01-27 Martin Buchholz <martin@xemacs.org>
17070 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17071 Use coding standards for function prototypes.
17073 2000-01-25 Martin Buchholz <martin@xemacs.org>
17075 * dialog-msw.c (push_lisp_string_as_unicode):
17076 * doc.c (unparesseuxify_doc_string):
17077 * dired.c (Fuser_name_completion_1):
17078 * dired.c (Fuser_name_all_completions):
17079 * dired.c (free_user_cache):
17080 * dired.c (user_name_completion):
17081 * console-x.c (get_display_arg_connection):
17082 * minibuf.c (clear_echo_area_internal):
17083 * minibuf.c (echo_area_append):
17084 * eldap.c (Fldap_open):
17085 * eldap.c (Fldap_search_internal):
17086 * frame-x.c (x_set_frame_text_value):
17087 * frame-x.c (x_set_frame_properties):
17088 * frame-x.c (x_create_widgets):
17089 * redisplay-tty.c (term_get_fkeys_1):
17090 * objects-x.c (x_parse_nearest_color):
17091 * objects-x.c (x_valid_color_name_p):
17092 * objects-x.c (x_initialize_font_instance):
17093 * objects-x.c (x_list_fonts):
17094 * objects-x.c (x_find_charset_font):
17095 * tooltalk.c (Fadd_tooltalk_message_arg):
17096 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17097 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17098 * process-unix.c (unix_create_process):
17099 * ntproc.c (sys_spawnve):
17100 * sound.c (Fplay_sound_file):
17101 * sound.c (Fplay_sound):
17102 * buffer.c (init_initial_directory):
17103 * buffer.c (init_buffer):
17104 * editfns.c (init_editfns):
17105 * editfns.c (Ftemp_directory):
17106 * editfns.c (Fuser_full_name):
17107 * editfns.c (uncache_home_directory):
17108 * editfns.c (get_home_directory):
17109 * editfns.c (Fuser_home_directory):
17110 * editfns.c (Fformat_time_string):
17111 * editfns.c (Fcurrent_time_string):
17112 * gui-x.c (button_item_to_widget_value):
17113 * database.c (Fopen_database):
17114 * event-Xt.c (x_to_emacs_keysym):
17115 * event-Xt.c (x_event_to_emacs_event):
17116 * event-Xt.c (describe_event_window):
17117 * event-msw.c (mswindows_wnd_proc):
17118 * glyphs-eimage.c (jpeg_instantiate):
17119 * glyphs-eimage.c (gif_instantiate):
17120 * glyphs-eimage.c (png_instantiate):
17121 * glyphs-eimage.c (tiff_instantiate):
17122 * glyphs-x.c (xbm_instantiate_1):
17123 * glyphs-x.c (x_xbm_instantiate):
17124 * glyphs-x.c (x_xface_instantiate):
17125 * glyphs-x.c (autodetect_instantiate):
17126 * glyphs-x.c (cursor_font_instantiate):
17127 * glyphs-x.c (x_widget_instantiate):
17128 * glyphs-x.c (x_widget_set_property):
17129 * glyphs-x.c (x_widget_property):
17130 * glyphs-x.c (BUILD_GLYPH_INST):
17131 * print.c (write_string_to_stdio_stream):
17132 * print.c (output_string):
17133 * print.c (Falternate_debugging_output):
17134 * print.c (Fexternal_debugging_output):
17135 * glyphs-msw.c (extract_xpm_color_names):
17136 * glyphs-msw.c (mswindows_xpm_instantiate):
17137 * glyphs-msw.c (bmp_instantiate):
17138 * glyphs-msw.c (resource_name_to_resource):
17139 * glyphs-msw.c (mswindows_resource_instantiate):
17140 * glyphs-msw.c (xbm_instantiate_1):
17141 * glyphs-msw.c (mswindows_xbm_instantiate):
17142 * glyphs-msw.c (mswindows_xface_instantiate):
17143 * glyphs-msw.c (mswindows_widget_instantiate):
17144 * glyphs-msw.c (add_tree_item):
17145 * glyphs-msw.c (add_tab_item):
17146 * glyphs-msw.c (mswindows_combo_box_instantiate):
17147 * glyphs-msw.c (mswindows_widget_property):
17148 * glyphs-msw.c (mswindows_combo_box_property):
17149 * glyphs-msw.c (mswindows_widget_set_property):
17150 * console.c (stuff_buffered_input):
17151 * objects-msw.c (mswindows_initialize_color_instance):
17152 * objects-msw.c (mswindows_valid_color_name_p):
17153 * objects-msw.c (mswindows_list_fonts):
17154 * objects-msw.c (mswindows_font_instance_truename):
17155 * bytecode.c (optimize_compiled_function):
17156 * select-x.c (symbol_to_x_atom):
17157 * select-x.c (x_atom_to_symbol):
17158 * select-x.c (hack_motif_clipboard_selection):
17159 * select-x.c (selection_data_to_lisp_data):
17160 * select-x.c (lisp_data_to_selection_data):
17161 * select-x.c (Fx_get_cutbuffer_internal):
17162 * select-x.c (Fx_store_cutbuffer_internal):
17163 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17164 * buffer.h (TO_INTERNAL_FORMAT): New function.
17165 * emacs.c (make_arg_list_1):
17166 * emacs.c (make_argc_argv):
17167 * emacs.c (main_1):
17168 * emacs.c (Fdump_emacs):
17169 * emacs.c (split_string_by_emchar_1):
17174 * device-x.c (x_init_device):
17175 * device-x.c (Fx_valid_keysym_name_p):
17176 * device-x.c (Fx_get_font_path):
17177 * device-x.c (Fx_set_font_path):
17178 * glyphs.c (bitmap_to_lisp_data):
17179 * glyphs.c (pixmap_to_lisp_data):
17180 * alloc.c (make_ext_string): Use coding system arguments. Update
17182 * alloc.c (build_string):
17183 * callproc.c (child_setup):
17184 * callproc.c (init_callproc):
17185 * fileio.c (lisp_strerror):
17186 * fileio.c (directory_file_name):
17187 * fileio.c (Fexpand_file_name):
17188 * fileio.c (Ffile_truename):
17189 * fileio.c (Fsysnetunam):
17190 * fileio.c (Fdo_auto_save):
17191 * sysdep.c (sys_readdir):
17192 * tests.c: New file. Allow adding C tests.
17193 Replace GET_* macros with a more comprehensible and flexible
17194 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17196 Any coding system can be used to do format conversion.
17197 Eliminate enum external_data_format.
17198 Eliminate convert_to_external_format.
17199 Eliminate convert_to_internal_format.
17200 Make sure file-name, keyboard, terminal, and ctext are always
17201 defined as coding systems or aliases. Make
17202 file-name-coding-system, terminal-coding-system, and
17203 keyboard-coding-system magical variables that are equivalent to
17204 defining the corresponding coding system aliases.
17206 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17207 * file-coding.c (Fcoding_system_alias_p): New function.
17208 * file-coding.c (Fcoding_system_aliasee): New function.
17209 * file-coding.c (append_suffix_to_symbol): New function.
17210 * file-coding.c (dangling_coding_system_alias_p): New function.
17211 * file-coding.c (Ffind_coding_system):
17212 * file-coding.c (Fcopy_coding_system):
17213 * file-coding.c (encode_coding_no_conversion):
17214 * file-coding.c (syms_of_file_coding):
17215 * file-coding.c (vars_of_file_coding):
17216 Rewrite coding system alias code.
17217 Allow nested aliases, like symbolic links.
17218 Allow redefinition of coding system aliases.
17219 Prevent existence of dangling coding system aliases.
17221 * dired.c (Fuser_name_completion_1):
17222 * dired.c (Fuser_name_all_completions):
17223 A crash would happen if user did QUIT in the middle of building
17224 user_name_cache. Remove redundant code in mainline and unwind_protect.
17227 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17229 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17230 an unsigned char *. Update all callers.
17232 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17234 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17236 2000-01-25 Martin Buchholz <martin@xemacs.org>
17238 * elhash.c (hentry_description): Use more portable definition.
17239 (resize_hash_table): Initialize new hentries using
17240 xnew_array_and_zero, thereby simplifying the code.
17242 * mule-charset.c (make_charset): Make sure entire object is
17243 initialized, to avoid Purify warnings.
17245 * alloc.c (resize_string): Fix unlikely crash with big strings.
17247 2000-01-24 Martin Buchholz <martin@xemacs.org>
17249 * realpath.c (xrealpath):
17250 Don't call getwd().
17252 2000-01-25 Martin Buchholz <martin@xemacs.org>
17254 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17256 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17258 * unexelfsgi.c (unexec): Change the way we decide which segment
17259 should be extended.
17261 Assumption that .bss section should be outside the PT_LOADable
17262 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17263 it's present) is inside the 'data' segment. This would fail the
17264 test which was used to find a segment to grow and cover new
17265 heap. Instead of this assumption, I created another one - on IRIX
17266 the segment to grow should start below .bss and it's address
17267 should extent above the end of .bss. Once this segment is
17268 identified, it's grown to accommodate the new heap and new
17269 zero-length .bss section is added at the end of .data2.
17271 2000-01-25 Martin Buchholz <martin@xemacs.org>
17273 * eval.c (Feval): Wrong number of arguments should use original
17274 function, not the indirect_function version of it.
17276 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17278 * glyphs-x.c (x_button_instantiate): Don't add image if
17279 it is not a pixmap.
17280 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17283 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17285 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17287 (DEFVAR_INT_MAGIC): Ditto.
17288 (DEFVAR_BOOL_MAGIC): Ditto.
17289 * glyphs.h: Reindent backslash.
17291 2000-01-24 Martin Buchholz <martin@xemacs.org>
17293 * glyphs-widget.c (layout_query_geometry):
17294 (layout_layout): Use correct types for gheight, gwidth.
17296 2000-01-24 Martin Buchholz <martin@xemacs.org>
17298 * EmacsManager.c (QueryGeometry): Purified.
17300 2000-01-23 Martin Buchholz <martin@xemacs.org>
17302 * alloc.c (make_float): Make sure entire object is initialized, to
17303 avoid Purify warnings.
17304 (pdump_register_sub): Remove useless assignment.
17305 (pdump): Use xmalloc, not malloc.
17306 (pdump_load): Use xmalloc, not malloc.
17308 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17315 * sysdep.c: Removed redundant #include <windows.h>
17317 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17319 * frame.c (delete_frame_internal): Do not delete device when its
17320 implementation so declares.
17321 (delete_frame_internal): Set device selected frame to nil when
17322 last frame goes away.
17324 * device-msw.c (msprinter_device_system_metrics): Implemented.
17325 (mswindows_device_system_metrics): Added 'device-dpi property.
17327 * device.c: (Fdevice_printer_p): Added.
17328 Added 'offset-workspace device metric.
17330 * console.h (device_metrics): Declared DM_offset_workspace.
17332 2000-01-23 Martin Buchholz <martin@xemacs.org>
17334 * fileio.c (Ffile_truename): Remove pointless and confusing
17335 initialization of elen.
17337 * glyphs-widget.c: Compiler warning fixes.
17339 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17341 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17342 instead of a Lisp_Object as argument to make it consistent with
17343 the other LIVE_P macros.
17344 (CHECK_LIVE_PROCESS): New macro.
17346 * process.c: Declare Qprocess_live_p.
17347 (Fprocess_live_p): New function.
17348 (create_process): Use PROCESS_LIVE_P.
17349 (read_process_output): Ditto.
17350 (set_process_filter): Ditto.
17351 (Fdelete_process): Ditto.
17352 (kill_buffer_processes): Ditto
17353 (process_send_signal): Use CHECK_LIVE_PROCESS.
17354 (Fprocess_input_coding_system): Check whether process is still
17355 alive (fix PR#1061).
17356 (Fprocess_output_coding_system): Ditto.
17357 (Fprocess_coding_system): Ditto.
17358 (Fset_process_input_coding_system): Ditto.
17359 (Fset_process_output_coding_system): Ditto.
17361 2000-01-23 Andy Piper <andy@xemacs.org>
17363 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17366 * glyphs.c (mark_image_instance): take into account changed
17367 image_instance format.
17368 (image_instance_equal): ditto.
17369 (image_instance_hash): ditto.
17371 * glyphs-widget.c (widget_instantiate): Incorporate layout
17372 instantiation here. Delay layout of the layout until later.
17373 (layout_instantiate): deleted.
17374 (layout_query_geometry): new function. get the geometry of a
17376 (layout_layout): layout a layout dynamically.
17377 (image_instantiator_widget): New function - splitting up
17378 image_instantiator_format_create_glyphs_widget for netwinder
17380 (image_instantiator_buttons):
17381 (image_instantiator_edit_fields):
17382 (image_instantiator_combo_box):
17383 (image_instantiator_scrollbar):
17384 (image_instantiator_progress_guage):
17385 (image_instantiator_tree_view):
17386 (image_instantiator_tab_control):
17387 (image_instantiator_labels):
17388 (image_instantiator_layout): ditto.
17389 (image_instantiator_format_create_glyphs_widget): Call preceding
17392 2000-01-22 Martin Buchholz <martin@xemacs.org>
17394 * process.c (Fset_process_coding_system):
17395 * device-x.c (Fx_keysym_hash_table):
17398 * lstream.c (Lstream_write): Return documented value, not 0.
17400 * fileio.c (directory_file_name):
17401 (Fsubstitute_in_file_name):
17402 (Fsubstitute_insert_file_contents_internal):
17403 (Fwrite_region_internal):
17408 Remove vestigial APOLLO-conditional code.
17410 2000-01-21 Martin Buchholz <martin@xemacs.org>
17412 * getpagesize.h: Add guard macros.
17413 * libsst.h: Add guard macros.
17414 * libst.h: Add guard macros.
17415 * line-number.h: Add guard macros.
17416 * ndir.h: Add guard macros.
17417 * sysfloat.h: Add guard macros.
17418 * sysfile.h: Add guard macros.
17419 * sysproc.h: Add guard macros.
17420 * syswait.h: Add guard macros.
17421 * xintrinsic.h: Add guard macros.
17422 * xintrinsicp.h: Add guard macros.
17423 * xmmanager.h: Add guard macros.
17424 * xmmanagerp.h: Add guard macros.
17425 * xmprimitive.h: Add guard macros.
17426 * xmu.h: Add guard macros.
17427 * gpmevent.h: Add copyright statement. Add guard macros.
17428 * miscplay.h: Add guard macros.
17429 * *.h: Use consistent C-standards-approved guard macro names.
17431 * opaque.c (make_opaque): Switch parameter order.
17432 * opaque.h (make_opaque): Switch parameter order.
17433 Update all callers.
17434 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17436 * config.h.in (type_checking_assert): Added.
17437 (bufpos_checking_assert): Added.
17439 2000-01-21 Martin Buchholz <martin@xemacs.org>
17441 * alloc.c: Harmless pdump changes.
17443 - spell alignment correctly.
17444 * sysdep.c: Use countof()
17446 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17448 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17449 initially_selected_for_input() console method, default to 0.
17450 (semi_canonicalize_console_connection): Try to delegate to
17451 canonicalize_console_connection if no such console method.
17452 (canonicalize_console_connection): Vice versa.
17453 (print_console): Do not print nil connection.
17455 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17456 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17457 (XDEVIMPF_FRAMELESS_OK): Added.
17458 (CONSOLE_INHERITS_METHOD): Added.
17460 * console-msw.c (mswindows_canonicalize_console_connection):
17462 (mswindows_canonicalize_device_connection): Added.
17464 * console-msw.h (struct msprinter_device): Added this struct and
17466 (mswindows_device): Made fontlist a lisp object.
17468 * device.c (semi_canonicalize_device_connection): Try to delegate
17469 to canonicalize_device_connection if no such console method.
17470 (canonicalize_device_connection): Vice versa.
17471 (print_device): Do not print nil connection.
17473 * device-msw.c (mswindows_init_device): Call InitCommonControls
17475 (mswindows_delete_device): Removed fontlist deallocation.
17476 (mswindows_mark_device): Added.
17478 * events.c (event_equal): Added abort() at unreached code.
17479 (event_hash): Ditto.
17481 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17482 fallback tags of Windows devices.
17484 * general.c (syms_of_general): Initialized Qmsprinter.
17486 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17487 of fallback tags of Windows devices.
17489 * lisp.h: Declared Qmsprinter.
17491 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17493 (mswindows_list_fonts): Ditto.
17494 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17495 that it can be used by both mswindows and msprinter devices.
17496 (initialize_font_instance): Added.
17497 (mswindows_initialize_font_instance): Use it.
17498 (msprinter_initialize_font_instance): Added.
17500 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17501 and implementation flags check.
17502 (redisplay_without_hooks): Changed the call to the above.
17503 (Fredraw_device): Ditto.
17504 (Fredisplay_device): Ditto.
17506 * redisplay-msw.c (get_frame_dc): Implemented.
17507 (get_frame_compdc): Implemented.
17508 (many functions): Use the two functions above to get device
17509 contexts, ether for a window or a printer.
17511 2000-01-21 Olivier Galibert <galibert@pobox.com>
17513 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17514 initialization here.
17515 (init_symbols_once_early): Call it.
17516 * emacs.c (main_1): Call it.
17517 * symsinit.h: Declare it.
17519 2000-01-19 Olivier Galibert <galibert@pobox.com>
17521 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17523 (pdump_backtrace): Ditto.
17524 (pdump_register_object): Ditto. Cleanup use of the pointers.
17525 (pdump_get_entry): Abort if trying to register a null pointer.
17526 (pdump_dump_data): Cleanup types when relocating.
17527 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17528 (pdump_dump_rtables): Remove bad casts.
17529 (pdump_load): Cleanup relocation w.r.t union type. Use a
17530 Lisp_Object instead of a EMACS_INT for the hashtable
17533 2000-01-20 Martin Buchholz <martin@xemacs.org>
17535 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17537 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17539 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17541 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17543 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17545 * faces.h (FACE_STRIKETHRU_P): Added.
17547 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17550 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17551 (mswindows_set_dc_font): New function, aware of font variants,
17552 separated from mswindows_update_dc.
17554 * objects-msw.h (struct mswindows_font_instance_data): Added
17557 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17558 cached fonts and the data structure.
17559 (mswindows_initialize_font_instance): Added creation of font data
17561 (mswindows_print_font_instance): Print at least something.
17562 (mswindows_create_font_variant): Implemented.
17563 (mswindows_get_hfont): Implemented.
17565 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17567 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17568 prototyping problem with msvc.
17570 * emacs.c (main_1): added syms_of_gui_mswindows() call
17572 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17573 syms_of_gui_mswindows() function
17575 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17577 2000-01-18 Martin Buchholz <martin@xemacs.org>
17579 * XEmacs 21.2.27 is released.
17581 2000-01-18 Martin Buchholz <martin@xemacs.org>
17583 * glyphs-eimage.c (struct tiff_error_struct):
17585 (tiff_warning_func):
17586 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17591 * unexec.c: Remove vestigial Lucid C code.
17595 * libsst.c: Ansify.
17596 Remove declarations of errno and strerror().
17598 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17600 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17602 2000-01-16 Martin Buchholz <martin@xemacs.org>
17604 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17607 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17612 Change enum eol_type to eol_type_t.
17614 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17616 * gui.c (get_gui_callback): Check cons before accessing car.
17618 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17620 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17621 (XSETSPECIFIER_TYPE): Ditto.
17623 2000-01-17 Didier Verna <didier@xemacs.org>
17625 * redisplay.c (generate_fstring_runes): compute string size in
17626 characters, not bytes.
17628 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17630 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17632 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17634 * print.c (print_error_message): Call print_prepare().
17636 2000-01-14 Martin Buchholz <martin@xemacs.org>
17638 * .dbxrc: Renamed from dbxrc.
17640 * events.c (event_to_character):
17641 Use `assert (foo)' instead of `if (!foo) abort()'
17643 * .gdbinit (xtype): Add documentation.
17644 * .gdbinit (check-temacs): New function.
17645 * .gdbinit (check-xemacs): New function.
17646 * dbxrc (check-xemacs): New function.
17647 * dbxrc (check-xemacs): New function.
17649 2000-01-14 Andy Piper <andy@xemacs.org>
17651 * glyphs-widget.c (widget_query_geometry): Make sure that we
17652 calculate default dimensions correctly.
17654 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17656 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17658 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17659 pdump_wire'd variable.
17661 * emacs.c: (main_1): Conditionalized calls to
17662 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17664 2000-01-13 Martin Buchholz <martin@xemacs.org>
17666 * window.c (Fset_window_configuration):
17667 * sysdep.c (_start):
17668 * input-method-motif.c (res):
17669 * event-Xt.c (Xt_process_to_emacs_event):
17670 Simple compiler warning fixes.
17672 * bytecode.c (funcall_compiled_function): Use the original
17673 function symbol on the backtrace list in preference to the
17674 compiled_function object in error messages.
17676 2000-01-13 Andy Piper <andy@xemacs.org>
17678 * glyphs-x.c (update_widget_face): Make sure we update the widget
17679 background as well as foreground.
17681 2000-01-13 Andy Piper <andy@xemacs.org>
17683 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17684 fields to subwindow.
17685 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17686 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17687 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17688 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17690 * glyphs-widget.c (check_valid_tab_orientation): new function.
17691 (initialize_widget_image_instance): zero orientation and
17693 (widget_instantiate): pick up orientation.
17694 (tab_control_query_geometry): return appropriate values for
17697 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17698 appropriate creation flags for left, right and bottom tabs.
17700 * s/cygwin32.h: add tab definitions.
17702 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17704 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17705 frame upon hiding a subwindow.
17706 (mswindows_button_instantiate): Changed the push button style to
17708 (mswindows_button_instantiate): Removed button BS_NOTIFY
17710 (mswindows_button_instantiate): Removed redundant check for
17711 a disabled gui item.
17712 (mswindows_button_instantiate): Made use of WS_TABSTOP
17713 consistent: "operable" controls (edit, button, tree, scroll) have
17714 this style, "display-only" ones (static, progress gauge) do
17715 not. This style is currently ignored by XEmacs though. Also,
17716 removed the WS_EX_CONTROLPARENT style - it is not for children,
17717 it is for their parents!
17718 (mswindows_edit_field_instantiate): Ditto.
17719 (mswindows_progress_gauge_instantiate): Ditto.
17720 (mswindows_tree_view_instantiate): Ditto.
17721 (mswindows_tab_control_instantiate): Ditto.
17722 (mswindows_scrollbar_instantiate): Ditto.
17723 (mswindows_combo_box_instantiate): Ditto.
17724 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17725 style to the "clip" window.
17726 (mswindows_button_instantiate): Removed compilation warning by
17727 equally typing terms of the ?: operator.
17729 2000-01-12 Didier Verna <didier@xemacs.org>
17731 * redisplay.c (generate_fstring_runes): new parameter holding the
17732 last modeline-format extent.
17733 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17734 extent, fill the glyph block with it.
17735 (generate_fstring_runes): handle these parameters.
17736 (generate_formatted_string_db): ditto.
17738 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17739 glyphs'extents in the modeline.
17741 1999-01-11 Mike Woolley <mike@bulsara.com>
17743 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17744 256Mb, as a workaround for the non-starting problem many people
17747 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17749 * console-tty.c (Fset_console_tty_output_coding_system):
17750 Force redrawing tty frame.
17752 2000-01-10 Didier Verna <didier@xemacs.org>
17754 * redisplay.c (generate_fstring_runes): fix size computation bug.
17756 2000-01-09 William M. Perry <wmperry@aventail.com>
17758 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17760 2000-01-09 Andy Piper <andy@xemacs.org>
17762 * glyphs-msw.c: index -> i to avoid shadows.
17763 (xbm_create_bitmap_from_data): make static.
17764 (check_valid_string_or_int): deleted.
17765 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17767 * glyphs-x.c (x_update_subwindow): remove unused args.
17769 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17770 back pointer - this is done in allocate_image_instance.
17771 (query_string_font): return Qnil to make the compiler happy.
17772 (unmap_subwindow): set to ~0 to make the compiler happy.
17773 (glyph_query_geometry): comment out until used.
17774 (glyph_layout): ditto.
17776 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17778 * insdel.c (signal_after_change): Remove extraneous unbind_to().