1 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
6 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
11 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
14 is a relation feature.
16 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * chartab.c (syms_of_chartab): Define
19 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
21 * chartab.h (Q_denotational): New extern when UTF2000 or
22 HAVE_CONCORD is defined.
23 (Q_denotational_from): Likewise.
24 (Q_subsumptive): Likewise.
25 (Q_subsumptive_from): Likewise.
27 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * concord.c (concord_object_put): New function.
30 (Fconcord_object_put): Use `concord_object_put'.
32 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * concord.c (Fconcord_define_object): New function.
35 (syms_of_concord): Add new builtin function
36 `concord-define-object'.
38 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
40 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
43 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * concord.c: Add EXFUN for Fconcord_object_get.
46 (Vconcord_genre_object_hash_table): New variable.
47 (concord_genre_cache_get_object): New function.
48 (concord_genre_cache_put_object): New function.
49 (Fconcord_make_object): Use object cache; put object-ID into `=id'
51 (Fconcord_object_put): Call `concord_index_sync' after
52 `concord_index_strid_put_obj'.
53 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
55 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
57 * concord.c (Fconcord_decode_object): Do GCPRO for
59 (func_for_each_object): Likewise; do GCPRO for
60 for_each_object_closure->function.
61 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
62 for_each_object_closure->function, for_each_object_closure->genre,
63 for_each_object_closure->ds and for_each_object_closure->ret.
64 (concord_object_validate): Do GCPRO for Fconcord_make_object.
66 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
68 * concord.c: Add EXFUNs for Fconcord_decode_object and
70 (Fconcord_make_object): Change order of arguments.
71 (Fconcord_decode_object): Modify for Fconcord_make_object.
72 (func_for_each_object): Likewise.
73 (concord_object_validate): Likewise.
74 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
76 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
78 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
80 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
82 * concord.c (Fconcord_decode_object): Try to use readable print
83 form as a key of Concord-index.
84 (Fconcord_object_get): Try to use readable print form as an ID of
86 (Fconcord_object_put): Try to use readable print form as an ID of
87 Concord-object and a feature value.
88 (Fconcord_object_spec): Try to use readable print form as an ID of
91 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
93 * concord.c (print_concord_object): Support readable form.
95 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
97 * emacs.c (main_1): Call `structure_type_create_concord' when
98 HAVE_CONCORD is defined.
100 * symsinit.h (structure_type_create_concord): New prototype.
102 * concord.c (Qconcord_object): New variable.
105 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
107 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
108 char*> for genre-name.
109 (Fconcord_feature_list): Likewise.
110 (Fconcord_make_object): Likewise.
111 (Fconcord_decode_object): Likewise; use <char*> instead of
112 <unsigned char*> for feature_name and strid.
113 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
114 c_obj and feature_name.
115 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
117 (struct closure_for_object_spec): Use <char*> instead of <unsigned
118 char*> for member `object_id'.
119 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
120 char*> for feature-name.
121 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
123 (func_for_each_object): Cast to avoid warnings.
124 (Fconcord_foreach_object_in_feature): Use <char*> instead of
125 <unsigned char*> for genre_name and feature_name.
126 (concord_name_validate): New function.
127 (concord_object_validate): Likewise.
128 (concord_object_instantiate): Likewise.
129 (syms_of_concord): Add new builtin symbols `concord-object',
131 (structure_type_create_concord): New function.
133 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
135 * concord.c (Vconcord_ds_hash_table): New variable.
136 (Vconcord_genre_hash_table): New variable.
137 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
138 (Fconcord_ds_directory): New function.
139 (Fconcord_assign_genre): New function.
140 (Fconcord_genre_directory): New function.
141 (Fconcord_genre_ds): New function.
142 (Fconcord_feature_list): Allow to omit `ds'.
143 (Fconcord_make_object): Likewise.
144 (Fconcord_decode_object): Likewise.
145 (Fconcord_foreach_object_in_feature): Likewise.
146 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
147 Fconcord_assign_genre, Fconcord_genre_directory and
149 (vars_of_concord): Setup Vconcord_ds_hash_table and
150 Vconcord_genre_hash_table.
152 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
154 * concord.c (struct closure_for_each_object): Add new member
156 (func_for_each_object): Setup the return value to
157 `for_each_object_closure->ret'.
158 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
159 returns the value instead of Qt.
161 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
163 * concord.c: New file.
165 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
167 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
168 `lrecord_type_concord_object'.
170 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * symsinit.h (syms_of_concord): New prototype.
173 (vars_of_concord): New prototype.
175 * emacs.c (main_1): Setup symbols and variable about concord if
176 HAVE_CONCORD is defined.
178 * config.h.in (HAVE_CONCORD): New macro.
180 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
182 * chartab.c (Fput_char_attribute): For each character relation
183 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
185 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
187 * chartab.c (Fput_char_attribute): Use
188 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
189 calling `put_char_composition'.
191 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
193 * chartab.c (Q_halfwidth_of): New variable.
194 (put_char_composition): Return `<-halfwidth' instead of
195 `=decomposition' for compatibility mapping to single character
197 (Fput_char_attribute): Convert char-specs in value of
198 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
199 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
201 (syms_of_chartab): Add new symbol `<-halfwidth'.
203 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
205 * chartab.c (put_char_composition): Return
206 `<-formed@{isolated|initial|medial|final}' for compatibility
207 mapping to single character tagged
208 `{isolated|initial|medial|final}'.
210 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
212 * chartab.c (Q_compat_of): Deleted.
213 (put_char_composition): Return `<-FOO' for compatibility mapping
214 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
215 of `symbol_name (XSYMBOL(...))'.
216 (Fput_char_attribute): Convert char-specs in value of
217 `{<-|->}font[^*]*' to characters and put reverse links.
218 (Fsave_char_attribute_table): Don't refer Q_compat_of.
219 (syms_of_chartab): Delete builtin symbol `<-compat'.
221 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
223 * chartab.c (Q_circled_of): New variable.
224 (put_char_composition): Return `<-circled' instead of
225 `=decomposition' for compatibility mapping to single character
227 (Fput_char_attribute): Convert char-specs in value of
228 `{<-|->}circled[^*]*' to characters and put reverse links.
229 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
231 (syms_of_chartab): Add new symbol `<-circled'.
233 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
235 * chartab.c (Qto_decomposition_at_circled): New variable.
236 (put_char_composition): Return `=>decomposition@circled' instead
237 of `=decomposition' for compatibility decomposition mapping tagged
239 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
241 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
243 * chartab.c (Q_subscript_of): New variable.
244 (put_char_composition): Return `<-subscript' instead of
245 `=decomposition' for compatibility mapping to single character
247 (Fput_char_attribute): Convert char-specs in value of
248 `{<-|->}subscript[^*]*' to characters and put reverse links.
249 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
251 (syms_of_chartab): Add new symbol `<-subscript'.
253 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
255 * chartab.c (Q_superscript_of): New variable.
256 (put_char_composition): Return `<-superscript' instead of
257 `=decomposition' for compatibility mapping to single character
259 (Fput_char_attribute): Convert char-specs in value of
260 `{<-|->}superscript[^*]*' to characters and put reverse links.
261 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
263 (syms_of_chartab): Add new symbol `<-superscript'.
265 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
267 * chartab.c (Qto_decomposition_at_compat): Deleted.
268 (Qto_decomposition_at_superscript): New variable.
269 (put_char_composition): Use `=>decomposition@superscript' instead
270 of `=decomposition' for compatibility decomposition mapping tagged
272 (Fput_char_attribute): Fix condition about `put_char_composition'.
273 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
274 add news symbol `=>decomposition@superscript'.
276 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
278 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
279 for compatibility decomposition mapping tagged FOO.
280 (Fput_char_attribute): Modify for `put_char_composition'.
282 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
284 * chartab.c (Qto_decomposition_at_compat): New variable.
285 (Q_compat_of): Renamed from `Q_compatibility_of'.
286 (put_char_composition): Rename `Q_compatibility_of' to
287 `Q_compat_of'; return `=>decomposition@compat' for compatibility
288 decomposition mapping.
289 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
291 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
292 `<-compatibility' to `<-compat'.
294 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
296 * chartab.c (Q_compatibility_of): New variable.
297 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
298 object is proved to be a cons cell; return `<-compatibility' if
299 the first element of argument `value' is `compat'.
300 (Fput_char_attribute): Eliminate the first value if
301 `put_char_composition' returns `<-compatibility'.
302 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
303 for `<-compatibility'.
304 (syms_of_chartab): Add new symbol `<-compatibility'.
306 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
308 * chartab.c (Q_canonical): New variable.
309 (put_char_composition): Return a feature name: return
310 `->canonical' if argument `value' specifies single character.
311 (Fput_char_attribute): Use `put_char_composition' to determine
312 feature name for `=decomposition' or `->denotational'.
313 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
315 (syms_of_chartab): Add new symbol `->canonical'.
317 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
319 * chartab.c (Qmap_decomposition): New variable.
320 (Fput_char_attribute): Convert `->decomposition' to
322 (syms_of_chartab): Add new symbol `=decomposition'.
324 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
326 * chartab.c (Fget_range_char_table): Fix serious problem when
329 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * chartab.c (char_table_get_db): Use `read_from_c_string'.
333 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * lread.c (read_from_c_string): New function.
337 * lisp.h (read_from_c_string): New prototype.
339 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
341 * chartab.c (Fput_char_attribute): Convert char-specs in value of
342 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
343 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
344 for `{<-|->}Oracle-Bones[^*]*'.
346 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
348 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
351 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
353 * text-coding.c (Qccs_priority_list): New variable in XEmacs
355 (Fmake_coding_system): Support new property `ccs-priority-list' in
357 (Fcoding_system_property): Likewise.
358 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
359 Vdefault_coded_charset_priority_list in XEmacs CHISE.
360 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
362 (complex_vars_of_file_coding): Define new coding-system-property
363 `ccs-priority-list' in XEmacs CHISE.
365 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
367 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
370 changed to normal function.
371 (encode_char_2): Likewise.
373 * mule-charset.c (decoding_table_put_char): Copied from
374 char-ucs.h; changed to normal function.
375 (encode_char_2): Likewise.
377 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
379 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
381 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
382 (encode_char_2_search_children): New inline function.
383 (encode_char_2): Refer
384 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
385 and use `encode_char_2_search_children'.
387 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
390 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
391 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
392 (vars_of_mule_charset): Add new variable
393 `display-coded-charset-priority-use-inheritance' and
394 `display-coded-charset-priority-use-hierarchy-order'.
396 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
398 * char-ucs.h (Q_subsumptive): New extern.
399 (Q_denotational): Likewise.
400 (encode_char_2): Search children specified by `->subsumptive' and
403 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * mule-charset.c (complex_vars_of_mule_charset): Modify the
406 X-registry of `ucs-bmp'.
408 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * chartab.c (char-variants): Refer `->subsumptive',
411 `->denotational' and `->identical' as same as `->ucs-unified'.
413 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * chartab.c (Fput_char_attribute): Convert char-specs in value of
416 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
419 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * text-coding.c: Add EXFUN for `Fregexp_quote'.
422 (decode_add_er_char): Fix problem about infinite loop when a CCS
423 specified in `coded-charset-entity-reference-alist' is not
426 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
428 * mule-charset.c (syms_of_mule_charset): Rename
429 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
431 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * fns.c (simplify_char_spec): Don't allocate new character-object
434 if specified char_spec does not have any CCS-features.
436 * chartab.h: Add EXFUN for Fdefine_char.
438 * chartab.c: Delete EXFUN for Fdefine_char.
440 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
442 * fns.c (simplify_char_spec): Use Fdefine_char instead of
443 Ffind_char for char-spec.
445 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * lisp-disunion.h (XCHARVAL): Fix condition about
450 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
454 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
455 point; use <Emchar> instead of <int> for character-id.
457 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
459 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
460 (make_char): Likewise.
461 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
463 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
464 instead of <int> as the type of return value; use <Lisp_Object>
465 instead of <Emchar> as the type of argument.
466 (XCHARVAL[macro version]): Cast the result into <Emchar>.
468 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
469 syntaxcode> instead of <int>.
471 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * chartab.c (put_char_composition): Use DECODE_CHAR to get
474 character corresponding with UCS code point.
475 (Fput_char_attribute): Likewise.
477 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
478 character in the UCS decoding-table if the char-id is not equal to
481 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
483 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
484 for aliases; write `description'; write
485 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
488 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
490 * chartab.c (Fsave_char_attribute_table): Don't use
491 `save_charset_properties'.
493 * mule-charset.c (Fsave_charset_properties): Renamed from
494 `save_charset_properties' and changed to Lisp function again;
495 write property `type' as `CCS'; write properties `final-byte' and
496 `mother' if they exists.
497 (syms_of_mule_charset): Revive builtin function
498 `save-charset-properties' when HAVE_LIBCHISE is defined.
500 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
502 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
503 instead of Vexec_directory.
504 (char_attribute_system_db_file): Likewise.
506 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
508 * chartab.c (Fsave_char_attribute_table): Use
509 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
512 * mule-charset.c (save_charset_properties): Renamed from
513 `Fsave_charset_properties'; changed to non-Lisp function.
514 (syms_of_mule_charset): Abolish builtin function
515 `save-charset-properties'.
517 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
519 * mule-charset.c (Fsave_charset_properties): New function when
520 HAVE_LIBCHISE is defined.
521 (syms_of_mule_charset): Add new builtin function
522 `save-charset-properties' when HAVE_LIBCHISE is defined.
524 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
526 * chartab.c (Fput_char_attribute): Convert char-specs in value of
527 `{<-|->}ancient[^*]*' to characters and put reverse links.
528 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
529 for `{<-|->}ancient[^*]*'.
531 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
533 * chartab.c (Fput_char_attribute): Convert char-specs in value of
534 `{<-|->}original[^*]*' to characters and put reverse links.
535 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
536 for `{<-|->}original[^*]*'.
538 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
540 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
542 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
544 * mule-charset.c (Qsystem_char_id): New variable.
546 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
547 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
549 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
551 * chartab.c (Fput_char_attribute): When processing a reference of
552 a character, put into the end of the reversed reference of each
555 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
557 * chartab.c (Q_same): Deleted.
558 (Q_same_of): Deleted.
559 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
560 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
562 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
564 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
566 * chartab.c (Q_vulgar): Deleted.
567 (Q_vulgar_of): Deleted.
568 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
569 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
571 (syms_of_chartab): Don't define `{<-|->}vulgar'.
573 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
575 * chartab.c (Fput_char_attribute): Convert char-specs in value of
576 `{<-|->}wrong[^*]*' to characters and put reverse links.
577 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
578 for `{<-|->}wrong[^*]*'.
580 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * chartab.c (Q_vulgar): New variable.
583 (Q_vulgar_of): New variable.
584 (Fput_char_attribute): Convert char-specs in value of
585 `{->|<-}vulgar' to characters and put reverse links.
586 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
588 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
590 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
592 * text-coding.c (decode_add_er_char): Must to quote prefix string
595 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
597 * mule-charset.c (put_char_ccs_code_point): Store characters of
598 =ucs whose code_points >= 0xF0000.
600 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
604 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
606 (complex_vars_of_mule_charset): Add new coded-charset
607 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
608 builtin characters over 0xEFFFF.
610 * chartab.c (syms_of_chartab): Don't define symbol
611 `system-char-id' in every case.
613 * char-ucs.h (Qsystem_char_id): New extern variable.
614 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
616 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * text-coding.c (char_encode_utf8): Try to use entity-references
619 for U-000F0000 ... U-0010FFFF.
621 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
623 * text-coding.c (ER_BUF_SIZE): New macro.
624 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
626 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
627 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
629 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
631 * chartab.c (find_char_feature_in_family): New function.
632 (Fchar_feature): Use `find_char_feature_in_family' with
633 `->identical', `<-subsumptive' and `<-denotational'.
635 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
637 * text-coding.c (char_encode_as_entity_reference): Allow prefix
638 within 8 characters; fix infinite loop.
640 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * chartab.c (Q_same): New variable.
643 (Q_same_of): New variable.
644 (Fput_char_attribute): Convert char-specs in value of
645 `{->|<-}same' to characters and put reverse links.
646 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
648 (syms_of_chartab): Add new symbols `{->|<-}same'.
650 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
652 * chartab.c (Q_component): New variable.
653 (Q_component_of): Likewise.
654 (Fput_char_attribute): Convert char-specs in value of
655 `{->|<-}ideographic-component-forms' to characters and put reverse
657 (syms_of_chartab): Add new symbols
658 `{->|<-}ideographic-component-forms'.
660 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
662 * chartab.c (Q_identical): New variable.
663 (Q_identical_from): New variable.
664 (Fchar_feature): Regard `->identical' as a feature to find
666 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
667 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
668 for `{->|<-}identical'.
669 (syms_of_chartab): Add new symbols `{->|<-}identical'.
671 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
673 * char-ucs.h (encode_char_2): New inline function.
674 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
676 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
678 * chartab.c (Fput_char_attribute): Convert char-specs to
679 characters in value of `ideographic-structure'.
680 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
681 for `{<-|->}simplified(@...)'.
682 (Fdefine_char): Try to use predefined character's id.
684 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
686 * fns.c (simplify_char_spec): Try to convert builtin chars to
689 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * chartab.c (Fput_char_attribute): Convert char-specs in value of
692 `<-simplified[^*]*' to characters and put reverse links.
694 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * chartab.c (Q_subsumptive): Renamed from Q_unified.
697 (Q_subsumptive_from): Renamed from Q_unified_from.
698 (Fchar_feature): Use `Q_subsumptive_from' instead of
700 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
702 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
703 `<-unified' to `<-subsumptive'.
705 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
708 inheritance itself; fix typo; stop recursive search if cyclic
709 inheritance is found.
711 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
713 * chartab.c (Q_denotational): New variable.
714 (Q_denotational_from): New variable.
715 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
716 (put_char_attribute): New function.
717 (Fput_char_attribute): Use `put_char_attribute'; regard
718 `->denotational' and `<-denotational' as same as `->unified' and
720 (syms_of_chartab): Add new symbols `->denotational' and
723 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
725 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
726 `Fget_char_attribute'.
727 (Fchar_variants): Likewise.
728 (get_char_table): Likewise.
729 (Fchar_feature): New function.
730 (put_char_composition): Use `Fchar_feature' instead of
731 `Fget_char_attribute'.
732 (Fput_char_attribute): Likewise; don't put the target character
733 into its `->unified' value.
734 (syms_of_chartab): Add new builtin function `char-feature'.
736 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
738 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
739 `Fget_char_attribute'.
740 (char_encode_utf8): Likewise.
742 * chartab.h: Add an EXFUN for `Fchar_feature'.
744 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
746 * chartab.c (Vnext_defined_char_id): New variable.
747 (Fput_char_attribute): Accept characters in `->unified'.
748 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
749 new characters which are not related with builtin char-id ranges.
750 (vars_of_chartab): Add new variable `next-defined-char-id'.
752 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * chartab.c (Q_unified): New variable.
755 (Q_unified_from): New variable.
756 (Fput_char_attribute): Add code for `->unified'.
757 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
760 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 * mule-charset.c (decode_ccs_conversion): New function.
763 (decode_defined_char): Use `decode_ccs_conversion'.
764 (decode_builtin_char): Likewise.
766 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
768 * char-ucs.h: Change some charset-ids of private coded-charsets.
770 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
772 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
773 (char_encode_as_entity_reference): Likewise.
774 (decode_coding_big5): Modify for `decode_defined_char' and
776 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
777 avoid compiler warning.
778 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
780 * mule-charset.c (decode_defined_char): Add new argument
781 `without_inheritance'.
782 (Fdecode_char): Add new optional argument `without_inheritance'.
783 (Fdecode_builtin_char): Modify for `Fdecode_char'.
785 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
786 (simplify_char_spec): Likewise.
788 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
791 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
792 (map_char_table): Likewise.
793 (Fdefine_char): Use `Fdecode_char' without inheritance.
794 (Ffind_char): Modify for `Fdecode_char'.
796 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
798 * char-ucs.h (decode_defined_char): Add new argument
799 `without_inheritance'.
800 (DECODE_CHAR): Likewise.
801 (MAKE_CHAR): Modify for `DECODE_CHAR'.
803 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
805 * chartab.c (Vchise_system_db_directory): New variable.
806 (vars_of_chartab): Add new variable `chise-system-db-directory'.
808 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
810 * chartab.c: EXFUN `Fmount_char_attribute_table'.
811 (print_chartab_range): Don't define when `UTF2000' is defined.
812 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
815 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
817 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
818 and optional argument `rehash' is specified, call
819 `open_chise_data_source_maybe' before
820 `chise_ds_foreach_char_feature_name' is called.
822 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
824 * chartab.c (char_attribute_list_reset_map_func): New function
825 when HAVE_LIBCHISE is defined.
826 (Fchar_attribute_list): Add new optional argument `rehash' when
827 HAVE_LIBCHISE is defined.
828 (open_chise_data_source_maybe): Use "chise-db" instead of
830 (char_attribute_system_db_file): Likewise.
831 (Fload_char_attribute_table): Use
832 `chise_feature_foreach_char_with_value' instead of
833 `chise_char_feature_value_iterate'.
835 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
837 * chartab.c (Vchise_db_directory): New variable.
838 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
840 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
843 instead of HAVE_CHISE to specify using with libchise.
845 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
847 * chartab.h: Don't use HAVE_CHISE_CLIENT.
849 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
850 defined or HAVE_LIBCHISE_LIBCHISE is defined.
851 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
853 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
854 HAVE_CHISE to specify using with libchise.
855 (syms_of_chartab): Don't define symbol `system-char-id' when
856 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
858 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
860 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
861 specify CHISE DB support.
862 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
863 of `char_attribute_system_db_file' to check feature DB file.
865 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
866 HAVE_CHISE_CLIENT to specify CHISE DB support.
868 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
869 specify CHISE DB support.
870 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
872 (Freset_char_attribute_table): Use `chise_feature_setup_db'
873 instead of `char_attribute_system_db_file' to check feature DB
876 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
878 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
881 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
883 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
884 (Fsave_charset_mapping_table): Don't use
885 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
887 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
888 (HAVE_LIBCHISE): New macro.
890 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
892 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
893 (Fsave_char_attribute_table): Don't use
894 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
896 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
900 (save_uint16_byte_table): Likewise.
901 (save_byte_table): Likewise.
902 (char_table_get_db): Use `chise_ds_load_char_feature_value'
903 instead of `chise_char_load_feature_value'.
904 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
906 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
908 * chartab.h (struct Lisp_Char_Table): Delete member
909 `feature_table' if CHISE is defined.
911 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
912 (Fcopy_char_table): Likewise.
913 (char_table_open_db_maybe): Likewise.
914 (char_table_close_db_maybe): Likewise.
915 (char_table_get_db): Likewise.
916 (Fmount_char_attribute_table): Likewise.
917 (Fload_char_attribute_table): Likewise.
919 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
921 * mule-charset.c (load_char_decoding_entry_maybe): Use
922 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
925 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
927 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
928 instead of `chise_open_data_source'.
929 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
932 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
934 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
935 instead of `chise_ds_open_feature_table'.
936 (char_table_close_db_maybe): Don't use `chise_ft_close'.
938 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
940 * mule-charset.c (Fsave_charset_mapping_table): Use
941 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
942 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
943 `chise_ccs_sync' instead of `chise_ccst_close'.
944 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
946 * chartab.c (open_chise_data_source_maybe): Modify for
947 `chise_open_data_source'.
948 (char_table_open_db_maybe): Modify for
949 `chise_ds_open_feature_table'.
951 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
953 * mule-charset.c (load_char_decoding_entry_maybe): Use
954 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
957 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
959 * mule-charset.c (Fsave_charset_mapping_table): Use
960 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
961 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
962 `chise_dt_put_char' and `chise_dt_close'.
963 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
964 `chise_ccs_decode' and `chise_ccst_close' instead of
965 `chise_ds_open_decoding_table', `chise_dt_get_char' and
968 * chartab.c (char_table_get_db): Use
969 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
970 (load_char_attribute_table_map_func): Modify for
971 `chise_char_feature_value_iterate'.
972 (Fload_char_attribute_table): Use
973 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
975 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
977 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
979 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
981 * chartab.c (put_char_table): Modify for inherited coded-charsets
984 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
986 * chartab.c (Fput_char_table_map_function): Fixed.
987 (word_boundary_p): Don't check charset in XEmacs CHISE.
989 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
991 * mule-charset.c (Fsave_charset_mapping_table): Use
992 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
993 instead of `chise_open_decoding_table'; refer
994 `default_chise_data_source'; use `chise_dt_close' instead of
995 `chise_close_decoding_table'.
996 (load_char_decoding_entry_maybe): Likewise.
998 * chartab.c (default_chise_data_source): New variable when `CHISE'
1000 (Fcopy_char_table): `ct->ds' is deleted.
1001 (open_chise_data_source_maybe): New function.
1002 (Fclose_char_data_source): New function.
1003 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1004 use `chise_ds_open_feature_table' instead of
1005 `chise_open_feature_table'.
1006 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1007 `chise_close_feature_table'; `cit->ds' is deleted.
1008 (syms_of_chartab): Add new builtin function
1009 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1011 * chartab.h (default_chise_data_source): New extern variable.
1012 (open_chise_data_source_maybe): New prototype.
1013 (struct Lisp_Char_Table): Delete `ds'.
1015 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1017 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1020 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1022 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1023 not defined; add code for non-libchise setting.
1024 (char_table_close_db_maybe): Likewise.
1025 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1027 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1028 even if `CHISE' is not defined.
1029 (Freset_char_attribute_table): Likewise.
1030 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1031 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1032 `char_table_get_db'.
1033 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1034 `char_table_close_db_maybe' even if `CHISE' is not defined.
1036 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1038 * chartab.c (char_table_open_db_maybe): New function.
1039 (char_table_close_db_maybe): New function.
1040 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1041 (Freset_char_attribute_table): Likewise.
1042 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1043 `char_table_close_db_maybe'.
1044 (Fload_char_attribute_table): Likewise.
1046 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1048 * chartab.c: Don't include <chise.h> because it is included in
1050 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1052 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1054 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1056 (Fclose_char_attribute_table): Close `ct->feature_table' and
1057 `ct->ds' when `CHISE' is defined.
1058 (Freset_char_attribute_table): Likewise.
1059 (load_char_attribute_maybe): Use `cit->ds' and
1060 `cit->feature_table' when `CHISE' is defined.
1061 (Fload_char_attribute_table): Likewise.
1063 * chartab.h: Include <chise.h> when `CHISE' is defined.
1064 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1065 when `CHISE' is defined.
1067 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1069 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1071 (char_table_description): Likewise.
1072 (Fmake_char_table): Likewise.
1073 (Fcopy_char_table): Likewise.
1074 (Fmount_char_attribute_table): Likewise.
1075 (Fclose_char_attribute_table): Likewise.
1076 (Freset_char_attribute_table): Likewise.
1077 (load_char_attribute_maybe): Likewise.
1078 (Fload_char_attribute_table): Likewise.
1080 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1083 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1085 * chartab.c (load_char_attribute_table_map_func): New function
1086 when CHISE is defined.
1087 (Qload_char_attribute_table_map_function): Don't define when CHISE
1089 (Fload_char_attribute_table_map_function): Likewise.
1090 (Fload_char_attribute_table): Use libchise when `CHISE' is
1092 (syms_of_chartab): Don't define
1093 `load-char-attribute-table-map-function' when CHISE is defined.
1095 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1097 * chartab.c: Include <chise.h> when `CHISE' is defined.
1098 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1100 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1102 * mule-charset.c (charset_code_point): Fix problem when searching
1103 in mother CCS fails with `defined_only' mode.
1105 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1107 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1108 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1109 (put_char_composition): Likewise.
1110 (Fput_char_attribute): Likewise.
1111 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1113 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1115 * chartab.c (Q_ucs): Deleted.
1116 (Fput_char_attribute): Don't refer `->ucs'.
1117 (Fdefine_char): Likewise.
1118 (Ffind_char): Likewise.
1119 (syms_of_chartab): Delete `->ucs'.
1121 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1123 * mule-charset.c (Qmap_cns11643_2): Renamed from
1124 `Qchinese_cns11643_2'.
1125 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1126 `chinese-cns11643-2'.
1127 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1130 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1132 * mule-charset.c (Qmap_cns11643_1): Renamed from
1133 `Qchinese_cns11643_1'.
1134 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1135 `chinese-cns11643-1'.
1136 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1139 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1141 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1142 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1144 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1147 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1149 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1150 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1152 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1155 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1157 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1158 (syms_of_mule_charset): Add new symbol `=big5' instead of
1160 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1162 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1164 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1165 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1167 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1170 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1172 * mule-charset.c (Qmap_jis_x0212): Renamed from
1173 `Qjapanese_jisx0212'.
1174 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1175 `japanese-jisx0212'.
1176 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1179 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1181 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1182 `Qjapanese_jisx0208'.
1183 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1184 of `japanese-jisx0208'.
1185 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1188 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1190 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1191 `Qjapanese_jisx0208_1978'.
1192 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1193 of `japanese-jisx0208-1978'.
1194 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1197 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1199 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1200 only for XEmacs CHISE.
1202 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1204 * char-ucs.h: Compact non-ISO-IR charset-ids.
1205 (LEADING_BYTE_UCS): Changed to -177.
1206 (LEADING_BYTE_CONTROL_1): Changed to -77.
1207 (LEADING_BYTE_UCS_BMP): Changed to -176.
1208 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1210 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1212 * mule-charset.c (Qiso_ir): New variable.
1213 (Fmake_charset): Recognise new property `iso-ir'.
1214 (syms_of_mule_charset): Add new symbol `iso-ir'.
1216 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1218 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1219 n to -n; charset-id of non ISO-IR sets are changed to positive
1222 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1224 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1225 for &MCS-XXXXXXXX; values.
1227 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1229 * mule.c (Vxemacs_chise_version): Renamed from
1230 `Vutf_2000_version'.
1231 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1232 `utf-2000-version' as an alias for `xemacs-chise-version'.
1234 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1236 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1237 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1240 * config.h.in (CHISE): New macro.
1242 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1244 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1246 (Qmap_ucs): New variable.
1247 (syms_of_mule_charset): Add new symbol `=ucs'.
1248 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1250 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1251 (simplify_char_spec): Likewise.
1253 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1255 * char-ucs.h (Qmap_ucs): New extern variable.
1257 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1259 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1260 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1261 don't define it when UTF2000 is not defined.
1262 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1263 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1264 when UTF2000 is not defined.
1265 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1266 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1268 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1270 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1272 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1274 (syms_of_mule_charset): Delete `ucs-gb'.
1275 (complex_vars_of_mule_charset): Likewise.
1277 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1279 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1281 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1282 (Qucs_cns): Deleted.
1283 (syms_of_mule_charset): Delete `ucs-cns'.
1284 (complex_vars_of_mule_charset): Likewise.
1286 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1288 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1290 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1291 (Qucs_jis): Deleted.
1292 (syms_of_mule_charset): Delete `ucs-jis'.
1293 (complex_vars_of_mule_charset): Likewise.
1295 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1297 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1299 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1301 (syms_of_mule_charset): Delete `ucs-ks'.
1302 (complex_vars_of_mule_charset): Likewise.
1304 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1306 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1307 (Qideograph_daikanwa_2): Deleted.
1308 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1309 (complex_vars_of_mule_charset): Likewise.
1311 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1312 (LEADING_BYTE_DAIKANWA_1): Deleted.
1313 (LEADING_BYTE_DAIKANWA_2): Deleted.
1314 (MIN_CHAR_DAIKANWA): Deleted.
1315 (MAX_CHAR_DAIKANWA): Deleted.
1317 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1319 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1320 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1321 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1323 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1324 (Vcharset_ideograph_daikanwa): Deleted.
1325 (Qideograph_hanziku_{1..12}): Deleted.
1326 (Qideograph_daikanwa): Deleted.
1327 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1328 Vcharset_ideograph_daikanwa.
1329 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1330 `ideograph-hanziku-{1..12}'.
1331 (complex_vars_of_mule_charset): Likewise.
1333 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1335 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1337 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1338 (Qideograph_gt_pj_{1..11}): Deleted.
1339 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1340 (complex_vars_of_mule_charset): Likewise.
1342 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1344 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1345 (Vcharset_ideograph_gt): Deleted.
1346 (Qucs_big5): Deleted.
1347 (Qideograph_gt): Deleted.
1348 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1350 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1353 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1354 (LEADING_BYTE_GT): Deleted.
1355 (MIN_CHAR_GT): Deleted.
1356 (MAX_CHAR_GT): Deleted.
1358 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1360 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1362 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1364 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1365 (save_uint16_byte_table): Likewise.
1366 (save_byte_table): Likewise; convert values by it.
1367 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1368 for `ideographic-structure'.
1369 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1370 as the filter for `ideographic-structure'.
1372 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1374 * chartab.c (put_char_composition): New function.
1375 (Fput_char_attribute): Use `put_char_composition'; use
1376 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1378 * fns.c (simplify_char_spec): New function.
1379 (char_ref_simplify_spec): New function.
1380 (Fchar_refs_simplify_char_specs): New function.
1381 (syms_of_fns): Add new builtin function
1382 `char-refs-simplify-char-specs'.
1384 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1386 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1387 (Qideograph_cbeta): Deleted.
1388 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1389 (complex_vars_of_mule_charset): Likewise.
1391 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1392 (MIN_CHAR_CBETA): Comment out.
1393 (MAX_CHAR_CBETA): Likewise.
1395 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1397 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1398 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1399 CHISE client feature.
1401 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1403 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1405 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1407 * mule-charset.c (charset_lookup_description_1): Use
1408 `NUM_LEADING_BYTES' in UTF-2000.
1410 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1412 * char-ucs.h (GC_CHARSETP): Deleted.
1414 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1416 * char-ucs.h (MAX_CHAR_GT): Updated.
1418 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1420 * text-coding.c: Sync with XEmacs 21.4.10.
1422 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1424 * mule-charset.c (Vcharset_china3_jef): Deleted.
1425 (Qchina3_jef): Deleted.
1426 (syms_of_mule_charset): Don't define `china3-jef'.
1427 (complex_vars_of_mule_charset): Likewise.
1429 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1430 (MIN_CHAR_CHINA3_JEF): Comment out.
1431 (MAX_CHAR_CHINA3_JEF): Comment out.
1433 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1435 * mule-charset.c (Vcharset_ucs_gb): New variable.
1436 (Qucs_gb): New variable.
1437 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1438 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1440 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1442 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1444 * mule-charset.c (charset_code_point): if a coded-charset has a
1445 final-byte, don't inherit the builtin range of the mother CCS.
1447 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1449 * mule-charset.c (charset_code_point): Fix problem about
1452 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1454 * mule-charset.c (decode_builtin_char): Reorganized.
1456 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1458 * text-coding.c (char_encode_as_entity_reference): Modify for
1459 `charset_code_point'.
1460 (char_encode_shift_jis): Likewise.
1461 (char_encode_big5): Likewise.
1462 (char_encode_utf8): Likewise.
1463 (char_encode_iso2022): Likewise.
1465 * mule-charset.c (charset_code_point): Add new argument
1467 (Fencode_char): Add new optional argument `defined_only'.
1469 * chartab.c (put_char_table): Modify for `charset_code_point'.
1471 * char-ucs.h (charset_code_point): Add new argument
1473 (encode_char_1): Modify for `charset_code_point'.
1475 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1477 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1478 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1480 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1482 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1483 (Qjis_x0208): Likewise.
1484 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1485 XCHARSET_FINAL(charset).
1486 (charset_code_point): Modify condition for final-byte based
1488 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1489 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1490 in UTF-2000; specify `=jis-x0208' as the mother of
1491 `japanese-jisx0208-1978', `japanese-jisx0208' and
1492 `japanese-jisx0208-1990' in UTF-2000.
1494 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1496 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1498 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1500 * text-coding.c (decode_coding_utf16): Support UTF-16.
1501 (char_encode_utf16): Fixed.
1503 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1505 * text-coding.c (Qutf16): New variable in MULE.
1506 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1507 (Fcoding_system_type): Add `utf-16' in MULE.
1508 (struct detection_state): Add a structure for utf16 in MULE.
1509 (detect_coding_type): Setup st->utf16.mask in MULE.
1510 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1512 (reset_encoding_stream): Use `char_encode_utf16' and
1513 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1514 (detect_coding_utf16): New function [incomplete].
1515 (decode_coding_utf16): New function [support only UCS-2].
1516 (char_encode_utf16): New function.
1517 (char_finish_utf16): New function.
1518 (syms_of_file_coding): Add new symbol `utf-16'; setup
1519 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1521 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1523 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1524 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1526 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1528 * chartab.c (put_char_table): When a charset is specified as a
1529 range in UTF-2000, don't support builtin characters.
1531 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1533 * mule-charset.c (decode_defined_char): Don't refer external
1534 database if Qunbound or Qnil are found.
1535 (Fsave_charset_mapping_table): Don't define it if
1536 HAVE_CHISE_CLIENT is not defined.
1537 (Freset_charset_mapping_table): New function.
1538 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1539 found in external database.
1540 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1541 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1542 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1544 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1546 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1549 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1551 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1552 Q_lowercase, Q_uppercase in UTF-2000.
1554 * chartab.c (get_char_table): Add special code for the standard
1555 case table to use character attribute `->downcase' and
1556 `->uppercase' for case operations in UTF-2000.
1558 * casetab.c (Qflippedcase): New variable in UTF-2000.
1559 (Q_lowercase): Likewise.
1560 (Q_uppercase): Likewise.
1561 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1562 and `->uppercase' in UTF-2000.
1563 (complex_vars_of_casetab): Assign attribute name `downcase' to
1564 downcase and CANON table of Vstandard_case_table in UTF-2000;
1565 assign attribute name `flippedcase' to upcase and EQV table of
1566 Vstandard_case_table in UTF-2000.
1568 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1570 * text-coding.c (decode_add_er_char): Support isolated-chars.
1571 (char_encode_as_entity_reference): Likewise.
1573 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1575 * emacs.c (Vutf_2000_lisp_directory): New variable.
1576 (Vconfigure_utf_2000_lisp_directory): Likewise.
1577 (complex_vars_of_emacs): Add new variable
1578 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1580 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1582 * char-ucs.h (DECODE_CHAR): Delete special code for
1583 `chinese-big5-1' and `chinese-big5-2'.
1585 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1586 (Qbig5_2): Likewise.
1587 (decode_defined_char): Support CONVERSION_BIG5_1 and
1589 (decode_builtin_char): Likewise.
1590 (charset_code_point): Likewise.
1591 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1592 'conversion in UTF-2000.
1593 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1594 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1595 `chinese-big5-2' as children of `chinese-big5'.
1597 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1598 (CONVERSION_BIG5_2): New macro.
1600 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1602 * text-coding.c (char_encode_big5): Support entity-reference.
1604 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1606 * text-coding.c (char_encode_as_entity_reference): New function.
1607 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1609 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1611 * text-coding.c (decode_coding_big5): Support entity-reference
1614 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1616 * text-coding.c (allocate_coding_system): Initialize initial
1617 charsets for CODESYS_UTF8.
1618 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1619 charset-g2 for CODESYS_UTF8.
1620 (decode_coding_utf8): Use charset-g0.
1621 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1622 to force variants to map to UCS.
1624 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1626 * text-coding.c (Qutf_8_mcs): New variable.
1627 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1628 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1629 instead of `utf-8' in UTF-2000.
1631 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1633 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1634 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1635 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1636 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1637 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1638 CONVERSION_96x96x96x96 are introduced.
1639 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1640 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1641 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1643 * char-ucs.h (CONVERSION_94): New macro.
1644 (CONVERSION_96): New macro.
1645 (CONVERSION_94x94): New macro.
1646 (CONVERSION_96x96): New macro.
1647 (CONVERSION_94x94x94): New macro.
1648 (CONVERSION_96x96x96): New macro.
1649 (CONVERSION_94x94x94x60): New macro.
1650 (CONVERSION_94x94x94x94): New macro.
1651 (CONVERSION_96x96x96x96): New macro.
1653 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1655 * chartab.c (Vcharacter_variant_table): Deleted.
1656 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1657 of `Vcharacter_variant_table'.
1658 (Fput_char_attribute): Likewise.
1659 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1660 (complex_vars_of_chartab): Likewise.
1662 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1664 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1666 * fns.c (Qideographic_structure): New variable.
1667 (Qkeyword_char): New variable.
1668 (ids_format_unit): New function.
1669 (Fideographic_structure_to_ids): New function.
1670 (syms_of_fns): Add new symbols `ideographic-structure' and
1671 `:char'; add new builtin function `ideographic-structure-to-ids'.
1673 * data.c (Fchar_ref_p): New function.
1674 (syms_of_data): Add new builtin function `char-ref-p'.
1676 * chartab.h: Add an EXFUN for `Ffind_char'.
1678 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1680 * text-coding.c (Vcharacter_composition_table): Deleted.
1681 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1684 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1686 (Vcharacter_composition_table): Deleted.
1687 (Fget_composite_char): Use the implementation for external-DB
1688 support in every UTF-2000.
1689 (Fput_char_attribute): Likewise.
1690 (char_attribute_system_db_file): Don't define if external-DB
1691 feature is not available.
1692 (Fsave_char_attribute_table): Likewise.
1693 (Fmount_char_attribute_table): Likewise.
1694 (Fclose_char_attribute_table): Likewise.
1695 (Freset_char_attribute_table): Likewise.
1696 (Fload_char_attribute_table): Likewise.
1697 (syms_of_chartab): Don't define `save-char-attribute-table',
1698 `mount-char-attribute-table', `reset-char-attribute-table',
1699 `close-char-attribute-table' and `load-char-attribute-table' if
1700 external-DB feature is not available.
1701 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1703 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1705 * text-coding.c (Qcomposition): Add extern if external-DB feature
1707 (Vcharacter_composition_table): Don't add extern if external-DB
1708 feature is supported.
1709 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1710 character composition rule if external-DB feature is supported.
1712 * chartab.c (Vcharacter_composition_table): Don't define if
1713 external-DB feature is supported.
1714 (Qcomposition): New variable.
1715 (Fget_composite_char): New implementation for external-DB support.
1716 (Fput_char_attribute): Use `composition' property of each
1717 character instead of `Vcharacter_composition_table' to store
1718 character-composition rules if external-DB feature is supported.
1719 (syms_of_chartab): Add new symbol `composition'.
1720 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1721 external-DB feature is supported.
1723 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1725 * chartab.c (Vchar_db_stingy_mode): New variable.
1726 (load_char_attribute_maybe): Close database if
1727 Vchar_db_stingy_mode is not NIL.
1728 (Fload_char_attribute_table_map_function): Use
1729 `get_char_id_table_0' instead of `get_char_id_table'.
1730 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1732 * chartab.h (get_char_id_table_0): New inline function.
1733 (get_char_id_table): Use `get_char_id_table_0'.
1735 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1737 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1738 and `COMPOSE_ADD_CHAR'.
1739 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1741 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1743 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1744 instead of `DECODE_ADD_UCS_CHAR'.
1745 (COMPOSE_ADD_CHAR): Likewise.
1747 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1749 * text-coding.c (decode_flush_er_chars): New inline function.
1750 (decode_add_er_char): New function.
1751 (decode_coding_utf8): Use `decode_flush_er_chars' and
1752 `decode_add_er_char'.
1754 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1756 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1757 done before `decode_output_utf8_partial_char'.
1759 * mule-charset.c (complex_vars_of_mule_charset): Specify
1760 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1761 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1763 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1765 * mule-charset.c (decode_defined_char): New function; search
1767 (decode_builtin_char): Don't search mother if
1768 XCHARSET_MAX_CODE(charset) == 0.
1769 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1770 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1771 (Fdecode_char): Use `decode_defined_char' instead of
1772 `DECODE_DEFINED_CHAR'.
1773 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1774 mother of `Vcharset_ucs_jis'.
1776 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1777 instead of `DECODE_DEFINED_CHAR'.
1779 * char-ucs.h (decode_defined_char): Renamed from
1780 `DECODE_DEFINED_CHAR'; changed to normal function.
1781 (DECODE_CHAR): Use `decode_defined_char' instead of
1782 `DECODE_DEFINED_CHAR'.
1784 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1786 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1788 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1790 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1792 (Quse_entity_reference): New variable.
1796 (coding_system_description): Add description for
1797 `ccs_priority_list'.
1798 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1799 (allocate_coding_system): Initialize `ccs_priority_list' in
1801 (Fmake_coding_system): Add description about
1802 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1804 (Fcoding_system_property): Accept `disable-composition' and
1805 `use-entity-reference' in UTF-2000.
1806 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1808 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1809 (decode_coding_utf8): Decode entity-reference if
1810 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1811 (char_encode_utf8): Encode non-Unicode characters as
1812 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1814 (syms_of_file_coding): Add new symbols `use-entity-reference',
1816 (vars_of_file_coding): Add new variable
1817 `coded-charset-entity-reference-alist'.
1818 (complex_vars_of_file_coding): Declare `disable-composition' and
1819 `use-entity-reference' to be coding-system-properties in UTF-2000.
1821 * file-coding.h (struct Lisp_Coding_System): Add new member
1822 `use_entity_reference' and `ccs_priority_list'.
1823 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1824 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1825 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1827 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1829 * chartab.c (save_uint8_byte_table): Don't clear the table.
1830 (save_uint16_byte_table): Likewise.
1831 (save_byte_table): Likewise.
1832 (Fmount_char_attribute_table): New function.
1833 (syms_of_chartab): Add new builtin function
1834 `mount-char-attribute-table'.
1836 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1838 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1840 (load_char_decoding_entry_maybe): Open database as read-only mode.
1842 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1843 open database as "w+" mode.
1844 (load_char_attribute_maybe): Open database as read-only mode.
1845 (Fload_char_attribute_table): Likewise.
1847 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1849 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1850 (char_table_description): Delete member `db_file'.
1851 (Fmake_char_table): Don't refer `ct->db_file'.
1852 (Fcopy_char_table): Likewise.
1853 (Fsave_char_attribute_table): Likewise.
1854 (Fclose_char_attribute_table): Likewise.
1855 (Freset_char_attribute_table): Likewise.
1856 (load_char_attribute_maybe): Likewise.
1857 (Fload_char_attribute_table): Likewise.
1859 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1861 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1863 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1864 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1866 (load_char_attribute_maybe): Likewise.
1867 (Fload_char_attribute_table): Likewise.
1869 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1871 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1872 `ct->db_file' unconditionally.
1874 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1876 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1878 (char_table_description): Add description for `db_file' and `db'
1880 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1882 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1883 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1884 (Fclose_char_attribute_table): New function.
1885 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1886 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1888 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1889 (syms_of_chartab): Add new builtin function
1890 `Fclose_char_attribute_table'.
1892 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1894 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1896 (load_char_attribute_maybe): Change interface.
1897 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1899 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1901 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1903 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1905 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1906 instead of `DECODE_CHAR' for mother; don't use special code for
1907 chinese-big5 to use code space of chinese-big5-1 and
1909 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1910 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1912 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1913 (MAX_CHAR_BIG5_CDP): Revival.
1915 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1917 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1918 the XLFD registry-encoding name of `chinese-big5'.
1920 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1922 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1923 (Qchinese_big5_cdp): Deleted.
1924 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1925 (complex_vars_of_mule_charset): Delete coded-charset
1928 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1929 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1930 `CHARSET_ID_OFFSET - n' for private CCS.
1931 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1932 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1933 of `MIN_LEADING_BYTE'.
1934 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1935 `(CHARSET_ID_OFFSET - 97)'.
1936 (MIN_CHAR_BIG5_CDP): Deleted.
1937 (MAX_CHAR_BIG5_CDP): Deleted.
1939 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1941 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1943 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1945 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1946 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1949 * chartab.c (Vutf_2000_version): Moved to mule.c.
1950 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1952 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1954 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1955 when HAVE_CHISE_CLIENT is not defined.
1957 * mule.c (vars_of_mule): Provide feature `chise' when
1958 HAVE_CHISE_CLIENT is defined.
1960 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1962 * config.h.in (UTF2000): Add comment.
1963 (HAVE_CHISE_CLIENT): New macro.
1965 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1967 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1969 (Fput_char_attribute): Likewise.
1970 (char_attribute_system_db_file): Encode file-name of attribute.
1971 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1974 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1976 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1977 (Fsave_charset_mapping_table): Use
1978 `char_attribute_system_db_file'.
1979 (load_char_decoding_entry_maybe): Likewise.
1981 * chartab.h (Qsystem_char_id): New external variable.
1982 (char_attribute_system_db_file): New prototype.
1984 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1985 (char_attribute_system_db_file): New function.
1986 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1987 (Freset_char_attribute_table): Likewise.
1988 (load_char_attribute_maybe): Likewise.
1989 (Fload_char_attribute_table): Likewise.
1990 (syms_of_chartab): Add new symbol `system-char-id'.
1992 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1994 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1995 `XCHARSET_GRAPHIC(ccs)'.
1997 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1999 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2001 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2003 * chartab.c (Q_ucs_variants): New variable.
2004 (syms_of_chartab): Add new symbol `->ucs-variants'.
2005 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2006 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2007 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2009 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2011 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2012 `HAVE_DATABASE' is defined.
2013 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2014 `HAVE_DATABASE' is defined.
2016 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2018 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2020 (Freset_char_attribute_table): New function.
2021 (syms_of_chartab): Add new builtin function
2022 `reset-char-attribute-table'.
2024 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2026 * chartab.c (load_char_attribute_maybe): Don't make directories.
2028 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2030 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2032 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2035 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2037 * mule-charset.c (Fsave_charset_mapping_table): Use
2038 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2040 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2041 instead of `XCHARSET_CHARS'.
2043 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2045 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2046 (XCHARSET_BYTE_SIZE): Likewise.
2048 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2050 (XCHARSET_BYTE_SIZE): Likewise.
2052 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2054 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2055 data-directory to store database.
2056 (Fsave_char_attribute_table): Likewise.
2057 (load_char_attribute_maybe): Likewise.
2058 (Fload_char_attribute_table): Likewise.
2060 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2062 * mule-charset.c (Fsave_charset_mapping_table): New function.
2063 (syms_of_mule_charset): Add new builtin function
2064 `save-charset-mapping-table'.
2066 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2068 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2069 (get_ccs_octet_table): New inline function.
2070 (put_ccs_octet_table): Likewise.
2071 (decoding_table_put_char): Use `get_ccs_octet_table' and
2072 `put_ccs_octet_table'.
2073 (decoding_table_remove_char): Use `decoding_table_put_char'.
2074 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2076 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2077 into encoding_table.
2078 (make_charset): Use Qunbound instead Qnil as initial value of
2081 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2083 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2084 element is Qunloaded.
2085 (map_over_uint16_byte_table): Likewise.
2086 (map_over_byte_table): Likewise.
2087 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2088 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2089 database support, load encoding-table of the specified
2090 coded-charset if it is not loaded yet.
2091 (save_uint8_byte_table): New function of UTF-2000 with external
2093 (save_uint16_byte_table): Likewise.
2094 (save_byte_table): Likewise.
2095 (Fput_char_attribute): Don't store value into external database
2096 even if the external database feature is supported in UTF-2000;
2097 set `attribute' as name of char-table if the external database
2098 feature is supported.
2099 (Fsave_char_attribute_table): New function in UTF-2000.
2100 (syms_of_chartab): Add new builtin function
2101 `save-char-attribute-table' in UTF-2000.
2103 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2105 * chartab.c (char_attribute_table_to_put): New variable in
2107 (Qput_char_table_map_function): Likewise.
2108 (value_to_put): Likewise.
2109 (Fput_char_table_map_function): New function in UTF-2000.
2110 (put_char_table): Use `Fmap_char_attribute' for
2111 CHARTAB_RANGE_CHARSET in UTF-2000.
2112 (Fput_char_attribute): Store symbol instead of string in
2113 `XCHAR_TABLE_NAME (table)'.
2114 (load_char_attribute_maybe): Likewise.
2115 (syms_of_chartab): Add new symbol/function
2116 `put-char-table-map-function'.
2118 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2120 * database.h: Add new EXFUN for `Fmap_database'.
2122 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2123 (syms_of_database): Likewise.
2125 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2127 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2128 (XCHAR_TABLE_UNLOADED): Likewise.
2130 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2131 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2132 HAVE_DATABASE is defined.
2133 (char_attribute_table_to_load): New variable of UTF-2000 with
2134 external database support.
2135 (Qload_char_attribute_table_map_function): Likewise.
2136 (Fload_char_attribute_table_map_function): New function of
2137 UTF-2000 with external database support.
2138 (Fload_char_attribute_table): New function of UTF-2000.
2139 (Fmap_char_attribute): Call Fload_char_attribute_table if
2140 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2141 (syms_of_chartab): Add new symbol and function
2142 `load-char-attribute-table-map-function' in UTF-2000 with external
2143 database support; add new function `load-char-attribute-table' in
2146 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2148 * chartab.h (load_char_attribute_maybe): New prototype for
2149 UTF-2000 with DATABASE support.
2150 (get_char_id_table): Use `load_char_attribute_maybe' if
2151 HAVE_DATABASE is defined.
2153 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2154 with DATABASE support.
2156 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2158 * chartab.c (Fput_char_attribute): Use S-expression as key of
2161 * chartab.h (get_char_id_table): Use S-expression as key of
2164 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2166 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2167 if an element is not loaded, load the corresponding attributes
2168 from an external database.
2169 (map_over_uint16_byte_table): Likewise.
2170 (map_over_byte_table): Likewise.
2171 (map_char_table): Modify for `map_over_uint8_byte_table',
2172 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2173 element is not loaded, load the corresponding attributes from an
2175 (Fput_char_attribute): Change initial values to Qunloaded.
2177 * chartab.h (get_char_id_table): If a character attribute is not
2178 loaded and the attribute value is not found in an external
2179 database, store Qunbound as the attribute value.
2181 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2183 * chartab.c (BT_UINT8_unloaded): New macro.
2184 (UINT8_VALUE_P): Accept Qunloaded.
2185 (UINT8_ENCODE): Likewise.
2186 (UINT8_DECODE): Likewise.
2187 (BT_UINT16_unloaded): New macro.
2188 (UINT16_VALUE_P): Accept Qunloaded.
2189 (UINT16_ENCODE): Likewise.
2190 (UINT16_DECODE): Likewise.
2191 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2193 (mark_char_table): Mark `ct->name' in UTF-2000.
2194 (char_table_description): Add `name' in UTF-2000.
2195 (Fmake_char_table): Initialize `ct->name'.
2196 (Fcopy_char_table): Copy `ct->name'.
2197 (Fput_char_attribute): Store value into an external database if
2198 HAVE_DATABASE is defined.
2200 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2202 (CHAR_TABLE_NAME): New macro in UTF-2000.
2203 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2204 (get_char_id_table): Try to read an external database if Qunloaded
2205 is stored in a table.
2207 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2210 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2212 * database.h: Add EXFUN definitions for Fopen_database,
2213 Fput_database, Fget_database and Fclose_database.
2215 * data.c (Qunloaded): New variable in UTF-2000.
2217 * lisp.h (Qunloaded): New variable in UTF-2000.
2219 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2221 * mule-charset.c (put_char_ccs_code_point): Modify for
2222 `decoding_table_remove_char' and `decoding_table_put_char'.
2223 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2225 * char-ucs.h (decoding_table_remove_char): Change arguments to
2226 hide decoding_table vector.
2227 (decoding_table_put_char): Likewise.
2229 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2231 * mule-charset.c (decoding_table_remove_char): Moved to
2233 (decoding_table_put_char): Likewise.
2235 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2236 from mule-charset.c].
2237 (decoding_table_remove_char): New inline function [moved from
2239 (decoding_table_put_char): Likewise.
2241 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2243 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2246 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2248 * mule-charset.c (decode_builtin_char): Support mother charsets.
2250 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2252 * mule-charset.c (Q94x94x60): New variable.
2253 (charset_code_point): Support conversion `94x94x60'.
2254 (Fmake_charset): Likewise.
2255 (syms_of_mule_charset): Add new symbol `94x94x60'.
2257 * char-ucs.h (CONVERSION_94x94x60): New macro.
2259 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2261 * mule-charset.c (charset_code_point): Unify code about
2264 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2266 * mule-charset.c (charset_code_point): Merge code about builtin
2267 characters into code about mother charsets; don't use
2268 `range_charset_code_point'.
2269 (range_charset_code_point): Deleted.
2271 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2273 * mule-charset.c (Qcode_offset): New variable.
2274 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2275 `max-code'; accept new property `code-offset'.
2276 (syms_of_mule_charset): Add new symbol `code-offset'.
2278 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2280 * mule-charset.c (range_charset_code_point): Fixed.
2282 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2284 * mule-charset.c (decode_builtin_char): Change semantics of
2285 code-offset of coded-charset.
2286 (charset_code_point): Likewise.
2287 (range_charset_code_point): Likewise.
2288 (complex_vars_of_mule_charset): Modify for the change.
2290 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2292 * mule-charset.c (Fencode_char): Reverse arguments.
2294 * mule-charset.c (charset_code_point): Fixed.
2296 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2298 * mule-charset.c (Vcharset_mojikyo): Deleted.
2299 (Vcharset_mojikyo_2022_1): Deleted.
2300 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2301 (Qmin_code): New variable in UTF-2000.
2302 (Qmax_code): Likewise.
2303 (Qmother): Likewise.
2304 (Qconversion): Likewise.
2306 (Qmojikyo): Deleted.
2307 (Qmojikyo_2022_1): Deleted.
2308 (Qmojikyo_pj_{1..22}): Deleted.
2309 (mark_charset): Mark `cs->mother'.
2310 (charset_description): Add description for `mother'.
2311 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2312 new arguments `mother' and `conversion'; use
2313 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2314 (charset_code_point): Moved from char-ucs.h; support `mother'
2316 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2317 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2318 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2319 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2320 allow 2 as the value of `graphic' in UTF-2000; add new properties
2321 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2322 require `final' in UTF-2000; modify for `make_charset'.
2323 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2324 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2325 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2326 (Fencode_char): New function.
2327 (syms_of_mule_charset): Add new builtin function `encode-char' in
2328 UTF-2000; add new symbols `min-code', `max-code', `mother',
2329 `conversion' and `94x60'; delete symbols `mojikyo',
2330 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2331 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2332 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2333 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2335 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2336 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2338 * char-ucs.h (Vcharset_mojikyo): Deleted.
2339 (Vcharset_mojikyo_2022_1): Deleted.
2340 (LEADING_BYTE_MOJIKYO): Deleted.
2341 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2342 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2343 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2344 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2345 add new member `mother'; add new member `conversion'.
2346 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2347 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2348 (CHARSET_MOTHER): New macro.
2349 (CHARSET_CONVERSION): New macro.
2350 (CONVERSION_IDENTICAL): New macro.
2351 (CONVERSION_94x60): New macro.
2352 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2353 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2354 (XCHARSET_MOTHER): New macro.
2355 (XCHARSET_CONVERSION): New macro.
2356 (MIN_CHAR_MOJIKYO): Deleted.
2357 (MAX_CHAR_MOJIKYO): Deleted.
2358 (DECODE_MOJIKYO_2022): Deleted.
2359 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2360 (charset_code_point): Changed to non-inline function.
2361 (encode_char_1): Use `charset_code_point'.
2362 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2364 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2366 * lread.c (read_compiled_function): Fix prototype.
2367 (read_vector): Likewise.
2369 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2371 * lrecord.h (struct lrecord_header): Delete `older'.
2372 (set_lheader_implementation): Delete code for `older'.
2373 (set_lheader_older_implementation): Deleted.
2374 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2375 (OLDER_RECORD_P): Deleted.
2376 (OLDER_RECORD_HEADER_P): Deleted.
2377 (alloc_older_lcrecord): Deleted.
2378 (alloc_older_lcrecord_type): Deleted.
2380 * alloc.c (all_older_lcrecords): Deleted.
2381 (alloc_older_lcrecord): Deleted.
2382 (disksave_object_finalization_1): Delete code for older objects.
2383 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2384 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2386 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2388 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2389 instead of `make_older_vector'.
2390 (put_char_ccs_code_point): Likewise.
2391 (mark_charset): Mark `cs->decoding_table'.
2392 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2394 * lisp.h (make_older_vector): Deleted.
2395 (make_vector_newer): Deleted.
2397 * config.h.in (HAVE_GGC): Deleted.
2399 * alloc.c (make_older_vector): Deleted.
2400 (make_vector_newer_1): Deleted.
2401 (make_vector_newer): Deleted.
2403 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2405 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2406 (Qideograph_daikanwa_2): New variable.
2407 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2408 (complex_vars_of_mule_charset): Add new coded-charset
2409 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2410 `LEADING_BYTE_DAIKANWA'.
2412 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2413 (LEADING_BYTE_DAIKANWA_1): New macro.
2414 (LEADING_BYTE_DAIKANWA_2): New macro.
2415 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2417 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2419 * mule-charset.c (complex_vars_of_mule_charset): Change
2420 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2421 the second revised version.
2423 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2425 * mule-charset.c (Vcharset_ucs_smp): New variable.
2426 (Vcharset_ucs_sip): New variable.
2427 (Qucs_smp): New variable.
2428 (Qucs_sip): New variable.
2429 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2430 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2431 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2432 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2433 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2434 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2436 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2437 (LEADING_BYTE_UCS_SIP): New macro.
2438 (MIN_CHAR_SMP): New macro.
2439 (MAX_CHAR_SMP): New macro.
2440 (MIN_CHAR_SIP): New macro.
2441 (MAX_CHAR_SIP): New macro.
2443 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2445 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2448 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2450 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2451 value; don't store value into `encoding_table' of `Lisp_Charset'.
2452 (mark_charset): `encoding_table' was deleted.
2453 (charset_description): Likewise.
2454 (make_charset): Likewise.
2455 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2456 `put_char_ccs_code_point'.
2458 * chartab.h (Fput_char_attribute): New EXFUN.
2460 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2461 is unified with normal symbol space.
2462 (Fget_char_attribute): Likewise.
2463 (Fput_char_attribute): Likewise; behavior of
2464 `put_char_ccs_code_point' is changed.
2466 * char-ucs.h: Include "elhash.h".
2467 (Vchar_attribute_hash_table): New external variable.
2468 (struct Lisp_Charset): Delete `encoding_table'.
2469 (CHARSET_ENCODING_TABLE): New implementation; refer
2470 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2473 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2475 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2478 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2480 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2483 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2485 * chartab.c (uint8_byte_table_description): New constant.
2486 (uint8-byte-table): Use `uint8_byte_table_description'.
2487 (uint16_byte_table_description): New constant.
2488 (uint16-byte-table): Use `uint16_byte_table_description'.
2490 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2492 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2493 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2495 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2497 * mule-charset.c (Vcharset_ucs_ks): New variable.
2498 (Qucs_ks): New variable.
2499 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2500 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2502 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2504 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2506 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2507 (Fdecode_char): Likewise.
2509 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2511 (Fdefine_char): Modify for Fdecode_char.
2512 (Ffind_char): Likewise.
2514 * mule-charset.c (Fdecode_char): Add new optional argument
2516 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2518 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2520 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2521 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2522 (allocate_coding_system): Initialize initial-charsets of
2523 CODESYS_BIG5 in XEmacs UTF-2000.
2524 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2525 CODESYS_BIG5 in XEmacs UTF-2000.
2526 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2527 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2529 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2531 (Qideograph_hanziku_{1 .. 12}): Likewise.
2532 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2534 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2535 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2536 `ideograph-hanziku-{1 .. 12}'.
2538 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2539 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2540 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2541 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2542 (DECODE_DEFINED_CHAR): New inline function.
2543 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2545 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2547 * mule-charset.c (Vcharset_china3_jef): Renamed from
2548 `Vcharset_japanese_jef_china3'.
2549 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2550 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2551 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2552 (syms_of_mule_charset): Rename `china3-jef' from
2553 `japanese-jef-china3'.
2554 (complex_vars_of_mule_charset): Likewise; rename
2555 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2557 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2558 `LEADING_BYTE_JEF_CHINA3'.
2559 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2560 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2562 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2564 * mule-charset.c (encode_builtin_char_1): Comment out special code
2565 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2567 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2568 (MAX_CHAR_MOJIKYO_0): Comment out.
2569 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2570 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2571 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2572 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2574 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2576 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2577 (Qideograph_cbeta): New variable.
2578 (encode_builtin_char_1): Comment out special code for
2579 coded-charset `mojikyo' and `japanese-jef-china3'.
2580 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2581 (complex_vars_of_mule_charset): Add new coded-charset
2584 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2585 (MIN_CHAR_CBETA): New macro.
2586 (MAX_CHAR_CBETA): New macro.
2588 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2590 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2591 (LEADING_BYTE_JEF_CHINA3): New macro.
2592 (MIN_CHAR_JEF_CHINA3): New macro.
2593 (MAX_CHAR_JEF_CHINA3): Likewise.
2594 (DECODE_CHAR): Fixed.
2596 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2598 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2599 (Qjapanese_jef_china3): New variable.
2600 (encode_builtin_char_1): Support `japanese-jef-china3'.
2601 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2602 (complex_vars_of_mule_charset): Add new coded-charset
2603 `japanese-jef-china3'.
2605 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2607 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2608 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2609 94^4, 96^3, 96^4, 128^n and 256^n set.
2610 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2611 (map_char_table): Likewise.
2613 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2615 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2618 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2620 * chartab.h (get_char_id_table): New inline function.
2622 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2625 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2627 * chartab.h (decode_char_table_range): New prototype in XEmacs
2629 (put_char_id_table): New inline function in XEmacs UTF-2000.
2631 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2633 (decode_char_table_range): Delete static declaration in XEmacs
2636 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2638 * chartab.c (put_char_id_table): Use `put_char_table'.
2640 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2642 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2643 (map_over_uint16_byte_table): Likewise.
2644 (map_over_byte_table): Likewise.
2645 (map_char_table): Modify for `map_over_uint8_byte_table',
2646 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2649 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2651 * chartab.c (struct map_char_table_for_charset_arg): New
2653 (map_char_table_for_charset_fun): New function.
2654 (map_char_table): Use `map_char_table' for encoding_table of
2657 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2659 * chartab.c (map_char_table): Check a character is found in
2660 range->charset instead of non default value is defined in
2661 char-table when range is CHARTAB_RANGE_ROW.
2663 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2665 * chartab.c (map_char_id_table): Deleted.
2666 (Fmap_char_attribute): Use `map_char_table' instead of
2667 `map_char_id_table'.
2669 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2671 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2673 (update_syntax_table): Deleted in XEmacs UTF-2000.
2675 * syntax.c (find_defun_start): Use `syntax_table' instead of
2676 `mirror_syntax_table' in XEmacs UTF-2000.
2677 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2679 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2681 (Fmatching_paren): Likewise.
2682 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2684 (find_start_of_comment): Likewise.
2685 (find_end_of_comment): Likewise.
2686 (Fforward_comment): Likewise.
2687 (scan_lists): Likewise.
2688 (char_quoted): Likewise.
2689 (Fbackward_prefix_chars): Likewise.
2690 (scan_sexps_forward): Likewise.
2691 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2692 (update_syntax_table): Likewise.
2694 * search.c (skip_chars): Use `syntax_table' instead of
2695 `mirror_syntax_table' in XEmacs UTF-2000.
2696 (wordify): Likewise.
2697 (Freplace_match): Likewise.
2699 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2700 `mirror_syntax_table' in XEmacs UTF-2000.
2701 (WORDCHAR_P_UNSAFE): Likewise.
2702 (re_match_2_internal): Likewise.
2704 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2705 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2707 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2708 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2710 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2713 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2715 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2716 (char_table_description): Delete `mirror_table' in XEmacs
2718 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2720 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2721 (Fcopy_char_table): Likewise.
2722 (put_char_table): Don't call `update_syntax_table' in XEmacs
2725 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2726 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2727 (casify_region_internal): Likewise.
2729 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2731 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2732 `mirror_syntax_table' in XEmacs UTF-2000.
2734 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2735 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2736 (Fexpand_abbrev): Likewise.
2738 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2740 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2742 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2744 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2745 (map_over_uint16_byte_table): Likewise.
2746 (map_over_byte_table): Likewise.
2747 (get_char_id_table): Refer `cit->default_value'.
2748 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2749 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2750 of character-id ranges.
2751 (mark_char_table): Mark `ct->default_value'.
2752 (char_table_description): Add `default_value'.
2753 (fill_char_table): Use `default_value'.
2754 (decode_char_table_range): Decode `nil' as
2755 `CHARTAB_RANGE_DEFAULT'.
2756 (get_char_id_table): Refer `cit->default_value'.
2757 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2758 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2759 temporary hack; check value of char-table is bound or not.
2760 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2762 * chartab.h (struct Lisp_Char_Table): Add new member
2763 `default_value' in XEmacs UTF-2000.
2764 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2765 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2768 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2770 * chartab.h (Lisp_Char_ID_Table): Deleted.
2772 * chartab.c (char_table_description): Fix typo.
2773 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2774 `Lisp_Char_ID_Table'.
2776 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2778 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2781 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2784 * chartab.h (XCHAR_ID_TABLE): Deleted.
2785 (XSETCHAR_ID_TABLE): Deleted.
2786 (CHAR_ID_TABLE_P): Deleted.
2788 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2790 (Fget_composite_char): Likewise.
2791 (put_char_table): Likewise.
2792 (add_char_attribute_alist_mapper): Fixed.
2793 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2795 (Fget_char_attribute): Likewise.
2796 (Fget_char_attribute): Likewise.
2797 (Fmap_char_attribute): Likewise.
2799 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2801 (encode_char_1): Likewise.
2803 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2805 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2808 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2809 instead of `XCHAR_ID_TABLE'.
2810 (remove_char_ccs): Likewise.
2812 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2814 (Fget_composite_char): Likewise.
2815 (Fchar_variants): Likewise.
2816 (put_char_table): Likewise.
2817 (add_char_attribute_alist_mapper): Likewise.
2818 (Fchar_attribute_alist): Likewise.
2819 (Fget_char_attribute): Likewise.
2820 (Fput_char_attribute): Likewise.
2821 (Fmap_char_attribute): Likewise.
2822 (Fmap_char_attribute): Likewise.
2824 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2826 (encode_char_1): Likewise.
2828 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2830 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2831 `Lisp_Char_ID_Table'.
2832 (mark_char_id_table): Deleted.
2833 (print_char_id_table): Likewise.
2834 (char_id_table_equal): Likewise.
2835 (char_id_table_hash): Likewise.
2836 (char_id_table_description): Likewise.
2837 (char_id_table): Likewise.
2838 (make_char_id_table): Use `Fmake_char_table' and
2840 (get_char_id_table): Use `Lisp_Char_Table' instead of
2841 `Lisp_Char_ID_Table'.
2842 (put_char_id_table): Likewise.
2843 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2845 (Fremove_char_attribute): Likewise.
2846 (syms_of_chartab): Don't define type `char-id-table'.
2848 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2849 (char_id_table): Likewise.
2850 (GC_CHAR_ID_TABLE_P): Likewise.
2851 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2852 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2853 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2854 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2855 (get_char_id_table): Use `Lisp_Char_Table' instead of
2856 `Lisp_Char_ID_Table'.
2857 (put_char_id_table_0): Likewise.
2858 (put_char_id_table): Likewise.
2860 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2862 * chartab.h: Lisp_Byte_Table related codes are moved from
2865 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2867 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2869 * chartab.h: Don't include "chartab.h".
2870 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2871 (Lisp_Char_ID_Table): Likewise.
2872 (char_id_table): Likewise.
2873 (XCHAR_ID_TABLE): Likewise.
2874 (XSETCHAR_ID_TABLE): Likewise.
2875 (CHAR_ID_TABLE_P): Likewise.
2876 (GC_CHAR_ID_TABLE_P): Likewise.
2877 (get_char_id_table): Likewise.
2879 * char-ucs.h: Include "chartab.h".
2880 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2881 (Lisp_Char_ID_Table): Likewise.
2882 (char_id_table): Likewise.
2883 (XCHAR_ID_TABLE): Likewise.
2884 (XSETCHAR_ID_TABLE): Likewise.
2885 (CHAR_ID_TABLE_P): Likewise.
2886 (GC_CHAR_ID_TABLE_P): Likewise.
2887 (get_char_id_table): Likewise.
2889 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2891 * chartab.c (copy_uint8_byte_table): New function.
2892 (copy_uint16_byte_table): New function.
2893 (copy_byte_table): New function.
2894 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2896 (map_over_uint16_byte_table): Likewise.
2897 (map_over_byte_table): Likewise.
2898 (get_byte_table): Move prototype to chartab.h.
2899 (put_byte_table): Likewise.
2900 (put_char_id_table_0): Moved to chartab.h.
2901 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2902 (char_table_entry_equal): Likewise.
2903 (char_table_entry_hash): Likewise.
2904 (char_table_entry_description): Likewise.
2905 (char_table_entry): Likewise.
2906 (make_char_table_entry): Likewise.
2907 (copy_char_table_entry): Likewise.
2908 (get_non_ascii_char_table_value): Likewise.
2909 (map_over_charset_ascii): Likewise.
2910 (map_over_charset_control_1): Likewise.
2911 (map_over_charset_row): Likewise.
2912 (map_over_other_charset): Likewise.
2913 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2914 (print_char_table): Likewise.
2915 (char_table_equal): Likewise.
2916 (char_table_hash): Likewise.
2917 (char_table_description): Likewise.
2918 (fill_char_table): Likewise.
2919 (Fcopy_char_table): Likewise.
2920 (get_char_table): Likewise.
2921 (Fget_range_char_table): Likewise.
2922 (put_char_table): Likewise.
2923 (map_char_table): Likewise.
2924 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2927 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2929 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2930 `Vauto_fill_chars' in XEmacs UTF-2000.
2932 * chartab.h (get_byte_table): New prototype [moved from
2934 (put_byte_table): Likewise [moved from chartab.c].
2935 (put_char_id_table_0): New inline function [moved from chartab.c].
2936 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2937 (Lisp_Char_Table_Entry): Likewise.
2938 (char_table_entry): Likewise.
2939 (XCHAR_TABLE_ENTRY): Likewise.
2940 (XSETCHAR_TABLE_ENTRY): Likewise.
2941 (CHAR_TABLE_ENTRYP): Likewise.
2942 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2943 (NUM_ASCII_CHARS): Likewise.
2944 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2945 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2947 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2949 * chartab.c (get_char_id_table): Change interface.
2950 (put_char_id_table_0): New function.
2951 (put_char_id_table): Change interface; new implementation.
2952 (Fget_composite_char): Modify for interface change of
2953 `get_char_id_table'.
2954 (Fchar_variants): Likewise.
2955 (add_char_attribute_alist_mapper): Likewise.
2956 (Fchar_attribute_alist): Likewise.
2957 (Fget_char_attribute): Likewise.
2958 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2959 as same as character as the first argument like `put-char-table';
2960 modify for interface change of `put_char_id_table'.
2961 (Fremove_char_attribute): Modify for interface change of
2962 `put_char_id_table'.
2964 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2966 * text-coding.c: Sync up with XEmacs 21.2.41.
2967 (COMPOSE_ADD_CHAR): Modify for interface change of
2968 `get_char_id_table'.
2970 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2971 change of `put_char_id_table'.
2972 (remove_char_ccs): Likewise.
2974 * chartab.h (put_char_id_table): Change interface.
2976 * char-ucs.h (get_char_id_table): Change interface.
2977 (charset_code_point): Modify for interface change of
2978 `get_char_id_table'.
2979 (encode_char_1): Likewise.
2981 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2983 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2985 (map_over_uint16_byte_table): Likewise.
2986 (map_over_byte_table): Likewise.
2987 (map_char_id_table): Add new argument `range' like
2989 (Fmap_char_attribute): Add new argument `range' like
2992 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2994 * chartab.c (map_over_uint8_byte_table): Change interface of
2995 mapping function to use struct chartab_range instead of Emchar.
2996 (map_over_uint16_byte_table): Likewise.
2997 (map_over_byte_table): Likewise.
2998 (map_char_id_table): Likewise.
2999 (struct slow_map_char_id_table_arg): Deleted.
3000 (slow_map_char_id_table_fun): Deleted.
3001 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3002 function `slow_map_char_table_fun' instead of struct
3003 `slow_map_char_id_table_arg' and function
3004 `slow_map_char_id_table_fun'.
3006 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3008 * mule-charset.c: Move char-it-table related codes to chartab.c.
3009 (Vutf_2000_version): Moved to chartab.c.
3010 (Fdefine_char): Likewise.
3011 (Ffind_char): Likewise.
3012 (syms_of_mule_charset): Move types `uint8-byte-table',
3013 `uint16-byte-table', `byte-table' and `char-id-table' to
3014 chartab.c; move functions `char_attribute_list,
3015 `find_char_attribute_table, `char_attribute_alist,
3016 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3017 `map_char_attribute, `define_char, `find_char, `char_variants and
3018 `get_composite_char to chartab.c; move symbols `=>ucs',
3019 `->decomposition', `compat', `isolated', `initial', `medial',
3020 `final', `vertical', `noBreak', `fraction', `super', `sub',
3021 `circle', `square', `wide', `narrow', `small' and `font' to
3023 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3024 setting codes for `Vcharacter_composition_table' and
3025 `Vcharacter_variant_table' to chartab.c.
3026 (complex_vars_of_mule_charset): Move setting code for
3027 `Vchar_attribute_hash_table' to chartab.c.
3029 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3030 (make_char_id_table): New prototype.
3031 (put_char_id_table): Likewise.
3032 (Fget_char_attribute): Likewise.
3034 * chartab.c: Move char-id-table related code from mule-charset.c.
3035 (Vutf_2000_version): Moved from mule-charset.c.
3037 * char-ucs.h (Qucs): New external variable.
3038 (put_char_ccs_code_point): New prototype.
3039 (remove_char_ccs): Likewise.
3041 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3043 * mule-charset.c (Vcharset_ucs_jis): New variable.
3044 (Qucs_jis): Likewise.
3045 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3046 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3048 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3050 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3052 * mule-charset.c (map_over_uint8_byte_table): New function.
3053 (map_over_uint16_byte_table): Likewise.
3054 (map_over_byte_table): Likewise.
3055 (map_char_id_table): Likewise.
3056 (slow_map_char_id_table_fun): Likewise.
3057 (Fmap_char_attribute): Likewise.
3058 (syms_of_mule_charset): Add new function `map-char-attribute'.
3060 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3062 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3063 (syms_of_mule_charset): Add new function `find-char'.
3065 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3067 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3069 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3070 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3072 (complex_vars_of_mule_charset): Add new coded-charset
3073 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3074 `ideograph-gt-pj-*'.
3076 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3078 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3080 * mule-charset.c (encode_builtin_char_1): Purge codes about
3081 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3082 {MIN|MAX}_CHAR_HEBREW.
3083 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3084 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3086 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3087 (MAX_CHAR_GREEK): Purged.
3088 (MIN_CHAR_CYRILLIC): Purged.
3089 (MAX_CHAR_CYRILLIC): Purged.
3090 (MIN_CHAR_HEBREW): Commented out.
3091 (MAX_CHAR_HEBREW): Likewise.
3093 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3095 * mule-charset.c (Qto_ucs): New variable.
3096 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3097 (Fdefine_char): Likewise.
3098 (syms_of_mule_charset): Add new symbol `=>ucs'.
3100 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3102 * mule-charset.c (Fdecode_char): Fixed.
3104 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3106 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3107 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3110 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3112 * mule-charset.c (Vcharset_ucs_big5): New variable.
3113 (Qucs_big5): Likewise.
3114 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3115 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3117 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3119 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3121 * mule-charset.c (decode_builtin_char): Check Big5 code range
3122 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3124 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3126 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3127 (Qchinese_gb12345): Likewise.
3128 (Fdecode_builtin_char): Fixed.
3129 (syms_of_mule_charset): Add `chinese-gb12345'.
3130 (complex_vars_of_mule_charset): Add coded-charset
3133 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3134 (LEADING_BYTE_CHINESE_GB12345): New macro.
3136 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3139 and `latin-viscii-upper' for `latin-viscii'.
3141 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3143 * mule-charset.c (Fdecode_builtin_char): Comment out
3144 regularization code for ISO-IR GR representation.
3146 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3148 * mule-charset.c (decode_builtin_char): New function; renamed from
3149 `make_builtin_char'; return -1 instead of signal.
3150 (Fdecode_builtin_char): Use `decode_builtin_char'.
3152 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3153 `make_builtin_char'.
3154 (DECODE_CHAR): Use `decode_builtin_char' instead of
3155 `make_builtin_char'; use mapping table of `chinese-big5' for
3156 `chinese-big5-{1,2}'.
3158 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3160 * text-coding.c (char_encode_big5): New function.
3161 (char_finish_big5): Likewise.
3162 (reset_encoding_stream): Use `char_encode_big5' and
3163 `char_finish_big5' for CODESYS_BIG5.
3164 (mule_encode): Don't use `encode_coding_big5'.
3165 (encode_coding_big5): Deleted.
3167 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3169 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3170 0x81- in XEmacs UTF-2000.
3171 (detect_coding_big5): Likewise.
3173 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3175 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3176 generate character-id if the CCS property does not have
3177 corresponding predefined character.
3178 (make_builtin_char): Return -1 if corresponding predefined
3179 character is not found.
3180 (Fdecode_char): Return nil if corresponding character is not
3182 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3183 don't map to builtin ucs space.
3185 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3187 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3188 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3190 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3192 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3193 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3194 (Qideograph_gt): Likewise.
3195 (Qideograph_gt_pj_{1..11}): Likewise.
3196 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3197 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3198 `ideograph-gt-pj-11'.
3199 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3200 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3201 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3203 * char-ucs.h (LEADING_BYTE_GT): New macro.
3204 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3205 (MIN_CHAR_GT): Likewise.
3206 (MAX_CHAR_GT): Likewise.
3208 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3210 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3211 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3213 * doprnt.c (unsigned_int_converters): Add `c'.
3214 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3216 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3217 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3219 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3220 (MAX_CHAR_MOJIKYO_0): New macro.
3221 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3223 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3225 * mule-charset.c (Fdefine_char): Delete cemented out code.
3226 (encode_builtin_char_1): Modify for new allocation of builtin
3229 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3231 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3233 * mule-charset.c (Vcharset_ucs_cns): New variable.
3234 (Qucs_cns): New variable.
3235 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3236 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3238 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3240 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3242 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3244 * search.c (search_buffer): Make `charset_base_code' as
3245 character-id >> 6 to eliminate the corresponding last byte in
3246 UTF-8 representation [I'm not sure it is right thing].
3247 (boyer_moore): Likewise.
3249 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3251 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3252 representation in MULE.
3254 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3256 * text-coding.c (Fmake_coding_system): Use
3257 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3258 `EXTERNAL_PROPERTY_LIST_LOOP'.
3260 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3262 * text-coding.c (decode_output_utf8_partial_char): New function.
3263 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3265 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3267 * text-coding.c (decode_coding_utf8): Output original byte
3268 sequence if it is broken; change order of conditions.
3270 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3273 * mb-multibyte.h (BYTE_ASCII_P):
3274 Use bit ops for char-signedness safety.
3275 (BYTE_C0_P): Use bit ops for char-signedness safety.
3276 (BYTE_C1_P): Use bit ops for char-signedness safety.
3278 * character.h: (XCHAR_OR_CHAR_INT):
3279 Always use inline function.
3280 Remove redundant type checking assert() - XINT will abort quite
3283 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3285 * text-coding.c: (Fencode_shift_jis_char):
3286 (Fencode_big5_char):
3287 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3288 Replace 0 with '\0' when working with bytes.
3289 Replace initial "(" with "\(" in docstrings.
3291 (Fmake_coding_system):
3292 When type is ccl and value is vector, register it with a proper
3293 symbol. And checks whether the given ccl program is valid.
3294 (mule_decode): When calling ccl_driver, if src indicates
3295 NULL pointer, set an empty string instead.
3296 (mule_encode): Likewise.
3299 (detect_coding_sjis):
3300 (decode_coding_sjis):
3301 (detect_coding_big5):
3302 (decode_coding_big5):
3303 (detect_coding_ucs4):
3304 (decode_coding_ucs4):
3305 (detect_coding_utf8):
3306 (decode_coding_utf8):
3307 (detect_coding_iso2022):
3308 (decode_coding_iso2022):
3309 (decode_coding_no_conversion):
3311 Make all detecting and decoding functions take an Extbyte * arg.
3312 (text_encode_generic):
3313 (encode_coding_big5):
3314 (encode_coding_no_conversion):
3316 Make all encoding functions take a Bufbyte * arg.
3317 Use size_t instead of unsigned int for memory sizes.
3318 Only cast to unsigned char whenever dereferencing Extbyte *.
3320 (struct lrecord_description fcd_description_1): Use countof.
3321 (complex_vars_of_file_coding):
3322 Use countof instead of sizeof.
3323 Use CHECK_NATNUM instead of CHECK_INT.
3325 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3327 * mule-charset.c (Fget_char_attribute): Add new optional argument
3329 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3330 (remove_char_ccs): Likewise.
3332 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3334 * text-coding.c (char_encode_shift_jis): New implementation in
3336 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3339 * mule-charset.c (Vcharset_chinese_big5): New variable in
3341 (Qchinese_big5): New variable in UTF-2000.
3342 (BIG5_SAME_ROW): New macro in UTF-2000.
3343 (make_builtin_char): Use builtin characters of
3344 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3345 characters of `Vcharset_chinese_big5'.
3346 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3347 (complex_vars_of_mule_charset): Add new coded-charset
3348 `chinese-big5' in UTF-2000.
3350 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3351 (Vcharset_chinese_big5): New external variable declaration.
3352 (Vcharset_japanese_jisx0208_1990): Likewise.
3354 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3356 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3358 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3360 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3362 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3363 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3364 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3367 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3369 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3371 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3373 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3376 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3378 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3379 for `CHARSET_BY_ATTRIBUTES'.
3380 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3381 `CHARSET_BY_ATTRIBUTES'.
3383 * text-coding.c (struct decoding_stream): Rename member `CH' to
3385 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3386 (decode_coding_sjis): Likewise.
3387 (decode_coding_big5): Likewise.
3388 (decode_coding_ucs4): Likewise.
3389 (decode_coding_utf8): Likewise.
3390 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3391 `CHARSET_BY_ATTRIBUTES'.
3392 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3393 `str->counter'; decode 3, 4 bytes sets.
3394 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3396 (decode_coding_no_conversion): Use `str->cpos' instead of
3399 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3400 (Qmojikyo_2022_1): New variable.
3401 (make_charset): Don't use `CHARSET_TYPE_*'.
3402 (range_charset_code_point): Support coded-charset
3404 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3405 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3406 `CHARSET_BY_ATTRIBUTES'.
3407 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3408 `CHARSET_BY_ATTRIBUTES'.
3409 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3410 (complex_vars_of_mule_charset): Add new coded-charset
3413 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3414 interface; changed to inline function.
3416 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3417 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3418 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3419 (CHARSET_TYPE_94): Deleted.
3420 (CHARSET_TYPE_94X94): Deleted.
3421 (CHARSET_TYPE_96): Deleted.
3422 (CHARSET_TYPE_96X96): Deleted.
3423 (CHARSET_TYPE_128): Deleted.
3424 (CHARSET_TYPE_128X128): Deleted.
3425 (CHARSET_TYPE_256): Deleted.
3426 (CHARSET_TYPE_256X256): Deleted.
3427 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3429 (DECODE_MOJIKYO_2022): New inline function.
3430 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3431 `Vcharset_mojikyo_2022_1'.
3433 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3435 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3437 (put_byte_table): Likewise.
3438 (char_id_table_equal): Use `get_byte_table' [new implementation].
3440 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3442 * mule-charset.c: Include <limits.h> in UTF-2000.
3443 (BT_UINT8_MIN): New macro in UTF-2000.
3444 (BT_UINT8_MAX): New macro in UTF-2000.
3445 (BT_UINT8_t): New macro in UTF-2000.
3446 (BT_UINT8_nil): New macro in UTF-2000.
3447 (BT_UINT8_unbound): New macro in UTF-2000.
3448 (INT_UINT8_P): New inline function in UTF-2000.
3449 (UINT8_VALUE_P): New inline function in UTF-2000.
3450 (UINT8_ENCODE): New inline function in UTF-2000.
3451 (UINT8_DECODE): New inline function in UTF-2000.
3452 (mark_uint8_byte_table): New function in UTF-2000.
3453 (print_uint8_byte_table): New function in UTF-2000.
3454 (uint8_byte_table_equal): New function in UTF-2000.
3455 (uint8_byte_table_hash): New function in UTF-2000.
3456 (make_uint8_byte_table): New function in UTF-2000.
3457 (uint8_byte_table_same_value_p): New function in UTF-2000.
3458 (BT_UINT16_MIN): New macro in UTF-2000.
3459 (BT_UINT16_MAX): New macro in UTF-2000.
3460 (BT_UINT16_t): New macro in UTF-2000.
3461 (BT_UINT16_nil): New macro in UTF-2000.
3462 (BT_UINT16_unbound): New macro in UTF-2000.
3463 (INT_UINT16_P): New inline function in UTF-2000.
3464 (UINT16_VALUE_P): New inline function in UTF-2000.
3465 (UINT16_ENCODE): New inline function in UTF-2000.
3466 (UINT16_DECODE): New inline function in UTF-2000.
3467 (UINT8_TO_UINT16): New inline function in UTF-2000.
3468 (mark_uint16_byte_table): New function in UTF-2000.
3469 (print_uint16_byte_table): New function in UTF-2000.
3470 (uint16_byte_table_equal): New function in UTF-2000.
3471 (uint16_byte_table_hash): New function in UTF-2000.
3472 (make_uint16_byte_table): New function in UTF-2000.
3473 (uint16_byte_table_same_value_p): New function in UTF-2000.
3474 (print_byte_table): New function in UTF-2000.
3475 (byte-table): Use `print_byte_table' as printer.
3476 (make_byte_table): Delete second argument `older'.
3477 (byte_table_same_value_p): New function in UTF-2000.
3478 (copy_byte_table): Deleted.
3479 (get_byte_table): New function in UTF-2000.
3480 (put_byte_table): New function in UTF-2000.
3481 (print_char_id_table): New function in UTF-2000.
3482 (char-id-table): Use `print_char_id_table' as printer.
3483 (make_char_id_table): Delete second argument `older'.
3484 (get_char_id_table): Use `get_byte_table [new implementation].
3485 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3487 (Ffind_char_attribute_table): New function in UTF-2000.
3488 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3489 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3490 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3491 (syms_of_mule_charset): Add new function
3492 `find-char-attribute-table' in UTF-2000.
3494 * lrecord.h (enum lrecord_type): Add
3495 `lrecord_type_uint16_byte_table' and
3496 `lrecord_type_uint8_byte_table'.
3498 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3499 (Lisp_Uint8_Byte_Table): New type.
3500 (XUINT8_BYTE_TABLE): New macro.
3501 (XSETUINT8_BYTE_TABLE): New macro.
3502 (UINT8_BYTE_TABLE_P): New macro.
3503 (GC_UINT8_BYTE_TABLE_P): New macro.
3504 (struct Lisp_Uint16_Byte_Table): New structure.
3505 (Lisp_Uint16_Byte_Table): New type.
3506 (XUINT16_BYTE_TABLE): New macro.
3507 (XSETUINT16_BYTE_TABLE): New macro.
3508 (UINT16_BYTE_TABLE_P): New macro.
3509 (GC_UINT16_BYTE_TABLE_P): New macro.
3511 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3513 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3514 (Vcharacter_ideographic_strokes_table): Deleted.
3515 (Vcharacter_total_strokes_table): Deleted.
3516 (Vcharacter_morohashi_daikanwa_table): Deleted.
3517 (Vcharacter_decomposition_table): Deleted.
3518 (Qname): Deleted because it is duplicated.
3519 (Qideographic_radical): Deleted.
3520 (Qideographic_strokes): Deleted.
3521 (Qtotal_strokes): Deleted.
3522 (Qmorohashi_daikanwa): Deleted.
3523 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3524 `ideographic-radical', `ideographic-strokes', `total-strokes',
3525 `morohashi-daikanwa' and `->decomposition'.
3526 (Fget_char_attribute): Likewise.
3527 (Fput_char_attribute): Likewise; use `make-vector' instead of
3528 `make_older_vector' for `->decomposition' value.
3529 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3530 `ideograph-daikanwa'.
3531 (syms_of_mule_charset): Delete builtin symbols `name',
3532 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3533 `morohashi-daikanwa'.
3534 (vars_of_mule_charset): Don't setup
3535 `Vcharacter_ideographic_radical_table',
3536 `Vcharacter_ideographic_strokes_table',
3537 `Vcharacter_total_strokes_table',
3538 `Vcharacter_morohashi_daikanwa_table' and
3539 `Vcharacter_decomposition_table'.
3541 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3543 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3544 `make_older_vector', `make_vector_newer_1' and
3545 `make_vector_newer'.
3547 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3548 `make_older_vector' and `make_vector_newer'.
3550 * config.h.in (HAVE_GGC): New macro.
3552 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3554 * mule-charset.c (struct char_attribute_list_closure): New
3555 structure in UTF-2000.
3556 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3557 (Fchar_attribute_list): Likewise.
3558 (Fset_charset_mapping_table): Use `make_vector_newer'.
3559 (Fdecode_builtin_char): New function in UTF-2000.
3560 (syms_of_mule_charset): Add new function `char-attribute-list' and
3561 `decode-builtin-char' in UTF-2000.
3563 * lisp.h (make_vector_newer): New prototype.
3565 * alloc.c (make_vector_newer_1): New function.
3566 (make_vector_newer): New function.
3568 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3570 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3573 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3575 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3576 (Vcharacter_attribute_table): Deleted.
3577 (Vcharacter_name_table): Deleted.
3578 (put_char_attribute): Deleted.
3579 (remove_char_attribute): Deleted.
3580 (struct char_attribute_alist_closure): New structure.
3581 (add_char_attribute_alist_mapper): New function.
3582 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3583 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3584 (Fget_char_attribute): Likewise.
3585 (Fput_char_attribute): Likewise.
3586 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3587 of `remove_char_attribute'.
3588 (Fdefine_char): Return character.
3589 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3590 and `Vcharacter_name_table'.
3591 (complex_vars_of_mule_charset): Likewise
3592 `Vchar_attribute_hash_table'.
3594 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3596 * character.h (CHARC_CHARSET): New macro.
3597 (CHARC_CHARSET_ID): New macro.
3598 (CHARC_CODE_POINT): New macro.
3599 (CHARC_COLUMNS): New macro.
3600 (CHARC_TO_CHAR): New inline function.
3601 (CHARC_EQ): New inline function.
3602 (CHARC_ASCII_EQ): New inline function.
3603 (CHARC_IS_SPACE): New inline function.
3604 (ASCII_TO_CHARC): New inline function.
3606 * char-ucs.h (encode_char_2): Deleted.
3607 (ENCODE_CHAR): Use `encode_char_1' again.
3608 (breakup_char_1): Likewise.
3609 (CHAR_TO_CHARC): New inline function.
3611 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3613 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3615 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3616 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3617 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3618 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3619 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3621 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3623 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3625 (x_output_display_block): Use `CHARC_CHARSET' and
3628 * redisplay-tty.c (tty_output_display_block): Use
3630 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3632 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3634 * insdel.c (find_charsets_in_charc_string): Use
3636 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3637 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3638 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3639 (convert_charc_string_into_malloced_string): Likewise.
3641 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3643 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3644 instead of <Emchar_dynarr *> for buf; use
3645 `convert_bufbyte_string_into_charc_dynarr' instead of
3646 `convert_bufbyte_string_into_emchar_dynarr'; use
3647 `find_charsets_in_charc_string' instead of
3648 `find_charsets_in_emchar_string'.
3651 - Include "character.h".
3652 (struct rune): New member `cglyph'; delete member `chr'.
3654 * redisplay.c (redisplay_text_width_charc_string): New function;
3655 delete `redisplay_text_width_emchar_string'.
3656 (rtw_charc_dynarr): New variable; renamed from
3657 `rtw_emchar_dynarr'.
3658 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3659 `rtw_emchar_dynarr'; use
3660 `convert_bufbyte_string_into_charc_dynarr' instead of
3661 `convert_bufbyte_string_into_emchar_dynarr'; use
3662 `redisplay_text_width_charc_string' instead of
3663 `redisplay_text_width_emchar_string'.
3664 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3665 instead of `rtw_emchar_dynarr'; use
3666 `convert_bufbyte_string_into_charc_dynarr' instead of
3667 `convert_bufbyte_string_into_emchar_dynarr'.
3668 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3669 `redisplay_text_width_charc_string' instead of
3670 `redisplay_text_width_emchar_string'.
3671 (create_text_block): Modify for <struct rune> change.
3672 (generate_formatted_string_db): Likewise.
3673 (create_string_text_block): Likewise.
3674 (pixel_to_glyph_translation): Likewise.
3676 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3677 instead of <const Emchar *>.
3678 (x_text_width): Likewise.
3679 (x_output_display_block): Use <Charc_dynarr *> instead
3680 <Emchar_dynarr *>; modify for <structure rune> change.
3681 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3684 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3685 <const Emchar *>; use `charc_string_displayed_columns' instead of
3686 `emchar_string_displayed_columns'.
3687 (tty_output_display_block): Use <Charc_dynarr *> instead of
3688 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3689 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3690 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3691 `tty_output_emchar_dynarr_dynarr'.
3692 (tty_output_charc_dynarr): New function; delete
3693 `tty_output_charc_dynarr'.
3695 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3696 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3697 <Emchar_dynarr *> for buf; use
3698 `convert_bufbyte_string_into_charc_dynarr' instead of
3699 `convert_bufbyte_string_into_emchar_dynarr'.
3701 * frame.c (title_string_charc_dynarr): New variable; renamed from
3702 `title_string_emchar_dynarr'.
3703 (generate_title_string): Use `title_string_charc_dynarr' instead
3704 of `title_string_emchar_dynarr'; use
3705 `convert_charc_string_into_malloced_string' instead of
3706 `convert_emchar_string_into_malloced_string'.
3707 (init_frame): Use `title_string_charc_dynarr' instead of
3708 `title_string_emchar_dynarr'.
3711 - Include "character.h".
3712 (struct console_methods): Use <const Charc *> instead of <const
3713 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3714 <Emchar_dynarr *> in output_string_method.
3716 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3719 * console-stream.c (stream_text_width): Use <const Charc *>
3720 instead of <const Emchar *>.
3722 * character.h (Charc_dynarr): New type.
3724 * char-ucs.h (structure Charc): New structure; define new type
3727 * char-lb.h (DECODE_CHAR): New inline function.
3728 (encode_char_1): New inline function.
3729 (ENCODE_CHAR): New macro.
3730 (structure Charc): New structure; define new type `Charc'.
3732 * char-1byte.h (Vcharset_control_1): New macro.
3733 (Vcharset_latin_iso8859_1): New macro.
3734 (DECODE_CHAR): New inline function.
3735 (encode_char_1): New inline function.
3736 (ENCODE_CHAR): New macro.
3737 (structure Charc): New structure; define new type `Charc'.
3739 * insdel.c (find_charsets_in_charc_string): New function; delete
3740 `find_charsets_in_emchar_string'.
3741 (charc_string_displayed_columns): New function; delete
3742 `emchar_string_displayed_columns'.
3743 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3744 `convert_bufbyte_string_into_emchar_dynarr'.
3745 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3746 `convert_charc_string_into_bufbyte_dynarr'.
3747 (convert_charc_string_into_malloced_string): New function; delete
3748 `convert_charc_string_into_malloced_string'.
3750 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3751 `find_charsets_in_emchar_string'.
3752 (charc_string_displayed_columns): New prototype; delete
3753 `emchar_string_displayed_columns'.
3754 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3755 `convert_charc_string_into_bufbyte_dynarr'.
3756 (convert_charc_string_into_malloced_string): New prototype; delete
3757 `convert_charc_string_into_malloced_string'.
3759 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3761 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3763 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3765 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3767 * char-ucs.h: Use <short> for <Charset_ID>.
3769 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3772 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3774 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3777 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3779 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3781 (Qmorohashi_daikanwa): New variable.
3782 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3783 for `morohashi-daikanwa' attribute.
3784 (Fget_char_attribute): Likewise.
3785 (Fput_char_attribute): Likewise.
3786 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3787 has the same value of `ideograph-daikanwa'.
3788 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3789 (vars_of_mule_charset): Setup
3790 `Vcharacter_morohashi_daikanwa_table'.
3792 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3794 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3796 (add_charset_to_list_mapper): Add `key' instead of
3797 `XCHARSET_NAME (value)' to return aliases.
3799 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3801 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3803 (Vcharacter_ideographic_strokes_table): New variable.
3804 (Qideographic_radical): New variable.
3805 (Qideographic_strokes): New variable.
3806 (Fchar_attribute_alist): Use
3807 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3808 attribute; use `Vcharacter_ideographic_strokes_table' for
3809 `ideographic-strokes' attribute.
3810 (Fget_char_attribute): Likewise.
3811 (Fput_char_attribute): Likewise.
3812 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3813 `ideographic-strokes'.
3814 (vars_of_mule_charset): Setup
3815 `Vcharacter_ideographic_radical_table' and
3816 `Vcharacter_ideographic_strokes_table'.
3818 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3820 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3821 (Qtotal_strokes): New variable.
3822 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3823 `total-strokes' attribute.
3824 (Fget_char_attribute): Likewise.
3825 (Fput_char_attribute): Likewise.
3826 (syms_of_mule_charset): Add new symbol `total-strokes'.
3827 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3829 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3831 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3832 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3834 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3835 `->decomposition' attribute.
3836 (Fput_char_attribute): Likewise.
3837 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3839 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3841 * mule-charset.c (decoding_table_check_elements): New function.
3842 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3844 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3846 * mule-charset.c (Fset_charset_mapping_table): Use
3847 `put_char_ccs_code_point'.
3849 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3851 * mule-charset.c (decoding_table_put_char): New inline function.
3852 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3854 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3856 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3857 (XCHARSET_BYTE_SIZE): New macro.
3858 (decoding_table_remove_char): New inline function.
3859 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3860 `decoding_table_remove_char'.
3861 (remove_char_ccs): Use `decoding_table_remove_char'.
3862 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3864 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3866 * mule-charset.c (Vcharacter_name_table): New variable.
3867 (Qname): New variable.
3868 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3870 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3871 `Vcharacter_name_table' for `name' attribute.
3872 (Fremove_char_attribute): Use function `remove_char_ccs'.
3873 (put_char_ccs_code_point): New function.
3874 (remove_char_ccs): New function.
3875 (syms_of_mule_charset): Add new symbol `name'.
3876 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3878 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3880 * mule-charset.c (make_byte_table): Add new argument `older'.
3881 (make_char_id_table): Likewise.
3882 (copy_char_id_table): Comment out because it is not used.
3883 (put_char_id_table): Modify for `make_byte_table'.
3884 (Fput_char_attribute): Make encoding_table as older object;
3885 inherit older bit of `Vcharacter_composition_table'.
3886 (mark_charset): Don't mark `cs->encoding_table'.
3887 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3888 normal object; make `Vcharacter_composition_table' as an older
3889 object; delete staticpro for `Vcharacter_composition_table'; make
3890 `Vcharacter_variant_table' as a normal object.
3892 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3893 (mark_object): Don't check older object in UTF-2000.
3895 * lrecord.h (struct lrecord_header): Add new member `older' in
3897 (set_lheader_implementation): Setup `SLI_header->older' in
3899 (set_lheader_older_implementation): New macro in UTF-2000.
3900 (OLDER_RECORD_P): New macro in UTF-2000.
3901 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3902 (alloc_older_lcrecord): New prototype in UTF-2000.
3903 (alloc_older_lcrecord_type): New macro in UTF-2000.
3905 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3907 * mule-charset.c (byte_table_description): Use
3908 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3909 (char_id_table_description): Delete bogus `, 1'.
3910 (Fget_char_attribute): Refer encoding_table of each coded-charset
3911 to get value of coded-charset attribute of a character.
3912 (Fput_char_attribute): Use `make_older_vector' instead of
3913 `make_vector'; use encoding_table of each coded-charset to store
3914 value of coded-charset attribute of a character.
3915 (Fremove_char_attribute): Use encoding_table of each coded-charset
3916 to store value of coded-charset attribute of a character.
3917 (mark_charset): Mark `cs->encoding_table'; don't mark
3918 `cs->decoding_table'.
3919 (charset_description): Add description of new member
3921 (make_charset): Initialize `encoding_table'.
3923 * char-ucs.h (struct Lisp_Charset): Add new member
3925 (CHARSET_ENCODING_TABLE): New macro.
3926 (XCHARSET_ENCODING_TABLE): New macro.
3927 (charset_code_point): New implementation.
3928 (encode_char_1): Likewise.
3930 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3931 (disksave_object_finalization_1): Call finalizers of
3932 `all_older_lcrecords' in UTF-2000.
3933 (make_older_vector): New function in UTF-2000.
3934 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3937 * lisp.h (make_older_vector): New prototype in UTF-2000.
3939 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3941 * lrecord.h (enum lrecord_type): Rename
3942 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3944 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3945 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3946 `get_char_code_table'.
3948 * mule-charset.c (mark_char_id_table): Renamed from
3949 `mark_char_code_table'.
3950 (char_id_table_equal): Renamed from `char_code_table_equal'.
3951 (char_id_table_hash): Renamed from `char_code_table_hash'.
3952 (make_char_id_table): Renamed from `make_char_code_table'.
3953 (copy_char_id_table): Renamed from `copy_char_code_table'.
3954 (get_char_id_table): Renamed from `get_char_code_table'.
3955 (put_char_id_table): Renamed from `put_char_code_table'.
3956 (to_char_id): Renamed from `to_char_code'.
3958 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3959 `Lisp_Char_Code_Table'.
3960 (char_id_table): Renamed from `char_code_table'.
3961 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3962 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3963 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3964 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3965 (get_char_id_table): Renamed from `get_char_code_table'.
3967 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3969 * lrecord.h (enum lrecord_type): Rename
3970 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3972 * mule-charset.c (mark_byte_table): Renamed from
3973 `mark_char_byte_table'.
3974 (byte_table_equal): Renamed from `char_byte_table_equal'.
3975 (byte_table_hash): Renamed from `byte_table_hash'.
3976 (make_byte_table): Renamed from `make_byte_table'.
3977 (copy_byte_table): Renamed from `copy_char_byte_table'.
3979 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3980 `Lisp_Char_Byte_Table'.
3981 (byte_table): Renamed from `char_byte_table'.
3982 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3983 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3984 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3985 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3987 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3989 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3990 (dfc_convert_to_internal_format): Likewise.
3992 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3993 * text-coding.c (Fcoding_system_alias_p): New function.
3994 * text-coding.c (Fcoding_system_aliasee): New function.
3995 * text-coding.c (append_suffix_to_symbol): New function.
3996 * text-coding.c (dangling_coding_system_alias_p): New function.
3997 * text-coding.c (Ffind_coding_system):
3998 * text-coding.c (Fcopy_coding_system):
3999 * text-coding.c (encode_coding_no_conversion):
4000 * text-coding.c (syms_of_file_coding):
4001 * text-coding.c (vars_of_file_coding):
4002 Rewrite coding system alias code.
4003 Allow nested aliases, like symbolic links.
4004 Allow redefinition of coding system aliases.
4005 Prevent existence of dangling coding system aliases.
4006 Eliminate convert_to_external_format.
4007 Eliminate convert_to_internal_format.
4009 * text-coding.c: Change enum eol_type to eol_type_t.
4011 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4013 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4014 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4016 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4017 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4019 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4021 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4022 `ideograph-daikanwa'.
4024 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4025 (Vcharset_ucs_bmp): Likewise.
4026 (Vcharset_mojikyo): Add new extern variable definition.
4027 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4028 (Vcharset_latin_iso8859_3): Likewise.
4029 (Vcharset_latin_iso8859_4): Likewise.
4030 (Vcharset_latin_iso8859_9): Likewise.
4031 (Vcharset_latin_viscii_lower): Likewise.
4032 (Vcharset_latin_viscii_upper): Likewise.
4033 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4034 `mojikyo' code-point is used to decode.
4035 (encode_char_2): New function [to convert `mojikyo' code-point to
4036 Mojikyo font encoding].
4037 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4038 (breakup_char_1): Likewise.
4039 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4041 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4043 * text-coding.c (Fmake_coding_system): Add document about
4044 `disable-composition' property.
4046 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4048 * text-coding.c (Qdisable_composition): New variable; delete
4050 (Fmake_coding_system): Add new property `disable-composite';
4051 delete property `composite'.
4052 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4053 instead of `!CODING_SYSTEM_COMPOSITE'.
4054 (syms_of_file_coding): Add new symbol `disable-composition';
4055 delete symbol `composite'.
4057 * file-coding.h (struct Lisp_Coding_System): Add
4058 `disable_composition'; delete `enable_composition'.
4059 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4060 `CODING_SYSTEM_COMPOSITE'.
4061 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4062 `XCODING_SYSTEM_COMPOSITE'.
4064 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4066 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4069 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4071 * text-coding.c (Qcomposite): New variable.
4072 (Fmake_coding_system): Add new property `composite'.
4073 (struct decoding_stream): Add `combined_char_count',
4074 `combined_chars' and `combining_table' in UTF-2000.
4075 (COMPOSE_FLUSH_CHARS): New macro.
4076 (COMPOSE_ADD_CHAR): New macro.
4077 (reset_decoding_stream): Reset `str->combined_char_count' and
4078 `str->combining_table' in UTF-2000.
4079 (decode_coding_iso2022): Modify for character-decomposition.
4080 (syms_of_file_coding): Add new symbol `composite'.
4082 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4084 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4085 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4086 of `Vcharacter_composition_table' if `->decomposition' property
4088 (Qlatin_tcvn5712): New variable.
4089 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4090 (complex_vars_of_mule_charset): Add new coded-charset
4093 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4095 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4097 * file-coding.h (struct Lisp_Coding_System): Add
4098 `enable_composition'.
4099 (CODING_SYSTEM_COMPOSITE): New macro.
4100 (XCODING_SYSTEM_COMPOSITE): New macro.
4102 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4104 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4106 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4108 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4109 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4111 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4113 * mule-charset.c (Vcharset_mojikyo): New variable.
4114 (Fdefine_char): Don't use coded-charset which does not have
4115 non-builtin character range to allocate character-id.
4116 (Qmojikyo): New variable.
4117 (syms_of_mule_charset): Add new symbol `mojikyo'.
4118 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4120 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4121 (LEADING_BYTE_MOJIKYO): New macro.
4122 (MIN_CHAR_MOJIKYO): New macro.
4123 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4124 (MAX_CHAR_MOJIKYO): New macro.
4126 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4128 * mule-charset.c (remove_char_attribute): Fixed.
4130 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4132 * mule-charset.c (remove_char_attribute): New function.
4133 (Fremove_char_attribute): New function.
4134 (encode_builtin_char_1): Comment out builtin-support for
4135 greek-iso8859-7 and cyrillic-iso8859-5.
4136 (Fdecode_char): Check `code' is an integer.
4137 (syms_of_mule_charset): Add `remove-char-attribute'.
4138 (MIN_CHAR_GREEK): Deleted.
4139 (MAX_CHAR_GREEK): Likewise.
4140 (MIN_CHAR_CYRILLIC): Likewise.
4141 (MAX_CHAR_CYRILLIC): Likewise.
4142 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4143 MAX_CHAR_GREEK for `greek-iso8859-7'.
4145 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4146 (MAX_CHAR_GREEK): Likewise.
4147 (MIN_CHAR_CYRILLIC): Likewise.
4148 (MAX_CHAR_CYRILLIC): Likewise.
4150 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4152 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4153 format is used without `ucs' property.
4154 (Fdecode_char): Fix problem with GR representation.
4155 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4156 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4158 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4160 * mule-charset.c (make_builtin_char): New function.
4161 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4162 (Fset_charset_mapping_table): Modify for new representation of
4164 (Fdecode_char): New function.
4165 (syms_of_mule_charset): Add new builtin function `decode-char' in
4168 * char-ucs.h (make_builtin_char): New prototype.
4169 (DECODE_CHAR): New inline function.
4170 (MAKE_CHAR): Use `DECODE_CHAR'.
4172 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4174 * text-coding.c (parse_charset_conversion_specs): Use
4175 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4177 (iso2022_designate): Likewise.
4179 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4180 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4182 * mule-charset.c (Vcharset_ucs): New variable.
4183 (print_charset): Change design; use `CHARSET_CHARS' and
4184 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4185 (make_charset): Change signature to specify `chars' and
4186 `dimension' instead of `type'.
4187 (range_charset_code_point): Modify for 256^n-set.
4188 (encode_builtin_char_1): Encode as `ucs' in default.
4189 (Fmake_charset): Modify for `make_charset'.
4190 (Fmake_reverse_direction_charset): Likewise.
4191 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4193 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4196 * char-ucs.h (Vcharset_ucs): New variable.
4197 (LEADING_BYTE_UCS): New macro.
4198 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4199 and `chars' to `unsigned short' from `unsigned int'.
4200 (CHARSET_TYPE): Deleted.
4201 (XCHARSET_TYPE): Deleted.
4203 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4205 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4207 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4208 (ENCODE_CHAR): New macro.
4210 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4212 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4213 to 0.14 (Kawachi-Katakami).
4215 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4217 * text-coding.c (char_encode_shift_jis): Modify for
4218 `charset_code_point'.
4219 (char_encode_iso2022): Likewise.
4221 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4222 (integer) instead of list of <Lisp_Object>s (integers) as the
4223 format of code-point of a coded-charset.
4224 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4225 (encode_builtin_char_1): New function; delete
4226 `split_builtin_char'.
4227 (charset_code_point): Return <int> instead of <Lisp_Object>.
4228 (Fsplit_char): Don't use `SPLIT_CHAR'.
4230 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4231 prototype for `split_builtin_char'.
4232 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4233 (charset_code_point): Likewise.
4234 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4235 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4237 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4239 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4240 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4242 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4244 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4246 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4247 (MAX_CHAR_OBS_94x94): Deleted.
4249 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4251 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4253 * char-ucs.h (MAX_CHAR_BMP): New macro.
4255 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4257 * text-coding.c: Sync with r21-2-24.
4259 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4261 * file-coding.c: Modify for UTF-2000.
4263 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4265 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4268 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4270 * mule-charset.c (split_builtin_char): Delete builtin support for
4271 `katakana-jisx0201'.
4272 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4273 BMP area in builtin representation.
4275 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4276 `Vcharset_katakana_jisx0201'.
4278 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4280 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4281 (Qisolated): New variable.
4282 (Qinitial): New variable.
4283 (Qmedial): New variable.
4284 (Qfinal): New variable.
4285 (Qvertical): New variable.
4286 (Qsmall): New variable.
4287 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4288 `Qvertical' and `Qsmall'.
4289 (Qmojikyo_pj_[1 .. 21]): New variable.
4290 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4291 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4292 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4295 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4297 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4298 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4299 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4301 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4303 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4304 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4306 (Qjapanese_jisx0208_1990): New variable.
4307 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4308 (complex_vars_of_mule_charset): Add new coded-charset
4309 `japanese-jisx0208-1990'.
4311 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4312 (MIN_CHAR_JIS_X0208_1990): New macro.
4313 (MAX_CHAR_JIS_X0208_1990): New macro.
4315 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4317 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4318 coded-charset is not found.
4320 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4322 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4323 (Fdefine_char): Use `Fmake_char'.
4325 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4327 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4328 (Vcharset_hiragana_jisx0208): Deleted.
4329 (Vcharset_katakana_jisx0208): Deleted.
4330 (Qideograph_daikanwa): New variable.
4331 (Qhiragana_jisx0208): Deleted.
4332 (Qkatakana_jisx0208): Deleted.
4333 (split_builtin_char): Split `ideograph-daikanwa'.
4334 (Fsplit_char): New implementation for UTF-2000.
4335 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4336 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4337 (complex_vars_of_mule_charset): Add new coded-charset
4338 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4339 `katakana-jisx0208'.
4341 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4342 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4343 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4344 (MIN_CHAR_DAIKANWA): New macro.
4345 (MAX_CHAR_DAIKANWA): New macro.
4347 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4349 * data.c (Fstring_to_number): Don't recognize floating point if
4352 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4354 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4356 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4358 * mule-charset.c (Qsquare): New variable.
4359 (to_char_code): Add `Qsquare'.
4360 (syms_of_mule_charset): Add new symbol `square'.
4362 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4364 * mule-charset.c (Qcircle): New variable.
4365 (to_char_code): Add `Qcircle'.
4366 (syms_of_mule_charset): Add new symbol `circle'.
4368 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4370 * mule-charset.c (Qfont): New variable.
4371 (to_char_code): Add `Qfont'.
4372 (syms_of_mule_charset): Add new symbol `font'.
4374 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4376 * mule-charset.c (Qsub): New variable.
4377 (to_char_code): Add `Qsub'.
4378 (syms_of_mule_charset): Add new symbol `sub'.
4380 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4382 * mule-charset.c (Fput_char_attribute): Convert each element of
4383 VALUE to GL position if ATTRIBUTE is a GR-set,
4385 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4387 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4388 coded-charset is a GR-set.
4390 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4392 * mule-charset.c (Fput_char_attribute): Check each element of
4393 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4395 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4397 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4399 (Qethiopic_ucs): New variable in UTF-2000.
4400 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4401 (complex_vars_of_mule_charset): Add new coded-charset
4402 `ethiopic-ucs' in UTF-2000.
4404 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4405 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4407 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4409 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4411 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4413 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4416 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4418 * mule-charset.c (Vcharacter_variant_table): New variable.
4419 (Q_ucs): New variable.
4420 (Fchar_variants): New function.
4421 (Fput_char_attribute): Register `->ucs' value to
4422 `Vcharacter_variant_table'.
4423 (syms_of_mule_charset): Add new function `char-variants' and new
4425 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4427 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4429 * mule-charset.c (get_char_code_table): Allow negative character
4431 (put_char_code_table): Likewise.
4432 (Vcharacter_composition_table): New variable.
4433 (Q_decomposition): New variable.
4434 (Qwide): New variable.
4435 (Qnarrow): New variable.
4436 (Qcompat): New variable.
4437 (QnoBreak): New variable.
4438 (Qsuper): New variable.
4439 (Qfraction): New variable.
4440 (to_char_code): New function.
4441 (Fget_composite_char): New function.
4442 (Fput_char_attribute): Register `->decomposition' value to
4443 `Vcharacter_composition_table'.
4444 (syms_of_mule_charset): Add new function `get-composite-char', new
4445 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4446 `super' and `fraction'.
4447 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4449 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4451 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4452 character; copy the return value.
4454 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4456 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4458 * mule-charset.c (range_charset_code_point): Must use make_int.
4459 (split_builtin_char): New function.
4461 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4463 * mule-charset.c (char_byte_table): Change name from
4464 "char-code-table" to "char-byte-table".
4465 (mark_char_code_table): New function.
4466 (char_code_table_equal): New function.
4467 (char_code_table_hash): New function.
4468 (char_code_table_description): New constant.
4469 (char_code_table): New type.
4470 (make_char_code_table): New function.
4471 (copy_char_code_table): New function.
4472 (get_char_code_table): Modify for `char_code_table' type.
4473 (put_char_code_table): Likewise.
4474 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4477 * char-ucs.h (char_code_table): New type.
4478 (XCHAR_CODE_TABLE): New macro.
4479 (XSETCHAR_CODE_TABLE): New macro.
4480 (CHAR_CODE_TABLE_P): New macro.
4481 (GC_CHAR_CODE_TABLE_P): New macro.
4482 (struct Lisp_Char_Code_Table): New structure.
4484 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4486 * mule-charset.c (Fmake_charset): Setup byte_offset for
4489 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4491 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4494 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4496 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4499 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4501 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4502 charset, it is regarded as a charset.
4503 (put_char_attribute): New function in UTF-2000.
4504 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4505 charset, mapping-table of the charset is modified.
4506 (Fdefine_char): New function in UTF-2000.
4507 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4508 `Fput_char_attribute'.
4509 (syms_of_mule_charset): Add new function `define-char' and new
4510 symbol `ucs' in UTF-2000.
4511 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4513 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4515 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4516 non-UTF-2000 configuration.
4518 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4520 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4521 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4523 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4525 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4526 (Fset_charset_mapping_table): Likewise.
4528 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4529 (CHARSET_ENCODING_TABLE): Delete.
4530 (XCHARSET_ENCODING_TABLE): Delete.
4531 (charset_code_point): New interface.
4533 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4535 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4536 instead of `charset_get_byte1' and `charset_get_byte2'.
4538 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4539 (charset_get_byte2): Deleted.
4541 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4543 * char-ucs.h (SPLIT_CHAR): New inline function.
4544 (breakup_char_1): Use `SPLIT_CHAR'.
4546 * mule-charset.c (range_charset_code_point): New function.
4547 (charset_code_point): New function.
4549 * char-ucs.h (range_charset_code_point): New interface.
4550 (breakup_char_1): Use `range_charset_code_point'.
4552 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4554 * mule-charset.c (Fmake_charset): Delete unused local variable
4557 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4558 (breakup_char_1): Find a charset and code-point in
4559 `Vcharacter_attribute_table'.
4561 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4563 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4566 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4568 * mule-charset.c (Vcharacter_attribute_table): New variable.
4569 (Fchar_attribute_alist): New function.
4570 (Fget_char_attribute): New function.
4571 (Fput_char_attribute): New function.
4572 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4574 (syms_of_mule_charset): Add new function `char-attribute-alist',
4575 `get-char-attribute' and `put-char-attribute'.
4576 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4578 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4580 * mule-charset.c (Fmake_charset): Just use
4581 `get_unallocated_leading_byte'.
4583 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4584 sets; don't use final-byte based number for private sets.
4586 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4588 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4591 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4593 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4596 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4598 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4599 of `CHAR_LEADING_BYTE' in UTF-2000.
4601 * insdel.c (find_charsets_in_bufbyte_string): Use
4602 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4603 (find_charsets_in_emchar_string): Likewise.
4605 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4606 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4608 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4609 (CHAR_CHARSET_ID): New macro.
4611 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4613 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4614 charset-id - MIN_LEADING_BYTE.
4615 (put_char_table): Likewise.
4617 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4619 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4620 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4621 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4622 (CHARSET_ID_OFFSET): New macro.
4623 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4624 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4625 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4626 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4628 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4630 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4631 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4632 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4633 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4634 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4636 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4638 * mule-charset.c (next_allocated_leading_byte): New variable in
4640 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4641 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4642 (get_unallocated_leading_byte): Simply use
4643 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4644 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4647 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4648 (MAX_LEADING_BYTE_PRIVATE): New macro.
4649 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4650 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4652 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4654 * mule-charset.c (Fmake_charset): Allocate final-byte based
4655 charset-id for 94-set, 96-set and 94x94-set.
4657 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4659 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4661 (Fmake_charset): Likewise.
4662 (complex_vars_of_mule_charset): Modify the font registry of
4663 `ucs-bmp' not to match `Ethiopic-Unicode'.
4665 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4667 * mule-charset.c (complex_vars_of_mule_charset): Add font
4668 registory of `ucs-bmp'.
4670 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4672 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4673 coded-charsets in `default-coded-charset-priority-list' when
4674 breaking up a character.
4676 * mule-charset.c (Vcharset_latin_viscii): New variable.
4677 (Qlatin_viscii): New variable.
4678 (make_charset): Don't use `decoding_table'.
4679 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4681 (Fset_charset_mapping_table): New implementation.
4682 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4683 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4684 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4685 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4686 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4687 charset `latin_viscii'.
4689 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4690 (CHARSET_TYPE_94X94): Change to 1 from 2.
4691 (CHARSET_TYPE_96): Change to 2 from 1.
4692 (CHARSET_TYPE_128): New macro.
4693 (CHARSET_TYPE_128X128): Change to 5 from 4.
4694 (CHARSET_TYPE_256): New macro.
4695 (CHARSET_TYPE_256X256): Change to 7 from 5.
4696 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4698 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4700 * text-coding.c (char_encode_shift_jis): Refer
4701 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4702 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4704 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4705 (char_byte_table_equal): New function in UTF-2000.
4706 (char_byte_table_hash): New function in UTF-2000.
4707 (char_byte_table_description): New constant in UTF-2000.
4708 (char_byte_table): New type in UTF-2000.
4709 (make_char_byte_table): New function in UTF-2000.
4710 (copy_char_byte_table): New function in UTF-2000.
4711 (make_char_code_table): New macro in UTF-2000.
4712 (get_char_code_table): New function in UTF-2000.
4713 (put_char_code_table): New function in UTF-2000.
4714 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4715 (charset_description): Add setting in UTF-2000.
4716 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4717 `CHARSET_TO_BYTE1_TABLE(cs)'.
4718 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4719 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4720 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4721 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4722 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4723 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4724 `CHARSET_TO_BYTE2_TABLE(cs)'.
4726 * char-ucs.h (char_byte_table): New type.
4727 (XCHAR_BYTE_TABLE): New macro.
4728 (XSETCHAR_BYTE_TABLE): New macro.
4729 (CHAR_BYTE_TABLE_P): New macro.
4730 (GC_CHAR_BYTE_TABLE_P): New macro.
4731 (struct Lisp_Char_Byte_Table): New structure.
4732 (get_char_code_table): New interface.
4733 (Emchar_to_byte_table): Deleted.
4734 (get_byte_from_character_table): Deleted.
4735 (struct Lisp_Charset): Add `encoding_table'; delete
4736 `to_byte1_table' and `to_byte2_table'.
4737 (CHARSET_ENCODING_TABLE): New macro.
4738 (CHARSET_TO_BYTE1_TABLE): Deleted.
4739 (CHARSET_TO_BYTE2_TABLE): Deleted.
4740 (XCHARSET_ENCODING_TABLE): New macro.
4741 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4742 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4744 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4746 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4747 `vietnamese-viscii-*'.
4749 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4751 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4752 (Qvietnamese_viscii_upper): New variable.
4753 (Fdefine_charset_alias): New function.
4754 (syms_of_mule_charset): Add new function `define-charset-alias'.
4755 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4756 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4759 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4761 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4762 (MAX_CHAR_OBS_94x94): New macro.
4763 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4766 * mule-charset.c (put_byte_from_character_table): Change unit size
4768 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4770 (Fmake_reverse_direction_charset): Modify dummy argument of
4771 `make_charset' for non-UTF-2000 environment.
4773 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4775 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4777 * mule-charset.c (destroy_byte_from_character_table): New macro.
4778 (latin_jisx0201_to_ucs): Deleted.
4779 (latin_iso8859_2_to_ucs): Deleted.
4780 (latin_iso8859_3_to_ucs): Deleted.
4781 (latin_iso8859_4_to_ucs): Deleted.
4782 (latin_iso8859_9_to_ucs): Deleted.
4783 (latin_viscii_lower_to_ucs): Deleted.
4784 (latin_viscii_upper_to_ucs): Deleted.
4785 (mark_charset): Mark `cs->decoding_table'.
4786 (Fcharset_mapping_table): Fix DOC-string.
4787 (Fset_charset_mapping_table): New function.
4788 (syms_of_mule_charset): Add nwe function
4789 `set-charset-mapping-table'.
4790 (complex_vars_of_mule_charset): Don't setup and use
4793 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4795 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4798 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4800 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4801 (Vcharset_katakana_jisx0208): New variable.
4802 (Qhiragana_jisx0208): New variable.
4803 (Qkatakana_jisx0208): New variable.
4804 (make_charset): Add new argument `byte_offset'.
4805 (charset_get_byte1): Modify for new coded-charset definition; use
4806 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4807 `XCHARSET_BYTE_OFFSET'.
4808 (Fmake_charset): Modify for `make_charset'.
4809 (Fmake_reverse_direction_charset): Likewise.
4810 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4811 `katakana-jisx0208'.
4812 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4813 `.' in font registry of charset `katakana-jisx0201',
4814 `latin-jisx0201', `vietnamese-viscii-lower' and
4815 `vietnamese-viscii-upper'; modify DOC-string of charset
4816 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4817 registry of charset `japanese-jisx0208' not to use font for JIS
4818 X0208:1990; add new charset `hiragana-jisx0208' and
4819 `katakana-jisx0208'.
4821 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4822 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4823 (struct Lisp_Charset): Add `byte_offset'.
4824 (CHARSET_BYTE_OFFSET): New macro.
4825 (XCHARSET_UCS_MIN): New macro.
4826 (XCHARSET_UCS_MAX): New macro.
4827 (XCHARSET_CODE_OFFSET): New macro.
4828 (XCHARSET_BYTE_OFFSET): New macro.
4829 (MIN_CHAR_HIRAGANA): New macro.
4830 (MAX_CHAR_HIRAGANA): New macro.
4831 (MIN_CHAR_KATAKANA): New macro.
4832 (MAX_CHAR_KATAKANA): New macro.
4833 (MAKE_CHAR): Modify for new coded-charset definition; use
4834 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4835 `XCHARSET_BYTE_OFFSET'.
4837 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4839 * mule-charset.c (CHAR96): Deleted.
4840 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4842 (latin_iso8859_2_to_ucs): Likewise.
4843 (latin_iso8859_3_to_ucs): Likewise.
4844 (latin_iso8859_4_to_ucs): Likewise.
4845 (latin_iso8859_9_to_ucs): Likewise.
4846 (latin_viscii_lower_to_ucs): Likewise.
4847 (latin_viscii_upper_to_ucs): Likewise.
4848 (latin_tcvn5712_to_ucs): Commented out.
4849 (make_charset): Change type of argument `decoding_table' from
4850 <Emchar*> to <Lisp_Object> [vector of characters].
4851 (Fmake_charset): Modify for `make_charset'.
4852 (Fmake_reverse_direction_charset): Likewise.
4853 (Fcharset_mapping_table): New function in UTF-2000.
4854 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4856 (complex_vars_of_mule_charset): Modify for type change of
4857 `*_to_ucs'; modify for `make_charset'.
4859 * char-ucs.h (struct Lisp_Charset): Change type of
4860 `decoding_table' from <Emchar*> to <Lisp_Object>.
4861 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4863 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4865 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4866 error with non-UTF-2000-Mule.
4868 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4870 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4872 (Vcharset_chinese_cns11643_4): Likewise.
4873 (Vcharset_chinese_cns11643_5): Likewise.
4874 (Vcharset_chinese_cns11643_6): Likewise.
4875 (Vcharset_chinese_cns11643_7): Likewise.
4876 (Qchinese_cns11643_3): Likewise.
4877 (Qchinese_cns11643_4): Likewise.
4878 (Qchinese_cns11643_5): Likewise.
4879 (Qchinese_cns11643_6): Likewise.
4880 (Qchinese_cns11643_7): Likewise.
4881 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4882 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4883 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4884 (complex_vars_of_mule_charset): Likewise.
4886 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4888 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4890 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4891 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4893 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4895 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4897 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4898 (breakup_char_1): Likewise.
4900 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4901 one of them includes the specified character.
4903 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4905 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4907 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4909 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4911 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4913 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4914 definition for non-UTF-2000 Mule.
4915 (latin_iso8859_3_to_ucs): Likewise.
4916 (latin_iso8859_4_to_ucs): Likewise.
4917 (latin_iso8859_9_to_ucs): Likewise.
4918 (latin_jisx0201_to_ucs): Likewise.
4919 (MIN_CHAR_THAI): Likewise.
4920 (MAX_CHAR_THAI): Likewise.
4921 (MIN_CHAR_GREEK): Likewise.
4922 (MAX_CHAR_GREEK): Likewise.
4923 (MIN_CHAR_HEBREW): Likewise.
4924 (MAX_CHAR_HEBREW): Likewise.
4925 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4926 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4927 (MIN_CHAR_CYRILLIC): Likewise.
4928 (MAX_CHAR_CYRILLIC): Likewise.
4930 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4932 * char-ucs.h (breakup_char_1): Use
4933 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4934 thai-tis620 and katakana-jisx0201 area.
4936 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4938 * char-ucs.h (breakup_char_1): Use
4939 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4942 * text-coding.c (reset_encoding_stream): Fixed.
4943 (char_encode_ucs4): Delete `& 255'.
4945 * char-ucs.h (breakup_char_1): Use
4946 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4948 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4950 * file-coding.c (Fmake_coding_system): Don't set up
4951 `codesys->fixed.size'.
4952 (encode_coding_no_conversion): Don't refer
4953 `str->codesys->fixed.size'.
4955 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4957 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4958 (latin_a_char_to_byte1): Deleted.
4959 (latin_a_char_to_byte2): Deleted.
4961 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4963 * mule-charset.c (make_charset): Add new argument `ucs_min',
4964 `ucs_max' and `code_offset'.
4965 (charset_get_byte1): New implementation [delete specific charset
4966 depended implementations].
4967 (Fmake_charset): Modify for `make_charset'.
4968 (Fmake_reverse_direction_charset): Likewise.
4969 (complex_vars_of_mule_charset): Likewise.
4971 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4973 (CHARSET_UCS_MIN): New macro.
4974 (CHARSET_UCS_MAX): New macro.
4975 (CHARSET_CODE_OFFSET): New macro.
4976 (MAKE_CHAR): Delete charset depended definitions [except
4979 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4981 * char-ucs.h (breakup_char_1): Use
4982 `Vdefault_coded_charset_priority_list' for C0-Controls,
4983 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4985 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4987 * char-ucs.h (charset_get_byte1): New function.
4988 (XCHARSET_GET_BYTE1): Deleted.
4989 (charset_get_byte2): New function.
4990 (XCHARSET_GET_BYTE2): Deleted.
4991 (Vdefault_coded_charset_priority_list): New external variable.
4992 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4993 `Vdefault_preferred_coded_charset_list'.
4995 * mule-charset.c (charset_get_byte1): New function.
4996 (charset_get_byte2): New function.
4997 (Vdefault_coded_charset_priority_list): New variable.
4998 (vars_of_mule_charset): Add new variable
4999 `default-coded-charset-priority-list'.
5001 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5003 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5004 (XCHARSET_GET_BYTE2): New inline function.
5005 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5006 `XCHARSET_GET_BYTE2'.
5008 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5010 * mule-charset.c (make_charset): Initialize
5011 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5012 NULL if table is not defined.
5014 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5016 * text-coding.c (char_encode_shift_jis): Use
5017 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5018 `ucs_to_latin_jisx0201'.
5020 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5021 (ucs_to_latin_iso8859_2): Deleted.
5022 (ucs_to_latin_iso8859_3): Deleted.
5023 (ucs_to_latin_iso8859_4): Deleted.
5024 (ucs_to_latin_iso8859_9): Deleted.
5025 (ucs_to_latin_viscii_lower): Deleted.
5026 (ucs_to_latin_viscii_upper): Deleted.
5027 (ucs_to_latin_tcvn5712): Deleted.
5028 (make_charset): Add new argument `decoding_table'; set up
5029 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5030 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5031 `decoding_table' is defined in UTF-2000.
5032 (Fmake_charset): Modify for `make_charset'.
5033 (Fmake_reverse_direction_charset): Likewise.
5034 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5035 and `GENERATE_96_SET'.
5037 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5038 (ucs_to_latin_jisx0201): Deleted.
5039 (latin_iso8859_2_to_ucs): Deleted.
5040 (ucs_to_latin_iso8859_2): Deleted.
5041 (latin_iso8859_3_to_ucs): Deleted.
5042 (ucs_to_latin_iso8859_3): Deleted.
5043 (latin_iso8859_4_to_ucs): Deleted.
5044 (ucs_to_latin_iso8859_4): Deleted.
5045 (latin_iso8859_9_to_ucs): Deleted.
5046 (ucs_to_latin_iso8859_9): Deleted.
5047 (latin_viscii_lower_to_ucs): Deleted.
5048 (ucs_to_latin_viscii_lower): Deleted.
5049 (latin_viscii_upper_to_ucs): Deleted.
5050 (ucs_to_latin_viscii_upper): Deleted.
5051 (struct Lisp_Charset): Renamed `encoding_table' to
5052 `to_byte1_table'; add `to_byte2_table'.
5053 (CHARSET_DECODING_TABLE): New macro.
5054 (CHARSET_TO_BYTE1_TABLE): New macro.
5055 (CHARSET_TO_BYTE2_TABLE): New macro.
5056 (XCHARSET_DECODING_TABLE): New macro.
5057 (XCHARSET_TO_BYTE1_TABLE): New macro.
5058 (XCHARSET_TO_BYTE2_TABLE): New macro.
5059 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5061 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5062 don't use `ucs_to_*' tables.
5064 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5066 * text-coding.c (Fmake_coding_system): Don't set up
5067 `codesys->fixed.size'.
5068 (encode_coding_no_conversion): Use `if' instead of `switch'.
5070 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5072 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5074 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5075 (Fmake_charset): Modify for `make_charset'.
5076 (Fmake_reverse_direction_charset): Likewise.
5077 (complex_vars_of_mule_charset): Likewise.
5079 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5081 * text-coding.c (char_encode_shift_jis): Use table
5082 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5084 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5086 * text-coding.c (text_encode_generic): Use `if' instead of
5088 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5091 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5093 * text-coding.c (encode_coding_sjis): Deleted.
5094 (char_encode_shift_jis): New function.
5095 (char_finish_shift_jis): New function.
5096 (reset_encoding_stream): Set up `encode_char' and `finish' for
5097 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5098 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5099 (char_encode_utf8): Treat `eol_type'.
5101 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5103 * file-coding.c (decode_coding_iso2022): Use
5104 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5106 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5108 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5111 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5113 * char-lb.h (CHAR_COLUMNS): New macro.
5115 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5117 * text-coding.c (char_encode_ucs4): New function.
5118 (char_finish_ucs4): New function.
5119 (encode_coding_ucs4): Deleted.
5120 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5121 (text_encode_generic): Delete local variable `charset' and `half'.
5122 (ucs_to_mule_table): Deleted.
5123 (mule_to_ucs_table): Deleted.
5124 (Fset_ucs_char): Deleted.
5125 (ucs_to_char): Deleted.
5126 (Fucs_char): Deleted.
5127 (Fset_char_ucs): Deleted.
5128 (Fchar_ucs): Deleted.
5129 (decode_ucs4): Deleted.
5130 (mule_char_to_ucs4): Deleted.
5131 (encode_ucs4): Deleted.
5132 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5133 (decode_coding_utf8): Likewise.
5134 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5135 (char_encode_iso2022): Fixed.
5136 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5137 `Fset_char_ucs' and `Fchar_ucs'.
5138 (complex_vars_of_file_coding): Don't initialize
5139 `ucs_to_mule_table'.
5141 * objects-tty.c (tty_initialize_font_instance): Don't use
5144 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5147 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5148 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5150 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5151 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5152 (emchar_string_displayed_columns): Likewise.
5154 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5155 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5156 (string_column_at_point): Likewise.
5157 (Fmove_to_column): Likewise.
5159 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5160 `encoding_table' and `decoding_table'.
5161 (CHARSET_REP_BYTES): Deleted.
5162 (XCHARSET_REP_BYTES): Deleted.
5163 (XCHARSET_COLUMNS): Deleted.
5164 (CHAR_COLUMNS): New macro.
5165 (lookup_composite_char): Deleted unconditionally.
5166 (composite_char_string): Likewise.
5168 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5170 * char-ucs.h (Emchar_to_byte_table): New type.
5171 (get_byte_from_character_table): New function interface.
5172 (Vcharset_latin_jisx0201): New variable.
5173 (latin_jisx0201_to_ucs): New variable.
5174 (ucs_to_latin_jisx0201): New variable.
5175 (Vcharset_latin_iso8859_2): New variable.
5176 (latin_iso8859_2_to_ucs): New variable.
5177 (ucs_to_latin_iso8859_2): New variable.
5178 (Vcharset_latin_iso8859_3): New variable.
5179 (latin_iso8859_3_to_ucs): New variable.
5180 (ucs_to_latin_iso8859_3): New variable.
5181 (Vcharset_latin_iso8859_4): New variable.
5182 (latin_iso8859_4_to_ucs): New variable.
5183 (ucs_to_latin_iso8859_4): New variable.
5184 (Vcharset_latin_iso8859_9): New variable.
5185 (latin_iso8859_9_to_ucs): New variable.
5186 (ucs_to_latin_iso8859_9): New variable.
5187 (Vcharset_latin_viscii_lower): New variable.
5188 (latin_viscii_lower_to_ucs): New variable.
5189 (ucs_to_latin_viscii_lower): New variable.
5190 (Vcharset_latin_viscii_upper): New variable.
5191 (latin_viscii_upper_to_ucs): New variable.
5192 (ucs_to_latin_viscii_upper): New variable.
5193 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5194 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5195 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5196 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5197 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5198 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5199 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5200 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5201 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5202 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5204 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5205 (Vcharset_latin_viscii_upper): New variable.
5206 (make_byte_from_character_table): New function.
5207 (put_byte_from_character_table): New function.
5208 (get_byte_from_character_table): New function.
5209 (CHAR96): New macro.
5210 (ucs_to_latin_jisx0201): New variable.
5211 (latin_jisx0201_to_ucs): New variable.
5212 (ucs_to_latin_iso8859_2): New variable.
5213 (latin_iso8859_2_to_ucs): New variable.
5214 (ucs_to_latin_iso8859_3): New variable.
5215 (latin_iso8859_3_to_ucs): New variable.
5216 (ucs_to_latin_iso8859_4): New variable.
5217 (latin_iso8859_4_to_ucs): New variable.
5218 (ucs_to_latin_iso8859_9): New variable.
5219 (latin_iso8859_9_to_ucs): New variable.
5220 (ucs_to_latin_viscii_lower): New variable.
5221 (latin_viscii_lower_to_ucs): New variable.
5222 (ucs_to_latin_viscii_upper): New variable.
5223 (latin_viscii_upper_to_ucs): New variable.
5224 (ucs_to_latin_tcvn5712): New variable.
5225 (latin_tcvn5712_to_ucs): New variable.
5226 (Qlatin_viscii_lower): New variable.
5227 (Qlatin_viscii_upper): New variable.
5228 (syms_of_mule_charset): Set up new symbol
5229 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5230 (complex_vars_of_mule_charset): Set up new charset
5231 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5232 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5233 `ucs_to_<CHARSET>' tables.
5235 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5237 * text-coding.c: New file.
5239 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5241 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5243 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5244 (MAKE_CHAR): Modify for `ucs-bmp'.
5245 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5246 non-MULE characters of BMP.
5248 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5250 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5253 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5256 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5257 - Include character.h for `CHAR_ASCII_P'.
5259 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5261 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5262 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5264 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5265 (BYTE_C0_P): Likewise.
5266 (BYTE_C1_P): Likewise.
5267 (Lstream_get_emchar_1): Likewise.
5268 (Lstream_fput_emchar): Likewise.
5269 (Lstream_funget_emchar): Likewise.
5270 (copy_internal_to_external): Likewise.
5271 (copy_external_to_internal): Likewise.
5273 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5274 (BYTE_C0_P): Likewise.
5275 (BYTE_C1_P): Likewise.
5276 (Lstream_get_emchar_1): Likewise.
5277 (Lstream_fput_emchar): Likewise.
5278 (Lstream_funget_emchar): Likewise.
5279 (copy_internal_to_external): Likewise.
5280 (copy_external_to_internal): Likewise.
5282 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5283 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5285 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5286 (BYTE_ASCII_P): Moved to mb-1byte.h.
5288 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5290 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5292 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5293 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5294 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5295 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5296 (VALIDATE_CHARPTR_FORWARD): Likewise.
5297 (simple_charptr_emchar): Moved to mb-multibyte.h.
5298 (simple_set_charptr_emchar): Likewise.
5299 (simple_charptr_copy_char): Likewise.
5300 (non_ascii_charptr_emchar): Likewise.
5301 (non_ascii_set_charptr_emchar): Likewise.
5302 (non_ascii_charptr_copy_char): Likewise.
5303 (charptr_emchar): Moved to mb-*byte.h.
5304 (set_charptr_emchar): Likewise.
5305 (charptr_copy_char): Likewise.
5307 * mb-1byte.h, mb-multibyte.h: New files.
5309 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5311 * mb-utf-8.h (MULTIBYTE): New macro.
5312 (MAX_EMCHAR_LEN): Moved from buffer.h.
5313 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5315 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5317 * mb-lb.h, multibyte.h: New files.
5319 * char-1byte.h (Charset_ID): Moved from buffer.h.
5320 (MIN_LEADING_BYTE): Likewise.
5321 (LEADING_BYTE_ASCII): Likewise.
5322 (NUM_LEADING_BYTES): Likewise.
5323 (CHARSETP): Likewise.
5324 (CHARSET_BY_LEADING_BYTE): Likewise.
5325 (XCHARSET_LEADING_BYTE): Likewise.
5326 (XCHARSET_GRAPHIC): Likewise.
5327 (XCHARSET_COLUMNS): Likewise.
5328 (XCHARSET_DIMENSION): Likewise.
5329 (CHAR_CHARSET): Likewise.
5330 (CHAR_LEADING_BYTE): Likewise.
5331 (BREAKUP_CHAR): Likewise.
5332 (Vcharset_ascii): Likewise.
5334 * buffer.h: Include multibyte.h unconditionally.
5335 (VALID_CHARPTR_P): Moved to multibyte.h.
5336 (ASSERT_VALID_CHARPTR): Likewise.
5337 (REAL_INC_CHARPTR): Likewise.
5338 (REAL_INC_CHARBYTIND): Likewise.
5339 (REAL_DEC_CHARPTR): Likewise.
5340 (INC_CHARPTR): Likewise.
5341 (INC_CHARBYTIND): Likewise.
5342 (DEC_CHARPTR): Likewise.
5343 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5344 (VALIDATE_CHARPTR_FORWARD): Likewise.
5345 (charptr_n_addr): Likewise.
5346 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5347 (simple_charptr_emchar): Moved to multibyte.h.
5348 (simple_set_charptr_emchar): Likewise.
5349 (simple_charptr_copy_char): Likewise.
5350 (non_ascii_charptr_emchar): Likewise.
5351 (non_ascii_set_charptr_emchar): Likewise.
5352 (non_ascii_charptr_copy_char): Likewise.
5353 (charptr_emchar): Likewise.
5354 (set_charptr_emchar): Likewise.
5355 (charptr_copy_char): Likewise.
5356 (charptr_emchar_n): Likewise.
5357 (Charset_ID): Moved to char-1byte.h.
5358 (Vcharset_ascii): Likewise.
5359 (CHAR_CHARSET): Likewise.
5360 (CHAR_LEADING_BYTE): Likewise.
5361 (LEADING_BYTE_ASCII): Likewise.
5362 (NUM_LEADING_BYTES): Likewise.
5363 (MIN_LEADING_BYTE): Likewise.
5364 (CHARSETP): Likewise.
5365 (CHARSET_BY_LEADING_BYTE): Likewise.
5366 (XCHARSET_LEADING_BYTE): Likewise.
5367 (XCHARSET_GRAPHIC): Likewise.
5368 (XCHARSET_COLUMNS): Likewise.
5369 (XCHARSET_DIMENSION): Likewise.
5370 (BREAKUP_CHAR): Likewise.
5372 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5374 * character.h: Add document about interface for characters.
5376 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5377 (MAKE_CHAR): Delete comment about
5378 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5379 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5380 (BREAKUP_CHAR): Modify name of arguments.
5381 (CHAR_CHARSET): Modify name of argument.
5383 * buffer.h: Delete document about Emchar accessors.
5385 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5387 * character.h (CHAR_INTP): Moved from buffer.h
5388 (CHAR_OR_CHAR_INTP): Likewise.
5389 (XCHAR_OR_CHAR_INT): Likewise.
5390 (CHECK_CHAR_COERCE_INT): Likewise.
5392 * buffer.h (CHAR_INTP): Moved to character.h
5393 (CHAR_OR_CHAR_INTP): Likewise.
5394 (XCHAR_OR_CHAR_INT): Likewise.
5395 (CHECK_CHAR_COERCE_INT): Likewise.
5397 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5400 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5401 - Include char-1byte.h, char-lb.h or char-ucs.h.
5403 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5405 * buffer.h: Include character unconditionally.
5406 (valid_char_p): Moved to char-*.h.
5407 (non_ascii_valid_char_p): Moved to char-lb.h.
5409 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5411 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5413 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5414 in UTF-2000 because it is not ported yet and not to use
5415 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5416 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5417 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5419 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5420 (CHAR_ASCII_P): Moved from character.h.
5422 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5423 (CHAR_ASCII_P): Likewise.
5424 (CHAR_FIELD1_MASK): Deleted.
5425 (CHAR_FIELD2_MASK): Deleted.
5426 (CHAR_FIELD3_MASK): Deleted.
5427 (MAX_CHAR_BASIC_LATIN): New macro.
5428 (CHAR_FIELD1): Deleted.
5429 (CHAR_FIELD2_INTERNAL): Deleted.
5430 (CHAR_FIELD3_INTERNAL): Deleted.
5431 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5432 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5433 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5434 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5435 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5436 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5437 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5438 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5439 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5440 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5441 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5442 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5443 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5444 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5445 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5446 (MIN_CHAR_COMPOSITION): Deleted.
5447 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5448 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5450 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5452 * buffer.h: Include mb-utf-8.h in UTF-2000.
5454 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5456 * mb-utf-8.h: New file.
5458 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5460 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5463 * mule-charset.h, buffer.h (Charset_ID): New type.
5465 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5467 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5468 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5469 instead of `MULE_CHAR_PRIVATE_OFFSET',
5470 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5471 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5472 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5474 * character.h (Vcharset_japanese_jisx0212): New variable
5477 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5479 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5480 (charset_by_attributes): Delete array about direction.
5481 (latin_a_char_to_charset): New variable in UTF-2000.
5482 (latin_a_char_to_byte1): New variable in UTF-2000.
5483 (latin_a_char_to_byte2): New variable in UTF-2000.
5484 (Qucs_bmp): New variable.
5485 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5487 (next_allocated_2_byte_leading_byte): Likewise.
5488 (non_ascii_set_charptr_emchar): Likewise.
5489 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5490 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5491 `charset_by_attributes'.
5492 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5493 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5494 and `CHARSET_BY_LEADING_BYTE'.
5495 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5496 `utf-2000-version' to `vars_of_mule_charset'.
5497 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5498 define `leading-code-private-11' in UTF-2000; move setting of
5499 `utf-2000-version' from `syms_of_mule_charset'.
5500 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5503 * character.h (Charset_ID): New type.
5504 (LEADING_BYTE_UCS_BMP): New macro.
5505 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5506 (CHARSET_ID_OFFSET_94): New macro.
5507 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5508 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5509 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5511 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5512 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5513 (CHARSET_ID_OFFSET_96): New macro.
5514 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5515 CHARSET_ID_OFFSET_96 and final-byte.
5516 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5517 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5518 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5519 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5520 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5521 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5522 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5523 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5524 (LEADING_BYTE_THAI_TIS620): Likewise.
5525 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5526 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5527 (CHARSET_ID_OFFSET_94x94): New macro.
5528 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5529 CHARSET_ID_OFFSET_94x94 and final-byte.
5530 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5531 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5532 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5533 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5534 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5535 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5536 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5537 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5538 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5539 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5540 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5541 (CHARSET_TYPE_128X128): New macro.
5542 (CHARSET_TYPE_256X256): New macro.
5543 (XCHARSET_PRIVATE_P): Delete unconditionally.
5544 (charset_by_attributes): Delete array about direction.
5545 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5546 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5547 (MIN_CHAR_94): New macro.
5548 (MAX_CHAR_94): New macro.
5549 (MIN_CHAR_96): New macro.
5550 (MAX_CHAR_96): New macro.
5551 (MIN_CHAR_94x94): New macro.
5552 (MAX_CHAR_94x94): New macro.
5553 (MIN_CHAR_96x96): New macro.
5554 (MAX_CHAR_96x96): New macro.
5555 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5556 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5557 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5559 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5560 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5561 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5562 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5563 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5564 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5565 `XCHARSET_LEADING_BYTE' to make code-point.
5566 (latin_a_char_to_charset): New variable.
5567 (latin_a_char_to_byte1): New variable.
5568 (latin_a_char_to_byte2): New variable.
5569 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5570 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5571 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5573 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5574 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5575 (find_charsets_in_emchar_string): Likewise.
5576 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5578 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5580 (decode_coding_iso2022): Likewise.
5582 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5585 * redisplay.c (redisplay_text_width_emchar_string): Use
5586 `Charset_ID' instead of `unsigned char'.
5587 (redisplay_frame_text_width_string): Likewise.
5589 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5592 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5593 instead of `unsigned char'.
5594 (face_cachel_charset_font_metric_info): Likewise.
5596 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5597 (get_non_ascii_char_table_value): Likewise.
5598 (get_char_table): Likewise.
5599 (put_char_table): Likewise.
5600 (map_over_other_charset): Likewise.
5601 (map_char_table): Likewise.
5603 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5604 instead of `unsigned char'.
5606 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5608 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5609 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5611 * mule-charset.c (leading_code_private_11): Don't define in
5614 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5615 in UTF-2000 because it is not ported yet and not to use
5616 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5618 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5620 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5622 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5624 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5627 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5628 of unsigned char to store leading-byte.
5630 * chartab.c (get_non_ascii_char_table_value): Don't use
5631 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5633 * file-coding.c (encode_coding_big5): Delete bogus implementation
5636 * character.h (LEADING_BYTE_*): Delete definition for
5638 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5639 (LEADING_BYTE_PREFIX_P): Deleted.
5640 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5641 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5642 (BUFBYTE_LEADING_BYTE_P): Deleted.
5643 (CHARSET_PRIVATE_P): Deleted unconditionally.
5644 (rep_bytes_by_first_byte): Deleted unconditionally.
5645 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5646 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5647 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5648 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5649 (CHAR_FIELD2): Deleted.
5650 (CHAR_FIELD3): Deleted.
5651 (MAKE_CHAR): Delete definition for non-UTF-2000.
5652 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5653 (breakup_char_1): New implementation.
5654 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5655 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5657 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5659 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5662 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5664 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5665 (CHARSET_PRIVATE_P): Likewise.
5666 (XCHARSET_PRIVATE_P): Likewise.
5667 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5669 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5671 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5673 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5675 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5676 (NUM_LEADING_BYTES): Changed from 128 to 256.
5677 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5678 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5680 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5682 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5684 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5685 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5686 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5687 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5688 (Qchinese_cns11643_3): New variable in UTF2000.
5689 (Qchinese_cns11643_4): New variable in UTF2000.
5690 (Qchinese_cns11643_5): New variable in UTF2000.
5691 (Qchinese_cns11643_6): New variable in UTF2000.
5692 (Qchinese_cns11643_7): New variable in UTF2000.
5693 (syms_of_mule_charset): Define `chinese-cns11643-3',
5694 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5695 and `chinese-cns11643-7' in UTF2000.
5696 (vars_of_mule_charset): Initialize
5697 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5699 (complex_vars_of_mule_charset): Setup charset
5700 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5701 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5703 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5705 * mule-charset.c: Move setting for `leading-code-private-11' from
5706 `syms_of_mule_charset' to `vars_of_mule_charset'.
5708 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5710 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5711 and `NUM_LEADING_BYTES' in assert.
5713 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5715 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5717 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5718 `NUM_LEADING_BYTES' instead of 128.
5720 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5722 * mule-charset.h (charset_by_leading_byte): Use
5723 `NUM_LEADING_BYTES' instead of 128.
5724 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5726 * mule-charset.c (charset_by_leading_byte): Use
5727 `NUM_LEADING_BYTES' instead of 128.
5728 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5730 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5733 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5735 * mule-charset.c (syms_of_mule_charset): Update to
5738 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5740 * file-coding.c (encode_coding_sjis): New implementation for
5741 UTF2000. (decode_coding_sjis): Ditto.
5743 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5745 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5746 Don't define in UTF2000.
5748 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5751 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5752 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5755 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5757 * config.h.in (CHAR_IS_UCS4): New macro.
5759 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5760 conventional MULE representation.
5761 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5763 * mule-charset.h: Reverted to original.
5765 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5766 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5767 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5769 * character.h: New file.
5771 * file-coding.c (Fmake_coding_system): Set 1 to
5772 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5774 (encode_coding_no_conversion): New implementation for UTF2000.
5776 * file-coding.h (struct Lisp_Coding_System): Add new member
5779 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5781 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5782 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5783 (encode_coding_iso2022): New implementation for UTF2000.
5785 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5787 * mule-canna.c (c2mu): New implementation for UTF2000.
5790 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5792 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5794 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5796 * file-coding.c (reset_encoding_stream): Set 0 to
5797 `str->iso2022.current_char_boundary' in UTF2000.
5798 (encode_utf8): Don't define in UTF2000.
5799 (encode_coding_utf8): New implementation for UTF-8 representation
5801 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5803 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5805 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5807 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5809 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5811 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5813 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5814 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5815 as UTF-8 in UTF2000.
5816 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5817 (non_ascii_valid_char_p): Don't define in UTF2000.
5818 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5819 (Lstream_get_emchar_1): Likewise.
5820 (utf-2000-version): New variable in UTF2000.
5822 * lread.c (read_escape): Add new reader `u'.
5824 * insdel.c (three_to_one_table): Don't define in UTF2000.
5825 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5826 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5828 (bytind_to_bufpos_func): Likewise.
5829 (buffer_mule_signal_inserted_region): Likewise.
5830 (vars_of_insdel): Don't initialize `three_to_one_table'.
5831 (init_buffer_text): Use `buf->text->mule_size' instead of
5832 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5835 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5836 UTF-8 representation in UTF2000.
5837 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5838 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5839 (decode_coding_iso2022): Don't define local variable `lb' in
5840 UTF2000; don't use LEADING_BYTE in UTF2000; use
5841 `DECODE_ADD_UCS_CHAR' in UTF2000.
5842 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5844 * config.h.in (UTF2000): New macro.
5846 * buffer.h (struct buffer_text): Add new member `mule_size' and
5847 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5848 (valid_char_p): Return always 1 in UTF2000.
5849 (MAX_EMCHAR_LEN): 6 in UTF2000.
5850 (three_to_one_table): Don't define in UTF2000.
5851 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5853 (real_bytind_to_bufpos): Likewise.
5855 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5857 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5859 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5860 representation change.
5861 (Vutf_2000_version): New variable.
5862 (leading_code_private_11): New variable.
5863 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5864 `leading-code-private-11'.
5866 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5867 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5868 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5869 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5870 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5871 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5872 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5873 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5874 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5875 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5876 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5877 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5878 (MIN_CHAR_GREEK): New macro.
5879 (MAX_CHAR_GREEK): New macro.
5880 (MIN_CHAR_CYRILLIC): New macro.
5881 (MAX_CHAR_CYRILLIC): New macro.
5882 (MIN_CHAR_HEBREW): New macro.
5883 (MAX_CHAR_HEBREW): New macro.
5884 (MIN_CHAR_THAI): New macro.
5885 (MAX_CHAR_THAI): New macro.
5886 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5887 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5888 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5889 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5890 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5891 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5892 (CHAR_FIELD2): New inline function.
5893 (CHAR_FIELD3): New inline function.
5894 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5895 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5896 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5897 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5898 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5899 (MIN_CHAR_COMPOSITION): Likewise.
5900 (CHAR_LEADING_BYTE): Modified for character representation change.
5901 (MAKE_CHAR): Likewise.
5903 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5904 (Vcharset_greek_iso8859_7): Likewise.
5905 (Vcharset_cyrillic_iso8859_5): Likewise.
5906 (Vcharset_hebrew_iso8859_8): Likewise.
5907 (Vcharset_thai_tis620): Likewise.
5908 (Vcharset_katakana_jisx0201): Likewise.
5910 2007-10-07 Vin Shelton <acs@xemacs.org>
5912 * XEmacs 21.4.21 is released
5914 2007-08-14 Marcus Crestani <crestani@xemacs.org>
5916 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
5918 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
5920 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
5921 (png_instantiate): Initialize setjmp_buffer early, and avoid
5922 recursive entry to error handler.
5924 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
5926 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
5929 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
5931 * event-Xt.c (x_reset_modifier_mapping):
5932 * event-gtk.c (gtk_reset_modifier_mapping):
5933 Zero out the device's modifier map once we've freed it, to prevent
5934 a double free on a re-entrant call.
5936 2007-05-17 Vin Shelton <acs@xemacs.org>
5938 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
5939 64-bit linux. Patch from Hans de Graaff.
5941 2007-05-02 Vin Shelton <acs@xemacs.org>
5943 * dumper.c (pdump): Don't close pdump_fd (already closed by
5944 fclose() call. Patch from Steve Higham.
5945 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
5946 already closed. Patch inspired by Steve Higham.
5948 2007-05-01 Vin Shelton <acs@xemacs.org>
5950 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
5951 (mswindows_fstat): Ditto.
5952 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
5954 2007-02-08 Adrian Aichner <adrian@xemacs.org>
5956 * postgresql.c: Update Steve Baur's email address by his request.
5957 * postgresql.h: Ditto.
5959 2007-01-04 Vin Shelton <acs@xemacs.org>
5961 * fileio.c (check_writable): Check old-style readonly bit only for
5964 2006-12-25 Benson I. Margulies <benson@dchbk.us>
5966 * src/fileio.c (check_writable):
5967 Cope with the fact that the read-only attribute trumps Windows NTFS
5971 2006-12-09 Vin Shelton <acs@xemacs.org>
5973 * XEmacs 21.4.20 is released
5975 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
5977 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
5978 relocated the definitions to be used sooner in file.
5979 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
5980 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
5983 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
5985 * sound.c (init_native_sound):
5986 Only X11 and GTK devices can possibly not be on the console of the
5987 associated machine. Fixes a crash when init_native_sound is called
5988 on a msprinter device.
5990 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
5992 * buffer.c (buffer-file-name): Document invariant.
5993 (buffer-file-truename): Sync wording to buffer-file-name.
5994 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
5997 2006-11-19 Benson Margulies <benson@dchbk.us>
5999 * fileio.c: Add code to use full Win32 API to check for write
6000 access. Win32 has the general design policy that you aren't
6001 supposed to ask this question, since security checks change
6002 depending on asynchronous processes. Nonetheless, there is a way,
6003 by acting as if we are a server doing interpretive access
6006 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6008 * bytecode.c: Use xnew_array instead of alloca.
6010 2006-07-04 Vin Shelton <acs@xemacs.org>
6012 * redisplay-msw.c: Fix tiny, but crucial typo.
6014 2006-06-22 Jerry James <james@xemacs.org>
6016 * EmacsShell-sub.c (ChangeManaged):
6017 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6019 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6020 checking if it is NULL. Also fix a memory leak.
6021 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6022 dereference it, not the other way around.
6023 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6025 * dumper.c (pdump_register_struct): Ditto.
6026 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6027 to (short) warnpath overflow warnpath.
6028 * extents.c (detach_all_extents): Call extent_list_delete_all with
6029 a non-NULL parameter only.
6030 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6031 NULL width and height.
6032 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6033 xic before checking if they are NULL.
6034 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6036 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6037 * nas.c (Err): Fix a memory leak.
6038 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6039 Don't create the buffer if there is nothing to do.
6040 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6041 * redisplay-output.c (redisplay_output_layout): Ditto.
6042 * redisplay-tty.c (tty_output_display_block): Ditto.
6043 * redisplay-x.c (x_output_display_block): Ditto.
6044 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6045 dereference instance->scrollbar_data if it is NULL.
6046 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6047 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6048 for sb->scrollbar_data.
6049 * sound.c (init_native_sound): Avoid a buffer overflow by
6050 allocating a buffer with the appropriate size.
6052 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6054 * EmacsShell-sub.c (RootGeometryManager):
6055 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6056 Based on a suggestion by Francois L'Archeveque.
6058 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6060 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6061 current values found in GNU Emacs.
6063 2006-03-17 Vin Shelton <acs@xemacs.org>
6065 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6066 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6068 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6069 'hex_initialized' because it conflicts with 'initialized' in
6072 2006-01-28 Vin Shelton <acs@xemacs.org>
6074 * XEmacs 21.4.19 is released
6076 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6078 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6080 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6082 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6085 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6087 * database.c: Suppress compiler warning under Cygwin.
6088 * database.c: Removed __FreeBSD__ check, should be handled by
6089 HAVE_U_xxx_T defines.
6091 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6093 * console.c (stuff_buffered_input): Compile body only if
6096 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6098 * callproc.c: #include sysdir.h, so that any appropriate Mule
6099 magic happens with the chdir() call when calling a subprocess.
6101 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6103 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6104 * mule-ccl.c: Check that a character set exists before using it
6105 to create a character.
6107 2005-12-06 Vin Shelton <acs@xemacs.org>
6109 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6112 2005-12-03 Vin Shelton <acs@xemacs.org>
6114 * XEmacs 21.4.18 is released
6116 2005-11-27 Kean Johnston <kean@armory.com>
6118 * redisplay-tty.c (set_tty_modes):
6119 (reset_tty_modes): disable auto-margins if the terminal supports
6121 (init_tty_for_redisplay): fix cursor shape.
6123 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6125 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6126 for control-1 characters properly, both when reading multibyte
6127 characters and writing them.
6129 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6131 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6132 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6133 were seeing with incremental selection transfer failing.
6135 2005-11-26 Vin Shelton <acs@xemacs.org>
6137 * callproc.c (Fold_call_process_internal): Create the buffer if it
6138 does not already exist. The original patch came from Ben Wing in
6139 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6141 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6143 * callproc.c: Process-related docstring improvements spurred by
6146 2005-11-25 Vin Shelton <acs@xemacs.org>
6148 * depend: Regenerated.
6150 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6152 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6153 says it clashes with a global with the same name.
6155 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6157 * sysdll.c (dll_open): Under MacOS X return NULL under the
6158 filename is NULL. Fixes problems finding local symbols under 10.4
6161 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6163 * config.h.in: New HAVE_U_INT*_T defines.
6165 * database.c: Only use u_int*_t typedefs if not already
6168 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6170 * src/process-unix.c (unix_open_network_stream): moved
6171 'portbuf' buffer out of an inner block as it is used in the
6172 entire function. With gcc4, the stack may get corrupted
6173 after leaving this block. This patches adjusts the size of
6174 the used buffer also; static '128' bytes are far too much
6175 currently and might not suffice for future architectures
6176 (e.g. for 512 bit ones ;)). Instead of, use only the really
6177 required space (max octets * ln(256)/ln(10) chars + space
6178 for '\0' and the sign)
6180 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6182 * callproc.c: Include sysdir.h, so any necessary Mule processing
6183 is done on the current directory name before starting a new
6186 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6188 * chartab.c (Fchar_table_p):
6189 (Fget_range_char_table):
6192 Describe range representation and fix typo.
6194 2005-02-12 Vin Shelton <acs@xemacs.org>
6196 * emacs.c (shut_down_emacs): Advise users to send email to the
6197 xemacs-beta list instead of crashes@xemacs.org.
6199 2005-02-03 David Evers <extsw@appliedgenerics.com>
6201 * process-unix.c (unix_send_process): Flush the last chunk, even
6202 when the pipe is blocked.
6204 2005-02-06 Vin Shelton <acs@xemacs.org>
6206 * XEmacs 21.4.17 is released
6208 2005-01-31 Ben Wing <ben@xemacs.org>
6211 Define assert_failed() always.
6213 Always define ABORT().
6215 2005-01-25 Ben Wing <ben@xemacs.org>
6218 * Makefile.in.in (%.o):
6219 Don't compile executable as Windows (-mwindows) under Cygwin.
6220 Semi-recent changes to Cygwin's executable-startup handling make
6221 it impossible to access the TTY this way.
6223 Don't use special linker file under Cygwin (cygwin.sc) except
6224 when non-PDUMP (even in this case it is highly questionable); you
6227 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6228 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6230 2005-01-29 Ben Wing <ben@xemacs.org>
6232 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6234 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6236 2005-01-29 Ben Wing <ben@xemacs.org>
6238 * bytecode.c (optimize_compiled_function):
6240 * print.c (long_to_string):
6241 Add casts to avoid warning.
6244 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6245 #### The better solution is to move the TIFF and JPEG code to
6248 * glyphs-msw.c (mswindows_xbm_instantiate):
6249 Define __STDC__ to avoid problems with compface.h.
6251 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6253 * EmacsShell-sub.c (ABORT):
6254 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6255 * EmacsShell-sub.c (RootGeometryManager):
6257 * EmacsShell.c (ABORT):
6258 * EmacsShell.c (EmacsShellUpdateSizeHints):
6259 * alloc.c (free_lcrecord):
6260 * alloca.c (i00afunc):
6261 * buffer.c (delete_from_buffer_alist):
6262 * buffer.c (MARKED_SLOT):
6263 * bytecode.c (execute_rare_opcode):
6264 * bytecode.c (optimize_byte_code):
6265 * bytecode.c (Ffetch_bytecode):
6266 * chartab.c (char_table_type_to_symbol):
6267 * chartab.c (Freset_char_table):
6268 * chartab.c (decode_char_table_range):
6269 * chartab.c (Fget_range_char_table):
6270 * chartab.c (check_valid_char_table_value):
6271 * chartab.c (map_char_table):
6272 * chartab.c (slow_map_char_table_fun):
6273 * chartab.c (chartab_instantiate):
6274 * cm.c (cmcheckmagic):
6275 * console-msw.c (DHEADER):
6276 * console.c (MARKED_SLOT):
6277 * data.c (finish_marking_weak_lists):
6278 * data.c (encode_weak_list_type):
6279 * debug.h (DASSERT):
6280 * device-gtk.c (gtk_init_device):
6281 * device-msw.c (mswindows_get_default_margin):
6282 * device-tty.c (tty_init_device):
6283 * device-x.c (get_device_from_display):
6284 * device-x.c (x_get_visual_depth):
6285 * doprnt.c (parse_doprnt_spec):
6286 * doprnt.c (get_doprnt_args):
6287 * dumper.c (pdump_get_indirect_count):
6288 * dumper.c (pdump_register_sub):
6289 * dumper.c (pdump_register_object):
6290 * dumper.c (pdump_register_struct):
6291 * dumper.c (pdump_dump_data):
6292 * dumper.c (pdump_reloc_one):
6293 * elhash.c (print_hash_table):
6294 * elhash.c (make_standard_lisp_hash_table):
6295 * elhash.c (hash_table_instantiate):
6297 * emacs.c (Fforce_debugging_signal):
6298 * emacs.c (sort_args):
6300 * emacs.c (assert_failed):
6301 * eval.c (throw_or_bomb_out):
6302 * eval.c (signal_1):
6305 * event-Xt.c (emacs_Xt_mapping_action):
6306 * event-Xt.c (Xt_process_to_emacs_event):
6308 * event-stream.c (check_event_stream_ok):
6309 * event-stream.c (Fadd_timeout):
6310 * event-stream.c (Fadd_async_timeout):
6311 * event-stream.c (Fdiscard_input):
6312 * event-stream.c (execute_internal_event):
6313 * event-stream.c (Frecent_keys):
6314 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6315 * event-stream.c (lookup_command_event):
6316 * event-unixoid.c (poll_fds_for_input):
6318 * events.c (mark_event):
6319 * events.c (event_equal):
6320 * events.c (event_hash):
6321 * events.c (Fmake_event):
6322 * events.c (Fdeallocate_event):
6323 * events.c (event_chain_find_previous):
6324 * events.c (event_to_character):
6325 * events.c (format_event_object):
6326 * events.c (Fevent_type):
6327 * events.c (event_pixel_translation):
6328 * events.c (Fevent_properties):
6329 * extents.c (extent_in_region_p):
6330 * extents.c (print_extent):
6331 * extents.c (process_extents_for_insertion_mapper):
6332 * extents.c (report_extent_modification_mapper):
6333 * extents.c (glyph_layout_to_symbol):
6334 * faces.c (face_validate):
6335 * file-coding.c (eol_type_to_symbol):
6336 * file-coding.c (subsidiary_coding_system):
6337 * file-coding.c (Fcoding_system_type):
6338 * file-coding.c (Fcoding_system_property):
6339 * file-coding.c (mule_decode):
6340 * file-coding.c (mule_encode):
6341 * file-coding.c (encode_coding_ucs4):
6342 * file-coding.c (encode_coding_utf8):
6343 * file-coding.c (parse_iso2022_esc):
6344 * file-coding.c (encode_coding_iso2022):
6349 * fns.c (Fbase64_encode_region):
6350 * fns.c (Fbase64_encode_string):
6351 * fns.c (Fbase64_decode_region):
6352 * fns.c (Fbase64_decode_string):
6353 * font-lock.c (find_context):
6354 * font-lock.c (context_to_symbol):
6355 * frame-gtk.c (gtk_set_frame_pointer):
6356 * frame-gtk.c (gtk_update_frame_external_traits):
6357 * frame-x.c (x_wm_mark_shell_size_user_specified):
6358 * frame-x.c (x_wm_mark_shell_position_user_specified):
6359 * frame-x.c (x_wm_set_shell_iconic_p):
6360 * frame-x.c (x_wm_set_cell_size):
6361 * frame-x.c (x_wm_set_variable_size):
6362 * frame-x.c (x_wm_store_class_hints):
6363 * frame-x.c (x_wm_maybe_store_wm_command):
6364 * frame-x.c (x_initialize_frame_size):
6365 * frame-x.c (x_update_frame_external_traits):
6367 * frame.c (delete_frame_internal):
6368 * frame.c (mouse_pixel_position_1):
6369 * frame.c (change_frame_size_1):
6370 * free-hook.c (check_free):
6371 * free-hook.c (check_realloc):
6372 * free-hook.c (note_block_input):
6373 * free-hook.c (log_gcpro):
6374 * gccache-gtk.c (gc_cache_lookup):
6375 * glyphs-eimage.c (tiff_memory_write):
6376 * glyphs-gtk.c (gtk_finalize_image_instance):
6377 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6378 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6379 * glyphs-gtk.c (gtk_xpm_instantiate):
6380 * glyphs-gtk.c (gtk_unmap_subwindow):
6381 * glyphs-gtk.c (gtk_map_subwindow):
6382 * glyphs-gtk.c (gtk_button_redisplay):
6384 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6385 * glyphs-x.c (init_image_instance_from_xbm_inline):
6386 * glyphs-x.c (extract_xpm_color_names):
6387 * glyphs-x.c (x_xpm_instantiate):
6388 * glyphs.c (get_image_instantiator_governing_domain):
6389 * glyphs.c (print_image_instance):
6390 * glyphs.c (image_instance_equal):
6391 * glyphs.c (image_instance_hash):
6392 * glyphs.c (encode_image_instance_type):
6393 * glyphs.c (make_image_instance_1):
6394 * glyphs.c (inherit_instantiate):
6395 * glyphs.c (image_instantiate):
6396 * glyphs.c (allocate_glyph):
6397 * glyphs.c (Fglyph_type):
6398 * glyphs.c (redisplay_subwindow):
6399 * glyphs.c (display_table_entry):
6400 * gtk-glue.c (xemacs_list_to_gtklist):
6401 * gtk-glue.c (xemacs_gtklist_to_list):
6402 * gtk-glue.c (xemacs_list_to_array):
6403 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6404 * gutter.c (gutter_was_visible):
6405 * gutter.c (get_gutter_coords):
6406 * input-method-xlib.c (get_XIM_input):
6407 * insdel.c (bufpos_to_bytind_func):
6408 * insdel.c (bytind_to_bufpos_func):
6409 * insdel.c (move_gap):
6410 * intl.c (x_get_composed_input):
6411 * keymap.c (keymap_lookup_directly):
6412 * keymap.c (keymap_delete_inverse_internal):
6413 * keymap.c (ensure_meta_prefix_char_keymapp):
6414 * keymap.c (accessible_keymaps_mapper_1):
6415 * keymap.c (where_is_recursive_mapper):
6418 * lread.c (read_atom):
6419 * lstream.c (Lstream_delete):
6420 * lstream.c (make_lisp_buffer_stream_1):
6421 * macros.c (pop_kbd_macro_event):
6422 * malloc.c (malloc):
6424 * marker.c (bi_marker_position):
6425 * marker.c (set_bi_marker_position):
6426 * menubar-gtk.c (menu_descriptor_to_widget_1):
6427 * menubar-msw.c (prune_menubar):
6428 * menubar-x.c (set_frame_menubar):
6429 * mule-charset.c (get_unallocated_leading_byte):
6430 * mule-charset.h (CHAR_LEADING_BYTE):
6431 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6432 * nt.c (init_environment):
6433 * nt.c (generate_inode_val):
6434 * ntproc.c (delete_child):
6435 * ntproc.c (_sys_read_ahead):
6436 * ntproc.c (create_child):
6437 * objects.c (color_instantiate):
6438 * objects.c (font_instantiate):
6439 * objects.c (face_boolean_instantiate):
6440 * print.c (printing_major_badness):
6441 * process-nt.c (nt_send_process):
6442 * process-unix.c (unix_send_process):
6443 * process.c (get_process):
6444 * ralloc.c (obtain):
6445 * ralloc.c (relinquish):
6446 * ralloc.c (relocate_blocs):
6447 * ralloc.c (resize_bloc):
6448 * ralloc.c (r_alloc_free):
6449 * ralloc.c (r_re_alloc):
6450 * ralloc.c (r_alloc_thaw):
6451 * ralloc.c (init_ralloc):
6452 * ralloc.c (Free_Addr_Block):
6453 * ralloc.c (r_alloc):
6454 * redisplay-gtk.c (gtk_output_display_block):
6455 * redisplay-msw.c (mswindows_output_display_block):
6456 * redisplay-output.c (get_next_display_block):
6457 * redisplay-output.c (get_cursor_size_and_location):
6458 * redisplay-output.c (redisplay_output_layout):
6459 * redisplay-output.c (redisplay_clear_region):
6460 * redisplay-tty.c (tty_output_display_block):
6461 * redisplay-x.c (x_output_display_block):
6462 * redisplay.c (add_propagation_runes):
6463 * redisplay.c (add_glyph_rune):
6464 * redisplay.c (create_text_block):
6465 * redisplay.c (add_margin_runes):
6466 * redisplay.c (create_left_glyph_block):
6467 * redisplay.c (create_right_glyph_block):
6468 * redisplay.c (create_string_text_block):
6469 * redisplay.c (regenerate_window):
6470 * redisplay.c (REGEN_INC_FIND_START_END):
6471 * redisplay.c (redisplay_frame):
6472 * redisplay.c (point_in_line_start_cache):
6475 * regex.c (re_compile_fastmap):
6476 * regex.c (re_match_2_internal):
6477 * regex.c (regerror):
6478 * scrollbar-gtk.c (gtk_scrollbar_loop):
6479 * scrollbar-gtk.c (scrollbar_cb):
6480 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6481 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6482 * scrollbar-x.c (x_update_scrollbar_instance_status):
6483 * scrollbar-x.c (x_scrollbar_loop):
6484 * scrollbar-x.c (x_update_frame_scrollbars):
6485 * search.c (search_command):
6486 * search.c (Fmatch_data):
6487 * select-x.c (motif_clipboard_cb):
6488 * signal.c (interrupt_signal):
6489 * specifier.c (specifier_add_spec):
6490 * specifier.c (specifier_instance_from_inst_list):
6491 * specifier.c (specifier_instance):
6493 * specifier.h (struct specifier_methods):
6494 * strftime.c (add_num_time_t):
6495 * sunplay.c (init_device):
6496 * symbols.c (Fsetplist):
6497 * symbols.c (do_symval_forwarding):
6498 * symbols.c (store_symval_forwarding):
6500 * symbols.c (Fbuilt_in_variable_type):
6501 * symbols.c (decode_magic_handler_type):
6502 * symbols.c (handler_type_from_function_symbol):
6503 * syntax.c (update_syntax_cache):
6504 * sysdep.c (init_baud_rate):
6505 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6506 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6507 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6508 * toolbar.c (get_toolbar_coords):
6509 * ui-gtk.c (build_gtk_boxed):
6510 * ui-gtk.c (describe_gtk_arg):
6511 * ui-gtk.c (gtk_type_to_lisp):
6512 * ui-gtk.c (lisp_to_gtk_type):
6513 * ui-gtk.c (lisp_to_gtk_ret_type):
6514 * ui-gtk.c (lisp_to_flag):
6515 * unexnt.c (read_in_bss):
6516 * unexnt.c (map_in_heap):
6517 * window.c (real_window):
6518 * window.c (window_display_lines):
6519 * window.c (window_display_buffer):
6520 * window.c (set_window_display_buffer):
6521 * window.c (window_modeline_height):
6522 * window.c (unshow_buffer):
6523 * window.c (window_loop):
6524 * window.c (Fget_lru_window):
6525 * window.c (Fsplit_window):
6526 * window.c (Fset_window_configuration):
6527 * window.c (saved_window_index):
6528 * xgccache.c (gc_cache_lookup):
6529 abort() -> ABORT(). Eliminate preprocessor games with abort()
6530 since it creates huge problems in VC7, solvable only by including
6531 massive amounts of files in every compile (and not worth it).
6535 Inclusion of process.h does not need to be before lisp.h any more.
6536 Move later and remove comment about abort().
6538 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6540 * regex.c (re_match_2_internal):
6541 Correctly initialize loop which clears uninitialized registers.
6543 2005-01-28 Vin Shelton <acs@xemacs.org>
6545 * sheap.c (more_static_core): Applied Ben's version of the long
6548 2005-01-24 Vin Shelton <acs@xemacs.org>
6550 * sheap.c (more_static_core): Reformatted printf string so
6551 gcc-3.3.3 will compile this on Cygwin.
6553 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6555 * console.c (function_key_map): Reference `key-binding'.
6557 * keymap.c (Vkey_translation_map): Improve docstring.
6559 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6561 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6562 * window.c (window_loop): [fix] Take into account
6563 `allow-deletion-of-last-visible-frame' variable.
6564 * window.c (replace-buffer-in-windows): Ditto.
6566 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6568 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6570 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6572 * event-gtk.c: Recognise AltGr as a valid modifier.
6574 2005-01-12 Ville Skyttä <scop@xemacs.org>
6576 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6578 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6580 Fix backreference bug caught by test suite.
6582 * regex.c (regex_compile):
6583 Make backref duplicate internal register.
6585 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6587 Documentation, code clarification, and warning suppression.
6589 * regex.c (regex_compile):
6591 (re_match_2_internal):
6592 Improve comments and avoid redundant braces. [Most of the big hunk
6593 at l. 4710 is indentation; use diff -w to see the real changes.]
6594 (alt_match_null_string_p):
6595 (common_op_match_null_string_p):
6596 Avoid shadowing global on Mac OS X 10.4, at least.
6598 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6600 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6601 introduced with shy groups fix). [Already applied, probably
6602 with the second "fix shy groups" patch of 2004-10-07.]
6604 2005-01-10 Steve Youngs <steve@sxemacs.org>
6606 From Andrey Slusar <anrays@gmail.com>:
6608 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6610 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6612 * Makefile (RECURSIVE_MAKE): Removed.
6613 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6614 handling parallel builds.
6616 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6618 * Makefile.in.in: Enable support for parallel builds.
6620 2005-01-09 Steve Youngs <steve@sxemacs.org>
6622 From Andrey Slusar <anrays@gmail.com>:
6624 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6625 FreeBSD version is >= 199701 _and_ < 600006.
6627 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6629 * scrollbar.c (compute_scrollbar_instance_usage):
6630 Only call device method compute_scrollbar_instance_usage() if it
6633 2004-12-05 Vin Shelton <acs@xemacs.org>
6635 * XEmacs 21.4.16 is released
6637 2004-12-04 Vin Shelton <acs@xemacs.org>
6639 * depend: Regenerated.
6641 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6643 * regex.c (re_match_2_internal): Map internal to external
6644 registers. Fixes bug identified by Steve Youngs 2004-09-30
6645 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6647 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6649 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6650 to fix a crash. Also, check the buffer is live and it
6651 really exists in buffer_list. If the buffer is not in the list,
6654 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6656 Fix shy groups by implementing recording of all groups for
6657 repetition and backtracking. Backport from 21.5.
6659 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6660 external_to_internal_register, external_to_internal_register_size,
6661 and update comments for re_nsub.
6663 * regex.c (re_opcode_t): Update comments.
6664 (print_compiled_pattern): Ouput external_to_internal_register,
6665 external_to_internal_register_size, and re_ngroups for debugging.
6666 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6667 (regex_compile): Update header comment.
6668 Ensure that all groups are recorded so that repeat matches and
6669 backtracking work correctly. Comment related warning for groups >
6671 (re_search_2): Construct map of API indexes (which count only
6672 nonshy groups) to internal register numbers, and keep it updated.
6674 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6676 * frame-gtk.c (gtk_make_frame_visible):
6677 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6678 show/hide. This is what X uses and is prevents previously hidden
6679 widgets from suddenly reappearing.
6680 * gtk-xemacs.c (gtk_xemacs_paint):
6681 * gtk-xemacs.c (gtk_xemacs_draw):
6682 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6684 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6685 size and location changes so that they can be seen before the next
6686 idle event. Without this rapid changes to scrollbar properties
6689 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6692 * console-gtk.h (struct gtk_frame):
6693 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6694 Add hash tables track tab_control callback data.
6695 Added #defines for GTK object data names.
6696 Declaration of gtk_widget_to_frame().
6697 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6698 * frame-gtk.c (gtk_widget_to_frame): New.
6699 * frame-gtk.c (gtk_create_widgets):
6700 * frame-gtk.c (allocate_gtk_frame_struct):
6701 * frame-gtk.c (gtk_mark_frame):
6702 Manage frame callbakc hash tables.
6703 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6704 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6705 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6707 * glyphs-gtk.c (gtk_widget_query_geometry): New
6708 * glyphs-gtk.c (gtk_register_gui_item): New
6709 * glyphs-gtk.c (gtk_add_tab_item): New
6710 * glyphs-gtk.c (gtk_tab_control_callback): New
6711 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6712 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6713 Use correct list when loading item.
6714 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6715 Register new methods.
6716 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6717 default size, for widgets.
6718 * gui-x.c: Improved comment.
6719 * menubar-gtk.c (__generic_button_callback): Use
6720 gtk_widget_to_frame instead of __get_channel.
6722 * ui-gtk.c: Use symbolic names for GTK object data.
6724 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6726 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6728 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6730 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6732 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6734 * malloc.c (morecore): siz is a long because in some architectures
6735 (eg ia-64) an int cannot hold the address range. Additional patch
6736 from the SuSe distribution.
6738 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6741 * malloc.c: lim_data is a long because in some architectures
6742 (eg ia-64) an int cannot hold the address range.
6743 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6744 instead of ulimit() because ulimit() always returns -1.
6746 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6748 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6750 2004-06-11 David Kastrup <dak@gnu.org>
6752 * search.c (match_limit): Don't flag an error if match-data
6753 exceeding the allocated search_regs.num_regs gets requested, just
6756 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6758 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6759 replace symbolic color entries with the real colors specified in
6760 xpm-color-symbols, before passing the XPM to gtk.
6761 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6762 instead of a GTK specific field, so that it is used in by generic
6765 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6767 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6768 coredump from deref of NULL ptr (ExtData)
6770 2004-04-19 Jerry James <james@xemacs.org>
6772 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6773 VALBITS to compute the location of the sign bit.
6774 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6775 of VALBITS with EMACS_INT_MAX.
6776 * events.c (Fevent_timestamp): Ditto.
6777 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6778 compute the halfway point to timestamp wraparound.
6779 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6780 EMACS_INT_MIN instead of using VALBITS.
6781 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6782 incorrect number with VALBITS.
6783 * fns.c (Frandom): Correct number of integer bits in docstring.
6784 Use INT_VALBITS instead of VALBITS to compute the denominator.
6785 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6786 build random numbers.
6788 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6790 * event-gtk.c (gtk_event_to_emacs_event):
6792 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6793 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6794 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6795 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6796 * menubar-gtk.c (__activate_menu):
6797 * menubar-gtk.c (convert_underscores):
6798 * menubar-gtk.c (remove_underscores):
6799 * menubar-gtk.c (menu_convert):
6800 * menubar-gtk.c (menu_descriptor_to_widget_1):
6801 * menubar-gtk.c (menu_descriptor_to_widget):
6802 * menubar-gtk.c (menu_can_reuse_widget):
6803 * menubar-gtk.c (menu_create_menubar):
6804 * menubar-gtk.c (gtk_popup_menu):
6805 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6806 Added support for Gtk menu bar and menu item mnemonics.
6808 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6810 * sysdll.c: (dll_function): Added support for finding symbols in
6811 Darwin shared libraries as well in Darwin bundles.
6812 * sysdll.c (image_for_address): New
6813 * sysdll.c (my_find_image): New
6814 * sysdll.c (search_linked_libs): New
6816 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6818 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6819 return to GTK requires a different API to marshalling data to use
6821 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6823 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6825 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6827 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6829 * glyphs.c (process_image_string_instantiator):
6830 (Fset_console_type_image_conversion_list):
6831 Stop GCC from warning about shadowing of `exp'.
6833 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6835 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6837 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6839 2004-02-03 Vin Shelton <acs@xemacs.org>
6841 * glyphs.c (image_instance_layout): Remove pointless assertion.
6842 * regex.c (regex_grow_registers): Return type is void.
6844 2004-02-02 Vin Shelton <acs@xemacs.org>
6846 * XEmacs 21.4.15 is released
6848 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6850 * device-x.c (x_error_handler): Don't call stderr_out
6852 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6854 * buffer.c (other-buffer): Clarify documentation of order of
6855 arguments for FSF Emacs.
6857 2003-10-11 Olivier Galibert <galibert@pobox.com>
6859 * window.c (Fdelete_window): Dirty the mirror structure _before_
6860 marking the window deleted.
6862 2003-09-15 Jerry James <james@xemacs.org>
6864 * event-msw.c (debug_mswin_messages): Conditionally compile
6865 messages missing from the Cygwin headers.
6867 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6869 * data.c (eq_with_ebola_notice): Fix typo in comment.
6870 (Ftrue_list_p): Improve docstring.
6872 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6874 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6876 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6878 * search.c (trivial_regexp_p): Regexps containing "\{" are
6879 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6880 Stefan Monnier for suggesting a diagnosis.
6882 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6884 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6886 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6888 * search.c (Fsearch_forward):
6890 Document negative count.
6892 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6894 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6896 2003-09-13 Martin Buchholz <martin@xemacs.org>
6898 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6900 2003-09-15 Vin Shelton <acs@xemacs.org>
6902 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6905 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6907 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6908 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6909 (re_match_2_internal): Use TRANSLATE instead of
6910 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6911 non-ASCII char case conversion.
6913 2003-09-08 Mike Sperber <mike@xemacs.org>
6915 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6916 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6918 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6920 * .gdbinit (pobj): fix printing of symbol name.
6922 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6924 * frame-x.c (x_layout_widgets): When resizing is about to cause
6925 frame size slip, mark it for redisplay.
6927 2003-08-18 Jerry James <james@xemacs.org>
6929 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6931 2003-09-03 Vin Shelton <acs@xemacs.org>
6933 * XEmacs 21.4.14 is released
6935 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6937 * config.h.in (REGEX_MALLOC): Make it configure'able.
6939 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6941 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6943 * sysdll.c (dll_init):
6944 * sysdll.c (dll_open):
6945 * sysdll.c (dll_close):
6946 * sysdll.c (dll_function):
6947 * sysdll.c (dll_variable):
6948 * sysdll.c (dll_error):
6949 Add support for loading bundles using Darwin/MacOSX
6952 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6954 * process.c (start-process-internal): Document coding systems.
6956 2003-07-30 Jerry James <james@xemacs.org>
6958 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6960 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6962 * event-msw.c (mswindows_enqueue_mouse_button_event):
6963 * event-msw.c (mswindows_wnd_proc):
6964 enqueue button event when scrollwheel event isn't handled by
6965 mswindows_handle_mousewheel_event, such as when the scrollbars
6968 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6970 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6972 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6974 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6976 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6978 * regex.c (re_match_2_internal): Fix matching degenerate word
6981 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6983 * XEmacs 21.4.13 is released
6985 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6987 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6988 * lisp.h (<inttypes.h>):
6989 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6992 2003-03-15 Martin Buchholz <martin@xemacs.org>
6994 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6995 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6996 Result: "temacs can only be run in -batch mode."
6997 Fix: Check xemacs executable candidate for directory-ness.
6999 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7001 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7002 they conflict with <sys/types.h>.
7004 2003-02-14 Martin Buchholz <martin@xemacs.org>
7006 * database.c: Berkeley DB wants __STDC__ to be defined.
7008 2003-02-13 Martin Buchholz <martin@xemacs.org>
7010 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7012 2003-02-01 Martin Buchholz <martin@xemacs.org>
7014 * process-unix.c (unix_send_process): Fix C++ compile error.
7016 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7018 * Added .dylib as an acceptable shared library file extension
7019 * to support MacOSX.
7021 2003-02-01 Martin Buchholz <martin@xemacs.org>
7023 * EmacsFrameP.h (EmacsFramePart):
7024 Kludge to allow compiling with Motif1, but linking with Motif2.
7026 2003-01-28 Martin Buchholz <martin@xemacs.org>
7028 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7031 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7033 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7035 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7037 * sysdll.c: Included lisp.h to define needed alloca_array.
7039 2003-02-13 Martin Buchholz <martin@xemacs.org>
7041 Make XEmacs redisplay 10 times faster.
7042 If, that is, you're using a slow X connection and MoveOpaque.
7043 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7044 Use compress_motion = TRUE.
7045 * EmacsFrame.c (emacsFrameClassRec):
7046 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7047 * EmacsManager.c (emacsManagerClassRec):
7048 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7050 2003-01-30 Vin Shelton <acs@xemacs.org>
7052 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7054 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7056 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7057 Patch by Martin Buchholz.
7059 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7061 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7062 Thanks to icc for warning and Martin Buchholz for reporting.
7064 2003-01-29 Vin Shelton <acs@xemacs.org>
7066 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7068 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7069 remember to multiply by the element size.
7071 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7073 * XEmacs 21.4.12 "Portable Code" is released.
7075 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7077 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7078 * s/cygwin.sc: new linker file.
7080 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7082 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7084 * redisplay-x.c (x_output_string): Use X11-specified types.
7085 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7086 * emacs.c (__free_hook): Use typeof with Intel compiler.
7087 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7089 2003-01-08 Andy Piper <andy@xemacs.org>
7091 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7092 reserve size during unexec().
7094 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7096 * process-unix.c (unix_create_process): Don't let outchannel block.
7098 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7100 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7101 Needed for IsBadReadPtr().
7103 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7105 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7107 2002-12-14 Ben Wing <ben@xemacs.org>
7109 * callint.c: Declaration error.
7111 * dumper.c (pdump_load): Warning fix.
7112 * process.c: GCPRO error.
7113 * glyphs.c (unmap_subwindow):
7114 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7115 * event-stream.c (maybe_kbd_translate): Wrong argument to
7116 character_to_event().
7118 * alloc.c (garbage_collect_1):
7120 * emacs.c (debug_can_access_memory):
7121 * emacs.c (fatal_error_signal):
7122 * emacs.c (mswindows_handle_hardware_exceptions):
7125 * emacs.c (assert_failed):
7126 * emacs.c (syms_of_emacs):
7129 * print.c (std_handle_out_va):
7130 * print.c (write_string_to_stdio_stream):
7131 * print.c (write_fmt_string):
7132 * print.c (printing_badness):
7133 * print.c (printing_major_badness):
7134 * print.c (print_internal):
7135 * print.c (debug_print_no_newline):
7136 * print.c (debug_backtrace):
7137 Be more defensive in handling bad values when printing. Add code
7138 from trunk involving inhibit_non_essential_printing_operations.
7139 When going down or in debug_print(), don't do external conversion
7140 and such and try really, really hard when printing to avoid core
7141 dumping. Add force-debugging-signal, debug_break().
7143 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7145 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7146 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7148 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7150 * database.c: Fix open_database. Berkeley DB API has changed in
7151 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7153 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7155 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7157 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7159 * event-Xt.c (Xt_timeout):
7160 (Xt_timeout_callback):
7161 (emacs_Xt_add_timeout):
7162 (emacs_Xt_remove_timeout):
7163 (Xt_timeout_to_emacs_event):
7164 Turn completed_timeouts from a stack into a queue. Fixes
7165 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7167 2002-11-07 Wolfram Gloger <wg@malloc.de>
7169 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7170 * emacs.c (main): Assert that mmap'd allocation is disabled.
7172 2002-10-14 Andy Piper <andy@xemacs.org>
7174 * glyphs-widget.c (layout_query_geometry): add in fiddle
7175 factor. Include border text in width layout calculation.
7176 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7178 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7180 * XEmacs 21.4.10 "Military Intelligence" is released.
7182 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7184 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7185 using the NAS private array SoundFileInfo that no longer exists in
7186 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7187 and earlier. This is broken for some versions between 1.5a and
7190 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7192 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7194 * emacs.c (shut_down_emacs): Improve crash message.
7196 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7198 * file-coding.c (determine_real_coding_system): Check for coding
7199 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7200 shebangs and Python PEP 263.
7202 2002-10-08 Andy Piper <andy@xemacs.org>
7204 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7205 if static sizes haven't been set.
7207 2002-08-30 Mike Alexander <mta@arbortext.com>
7209 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7212 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7214 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7216 2002-09-20 Mike Sperber <mike@xemacs.org>
7218 (This partially gets back my patch from 2002-07-20 without the
7220 * callproc.c (child_setup): Remove Ben's comment noting confusion
7221 over the file descriptors >= 3: close_process_descs() doesn't
7222 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7223 * process-unix.c (unix_create_process): Call
7224 begin_dont_check_for_quit to inhibit unwanted interaction (and
7225 thus breaking of X event synchronicity) in the child.
7227 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7229 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7232 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7234 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7235 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7236 the xemacs process did not exit, but looped infinitely here. This
7239 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7241 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7242 (find_context): Improve comments.
7244 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7245 (re_match_2): An XCHAR_TABLE operation was missing.
7247 Many of the following changes were inspired by Andy Piper's (now
7248 obsolete) patch to make syntax-table text property lookup optional.
7252 * syntax.h (top level): Document semantics of syntax flags.
7253 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7254 * syntax.c, syntax.h (top level): Document syntax cache better in
7257 [Instrument syntax caching (temporary change)]
7259 * syntax.h (enum syntax_cache_statistics_functions, struct
7260 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7261 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7262 * syntax.c (scan_words, Fforward_comment, scan_lists,
7263 Fbackward_prefix_characters):
7264 * font-lock.c (find_context):
7265 Use them to instrument syntax caching.
7266 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7267 syntax_cache_statistics_function_names): New type and variables.
7268 * syntax.c (update_syntax_cache): Update and report statistics.
7270 [Major syntax cache optimizations]
7272 syntax.c (lookup_syntax_properties): Default off.
7274 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7275 * syntax.c (update_syntax_cache):
7276 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7278 [Minor syntax cache optimizations and code clarifications]
7280 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7281 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7282 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7283 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7284 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7285 (Code clarification.)
7287 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7288 scan_lists): Compute code from syncode, use Boolean macros instead
7289 of redundant masking operations. (Code clarification; any decent
7290 compiler can do this optimization.)
7292 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7295 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7296 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7297 use F*_single_property_change instead of F*_extent_change.
7298 Currently F*_single_property_change is _much_ less efficient.
7300 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7301 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7302 syntax_cache.object properly, don't leave Qt or Qnil.
7303 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7304 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7305 tests for Qt or Qnil.
7307 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7309 * redisplay.c (point_in_line_start_cache):
7310 * extents.c (print_extent_1):
7313 * extents.c (Fset_extent_property): Document `syntax-table' property.
7315 * extents.h (Fnext_single_property_change): EXFUN it.
7317 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7319 * search.c (clear_unused_search_regs): New static function.
7323 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7324 Minor clarifications in comments.
7326 * regex.c (re_match_2_internal): Ensure no stale submatches.
7328 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7330 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7332 2002-08-29 Jerry James <james@xemacs.org>
7334 * lisp.h: structrures -> structures.
7336 2002-06-03 Andy Piper <andy@xemacs.org>
7338 * frame.c (frame_conversion_internal): add conversion appropriate
7339 for setting frame dimensions in pixels.
7341 * console.h (struct console_methods): add device-specific widget
7344 * emacs.c (main_1): initialize glyph vars.
7346 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7347 (handle_focus_event_2): new function. Allow focus to
7348 be set to a particular window and widget.
7349 (enqueue_focus_event): new function. Create a
7350 synthetic focus event.
7351 (emacs_Xt_handle_magic_event): call
7352 handle_focus_event_2.
7354 * frame.c (Fset_frame_pixel_height): new function. Allow
7355 pixel-based sizing. Does the right thing on character-oriented
7357 (Fset_frame_pixel_width): ditto.
7358 (Fset_frame_pixel_size): ditto.
7359 (syms_of_frame): declare.
7361 * general-slots.h: add :vertically-justify and
7362 :horizontally-justify.
7364 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7365 (mswindows_widget_border_width): new function.
7366 (mswindows_combo_box_instantiate): set border widths.
7367 (console_type_create_glyphs_mswindows): declare.
7370 (check_valid_justification): allow vertical and horizontal
7372 (widget_border_width): new function. Call device methods.
7373 (widget_instance_border_width): ditto.
7374 (logical_unit_height): new function. Determine the height of a
7375 logical-unit. Logical units are intended to provide grid-like
7376 layout for subcontrols in a layout. If the layout is
7377 :vertically-justify top then subcontrols will be positioned on
7378 logical-unit boundaries, thus allowing adjacent subcontrols to
7380 (widget_logical_unit_height): ditto for widgets.
7381 (redisplay_widget): misc cleanup.
7382 (widget_spacing): new function. Call device specific
7383 methods. Intended to be the default gap between adjacent widgets.
7384 (widget_query_geometry): use new spacing functions to determine
7385 appropriate geometry.
7386 (initialize_widget_image_instance): initialize horizontal and
7387 vertical justification.
7388 (widget_instantiate): use logica-units where appropriate for
7389 sizing large widgets.
7390 (button_query_geometry): use widget_instance_border_width.
7391 (tree_view_query_geometry): ditto.
7392 (tab_control_query_geometry): ditto.
7393 (edit_field_query_geometry): new function.
7394 (layout_update): pick up :justify, :horizontally-justify and
7395 :vertically-justify none of which worked previously. :justify is
7396 used as a fallback for both horizontal and vertical justification.
7397 (layout_query_geometry): use logical units to size appropriately.
7398 (layout_layout): ditto.
7399 (Fwidget_logical_to_character_width): new function. Allow users to
7400 convert from logical units to characters so that frame sizes can
7401 be set appropriately.
7402 (Fwidget_logical_to_character_height): ditto.
7403 (syms_of_glyphs_widget): declare.
7404 (image_instantiator_edit_fields): add edit_field_query_geometry.
7405 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7406 :horizontally-justify.
7407 (specifier_vars_of_glyphs_widget): new function. Declare
7408 Vwidget_border_width which is not yet used.
7410 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7411 (x_widget_border_width): new function.
7412 (x_widget_instantiate): create a sensible name for widgets.
7413 (console_type_create_glyphs_x): declare x_widget_border_width.
7415 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7416 (struct Lisp_Image_Instance): add :vertically-justify and
7417 :horizontally-justify.
7418 (LAYOUT_JUSTIFY_TOP): new.
7419 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7420 (ROUND_UP): new macro. Round argument up to next integral
7423 * redisplay-output.c (redisplay_output_layout): misc formatting.
7425 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7427 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7429 * XEmacs 21.4.9 "Informed Management" is released.
7431 2002-08-19 Andy Piper <andy@xemacs.org>
7433 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7436 * realpath.c (xrealpath): normalize drive spec also so that dir
7437 sep chars are not mixed on cygwin.
7439 2002-08-06 Jerry James <james@xemacs.org>
7441 * window.c (Fsplit_window): Count only half of the divider width
7442 against the left window when splitting horizontally.
7444 2002-06-24 Andy Piper <andy@xemacs.org>
7446 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7447 toolbar was cleared.
7449 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7450 function. Split out from mswindows_output_frame_toolbars.
7451 (mswindows_output_frame_toolbars): move clear pieces to
7452 mswindows_output_frame_toolbars.
7454 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7455 out from gtk_output_frame_toolbars.
7456 (gtk_output_frame_toolbars): move clear pieces to
7457 gtk_clear_frame_toolbars.
7459 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7460 the frame is cleared. How this ever worked before is a mystery.
7461 (x_output_frame_toolbars): Only output toolbars.
7462 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7464 * gutter.c (update_gutter_geometry):
7465 Mark frame layout changed.
7466 (update_frame_gutter_geometry, update_frame_gutters):
7467 Respect frame_layout_changed.
7469 * console.h (struct console_methods): add
7470 clear_frame_toolbars_method.
7472 * redisplay.c (redisplay_frame): call
7473 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7475 * toolbar.h: declare update_frame_toolbars_geometry.
7477 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7478 out from update_frame_toolbars. Call clear_frame_toolbars.
7479 (update_frame_toolbars): only output, do not change geometry.
7481 * redisplay.c: add frame_layout_changed.
7483 * redisplay.h: add frame_layout_changed.
7484 (CLASS_RESET_CHANGED_FLAGS): set it.
7485 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7486 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7487 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7489 * device.h (struct device): add frame_layout_changed.
7490 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7492 * frame.h (struct frame): add frame_layout_changed.
7493 (MARK_FRAME_LAYOUT_CHANGED): new.
7495 2002-06-30 Mike Alexander <mta@arbortext.com>
7497 * event-msw.c (mswindows_need_event): Don't wait for a new message
7498 if the queue is not empty. Suggested by Paul Moore.
7500 2002-06-12 Andy Piper <andy@xemacs.org>
7502 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7503 for printing on accurately.
7505 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7507 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7508 WM_ACTIVATE message. Make sure that the frame is visible if the
7509 window is visible. This seemss to fix the problem where XEmacs
7510 appears to freeze after switching desktops with certain virtual
7512 (debug_output_mswin_message): Added code to output message
7513 parameters for WM_WINDOWPOSCHANGED,
7514 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7516 2002-05-25 Andy Piper <andy@xemacs.org>
7518 * select-x.c (vars_of_select_x): Fix docstring of
7519 x-selection-strict-motif-ownership
7521 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7523 * keymap.c (get_keymap):
7524 Add comment about do_autoload GCPROs own args.
7526 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7528 * bytecode.c (execute_optimized_program): check_opcode ifdef
7529 ERROR_CHECK_BYTE_CODE.
7531 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7533 Thanks to Ben Wing and Michael Sperber.
7535 * eval.c (Fcommand_execute):
7538 (Fmacroexpand_internal):
7539 (function_argcount):
7540 callint.c (Fcall_interactively):
7541 Add comment about do_autoload GCPROs own args.
7543 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7545 * eval.c (Ffuncall): Extra braces to placate GCC.
7547 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7549 * backtrace.h (grow_specpdl):
7551 * EmacsFrame.c (EmacsFrameSetValues):
7552 * eval.c (grow_specpdl):
7553 * ExternalShell.c (hack_event_masks_1):
7554 * glyphs-x.c (convert_EImage_to_XImage):
7555 (x_finalize_image_instance):
7556 * ralloc.c (page_size):
7558 * xgccache.c (gc_cache_hash):
7559 Fix unsigned comparison warnings.
7561 2002-07-29 Jerry James <james@xemacs.org>
7563 * lread.c (locate_file): Any nonnegative return value indicates
7564 success if MODE is nonnegative.
7566 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7568 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7571 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7573 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7575 * dumper.c (pdump_get_indirect_count):
7576 (pdump_scan_by_alignment):
7577 (pdump_dump_root_struct_ptrs):
7578 (pdump_dump_rtables):
7579 (pdump_dump_root_objects):
7581 * nas.c (WaveOpenDataForReading):
7582 * fns.c (print_bit_vector):
7583 * font-lock.c (SINGLE_SYNTAX_STYLE):
7584 * glyphs.c (check_for_ignored_expose):
7585 (find_matching_subwindow):
7587 * imgproc.c (get_histogram):
7588 * redisplay.c (point_in_line_start_cache):
7589 * redisplay-output.c (redisplay_unmap_subwindows):
7590 * symbols.c (defsymbol_massage_name_1):
7591 (defkeyword_massage_name):
7592 (deferror_massage_name_and_message):
7593 * redisplay-x.c (x_output_string):
7594 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7595 * frame.h (struct frame):
7596 * filelock.c (current_lock_owner):
7597 * doprnt.c (emacs_doprnt_1):
7598 * lisp.h (struct Lisp_Bit_Vector):
7602 2002-02-13 Ben Wing <ben@xemacs.org>
7604 * event-stream.c (reset_key_echo):
7605 * event-stream.c (reset_this_command_keys):
7606 * event-stream.c (execute_command_event):
7607 If console is dead as a result of C-x 5 0, then post-command stuff
7608 needs to be careful and do only non-console-specific stuff.
7610 2002-07-01 Mike Sperber <mike@xemacs.org>
7612 * process-unix.c (unix_send_process): Mark coding_outstream as
7613 non-open upon SIGPIPE.
7615 * event-stream.c (Fnext_event): Reorder switch cases to something
7618 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7620 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7621 Don't bogusly reinitialize ascii_character property.
7623 2002-07-08 Mike Sperber <mike@xemacs.org>
7625 * process.c (Fstart_process_internal): Do error checking before we
7626 fork off the child, so the child can't muck with the state of the
7629 2002-07-08 Mike Sperber <mike@xemacs.org>
7631 * ralloc.c (init_ralloc): Allocate properly for pdump.
7633 2002-06-12 Andy Piper <andy@xemacs.org>
7635 * glyphs.c (query_string_geometry): check the string.
7637 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7640 2002-06-17 Jerry James <james@xemacs.org>
7642 * sysdll.c: Remove RTLD_GLOBAL initialization.
7643 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7645 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7647 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7649 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7651 * sysdep.c (sys_rename): Make sys_rename work for the case where
7652 Windows rename sets errno to EACCES if target file exists.
7654 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7656 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7657 Fix detection of metric units to work on Win95
7659 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7661 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7663 2002-04-25 Andy Piper <andy@xemacs.org>
7665 * redisplay.c (create_text_block): Remove extra comment trailer.
7667 2002-04-24 Andy Piper <andy@xemacs.org>
7669 * redisplay.c (create_text_block): Don't actually add propagation
7670 data if the line ends after we have added a glyph.
7672 2002-04-22 Andy Piper <andy@xemacs.org>
7674 * extents.c (extent_fragment_update): check for glyphs we have
7675 previously displayed.
7676 * extents.c (print_extent_1): warning removal.
7677 * extents.h: change prototype.
7678 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7679 widths correctly for wide glyphs.
7680 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7681 * redisplay.c (prop_type): add PROP_GLYPH.
7682 * redisplay.c (struct prop_block): add glyph type
7683 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7684 to the propagation data.
7685 * redisplay.c (create_text_block): if there is a glyph in the
7686 propagation data use it to salt extent_fragment_update.
7687 * redisplay.c (create_string_text_block): ditto.
7689 2002-04-13 Nix <nix@esperi.demon.co.uk>
7691 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7692 * redisplay-output.c (compare_runes): Compare them.
7693 * redisplay.c: Update copyright date.
7694 * redisplay.c (pos_data): Add need_baseline_computation field.
7695 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7696 need_baseline_computation; zero yoffset. Set max_pixmap_height
7697 for all pixmaps, not just automatically positioned ones.
7698 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7699 * redisplay.c (calculate_baseline): New, compute textual baseline.
7700 * redisplay.c (add_glyph_rune): Call them.
7701 * redisplay.c (create_text_block): Likewise.
7702 * redisplay.c (create_overlay_glyph_block): Likewise.
7703 * redisplay.c (add_margin_runes): Likewise.
7704 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7706 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7707 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7708 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7709 * redisplay-msw.c (mswindows_output_string): Likewise.
7710 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7711 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7712 * redisplay-x.c (x_output_display_block): Likewise.
7714 2002-03-28 Ben Wing <ben@xemacs.org>
7716 * redisplay.c: Fixed bug in redisplay
7717 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7718 and down of the lines, since they're bigger than the line
7719 size. (It was seen most obviously when there's a horizontal scroll
7720 bar, e.g. do C-h a glyph or something like that.) The problem was
7721 that the glyph-contrib-p setting on glyphs was ignored even if it
7722 was set properly, which it wasn't until now.
7724 2002-04-24 Andy Piper <andy@xemacs.org>
7726 * lisp.h (Dynarr_end): Fix definition.
7728 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7730 * redisplay.c (mark_redisplay): Remove call to
7731 update_frame_window_mirror.
7733 2001-11-15 Andy Piper <andy@xemacs.org>
7735 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7738 2002-02-13 Andy Piper <andy@xemacs.org>
7740 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7741 we did in fact enqueue the XM_MAPFRAME event.
7743 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7745 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7746 to fix problem switching between virtual desktops under virtuawin
7747 virtual window manager.
7749 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7751 * event-msw.c: Typo fix.
7752 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7753 magic XM_MAPFRAME event has been sent.
7755 2001-11-23 Andy Piper <andy@xemacs.org>
7757 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7759 2001-11-21 Andy Piper <andy@xemacs.org>
7761 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7762 mouse events outside the frame.
7764 2002-03-20 Andy Piper <andy@xemacs.org>
7766 * menubar-msw.c (mswindows_popup_menu): warning removal.
7767 * dialog-msw.c (dialog_popped_down): ditto.
7769 2001-12-11 Andy Piper <andy@xemacs.org>
7771 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7772 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7774 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7775 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7776 * menubar-msw.c (mswindows_popup_menu): ditto.
7778 2001-10-29 Andy Piper <andy@xemacs.org>
7780 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7783 2002-01-03 Andy Piper <andy@xemacs.org>
7785 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7789 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7791 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7792 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7793 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7794 Detect and handle case where machine is set up for metric units
7796 2002-04-02 Andy Piper <andy@xemacs.org>
7798 * dired-msw.c (mswindows_get_files):
7799 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7800 completely handled by XEmacs. Suggested by Thomas Vogler
7801 <mail@thomas-vogler.de>.
7803 2001-11-14 Andy Piper <andy@xemacs.org>
7805 * nt.c (REG_ROOT): change registry key to XEmacs.
7807 2002-04-27 Andy Piper <andy@xemacs.org>
7809 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7811 2002-04-26 Andy Piper <andy@xemacs.org>
7813 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7816 2002-03-14 Mike Alexander <mta@arbortext.com>
7818 * event-msw.c (mswindows_unwait_process): New, remove process from
7820 * process-nt.c (nt_finalize_process_data): Call
7821 mswindows_unwait_process
7822 * console-msw.h: Declare mswindows_unwait_process
7824 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7826 * editfns.c (Fdecode_time):
7827 (Fformat_time_string):
7828 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7829 (make_time): Warning elimination (change arg name).
7831 2001-11-24 Andy Piper <andy@xemacs.org>
7833 * window.c (Fsplit_window): Doc return type.
7835 2002-04-01 Andy Piper <andy@xemacs.org>
7837 * emacs.c (Fkill_emacs): Only output message box in interactive
7840 2002-04-26 Andy Piper <andy@xemacs.org>
7842 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7845 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7847 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7850 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7852 * XEmacs 21.4.8 "Honest Recruiter" is released.
7854 2002-05-07 Nix <nix@esperi.demon.co.uk>
7856 Supersedes 2002-04-17 patch.
7858 * process.h (PROCESS_LIVE_P): Use the process status as
7859 evidence of health, not the state of the input stream.
7860 (PROCESS_READABLE_P): Say if the process is readable
7861 from. (It may be dead nonetheless.)
7862 (CHECK_READABLE_PROCESS): Test for that condition.
7864 * process.c (create_process): Use PROCESS_READABLE_P.
7865 (read_process_output, set_process_filter): Likewise.
7867 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7868 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7870 This code is #if 0'd, this is not the time to add new functions:
7872 * process.c (Fprocess_readable_p): Report readability status.
7873 * process.c (Qprocess_readable_p): New, associated symbol...
7874 * process.c (syms_of_process): ... initialize it.
7876 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7878 * XEmacs 21.4.7 "Economic Science" is released.
7880 2002-04-17 Nix <nix@esperi.demon.co.uk>
7882 * process.h (PROCESS_LIVE_P): Use the process status as
7883 evidence of health, not the state of the input stream.
7885 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7887 * sysdep.c (sys_siglist): change "signum" to "signal"
7889 2001-04-21 Martin Buchholz <martin@xemacs.org>
7891 * s/darwin.h: New file.
7892 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7894 2002-04-23 Andreas Jaeger <aj@suse.de>
7896 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7897 which use lib64 for 64-bit libs.
7898 (START_FILES): Likewise.
7900 2002-02-11 Mike Sperber <mike@xemacs.org>
7903 (x_IO_error_handler):
7904 (x_init_device): Temporarily keep device in static variable
7905 `device_being_initialized' so we can recover gracefully from
7906 internal XOpenDevice failure. (XOpenDevice is documented to
7907 return NULL on failure, but sometimes calls the IO error handler
7910 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7912 * dired.c (Ffile_name_all_completions): Change documentation --
7913 remove reference to completion-ignored-extensions.
7914 * dired.c (vars_of_dired): Change documentation for
7915 completion-ignored-extensions -- remove reference to
7916 file-name-all-completions.
7918 2002-03-06 Jerry James <james@xemacs.org>
7920 * emodules.c (emodules_load): Fix multiple loading of same module.
7922 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7923 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7924 RTLD_LAZY to avoid incorrect symbol binding when using nested
7925 shared libraries on Solaris.
7927 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7929 * fileio.c (Ffind_file_name_handler): Improve docstring.
7931 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7933 * fns.c (Fmapconcat): Improve docstring.
7935 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7937 * device-gtk.c: Add prototype for
7938 emacs_gtk_selection_clear_event_handle.
7939 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7940 selection. Setup signal handler for "selection_clear_event"
7941 (emacs_gtk_selection_clear_event_handle).
7943 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7944 other applications owning the clipboard (based on
7945 x_handle_selection_clear).
7947 2001-12-23 William M. Perry <wmperry@gnu.org>
7949 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7951 2002-01-04 Martin Buchholz <martin@xemacs.org>
7953 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7955 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7957 * XEmacs 21.4.6 "Common Lisp" is released.
7959 2001-12-16 Torsten Duwe <duwe@caldera.de>
7961 * search.c (Freplace_match): Add missing sub-expression functionality.
7963 * buffer.c (decode_buffer): Add a check for pointer type to
7964 decode_buffer, before gcc's CSE optimization reorders a
7965 dereference in front of the allow_string test.
7967 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7969 * window.c (window_loop): Fix bug that sometimes prevented
7970 window_loop() from iterating across multiple devices. Also, at
7971 Ben's request, changed infloop-detecting code to abort() instead
7972 of silently terminating window_loop().
7974 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7976 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7977 * editfns.c (make_time): New function.
7978 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7979 * lisp.h (make_time): Prototype and comment it.
7980 * dired.c (wasteful_word_to_lisp): Deprecate.
7981 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7983 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7985 * fileio.c (auto_save_1): Use current coding system, not
7988 2001-11-13 Ben Wing <ben@xemacs.org>
7991 * window.c (window_truncation_on):
7992 * window.c (syms_of_window):
7993 truncate-partial-width-windows should respect the buffer being
7994 displayed, like other redisplay vars.
7996 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7998 * event-stream.c (Fread_key_sequence): save current buffer.
8000 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8002 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8004 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8006 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8008 2001-10-26 Mike Alexander <mta@arbortext.com>
8010 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8012 2001-10-25 Andy Piper <andy@xemacs.org>
8015 * dialog-msw.c (handle_directory_proc): new function.
8016 (handle_directory_dialog_box): new fucntion.
8017 (handle_file_dialog_box): use new directory dialog support.
8018 (mswindows_make_dialog_box_internal): ditto.
8019 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8021 (mswindows_find_frame): make global.
8022 * fileio.c (Fexpand_file_name): build fix.
8023 * general-slots.h: add Qdirectory.
8024 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8026 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8027 cygwin not leaving win32 paths unchanged.
8028 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8029 cygwin runtime to do path conversion.
8030 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8031 (syms_of_win32): add new function.
8032 * window.c (window_loop): build fix.
8034 2001-10-15 Andy Piper <andy@xemacs.org>
8036 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8038 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8040 * XEmacs 21.4.5 "Civil Service" is released.
8042 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8044 * glyphs-x.c: Force buffer-tab highlight update when moving the
8045 buffer, avoiding an ugly black border, used for keyboard focus
8046 indication, on a widget that can never have keyboard focus, the
8049 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8051 * process-unix.c (unix_open_multicast_group): Remove too much
8052 conversion between host and network byte order.
8054 2001-09-10 Nix <nix@esperi.demon.co.uk>
8056 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8057 before replacing them.
8059 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8062 * src/window.c (undedicate_windows): Use it.
8063 * src/window.h: Add prototype.
8065 2001-09-17 Ben Wing <ben@xemacs.org>
8067 * fileio.c (normalize_filename):
8068 * fileio.c (Fexpand_file_name):
8069 Fix various C++ compile errors in Andy's recent code.
8071 * callint.c (Fcall_interactively):
8072 * editfns.c (Ftemp_directory):
8073 * editfns.c (Fuser_full_name):
8074 * emacs.c (argmatch):
8075 * lread.c (locate_file_map_suffixes):
8076 * redisplay-x.c (x_ring_bell):
8077 Fix sign-compare warnings.
8079 2001-09-08 Andy Piper <andy@xemacs.org>
8081 * fileio.c (normalize_filename): copied from nt.c
8082 * (Ffile_name_directory): enable win32 paths under cygwin.
8083 * (Ffile_name_nondirectory): ditto.
8084 * (directory_file_name): ditto.
8085 * (Fexpand_file_name): ditto.
8086 * (Ffile_truename): ditto.
8087 * (Fsubstitute_in_file_name): ditto.
8088 * (Ffile_name_absolute_p): ditto.
8089 * (Ffile_readable_p): ditto.
8091 2001-09-08 Andy Piper <andy@xemacs.org>
8093 * device-msw.c (mswindows_finish_init_device): remove dde
8095 * device-msw.c (mswindows_init_dde): factor out from
8096 mswindows_finish_init_device()
8097 * device-msw.c (init_mswindows_very_early): new function
8098 initialize but don't enable dde.
8099 * emacs.c (main_1): call init_mswindows_very_early.
8101 * event-msw.c (mswindows_dde_callback): only execute when we are
8103 * symsinit.h: declare init_mswindows_very_early.
8105 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8107 [sjt: This has been in 21.5 for months with no complaints.]
8109 * console.h (struct console_methods): Added flags member.
8110 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8111 (CONMETH_IMPL_FLAG):
8112 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8113 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8115 * device.c (window_system_pixelated_geometry): Use the above macros.
8117 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8118 implememntation flag.
8119 * device.h (DEVICE_DISPLAY_P): Use it.
8121 * frame.c (delete_frame_internal): Use the above macro.
8123 * redisplay.c (redisplay_device): Use it.
8124 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8125 (redisplay_frame): Ditto.
8127 * device-msw.c (mswindows_device_implementation_flags): Removed.
8128 (msprinter_device_implementation_flags): Removed.
8129 (console_type_create_device_mswindows): Removed references to
8130 implementation_flags methods, set implementation flags here.
8131 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8133 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8134 (console_type_create_device_gtk): Removed method declaration.
8135 Added commented out statement which semantically matches the
8136 commented out statement in the above removed method.
8138 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8140 The attached patch fixes a few warnings.
8142 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8143 * src/frame-gtk.c: guard against GNOME calls in GTK only
8144 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8145 * src/select-gtk.c: prototype lisp_to_time
8147 2001-06-08 Ben Wing <ben@xemacs.org>
8149 ------ gc-in-window-procedure fixes ------
8152 * alloc.c (struct post_gc_action):
8153 * alloc.c (register_post_gc_action):
8154 * alloc.c (run_post_gc_actions):
8155 * alloc.c (garbage_collect_1):
8156 Create "post-gc actions", to avoid those dreaded "GC during window
8157 procedure" problems.
8160 Abort, clean and simple, when GC in window procedure. We want
8161 to flush these puppies out.
8164 * glyphs-msw.c (finalize_destroy_window):
8165 * glyphs-msw.c (mswindows_finalize_image_instance):
8166 Use a post-gc action when destroying subwindows.
8169 Declare register_post_gc_action().
8172 * scrollbar-msw.c (unshow_that_mofo):
8173 Use a post-gc action when unshowing scrollbar windows, if in gc.
8175 * redisplay.c (mark_redisplay):
8176 Add comment about the utter evilness of what's going down here.
8178 ------ cygwin setitimer fixes ------
8180 * Makefile.in.in (sheap_objs):
8181 * Makefile.in.in (profile_objs):
8182 * Makefile.in.in (objs):
8183 Compile profile.c only when HAVE_SETITIMER.
8185 * nt.c (mswindows_sigset):
8186 * nt.c (mswindows_sighold):
8187 * nt.c (mswindows_sigrelse):
8188 * nt.c (mswindows_sigpause):
8189 * nt.c (mswindows_raise):
8190 * nt.c (close_file_data):
8194 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8197 * profile.c (Fstart_profiling):
8198 * profile.c (Fstop_profiling):
8199 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8200 instead of just plain setitimer().
8203 * signal.c (set_one_shot_timer):
8205 Define qxe_setitimer() as an encapsulation around setitimer() --
8206 call setitimer() directly unless Cygwin or MS Win, in which case
8207 we use our simulated version in win32.c.
8210 * systime.h (struct itimerval):
8211 * systime.h (ITIMER_REAL):
8212 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8213 comment about "qxe" and the policy regarding encapsulation.
8216 * win32.c (setitimer_helper_proc):
8217 * win32.c (setitimer_helper_period):
8218 * win32.c (setitimer_helper):
8219 * win32.c (mswindows_setitimer):
8220 Move setitimer() emulation here, so Cygwin can use it.
8221 Rename a couple of functions and variables to be longer and more
8222 descriptive. In setitimer_helper_proc(), send the signal
8223 using either mswindows_raise() or (on Cygwin) kill(). If for
8224 some reason we are still getting lockups, we'll change the kill()
8225 to directly invoke the signal handlers.
8227 ------ windows shell fixes ------
8231 Comments about how these two files must die.
8233 * callproc.c (init_callproc):
8234 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8235 not just COMSPEC. (more correct and closer to FSF.) Don't
8236 force a value for SHELL into the environment. (Comments added
8237 to explain why not.)
8239 * nt.c (init_user_info):
8240 Don't shove a fabricated SHELL into the environment. See above.
8242 2001-06-01 Ben Wing <ben@xemacs.org>
8244 * Makefile.in.in (ldflags):
8245 eliminate that pesky "defaulting to 00401000" warning.
8249 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8251 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8252 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8254 2001-04-24 Jerry James <james@xemacs.org>
8256 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8259 2001-06-01 Ben Wing <ben@xemacs.org>
8261 * event-msw.c (debug_mswin_messages):
8262 conditionalize the messages that were causing compile errors.
8263 (if only macros could generate #ifdef statements ...)
8265 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8267 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8269 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8271 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8273 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8275 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8276 * process-unix.c (unix_canonicalize_host_name):
8277 sysdep.c (init_system_name):
8278 Use it to conditionally support IPv6 canonicalization.
8280 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8283 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8285 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8287 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8288 attempt is made to scroll when no scroll bar is available.
8290 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8292 * input-method-motif.c (XIM_delete_frame): New callback.
8293 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8294 got deleted from 21.4.3.)
8296 2001-06-01 Ben Wing <ben@xemacs.org>
8298 * nt.c (mswindows_utime):
8299 * nt.c (close_file_data):
8300 fix off-by-one-indirection error.
8302 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8304 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8305 because set_file_times() now takes Lisp_Object path, instead of
8307 * nt.c: Include buffer.h.
8308 * nt.c (convert_from_time_t): New.
8309 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8310 not set mtime correctly.
8311 * nt.h: Declare mswindows_utime().
8312 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8313 path, instead of char*.
8314 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8316 2001-05-30 Ben Wing <ben@xemacs.org>
8320 (Stephen, just take all event-msw.c patches. This includes
8321 the "iconify" fix below.)
8324 * event-msw.c (mswindows_dequeue_dispatch_event):
8325 * event-msw.c (assert):
8326 * event-msw.c (emacs_mswindows_quit_p):
8327 * event-msw.c (debug_mswin_messages):
8328 * event-msw.c (debug_output_mswin_message):
8329 * event-msw.c (vars_of_event_mswindows):
8330 Fix yet more problems with C-g handling.
8331 Implement debug-mswindows-events.
8333 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8335 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8337 2001-05-23 Ben Wing <ben@xemacs.org>
8339 * event-msw.c (winsock_writer):
8340 * event-msw.c (winsock_closer):
8341 prior kludgy code was clobbering the buffer, thinking it was
8342 "unused" space to store an unneeded return value; instead, use
8343 the variable we've already got staring us in the face.
8345 2001-05-17 Andy Piper <andy@xemacs.org>
8347 * sysfile.h: don't assume that file attributes are boolean
8349 2001-05-23 Ben Wing <ben@xemacs.org>
8351 * device-msw.c (msprinter_init_device):
8352 signal an error rather than crash with an unavailable network
8353 printer (from Mike Alexander).
8356 * event-msw.c (struct winsock_stream):
8357 * event-msw.c (winsock_writer):
8358 * event-msw.c (winsock_closer):
8359 * event-msw.c (make_winsock_stream_1):
8360 cleanup headers. fix (hopefully) an error with data corruption
8361 when sending to a network connection.
8363 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8364 to handle the ~user prefix by (a) always assuming we're referencing
8365 ourselves and not even verifying the user -- hence any file with
8366 a tilde as its first char is invalid! (b) if there wasn't a slash
8367 following the filename, the pointer was set *past* the end of
8368 file and we started reading from uninitialized memory. Now we
8369 simply treat these as files, always.
8371 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8373 2001-05-19 Ben Wing <ben@xemacs.org>
8375 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8378 * process-nt.c (vars_of_process_nt):
8379 remove unused mswindows-quote-process-args. rec for 21.4.
8381 2001-05-12 Ben Wing <ben@xemacs.org>
8383 * event-msw.c (mswindows_dde_callback):
8384 * event-msw.c (mswindows_wnd_proc):
8385 eliminate cygwin warnings.
8387 2001-05-06 Ben Wing <ben@xemacs.org>
8391 * device-msw.c (print_dialog_worker):
8392 * device-msw.c (mswindows_handle_print_dialog_box):
8393 * device-msw.c (syms_of_device_mswindows):
8394 * dialog-msw.c (mswindows_make_dialog_box_internal):
8396 implement printing the selection when it's selected.
8398 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8400 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8402 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8404 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8405 EMACS_INT is signed.
8407 2001-04-15 Michael Lausch <mla@1012surf.net>
8409 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8410 gtk_widget_request_size() to give scrollbar >0 width for
8413 2001-05-30 William M. Perry <wmperry@gnu.org>
8415 * event-gtk.c: Check for buttons as modifier keys.
8417 2001-05-25 Craig Lanning <CraigL@Knology.net>
8420 Properly find MinGW's <process.h> inside Cygwin's restructured
8421 include directories. Don't try to include <cygwin/version.h>
8422 since we are dropping support for MinGW in versions of Cygwin
8425 Drop support for MinGW in versions of Cygwin before b21.
8427 Properly find MinGW's <process.h> inside Cygwin's restructured
8428 include directories.
8430 Drop support for MinGW in versions of Cygwin before b21.
8432 Even though a.out.h is no longer detected by configure, allow
8433 MinGW to use it until we figure out how to do the job with Win32.
8435 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8437 * syntax.c (find_start_of_comment):
8438 Fix `unbalanced parentheses' bug when dealing with mixed comment
8439 styles in c++/java/etc. mode
8441 2001-05-29 Mike Alexander <mta@arbortext.com>
8443 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8444 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8446 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8448 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8450 2001-03-31 Mike Sperber <mike@xemacs.org>
8452 * search.c (Freplace_match): Support FSF-style specification of
8453 match subexpression when applied to a buffer.
8455 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8457 * event-stream.c (is_scrollbar_event): add missing semicolon
8459 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8461 * Makefile.in.in: Use TAR macro instead of hardcoding
8462 tar. Allows use of GNU tar instead of system tar
8464 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8466 * event-stream.c (is_scrollbar_event): add missing semicolon
8468 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8470 * XEmacs 21.4.3 "Academic Rigor" is released.
8472 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8474 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8476 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8478 * buffer.c (Vcase_fold_search): Remove obsolete
8479 comment about non ASCII case-fold-search. This
8480 bug has been fixed by case-table changes.
8482 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8484 * event-msw.c: Restore include of events-mod.h.
8486 2001-04-22 zhaoway <zw@debian.org>
8488 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8491 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8493 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8495 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8497 * mule-charset.c (Fmake_charset): Add missing else.
8499 2001-04-23 Ben Wing <ben@xemacs.org>
8501 * event-msw.c (FAKE_MOD_QUIT):
8502 * event-msw.c (mswindows_dequeue_dispatch_event):
8503 * event-msw.c (mswindows_wnd_proc):
8504 * event-msw.c (emacs_mswindows_quit_p):
8505 Get critical quit working.
8507 2001-05-05 Ben Wing <ben@xemacs.org>
8511 * device-msw.c (mswindows_get_default_margin):
8512 * frame-msw.c (mswindows_size_frame_internal):
8513 * frame-msw.c (msprinter_init_frame_1):
8514 * frame-msw.c (vars_of_frame_mswindows):
8515 Change top/bottom margin defaults to 0.5 inches.
8517 2001-05-01 Martin Buchholz <martin@xemacs.org>
8519 Fix link error with gcc 3.0 on Linux.
8520 * terminfo.c (UP): Remove.
8521 * terminfo.c (BC): Remove.
8522 * terminfo.c (PC): Remove.
8523 They weren't used, and in any case, these symbols should be
8524 defined in the *library*.
8526 2001-05-03 Martin Buchholz <martin@xemacs.org>
8528 * s/aix4.h: Fix crash with xlc -O3.
8529 Improve comment explaining how -O3 works.
8531 2001-04-15 Ben Wing <ben@xemacs.org>
8534 * event-stream.c (Fnext_event):
8535 * event-stream.c (is_scrollbar_event):
8536 * event-stream.c (execute_command_event):
8537 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8538 crash' problem. His fix introduces other problems. We filter
8539 out scrollbar events specifically, making them somewhat invisible
8540 to command-building, and not appearing in `this-command-keys'.
8541 More work is still needed (see comments in event-stream.c), but
8542 this fixes all the major problems.
8544 2001-04-20 Ben Wing <ben@xemacs.org>
8546 * .cvsignore: Added stuff for Windows.
8548 2001-04-28 Ben Wing <ben@xemacs.org>
8550 * buffer.c (Ferase_buffer):
8551 * editfns.c (buffer_insert1):
8552 * editfns.c (Finsert_before_markers):
8553 * editfns.c (Finsert_string):
8554 * editfns.c (Finsert_char):
8555 * editfns.c (Fdelete_region):
8556 * editfns.c (Fwiden):
8557 * editfns.c (Fnarrow_to_region):
8558 remove bogus lines setting zmacs_region_stays to 0.
8560 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8562 * process-unix.c (unix_open_network_stream): If connect() fails
8563 invalidate file descriptor after closing it.
8565 2001-03-08 Mike Alexander <mta@arbortext.com>
8567 * event-msw.c (mswindows_need_event_in_modal_loop):
8568 Don't dispatch a message if we didn't get one.
8569 (mswindows_need_event):
8570 Terminate the correct process when one exits instead of the first
8571 one on Vprocess_list and look for process termination when in
8572 mswindows_protect_modal_loop.
8574 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8576 * XEmacs 21.4.1 "Copyleft" is released.
8578 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8580 * input-method-motif.c (XIM_delete_frame): New callback.
8581 (XIM_init_frame): Register it.
8583 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8585 * XEmacs 21.4.0 "Solid Vapor" is released.
8587 2001-04-15 Ben Wing <ben@xemacs.org>
8589 * cmdloop.c (call_command_loop):
8590 Fix braino in bit-rotting code.
8592 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8594 * extents.c (Fset_extent_endpoints): Force creation of extent info
8595 in buffer_or_string.
8597 * extents.c (process_extents_for_insertion_mapper): Correctly
8598 check for open-open zero-length extents.
8600 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8602 * lisp.h: New typedefs Memory_count, Element_count.
8605 Sign-compare warning elimination: several unsigned -> signed.
8606 Based on work by Ben Wing <ben@xemacs.org>.
8608 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8610 * XEmacs 21.2.47 "Zephir" is released.
8612 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8614 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8616 2001-04-03 Mike Sperber <mike@xemacs.org>
8618 * search.c: Revert previous patch due because of release.
8620 2001-03-30 Ben Wing <ben@xemacs.org>
8623 Add missing killpg prototype.
8626 Add a comment about fixing problems when a new entry is added
8629 * frame-msw.c (mswindows_init_frame_1):
8630 Fix compile warnings.
8632 * menubar.c (vars_of_menubar):
8633 Provide `menu-accelerator-support' to indicate that we properly
8634 support %_ in menu specifications, so that package code can
8635 conditionalize on this (and remove %_ from menu specifications
8640 * scrollbar-msw.c (can_scroll):
8642 Fix handling of mouse wheel under Windows to follow standards --
8643 now scrolls window under pointer, not selected window.
8645 2001-03-31 Mike Sperber <mike@xemacs.org>
8647 * search.c (Freplace_match): Support FSF-style specification of
8648 match subexpression when applied to a buffer.
8650 2001-03-15 Martin Buchholz <martin@xemacs.org>
8652 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8653 function to modify KEYMAP, so map over a copy of the hash table.
8655 2001-03-21 Martin Buchholz <martin@xemacs.org>
8657 * XEmacs 21.2.46 "Urania" is released.
8659 2001-03-20 Dan Holmsand <dan@eyebee.com>
8661 * realpath.c (xrealpath): Make file-truename work with symlinks to
8662 /cygdrive paths on cygwin. Always lowercase drive-letters on
8664 (cygwin_readlink): Don't try to find canonical filename unless
8667 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8669 * ChangeLog: Log GTK merge.
8675 Revert gratuitous whitespace changes from GTK merge.
8677 * emacs.c: Document end of complex #ifdef @ l. 1495.
8680 2001-03-12 Andy Piper <andy@xemacs.org>
8682 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8683 have to do likewise.
8685 2001-03-12 Andy Piper <andy@xemacs.org>
8687 * sysdep.c: we only support mingw now.
8689 2001-03-09 Andy Piper <andy@xemacs.org>
8691 * unexcw.c (copy_executable_and_dump_data_section): making approx
8692 overrun a warning only.
8694 2001-03-10 William M. Perry <wmperry@aventail.com>
8696 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8697 satisfy Stephen's identical-after-cpp plea.
8699 2001-03-02 Ben Wing <ben@xemacs.org>
8702 * cmds.c (Fforward_char):
8706 Augment documentation of the most common motion commands to make
8707 note of the shifted-motion support.
8709 2001-03-02 Ben Wing <ben@xemacs.org>
8711 * nt.c (mswindows_fstat):
8712 * nt.c (mswindows_stat):
8713 * search.c (boyer_moore):
8714 Fix compile warnings under Windows.
8716 * sysdep.c (sys_readdir):
8717 Fix buggy filename-conversion code under Mule.
8719 2001-03-09 William M. Perry <wmperry@aventail.com>
8741 * redisplay-output.c:
8747 The Great GTK Merge.
8754 * emacs-widget-accessors.c:
8768 * native-gtk-toolbar.c:
8779 The Great GTK Merge: new files.
8781 2001-02-26 Ben Wing <ben@xemacs.org>
8783 Reapplied Lstream change.
8785 2001-02-26 Ben Wing <ben@xemacs.org>
8787 Undid the last change, since it is more controversial than I
8788 thought. It should be back in at some point soon.
8790 2001-02-25 Ben Wing <ben@xemacs.org>
8793 * callproc.c (Fold_call_process_internal):
8794 * event-msw.c (ntpipe_slurp_reader):
8795 * event-msw.c (ntpipe_shove_writer):
8796 * event-msw.c (winsock_reader):
8797 * event-msw.c (winsock_writer):
8799 * file-coding.c (detect_eol_type):
8800 * file-coding.c (detect_coding_type):
8801 * file-coding.c (determine_real_coding_system):
8802 * file-coding.c (Fdetect_coding_region):
8803 * file-coding.c (decoding_reader):
8804 * file-coding.c (decoding_writer):
8805 * file-coding.c (mule_decode):
8806 * file-coding.c (Fdecode_coding_region):
8807 * file-coding.c (encoding_reader):
8808 * file-coding.c (encoding_writer):
8809 * file-coding.c (mule_encode):
8810 * file-coding.c (Fencode_coding_region):
8811 * file-coding.c (detect_coding_sjis):
8812 * file-coding.c (decode_coding_sjis):
8813 * file-coding.c (encode_coding_sjis):
8814 * file-coding.c (detect_coding_big5):
8815 * file-coding.c (decode_coding_big5):
8816 * file-coding.c (encode_coding_big5):
8817 * file-coding.c (detect_coding_ucs4):
8818 * file-coding.c (decode_coding_ucs4):
8819 * file-coding.c (encode_coding_ucs4):
8820 * file-coding.c (detect_coding_utf8):
8821 * file-coding.c (decode_coding_utf8):
8822 * file-coding.c (encode_coding_utf8):
8823 * file-coding.c (detect_coding_iso2022):
8824 * file-coding.c (decode_coding_iso2022):
8825 * file-coding.c (encode_coding_iso2022):
8826 * file-coding.c (decode_coding_no_conversion):
8827 * file-coding.c (encode_coding_no_conversion):
8828 * glyphs-x.c (write_lisp_string_to_temp_file):
8829 * gpmevent.c (tty_get_foreign_selection):
8832 * lstream.c (Lstream_flush_out):
8833 * lstream.c (Lstream_adding):
8834 * lstream.c (Lstream_write_1):
8835 * lstream.c (Lstream_write):
8836 * lstream.c (Lstream_raw_read):
8837 * lstream.c (Lstream_read_more):
8838 * lstream.c (Lstream_read):
8839 * lstream.c (Lstream_unread):
8840 * lstream.c (Lstream_fputc):
8841 * lstream.c (stdio_reader):
8842 * lstream.c (stdio_writer):
8843 * lstream.c (filedesc_reader):
8844 * lstream.c (filedesc_writer):
8845 * lstream.c (lisp_string_reader):
8846 * lstream.c (struct fixed_buffer_stream):
8847 * lstream.c (make_fixed_buffer_input_stream):
8848 * lstream.c (make_fixed_buffer_output_stream):
8849 * lstream.c (fixed_buffer_reader):
8850 * lstream.c (fixed_buffer_writer):
8851 * lstream.c (struct resizing_buffer_stream):
8852 * lstream.c (resizing_buffer_writer):
8853 * lstream.c (dynarr_writer):
8854 * lstream.c (lisp_buffer_reader):
8855 * lstream.c (lisp_buffer_writer):
8857 * lstream.h (lstream_implementation):
8858 * lstream.h (struct lstream):
8860 * process-nt.c (nt_send_process):
8861 * process-unix.c (unix_send_process):
8863 Correct Lstream lossage due to mixing of signed and unsigned
8864 quantities. All Lstream uses of size_t and ssize_t are now a
8865 single signed data type Lstream_data_count. This fixes problems
8866 under Windows with sending large quantities of data to a process,
8867 and may well fix other subtle bugs.
8869 2001-02-23 Martin Buchholz <martin@xemacs.org>
8871 * XEmacs 21.2.45 "Thelxepeia" is released.
8873 2001-02-21 Martin Buchholz <martin@xemacs.org>
8875 * lisp-union.h (XSETINT):
8878 Reverse previous change of 2001-02-06.
8880 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8882 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8884 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8885 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8886 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8887 * regex.c (POS_AS_IN_BUFFER): removed
8888 * regex.c (re_search_2):
8889 * regex.c (re_match_2):
8890 Don't use an offset of 1 when calculating buffer positions, since
8891 `BI_BUF_BEGV' does it already.
8893 2001-02-18 Wim Dumon <wim@easics.be>
8895 * insdel.c (prepare_to_modify_buffer): Also check for
8896 supersession when clash-detection is enabled.
8898 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8900 * regex.c (re_match_2_internal):
8901 Convert temp characters from 'const unsigned char' to 're_char'.
8902 Fix crashing bug with extended characters under mule.
8903 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8904 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8905 font-lock, pdump, and new syntax-table code.
8906 * syntax.c (find_start_of_comment):
8907 (find_end_of_comment):
8909 Fix crashing bugs involving moving beyond end of buffer.
8910 * syntax.c (find_start_of_comment):
8911 Fixed logic to allow proper detection of cases where the same
8912 character is used to end both a two-char comment start and a
8913 two-char comment end sequence. Fixes `(forward-comment -1)'.
8914 * syntax.c (find_start_of_comment):
8915 Return position just past last comment-end character for all cases
8916 (previously was only done for two-char comment-end sequences).
8917 * syntax.c (forward-comment):
8918 Take value returned from `find_end_of_comment', rather than
8920 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8921 Properly deal with BUFFERP (syntax_cache.object)
8923 2001-02-17 Martin Buchholz <martin@xemacs.org>
8925 * alloc.c (Fgarbage_collect):
8926 * alloc.c (make_bit_vector_from_byte_vector):
8927 -Wsign-compare-correctness.
8929 2001-02-16 Martin Buchholz <martin@xemacs.org>
8931 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8932 (XSETCHAR): Likewise.
8933 (XSETOBJ): Likewise.
8935 2001-02-15 Martin Buchholz <martin@xemacs.org>
8937 * mule-canna.c (canna-func-delete_previous):
8938 Rename to canna-func-delete-previous.
8940 2001-02-14 Martin Buchholz <martin@xemacs.org>
8942 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8944 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8946 * font-lock.c (find_context): Fix C++ compile errors introduced by
8949 2001-02-13 Martin Buchholz <martin@xemacs.org>
8951 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8952 pragma, but earlier ones barf on the same pragma.
8954 2001-02-06 Mike Sperber <mike@xemacs.org>
8956 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8957 `configure-mule-lisp-directory'.
8959 2001-02-12 Martin Buchholz <martin@xemacs.org>
8961 Make sure dump-id.c is compiled in the same way as other .c's.
8962 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8963 * dump-id.h: Remove.
8964 * emacs.c: Move dump-id.h into dumper.h.
8965 * dumper.h: Move dump-id.h into dumper.h.
8967 Use standard .c.o rule for building dump-id.o.
8968 Remove preprocessor flags from link command.
8969 Add dump-id.o to ${otherobjs} if PDUMP.
8971 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8973 Port FSF 20.7 syntax table improvements.
8977 Fixups for new syntax table stuff.
8978 * dired.c: Include syntax.c.
8979 (Fdirectory_files): Initialize regex_match_object and
8981 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8982 and Fget_char_property.
8984 Use ported FSF 20.7 syntax table improvements.
8989 2001-02-09 Martin Buchholz <martin@xemacs.org>
8991 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8992 Unixware's enum boolean from sys/types.h.
8994 2001-02-10 Martin Buchholz <martin@xemacs.org>
8996 Fix support for building with latest Purify.
8997 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8998 (PURIFY_FLAGS): Likewise.
9000 2001-02-09 Martin Buchholz <martin@xemacs.org>
9002 * fileio.c (lisp_string_set_file_times): New.
9003 * fileio.c (Fcopy_file): Use it.
9005 (copy-file filename non-ascii-filename t t)
9006 ==> No such file or directory, non-ascii-filename
9008 2001-02-10 Martin Buchholz <martin@xemacs.org>
9010 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9011 USHRT_MAX seems clearer than ~0 anyways.
9013 2001-02-09 Martin Buchholz <martin@xemacs.org>
9015 dumper improvements. Inspired by Olivier.
9016 * dumper.c (pdump_max_align): New.
9017 * dumper.c (pdump_add_entry): Use pdump_max_align.
9018 * dumper.c (pdump_get_entry_list): Likewise.
9019 * dumper.c (pdump_scan_by_alignment): Likewise.
9020 Don't iterate through unnecessary alignments.
9021 * dumper.c (pdump_file_get): No need to align result of malloc().
9022 * dumper.c (pdump_mallocadr): Remove.
9023 The result of malloc() is guaranteed to be maximally aligned.
9024 * dumper.c: s/elmt/elt/g;
9025 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9026 * dumper.c (pdump_alert_undump_object): Likewise.
9027 * dumper.c (pdump_align_table):
9028 Don't support alignments > 64.
9029 Store ALIGNOF's, not shift counts, in table.
9031 2001-02-09 Martin Buchholz <martin@xemacs.org>
9033 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9034 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9035 * systime.h: Use HAVE_UTIME.
9036 * sysdep.c (struct utimbuf): Remove.
9037 * sysdep.c (set_file_times): Prefer utime() to utimes().
9038 * config.h.in (HAVE_UTIME): New.
9039 * config.h.in (HAVE_UTIME_H): Remove.
9040 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9042 2001-02-09 Martin Buchholz <martin@xemacs.org>
9044 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9046 2001-02-08 Martin Buchholz <martin@xemacs.org>
9048 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9050 2001-02-08 Martin Buchholz <martin@xemacs.org>
9052 * XEmacs 21.2.44 "Thalia" is released.
9054 2001-02-06 Martin Buchholz <martin@xemacs.org>
9056 Fixes crashes in kill-emacs on some systems.
9057 * process-unix.c (unix_kill_child_process):
9058 It's OK for kill() to fail with ESRCH.
9060 2001-02-07 Martin Buchholz <martin@xemacs.org>
9062 Contortions to make .gdbinit tricks work on most systems.
9063 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9064 * alloc.c (dbg_valmask): Make non-const.
9065 * alloc.c (dbg_typemask): Make non-const.
9066 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9067 * alloc.c (dbg_valbits): Make non-const.
9068 * alloc.c (dbg_gctypebits): Make non-const.
9069 * .gdbinit (decode_object): Make it work with AIX cc.
9071 2001-02-06 Martin Buchholz <martin@xemacs.org>
9073 * elhash.c (make_general_lisp_hash_table):
9074 Use simpler and more efficient calloc to clear entries.
9076 2001-02-07 Martin Buchholz <martin@xemacs.org>
9078 * window.c (window_scroll): Work around an AIX C compiler bug.
9079 Fixes 'scroll-up' does nothing problem with xlC.
9081 2001-02-05 Martin Buchholz <martin@xemacs.org>
9083 * .gdbinit: Remove obsolete comment.
9085 2001-01-31 Mike Alexander <mta@arbortext.com>
9087 * select.c (Fown_selection_internal): Set owned_p for device
9090 2001-02-01 Martin Buchholz <martin@xemacs.org>
9093 "not" cannot be used as a macro name as it is an operator in C++
9094 * config.h.in: Stop #defining `not'.
9095 * chartab.c (check_category_char): not ==> not_p
9096 * chartab.h: Likewise.
9097 * regex.c (re_match_2_internal): Likewise.
9099 2001-02-02 Martin Buchholz <martin@xemacs.org>
9101 * lisp-disunion.h: Fix up comments.
9103 2001-01-31 Martin Buchholz <martin@xemacs.org>
9105 * keymap.c (define_key_check_and_coerce_keysym):
9107 Support mouse-6 and mouse-7 bindings in the obvious way.
9109 2001-02-01 Martin Buchholz <martin@xemacs.org>
9111 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9113 2001-01-30 Martin Buchholz <martin@xemacs.org>
9115 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9116 Previous patch missed DEFVAR_INT_MAGIC.
9117 Make sure future DEFVAR_foo use correct types.
9118 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9119 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9120 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9121 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9122 * (DEFVAR_INT): Likewise.
9123 * redisplay.c (vertical_clip): Should be of type Fixnum.
9124 * redisplay.c (horizontal_clip): Likewise.
9125 * lisp.h (dump_add_opaque_int): New.
9126 (dump_add_opaque_fixnum): New.
9128 2001-01-29 Andy Piper <andy@xemacs.org>
9130 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9131 since they can be eval'ed
9133 2001-01-29 Martin Buchholz <martin@xemacs.org>
9135 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9136 Oops, XEmacs redefines `class'. Use `typename' instead.
9138 2001-01-28 Martin Buchholz <martin@xemacs.org>
9140 * dumper.c: Fix C++ compile errors.
9142 2001-01-29 Martin Buchholz <martin@xemacs.org>
9144 * tparam.c: Use correct prototypes.
9146 2001-01-28 Martin Buchholz <martin@xemacs.org>
9148 * sysproc.h: #include util.h for NetBSD's openpty.
9150 2001-01-27 Martin Buchholz <martin@xemacs.org>
9152 More 64-bit correctness.
9153 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9154 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9156 This finally finishes the 64-bit SGI port.
9157 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9158 * symbols.c: Fix up comments and type casts.
9159 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9160 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9161 * symeval.h (Fixnum): New type.
9162 * symeval.h (symbol_value_type): Fix up comment.
9178 * mule-canna.c: A million DEFVAR_INTs here...
9179 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9192 s/int/Fixnum/g in DEFVAR_INT declarations.
9194 2001-01-26 Martin Buchholz <martin@xemacs.org>
9196 Port pdump to SGI alignment-sensitive environment.
9197 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9198 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9200 Define and use aligned reading and writing macros.
9201 Use buffered stdio instead of posix i/o for faster dumping.
9202 Eliminate kludgy 256 byte space for header.
9203 Read and write from dump file using structs for alignment safety.
9204 * dumper.c (pdump_align_stream): New.
9205 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9206 * dumper.c (PDUMP_READ_ALIGNED): New.
9207 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9208 * dumper.c (pdump_static_Lisp_Object): New struct.
9209 * dumper.c (pdump_static_pointer): New struct.
9210 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9211 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9212 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9213 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9215 * dumper.c (pdump_backtrace):
9216 * dumper.c (pdump_get_indirect_count):
9217 * dumper.c (pdump_register_object):
9218 * dumper.c (pdump_register_struct):
9219 * dumper.c (pdump_reloc_one):
9220 * dumper.c (pdump_scan_by_alignment):
9221 * dumper.c (pdump_dump_from_root_struct_ptrs):
9222 * dumper.c (pdump_dump_opaques):
9223 * dumper.c (pdump_dump_rtables):
9224 * dumper.c (pdump_dump_from_root_objects):
9226 * dumper.c (pdump_load_finish):
9227 Use aligned reading and writing.
9229 * dumper.c (pdump_free): Make static.
9230 * dumper.c (pdump_hFile): Likewise.
9231 * dumper.c (pdump_hMap): Likewise.
9233 2001-01-26 Martin Buchholz <martin@xemacs.org>
9235 * XEmacs 21.2.43 "Terspichore" is released.
9237 2001-01-25 Martin Buchholz <martin@xemacs.org>
9239 Type fiddling for window_config.saved_windows_count
9240 * window.c (struct window_config):
9241 Make saved_windows_count member unsigned.
9242 * window.c (sizeof_window_config_for_n_windows):
9243 Make parameter unsigned.
9244 * window.c (mark_window_config):
9245 * window.c (window_config_equal):
9246 * window.c (free_window_configuration):
9247 * window.c (Fset_window_configuration):
9248 * window.c (count_windows):
9249 * window.c (Fcurrent_window_configuration):
9250 * window.c (reinit_vars_of_window):
9251 Update all callers and users.
9253 2001-01-25 Martin Buchholz <martin@xemacs.org>
9255 Alignment correctness for flexible arrays.
9256 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9257 Make alignment-correct. Add interesting comments.
9258 * alloc.c (size_vector):
9259 * alloc.c (make_vector_internal):
9260 * alloc.c (make_bit_vector_internal):
9261 * alloc.c (sweep_bit_vectors_1):
9262 * fns.c (size_bit_vector):
9263 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9264 * window.c (sizeof_window_config_for_n_windows):
9265 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9267 2001-01-24 Martin Buchholz <martin@xemacs.org>
9269 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9271 2001-01-23 Andy Piper <andy@xemacs.org>
9273 * select.c (Fown_selection_internal): pass owned_p
9275 * select-msw.c (mswindows_own_selection): New Signature.
9277 * console.h (struct console_methods): add owned_p to
9280 * select-x.c (x_own_selection): pass owned_p
9281 (hack_motif_clipboard_selection): use owned_p
9282 (vars_of_select_x): new variable -
9283 x_selection_strict_motif_ownership.
9285 2001-01-23 Martin Buchholz <martin@xemacs.org>
9287 * specifier.h (specifier_data_offset): Remove pointless parens.
9288 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9290 2001-01-24 Martin Buchholz <martin@xemacs.org>
9292 Make Lisp_Object sizeof methods be alignment-correct.
9293 pdump must restore objects to the same alignment as the C compiler
9294 assumes. It really matters on SGIs.
9295 * lstream.c (aligned_sizeof_lstream): New.
9296 (sizeof_lstream): Use aligned_sizeof_lstream.
9297 (Lstream_new): Likewise.
9298 * opaque.c (aligned_sizeof_opaque): New.
9299 (sizeof_opaque): Use aligned_sizeof_opaque.
9300 (make_opaque): Likewise.
9301 * specifier.c (aligned_sizeof_specifier): New.
9302 (sizeof_specifier): Use aligned_sizeof_specifier.
9303 (make_specifier_internal): Likewise.
9305 2001-01-23 Martin Buchholz <martin@xemacs.org>
9307 * lstream.h (struct lstream): Use max_align_t for trailing data.
9308 * specifier.h (struct Lisp_Specifier): Likewise.
9310 2001-01-22 Martin Buchholz <martin@xemacs.org>
9312 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9313 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9314 (CCL_SUSPEND): Likewise.
9315 (CCL_INVALID_CMD): Likewise.
9316 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9317 (ccl_driver): Likewise.
9318 (CCL_WRITE_CHAR): Macro hygiene.
9319 (CCL_WRITE_STRING): Macro hygiene.
9321 2001-01-22 Martin Buchholz <martin@xemacs.org>
9323 Port "portable" dumper to SunOS 4 and HP-UX.
9324 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9325 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9326 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9328 2001-01-22 Martin Buchholz <martin@xemacs.org>
9330 * lisp.h (ALIGNOF): A better definition for C++.
9332 2001-01-20 Martin Buchholz <martin@xemacs.org>
9335 Fix printf warnings: int format, long int arg.
9336 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9337 (PUSH_FAILURE_POINT): Use correct printf formats.
9338 (POP_FAILURE_POINT): Use correct printf formats.
9339 Use do {...} while (0)
9341 2001-01-20 Martin Buchholz <martin@xemacs.org>
9343 * XEmacs 21.2.42 "Poseidon" is released.
9345 2001-01-20 Martin Buchholz <martin@xemacs.org>
9347 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9349 2001-01-19 Martin Buchholz <martin@xemacs.org>
9351 De-kludgify FIXED_TYPE free list frobbing.
9352 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9353 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9354 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9355 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9356 * alloc.c (LRECORD_FREE_P): New.
9357 * alloc.c (MARK_LRECORD_AS_FREE): New.
9358 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9359 * alloc.c (STRUCT_FREE_P): Deleted.
9360 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9361 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9362 * alloc.c (STRING_CHARS_FREE_P): New.
9363 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9364 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9365 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9366 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9367 * alloc.c (resize_string): Use new definitions.
9368 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9369 * alloc.c (verify_string_chars_integrity): Use new definitions.
9370 * alloc.c (compact_string_chars): Use new definitions.
9371 * alloc.c: Update monster comments.
9372 * lrecord.h (lrecord_type): Add some new lrecord types for
9375 2001-01-18 Martin Buchholz <martin@xemacs.org>
9377 Improve alignment hackery.
9378 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9379 (max_align_t): Moved from opaque.h - general purpose.
9380 (ALIGN_PTR): Use size_t, not long.
9381 * opaque.h (max_align_t): Move to lisp.h.
9383 2001-01-18 Norbert Koch <nk@LF.net>
9385 * gui.h: Fix and add prototypes to fix build problems.
9387 2001-01-18 Martin Buchholz <martin@xemacs.org>
9389 temacs is going away, so `dump-temacs' is now a bad name.
9390 * .dbxrc (dump-temacs): Rename to `dmp'.
9391 * .gdbinit (dump-temacs): Rename to `dmp'.
9393 2001-01-17 Andy Piper <andy@xemacs.org>
9395 * glyphs.c (print_image_instance): comment to make martin happy.
9397 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9400 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9402 (mswindows_tab_control_redisplay): warning suppression.
9404 * glyphs-widget.c (widget_update): re-write to cope with updated
9406 (widget_instantiate): use new gui_item functions.
9407 (tab_control_update): deleted.
9408 (progress_gauge_update): deleted.
9409 (image_instantiator_progress_guage): take out update reference.
9410 (image_instantiator_tree_view): ditto.
9411 (image_instantiator_tab_control): ditto.
9413 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9415 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9416 return whether anything was changed.
9417 (update_gui_item_keywords): as it sounds.
9419 * gui.h: declare widget_gui_parse_item_keywords.
9421 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9422 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9424 2001-01-17 Martin Buchholz <martin@xemacs.org>
9426 * XEmacs 21.2.41 "Polyhymnia" is released.
9428 2001-01-16 Didier Verna <didier@xemacs.org>
9430 * glyphs.c (image_instantiate): don't use fallbacks when
9431 instantiating a face's background pixmap by inheritance.
9433 2001-01-14 Mike Sperber <mike@xemacs.org>
9435 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9436 Conditionalize accordingly.
9438 2001-01-16 Martin Buchholz <martin@xemacs.org>
9440 * dumper.c (pdump_file_get): Fix a compiler warning.
9442 2001-01-15 Martin Buchholz <martin@xemacs.org>
9444 Make Purify happy when pdumping.
9445 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9446 iniitalizing all bits of new lisp object memory.
9447 * symbols.c (Fmake_local_variable): Likewise.
9448 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9449 * symbols.c (Fdefvaralias): Likewise.
9450 * mule-charset.c (vars_of_mule_charset): Likewise.
9452 2001-01-15 Martin Buchholz <martin@xemacs.org>
9453 Add the `-nd' flag when running pre-dump operations under the debugger.
9454 * .dbxrc (run-temacs): Add `-nd'.
9455 * .dbxrc (update-elc): Likewise.
9456 * .dbxrc (dump-temacs): Likewise.
9457 * .gdbinit (run-temacs): Likewise.
9458 * .gdbinit (check-temacs): Likewise.
9459 * .gdbinit (update-elc): Likewise.
9460 * .gdbinit (dump-temacs): Likewise.
9462 2001-01-14 Martin Buchholz <martin@xemacs.org>
9464 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9465 export OBJECT_MODE=64
9466 configure --pdump --use-union-type=no
9467 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9468 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9470 * miscplay.c (sndcnv8U_2mono):
9471 Avoid two uses of `++' in the same expression.
9472 Suppresses a GCC warning.
9474 2001-01-13 Martin Buchholz <martin@xemacs.org>
9476 Make sure future compilers don't miscompile alloc.c.
9478 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9479 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9481 2001-01-12 Martin Buchholz <martin@xemacs.org>
9483 * dumper.c: A little post-pdump-rename comment fixup.
9485 2001-01-09 Jerry James <james@eecs.ku.edu>
9487 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9489 2001-01-13 Martin Buchholz <martin@xemacs.org>
9491 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9495 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9498 replace_symbol pdump_wire_lists pdump_weak_object_chains
9499 replace_symbol pdump_wire_list dump_add_weak_object_chain
9501 replace_symbol pdump_wires pdump_root_objects
9502 replace_symbol pdump_wire dump_add_root_object
9504 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9505 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9507 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9508 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9509 replace_symbol dumpstructinfo pdump_root_struct_ptr
9510 replace_symbol dumpstruct dump_add_root_struct_ptr
9512 replace_symbol dumpopaque dump_add_opaque
9513 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9514 replace_symbol dumpopaqueinfos pdump_opaques
9515 replace_symbol dumpopaqueinfo pdump_opaque
9517 replace_symbol nb_structdump nb_root_struct_ptrs
9518 replace_symbol nb_opaquedump nb_opaques
9520 replace_symbol align_table pdump_align_table
9521 replace_symbol dump_header pdump_header
9523 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9524 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9527 2001-01-12 Martin Buchholz <martin@xemacs.org>
9529 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9530 optimizing bytecount_to_charcount().
9532 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9535 (HAVE_DLFCN_H): Removed.
9536 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9538 2001-01-06 Martin Buchholz <martin@xemacs.org>
9540 Portable dumper maintainability improvements.
9541 * alloc.c (staticpro):
9542 * alloc.c (staticpro_nodump):
9543 * alloc.c (garbage_collect_1):
9544 * alloc.c (reinit_alloc_once_early):
9545 * alloc.c (init_alloc_once_early):
9546 * alloc.c: Move dumper functions to alloc.c.
9547 * dumper.c (pdump_backtrace):
9548 * dumper.c (pdump_dump_structs):
9549 * dumper.c (pdump_dump_opaques):
9550 * dumper.c (pdump_dump_rtables):
9551 * dumper.c (pdump_dump_wired):
9553 * dumper.c (pdump_load_check):
9554 * dumper.c (pdump_load_finish):
9555 * dumper.c (pdump_file_unmap):
9556 * dumper.c (pdump_file_get):
9557 * dumper.c (pdump_resource_free):
9558 * dumper.c (pdump_resource_get):
9559 * dumper.c (pdump_file_free):
9560 * dumper.c (pdump_file_try):
9561 * dumper.c (pdump_load):
9562 Remove fixed size limits on staticpro(), staticpro_nodump(),
9563 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9564 Remove custom code for dumping lrecord_implementations_table - use
9566 Remove (most of the) custom code for dumping staticpros - dump it
9567 like any other dynarr.
9569 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9570 * dumper.c: Moved functions from alloc.c.
9571 * alloc.c (dumpstruct): Moved to dumper.c.
9572 * alloc.c (dumpopaque): Likewise.
9573 * alloc.c (pdump_wire): Likewise.
9574 * alloc.c (pdump_wire_list): Likewise.
9576 * lisp.h (Dynarr_sizeof): New.
9577 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9578 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9579 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9581 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9582 * lisp.h (dumpopaque): ditto.
9583 * lisp.h (pdump_wire): ditto.
9584 * lisp.h (pdump_wire_list): ditto.
9586 2001-01-09 Martin Buchholz <martin@xemacs.org>
9588 * make-src-depend (PrintPatternDeps):
9589 Use `sort' to make output independent of perl version.
9591 2001-01-08 Martin Buchholz <martin@xemacs.org>
9594 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9595 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9597 2001-01-03 Didier Verna <didier@xemacs.org>
9599 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9600 that `focus_frame' is alive before thinking of calling
9601 `redisplay_redraw_cursor' on it.
9603 2001-01-08 Martin Buchholz <martin@xemacs.org>
9605 * XEmacs 21.2.40 is released.
9607 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9609 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9611 2001-01-06 Martin Buchholz <martin@xemacs.org>
9613 * alloc.c (dbg_valmask): Make const.
9614 * alloc.c (dbg_typemask): Make const.
9615 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9616 * alloc.c (dbg_valbits): Make const.
9617 * alloc.c (dbg_gctypebits): Make const.
9619 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9621 * redisplay-x.c (x_bevel_area):
9622 redisplay.h (struct rune):
9623 Typo fixes in comments.
9625 2001-01-05 Andy Piper <andy@xemacs.org>
9627 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9630 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9632 2001-01-05 Martin Buchholz <martin@xemacs.org>
9634 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9636 * mule-ccl.c (stack_idx_of_map_multiple):
9637 Non const global data must not be initialized!
9638 Found by MIYASHITA Hisashi.
9640 2001-01-02 Andy Piper <andy@xemacs.org>
9642 * frame.c (change_frame_size): make sure frame size is always
9645 * glyphs.c (image_instance_layout): minor code reuse.
9647 * window.c (Fcurrent_window_configuration): revert previous
9650 2001-01-02 Martin Buchholz <martin@xemacs.org>
9653 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9655 2000-12-31 Andy Piper <andy@xemacs.org>
9657 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9658 when widget gets unmapped.
9660 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9661 function. Make sure widgets losing focus don't just drop it.
9662 (handle_focus_event_1): record the widget with focus.
9664 2000-12-31 Andy Piper <andy@xemacs.org>
9666 * window.c (allocate_window): use
9667 make_image_instance_cache_hash_table.
9668 (make_dummy_parent): ditto.
9669 (Fset_window_configuration): ditto.
9671 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9673 * glyphs.c (process_image_string_instantiator): use
9675 (get_image_instantiator_governing_domain): ditto.
9676 (normalize_image_instantiator): ditto.
9677 (instantiate_image_instantiator): ditto.
9678 (make_image_instance_1): ditto.
9679 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9680 (instantiator_eq_equal): new function for use with instance hash
9682 (instantiator_eq_hash): ditto.
9683 (make_image_instance_cache_hash_table): create a suitable hash
9684 table for storing image instances.
9686 * elhash.h (hash_table_weakness): new internal weakness type
9687 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9688 declare new functions.
9690 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9691 another weakness type for glyphs.
9692 (make_standard_lisp_hash_table): new function split out from
9693 make_general_lisp_hash_table.
9694 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9695 (hash_table_instantiate): ditto.
9696 (Fmake_hash_table): ditto.
9698 2000-12-31 Martin Buchholz <martin@xemacs.org>
9700 * XEmacs 21.2.39 is released.
9702 2000-12-29 Andy Piper <andy@xemacs.org>
9704 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9706 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9707 the frame has changed so that we pick up geometry changes such as
9710 2000-12-28 Andy Piper <andy@xemacs.org>
9712 * lastfile.c (my_ebss): make a char array so we can pad the
9713 bss. Fixes cygwin unexec.
9715 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9717 2000-12-26 Andy Piper <andy@xemacs.org>
9719 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9720 comments and try and be more precise about a non-/SIGIO world.
9721 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9724 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9725 we don't normalize to zero width or height.
9727 2000-12-24 Andy Piper <andy@xemacs.org>
9729 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9731 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9733 * s/sco5.h: SCO 5 has pty support.
9735 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9737 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9738 input-method-xlib.c contains whole contents of input-method-xfs.c,
9739 so we can use input-method-xlib.c's code for USE_XFONTSET
9741 * input-method-xfs.c: removed.
9743 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9745 * file-coding.h (enum coding_category_type): reorder enumerators to
9746 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9747 (now one greater than largest real coding_category_type enumerator).
9748 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9749 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9750 Fcoding_category_list, Fset_coding_priority_list,
9751 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9752 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9754 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9756 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9757 * redisplay-output.c (redisplay_output_window): Clear top of window
9758 when face is changed.
9759 * redisplay-x.c (x_redraw_exposed_window): Call
9760 redisplay_clear_top_of_window.
9761 * redisplay.h: Publish redisplay_clear_top_of_window.
9763 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9765 * buffer.c (Fkill_buffer): Map over all devices.
9766 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9767 (list_windows): New function.
9768 (list_all_windows): Ditto.
9769 (Freplace_buffer_in_windows): Use them.
9771 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9773 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9774 (Fopen_database): Use `db_create' instead of `db_open'.
9775 (syms_of_database): Initialize Qqueue.
9777 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9779 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9780 buffer_local_face_property.
9781 * buffer.h (struct buffer): New member buffer_local_face_property.
9782 * window.c (Fset_window_buffer): Mark window's face as changed
9783 when buffer has buffer local face.
9784 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9785 * objects.c (color_after_change): Set buffer_local_face_property
9786 when locale of face specifier is buffer.
9787 * objects.c (font_after_change): Ditto.
9788 * objects.c (face_boolean_after_change): Ditto.
9789 * glyphs.c (image_after_change): Ditto.
9791 2000-12-09 Dan Holmsand <dan@eyebee.com>
9793 * nt.c (mswindows_fstat): Report file permissions, volume serial
9794 number, etc. Code adapted from FSF Emacs 20.7.
9796 2000-12-09 Dan Holmsand <dan@eyebee.com>
9798 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9799 of stat when we don't have symbolic links, to make sure
9800 mswindows_stat is called on mswindows.
9802 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9804 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9806 2000-12-12 Martin Buchholz <martin@xemacs.org>
9808 * doprnt.c (emacs_doprnt_1): More printing fixes.
9809 Make printing of numbers compatible with libc and FSF Emacs.
9810 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9811 Use the system printf to do most of the hard work of formatting,
9812 instead of doprnt_1().
9813 Calculate memory to allocate for format string.
9814 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9815 (doprnt_1): Cleaner code and documentation.
9817 2000-12-01 Jerry James <james@eecs.ukans.edu>
9819 * Makefile.in.in: Use the loop variable to install headers.
9821 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9823 * window.c (Fsplit_window): Don't invalidate face cache.
9825 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9827 * minibuf.c (Fall_completions): Undo the previous change
9828 which removed checking elements start with space.
9830 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9832 * mule-canna.c: Didier suppression.
9834 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9836 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9837 (warning suppression). Add English comment translations.
9839 2000-12-05 Martin Buchholz <martin@xemacs.org>
9841 * unexelfsgi.c (unexec): Better test for mmap failure.
9843 2000-12-05 Martin Buchholz <martin@xemacs.org>
9845 * XEmacs 21.2.38 is released.
9847 2000-12-05 Martin Buchholz <martin@xemacs.org>
9849 * redisplay.c (bar-cursor): Make a user variable.
9851 * symsinit.h: Add init_postgresql_from_environment.
9853 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9855 * regex.c: Convert to clean C.
9857 2000-12-05 Dan Holmsand <dan@eyebee.com>
9860 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9862 (sys_readlink): renamed to system_readlink to avoid conflict with
9863 the other sys_readlink.
9865 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9867 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9869 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9871 * postgresql.c (init_postgresql_from_environment): new function.
9872 (vars_of_postgresql): Move code initializing Lisp variables out and
9873 into init_postgresql_from_environment.
9874 emacs.c (main_1): Call init_postgresql_from_environment if and only
9875 if running a dumped XEmacs.
9877 2000-08-31 Dan Holmsand <dan@eyebee.com>
9879 * buffer.c: Make find-file-compare-truenames default to true on
9882 * realpath.c (win32_abs_start):
9884 (win32_readlink): New functions.
9885 (xrealpath): Return really real filenames on windows.
9887 * fileio.c (Ffile_truename): Make file-truename work on windows.
9889 2000-11-29 Didier Verna <didier@xemacs.org>
9891 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9892 * faces.c (update_face_cachel_data): use it.
9893 * faces.c (add_face_cachel): use it. Complete background pixmap
9894 frobbing in face cache if `update_face_cachel_data' has not done so.
9896 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9898 * search.c (string_match_1): Don't set last_thing_searched
9901 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9903 * buffer.c: Include casetab.h
9904 (common_init_complex_vars_of_buffer): Use new case-table object.
9905 * buffer.h: Include casetab.h
9906 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9907 (DOWNCASE_TABLE_OF): Ditto.
9908 * bufslots.h: Remove char-tables and add case-table.
9909 * casetab.c: Include casetab.h
9910 (CASE_TABLE_P): Removed.
9911 (mark_case_table): New function.
9912 (allocate_case_table): New function.
9913 (Fcase_table_p): Use new case-table.
9914 (case_table_char): New function.
9915 (Fget_case_table): Ditto.
9916 (Fput_case_table): Ditto.
9917 (Fput_case_table_pair): Ditto.
9918 (Fcopy_case_table): Ditto.
9919 (Fcurrent_case_table): Return case-table.
9920 (Fstandard_case_table): Return case-table.
9921 (Fset_case_table): Fix doc-string.
9922 (set_case_table): Use case-table
9923 (syms_of_casetab): DEFSUBR new functions.
9924 (complex_vars_of_casetab): Set up standard case-table.
9925 * casetab.h: New file.
9926 * editfns.c: Include casetab.h
9927 (Fcompare_buffer_substrings): Use case-table.
9928 * inline.c: Include casetab.h
9929 * lisp.h: Remove bogus extern.
9930 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9931 * search.c: Include casetab.h
9932 (TRANSLATE_ASCII): Removed.
9933 (TRANSLATE): Unconditionally translate character.
9934 (looking_at_1): Use case-table.
9935 (string_match_1): Ditto.
9936 (fast_string_match): Ditto.
9937 (search_command): Ditto.
9938 (search_buffer): Separate boyer_moore. Check whether
9939 boyer_moore is possible.
9940 (simple_search): New function.
9941 (boyer_moore): Separated from search_buffer. Translate char.
9943 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9945 * regex.c (RE_TR_ASCII): Removed.
9946 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9947 (PATFETCH): Call PATFETCH_RAW.
9948 (PATFETCH_RAW): Fetch Emchar.
9949 (PATUNFETCH): Decrement charptr.
9950 (GET_BUFFER_SPACE): Rename b to buf_end.
9952 (BUF_PUSH_2): Ditto.
9953 (BUF_PUSH_3): Ditto.
9954 (EXTEND_BUFFER): Ditto.
9955 (SET_LIST_BIT): Ditto.
9956 (regex_compile): Ditto. Translate non ASCII char.
9957 (compile_range): Ditto.
9958 (re_search_2): Ditto.
9959 (re_match_2_internal): Compare Emchar.
9960 (bcmp_translate): Ditto.
9962 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9964 * lisp.h (basic char/int typedefs): comment improvement.
9966 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9968 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9969 unstomp inhibit_site_lisp. Improve comments.
9971 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9973 * mule-charset.c (Fcharset_property): improve type checking, comments.
9975 2000-11-28 Andy Piper <andy@xemacs.org>
9977 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9978 clipped display for windows in the gutter also.
9979 (redisplay_display_boxes_in_window_p): change semantics of return
9980 codes to be more intuitive.
9982 * gutter.h: declare display_boxes_in_gutter_p.
9984 * gutter.c (display_boxes_in_gutter_p): new function for
9987 2000-11-22 Andy Piper <andy@xemacs.org>
9989 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9992 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9994 * callproc.c (Fold_call_process_internal):
9995 * gpm.c (Freceive_gpm_event):
9996 (tty_get_foreign_selection): Might be just warning supression.
9997 * fileio.c (Fwrite_region_internal):
9998 (Fset_visited_file_modtime):
9999 * keymap.c (event_matches_key_specifier_p):
10000 Initialize GCPROed variable.
10002 * menubar-x.c (command_builder_find_menu_accelerator):
10003 Initialize before use.
10005 2000-11-23 Andy Piper <andy@xemacs.org>
10007 * unexcw.c (unexec): make the resulting executable executable.
10009 2000-11-21 Martin Buchholz <martin@xemacs.org>
10011 * doc.c (get_doc_string):
10012 Use size_t, not int, for result of XSTRING_LENGTH.
10014 * cmds.c (Fdelete_char):
10015 * cmds.c (Fpoint_at_eol):
10016 * cmds.c (Fself_insert_command):
10017 Use EMACS_INT, not int, for result of XINT.
10018 Someday, someone will want to insert more than 2**31 identical characters.
10020 * cmds.c (Fdelete_char):
10021 * cmds.c (Fdelete_backward_char):
10022 * syntax.c (Fforward_word):
10023 * syntax.c (Fforward_comment):
10024 Make COUNT argument optional, for consistency with forward-char et al.
10026 2000-11-22 Martin Buchholz <martin@xemacs.org>
10029 * print.c (long_to_string):
10030 Return a useful value: the pointer at end of data written.
10033 Use `static const char * const' for constant strings.
10034 (union printf_arg): Delete `i', `ui' members.
10037 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10038 Do all printf-ing via the `l' specifier.
10039 Use EMACS_INT instead of int.
10042 2000-11-20 Didier Verna <didier@xemacs.org>
10044 * faces.c (update_face_cachel_data): don't frob the background
10045 pixmap when the window is being created. The face is needed but
10046 does not exist yet.
10048 2000-11-20 Andy Piper <andy@xemacs.org>
10050 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10051 messing with a debug environment.
10053 2000-11-20 Martin Buchholz <martin@xemacs.org>
10055 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10057 2000-11-20 Martin Buchholz <martin@xemacs.org>
10059 * casetab.c (Fcase_table_p): Fix compile error and crash.
10061 2000-11-18 Philip Aston <philipa@mail.com>
10063 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10065 2000-11-18 Martin Buchholz <martin@xemacs.org>
10067 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10068 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10070 2000-11-17 Martin Buchholz <martin@xemacs.org>
10072 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10073 * unexelf.c: Use HAVE_ELF_H.
10074 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10075 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10076 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10077 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10079 So this is an unexelfsgi.c from a different line of development.
10081 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10083 * regex.c (RE_TR_ASCII): New function.
10084 (RE_TRANSLATE): Call it.
10086 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10088 * buffer.h (TRT_TABLE_OF): Remove assert.
10089 (IN_TRT_TABLE_DOMAIN): Removed.
10091 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10093 * free-hook.c (log_gcpro):
10094 (show_gcprohist): Add support for GCPRO5.
10096 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10098 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10100 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10102 * symeval.h: Declare flush_all_buffer_local_cache.
10104 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10105 (flush_buffer_local_cache): Added.
10106 (flush_all_buffer_local_cache): Added.
10108 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10110 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10111 (pdump_dump_data): Ditto.
10112 (pdump_reloc_one): Ditto.
10113 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10117 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10119 * buffer.c: Remove if 0'ed entry.
10120 * buffer.h: Rewrite TRT to use char-table.
10121 * bufslots.h: Remove mirror tables.
10122 * casetab.c: Remove mirror tables.
10123 (CASE_TABLE_P): New macro.
10124 (Fcase_table_p): Element of a case table is string or char-table.
10125 (make_mirror_trt_table): Removed.
10126 (set_case_table): Setup char-table from strings for backward
10128 * dired.c (Fdirectory_files):
10129 * dired-msw.c: (mswindows_get_files):
10130 * lisp.h: Change prototype of re_pattern_buffer.
10131 * regex.c: (RE_TRANSLATE): New macro.
10132 (TRANSLATE_P): Ditto.
10133 Change translate to type RE_TRANSLATE_TYPE.
10134 * regex.h: Define RE_TRANSLATE_TYPE
10135 * search.c (TRANSLATE): New macro.
10136 (TRANSLATE_ASCII): New macro.
10137 Translate table is changed to Lisp_Object.
10138 (signal_failure): Inhibit return.
10140 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10147 Do UNGCPRO before return.
10149 2000-11-14 Martin Buchholz <martin@xemacs.org>
10151 * XEmacs 21.2.37 is released.
10153 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10155 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10156 Add comments about discarded return value.
10158 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10161 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10163 2000-10-27 Andy Piper <andy@xemacs.org>
10165 * gutter.c (Fset_default_gutter_position): default left and right
10166 gutters to visible.
10167 (calculate_gutter_size): calculate resonable heuristic for left
10168 and right gutter sizes.
10169 (specifier_vars_of_gutter): change left and right gutter sizes to
10171 (calculate_gutter_size_from_display_lines): new function.
10172 (output_gutter): check for resizing on left and right gutters.
10173 (clear_gutter): don't special case top and left gutters.
10174 (specifier_vars_of_gutter): use new signature for
10175 set_specifier_caching.
10177 * glyphs-x.c (x_redisplay_widget): spelling fix.
10178 * glyphs.c (specifier_vars_of_glyphs):
10179 * menubar.c (specifier_vars_of_menubar):
10180 * redisplay.c (specifier_vars_of_redisplay):
10181 * toolbar.c (specifier_vars_of_toolbar):
10182 * window.c (specifier_vars_of_window):
10183 * scrollbar.c (specifier_vars_of_scrollbar):
10184 (complex_vars_of_scrollbar): use new signature for
10185 set_specifier_caching.
10187 * specifier.c (set_specifier_caching): include recompute flag.
10188 (recompute_one_cached_specifier_in_window): always recompute if
10190 (recompute_one_cached_specifier_in_frame): ditto.
10192 * specifier.h (struct specifier_caching): add recompute flag.
10194 2000-10-24 Andy Piper <andy@xemacs.org>
10196 * unexcw.c (copy_executable_and_dump_data_section): add new
10197 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10200 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10202 * console-x.h (x_device): New member modifier_release_time.
10203 * event-Xt.c (x_handle_sticky_modifiers):
10204 Bound interval modifier keys are sticky.
10205 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10206 * events.h: extern it.
10208 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10210 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10212 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10214 * event-stream.c (execute_command_event): Preserve current_events
10215 and the like when event is misc-user-event.
10216 Inhibit quit during the call to maybe_echo_keys.
10218 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10220 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10221 symlink when buffer is killed.
10222 (inhibit_clash_detection): New variable.
10224 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10226 * console.c (Fset_input_method): Trigger redisplay on tty.
10228 2000-11-07 Martin Buchholz <martin@xemacs.org>
10230 * process.c (Fprocess_status): Revert to previous behavior:
10231 (process-status "nosuchprocess") ==> nil
10233 2000-11-06 Martin Buchholz <martin@xemacs.org>
10235 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10236 Work around another GCC 2.95.2 optimizer bug.
10238 2000-11-02 Martin Buchholz <martin@xemacs.org>
10240 * process.c (Fget_process): Use LIST_LOOP_2.
10241 (kill_buffer_processes): Use LIST_LOOP_2.
10243 * minibuf.c (Fall_completions):
10244 Delete old non-functional code for FSF fourth argument.
10246 * frame.c (frame_matches_frame_spec):
10247 Renamed from `frame_matches_frametype'. Update all callers.
10248 (device_matches_device_spec):
10249 Renamed from 'device_matches_console_spec'. Update all callers.
10251 * doc.c (Fsubstitute_command_keys):
10252 Remove buffer overflow crash. Small code cleanups.
10254 * casetab.c (check_case_table): Simpler code.
10256 * window.c (Freplace_buffer_in_windows):
10257 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10258 (and similar implementation) as Fdelete_windows_on.
10259 Update all callers.
10261 * alloc.c (Fmake_list):
10262 * alloc.c (make_vector):
10263 * alloc.c (Fmake_vector):
10264 * alloc.c (make_bit_vector):
10265 * alloc.c (Fmake_bit_vector):
10266 * alloc.c (Fbit_vector):
10267 * alloc.c (Fmake_string):
10268 * alloc.c (Fpurecopy):
10269 * alloc.c (Fmemory_limit):
10271 * buffer.c (Fget_buffer):
10272 * buffer.c (Fkill_buffer):
10273 * buffer.c (complex_vars_of_buffer):
10274 * bytecode.c (Fcompiled_function_stack_depth):
10275 * callint.c (Fprefix_numeric_value):
10277 * event-stream.c (Fread_key_sequence):
10279 * casetab.c (Fcase_table_p):
10280 * casetab.c (check_case_table):
10281 * casetab.c (Fset_case_table):
10282 * casetab.c (Fset_standard_case_table):
10284 * chartab.c (Fchar_table_type):
10285 * chartab.c (Freset_char_table):
10286 * chartab.c (Fget_char_table):
10287 * chartab.c (Fget_range_char_table):
10288 * chartab.c (Fput_char_table):
10289 * chartab.c (Fmap_char_table):
10290 * chartab.c (Fcategory_table_p):
10291 * chartab.c (Fcheck_category_at):
10292 * chartab.c (Fchar_in_category_p):
10293 * chartab.c (Fcategory_table):
10294 * chartab.c (Fcopy_category_table):
10295 * chartab.c (Fset_category_table):
10296 * chartab.c (Fcategory_designator_p):
10297 * chartab.c (Fcategory_table_value_p):
10298 * cmds.c (Fdelete_char):
10299 * cmds.c (Fdelete_backward_char):
10300 * cmds.c (Fself_insert_command):
10301 * cmds.c (Fself_insert_internal):
10302 * console.c (Fvalid_console_type_p):
10303 * console.c (Fcdfw_console):
10304 * console.c (Fconsole_type):
10305 * console.c (Fconsole_name):
10306 * console.c (Fconsole_device_list):
10307 * console.c (Fconsole_on_window_system_p):
10310 * data.c (Fold_eq):
10311 * data.c (Fsubr_interactive):
10312 * data.c (Fchar_to_int):
10313 * data.c (Fint_to_char):
10314 * data.c (Fsetcar):
10315 * data.c (Fsetcdr):
10316 * data.c (Fnumber_to_string):
10317 * data.c (Fstring_to_number):
10319 * database.c (mark_database):
10320 * database.c (finalize_database):
10321 * database.c (Fdatabase_live_p):
10322 * database.c (Fdatabasep):
10323 * device-x.c (Fx_get_resource):
10324 * device.c (Fdfw_device):
10326 * dired.c (Ffile_name_completion):
10327 * dired.c (Ffile_name_all_completions):
10328 * dired.c (Fuser_name_completion):
10329 * dired.c (Fuser_name_completion_1):
10330 * dired.c (Fuser_name_all_completions):
10331 * doc.c (Fdocumentation):
10332 * doc.c (Fdocumentation_property):
10333 * doc.c (Fsubstitute_command_keys):
10335 * editfns.c (Fchar_to_string):
10336 * editfns.c (Fstring_to_char):
10337 * editfns.c (Ftemp_directory):
10338 * editfns.c (Finsert_char):
10339 * editfns.c (Fbuffer_substring_no_properties):
10340 * editfns.c (Fnarrow_to_region):
10341 * editfns.c (Fchar_equal):
10342 * editfns.c (Fchar_Equal):
10343 * editfns.c (Ftranspose_regions):
10344 * emacs.c (Fdump_emacs):
10346 * eval.c (Fcommand_execute):
10347 * eval.c (Fautoload):
10348 * eval.c (Fbacktrace):
10349 * eval.c (Fbacktrace_frame):
10351 * events.c (Fcopy_event):
10352 * events.c (Fcharacter_to_event):
10353 * events.c (Fevent_button):
10354 * events.c (Fevent_process):
10356 * extents.c (Fnext_extent_change):
10357 * extents.c (Fextent_property):
10358 * faces.c (Ffacep):
10359 * faces.c (Fmake_face):
10361 * file-coding.c (Fencode_shift_jis_char):
10362 * file-coding.c (Fencode_big5_char):
10363 * fileio.c (Ffile_name_directory):
10364 * fileio.c (Ffile_name_nondirectory):
10365 * fileio.c (Ffile_name_as_directory):
10366 * fileio.c (Fdirectory_file_name):
10367 * fileio.c (Ffile_truename):
10368 * fileio.c (Fsubstitute_in_file_name):
10369 * fileio.c (Ffile_modes):
10370 * fileio.c (Fset_file_modes):
10371 * fileio.c (Fset_default_file_modes):
10372 * fileio.c (Fverify_visited_file_modtime):
10373 * floatfns.c (Facos):
10374 * floatfns.c (Fasin):
10375 * floatfns.c (Fatan):
10376 * floatfns.c (Fcos):
10377 * floatfns.c (Fsin):
10378 * floatfns.c (Ftan):
10379 * floatfns.c (Fbessel_j0):
10380 * floatfns.c (Fbessel_j1):
10381 * floatfns.c (Fbessel_jn):
10382 * floatfns.c (Fbessel_y0):
10383 * floatfns.c (Fbessel_y1):
10384 * floatfns.c (Fbessel_yn):
10385 * floatfns.c (Ferf):
10386 * floatfns.c (Ferfc):
10387 * floatfns.c (Flog_gamma):
10388 * floatfns.c (Fexp):
10389 * floatfns.c (Fexpt):
10390 * floatfns.c (Flog):
10391 * floatfns.c (Flog10):
10392 * floatfns.c (Fsqrt):
10393 * floatfns.c (Fcube_root):
10394 * floatfns.c (Facosh):
10395 * floatfns.c (Fasinh):
10396 * floatfns.c (Fatanh):
10397 * floatfns.c (Fcosh):
10398 * floatfns.c (Fsinh):
10399 * floatfns.c (Ftanh):
10400 * floatfns.c (Fabs):
10401 * floatfns.c (Ffloat):
10402 * floatfns.c (Flogb):
10403 * floatfns.c (Fceiling):
10404 * floatfns.c (Ffloor):
10405 * floatfns.c (Fround):
10406 * floatfns.c (Ftruncate):
10407 * floatfns.c (Ffceiling):
10408 * floatfns.c (Fffloor):
10409 * floatfns.c (Ffround):
10410 * floatfns.c (Fftruncate):
10411 * fns.c (Fstring_equal):
10412 * fns.c (Fstring_lessp):
10415 * fns.c (vconcat2):
10416 * fns.c (vconcat3):
10417 * fns.c (Fsubstring):
10419 * fns.c (Fold_assoc):
10420 * fns.c (assoc_no_quit):
10422 * fns.c (Fold_assq):
10423 * fns.c (assq_no_quit):
10425 * fns.c (Fold_rassoc):
10427 * fns.c (Fold_rassq):
10428 * fns.c (rassq_no_quit):
10429 * fns.c (Fremassoc):
10430 * fns.c (remassoc_no_quit):
10431 * fns.c (Fremassq):
10432 * fns.c (remassq_no_quit):
10433 * fns.c (Fremrassoc):
10434 * fns.c (Fremrassq):
10435 * fns.c (remrassq_no_quit):
10437 * fns.c (Fplist_get):
10438 * fns.c (Fplist_put):
10439 * fns.c (Fplist_remprop):
10440 * fns.c (Fplist_member):
10441 * fns.c (Flax_plist_get):
10442 * fns.c (Flax_plist_put):
10443 * fns.c (Flax_plist_remprop):
10444 * fns.c (Flax_plist_member):
10446 * fns.c (Fold_equal):
10447 * fns.c (Frequire):
10448 * fns.c (Fbase64_encode_region):
10449 * fns.c (Fbase64_encode_string):
10450 * fns.c (Fbase64_decode_region):
10452 * frame.c (frame_matches_frame_spec):
10453 * frame.c (device_matches_device_spec):
10454 * frame.c (next_frame):
10455 * frame.c (previous_frame):
10456 * frame.c (Fnext_frame):
10457 * frame.c (Fprevious_frame):
10458 * frame.c (Fframe_property):
10459 * frame.c (Fset_frame_height):
10460 * frame.c (Fset_frame_size):
10464 * glyphs.c (decode_error_behavior_flag):
10465 * glyphs.c (Fmake_image_instance):
10466 * indent.c (Findent_to):
10467 * intl.c (Fignore_defer_gettext):
10468 * keymap.c (Fkeymapp):
10469 * keymap.c (Flookup_key):
10471 * lread.c (Fload_internal):
10472 * lread.c (Feval_buffer):
10473 * lread.c (Feval_region):
10474 * macros.c (Fexecute_kbd_macro):
10475 * marker.c (set_marker_internal):
10476 * marker.c (Fset_marker):
10477 * marker.c (set_marker_restricted):
10478 * marker.c (Fcopy_marker):
10479 * marker.c (noseeum_copy_marker):
10481 * menubar.c (Fpopup_menu):
10483 * mule-charset.c (Fcharset_name):
10484 * mule-charset.c (Fchar_charset):
10485 * mule-charset.c (Fchar_octet):
10486 * mule-charset.c (Fsplit_char):
10487 * mule-wnnfns.c (Fwnn_open):
10488 * mule-wnnfns.c (Fwnn_dict_comment):
10489 * mule-wnnfns.c (Fwnn_quit_henkan):
10490 * mule-wnnfns.c (Fwnn_word_toroku):
10491 * mule-wnnfns.c (Fwnn_word_sakujo):
10492 * mule-wnnfns.c (Fwnn_word_use):
10493 * mule-wnnfns.c (Fwnn_hindo_set):
10495 * objects.c (Fmake_color_instance):
10496 * objects.c (Fmake_font_instance):
10497 * print.c (Fwrite_char):
10499 * process.c (mark_process):
10500 * process.c (print_process):
10501 * process.c (get_process_from_usid):
10502 * process.c (Fprocessp):
10503 * process.c (Fprocess_live_p):
10504 * process.c (Fget_process):
10505 * process.c (Fget_buffer_process):
10506 * process.c (get_process):
10507 * process.c (Fprocess_id):
10508 * process.c (Fprocess_name):
10509 * process.c (Fprocess_command):
10510 * process.c (init_process_io_handles):
10511 * process.c (start_process_unwind):
10512 * process.c (Fstart_process_internal):
10513 * process.c (Fopen_multicast_group_internal):
10514 * process.c (Fset_process_window_size):
10515 * process.c (read_process_output):
10516 * process.c (send_process):
10517 * process.c (Fprocess_tty_name):
10518 * process.c (Fset_process_buffer):
10519 * process.c (Fprocess_buffer):
10520 * process.c (Fprocess_mark):
10521 * process.c (set_process_filter):
10522 * process.c (Fset_process_filter):
10523 * process.c (Fprocess_filter):
10524 * process.c (Fprocess_send_region):
10525 * process.c (Fprocess_send_string):
10526 * process.c (exec_sentinel):
10527 * process.c (Fset_process_sentinel):
10528 * process.c (Fprocess_sentinel):
10529 * process.c (status_notify):
10530 * process.c (Fprocess_status):
10531 * process.c (Fprocess_exit_status):
10532 * process.c (process_send_signal):
10533 * process.c (Fprocess_send_eof):
10534 * process.c (deactivate_process):
10535 * process.c (remove_process):
10536 * process.c (Fdelete_process):
10537 * process.c (kill_buffer_processes):
10538 * process.c (Fprocess_kill_without_query):
10539 * process.c (Fprocess_kill_without_query_p):
10541 * rangetab.c (Fget_range_table):
10542 * rangetab.c (Fput_range_table):
10543 * rangetab.c (Fremove_range_table):
10544 * rangetab.c (Fclear_range_table):
10546 * search.c (Fskip_chars_forward):
10547 * search.c (Fskip_chars_backward):
10548 * search.c (Fskip_syntax_forward):
10549 * search.c (Fskip_syntax_backward):
10550 * search.c (search_command):
10551 * search.c (Freplace_match):
10552 * search.c (Fregexp_quote):
10553 * select.c (Fown_selection_internal):
10554 * select.c (Fselection_owner_p):
10555 * select.c (Fselection_exists_p):
10556 * select.c (Fget_selection_internal):
10559 * symbols.c (Fintern):
10560 * symbols.c (Fintern_soft):
10561 * symbols.c (Funintern):
10562 * symbols.c (Fapropos_internal):
10563 * symbols.c (Fset_default):
10565 * syntax.c (Fsyntax_table_p):
10566 * syntax.c (Fcopy_syntax_table):
10567 * syntax.c (Fset_syntax_table):
10568 * syntax.c (Fchar_syntax):
10569 * syntax.c (syntax_match):
10570 * syntax.c (Fmatching_paren):
10571 * syntax.c (Fforward_word):
10572 * syntax.c (scan_lists):
10573 * syntax.c (Fscan_lists):
10574 * syntax.c (Fscan_sexps):
10575 * syntax.c (Fparse_partial_sexp):
10576 * toolbar.c (Fcheck_toolbar_button_syntax):
10579 * window.c (Fwindowp):
10580 * window.c (Fwindow_live_p):
10581 * window.c (Fwindow_point):
10582 * window.c (Fdelete_window):
10583 * window.c (Fnext_window):
10584 * window.c (Fprevious_window):
10585 * window.c (Fother_window):
10586 * window.c (window_loop):
10587 * window.c (Fget_lru_window):
10588 * window.c (Fsplit_window):
10589 * window.c (Fenlarge_window):
10590 * window.c (Fenlarge_window_pixels):
10591 * window.c (Fshrink_window):
10592 * window.c (Fshrink_window_pixels):
10593 * window.c (change_window_height):
10594 * window.c (Fwindow_configuration_p):
10595 * window.c (Fcurrent_window_configuration):
10597 * casefiddle.c (casify_object):
10598 * casefiddle.c (Fupcase):
10599 * casefiddle.c (Fdowncase):
10600 * casefiddle.c (Fcapitalize):
10601 * casefiddle.c (Fupcase_initials):
10602 * casefiddle.c (casify_region_internal):
10603 * casefiddle.c (casify_region):
10604 * casefiddle.c (Fupcase_region):
10605 * casefiddle.c (Fdowncase_region):
10606 * casefiddle.c (Fcapitalize_region):
10607 * casefiddle.c (Fupcase_initials_region):
10608 * casefiddle.c (Fupcase_word):
10609 * casefiddle.c (Fdowncase_word):
10610 * casefiddle.c (Fcapitalize_word):
10611 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10612 Replace 0 with '\0' when working with bytes.
10613 Replace initial "(" with "\(" in docstrings.
10615 2000-11-01 Martin Buchholz <martin@xemacs.org>
10617 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10619 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10621 2000-10-31 Martin Buchholz <martin@xemacs.org>
10623 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10625 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10627 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10630 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10632 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10633 (inhibit_auto_save_session): New variable.
10634 (vars_of_fileio): Declare and initialize them.
10635 * fileio.c (Fdo_auto_save): Don't create session file if
10636 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10638 2000-10-31 Martin Buchholz <martin@xemacs.org>
10640 * sgiplay.c (play_internal): C++ compilability.
10641 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10642 * callproc.c (Fold_call_process_internal):
10643 Remove unused vars `env', `first'.
10644 * scrollbar.c (update_scrollbar_instance):
10645 #### unused var `current_window'.
10646 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10647 etc. within #ifdef NOT_YET.
10648 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10649 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10650 * specifier.c (specifier_instance):
10651 #### unused var `tag'.
10652 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10654 2000-10-27 Martin Buchholz <martin@xemacs.org>
10656 * fns.c (Fbutlast):
10657 * fns.c (list_sort):
10658 * fns.c (Ffillarray):
10659 * fns.c (bytecode_nconc2):
10662 * fns.c (Fmapconcat):
10663 Be pedantically 64-bit correct. For the time when someone will
10664 want to have a list with length > 2**32.
10666 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10667 Work around MIPSpro compiler bug.
10669 * process-unix.c (unix_kill_child_process): Add snarky comment.
10670 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10672 * config.h.in: Oops, _getpt ==> _getpty
10674 2000-10-26 Martin Buchholz <martin@xemacs.org>
10678 Use void*, not char*, as return type of alloca().
10680 * alloc.c (free_marker): Side effect inside assert expression!
10682 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10684 * mule-charset.c (Fset_charset_ccl_program): To check
10685 if the given ccl program is valid, use setup_ccl_program()
10686 instead of CHECK_VECTOR().
10687 (Fmake_charset): Likewise.
10689 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10691 * faces.c (get_extent_fragment_face_cache_index):
10692 Fix cachel.merged_faces memory leak.
10694 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10696 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10697 Reset MSB of octets obtained by DECODE_SJIS
10698 because of the incompatibility with Emacs.
10699 (ccl_driver)<CCL_ENCODE_SJIS>:
10700 Set MSB of octets before passing them to
10701 ENCODE_SJIS because of the incompatibility
10704 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10706 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10707 (DECLARE_LRECORD): Undo the last change.
10708 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10710 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10712 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10713 the implementation to lrecord_implementations_table.
10715 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10717 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10718 initial value of `lrecord_type_##c_name' and
10719 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10720 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10721 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10722 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10723 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10725 2000-10-17 Martin Buchholz <martin@xemacs.org>
10727 * miscplay.c (sndcnv8S_2mono):
10728 (sndcnv2monounsigned):
10729 (sndcnvULaw_2linear):
10731 Remove implementation-defined behavior.
10733 2000-10-12 Martin Buchholz <martin@xemacs.org>
10735 * input-method-xlib.c: Warning suppression.
10737 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10739 * mule-ccl.c: Sync up with Emacs 21.0.90.
10740 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10742 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10744 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10745 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10746 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10747 leading char belongs to official 2-dimensional charset.
10748 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10749 write the given character as is. Otherwise,
10750 if it is a multibyte char, convert it by
10751 non_ascii_set_charptr_emchar, then write it.
10752 (CCL_WRITE_STRING): Likewise.
10753 (ccl_get_compiled_code): New function.
10754 (setup_ccl_program): When ccl_prog is invalid,
10756 (Fregister_code_conversion_map): New function.
10757 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10759 * mule-ccl.h: Sync up with Emacs 21.0.90.
10760 (Fregister_ccl_program): export it.
10762 * redisplay-msw.c (separate_textual_runs):
10763 If ccl program is not valid, don't do ccl conversion.
10765 * redisplay-x.c (separate_textual_runs): Ditto.
10767 * file-coding.c (Fmake_coding_system):
10768 When type is ccl and value is vector, register it
10769 with a proper symbol. And checks whether the
10770 given ccl program is valid.
10771 (mule_decode): When calling ccl_driver, if src indicates
10772 NULL pointer, set an empty string instead.
10773 (mule_encode): Likewise.
10775 2000-10-11 Martin Buchholz <martin@xemacs.org>
10777 The following large batch of changes gets us back to a state of
10778 C++ compilability. Extbyte is now a char, which means that
10779 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10781 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10783 * sound.c (Fplay_sound): Type correctness.
10785 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10786 (x_get_window_property): Type correctness.
10787 (receive_incremental_selection): unsigned char ==> Extbyte
10788 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10789 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10790 (Fx_store_cutbuffer_internal): Type correctness.
10792 * process-unix.c (try_to_initialize_subtty): Type correctness.
10794 * objects-x.c (x_print_color_instance): Type correctness.
10795 (x_print_font_instance): Type correctness.
10796 (x_list_fonts): SExtbyte ==> Extbyte.
10797 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10798 (x_find_charset_font): SExtbyte ==> Extbyte.
10799 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10800 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10801 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10802 Use bufbyte_strcmp.
10804 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10805 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10806 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10807 (BYTE_C0_P): Use bit ops for char-signedness safety.
10808 (BYTE_C1_P): Use bit ops for char-signedness safety.
10809 (CHARSET_BY_LEADING_BYTE):
10810 (CHARSET_BY_ATTRIBUTES):
10811 Always use inline function.
10812 Use type_checking_assert.
10815 * mule-charset.c (non_ascii_charptr_copy_char):
10816 Modify to work with both ASCII and non-ASCII characters.
10817 Improve docs and variable names.
10818 Replace over-clever fall-through switch with a simple loop.
10819 (Lstream_get_emchar_1):
10820 Replace over-clever fall-through switch with a simple loop.
10822 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10823 Warning suppression.
10825 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10826 the return value of Lstream_getc, which could be EOF as well.
10828 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10830 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10831 APIs can be used on Extbytes without casts. Risky!
10832 (SExtbyte): Remove.
10833 (UExtbyte): Remove.
10835 * input-method-xlib.c (XIM_init_device):
10836 Use Xlib.h instead of IntrinsicP.h.
10837 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10838 which will break in X11R7.
10839 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10840 to call XRegisterIMInstantiateCallback with correct types.
10842 * gui-x.c (button_item_to_widget_value): Type correctness.
10844 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10846 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10847 (xbm_instantiate_1): Type correctness.
10848 (BUILD_GLYPH_INST): Type correctness.
10850 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10853 (decode_coding_sjis):
10854 (decode_coding_big5):
10855 (decode_coding_ucs4):
10856 (decode_coding_utf8):
10857 (decode_coding_iso2022):
10858 (decode_coding_no_conversion):
10859 Make all decoding functions take an Extbyte * arg.
10860 (encode_coding_sjis):
10861 (encode_coding_big5):
10862 (encode_coding_ucs4):
10863 (encode_coding_utf8):
10864 (encode_coding_iso2022):
10865 (encode_coding_no_conversion):
10866 Make all encoding functions take a Bufbyte * arg.
10867 Use size_t instead of unsigned int for memory sizes.
10868 Only cast to unsigned char whenever dereferencing Extbyte *.
10870 * doc.c (unparesseuxify_doc_string): Type correctness.
10872 * console-x.c (split_up_display_spec):
10873 Rewrite without using details of internal string representation.
10874 (x_semi_canonicalize_device_connection): Type correctness.
10877 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10878 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10879 (HAVE_XFREE386): Removed.
10881 * buffer.h (DEC_CHARPTR): `const' correctness.
10882 (bufbyte_strcmp): New.
10883 (bufbyte_memcmp): New.
10885 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10887 * buffer.h (XCHAR_OR_CHAR_INT):
10888 Always use inline function.
10889 Remove redundant type checking assert() - XINT will abort quite nicely.
10891 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10893 * search.c (Freplace_match): Set newtext to an empty string.
10895 2000-10-10 Martin Buchholz <martin@xemacs.org>
10897 * s/decosf1-3.h: Remove #include of stropts.h
10898 * s/ptx.h: Remove #include of stropts.h
10899 * s/usg5-4.h: Remove #include of stropts.h
10902 Use stropts.h, not sys/stropts.h.
10903 Use strtio.h, not sys/strtio.h.
10905 2000-10-04 Martin Buchholz <martin@xemacs.org>
10907 * XEmacs 21.2.36 is released.
10909 2000-09-21 Andy Piper <andy@xemacs.org>
10911 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10912 changes still involve copying the widget tree.
10913 (update_widget_face): make sure a change is register in the widget
10914 tree. Call update_tab_widget_face appropriately.
10915 (update_tab_widget_face): ditto.
10916 (x_tab_control_redisplay): make sure non-structural changes still
10917 involve copying the widget tree.
10919 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10921 * lread.c (locate_file): Check the path element is non-nil.
10923 2000-10-02 Martin Buchholz <martin@xemacs.org>
10925 * lisp.h: Warning suppression for SCO compilers.
10927 * redisplay-tty.c (reset_tty_modes): Fix crash.
10928 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10930 2000-09-27 Martin Buchholz <martin@xemacs.org>
10932 Big signal/process handling overhaul. Bugs fixed:
10933 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10934 M-x comint-kill-subjob should work for both values nil and t of
10935 process-connection-type. It was broken on most platforms.
10936 Testing on Irix and Cygwin still needed. Other plaforms tested.
10937 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10938 * process-unix.c: Signal/Process handling overhaul.
10939 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10940 (allocate_pty): Use all available modern methods of allocating
10941 ptys, falling back to old style BSD allocation as a last resort.
10942 Use allegedly more secure Unix98 pty allocation by default.
10943 (allocate_pty_the_old_fashioned_way): New. the last resort.
10944 (unix_create_process): Push ptem, ldterm, ttcompat where
10945 available. Autoconfiscate.
10946 (try_to_initialize_subtty): New.
10947 (unix_kill_child_process): Proper signal handling for ptys on most
10948 platforms, using special knowledge of AIX, BSD, etc...
10949 (unix_create_process): Always disconnect_controlling_terminal() for
10950 subprocesses, whether using ptys or not.
10951 * process.h: Remove old getpt-dependent PTY code.
10952 * process.c (Fprocess_send_signal): New, obvious generic function.
10953 (decode_signal): New.
10954 (Finterrupt_process):
10958 (Fcontinue_process):
10959 (Fsignal_process): Use decode_signal.
10960 (process_send_signal):
10961 Many docstring corrections.
10962 Allow any signal to be sent to a process object.
10963 * config.h.in: Add symbols for big signal/process overhaul.
10964 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10965 * sysproc.h: Include process-related headers, where available:
10966 sys/stropts.h sys/strtio.h pty.h libutil.h
10974 Remove old S&M pty stuff.
10975 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10976 * systty.h: Simplify cpp hackery, improve comments.
10977 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10979 * editfns.c (Fformat_time_string):
10980 Be a little more paranoid with the return value of ctime.
10982 * fileio.c (check_executable):
10984 Use symbolic constants X_OK, W_OK.
10986 * console-x.c (split_up_display_spec): Fix a warning.
10988 2000-10-02 Martin Buchholz <martin@xemacs.org>
10990 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10991 * ntproc.c (sys_spawnve): make_string ==> build_string
10992 Small clarity improvements.
10994 2000-09-30 Martin Buchholz <martin@xemacs.org>
10996 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10998 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11000 * config.h.in (HAVE_STRCASECMP): Remove.
11002 2000-09-29 Martin Buchholz <martin@xemacs.org>
11004 * redisplay-output.c (redisplay_output_pixmap):
11005 Cleaner and possibly more 64-bit correct code.
11007 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11009 * dumper.c (pdump_load_finish): move restoration of
11010 `noninteractive1' to emacs.c (main_1).
11011 * emacs.c (main_1): protect LISP-visible command-line flags
11014 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11016 * Makefile.in.in (versionclean): Use EXE_TARGET and
11017 DUMP_TARGET instead of literal program names.
11019 2000-09-20 Martin Buchholz <martin@xemacs.org>
11021 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11023 2000-09-19 Martin Buchholz <martin@xemacs.org>
11025 * *: Spelling mega-patch
11027 2000-09-19 Martin Buchholz <martin@xemacs.org>
11029 * fns.c (bad_bad_turtle):
11030 Delete "Eek!" comment, since we fixed the bug to which it refers.
11032 2000-09-16 Martin Buchholz <martin@xemacs.org>
11034 * alloca.c: Replace REGISTER with register.
11036 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11038 * file-coding.c (ucs_to_char): Use countof.
11040 2000-09-16 Martin Buchholz <martin@xemacs.org>
11042 * file-coding.c: (ucs_to_char):
11043 (complex_vars_of_file_coding):
11044 Use countof instead of sizeof.
11045 Use CHECK_NATNUM instead of CHECK_INT.
11047 * sysdep.c (strcasecmp): Remove.
11048 * device-x.c (ascii_strcasecmp): New.
11049 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11050 Avoid using non-standard non-portable strcasecmp.
11052 2000-09-16 Martin Buchholz <martin@xemacs.org>
11054 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11055 * font-lock.c: remove reference to emacsfns.h.
11056 * search.c: small doc improvement.
11057 * event-Xt.c: correct file names in comments.
11058 * console-x.h Correct file names in comments.
11059 * frame.c: Correct file names in comments.
11060 * event-stream.c: remove Energize from comments.
11062 2000-09-15 Martin Buchholz <martin@xemacs.org>
11064 * symeval.h (DEFERROR_STANDARD):
11067 (DEFSYMBOL_NO_DUMP):
11068 (DEFSYMBOL_MULTIWORD_PREDICATE):
11069 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11071 The construct &##name is not sensible C.
11072 Fixes compilation errors with Unixware native compiler.
11074 2000-09-14 Martin Buchholz <martin@xemacs.org>
11076 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11077 (next_frame_internal): Removed. We now just have next_frame.
11079 Write a simpler and cleaner one-pass algorithm.
11080 Remove called_from_delete_device arg and #ifdefed-out code.
11082 Renamed from prev_frame. Update callers.
11083 Cleaned up to have an analogous implementation to next_frame.
11084 (other_visible_frames_internal): Remove the
11085 called_from_delete_device bogus arg, and hence, remove this
11086 function. Just use other_visible_frames().
11088 * window.c (Fnext_window):
11089 Prettify docstring.
11090 Since next_frame() is guaranteed to return a frame, remove check
11091 for nil inserted in previous patch.
11092 (Fprevious_window):
11093 Prettify docstring.
11094 Make code look more like Fnext_window.
11096 Respect the `console' arg when iterating through windows.
11097 Fixes bug: (get-buffer-window buffer t device) not respecting
11099 This function needs more work, as others have pointed out.
11101 * frame.h: Rename prev_frame to previous_frame.
11102 device_matches_console_spec no longer takes a `frame' arg.
11107 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11108 From "Golubev I. N." <gin@mo.msk.ru>.
11110 * make-src-depend: Fix typo.
11112 2000-09-13 Martin Buchholz <martin@xemacs.org>
11114 * window.c (Fnext_window):
11115 next_frame() might return nil, not a frame.
11117 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11119 * frame.c (next_frame_internal):
11120 We've passed a frame if we've passed its device.
11122 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11123 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11125 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11127 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11128 Allow option to suppress accelerators in menu/dialog items.
11129 (populate_or_checksum_helper): Pass dialog title through above.
11131 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11133 * event-msw.c (mswindows_key_to_emacs_keysym):
11134 Add "pause" key, fix "menu" key.
11136 2000-09-09 Martin Buchholz <martin@xemacs.org>
11138 * eval.c (reinit_vars_of_eval):
11139 Increase max_lisp_eval_depth to 1000,
11140 required for thai-xtis.el to byte-compile under some circumstances.
11142 2000-09-04 Martin Buchholz <martin@xemacs.org>
11144 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11145 From Kenichi Handa.
11147 2000-09-01 Martin Buchholz <martin@xemacs.org>
11149 * make-src-depend: Make the generated Makefiles smaller.
11151 * s/hpux.h (SETUP_SLAVE_PTY):
11152 Provide a %d in the format string for the errno argument.
11154 * editfns.c (Ftemp_directory):
11156 Avoid buffer overrun on very long file name.
11158 * input-method-xlib.c (XIM_init_device):
11159 6th parameter of XRegisterIMInstantiateCallback has different
11160 pointer types on different OSes, so simply cast to (void *).
11162 * unexhp9k800.c: Warning fixes. Fiddly changes.
11164 * sysdll.c (dll_open):
11165 shl_load will hang hard if passed a NULL filename.
11166 Simply return NULL for compatibility with dlopen.
11167 * sysdll.c: Conform to XEmacs coding standards.
11169 * sysdep.c (get_pty_max_bytes):
11170 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11172 2000-08-31 Martin Buchholz <martin@xemacs.org>
11174 * tooltalk.c: Add #include <syssignal.h>
11176 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11178 * s/hpux.h: Don't use undefined function sigunblock().
11180 2000-08-31 Martin Buchholz <martin@xemacs.org>
11182 * config.h.in: Add HAVE_BALLOON_HELP.
11183 * emacs.c: Use HAVE_BALLOON_HELP.
11184 * Makefile.in.in (x_objs):
11185 Make Balloon Help conditional on finding shape.h.
11187 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11189 * syntax.c (regex_emacs_buffer_p): New variable.
11190 * syntax.h (regex_emacs_buffer_p): extern.
11191 * search.c (looking_at_1):
11193 (fast_string_match):
11194 (search_buffer): Set regex_emacs_buffer_p.
11195 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11196 when before_dot, at_dot, after_dot.
11198 2000-08-23 Andy Piper <andy@xemacs.org>
11200 * gui-x.c (popup_selection_callback): Only set action_occurred
11201 when we really have an image instance.
11202 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11204 2000-08-23 Andy Piper <andy@xemacs.org>
11206 * gui-msw.c (mswindows_handle_gui_wm_command): set
11208 * gui-x.c (popup_selection_callback): ditto.
11210 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11211 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11212 (struct Lisp_Image_Instance): add action_occurred flag.
11214 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11215 (image_instance_changed): ditto.
11216 (reset_frame_subwindow_instance_cache): only unmap windows - do
11217 not remove them from the cache also.
11219 * glyphs-widget.c (tab_control_update): better debug.
11220 (progress_gauge_update): ditto.
11221 (layout_update): ditto.
11222 (layout_instantiate): ditto.
11223 (tab_control_order_only_changed): cope with null pending items.
11225 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11226 debug. Force selection of an item when an action occurred. Cope
11227 with null pending_items.
11228 (mswindows_progress_gauge_redisplay): better debug.
11229 * glyphs-x.c (x_tab_control_redisplay): ditto.
11231 * redisplay.c (redisplay_frame): reset the frame cache if the
11234 * window.c (Fset_window_configuration): potentially re-enable
11236 (window_unmap_subwindows): need to finalize instances here since
11237 it is only used in mark_window_as_deleted.
11239 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11241 * nas.c (SndOpenDataForReading):
11242 nas.c (WaveOpenDataForReading):
11243 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11244 Somehow escaped from the 2000-08-14 patch.
11246 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11248 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11249 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11251 2000-08-21 Andy Piper <andy@xemacs.org>
11253 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11254 window if it is not already displayed.
11256 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11257 it is not already displayed.
11259 * window.c (Fset_window_configuration): don't reset the frame
11262 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11263 instances from the frame cache if we are actually finalizing them.
11264 (reset_frame_subwindow_instance_cache): reset frame cache only
11265 after unmapping everything.
11266 (map_subwindow): set displayed flag after mapping.
11268 2000-08-21 Martin Buchholz <martin@xemacs.org>
11270 * data.c (indirect_function):
11271 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11273 * eval.c (function_argcount):
11274 Use original function when signaling errors.
11276 2000-08-18 Andy Piper <andy@xemacs.org>
11278 * frame.c (delete_frame_internal): use new
11279 free_frame_subwindow_instances name.
11281 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11282 (add_tab_item): make return type correct.
11283 (mswindows_tab_control_instantiate): assert index of tab.
11284 (mswindows_tab_control_redisplay): Re-code to use
11285 gui_item_equal_sans_selected and gui_item_list_find_selected.
11287 * glyphs-widget.c (tab_control_update): Correct comment.
11289 * window.c (window_unmap_subwindows): use new
11290 unmap_subwindow_instance_cache_mapper.
11291 (window_unmap_subwindows_cache_mapper): deleted.
11292 (Fset_window_configuration): comparisons should now be with
11293 EQ. Preserve the subwindow instance cache across configuration
11295 (allocate_window): ditto.
11296 (make_dummy_parent): ditto.
11298 * glyphs.c (free_frame_subwindow_instances): rename from
11299 free_frame_subwindow_instance_cache. finalize all instances rather
11300 than just those in the display cache.
11301 (finalize_all_subwindow_instances): walk windows unmapping and
11302 finalizing subwindows.
11303 (unmap_subwindow_instance_cache_mapper): moved from
11304 window.c. Allow finalization as well as unmapping.
11306 * gui.c (gui_item_list_find_selected): new function.
11308 * gui.h (gui_item_list_find_selected): declare.
11310 * glyphs-x.c (x_tab_control_redisplay): pick tab
11311 explicitly. Re-code to use gui_item_equal_sans_selected and
11312 gui_item_list_find_selected.
11314 * glyphs-x.h: add lwlib-utils.h
11316 * buffer.c (Frecord_buffer): undo previous change.
11318 2000-08-09 Vin Shelton <acs@xemacs.org>
11320 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11321 possible. Create temporary files more securely. The patch was
11322 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11323 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11324 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11327 2000-08-07 Ben Wing <ben@xemacs.org>
11329 * getloadavg.c: remove duplicate (and windows-breaking)
11330 includes of fcntl.h and sys/file.h.
11332 * nt.c: remove duplicate getloadavg() definition.
11334 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11337 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11339 * eval.c (function_argcount): If function needs to be autoloaded
11340 actually use the loaded definition.
11343 2000-08-05 Ben Wing <ben@xemacs.org>
11345 * getloadavg.c: add prototype for getloadavg(). remove
11346 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11347 of the code). remove duplicate header includes.
11349 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11351 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11352 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11353 useful load average.
11355 * alloc.c (reinit_alloc_once_early): removed references to
11356 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11357 the lisp vars are the only things referencing the malloc_sbrk_*
11358 vars, and they were already if 0'd out. these vars only exist
11359 in the older malloc.c, which is basically unused, and they're
11360 only for informational purposes.
11362 * m\*.h: removed useless VIRT_ADDR_VARIES.
11364 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11366 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11368 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11369 color if the image is a mono pixmap.
11371 2000-07-30 Ben Wing <ben@xemacs.org>
11373 * Makefile.in.in (release):
11376 * buffer.c (directory_is_current_directory):
11377 * dired-msw.c (mswindows_get_files):
11379 * dired.c (Fdirectory_files):
11380 * dired.c (file_name_completion_stat):
11381 * dired.c (Ffile_attributes):
11382 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11383 preprocessor tricks, to avoid problems on some machines
11386 * callproc.c (egetenv): GC docs.
11389 * console-msw.h (struct mswindows_dialog_id):
11390 * lrecord.h (lrecord_type):
11391 New object for use with MSW dialogs.
11393 * console.h (struct console_methods):
11394 New enable/disable frame methods, for proper modal dialogs.
11396 * device-msw.c (msprinter_default_printer): Fix to follow
11397 proper Mule conventions.
11400 * device-msw.c (signal_open_printer_error):
11401 * device-msw.c (msprinter_init_device):
11402 * device-msw.c (ensure_not_printing):
11403 * device-msw.c (plist_get_margin):
11404 * device-msw.c (Fmsprinter_select_settings):
11405 * device-msw.c (finalize_devmode):
11406 * device-msw.c (Fmsprinter_settings_despecialize):
11407 * device-msw.c (signal_enum_priner_error):
11408 * extents.c (decode_extent):
11409 * extents.c (decode_map_extents_flags):
11410 * extents.c (decode_extent_at_flag):
11411 * extents.c (Fextent_at):
11412 * extents.c (Fextents_at):
11413 * extents.c (symbol_to_glyph_layout):
11414 [[[[2]]]] Use structured errors.
11417 * dialog-msw.c (mswindows_is_dialog_msg):
11418 * dialog-msw.c (mark_mswindows_dialog_id):
11419 * dialog-msw.c (dialog_proc):
11420 * dialog-msw.c (handle_question_dialog_box):
11421 * dialog-msw.c (syms_of_dialog_mswindows):
11422 Define new object to clean up marking; use it as a dialog identifier.
11423 Call new delete-dialog-box-hook.
11425 * dialog-x.c (dbox_selection_callback):
11426 * dialog-x.c (dbox_descriptor_to_widget_value):
11427 * dialog-x.c (x_make_dialog_box_internal):
11428 Call new delete-dialog-box-hook.
11432 * dialog.c (syms_of_dialog):
11433 * dialog.c (vars_of_dialog):
11434 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11437 * eval.c (signal_call_debugger):
11438 when noninteractive, output stack traces on the console instead
11439 of in a (never-seen) buffer.
11441 * eval.c (signal_type_error):
11442 * eval.c (invalid_argument_2):
11444 new funs for use w/structured errors.
11447 * event-Xt.c (x_to_emacs_keysym):
11448 * event-Xt.c (describe_event):
11449 * event-Xt.c (emacs_Xt_event_handler):
11450 * event-Xt.c (vars_of_event_Xt):
11452 * event-msw.c (mswindows_wnd_proc):
11453 * event-msw.c (vars_of_event_mswindows):
11454 rename {x,mswindows}-debug-events to debug-{}-events for
11455 consistency with other debug-foo variables.
11458 document next-event more clearly.
11460 * fileio.c (Ffile_name_directory):
11461 * fileio.c (Ffile_name_nondirectory):
11462 * fileio.c (Funhandled_file_name_directory):
11463 * fileio.c (file_name_as_directory):
11464 * fileio.c (Ffile_name_as_directory):
11465 * fileio.c (directory_file_name):
11466 * fileio.c (Fdirectory_file_name):
11467 * fileio.c (Fmake_temp_name):
11468 * fileio.c (Ffile_truename):
11469 * fileio.c (Fsubstitute_in_file_name):
11470 * fileio.c (expand_and_dir_to_file):
11471 * fileio.c (barf_or_query_if_file_exists):
11472 * fileio.c (check_executable):
11473 * fileio.c (Ffile_exists_p):
11474 * fileio.c (Ffile_writable_p):
11475 * fileio.c (Ffile_directory_p):
11476 * fileio.c (Ffile_regular_p):
11477 * fileio.c (Ffile_modes):
11478 * fileio.c (Ffile_newer_than_file_p):
11479 * fileio.c (Fverify_visited_file_modtime):
11480 * fileio.c (Fset_visited_file_modtime):
11481 * fileio.c (auto_save_1):
11486 * frame-msw.c (mswindows_init_frame_1):
11487 * frame-msw.c (mswindows_enable_frame):
11488 * frame-msw.c (error_frame_unsizable):
11489 * frame-msw.c (msprinter_init_frame_1):
11490 * frame-msw.c (msprinter_init_frame_3):
11491 * frame-msw.c (console_type_create_frame_mswindows):
11493 implement new enable/disable frame methods.
11496 * frame-x.c (x_enable_frame):
11497 * frame-x.c (console_type_create_frame_x):
11498 implement new enable/disable frame methods.
11501 * frame.c (Fdisable_frame):
11502 * frame.c (syms_of_frame):
11503 * frame.h (struct frame):
11504 implement new enable/disable frame methods/functions.
11509 * glyphs-msw.c (mswindows_widget_instantiate):
11510 comment that initial-focus should be implemented.
11513 * glyphs-widget.c (check_valid_instantiator):
11514 * glyphs-widget.c (check_valid_orientation):
11515 * glyphs-widget.c (check_valid_tab_orientation):
11516 * glyphs-widget.c (check_valid_justification):
11517 * glyphs-widget.c (check_valid_border):
11518 * glyphs-widget.c (check_valid_callback):
11519 * glyphs-widget.c (check_valid_int_or_function):
11520 * glyphs-widget.c (check_valid_string_or_vector):
11521 * glyphs-widget.c (check_valid_item_list_1):
11522 * glyphs-widget.c (widget_validate):
11523 * glyphs-widget.c (combo_box_validate):
11524 * glyphs-widget.c (widget_instantiate):
11525 * glyphs-widget.c (syms_of_glyphs_widget):
11526 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11527 * glyphs-widget.c (image_instantiator_combo_box):
11528 * glyphs-widget.c (image_instantiator_scrollbar):
11529 * glyphs-widget.c (image_instantiator_tab_control):
11530 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11532 support (unimplemented) keyword initial-focus.
11533 reindent long macros.
11535 * glyphs-x.c (x_redisplay_widget):
11536 * glyphs-x.c (x_button_instantiate):
11537 * glyphs-x.c (x_button_redisplay):
11538 * glyphs-x.c (x_progress_gauge_instantiate):
11539 * glyphs-x.c (x_edit_field_instantiate):
11540 * glyphs-x.c (x_combo_box_instantiate):
11541 * glyphs-x.c (x_tab_control_instantiate):
11542 * glyphs-x.c (x_label_instantiate):
11544 * gui-x.c (button_item_to_widget_value):
11545 * gui-x.c (gui_items_to_widget_values_1):
11546 * gui-x.c (gui_item_children_to_widget_values):
11547 * gui-x.c (gui_items_to_widget_values):
11549 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11550 add new flag to gui-parsing routines to indicate whether
11551 accelerator specs should be supported.
11553 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11555 * glyphs.h (struct Lisp_Image_Instance):
11556 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11557 add initial-focus flag.
11560 * gui.c (syms_of_gui):
11561 * gui.c (vars_of_gui):
11562 clean up menu-no-selection-hook.
11565 support delete-dialog-box-hook.
11567 * lread.c (Fload_internal):
11568 * lread.c (locate_file_in_directory_mapper):
11572 * lrecord.h (struct toolbar_button):
11573 * lrecord.h (syms_of_toolbar):
11574 document how to create a new object.
11576 * menubar-msw.c (mswindows_char_is_accelerator):
11577 may be called on frames w/o menus.
11579 * menubar.c (vars_of_menubar):
11580 clean up :filter docs.
11587 * process-nt.c (validate_signal_number):
11588 * process-nt.c (signal_cannot_launch):
11589 * process-nt.c (nt_create_process):
11590 * process-nt.c (nt_send_process):
11591 * process-nt.c (nt_kill_child_process):
11592 * process-nt.c (nt_open_network_stream):
11593 * process-nt.c (syms_of_process_nt):
11595 delete quote-handling. call new lisp code that does it better.
11597 * process-unix.c (connect_to_file_descriptor):
11598 * process-unix.c (allocate_pty):
11599 * process-unix.c (unix_send_process):
11600 * process-unix.c (unix_kill_child_process):
11601 * process-unix.c (unix_open_network_stream):
11602 * process-unix.c (unix_open_multicast_group):
11606 * process.c (Fstart_process_internal):
11607 (2). need to canonicalize process path even if absolute.
11609 * select-msw.c (symbol_to_ms_cf):
11610 * select-msw.c (ms_cf_to_symbol):
11611 * select-msw.c (cf_is_autofreed):
11612 * select-msw.c (mswindows_destroy_selection):
11614 * select.c (syms_of_select):
11616 support dibv5, fix bugs. (from Mike Alexander)
11618 * select.c (Fget_selection_internal):
11619 * select.c (select_convert_out):
11622 * sysdep.c (xemacs_stat):
11625 * sysdep.c (mkdir):
11626 * sysdep.c (rmdir):
11627 but keep original stat() here because we provide encapsulation
11631 * sysfile.h (fstat):
11632 remove stat garbage.
11635 fix X/MSW conflict.
11636 don't include tchar.h. it's inappropriate because it makes
11637 compile-time distinctions when we want runtime distinctions.
11638 (we provide our own tchar replacements)
11641 use default object printer for toolbar-button.
11644 make sure we don't encapsulate.
11646 * window.c (vars_of_window):
11647 emphasize that temp-buffer-show-hook is obsolete.
11649 2000-08-05 Martin Buchholz <martin@xemacs.org>
11651 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11652 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11654 * events.c (Fevent_timestamp_lessp):
11655 Not 64-bit clean. Use EMACS_INT, not int.
11657 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11659 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11660 unsigned int and changed the last enum to
11661 lrecord_type_last_built_in_type.
11662 (lrecord_implementations_table): changed prototype to know how
11663 long the array is supposed to be.
11664 (lrecord_type_count): new unsigned int to keep track of the
11665 current number of lisp lrecord types.
11666 (DEFINE_EXTERNAL_LRECORD):
11667 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11668 dynamic-modules to declare new lisp types. They are the same
11669 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11670 int for each new type, and increment lrecord_type_count by 1.
11672 * alloc.c (lrecord_implementations_table): Changed to reference
11673 lrecord_type_last_built_in_type for the size of the array.
11674 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11676 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11678 * glyphs.h (check_valid_item_list): Renamed from
11679 check_valid_item_list_1.
11681 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11683 * select.c (Qselect_coerce): New.
11684 * select.c (Vselection_coercion_alist): New.
11685 * select.c (syms_of_select): Declare.
11686 * select.c (get-selection-internal): Use it.
11687 Use the new select-coerce functionality.
11689 * select.c (select_coerce): New.
11690 * select.h (select_coerce): Declare.
11691 New function to coerce one type of data into another.
11693 2000-08-03 Martin Buchholz <martin@xemacs.org>
11695 * callproc.c (Fcall_process_internal):
11696 (Fcall_process_internal):
11697 * process-unix.c (unix_create_process):
11698 Save and restore the value of errno, so that error messages are accurate.
11700 2000-08-01 Martin Buchholz <martin@xemacs.org>
11702 * elhash.c (print_hash_table):
11703 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11704 Prettify docstrings and indentation.
11706 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11708 * window.c (Fwindow_pixel_edges): Subtract frame border and
11711 2000-07-31 Andy Piper <andy@xemacs.org>
11713 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11714 will acknowledge the change.
11716 * glyphs.h: declare tab_control_order_only_changed.
11718 * glyphs-x.c (x_tab_control_redisplay): use
11719 tab_control_order_only_changed.
11721 * glyphs-widget.c (tab_control_order_only_changed): new function.
11723 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11724 tab_control_order_only_changed.
11726 * gui.c (gui_item_equal_sans_selected): new function.
11727 (gui_item_equal): use it.
11729 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11730 :properties in favor of :items..
11732 * glyphs-widget.c (check_valid_item_list): rename from
11733 check_valid_item_list_1.
11734 (check_valid_item_list_1): renamed.
11735 (combo_box_validate): deprecate :properties in favor of :items.
11736 (widget_instantiate): ditto.
11737 (tab_control_update): ditto.
11738 (image_instantiator_combo_box): ditto.
11739 (image_instantiator_tree_view): ditto.
11740 (image_instantiator_tab_control): ditto.
11741 (layout_post_instantiate): remove dead code.
11743 * print.c (debug_print_no_newline): only write to debugger if in
11746 * elhash.c (Fmake_hash_table): update doc string.
11748 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11749 messages whilst in GC. This at least stops XEmacs crashing but has
11750 the potential for wierd behaviour.
11752 2000-07-31 Martin Buchholz <martin@xemacs.org>
11755 Make existence of s&m files optional.
11757 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11758 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11759 * s/gnu.h: Remove HAVE_GETLOADAVG.
11760 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11761 * s/sol2.h: Remove HAVE_GETLOADAVG.
11762 * lisp.h: Remove getloadavg() declaration.
11764 Include <sys/loadavg.h> if available.
11765 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11766 * config.h.in: Group together getloadavg()-related macros.
11767 Use only configure-time tests to detect getloadavg().
11769 2000-07-30 Martin Buchholz <martin@xemacs.org>
11771 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11773 2000-07-25 Andy Piper <andy@xemacs.org>
11775 * syswindows.h: add tchar.h for native builds.
11777 * frame.c (syms_of_frame): remove set-glyph-image.
11779 * general-slots.h: add Qset_glyph_image.
11781 * glyphs-widget.c (layout_update): add domain arg to
11783 (syms_of_glyphs_widget): remove set-glyph-image.
11785 2000-07-23 Ben Wing <ben@xemacs.org>
11787 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11790 2000-07-22 Andy Piper <andy@xemacs.org>
11792 * symsinit.h: add syms_of_win32().
11794 * gui-msw.c (syms_of_gui_mswindows): remove
11795 Fmswindows_shell_execute.
11796 (Fmswindows_shell_execute): moved to win32.c.
11798 * emacs.c (main_1): add syms_of_win32 ().
11800 * win32.c (init_potentially_nonexistent_functions): rewrite in
11801 compiler-friendly terms.
11802 (Fmswindows_shell_execute): move here from gui-msw.c.
11803 (syms_of_win32): new.
11805 * device-msw.c (Fmswindows_printer_list): clean up args to
11807 Don't include tchar under cygwin or mingw.
11808 (msprinter_default_printer): make cygwin-friendly.
11810 2000-07-21 Andy Piper <andy@xemacs.org>
11812 * glyphs-widget.c (image_instantiator_tree_view): use tab
11813 control's update function.
11814 (layout_property): new function. Retrieve items.
11816 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11817 function. Re-populate the tree view from the pending items.
11819 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11820 is designated the parent if the domain is an image instance. This
11821 is needed so that dirtiness can be cascade up the hierarchy and
11822 thus for layout children to be redisplayed correctly.
11823 (allocate_image_instance): rename glyph -> parent.
11825 * redisplay.h: change redisplay_output_layout signature.
11827 * redisplay-msw.c (mswindows_output_display_block): use domain
11830 * redisplay-x.c (x_output_display_block): use domain arg.
11832 2000-07-10 Andy Piper <andy@xemacs.org>
11834 * window.c (Fset_window_configuration): add comment.
11836 * redisplay-output.c (compare_runes):
11837 (redisplay_output_subwindow): redisplay rather than update subwindow.
11838 (redisplay_output_layout): ditto.
11840 * redisplay-msw.c (mswindows_frame_output_end):
11841 (mswindows_frame_output_end): make defer window pos optional.
11843 * lisp.h: add Flast.
11845 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11846 normalize method. Change update method to be for changed
11847 instantiators. Add redisplay method. Change signature of layout
11849 (struct Lisp_Image_Instance): add instantiator.
11850 (IMAGE_INSTANCE_INSTANTIATOR): new.
11851 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11852 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11853 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11856 (find_instantiator_differences): new function.
11857 (Fset_instantiator_property): new convenience function.
11858 (check_image_instance_structure): strictly check for vector
11860 (normalize_image_instantiator): make non-static.
11861 (instantiate_image_instantiator): pass on dest_mask and use new
11862 signatures for image_instance_layout and friends.
11863 (mark_image_instance): mark the instantiator. Mark the subwindow
11864 face not the widget face.
11865 (image_instance_equal): add instantiator.
11866 (image_instance_hash): ditto.
11867 (allocate_image_instance): ditto.
11868 (Fset_image_instance_property): removed.
11869 (Fimage_instance_file_name): ditto.
11870 (Fcolorize_image_instance): ditto.
11871 (image_instance_layout): add offsets to be set.
11872 (update_image_instance): new function. update an image instance
11873 from its changed instantiator.
11874 (inherit_normalize): add dest_mask.
11875 (xbm_normalize): ditto.
11876 (xface_normalize): ditto.
11877 (xpm_normalize): ditto.
11878 (text_update): set_property -> update.
11879 (image_instantiate): use the glyph identity as a hash key, not the
11881 (glyph_width): use new image_instance_layout signature.
11882 (glyph_ascent): ditto.
11883 (glyph_descent): ditto.
11884 (glyph_height): ditto.
11885 (glyph_query_geometry): ressurrect.
11886 (glyph_layout): ditto.
11887 (redisplay_subwindow): update -> redisplay.
11888 (syms_of_glyphs): add Fset_instantiator_property.
11889 (image_instantiator_format_create): set_property -> update.
11892 (autodetect_normalize): add dest_maks to signature.
11893 (x_redisplay_subwindow): update -> redisplay.
11894 (x_redisplay_widget): ditto.
11895 (x_button_redisplay): ditto.
11896 (x_progress_gauge_redisplay): ditto.
11897 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11899 (console_type_create_glyphs_x): update -> redisplay.
11900 (image_instantiator_format_create_glyphs_x): ditto.
11903 (check_valid_instantiator): disallow glyphs in the instantiator,
11904 they must now be vectors.
11905 (check_valid_instantiator_list): ditto.
11906 (glyph_instantiator_to_glyph): use internal symbol rather than
11908 (widget_update): renamed from widget_set_property. Call cascaded
11910 (redisplay_widget): renamed from update_widget.
11911 (widget_layout): image_instance_layout now takes position as well
11913 (widget_normalize): ditto.
11914 (widget_instantiate): ditto.
11915 (tab_control_query_geometry) ditto.:
11916 (tab_control_update): renamed from tab_control_set_property.
11917 (progress_gauge_update): set_property -> update.
11918 (layout_normalize): rewrite so that child instantiators are
11920 (layout_update): new function. Create glyphs from the normalized
11921 children and cope with any other layout keywords. We do not
11922 instantiate children here that will be take care of by
11923 redisplay_output_layout.
11924 (layout_instantiate): call layout_update and not much else.
11925 (layout_post_instantiate): not sure whether this is needed
11927 (layout_query_geometry): query glyph geometry rather than
11928 image_instance geometry.
11929 (layout_layout): set offsets from pass in parameters. Use glyph
11930 geometry and layout functions rather than image instance ones.
11931 (native_layout_layout): ditto.
11932 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11933 (image_instantiator_widget): set_property -> update.
11934 (image_instantiator_buttons): ditto.
11935 (image_instantiator_progress_guage): ditto.
11936 (image_instantiator_tab_control): ditto.
11937 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11938 (image_instantiator_layout): add update method.
11940 * glyphs-msw.c (bmp_normalize):
11941 (mswindows_resource_normalize): add dest_mask so that it can be
11942 proprogated by layout_normalize.
11943 (begin_defer_window_pos): make optional because it may not be the
11944 right thing to do and it introduces differences with X.
11945 (mswindows_unmap_subwindow): ditto.
11946 (mswindows_map_subwindow): ditto.
11947 (mswindows_redisplay_subwindow): renamed from
11948 mswindows_update_subwindow.
11949 (mswindows_redisplay_widget): ditto.
11950 (mswindows_button_redisplay): renamed from
11951 mswindows_button_update. Update is now what the instantiation
11952 function does for a changed instantiator.
11953 (mswindows_progress_gauge_instantiate): set the progress value
11954 here if appropriate.
11955 (mswindows_tab_control_redisplay): cope with re-ordering of the
11956 members of the tab widget by simply selecting the new top
11957 widget. This makes things appear ok if you click on a tab.
11958 (mswindows_combo_box_instantiate): image_instance_layout now takes
11959 position as well as size.
11960 (mswindows_progress_gauge_redisplay): renamed from
11961 mswindows_progress_gauge_update.
11962 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11963 (image_instantiator_format_create_glyphs_mswindows): ditto.
11965 * glyphs-eimage.c (jpeg_normalize):
11968 (tiff_normalize): add dest_mask so that it can be proprogated by
11972 (print_hash_table):
11973 (hash_table_weakness_validate):
11974 (decode_hash_table_weakness):
11975 (Fhash_table_weakness):
11976 (Fhash_table_type):
11977 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11979 * console.h (struct console_methods): move update_* to
11982 2000-07-20 Ben Wing <ben@xemacs.org>
11984 * *.[ch] (XSETOBJ): remove unused middle argument.
11985 lisp-disunion.h: correct wrap_object() to one argument.
11987 2000-07-15 Ben Wing <ben@xemacs.org>
11990 * s/cygwin32.h (CYGWIN_CONV_PATH):
11991 Add missing logb prototype for v1.1.
11992 Use post-b20 names and alias to pre-b20 names when pre-b20.
11994 * s/windowsnt.h: [5].
11996 2000-07-15 Ben Wing <ben@xemacs.org>
11998 * Makefile.in.in (x_objs):
11999 * Makefile.in.in (sheap_objs):
12000 * Makefile.in.in (objs):
12001 added win32.o, cosmetic cleanups.
12003 * alloc.c (Fmake_byte_code):
12004 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12005 etc. macros which declare their own args now.
12007 * alloc.c (syms_of_alloc):
12008 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12011 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12013 * buffer.c (Fget_file_buffer):
12014 Fixed GCPRO problem.
12016 * buffer.c (get_truename_buffer):
12017 Fixed comment about GC checking.
12019 * buffer.c (syms_of_buffer):
12020 Undeclared those dedicated frame funs.
12024 Define convenience macros for internal/external conversions.
12025 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12026 and Qenvironment_variable_encoding for cleaner code.
12029 Remove dedicated-frame; in lisp.
12031 * bytecode.c (funcall_compiled_function):
12034 * bytecode.c (syms_of_bytecode):
12038 * console-msw.c (mswindows_show_console): Rewrote.
12040 * console-msw.c (Fmswindows_debugging_output): New.
12041 Sends to OutputDebugString (special MSWin debugger interface).
12043 * console-msw.c (Fmswindows_message_box):
12044 Fixed stupid bugs so it works when called from kill-emacs.
12046 * console-msw.c (syms_of_console_mswindows):
12047 Declare Fmswindows_debugging_output.
12050 New MSWin prototypes.
12052 * console-msw.h (struct mswindows_frame):
12053 New entry last-click-mods for improved button-modifier support.
12055 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12056 New struct entry `popup' with corresponding accessor.
12059 * console-x.c (split_up_display_spec):
12060 * console-x.c (get_display_arg_connection):
12061 * console-x.c (x_semi_canonicalize_console_connection):
12062 * console-x.c (x_canonicalize_device_connection):
12063 [[[6]]]: Change char to more specific type.
12064 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12066 * console-x.c (x_semi_canonicalize_console_connection):
12067 * console-x.c (x_canonicalize_device_connection):
12068 [[[9]]]: Fix up error signalling to use new structured error system.
12071 [[[4]]]: Define codesys aliases:
12072 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12073 Qx_color_name_encoding, Qx_display_name_encoding.
12075 * console.h (struct console_methods):
12076 New method make_dialog_box_internal supersedes older
12077 popup_dialog_box method.
12080 Define many new errors, part of new structured errors.
12082 * data.c (init_errors_once_early):
12083 * data.c (syms_of_data):
12086 * device-msw.c (mswindows_init_device):
12087 [[[5]]]: Cleanup to support NT 3.51.
12089 * device-msw.c (decode_devmode): Cleanup.
12091 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12092 * device-msw.c (mswindows_handle_print_dialog_box):
12093 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12094 * device-msw.c (syms_of_device_mswindows):
12095 Delete the dialog box primitives recently introduced by Kirill and
12096 instead interface to general dialog box interface.
12099 * device-x.c (compute_x_app_name):
12100 * device-x.c (x_init_device):
12101 * device-x.c (Fx_valid_keysym_name_p):
12102 * device-x.c (Fx_set_font_path):
12106 * device.h (wrap_device): New.
12107 First of its kind; meant to replace XSETDEVICE.
12109 * dialog-msw.c: Many file-dialog symbols.
12111 * dialog-msw.c (mswindows_register_popup_frame): New.
12112 * dialog-msw.c (mswindows_is_dialog_msg): New.
12113 For supporting kbd traversal in dialog boxes.
12115 * dialog-msw.c (dialog_proc):
12116 Support hitting ESC in dialogs.
12118 * dialog-msw.c (struct):
12119 Common dialog box errors.
12121 * dialog-msw.c (handle_file_dialog_box): New.
12122 Add file dialog code.
12124 * dialog-msw.c (handle_question_dialog_box):
12125 Redo existing code to support new question dialog syntax.
12127 * dialog-msw.c (console_type_create_dialog_mswindows):
12128 We support new dialog console method.
12130 * dialog-msw.c (syms_of_dialog_mswindows):
12131 * dialog-msw.c (vars_of_dialog_mswindows):
12132 New file dialog symbols, vars.
12135 * dialog-x.c (maybe_run_dbox_text_callback):
12136 * dialog-x.c (dbox_descriptor_to_widget_value):
12137 * dialog-x.c (x_make_dialog_box_internal):
12138 * dialog-x.c (console_type_create_dialog_x):
12139 Mule-ize entire file.
12140 Redo to support question dialog syntax.
12144 * dialog.c (Fmake_dialog_box_internal):
12145 * dialog.c (syms_of_dialog):
12146 Kill old popup-dialog-box, replace with new primitive.
12147 Just call device method or signal error.
12149 * eldap.c (Fldap_open):
12150 * eldap.c (Fldap_search_basic):
12151 * eldap.c (Fldap_add):
12152 * eldap.c (Fldap_modify):
12157 * emacs.c (make_arg_list_1):
12158 * emacs.c (make_arg_list):
12159 Mule-ize call to dll_init().
12163 * emacs.c (make_argc_argv):
12164 * emacs.c (free_argc_argv):
12165 * emacs.c (init_cmdargs):
12166 * emacs.c (main_1):
12167 * emacs.c (Fkill_emacs):
12168 * emacs.c (Fdump_emacs):
12169 Update comments about what can be used in syms_* etc.
12170 Call init_win32() when necessary.
12171 Fix up MS Win dialog box in kill-buffer to actually work right.
12182 * eval.c (condition_case_3):
12184 * eval.c (function_argcount):
12185 * eval.c (funcall_lambda):
12188 * eval.c (type_error): New.
12189 * eval.c (maybe_type_error): New.
12190 * eval.c (continuable_type_error): New.
12191 * eval.c (maybe_continuable_type_error): New.
12192 * eval.c (type_error_with_frob): New.
12193 * eval.c (maybe_type_error_with_frob): New.
12194 * eval.c (continuable_type_error_with_frob): New.
12195 * eval.c (maybe_continuable_type_error_with_frob): New.
12196 New functions for use with structured errors.
12199 * event-Xt.c (x_event_to_emacs_event):
12200 Buttons are now modifiers too.
12202 * event-Xt.c (emacs_Xt_current_event_timestamp):
12203 Implement new event method.
12204 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12207 * event-msw.c (ntpipe_shove_writer): [5].
12208 * event-msw.c (mswindows_enqueue_mouse_button_event):
12209 * event-msw.c (mswindows_drain_windows_queue):
12210 * event-msw.c (mswindows_wnd_proc): [7].
12211 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12212 * event-msw.c (mswindows_modifier_state):
12213 Throughout: support new button modifiers.
12215 * event-msw.c (emacs_mswindows_current_event_timestamp):
12216 Implement new event method.
12217 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12220 * event-stream.c (event_stream_current_event_timestamp): New.
12221 * event-stream.c (maybe_kbd_translate): New functionality.
12222 * event-stream.c (vars_of_event_stream):
12223 Document new kbd-translate-table functionality.
12225 * event-stream.c (Fcurrent_event_timestamp): New.
12226 New primitive for use in fabricated events.
12227 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12229 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12232 * events.c (Fmake_event):
12233 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12237 * events.c (format_event_object): fix gcc warnings.
12239 * events.c (Fevent_timestamp): Document new primitives.
12241 * events.c (TIMESTAMP_HALFSPACE): New.
12243 * events.c (Fevent_timestamp_lessp): New. New primitive for
12244 comparing timestamps correctly (half-space algorithm).
12246 * events.c (Fevent_modifier_bits): Doc fix.
12248 * events.c (Fevent_modifiers): Major doc addition.
12249 * events.c (event_x_y_pixel_internal): Typo fix.
12250 * events.c (syms_of_events): Declare new primitives.
12253 Update long comment for button modifiers, timestamps.
12255 * events.h (struct event_stream):
12256 New current_event_timestamp method.
12259 * extents.c (extent_in_region_p):
12260 * extents.c (decode_extent):
12261 * extents.c (Fset_extent_parent):
12262 * extents.c (decode_map_extents_flags):
12266 * extents.c (struct extent_at_arg):
12267 * extents.c (decode_extent_at_flag):
12268 * extents.c (extent_at_mapper):
12269 * extents.c (extent_at_bytind):
12270 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12271 * extents.c (Fextents_at): New primitive. [9].
12272 * extents.c (symbol_to_glyph_layout): [9].
12273 Support new primitive `extents-at'.
12276 * extents.c (get_text_property_bytind):
12277 extent_at_bytind has another arg.
12280 * extents.c (syms_of_extents): New primitive.
12282 * file-coding.c (Fmake_coding_system): [1].
12283 * file-coding.c (subsidiary_coding_system): fix gcc warning
12284 * file-coding.c (syms_of_file_coding): [2].
12286 * fileio.c (Fexpand_file_name):
12287 * fileio.c (Fsysnetunam):
12288 * fileio.c (Ffile_exists_p):
12289 * fileio.c (Ffile_executable_p):
12290 * fileio.c (Fverify_visited_file_modtime):
12293 * fileio.c (syms_of_fileio): [2].
12295 * filelock.c (lock_file_1):
12296 * filelock.c (current_lock_owner):
12297 * filelock.c (lock_if_free):
12298 * filelock.c (lock_file):
12299 * filelock.c (unlock_file):
12302 * fns.c (concat): Fix gcc warning.
12305 * fns.c (Fold_member):
12307 * fns.c (Fold_memq):
12308 * fns.c (memq_no_quit):
12310 * fns.c (Fold_assoc):
12312 * fns.c (Fold_assq):
12313 * fns.c (assq_no_quit):
12315 * fns.c (Fold_rassoc):
12317 * fns.c (Fold_rassq):
12318 * fns.c (rassq_no_quit):
12320 * fns.c (Fold_delete):
12322 * fns.c (Fold_delq):
12323 * fns.c (delq_no_quit):
12324 * fns.c (Fremassoc):
12325 * fns.c (Fremassq):
12326 * fns.c (remassq_no_quit):
12327 * fns.c (Fremrassoc):
12328 * fns.c (Fremrassq):
12329 * fns.c (remrassq_no_quit):
12330 * fns.c (Freverse):
12334 * frame-msw.c (mswindows_init_frame_1):
12335 * frame-msw.c (mswindows_delete_frame):
12336 Register popups with dialog code so keyboard traversing works.
12338 * frame-tty.c (tty_raise_frame_no_select): [1].
12341 * frame-x.c (x_set_frame_text_value):
12342 * frame-x.c (x_set_frame_properties):
12343 * frame-x.c (x_create_widgets):
12347 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12349 * frame.h (wrap_frame): New.
12350 Macro like wrap_device.
12353 * general.c (SYMBOL):
12354 * general.c (syms_of_general):
12355 Major reorg. This is now just a wrapper and symbols themselves
12356 are listed in general-slots.h.
12358 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12359 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12361 * glyphs-msw.c (mswindows_native_layout_instantiate):
12362 Add DS_CONTROL so keyboard traversal will work.
12365 * glyphs-widget.c (syms_of_glyphs_widget):
12366 Move some symbols to general-slots.h.
12369 * glyphs-x.c (xbm_instantiate_1):
12370 * glyphs-x.c (x_xbm_instantiate):
12371 * glyphs-x.c (x_xface_instantiate):
12372 * glyphs-x.c (autodetect_instantiate):
12373 * glyphs-x.c (cursor_font_instantiate):
12374 * glyphs-x.c (x_update_widget):
12375 * glyphs-x.c (x_widget_instantiate):
12376 * glyphs.c (bitmap_to_lisp_data):
12377 * glyphs.c (pixmap_to_lisp_data):
12380 * glyphs.c (syms_of_glyphs):
12384 * gui-x.c (print_widget_value):
12385 * gui-x.c (menu_separator_style_and_to_external):
12386 * gui-x.c (add_accel_and_to_external):
12387 * gui-x.c (button_item_to_widget_value):
12388 * gui-x.c (gui_items_to_widget_values_1):
12389 * gui-x.c (gui_items_to_widget_values):
12390 * gui-x.c (syms_of_gui_x):
12391 * gui-x.c (vars_of_gui_x):
12392 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12396 Muleize, prototype changes matching gui-x.c.
12399 * gui.c (separator_string_p):
12400 * gui.c (gui_item_add_keyval_pair):
12401 * gui.c (make_gui_item_from_keywords_internal):
12402 * gui.c (signal_too_long_error):
12403 * gui.c (parse_gui_item_tree_item):
12404 * gui.c (syms_of_gui):
12405 * gui.c (vars_of_gui):
12407 menu-no-selection-hook moved here (used by MSWin).
12408 Move some symbols to general-slots.h.
12412 * insdel.c (get_buffer_pos_char):
12413 * insdel.c (get_buffer_range_char):
12416 * keymap.c (keymap_lookup_directly):
12417 * keymap.c (keymap_store):
12418 * keymap.c (ensure_meta_prefix_char_keymapp):
12419 * keymap.c (describe_map):
12421 Support new button modifiers.
12423 * lisp-disunion.h (wrap_object):
12424 * lisp-disunion.h (XSETOBJ):
12425 Rename make_obj to wrap_object.
12428 * lisp-union.h (make_int):
12429 * lisp-union.h (make_char):
12430 Support wrap_object.
12433 * lisp.h (LIST_LOOP):
12434 * lisp.h (EXTERNAL_LIST_LOOP):
12435 * lisp.h (LIST_LOOP_2):
12436 * lisp.h (EXTERNAL_LIST_LOOP_1):
12437 * lisp.h (EXTERNAL_LIST_LOOP_2):
12438 * lisp.h (EXTERNAL_LIST_LOOP_3):
12439 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12440 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12441 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12442 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12443 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12444 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12445 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12446 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12447 * lisp.h (struct Lisp_Symbol):
12448 * lisp.h (maybe_continuable_error_with_frob):
12449 Fix up section comments.
12450 Add new types for char to indicate usage.
12451 Delete symbols auto-generated from general-slots.h.
12452 Add prototypes for structured error functions.
12453 Add long comments describing looping macros and change interface
12454 so that lvalues are automatically declared.
12455 Add NO_DECLARE macro in case callers want to declare lvalues
12458 * lread.c (read_syntax_error):
12459 * lread.c (continuable_read_syntax_error):
12460 * lread.c (read_structure):
12461 * lread.c (sequence_reader):
12462 * lread.c (read_list_conser):
12463 * lread.c (read_compiled_function):
12464 Rename syntax_error and continuable_syntax_error to avoid clash
12465 with same-named structured error functions.
12467 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12468 * menubar-msw.c (populate_menu_add_item):
12469 * menubar-msw.c (populate_or_checksum_helper):
12474 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12475 Mule-ize whole file.
12477 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12479 * mule-charset.c (Fmake_charset):
12480 * mule-wnnfns.c (Fwnn_set_param):
12483 * ntproc.c (create_child):
12484 * ntproc.c (Fwin32_set_current_locale):
12485 Add comments portending doom.
12488 * objects-msw.c (old_font_enum_callback_2):
12489 * objects-msw.c (font_enum_callback_1):
12490 * objects-msw.c (mswindows_enumerate_fonts):
12494 * objects-x.c (allocate_nearest_color):
12495 * objects-x.c (x_parse_nearest_color):
12496 * objects-x.c (x_initialize_color_instance):
12497 * objects-x.c (x_print_color_instance):
12498 * objects-x.c (x_finalize_color_instance):
12499 * objects-x.c (x_valid_color_name_p):
12500 * objects-x.c (x_initialize_font_instance):
12501 * objects-x.c (x_print_font_instance):
12502 * objects-x.c (valid_x_font_name_p):
12503 * objects-x.c (truename_via_FONT_prop):
12504 * objects-x.c (truename_via_random_props):
12505 * objects-x.c (truename_via_XListFonts):
12506 * objects-x.c (x_font_truename):
12507 * objects-x.c (x_font_instance_truename):
12508 * objects-x.c (x_font_instance_properties):
12509 * objects-x.c (x_list_fonts):
12510 * objects-x.c (x_find_charset_font):
12511 Mule-ize entire file.
12518 * print.c (std_handle_out_external):
12519 * print.c (debug_print_no_newline):
12520 * print.c (syms_of_print):
12521 Output to all debugger kinds in debug-print.
12522 Fix console-output code under MSWin to actually work.
12524 * process-nt.c (send_signal):
12525 * process-nt.c (nt_create_process):
12526 Use newer Unicode macros.
12528 * process-unix.c (unix_create_process):
12529 * process-unix.c (unix_canonicalize_host_name):
12530 * process-unix.c (unix_open_network_stream):
12536 * search.c (syms_of_search):
12539 * select-msw.c (mswindows_destroy_selection):
12542 * select-x.c (symbol_to_x_atom):
12545 * select.c (syms_of_select):
12548 * sound.c (Fplay_sound_file):
12552 * specifier.c (decode_specifier_type):
12553 * specifier.c (Fvalid_specifier_locale_type_p):
12554 * specifier.c (check_valid_locale_or_locale_type):
12555 * specifier.c (decode_locale):
12556 * specifier.c (decode_locale_type):
12557 * specifier.c (decode_locale_list):
12558 * specifier.c (check_valid_domain):
12559 * specifier.c (decode_specifier_tag_set):
12560 * specifier.c (Fcanonicalize_tag_set):
12561 * specifier.c (Fdefine_specifier_tag):
12562 * specifier.c (Fspecifier_tag_predicate):
12563 * specifier.c (check_valid_inst_list):
12564 * specifier.c (check_valid_spec_list):
12565 * specifier.c (decode_how_to_add_specification):
12566 * specifier.c (check_modifiable_specifier):
12567 * specifier.c (specifier_add_spec):
12568 * specifier.c (boolean_validate):
12569 * specifier.c (display_table_validate):
12572 * specifier.c (syms_of_specifier):
12573 Move some symbols to general-slots.h.
12577 * symbols.c (Fmapatoms):
12578 * symbols.c (Fapropos_internal):
12581 * symbols.c (set_default_buffer_slot_variable):
12582 * symbols.c (set_default_console_slot_variable):
12585 * symbols.c (defsymbol_massage_name_1):
12586 * symbols.c (defkeyword_massage_name):
12587 * symbols.c (deferror_1):
12588 * symbols.c (deferror):
12589 * symbols.c (deferror_massage_name_and_message):
12591 * symeval.h (DEFSYMBOL):
12592 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12594 * symbols.c (syms_of_symbols):
12598 * symsinit.h (init_win32): New.
12599 Also new is syms_of_dialog_mswindows.
12602 Add new Unicode macros, missing Cygwin wide-char functions,
12603 convenience conversion macros for Qmswindows_tstr, macros for
12604 encapsulating required MSWin <-> Cygwin filename conversions,
12605 prototype for dynamically-extracted (not in NT 3.51) functions.
12610 * tooltalk.c (Fadd_tooltalk_message_arg):
12611 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12612 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12615 * tooltalk.c (syms_of_tooltalk):
12619 * unexnt.c (unexec):
12620 Fix up headers, declaration of unexec() to be more standard.
12622 2000-07-20 Martin Buchholz <martin@xemacs.org>
12624 * offix.h: Revert change to guard macros - they're used in offix.c!
12626 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12628 * lisp.h: Defsubred Fdelete.
12630 * console-msw.h: (msprinter_default_printer): Added.
12632 * console-msw.c (msprinter_canonicalize_console_connection):
12633 (msprinter_canonicalize_device_connection): Added.
12635 * device-msw.c (msprinter_default_printer):
12636 (Fmswingows_get_default_printer):
12637 (signal_enum_priner_error):
12638 (Fmswingows_printer_list): Added.
12640 2000-07-19 Martin Buchholz <martin@xemacs.org>
12642 * XEmacs 21.2.35 is released.
12644 2000-07-19 Martin Buchholz <martin@xemacs.org>
12646 * select-x.c (x_handle_selection_request):
12647 Text selected in xemacs and pasted into xterm failed to appear.
12648 Spelling fixes and cosmetic changes.
12650 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12652 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12653 XEmacs frame (fix for doubling chars in dialog boxes).
12655 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12657 * select.c (select_convert_in, select_convert_out):
12658 Don't call intern() every time.
12660 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12661 * select.c (vars_of_select): Initialise them.
12663 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12665 * select.c (selection-coercible-types): New.
12667 * select.c (own-selection-internal):
12668 * select.c (get-selection-internal):
12669 MULE bug fix - these should default to COMPOUND_TEXT and not
12670 STRING for MULE. I think.
12672 * select.c (select_convert_out): Use selection-coercible-types
12673 to find types that we can attempt to perform coercions on.
12675 2000-07-18 Martin Buchholz <martin@xemacs.org>
12679 Add coding: cookie to identify encoding.
12681 * mule-canna.c (CANNA_mode_keys): make static.
12682 Use proper prototypes, even for functions of no arguments.
12683 Remove external prototype for Fding().
12685 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12687 * select.c (syms_of_select): Add missing DEFSUBR.
12689 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12691 * select.c (get_selection_internal, own_selection_internal):
12692 Make the type default to STRING, rather than placing a nil type
12693 into Vselection_alist.
12695 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12697 * gpmevent.c (tty_selection_exists_p):
12698 * gpmevent.c (tty_own_selection):
12699 Updated parameter lists.
12701 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12703 * select.h (selection-alist): Removed declaration.
12705 * select.h (get_local_selection):
12706 * select.c (get_local_selection):
12709 * select.h (convert_selection): Removed declaration.
12710 * select.c (convert_selection): Removed.
12711 This function belongs in Lisp.
12713 * select.h (select_convert_in): Declare.
12714 * select.h (select_convert_out): Declare.
12715 * select.c (select_convert_in): New.
12716 * select.c (select_convert_out): New.
12717 New conversion functions for other files to call.
12719 * select.h (select_notify_buffer_kill): Declare.
12720 * select.c (select_notify_buffer_kill): New.
12721 New functions that get called from kill-buffer.
12723 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12724 X-specific lisp code.
12726 * select.h: Declare some of the lisp-visible functions for
12729 * select.c (clean_local_selection_data): Removed. This was
12730 a disgusting function, and previously should have been in
12731 select-x.c in any case. The functionality is now provided
12732 in select-convert-from-integer (select.el).
12734 * select.c (available-selection-types): Fixed stupidity where
12735 INTEGER and ATOM got added twice. Also add STRING when we see an
12738 * select.c (get-selection-internal): Removed symbol stripping. No
12739 longer causes conversion when data comes from the internal cache.
12741 * select.c (syms_of_select): Added new functions.
12743 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12744 error checking - previously this called abort!
12746 * select-x.c (x_own_selection): Changed comment.
12748 * select-x.c (x_handle_selection_request): Use select_convert_out.
12749 Don't mess with selection-alist; it's an internal variable of select.c.
12751 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12753 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12754 rather than messing with selection-alist.
12756 * select-msw.c (mswindows_get_foreign_selection):
12757 Use TO_INTERNAL_FORMAT rather than hacking.
12759 2000-07-14 Martin Buchholz <martin@xemacs.org>
12761 * process-unix.c (unix_open_multicast_group):
12762 (unix_open_multicast_group): Remove useless casts.
12764 2000-07-13 Martin Buchholz <martin@xemacs.org>
12766 * sound.c (Fplay_sound): Fix `unused variable' warning.
12768 * emacs.c (main): Use correct type for _environ on SCO5.
12770 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12772 * console.h (own_selection_method):
12773 * console.h (selection_exists_p_method):
12774 * console.h (available_selection_types_method): New.
12775 * console.h (register_selection_data_type_method): New.
12776 * console.h (selection_data_type_name): New.
12778 * console-msw.h (mswindows_destroy_selection): Declare it. New
12779 function & alist to track GlobalAlloc()'d handles that need
12780 releasing when the clipboard data gets replaced or emptied.
12782 * event-msw.c (mswindows_wnd_proc): Call it.
12784 * lisp.h, general.c (Qappend): New symbol representing a
12787 * select.c (own-selection-internal):
12788 * select.c (selection-exists-p):
12789 * select.c (available-selection-types): New.
12790 * select.c (register-selection-data-type): New.
12791 * select.c (selection-data-type-name): New. New functions to deal
12792 with device-specific selection data formats.
12793 * select.c (selection-converter-out-alist): Renamed.
12794 * select.c (selection-converter-in-alist): New.
12795 * select.c (selection-appender-alist): New. Added new alists.
12796 * select.c (syms_of_select, vars_of_select): Added new symbols &
12798 * select.c (get_local_selection): Split.
12799 * select.c: Removed spurious type checking - selections may now be
12800 of any type, not just strings.
12801 * select.c (own-selection-internal):
12803 * select.h, select.c (convert_selection): New. Created
12804 convert_selection() function based on get_local_selection().
12805 * select.h, select.c (QCF_*): New symbols representing mswindows
12807 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12808 symbols representing `how-to-add' modes.
12810 * select-msw.c (x_sym_p): New.
12811 * select-msw.c (symbol_to_ms_cf): New.
12812 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12813 symbols & clipboard formats. Can also handle string names.
12814 * select-msw.c (mswindows_own_selection):
12815 * select-msw.c (mswindows_selection_exists_p):
12816 Added `data-type' parameter. Use it.
12817 * select-msw.c (mswindows_available_selection_types): New.
12818 * select-msw.c (mswindows_register_selection_data_type): New.
12819 * select-msw.c (mswindows_selection_data_type_name): New.
12820 * select-msw.c (mswindows_own_selection):
12821 * select-msw.c (mswindows_get_foreign_selection):
12822 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12823 * select-msw.c (console_create_select_mswindows): Added new methods.
12824 * select-msw.c (mswindows_destroy_selection): New.
12825 * select-msw.c (Vhandle_alist): New list.
12826 * select-msw.c (mswindows_own_selection):
12828 * select-x.c (x_own_selection):
12829 * select-x.c (x_selection_exists_p):
12830 * select-x.c: Added some comments about maybe using new
12832 * select-x.c (x_own_selection):
12834 * specifier.c: Remove definition of Qappend (now in general.c)
12835 * specifier.c (syms_of_specifier): Remove Qappend.
12837 2000-07-12 Martin Buchholz <martin@xemacs.org>
12839 * config.h.in: Add socklen_t.
12841 * s/decosf4-0.h: No special compiler flags needed or desired.
12842 In particular, undefine _BSD for DEC OSF 4.0.
12844 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12846 * redisplay-msw.c (msprinter_frame_output_end): Added.
12847 (console_type_create_redisplay_mswindows): Referred the above.
12849 * frame.c (setup_frame_without_minibuffer): Do not create a
12850 default minibuffer frame on a printer device.
12852 * frame-msw.c (apply_dc_geometry): Added.
12853 (msprinter_start_page):
12854 (msprinter_init_frame_3):
12855 (msprinter_eject_page): Use it.
12857 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12858 and removed residual duplex and orientation properties.
12860 2000-07-11 Martin Buchholz <martin@xemacs.org>
12862 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12864 * unexalpha.c: Remove system prototypes from C sources!
12866 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12868 * eval.c: Remove references to M-x edit-options in DEFUNs for
12869 `defvar' and `defconst'.
12871 2000-07-09 Martin Buchholz <martin@xemacs.org>
12873 * config.h.in: Remove SMART_INCLUDE hackery.
12875 PostgreSQL hacking:
12876 * config.h.in: Don't use SMART_INCLUDE.
12878 * postgresql.h: Include libpq-fe.h here. Fix typo.
12879 * inline.c: Simply #include "postgresql.h"
12881 - Don't use SMART_INCLUDE
12882 - Use simply "const".
12883 - Use standard doc string conventions.
12884 - Use correct type for result of PQstatus.
12886 2000-07-09 Martin Buchholz <martin@xemacs.org>
12888 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12890 C++ compilation changes.
12891 * config.h.in (EXTERN_C): Define.
12892 * config.h.in (not): This is also a C++ keyword.
12893 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12894 * cm.c: Use EXTERN_C.
12895 * redisplay-tty.c: Use EXTERN_C.
12896 * sysdep.c: Use EXTERN_C. Remove Gould support.
12898 2000-07-09 Martin Buchholz <martin@xemacs.org>
12900 * general.c: Remove duplicate definition for Qfunction.
12902 2000-07-08 Ben Wing <ben@xemacs.org>
12904 * device-msw.c (msprinter_init_device):
12905 * device-msw.c (sync_printer_with_devmode):
12906 * device-msw.c (handle_devmode_changes):
12907 * device-msw.c (print_dialog_worker):
12908 * device-msw.c (Fmsprinter_apply_settings):
12909 * device-msw.c (hash_devmode):
12910 * device-msw.c (Fmsprinter_settings_despecialize):
12911 use Qmswindows_tstr, not Qctext.
12913 * vm-limit.c (check_memory_limits):
12914 avoid infinite loop printing warning messages.
12916 2000-07-05 Craig Lanning <lanning@scra.org>
12918 * Makefile.in.in: Add support for including the Windows resources
12919 when building with the cygwin and mingw targets.
12921 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12922 not set or not correct.
12923 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12924 (init_initial_directory): Don't try to use $PWD on the
12925 WIN32_NATIVE target.
12928 [[Add -mwindows to eliminate console window.]] not required --ben
12929 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12930 (MAIL_USE_POP): removed; now handled by configure.
12932 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12933 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12934 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12935 (MAIL_USE_POP): removed; now handled by configure.
12936 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12937 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12938 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12940 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12941 up from <winsock.h> via systime.h.
12942 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12943 (getpagesize): from Dan Holmsand, added.
12944 Added #endif which was left dangling by Ben's mega patch; added
12945 comment to help prevent this in the future.
12947 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12949 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12951 * console-msw.h (struct mswindows_device): Removed unnecessary
12952 cached device geometry values.
12953 Added update_tick and an accessor macro.
12954 (Lisp_Devmode): Added lrecord declaration.
12955 (struct msprinter_device): Contain devmode as a Lisp object.
12956 Added mswindows_get_selected_frame_hwnd();
12958 * console.h (struct console_methods): Indentation nitpicking.
12960 * device-msw.c (mswindows_init_device): Do not initialize geometry
12961 cache. Initialize update tick.
12962 (mswindows_device_system_metrics): Ask the device for its geometry.
12963 (global_free_2_maybe):
12964 (devmode_to_hglobal):
12965 (handle_printer_changes):
12966 (ensure_not_printing):
12967 (print_dialog_worker):
12968 (Fmsprinter_print_setup_dialog):
12969 (Fmsprinter_print_dialog):
12970 (plist_get_margin):
12971 (plist_set_margin):
12972 (Fmsprinter_page_setup_dialog): Added functions.
12973 (sync_printer_with_devmode):
12974 (handle_devmode_changes):
12975 (Fmsprinter_get_settings):
12976 (Fmsprinter_select_settings):
12977 (Fmsprinter_apply_settings):
12978 (allocate_devmode):
12979 (Fmsprinter_settings_copy):
12980 (Fmsprinter_settings_despecialize):
12982 (finalize_devmode):
12984 (hash_devmode): Added functions
12985 (syms_of_device_mswindows): Init devmode lrecord class.
12987 * device.h: Added an exfun for find-device.
12989 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12990 geometry; although, recreate the device compatible DC.
12992 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12993 (msprinter_init_frame_3):
12994 (msprinter_frame_property):
12995 (msprinter_internal_frame_property_p):
12996 (msprinter_frame_properties):
12997 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12998 print job properties (will move to device settings).
13000 * lisp.h: Added symbols.
13002 * general.c (syms_of_general): Declared them.
13004 * hash.c (string_hash): Added.
13006 * lrecord.h (lrecord_type): Added devmode lrecord type.
13008 2000-07-02 Mike Sperber <mike@xemacs.org>
13010 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13013 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13015 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13018 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13020 * data.c (Fstring_to_number): Don't recognize floating point if
13023 2000-06-22 Martin Buchholz <martin@xemacs.org>
13025 * glyphs-widget.c (tab_control_query_geometry):
13026 (widget_query_geometry):
13027 (button_query_geometry):
13028 * glyphs.c (text_query_geometry):
13029 Enforce type correctness.
13031 2000-06-18 Martin Buchholz <martin@xemacs.org>
13033 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13034 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13036 2000-06-17 Martin Buchholz <martin@xemacs.org>
13038 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13039 conflicts with gcc's fixincluded version of FOO.h.
13041 * glyphs.h (image_instance_geometry): Remove trailing `,'
13043 2000-06-08 Mike Alexander <mta@arbortext.com>
13045 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13046 (shove_thread): Don't write the same output twice
13047 (make_ntpipe_output_stream): Increase priority of shove thread
13048 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13050 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13053 2000-06-12 Ben Wing <ben@xemacs.org>
13055 * s\mingw32.h (sigset):
13056 * s\windowsnt.h (sigset):
13057 rename msw_ to mswindows_ for consistency with general convention.
13059 2000-06-12 Ben Wing <ben@xemacs.org>
13062 * console-msw.c (mswindows_get_console_hwnd):
13063 * console-msw.c (mswindows_ensure_console_allocated):
13064 * console-msw.c (mswindows_hide_console):
13065 * console-msw.c (mswindows_show_console):
13066 * console-msw.c (mswindows_ensure_console_buffered):
13067 * console-msw.c (mswindows_output_console_string):
13068 * console-msw.c (mswindows_windows9x_p):
13070 * device-msw.c (mswindows_get_workspace_coords):
13071 * device-msw.c (mswindows_device_system_metrics):
13072 * dialog-msw.c (mswindows_popup_dialog_box):
13073 * event-msw.c (mswindows_wnd_proc):
13074 * frame-msw.c (mswindows_size_frame_internal):
13075 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13076 * menubar-msw.c (displayable_menu_item):
13077 * menubar-msw.c (mswindows_char_is_accelerator):
13079 * nt.c (mswindows_sigset):
13080 * nt.c (mswindows_sigrelse):
13081 * nt.c (mswindows_sigpause):
13082 * nt.c (mswindows_raise):
13083 * nt.c (timer_proc):
13085 * ntproc.c (find_child_console):
13086 * ntproc.c (sys_kill):
13088 * print.c (std_handle_out_external):
13089 * process-nt.c (find_child_console):
13090 * process-nt.c (send_signal_the_95_way):
13091 * process-nt.c (ensure_console_window_exists):
13092 * process-nt.c (nt_create_process):
13094 rename msw_ to mswindows_ for consistency with general convention.
13098 include nt.h, not syswindows.h.
13100 * nt.c (mswindows_fstat):
13101 * nt.c (mswindows_stat):
13102 prefix mswindows_ instead of attempting to directly override the
13103 library functions. fix declarations.
13106 include syswindows.h. move some sysdep.h stuff here.
13109 include syswindows.h, not <windows.h>.
13117 * sysdep.c (sys_fstat):
13118 * sysdep.c (sys_stat):
13119 call mswindows versions when appropriate.
13122 move mswin decls to nt.h.
13125 add long comment describing appropriate use of the various windows
13128 2000-06-11 Ben Wing <ben@xemacs.org>
13130 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13132 2000-06-10 Ben Wing <ben@xemacs.org>
13134 * Makefile.in.in (release):
13135 Correction to make sure xemacs.exe always dumped when correct.
13139 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13141 * buffer.c (set_buffer_internal):
13142 [[[[2]]]]: Remove HAVE_FEP code.
13144 * buffer.c (init_initial_directory):
13148 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13152 * callproc.c (call_process_cleanup):
13153 * callproc.c (Fold_call_process_internal):
13154 * callproc.c (child_setup):
13155 * callproc.c (getenv_internal):
13156 * callproc.c (init_callproc):
13157 * callproc.c (vars_of_callproc):
13158 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13159 __CYGWIN32__ -> CYGWIN.
13160 DOS_NT -> WIN32_NATIVE.
13161 Remove MSDOS support/references, converting to WIN32_NATIVE
13163 __MINGW32__ -> MINGW.
13164 Fix windows.h includes.
13165 Remove bogus HAVE_NTGUI.
13171 mswindows_message_outputted added for use in allowing startup
13172 errors on the console to be seen.
13174 * console-msw.c (msw_ensure_console_allocated):
13175 * console-msw.c (msw_output_console_string):
13176 * console-msw.c (DHEADER):
13177 * console-msw.c (DOPAQUE_DATA):
13178 * console-msw.c (DEVENT):
13179 * console-msw.c (DCONS):
13180 * console-msw.c (DCONSCDR):
13181 * console-msw.c (DSTRING):
13182 * console-msw.c (DVECTOR):
13183 * console-msw.c (DSYMBOL):
13184 * console-msw.c (DSYMNAME):
13187 * console-stream.c (stream_init_console):
13188 Fix text/binary problems.
13191 * device-msw.c (mswindows_finish_init_device):
13192 * device-msw.c (mswindows_delete_device):
13195 * device.c (handle_asynch_device_change):
13199 * dgif_lib.c (DGifOpenFileName):
13200 * dgif_lib.c (DGifOpenFileHandle):
13201 * dgif_lib.c (DGifGetLine):
13202 * dgif_lib.c (DGifGetPixel):
13203 Added config.h/lisp.h, fix up includes.
13210 * dired.c (file_name_completion):
13211 * dired.c (Ffile_attributes):
13212 * dired.c (syms_of_dired):
13216 * dumper.c (pdump_file_unmap):
13217 * dumper.c (pdump_load):
13221 * editfns.c (Ftemp_directory):
13222 * editfns.c (user_login_name):
13223 * editfns.c (Fuser_real_login_name):
13224 * editfns.c (get_home_directory):
13227 * elhash.c (finish_marking_weak_hash_tables):
13228 [[[[5]]]]: Fix GCC warnings.
13231 * emacs.c (mswindows_handle_hardware_exceptions):
13232 * emacs.c (make_arg_list_1):
13233 * emacs.c (main_1):
13234 * emacs.c (Fkill_emacs):
13235 * emacs.c (Fdump_emacs):
13237 Fix problems with nested crashes, add long comment.
13239 * event-Xt.c (init_event_Xt_late):
13243 * event-msw.c (mswindows_dde_callback):
13244 * event-msw.c (mswindows_handle_sticky_modifiers):
13245 * event-msw.c (mswindows_wnd_proc):
13249 * events.c (character_to_event):
13253 * fileio.c (Ffile_name_directory):
13254 * fileio.c (Ffile_name_nondirectory):
13255 * fileio.c (directory_file_name):
13256 * fileio.c (Fexpand_file_name):
13257 * fileio.c (Fsubstitute_in_file_name):
13258 * fileio.c (Ffile_name_absolute_p):
13259 * fileio.c (check_executable):
13260 * fileio.c (Ffile_readable_p):
13261 * fileio.c (Ffile_accessible_directory_p):
13262 * fileio.c (Ffile_modes):
13263 * fileio.c (Funix_sync):
13264 * fileio.c (vars_of_fileio):
13267 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13269 Expand getdefdir defn.
13270 Fix bogus rename() comment.
13272 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13273 to use standard XEmacs include files, e.g. sysfile.h, rather
13274 than system-specific includes.
13280 * frame.c (vars_of_frame):
13284 * getloadavg.c (getloadavg):
13286 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13287 (We don't use it elsewhere in the code; just add a comment.)
13294 * glyphs-msw.c (mswindows_resource_instantiate):
13297 * glyphs-x.c (x_native_layout_instantiate):
13300 * gui-msw.c (Fmswindows_shell_execute):
13309 * lread.c (locate_file_in_directory_mapper):
13316 * mem-limits.h (get_lim_data):
13328 * nt.c (rva_to_section):
13329 * nt.c (mswindows_executable_type):
13331 Fix closedir() defn.
13334 [[[[8]]]]: *_OK defs moved to sysfile.h.
13343 * print.c (std_handle_out_external):
13347 * process-nt.c (nt_create_process):
13349 try to fix process quoting somewhat.
13351 * process-unix.c (unix_create_process):
13355 * process.c (vars_of_process):
13362 * realpath.c (xrealpath):
13365 * redisplay-tty.c (init_tty_for_redisplay):
13375 * sheap.c (more_static_core):
13376 * sheap.c (report_sheap_usage):
13380 * signal.c (alarm_signal):
13387 * strftime.c (zone_name):
13390 * symsinit.h (init_sunpro):
13394 commctrl.h not in Cygwin b20.1.
13397 * sysdep.c (endif):
13398 * sysdep.c (sys_subshell):
13399 * sysdep.c (init_baud_rate):
13400 * sysdep.c (emacs_get_tty):
13401 * sysdep.c (emacs_set_tty):
13402 * sysdep.c (tty_init_sys_modes_on_device):
13403 * sysdep.c (init_system_name):
13404 * sysdep.c (sys_open):
13405 * sysdep.c (interruptible_open):
13406 * sysdep.c (sys_fopen):
13407 * sysdep.c (sys_mkdir):
13408 * sysdep.c (sys_rename):
13409 * sysdep.c (get_process_times_1):
13416 * sysdir.h (DIRENTRY_NONEMPTY):
13419 * sysdll.c (dll_init):
13425 added text/binary defs.
13431 * sysproc.h (EDESTADDRREQ):
13432 * sysproc.h (poll_fds_for_input):
13449 Always define WIN32_LEAN_AND_MEAN.
13451 * unexcw.c (unexec):
13455 * unexec.c (copy_text_and_data):
13456 * unexec.c (adjust_lnnoptrs):
13460 * unexnt.c (_start):
13463 2000-06-07 Ben Wing <ben@xemacs.org>
13465 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13466 was used only as a model. We've long since extracted any useful
13467 logic or code out of this. (I just did an exhaustive search.)
13469 * s\msdos.h: Removed.
13471 * s\windows95.h: Removed.
13473 2000-06-10 Ben Wing <ben@xemacs.org>
13477 Don't use extern with fun defs.
13481 Remove nt\inc include.
13482 Remove getdisk, getdefdir. (The former is unused, the latter
13483 expanded in fileio.h.)
13486 * s\windowsnt.h (WIN32_NATIVE):
13487 * s\windowsnt.h (HAVE_STRCASECMP):
13489 Add long comment about preprocessor changes.
13490 Remove getdisk, getdefdir. (The former is unused, the latter
13491 expanded in fileio.h.)
13493 2000-06-10 Ben Wing <ben@xemacs.org>
13502 Remove bogus/unused NO_SOCK_SIGIO.
13504 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13506 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13509 2000-06-04 Mike Sperber <mike@xemacs.org>
13511 * casetab.c (set_case_table): For `set-standard-case-table',
13512 actually deposit the new case tables where the rest of XEmacs can
13515 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13517 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13519 2000-06-05 Ben Wing <ben@xemacs.org>
13521 * callproc.c (child_setup): Don't do close_load_descs() under
13522 MS Windows. Put in a comment explaining why.
13524 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13526 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13527 Toolkit shell" which breaks `kill-compilation' on Windows NT
13528 native, retaining STDERR handling improvements.
13530 2000-06-01 Andreas Jaeger <aj@suse.de>
13532 * s/s390.h: Support for S390, based on a patch by Martin
13533 Schwidefsky <schwidefsky@de.ibm.com>.
13535 2000-05-30 Andy Piper <andy@xemacs.org>
13537 * window.c (allocate_window):
13538 (make_dummy_parent):
13539 (Fset_window_configuration): use new hashtable type.
13541 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13542 (struct image_instantiator_methods):
13543 (struct Lisp_Image_Instance): make instance geometry signed.
13545 * glyphs.c (instantiate_image_instantiator):
13546 (image_instance_query_geometry):
13547 (image_instance_layout):
13548 (image_instance_layout):
13549 (query_string_geometry):
13550 (text_query_geometry):
13551 (image_instantiate):
13552 (image_instantiate):
13553 (cache_subwindow_instance_in_frame_maybe):
13554 (subwindow_query_geometry): make instance geometry signed.
13556 * glyphs-widget.c (widget_query_geometry):
13558 (button_query_geometry):
13559 (tree_view_query_geometry):
13560 (tab_control_query_geometry):
13561 (layout_query_geometry):
13563 (native_layout_layout): make instance geometry signed.
13565 2000-05-29 Olivier Galibert <galibert@pobox.com>
13567 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13570 * general.c (syms_of_general): Add Qfull_assoc symbol.
13572 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13574 (decode_weak_list_type): Decode full-assoc type.
13575 (encode_weak_list_type): Encode full-assoc type.
13576 (Fmake_weak_list): Update doc string.
13578 2000-05-30 Andy Piper <andy@xemacs.org>
13580 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13582 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13583 (decode_hash_table_weakness): ditto.
13584 (Fhash_table_weakness): ditto.
13585 (Fhash_table_type): ditto.
13586 (finish_marking_weak_hash_tables): ditto.
13587 (hash_table_weakness_validate): ditto.
13588 (syms_of_elhash): ditto.
13590 2000-05-28 Martin Buchholz <martin@xemacs.org>
13592 * XEmacs 21.2.34 is released.
13594 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13596 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13598 (updating_line_start_cache): Gone.
13599 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13600 generic code to force a minimum of 1 line laid out in the
13603 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13605 * glyphs.c (instantiate_image_instantiator): Check for initialized
13606 height & width no longer special cases IMAGE_NOTHING.
13607 (nothing_instantiate): Set height and width of instance.
13609 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13611 * unexelf.c (unexec): Search for ".data" section.
13612 Initialize new_data2_offset from old_data_index.
13613 Remove redundant check for ElfW.
13615 2000-05-23 Andy Piper <andy@xemacs.org>
13617 * glyphs.c (get_image_instantiator_governing_domain): allow more
13618 specific domains as the governing domain rather than expecting an
13619 exact match. This fixes problems with layouts.
13621 2000-05-22 Andy Piper <andy@xemacs.org>
13623 * redisplay-output.c (compare_runes): check for non-images
13625 * glyphs.c (set_glyph_dirty_p): ditto.
13626 (update_glyph_cachel_data): ditto.
13628 * glyphs-widget.c (layout_post_instantiate): ditto.
13629 (layout_post_instantiate): ditto.
13631 * event-msw.c (mswindows_wnd_proc): warning removal.
13633 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13635 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13637 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13639 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13641 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13642 (mswindows_executable_type): mingw32 now has enough headers for
13645 2000-05-20 Andy Piper <andy@xemacs.org>
13647 * console-msw.c (mswindows_output_last_error): ; -> ,
13649 2000-05-12 Andy Piper <andy@xemacs.org>
13651 * console-msw.c (FROB): compare ints with ints.
13653 2000-05-11 Andy Piper <andy@xemacs.org>
13655 * glyphs-x.c (x_finalize_image_instance): make minimal build
13658 2000-05-20 Ben Wing <ben@xemacs.org>
13661 * event-Xt.c (vars_of_event_Xt):
13662 move modifier-keys-are-sticky to event-stream.c.
13665 * event-msw.c (mswindows_enqueue_mouse_button_event):
13666 * event-msw.c (key_needs_default_processing_p):
13667 * event-msw.c (XEMSW_LCONTROL):
13668 * event-msw.c (mswindows_handle_sticky_modifiers):
13669 * event-msw.c (FROB):
13670 * event-msw.c (clear_sticky_modifiers):
13671 * event-msw.c (output_modifier_keyboard_state):
13672 * event-msw.c (output_alt_keyboard_state):
13673 * event-msw.c (mswindows_wnd_proc):
13674 * event-msw.c (mswindows_modifier_state):
13675 * event-msw.c (emacs_mswindows_handle_magic_event):
13676 implement sticky modifiers.
13679 * event-stream.c (vars_of_event_stream):
13680 move modifier-keys-are-sticky here.
13683 add CHECK_FUNCTION.
13686 implement map-range-table.
13689 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13691 * redisplay-tty.c (reset_tty_modes):
13692 (tty_redisplay_shutdown): Adjust argument type to
13693 tty_frame_output_end.
13695 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13697 * eval.c (Fbacktrace): Don't output a line with only right
13700 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13702 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13703 (Fpq_reset_poll): Ditto.
13705 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13707 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13709 2000-05-16 Ben Wing <ben@xemacs.org>
13712 * buffer.c (dfc_convert_to/from_internal_format):
13713 * buffer.c (reinit_vars_of_buffer):
13714 Fix conversion functions to allow reentrancy.
13717 * console-msw.c (mswindows_output_last_error):
13718 New fun, generally useful -- output a human-readable
13719 version of GetLastError() on the console.
13722 * console-msw.h (struct mswindows_frame):
13723 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13725 * console-stream.c (stream_output_begin):
13726 * console-stream.c (stream_output_end):
13727 * console-stream.c (stream_output_vertical_divider):
13728 * console-stream.c (stream_clear_region):
13729 * console-stream.c (stream_flash):
13730 * console-stream.c (console_type_create_stream):
13731 Delete blank stream methods, not needed.
13733 * console.h (struct console_methods):
13734 Split begin/end methods into window and frame.
13737 * event-msw.c (mswindows_handle_paint):
13738 * event-msw.c (output_alt_keyboard_state):
13739 * event-msw.c (mswindows_wnd_proc):
13740 * event-msw.c (vars_of_event_mswindows):
13741 Comment about problems with ignored-expose.
13742 Define mswindows-debug-events; not really implemented.
13744 * frame-msw.c (mswindows_init_frame_1):
13748 * glyphs-msw.c (begin_defer_window_pos):
13749 * glyphs-msw.c (mswindows_unmap_subwindow):
13750 * glyphs-msw.c (mswindows_map_subwindow):
13751 * glyphs-msw.c (mswindows_resize_subwindow):
13752 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13754 * glyphs.c (make_image_instance_1):
13757 * gutter.c (Fredisplay_gutter_area):
13758 Use new begin/end methods.
13760 * lisp.h (Dynarr_new2):
13764 * redisplay-msw.c (mswindows_frame_output_begin):
13765 * redisplay-msw.c (mswindows_frame_output_end):
13766 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13767 New begin/end methods -- handle DeferWindowPos.
13769 * redisplay-output.c (redisplay_move_cursor):
13770 * redisplay-output.c (redraw_cursor_in_window):
13771 * redisplay-output.c (redisplay_update_line):
13772 * redisplay-output.c (redisplay_output_window):
13773 New begin/end methods.
13776 * redisplay-tty.c (tty_frame_output_begin):
13777 * redisplay-tty.c (tty_frame_output_end):
13778 * redisplay-tty.c (console_type_create_redisplay_tty):
13779 New begin/end methods.
13782 * redisplay-x.c (x_window_output_begin):
13783 * redisplay-x.c (x_window_output_end):
13784 * redisplay-x.c (console_type_create_redisplay_x):
13785 New begin/end methods.
13787 * redisplay.c (redisplay_frame):
13788 * redisplay.c (Fredisplay_echo_area):
13789 New begin/end methods.
13790 use MAYBE_DEVMETH for clear_frame; it may not exist.
13792 * window.h (WINDOW_XFRAME):
13793 WINDOW_XFOO macros -- get locale and decode struct pointer.
13796 2000-05-12 Ben Wing <ben@xemacs.org>
13799 * emacs.c (ensure_no_quitting_from_now_on):
13800 * emacs.c (fatal_error_signal):
13801 * emacs.c (mswindows_handle_hardware_exceptions):
13803 * emacs.c (Fkill_emacs):
13804 * emacs.c (shut_down_emacs):
13805 * emacs.c (assert_failed):
13806 various improvements in fatal error handling.
13809 move preparing_for_armageddon to emacs.c.
13812 declare fatal_error_in_progress.
13815 * print.c (std_handle_out_external):
13816 * print.c (std_handle_out_va):
13817 * print.c (stderr_out):
13818 * print.c (stdout_out):
13819 use console under mswin when no standard output.
13820 don't do code conversion during fatal error.
13822 * scrollbar.c (Fscrollbar_page_up):
13823 * scrollbar.c (Fscrollbar_page_down):
13824 fix missing else. reindent.
13826 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13830 * glyphs.h (GLYPH_CACHEL_DESCENT):
13831 (GLYPH_CACHEL_DESCENT):
13832 (GLYPH_CACHEL_DESCENT):
13833 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13834 used in case these are inline functions.
13835 Use more absurd values to error check.
13837 include window.h for error check functions.
13839 2000-05-11 Ben Wing <ben@xemacs.org>
13841 * cmdloop.c (Freally_early_error_handler):
13842 Display message box under windows; otherwise, message will disappear
13843 before it can be viewed.
13846 * console-msw.c (Fmswindows_message_box):
13847 * console-msw.c (FROB):
13848 * console-msw.c (syms_of_console_mswindows):
13849 Define new fun `mswindows-message-box'.
13850 #### I will merge this into `popup-dialog-box'; just give me
13854 * general.c (syms_of_general):
13855 Some new symbols used in `mswindows-message-box'.
13858 * glyphs.c (Fset_image_instance_property):
13859 put warning in this fun.
13862 * glyphs.h (GLYPH_CACHEL_WIDTH):
13863 * glyphs.h (GLYPH_CACHEL_ASCENT):
13864 * glyphs.h (GLYPH_CACHEL):
13865 * glyphs.h (GLYPH_CACHEL_GLYPH):
13866 define error-checking versions to try to catch a bug i've seen --
13867 redisplay gets in an infinite loop because the glyph width of the
13868 continuation glyph is 65535.
13871 Extern message-box stuff.
13873 * window.c (allocate_window):
13874 * window.c (make_dummy_parent):
13875 * window.c (Fset_window_configuration):
13876 Use EQUAL not EQ for subwindow caches to make them work a bit
13877 better. (Something is still very broken.)
13880 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13882 * glyphs.c (image_instantiate): Suppress gcc warnings.
13883 (Fmake_image_instance): Fix doc string.
13884 * specifier.c (Fmake_specifier): Ditto.
13886 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13888 * paths.h.in (PATH_LOCK): Removed.
13889 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13890 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13892 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13894 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13895 Document (featurep '(and xemacs 21.02)).
13897 2000-05-09 Ben Wing <ben@xemacs.org>
13899 * buffer.c (complex_vars_of_buffer):
13900 update modeline-format doc.
13903 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13906 timeline of all released versions of Emacs, for use in creating
13907 authorship comments and in synching up.
13909 * glyphs-widget.c (image_instantiator_buttons):
13910 * glyphs-widget.c (image_instantiator_edit_fields):
13911 * glyphs-widget.c (image_instantiator_combo_box):
13912 * glyphs-widget.c (image_instantiator_scrollbar):
13913 * glyphs-widget.c (image_instantiator_progress_guage):
13914 * glyphs-widget.c (image_instantiator_tree_view):
13915 * glyphs-widget.c (image_instantiator_tab_control):
13916 * glyphs-widget.c (image_instantiator_labels):
13917 * glyphs-widget.c (image_instantiator_layout):
13918 * glyphs-widget.c (image_instantiator_native_layout):
13919 rename decode_domain method to governing_domain.
13922 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13923 * glyphs.c (add_entry_to_device_ii_format_list):
13924 make sure we don't put an entry more than once into the list.
13925 * glyphs.c (check_instance_cache_mapper):
13926 *************************************************************
13927 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13929 *************************************************************
13930 * glyphs.c (get_image_instantiator_governing_domain):
13931 clean up, expand on new concept of governing domain.
13932 * glyphs.c (instantiate_image_instantiator):
13933 * glyphs.c (allocate_image_instance):
13934 use governing_domain instead of cache_domain in naming.
13935 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13936 * glyphs.c (make_image_instance_1):
13937 * glyphs.c (Fmake_image_instance):
13938 allow for any domain (not just device), and process the
13939 governing domain correctly. very big doc fix.
13940 * glyphs.c (Fimage_instance_domain):
13941 new primitive, to retrieve the governing domain of an image instance.
13942 * glyphs.c (image_instantiate):
13943 use new governing_domain stuff. this fixes a crash you could get
13944 by instantiating certain widget glyphs in frame locales. (should
13945 signal an error instead of crashing.)
13946 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13947 * glyphs.c (Fglyphp): clean up doc.
13948 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13949 * glyphs.c (syms_of_glyphs):
13950 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13951 * glyphs.c (image_instantiator_format_create): add some comments about
13953 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13954 for current-display-table. (Apparently Hrjove implemented in 1998 a
13955 design I wrote up in 1996, but didn't update the doc string.)
13957 * glyphs.h: clean up a doc string.
13958 * glyphs.h (governing_domain):
13959 * glyphs.h (struct image_instantiator_methods):
13960 changes for governing_domain stuff.
13963 * gutter.c (Fgutter_specifier_p):
13964 * gutter.c (Fgutter_size_specifier_p):
13965 * gutter.c (Fgutter_visible_specifier_p):
13967 * objects.c (Fcolor_specifier_p):
13968 * objects.c (Ffont_specifier_p):
13969 * objects.c (Fface_boolean_specifier_p):
13970 doc strings moved to make-*-specifier.
13972 * redisplay.c (add_disp_table_entry_runes_1):
13973 * redisplay.c (generate_fstring_runes):
13974 * redisplay.c (screen):
13975 add random comments and doc strings.
13978 * specifier.c (Fmake_specifier):
13979 major overhaul of this doc string.
13981 * specifier.c (Fvalid_specifier_domain_p):
13982 comment about the bogosity of image instances being domains.
13983 * specifier.c (decode_domain):
13984 now non-static, used in glyphs.c.
13985 * specifier.c (specifier_instance):
13986 comment about the bogosity of image instances being domains.
13987 * specifier.c (Fgeneric_specifier_p):
13988 move doc string to make-generic-specifier.
13989 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13993 * specifier.h (DOMAIN_FRAME):
13994 * specifier.h (DOMAIN_LIVE_P):
13995 * specifier.h (DOMAIN_XDEVICE):
13997 add comments about problems with these macros.
13998 prototype for decode_domain.
14001 * toolbar.c (Ftoolbar_specifier_p):
14002 move doc string to `make-toolbar-specifier'.
14004 * window.c (window_unmap_subwindows_cache_mapper):
14005 *************************************************************
14006 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14008 *************************************************************
14010 2000-05-09 Andy Piper <andy@xemacs.org>
14012 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14014 * window.c (Fset_window_configuration): reset the frame subwindow
14015 cache and re-initialize the window subwindow caches.
14017 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14019 2000-05-09 Ben Wing <ben@xemacs.org>
14021 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14024 2000-04-26 Mike Woolley <mike@bulsara.com>
14026 * ntheap.c: Changed recreate_heap to limit the amount reserved
14027 for the heap to that which is actually available. Also now
14028 displays a message box (with some dignostics) in the event that
14029 it still can't start.
14031 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14033 * callproc.c (Fold_call_process_internal): GCPRO path
14035 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14037 Patch by Bill Perry.
14039 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14040 back data instead of #ifdef.
14041 (Fscrollbar_page_down): ditto.
14043 2000-05-07 Ben Wing <ben@xemacs.org>
14046 Kludge for defining Qmswindows_tstr.
14049 * nt.c (open_input_file):
14050 * nt.c (open_output_file):
14051 * nt.c (rva_to_section):
14052 * nt.c (mswindows_executable_type):
14053 Move all memory-mapped-file routines here (some were in unexnt.c,
14054 which is bad because they are used by process-nt.c, and unexnt
14055 won't be around when portable dumping). Synched the above routines
14059 Removed ifdef'd out bogus code.
14060 Fixed some prototypes.
14062 * nt.h (file_data):
14063 * nt.h (OFFSET_TO_RVA):
14064 * nt.h (RVA_TO_OFFSET):
14065 * nt.h (RVA_TO_PTR):
14066 Moved the memory-mapped-file structures, macros and prototypes
14067 here, to parallel nt.c. ntheap.h should really be removed
14068 entirely, and it's a non-portable-dumper specific file.
14070 * ntheap.h (round_to_next):
14071 Moved the memory-mapped-file structures, macros and prototypes
14074 * ntproc.c (compare_env):
14075 Moved rva_to_section and mswindows_executable_type to nt.c.
14076 Moved compare_env to process-nt.c.
14077 ntproc.c will die, one day.
14079 * ntproc.c (sys_spawnve):
14080 Account for win32_ -> mswindows_.
14083 * process-nt.c (struct nt_process_data):
14084 * process-nt.c (ensure_console_window_exists):
14085 * process-nt.c (compare_env):
14086 * process-nt.c (nt_create_process):
14087 * process-nt.c (nt_kill_process_by_pid):
14088 * process-nt.c (syms_of_process_nt):
14089 * process-nt.c (vars_of_process_nt):
14090 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14091 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14092 changes). Eliminate our old `nt-quote-process-args' mechanism.
14093 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14094 Move compare_env here from ntproc.c.
14096 * process.c (Fprocess_send_region):
14097 Takes an optional fourth argument, BUFFER, which should fix some
14098 problems with call-process.
14101 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14104 Move ICC_BAR_CLASSES to syscommctrl.h.
14105 Add preliminary macros for MSWindows/Mule. More to come.
14108 * unexnt.c (unexec):
14109 open_output_file moved to nt.c.
14112 2000-05-05 Andy Piper <andy@xemacs.org>
14114 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14115 instance from the frame cache also since GC may catch up too late
14116 to make frame deletion sane.
14118 2000-05-04 Andy Piper <andy@xemacs.org>
14120 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14121 (x_finalize_image_instance): ungcpro on deletion.
14123 * glyphs.c (image_instantiator_format_create): give pointers a
14124 query geometry method so that the geometry is at least set.
14126 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14127 initialize layouts if using widgets.
14129 2000-05-03 Andy Piper <andy@xemacs.org>
14131 * nt.c: remove bogus reference to sysmmsystem.h
14133 * gui-x.c (popup_selection_callback): fix no selection abort.
14135 2000-05-02 Andy Piper <andy@xemacs.org>
14137 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14138 (mswindows_widget_instantiate): ditto.
14140 * glyphs-widget.c (initialize_widget_image_instance): initialize
14141 children correctly.
14142 (widget_instantiate): cope with children and items in the same
14145 * glyphs.c (mark_image_instance): cope with children as a first
14147 (image_instance_equal): ditto.
14148 (image_instance_hash): ditto.
14149 (image_instance_changed): ditto.
14151 2000-04-30 Andy Piper <andy@xemacs.org>
14153 * glyphs.c (subwindow_query_geometry): new function. Return some
14155 (subwindow_instantiate): don't assign dimensions if none have been
14157 (image_instantiator_format_create): add subwindow_query_geometry.
14158 (print_image_instance): cope with layouts as widgets.
14160 2000-04-29 Andy Piper <andy@xemacs.org>
14162 * frame.c (delete_frame_internal): call
14163 free_frame_subwindow_instance_cache so that all subwindows are
14164 finalized before their parent.
14165 (mark_frame): remove subwindow_cachels.
14166 (Fmake_frame): remove subwindow_cachel manipulation.
14167 (allocate_frame_core): subwindow_instance_cache is a weak list.
14168 (delete_frame_internal): set subwindow_instance_cache to nil.
14170 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14172 (mswindows_finalize_image_instance): use the device
14173 not the domain as the domain may have died already.
14175 * glyphs-x.c (x_finalize_image_instance): ditto.
14176 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14179 * redisplay-output.c (redisplay_unmap_subwindows): update for
14180 subwindow instance cache as a weak list.
14181 (redisplay_unmap_subwindows_maybe): ditto.
14182 (redisplay_unmap_subwindows_except_us): ditto.
14184 * glyphs.c (unmap_subwindow): error checking will check the domain
14185 so don't deal with it here. Don't use cachels anymore.
14186 (map_subwindow): ditto.
14187 (update_subwindow_cachel_data): remove old accessor names.
14188 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14189 (Fresize_subwindow): don't update cachel.
14190 (mark_subwindow_cachels):
14191 (update_subwindow_cachel_data):
14192 (add_subwindow_cachel):
14193 (get_subwindow_cachel_index):
14194 (update_subwindow_cachel):
14195 (reset_subwindow_cachels):
14196 (mark_subwindow_cachels_as_not_updated): deleted.
14197 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14198 subwindow instance to the frame cache.
14199 (find_matching_subwindow): update for subwindow instance cache as
14201 (update_widget_instances): ditto.
14202 (image_instance_type_to_mask):inlined.
14203 (free_frame_subwindow_instance_cache): new function. finalize all
14204 subwindows that are instantiated.
14206 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14207 of cachel information.
14208 (IMAGE_INSTANCE_DISPLAY_X):
14209 (IMAGE_INSTANCE_DISPLAY_Y):
14210 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14211 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14212 (XIMAGE_INSTANCE_DISPLAY_X):
14213 (XIMAGE_INSTANCE_DISPLAY_Y):
14214 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14215 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14216 remove subwindow_cachel structure and function references.
14217 (image_instance_type_to_mask): inline from glyphs.c
14219 * redisplay.c (redisplay_frame): remove subwindow_cachel
14222 * frame.h (struct frame): remove subwindow_cachels.
14223 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14225 * frameslots.h: add subwindow_instance_cache.
14227 * window.c (replace_window): check subwindow cache of replacement.
14228 (window_unmap_subwindows_cache_mapper):
14229 (window_unmap_subwindows): new functions. Unmap all subwindows
14230 cached on this window.
14231 (mark_window_as_deleted): unmap all subwindows.
14233 2000-04-27 Andy Piper <andy@xemacs.org>
14235 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14237 * glyphs-widget.c (widget_layout): return something.
14238 (layout_layout): return something. Fail if not initialized.
14239 (layout_query_geometry): ditto.
14240 (image_instantiator_native_layout): new function. Initialized the
14241 native layout type.
14242 (widget_instantiate): don't do layout stuff here.
14244 * glyphs.c (instantiate_image_instantiator): reorded calling or
14245 instantiate and post_instantiate with layout in between.
14246 (image_instance_layout): be more selective about deciding whether
14247 the layout has been done or not.
14249 * glyphs.h (struct image_instantiator_methods): return a value
14250 from layout_method.
14252 2000-04-26 Andy Piper <andy@xemacs.org>
14254 * glyphs.c (allocate_image_instance): make initial width and
14255 height unspecified. Set initialized to 0.
14257 * syscommctrl.h new file. Encapsulates commctrl.h.
14259 * syswindows.h new file. Encapsulates windows.h.
14261 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14263 * console-msw.h: ditto.
14265 * redisplay-tty.c (tty_output_display_block): remove layout references.
14267 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14268 window handle rather than just the frame.
14270 * glyphs.c (mark_image_instance): remove layout references.
14271 (print_image_instance): ditto.
14272 (image_instance_equal): ditto.
14273 (image_instance_hash): ditto.
14274 (decode_image_instance_type): ditto.
14275 (encode_image_instance_type): ditto.
14276 (image_instantiate): ditto.
14277 (allocate_glyph): ditto.
14278 (Fimage_instance_height): ditto.
14279 (Fimage_instance_width): ditto.
14280 (update_subwindow): ditto.
14282 * redisplay-x.c (x_output_display_block): recode for layouts as
14285 * redisplay-output.c (redisplay_output_layout): recode for layouts
14287 (compare_runes): remove layout references.
14289 * redisplay-msw.c (mswindows_output_display_block): recode for
14290 layouts as widgets.
14292 * glyphs-widget.c (image_instantiator_layout): remove
14293 layout_possible_dest_types.
14294 (layout_possible_dest_types): deleted.
14296 * glyphs.h (image_instance_type): remove layout references.
14297 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14298 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14299 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14301 2000-04-25 Andy Piper <andy@xemacs.org>
14303 * glyphs-widget.c (image_instantiator_buttons):
14304 (image_instantiator_edit_fields):
14305 (image_instantiator_combo_box):
14306 (image_instantiator_scrollbar):
14307 (image_instantiator_progress_guage):
14308 (image_instantiator_tree_view):
14309 (image_instantiator_tab_control):
14310 (image_instantiator_labels):
14311 (image_instantiator_layout): call default post_instantiate method.
14312 (widget_post_instantiate): new function. Simply lays out the
14315 * glyphs.h (struct image_instantiator_methods): add
14316 post_instantiate method.
14318 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14321 2000-04-23 Andy Piper <andy@xemacs.org>
14323 * glyphs.h (struct image_instantiator_methods): add
14324 decode_domain_method.
14325 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14326 derived from the domain.
14327 (IMAGE_INSTANCE_FRAME): new accessor.
14328 (XIMAGE_INSTANCE_FRAME): ditto.
14330 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14331 instead of _SUBWINDOW_FRAME.
14332 (finalize_image_instance): ditto.
14333 (Fimage_instance_foreground): ditto.
14334 (Fimage_instance_background): ditto.
14335 (image_instantiate): ditto.
14336 (update_subwindow_cachel): ditto.
14337 (update_subwindow): ditto.
14338 (unmap_subwindow): ditto.
14339 (map_subwindow): ditto
14340 (subwindow_instantiate): ditto.
14341 * glyphs-msw.c (mswindows_update_widget): ditto.
14342 (mswindows_progress_gauge_instantiate): ditto.
14343 (mswindows_tab_control_update): ditto.
14344 * glyphs-x.c (x_update_widget): ditto.
14345 (x_widget_instantiate): ditto.
14346 (x_tab_control_instantiate): ditto.
14347 (x_tab_control_update): ditto.
14348 * event-msw.c (mswindows_wnd_proc): ditto
14350 * glyphs-widget.c (image_instantiator_layout): use
14351 subwindow_decode_domain.
14352 (image_instantiator_buttons): ditto.
14353 (image_instantiator_edit_fields): ditto.
14354 (image_instantiator_combo_box): ditto.
14355 (image_instantiator_scrollbar): ditto.
14356 (image_instantiator_progress_guage): ditto.
14357 (image_instantiator_tree_view): ditto.
14358 (image_instantiator_tab_control): ditto.
14359 (image_instantiator_labels): ditto.
14360 (image_instantiator_layout): ditto.
14362 * glyphs.c: add instance error checking to many functions.
14363 (instantiate_image_instantiator): decode device from cache_domain.
14364 (image_instantiate): partially rewrite by using
14365 decode_image_instantiator_domain to determine what domain the
14366 instance needs to be cached in.
14367 (decode_image_instantiator_domain): new function. Determine what
14368 domain the image needs to be cached in.
14369 (check_window_subwindow_cache): new error checking function.
14370 (check_instance_cache_mapper): ditto.
14371 (check_image_instance_structure): ditto.
14372 (subwindow_decode_domain): new function. Encodes a window as a
14373 subwindow's cache domain.
14374 (image_instantiator_format_create): use it for text and
14377 2000-04-21 Andy Piper <andy@xemacs.org>
14379 * glyphs.c (image_instance_device): new function.
14380 (image_instance_frame): new function.
14381 (image_instance_window): new function.
14382 (image_instance_live_p): new function.
14384 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14387 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14388 (IMAGE_INSTANCE_DOMAIN): new accessor.
14389 (XIMAGE_INSTANCE_DOMAIN): ditto.
14391 * glyphs-x.c (x_finalize_image_instance): device->domain.
14393 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14394 (mswindows_finalize_image_instance): ditto.
14396 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14397 (gif_instantiate): ditto.
14398 (png_instantiate): ditto.
14399 (tiff_instantiate): ditto.
14401 * glyphs.c (instantiate_image_instantiator): use domain rather
14403 (mark_image_instance): device -> domain.
14404 (print_image_instance): ditto.
14405 (finalize_image_instance): ditto.
14406 (image_instance_equal): ditto.
14407 (allocate_image_instance): ditto.
14408 (Fcolorize_image_instance): ditto.
14409 (query_string_geometry): ditto.
14410 (image_instantiate): ditto
14411 (query_string_font): ditto.
14412 (image_instantiate): ditto.
14413 (update_subwindow): ditto.
14414 (unmap_subwindow): ditto.
14415 (map_subwindow): ditto.
14416 (subwindow_instantiate): ditto.
14418 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14419 (DOMAIN_FRAME): ditto.
14420 (DOMAIN_WINDOW): ditto.
14421 (DOMAIN_LIVE_P): ditto.
14422 (XDOMAIN_DEVICE): ditto.
14423 (XDOMAIN_FRAME): ditto.
14424 (XDOMAIN_WINDOW): ditto.
14426 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14427 a valid specifier domain.
14429 2000-04-19 Andy Piper <andy@xemacs.org>
14431 * glyphs-widget.c (syms_of_glyphs_widget): remove
14432 widget-callback-current-channel.
14433 (vars_of_glyphs_widget): ditto.
14436 * gui.c (get_gui_callback): revert to previous behaviour.
14438 2000-04-18 Andy Piper <andy@xemacs.org>
14440 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14441 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14442 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14444 * glyphs.c (image_instance_equal): add margin_width.
14445 (image_instance_hash): ditto.
14447 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14448 (layout_query_geometry): ditto.
14449 (layout_layout): ditto.
14450 (syms_of_glyphs_widget): add margin-width.
14451 (image_instantiator_layout): allow margin-width.
14453 * glyphs.c (update_widget_instances): make a normal function.
14454 (syms_of_glyphs): remove Qupdate_widget_instances.
14457 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14458 so that we don't corrupt ideas about the last event or
14459 command. Remove widget-callback-current-channel fiddling.
14460 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14462 2000-05-01 Martin Buchholz <martin@xemacs.org>
14464 * XEmacs 21.2.33 is released.
14466 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14468 * make-src-depend: Allow dots in header file name.
14470 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14472 * mule-charset.h (struct charset_lookup): Add
14473 next_allocated_1_byte_leading_byte and
14474 next_allocated_2_byte_leading_byte.
14475 * mule-charset.c: Move above two variables so that those values
14478 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14480 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14481 when string length is zero.
14482 (find_charsets_in_emchar_string): Ditto.
14484 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14486 * lisp.h: extern Qdialog and Qmenubar.
14488 * gui-x.c: added events.h.
14489 also fixed typo which made the file uncompilable.
14491 * general.c: Added Qmenubar and Qdialog
14493 2000-04-28 Ben Wing <ben@xemacs.org>
14495 * frame-msw.c (mswindows_init_frame_1):
14496 * frame-msw.c (mswindows_mark_frame):
14497 * event-msw.c (mswindows_enqueue_dispatch_event):
14499 * console-msw.h (struct mswindows_frame):
14500 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14501 there are now three hash tables for callbacks.
14502 mswindows_enqueue_dispatch_event is no longer static.
14504 * dialog-x.c (maybe_run_dbox_text_callback):
14505 * dialog-x.c (dbox_descriptor_to_widget_value):
14506 switch to new cons3 form for callbacks.
14508 * glyphs-msw.c (mswindows_register_gui_item):
14509 * glyphs-msw.c (mswindows_widget_instantiate):
14510 * glyphs-msw.c (add_tree_item):
14511 * glyphs-msw.c (add_tab_item):
14512 new image instance parameter, so it can be passed to callback-ex.
14513 respect :callback-ex as well as :callback.
14515 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14518 * glyphs.c (print_image_instance):
14519 prettify, e.g. now prints widget type.
14522 certain funs have new image instance parameter.
14525 * gui.c (get_gui_callback):
14526 * gui.c (gui_item_add_keyval_pair):
14527 * gui.c (gui_item_init):
14528 * gui.c (gui_add_item_keywords_to_plist):
14529 * gui.c (mark_gui_item):
14530 * gui.c (gui_item_hash):
14531 * gui.c (gui_item_equal):
14532 * gui.c (copy_gui_item):
14533 * gui.c (syms_of_gui):
14534 recognize callback-ex in a number of places.
14535 also, fix the annoying "can't get out of yes-no dialog" bug.
14538 * gui.h (struct Lisp_Gui_Item):
14539 recognize callback-ex in a number of places.
14541 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14542 new parameter in button_item_to_widget_value.
14544 * glyphs-x.c (x_update_widget):
14545 * glyphs-x.c (x_button_instantiate):
14546 * glyphs-x.c (x_button_update):
14547 * glyphs-x.c (x_progress_gauge_instantiate):
14548 * glyphs-x.c (x_edit_field_instantiate):
14549 * glyphs-x.c (x_combo_box_instantiate):
14550 * glyphs-x.c (x_tab_control_instantiate):
14551 * glyphs-x.c (x_label_instantiate):
14552 new image instance parameter in various places.
14555 * event-Xt.c (enqueue_Xt_dispatch_event):
14556 this fun gets exported.
14559 * gui-msw.c (mswindows_handle_gui_wm_command):
14560 handle both :callback and :callback-ex, and generate our own
14561 event because it's one of the callback-ex arguments.
14564 * gui-x.c (popup_selection_callback):
14565 handle both :callback and :callback-ex, and generate our own
14566 event because it's one of the callback-ex arguments.
14567 * gui-x.c (button_item_to_widget_value):
14568 * gui-x.c (gui_items_to_widget_values_1):
14569 * gui-x.c (gui_item_children_to_widget_values):
14570 * gui-x.c (gui_items_to_widget_values):
14571 new image instance parameter in various places.
14573 * fns.c (Freplace_list):
14574 fix small typo in doc string.
14577 declare enqueue_Xt_dispatch_event.
14579 2000-04-28 Ben Wing <ben@xemacs.org>
14582 * buffer.c (Frecord_buffer):
14583 * buffer.c (syms_of_buffer):
14584 delete record-buffer-hook.
14587 * fns.c (Freplace_list):
14588 * fns.c (syms_of_fns):
14589 new primitive replace-list.
14592 slot for old buffer-alist.
14595 exfun replace-list.
14598 * redisplay.c (redisplay_frame):
14599 * redisplay.c (syms_of_redisplay):
14600 * redisplay.c (vars_of_redisplay):
14601 new hook buffer-list-changed-hook.
14604 2000-04-27 Ben Wing <ben@xemacs.org>
14606 * extents.h: extern in_modeline_generation.
14608 * redisplay.c (generate_formatted_string_db): set
14609 in_modeline_generation.
14611 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14612 flags if in modeline generation. otherwise frame-modified-tick
14613 is ticked far too often.
14614 Declare in_modeline_generation.
14616 2000-04-26 Ben Wing <ben@xemacs.org>
14618 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14620 (vars_of_emacs): add quick-build as an error-checking option.
14621 A bit kludgy, but there doesn't seem much point in creating
14622 a real var for this.
14624 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14626 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14628 * redisplay.h (struct display_line): Add a new variable,
14631 * redisplay.c (create_text_block): Set dl->line_continuation if
14632 the line continues.
14633 (create_string_text_block): Ditto.
14634 (regenerate_window_incrementally): Use line_continuation instead
14635 of searching continuation glyph.
14636 (add_margin_runes): Call add_glyph_rune.
14637 (add_glyph_rune): Handle margin glyph.
14639 2000-04-20 Martin Buchholz <martin@xemacs.org>
14641 * filelock.c (fill_in_lock_file_name):
14643 Check for IS_ANY_SEP instead of '/'.
14645 Avoid generating gratuitous garbage. Call user_login_name() directly.
14646 Never check errno without first seeing that system call failed.
14647 (unlock_file): Add GCPRO.
14648 (Flock_buffer): Fix docstring.
14649 (Ffile_locked_p): Fix docstring. Add GCPRO.
14651 2000-04-19 Martin Buchholz <martin@xemacs.org>
14653 * sysdep.c (get_pty_max_bytes):
14654 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14655 strings longer than 252 bytes.
14657 * md5.c: Unconditionally include ANSI header <limits.h>
14659 * glyphs-x.c (convert_EImage_to_XImage):
14660 * lisp-union.h (union Lisp_Object):
14661 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14663 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14665 * filelock.c (current_lock_owner): Remove unused variable o, p.
14667 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14669 * callint.c: Remove multiply defined symbol Qlet
14670 (syms_of_callint): ditto.
14672 2000-04-14 Andy Piper <andy@xemacs.org>
14674 * general.c (syms_of_general): add last-command, this-command, let
14677 * lisp.h: declare various symbols.
14679 * glyphs.h: declare Qwidget_callback_current_channel;
14681 * glyphs-widget.c (syms_of_glyphs_widget): add
14682 Qgui_callback_current_channel.
14683 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14685 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14686 widget-callback-current-channel when invoking the interactive
14687 arg. Also bind last-command and next-command when invoking the
14689 * gui-x.c (popup_selection_callback): ditto.
14691 * gui.c (get_gui_callback): massage args so that we are always
14692 calling eval. This allows us to add our own variable bindings
14695 * glyphs-x.c (x_button_instantiate): use
14696 gui_items_to_widget_values since this is GC safe.
14697 (x_progress_gauge_instantiate): ditto.
14698 (x_edit_field_instantiate): ditto.
14699 (x_label_instantiate): ditto.
14701 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14702 (emacs_Xt_event_widget_focus_out): new function
14703 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14705 (emacs_Xt_event_add_widget_actions): new function. add focus
14706 functions as actions.
14707 (init_event_Xt_late): use it.
14709 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14711 * event-stream.c (Fdispatch_event): Doc fix.
14713 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14715 * postgresql.c: Remove all references to PQsetenv*.
14717 * postgresql.h: Remove references to PGsetenvHandler object.
14718 * lrecord.h (lrecord_type): Ditto.
14720 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14722 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14723 real_heigh and real_width members, and accessor macros for these.
14725 * glyphs-msw.c (init_image_instance_geometry): New function.
14726 (init_image_instance_from_dibitmap): Use it.
14727 (mswindows_resource_instantiate): Use it.
14728 (init_image_instance_from_xbm_inline): Use it.
14729 (mswindows_initialize_image_instance_mask): Use real bitmap
14731 (mswindows_create_resized_bitmap): Ditto.
14732 (mswindows_create_resized_mask): Ditto.
14734 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14735 and bitmap to their surface size.
14737 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14739 * process-unix.c (unix_send_process): Guard against process MIA
14740 after Faccept_process_output.
14742 2000-04-11 Ben Wing <ben@xemacs.org>
14744 * eval.c (unbind_to_hairy): fix brokenness introduced by
14745 nanosecond speed improvements.
14747 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14749 * sunplay.c (init_device): To play sounds correctly, the device
14750 apparently needs to be initialized at least once by XEmacs. Make
14753 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14755 * redisplay.c (add_margin_runes): Add text image glyph
14758 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14760 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14761 gcc is newer than 2.5.
14763 2000-04-06 Colin Rafferty <colin@xemacs.org>
14765 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14767 * fns.c (size_bit_vector):
14768 * alloc.c (size_vector):
14769 (make_vector_internal):
14770 (make_bit_vector_internal):
14771 (sweep_bit_vectors_1):
14772 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14774 2000-04-06 Andy Piper <andy@xemacs.org>
14776 * gmalloc.c (malloc): undo previous change.
14781 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14783 * line-number.c (buffer_line_number): Revert to former version.
14785 2000-04-06 Andy Piper <andy@xemacs.org>
14787 * gmalloc.c (malloc): add error checking.
14792 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14793 button_item_to_widget_value arg.
14795 * glyphs-x.c (x_button_instantiate): add extra
14796 button_item_to_widget_value arg.
14797 (x_progress_gauge_instantiate): ditto.
14798 (x_edit_field_instantiate): ditto.
14799 (x_label_instantiate): ditto.
14801 * gui-x.c (gui_items_to_widget_values_1): add extra
14802 button_item_to_widget_value arg.
14803 (button_item_to_widget_value): add extra menu_item_p arg.
14805 * gui-x.h: change signature of button_item_to_widget_value.
14807 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14808 button_item_to_widget_value arg.
14810 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14812 * buffer.h (struct buffer): auto_save_modified should be long.
14814 2000-04-05 Andy Piper <andy@xemacs.org>
14816 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14818 (button_query_geometry): give a little more room so that athena
14821 2000-04-05 Andy Piper <andy@xemacs.org>
14823 * faces.c (complex_vars_of_faces): The widget face should inherit
14824 the font of the gui-element face.
14826 2000-04-04 Andy Piper <andy@xemacs.org>
14828 * glyphs-x.c (x_button_update): new function. unconditionally
14829 update a button's state when the instance is dirty.
14830 (image_instantiator_format_create_glyphs_x): add x_button_update.
14831 (x_widget_instantiate): remove old resize cruft.
14833 2000-04-02 Andy Piper <andy@xemacs.org>
14835 * frame.c (change_frame_size_1): The introduction of gutters means
14836 that we need to allow 0 as a potential frame dimension.
14838 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14840 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14841 image glyph if allow_cursor.
14842 (add_hscroll_rune): Don't allow cursor to border glyph.
14843 (create_text_block): Ditto.
14845 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14846 text not in buffer.
14847 (redisplay_output_layout): Call ensure_face_cachel_complete for
14851 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14853 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14855 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14858 * redisplay-tty.c (tty_output_display_block): Delete the routine
14859 for text image glyph
14860 * redisplay-x.c (x_output_display_block): ditto
14861 * redisplay-msw.c (mswindows_output_display_block): ditto
14863 2000-02-02 Mike Alexander <mta@arbortext.com>
14865 Note: Some of these were committed by accident as part of other
14868 * regex.c (regex_compile): Avoid compiler warnings.
14870 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14872 * nt.h: Declare term_ntproc correctly.
14874 * nt.c: Remove incorrect declaration of get_home_directory which
14875 is declared correctly in lisp.h.
14877 * keymap.c (get_keyelt): Avoid compiler warnings.
14878 (raw_lookup_key_mapper): Avoid compiler warnings.
14880 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14882 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14884 * filemode.c (mode_string): Avoid compiler warnings.
14886 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14889 * events-mod.h: Undef some things that winuser.h defines differently.
14891 * data.c (Faset): Avoid compiler warnings.
14893 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14895 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14897 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14898 Fall through to simple beep on error.
14899 Replace "extern" by real header file.
14901 * linuxplay.c: Use nativesound.h
14902 (play_sound_data): Return error code. Be less verbose on error.
14904 * sunplay.c: Use nativesound.h
14905 (play_sound_data): Return error code. Be less verbose on error.
14907 * ntplay.c: Use nativesound.h
14908 (play_sound_data): Return fake error code
14910 * sgiplay.c: Use nativesound.h
14911 (play_sound_data): Return error code
14913 * hpplay.c: Use nativesound.h, partially implement
14914 new error code. Break compilation until finished.
14915 (play_sound_data): error code.
14917 * nativesound.h (play_sound_file):
14918 (play_sound_data): Prototype in new header.
14920 2000-03-31 Andy Piper <andy@xemacs.org>
14922 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14923 for toggle and radio buttons.
14924 (image_instantiator_buttons): use it.
14926 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14928 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14929 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14930 found. Scrollbar event probably belonged to some old config.
14932 2000-03-31 Andy Piper <andy@xemacs.org>
14934 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14936 (initialize_widget_image_instance): default layout to
14937 LAYOUT_HORIZONTAL rather than 0.
14938 (widget_instantiate): reverse the item list at the end rather than
14940 (layout_layout): re-code for the border text at the front of the
14941 item list rather than at the end.
14942 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14943 provided by the user.
14944 (widget_query_geometry): comment.
14946 2000-03-30 Andy Piper <andy@xemacs.org>
14948 * glyphs-widget.c (image_instantiator_layout): allow standard
14949 widget keywords in layouts.
14951 * gutter.c (output_gutter): cope with nil gutter contents.
14953 * frame.c (Fset_frame_properties): add gutter docs.
14955 2000-03-29 Andy Piper <andy@xemacs.org>
14957 * toolbar-msw.c (TBSTYLE_FLAT): add.
14958 (mswindows_output_toolbar): minor fiddling.
14960 2000-03-29 Andy Piper <andy@xemacs.org>
14962 * gutter.c (output_gutter): force gutter size recalculation if
14963 what we are trying to display won't fit.
14964 (update_gutter_geometry): new function. A per-gutter version of
14965 update_frame_gutter_geometry.
14966 (update_frame_gutter_geometry): use it.
14967 (redraw_exposed_gutter): add extra debugging output.
14969 2000-03-28 Mike Alexander <mta@arbortext.com>
14971 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14972 (pdump_file_unmap): Implement it on Windows
14973 (pdump_file_get): Save alocated handles for pdump_file_unmap
14975 2000-03-28 Andy Piper <andy@xemacs.org>
14977 * gui.c (get_gui_callback): treat Quit specially.
14979 2000-03-27 Andy Piper <andy@xemacs.org>
14981 * glyphs.c (image_instantiate): be careful to check in the same
14984 2000-03-27 Didier Verna <didier@xemacs.org>
14986 * config.h.in: define the proper SMART_INCLUDE macro.
14987 handle renaming of `foo_h_path' to `foo_h_file'.
14989 * database.c: ditto.
14993 * linuxplay.c: ditto.
14995 * terminfo.c: ditto.
14997 * tooltalk.h: ditto.
14999 2000-03-27 Andy Piper <andy@xemacs.org>
15001 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15002 gets updated whenever the face might have changed.
15004 2000-03-26 Mike Alexander <mta@arbortext.com>
15006 * dumper.c (pdump_resource_free): Fix the comment.
15008 2000-03-21 Olivier Galibert <galibert@pobox.com>
15010 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15012 2000-03-22 Mike Alexander <mta@arbortext.com>
15014 * dumper.c: Include Windows headers on Windows
15015 (pdump_resource_free): Add a body to the function
15016 (pdump_load): exe_name -> exe_path and add some comments.
15018 2000-03-25 Mike Alexander <mta@arbortext.com>
15020 * gui.c (copy_gui_item_tree): Return a value in all cases
15022 2000-03-21 Didier Verna <didier@xemacs.org>
15024 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15026 (SMART_INCLUDE): new macro.
15027 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15028 the proper location.
15030 * postgresql.c: use it.
15034 2000-03-24 Andy Piper <andy@xemacs.org>
15036 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15039 2000-03-24 Andy Piper <andy@xemacs.org>
15041 * redisplay-output.c (compare_runes): use image_instance_changed
15042 to detect changes. Do not depend on glyphs_changed, only depend on
15044 (redisplay_output_layout): add debug messages.
15045 (compare_runes): ditto.
15047 * glyphs.h: declare new functions.
15048 (struct Lisp_Image_Instance): remove percent and associated
15051 * gui.h: declare new copying functions.
15053 * gui.c (copy_gui_item_tree): new function.
15054 (copy_gui_item): new function.
15055 (gui_item_id_hash): revert to standard hash.
15056 (gui_item_hash): ditto.
15057 (gui_item_hash_internal): deleted.
15058 (mark_gui_item): mark value.
15059 (gui_item_add_keyval_pair): add value.
15060 (gui_item_init): ditto.
15061 (gui_add_item_keywords_to_plist): ditto.
15062 (gui_item_equal): ditto.
15063 (syms_of_gui): add Q_value.
15065 * glyphs-x.c (x_progress_gauge_update): use pending items and
15066 value for setting the state.
15067 (x_update_widget): don't set items from pending here.
15069 * glyphs-widget.c (update_widget): update items here.
15070 (progress_gauge_set_property): use items for storing value. Put
15071 new value in pending items.
15073 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15074 items for new value. Convert percent -> value.
15075 (mswindows_tab_control_update): don't update items here.
15077 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15078 (update_subwindow): ditto.
15079 (image_instance_changed): new function. Compare hash values and
15080 past and present widget items.
15081 (image_instantiate): We more careful about where we instantiate
15083 (image_instantiate): add error checking.
15085 * gutter.c (syms_of_gutter): use -hook.
15087 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15089 * console-tty.c (Fset_console_tty_input_coding_system): Use
15091 (Fset_console_tty_output_coding_system): Use Qterminal.
15092 (tty_init_console): Use Qkeyboard and Qterminal.
15094 2000-03-21 Ben Wing <ben@xemacs.org>
15096 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15097 From Mike Alexander <mta@arbortext.com>.
15099 2000-03-21 Ben Wing <ben@xemacs.org>
15101 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15102 process brokenness. Proper implementation to come.
15104 Rename call-process-internal to old-call-process-internal.
15105 New impl. in process.el.
15107 2000-03-21 Martin Buchholz <martin@xemacs.org>
15109 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15111 2000-03-20 Andy Piper <andy@xemacs.org>
15113 * glyphs.c (full_list_hash): make hashes of the same elements in
15114 different orders return different values.
15116 2000-03-20 Martin Buchholz <martin@xemacs.org>
15118 * XEmacs 21.2.32 is released.
15120 2000-03-20 Martin Buchholz <martin@xemacs.org>
15122 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15123 (DFC_MALLOC_USE_CONVERTED_DATA):
15124 Add aliasing-safe casts to allow use with char* or unsigned char*
15127 * eldap.c (Fldap_open):
15128 (Fldap_search_basic):
15131 Make C++-compilable.
15132 Make sure GCPRO'ed variables are initialized.
15133 Use temp variables to avoid repeated calls to Flength.
15135 2000-03-16 Martin Buchholz <martin@xemacs.org>
15138 Make sure PATH_MAX is always defined.
15139 Include limits.h for PATH_MAX.
15140 Deprecate use of MAXPATHLEN.
15142 2000-03-10 Martin Buchholz <martin@xemacs.org>
15144 * emacs.c: Add reinit_vars_of_fileio.
15145 * symsinit.h: Add reinit_vars_of_fileio.
15146 * fileio.c (reinit_vars_of_fileio): New.
15147 * fileio.c (Fmake_temp_name):
15148 Initialize temp_name random number from microseconds to make
15149 collisions even less likely. Initialize always at process startup
15150 time. (make-temp-name) used to return the same file name twice in
15152 Random stylistic fiddling.
15155 2000-03-20 Andy Piper <andy@xemacs.org>
15157 * glyphs.c (image_instantiate): allow text glyphs to be
15158 instantiated in the minibuffer window.
15160 2000-03-19 Andy Piper <andy@xemacs.org>
15162 * glyphs.c (image_instance_hash): be careful about which items we
15165 * glyphs-widget.c (tab_control_set_property): record into pending
15166 items rather than the actual items.
15168 * glyphs-x.c (x_update_widget): use pending items to update with.
15170 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15173 * glyphs.c (mark_image_instance): mark pending items.
15175 * window.c (Fset_window_configuration): record the buffer.
15176 (Fselect_window): totally revert previous change which breaks many
15179 2000-03-18 Andy Piper <andy@xemacs.org>
15181 * glyphs-msw.c (mswindows_tab_control_update): force selected
15184 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15185 window domain cache, otherwise we get inconsistencies at
15186 startup. There is something fishy at startup which can lead to the
15187 minibuffer being the selected window when the gutter content is
15190 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15192 (parse_gui_item_tree_children): ditto.
15193 (parse_gui_item_tree_item): ditto.
15195 * glyphs.c (Fupdate_widget_instances): return something.
15197 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15199 * window.c (Fselect_window): Undo 2000-03-17 change.
15201 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15203 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15204 against v7.0 libraries. Insta-coredump city until the postgres
15207 2000-03-17 Andy Piper <andy@xemacs.org>
15209 * faces.c (complex_vars_of_faces): don't give the widget face an
15210 inherited background pixmap.
15212 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15215 * event-stream.c (Fdispatch_non_command_events): return something.
15217 * gutter.c (output_gutter): use widget face.
15218 (clear_gutter): ditto.
15220 * NEWS: adjust again.
15222 * window.c (Fselect_window): make sure this runs to completion to
15223 avoid oddities with Fset_window_configuration.
15224 (Fcurrent_window_configuration): in general do not save the
15225 minibuffer as the selected window.
15227 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15229 2000-03-16 Olivier Galibert <galibert@pobox.com>
15231 * emacs.c (Frunning_temacs_p): Revert previous patch.
15232 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15234 2000-03-16 Andy Piper <andy@xemacs.org>
15236 * glyphs-x.c (x_tab_control_update): if no widget values then
15239 * NEWS: update for new features.
15241 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15242 synthetic event to the native system.
15243 (reinit_vars_of_event_Xt): set force_event_pending to
15244 emacs_Xt_force_event_pending.
15246 * events.h (struct event_stream): add force_event_pending.
15248 * specifier.c (recompute_one_cached_specifier_in_window): add
15251 * redisplay.c (redisplay_frame): don't call
15252 update_frame_subwindows. Reset subwindow cachels when
15253 subwindows_changed, removing this was an optimization too far.
15255 * redisplay-output.c (compare_runes): reorganize so that we catch
15256 glyph changes when we want them. Set optimize_output when this
15257 would help layouts.
15258 (redisplay_output_layout): remove frame_really_changed, use
15259 optimize_output instead.
15261 * redisplay-msw.c (mswindows_output_display_block): reset
15262 optimize_output after outputting a glyph.
15263 * redisplay-x.c (x_output_display_block): ditto.
15264 * redisplay-tty.c (tty_output_display_block): ditto.
15266 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15268 (gutter_specs_changed): do specific gutter positions.
15269 (top_gutter_specs_changed): new function. Only update the
15270 specified gutter specs.
15271 (bottom_gutter_specs_changed): ditto.
15272 (left_gutter_specs_changed): ditto.
15273 (right_gutter_specs_changed): ditto.
15275 * gui.c (gui_item_hash_internal): new function, does a real hash.
15276 (gui_item_id_hash): use it.
15277 (gui_item_hash): hash the eval'ed gui_item.
15279 * gui-x.c (popup_selection_callback): send an eval event to call
15280 Fupdate_widget_instances.
15282 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15283 to call Fupdate_widget_instances.
15285 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15286 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15288 * glyphs.c: (update_frame_subwindows): deleted.
15289 (Fupdate_widget_instances): new function for updating the dirty
15290 state of widgets that might have changed.
15291 (syms_of_glyphs): add Qupdate_widget_instances.
15292 (full_list_hash): hash a list completely.
15293 (image_instance_hash): use it for items and properties.
15295 * frame-msw.c (mswindows_size_frame_internal): remove unused
15298 * faces.h (struct face_cachel): fix comment.
15300 * event-stream.c (Fdispatch_non_command_events): new
15301 function. Process non-command events, forcing an event cycle
15303 (syms_of_event_stream): declare.
15304 (event_stream_force_event_pending): new function. Force an event
15305 on the native event queue so that an event cycle will occur next
15309 (struct ntpipe_shove_stream):
15310 (mswindows_enqueue_dispatch_event):
15311 (mswindows_dequeue_dispatch_event):
15312 (mswindows_cancel_dispatch_event):
15313 (mswindows_pump_outstanding_events):
15314 (mswindows_drain_windows_queue):
15315 (mswindows_handle_paint):
15316 (mswindows_wnd_proc):
15317 (mswindows_key_to_emacs_keysym):
15318 (get_process_input_waitable):
15319 (emacs_mswindows_delete_stream_pair): re-indent file.
15320 (mswindows_need_event): do not process further fds if the windows
15321 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15322 fixes the 100% cpu problem.
15323 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15325 2000-03-15 Olivier Galibert <galibert@pobox.com>
15331 * emacs.c: Moved dump file searching to dumper.c.
15332 (Frunning_temacs_p): Fixed.
15334 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15335 last_lrecord_type_index_assigned.
15337 2000-02-20 Olivier Galibert <galibert@pobox.com>
15339 * symsinit.h: Added reinit parameter to init_console_stream
15342 * lisp.h: Added file parameter to pdump_load declaration.
15344 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15345 support. Added dump file searching.
15347 * config.h.in: Added EMACS_PROGNAME.
15349 * console-stream.c (init_console_stream): Fix reinitialisation
15350 when running from temacs.
15352 * alloc.c (pdump): Add id support.
15353 (pdump_load): Add file parameter and signature/id support.
15355 * Makefile.in.in: Add full pdump support.
15357 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15359 * postgresql.c: Update documentation to reflect latest code
15361 (print_result): Show tuple counts in printed representation when
15363 (Fpq_put_nbytes): MULE-ize.
15364 (Fpq_get_line_async): Ditto.
15366 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15368 * postgresql.c (Fpq_lo_import): Fix return value.
15369 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15371 2000-03-13 Ben Wing <ben@xemacs.org>
15373 * alloc.c (pdump_load):
15374 Fix compile warning under mswin.
15376 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15378 * postgresql.c: Mule-ization, bug fixes.
15379 Use PG_CODING to encapsulate coding system name changes.
15380 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15381 (pg-coding-system): Create.
15383 (Fpq_conn_defaults): Mule-ize.
15384 (Fpq_connectdb): Mule-ize & bug fix.
15385 (Fpq_connect_start): Mule-ize.
15386 (Fpq_set_client_encoding): Mule-ize.
15387 (Fpq_finish): Document `DEAD' connection status.
15388 (Fpq_clear): Ditto.
15389 (Fpq_pgconn): Mule-ize.
15390 (Fpq_exec): Mule-ize & bug fix.
15391 (Fpq_send_query): Ditto.
15392 (Fpq_get_result): Ditto.
15393 (Fpq_res_status): Mule-ize.
15394 (Fpq_result_error_message): Mule-ize.
15395 (Fpq_ntuples): fix comments.
15396 (Fpq_fname): Mule-ize.
15397 (Fpq_fnumber): Mule-ize.
15398 (Fpq_ftype): fix comments.
15399 (Fpq_get_value): Mule-ize.
15400 (Fpq_cmd_status): Ditto.
15401 (Fpq_cmd_tuples): Ditto.
15402 (Fpq_oid_value): Ditto.
15403 (Fpq_notifies): Ditto.
15404 (Fpq_lo_import): Ditto.
15405 (Fpq_lo_export): Ditto.
15406 (Fpq_get_line): Ditto.
15407 (Fpq_put_line): Mule-ize and bug fix.
15408 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15410 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15412 * postgresql.c (vars_of_postgresql): Mule-ize.
15413 (Fpq_conn_defaults): Ditto.
15415 2000-03-12 Ben Wing <ben@xemacs.org>
15417 * alloc.c (Fmake_byte_code):
15418 * alloc.c (debug_string_purity_print):
15419 * alloc.c (pdump_backtrace):
15420 * alloc.c (pdump_get_indirect_count):
15421 * alloc.c (pdump_register_sub):
15422 * alloc.c (pdump_register_object):
15423 * alloc.c (pdump_register_struct):
15424 * alloc.c (pdump_dump_data):
15425 * alloc.c (pdump_reloc_one):
15429 * console-msw.c (GetConsoleHwnd):
15430 * console-msw.c (msw_hide_console):
15431 * console-msw.c (msw_show_console):
15432 * console-msw.c (msw_ensure_console_buffered):
15433 * console-msw.c (msw_output_console_string):
15434 * console-msw.c (console_type_create_mswindows):
15436 a) Added functions to manipulate the console window for use with
15439 b) Added support for writing text to the console, which is now
15440 used under Windows when xemacs is not being run non-interactively,
15441 to write text that would otherwise be destined for stdout because
15442 under these circumstances, text written to stdout tends to
15443 disappear and not be seen.
15447 * event-Xt.c (x_event_to_emacs_event):
15448 * event-Xt.c (describe_event_window):
15449 * events-mod.h (XEMACS_MOD_CONTROL):
15451 * events.c (Fmake_event):
15452 * events.c (character_to_event):
15453 * events.c (event_to_character):
15454 * events.c (format_event_object):
15455 * events.c (Fevent_modifiers):
15457 * events.h (struct key_data):
15458 * events.h (struct button_data):
15459 * events.h (struct misc_user_data):
15460 * frame-x.c (Fcde_start_drag_internal):
15461 * frame-x.c (Foffix_start_drag_internal):
15462 * gpmevent.c (Freceive_gpm_event):
15464 * keymap.c (bucky_sym_to_bucky_bit):
15465 * keymap.c (control_meta_superify):
15466 * keymap.c (make_key_description):
15467 * keymap.c (keymap_lookup_directly):
15468 * keymap.c (create_bucky_submap):
15469 * keymap.c (keymap_store):
15470 * keymap.c (define_key_check_and_coerce_keysym):
15471 * keymap.c (define_key_parser):
15472 * keymap.c (define_key_alternate_name):
15473 * keymap.c (Fdefine_key):
15474 * keymap.c (raw_lookup_key_mapper):
15475 * keymap.c (struct map_keymap_unsorted_closure):
15476 * keymap.c (map_keymap_unsorted_mapper):
15477 * keymap.c (map_keymap_sort_predicate):
15478 * keymap.c (map_keymap_sorted):
15479 * keymap.c (accessible_keymaps_mapper_1):
15480 * keymap.c (where_is_recursive_mapper):
15481 * keymap.c (describe_map_mapper):
15482 * keymap.c (describe_map_sort_predicate):
15483 * keymap.c (describe_map):
15484 * keymap.c (complex_vars_of_keymap):
15485 And a number of other files, the key modifier preprocessor
15486 constants that xemacs uses have names that conflict with constants
15487 defined under MS Windows for other purposes, so they were renamed
15488 to begin with the prefix XEMACS_. The variables that hold such
15489 modifiers were changed to consistently be of type int to fix
15490 various compile warnings.
15492 * console.c (complex_vars_of_console):
15495 * device-msw.c (mswindows_finish_init_device):
15496 * device-msw.c (msw_get_workspace_coords):
15497 * device-msw.c (mswindows_device_system_metrics):
15498 and various other files, added support for a new
15499 device property called offset-workspace which returns the position
15500 of the upper left corner of the workspace area and goes along with
15501 the existing size-workspace property.
15504 * dialog-msw.c (push_bufbyte_string_as_unicode):
15505 * dialog-msw.c (mswindows_popup_dialog_box):
15506 Added support for XEmacs-style accelerator specifications in
15507 button text. Note: I didn't add support for this under X Windows,
15508 and somebody needs to do this.
15511 * dialog.c (Fpopup_dialog_box):
15512 Documented the support for accelerators that was just mentioned.
15514 editfns.c (get_home_directory): Changed behavior under Windows
15515 when HOME not defined; former behavior was irretrievably broken.
15518 * emacs.c (main_1):
15520 * minibuf.c (clear_echo_area_internal):
15521 * minibuf.c (echo_area_append):
15523 * print.c (std_handle_out_external):
15524 * print.c (std_handle_out_va):
15526 * print.c (write_string_to_stdio_stream):
15527 * print.c (output_string):
15528 * print.c (debug_print):
15529 * print.c (debug_backtrace):
15530 * print.c (debug_short_backtrace):
15531 Cleaned up the code that prints text to stdout so that this can be
15532 changed to output into a console window instead under MS Windows,
15533 as described above.
15536 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15537 * eval.c (internal_catch):
15538 * eval.c (unwind_to_catch):
15539 * eval.c (throw_or_bomb_out):
15540 * eval.c (condition_case_1):
15541 * eval.c (signal_1):
15542 * eval.c (check_error_state_sanity):
15543 * eval.c (call_with_suspended_errors_1):
15544 * eval.c (call_with_suspended_errors):
15545 * eval.c (reinit_vars_of_eval):
15546 Added code to catch throw loops and check for a pesky bug that may
15550 * event-msw.c (key_needs_default_processing_p):
15551 * event-msw.c (mswindows_wnd_proc):
15552 * event-msw.c (mswindows_modifier_state):
15553 * event-msw.c (emacs_mswindows_quit_p):
15554 * event-msw.c (vars_of_event_mswindows):
15555 a) Added support for using the alt key to select menu items as is
15556 standard under MS Windows. This is controlled using the variable
15557 menu-accelerator-enabled, just like under X Windows. There is an
15558 option on the options menu to turn this support on. I really
15559 think that it should be on by default under Windows, but I'm not
15560 going to make this change yet.
15562 b) Added support for dynamic display size changes under Windows.
15565 * event-stream.c (maybe_echo_keys):
15566 * event-stream.c (Fnext_event):
15567 * event-stream.c (command_builder_find_leaf):
15568 * event-stream.c (lookup_command_event):
15569 * event-stream.c (execute_command_event):
15570 * event-stream.c (pre_command_hook):
15571 * event-stream.c (post_command_hook):
15572 * event-stream.c (syms_of_event_stream):
15573 * event-stream.c (vars_of_event_stream):
15574 * event-stream.c (complex_vars_of_event_stream):
15575 * events.h (struct command_builder):
15577 a) Tried to clean up a little bit the horribly written x-specific
15578 accelerator code that crept into this file. I moved this code
15579 into menubar-x.c where it belongs. I also needed to move the
15580 command builder structure into the file events.h because it is
15581 accessed directly by this accelerator code. What I didn't do, but
15582 which should be done at some point, is to properly abstract this
15583 code using device methods instead of the kludgy way that it
15584 currently hooks into the event code.
15586 b) Added the lisp variables this-command-properties and
15587 last-command- properties, which should be used to synchronize two
15588 adjacent commands in preference to playing games with the variable
15589 this-command, which is typically what happens.
15591 c) Added some slightly nasty code to hook into the lisp support
15592 for shifted- motion-key selection. This is actually necessary for
15593 somewhat complicated reasons, which are described in
15594 simple.el. (NB: I think the proper thing would be to have the code
15595 that calls the pre and post command hooks also call out to generic
15596 lisp functions in simple.el, where all built-in stuff could be
15597 added. I will think about this more.)
15599 * event-unixoid.c (poll_fds_for_input):
15600 * lread.c (readchar):
15601 * redisplay-tty.c (tty_clear_frame):
15602 * redisplay-x.c (x_get_gc):
15603 * signal.c (interrupt_signal):
15604 And a whole bunch of other files: fixed up places that printed
15605 directly to stderr to instead call the function stderr_out so that
15606 the changes I made under Windows work correctly.
15608 * filemode.c (mode_string):
15612 * frame-msw.c (mswindows_size_frame_internal):
15613 Fixed the computation of frame size and position to keep the frame
15614 within the workspace area, rather than within the physical
15615 dimensions of the screen, so that the frame doesn't overlap window
15616 manager decorations, such as the start menu and toolbar, typically
15617 at the bottom of the screen.
15619 * frame.c (vars_of_frame):
15620 Changed the default frame title format under MS Windows to consist
15621 of buffername-XEmacs, which is standard under MS Windows. I think
15622 it might be a good idea to change this everywhere because I think
15623 it is superior to the current frame title format, but this is the
15624 kind of change that is likely to cause some people to get annoyed,
15625 so I'm not making it.
15627 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15629 * gui-msw.c (mswindows_handle_gui_wm_command):
15630 Fixed compile warnings.
15633 * gui-x.c (strdup_and_add_accel):
15634 * gui-x.c (button_item_to_widget_value):
15636 Added code to automatically put an accelerator onto the beginning
15637 of menu items that don't have one as is now the standard, and is
15638 described more later. Also fixed things so that the menu item
15639 name can be an evaluated expression, again a new standard.
15642 * gui.c (gui_item_add_keyval_pair):
15643 * gui.c (make_gui_item_from_keywords_internal):
15644 * gui.c (gui_add_item_keywords_to_plist):
15645 * gui.c (gui_item_accelerator):
15646 * gui.c (gui_name_accelerator):
15647 * gui.c (gui_item_included_p):
15648 * gui.c (gui_item_display_flush_left):
15649 * gui.c (gui_item_display_flush_right):
15650 * gui.c (parse_gui_item_tree_item):
15651 * gui.c (parse_gui_item_tree_children):
15652 * gui.c (parse_gui_item_tree_list):
15653 Mule-ized. Cleanup. GCPRO addition.
15655 * line-number.c (buffer_line_number):
15657 * lisp.h (EMACS_INT_MAX):
15658 Added the manifest constant EMACS_INT_MIN corresponding to the
15659 existing constant EMACS_INT_MAX. This is partially to fix compile
15660 warnings under Windows, and partly for cleanliness.
15663 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15664 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15665 * menubar-msw.c (displayable_menu_item):
15666 * menubar-msw.c (populate_menu_add_item):
15667 * menubar-msw.c (populate_or_checksum_helper):
15668 * menubar-msw.c (populate_menu):
15669 * menubar-msw.c (update_frame_menubar_maybe):
15670 * menubar-msw.c (prune_menubar):
15671 * menubar-msw.c (msw_char_is_accelerator):
15672 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15673 * menubar-msw.c (mswindows_handle_wm_command):
15674 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15675 * menubar-msw.c (mswindows_handle_wm_initmenu):
15676 * menubar-msw.c (mswindows_update_frame_menubars):
15677 * menubar-msw.c (mswindows_free_frame_menubars):
15678 * menubar-msw.c (mswindows_popup_menu):
15679 Fixed a bug in handling accelerators where an extra character
15680 would be displayed in the menu item. Also generalized the
15681 function displayable_menu_item because it is now used by the
15682 dialog box code as well. And finally, added code in the functions
15683 that create the menubar to extract a list of accelerators for the
15684 top level menubar, which is used in the event code to determine
15685 whether a particular alt-key combination should be used to invoke
15686 a menu item, or should be passed through to access the standard
15687 XEmacs keymap binding for this key combination.
15689 Much needed GCPROing.
15692 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15693 * menubar-x.c (menu_item_descriptor_to_widget_value):
15694 * menubar-x.c (restore_in_menu_callback):
15695 * menubar-x.c (x_popup_menu):
15696 * menubar-x.c (menu_move_up):
15697 * menubar-x.c (menu_move_down):
15698 * menubar-x.c (menu_move_left):
15699 * menubar-x.c (menu_move_right):
15700 * menubar-x.c (menu_select_item):
15701 * menubar-x.c (command_builder_operate_menu_accelerator):
15702 * menubar-x.c (menu_accelerator_junk_on_error):
15703 * menubar-x.c (command_builder_find_menu_accelerator):
15704 * menubar-x.c (Faccelerate_menu):
15706 Moved a whole bunch of code here that was previously in
15707 event-stream.c as described above. There is also code connected
15708 to the new standard of adding an accelerator to the beginning of
15709 menu items that don't have one as described above and below.
15712 * menubar.c (menu_parse_submenu_keywords):
15713 * menubar.c (Fmenu_find_real_submenu):
15714 * menubar.c (Fnormalize_menu_item_name):
15715 * menubar.c (syms_of_menubar):
15716 * menubar.c (vars_of_menubar):
15717 * menubar.c (complex_vars_of_menubar):
15719 a) Cleaned up a bunch of documentation and improved it.
15721 b) XEmacs now automatically adds an accelerator onto the beginning
15722 of any menu items that don't have one. I did this because there
15723 will inevitably be some menu items on the main menubar that don't
15724 have accelerators on them because the package that adds that
15725 particular menu item hasn't yet been fixed up to have accelerators
15726 in them and it looked rather strange to have some items with and
15727 some items without accelerators, especially since even in items
15728 without accelerators, you can, at least under windows, still
15729 access the item through an accelerator corresponding to the first
15730 character in the item's name. If people don't like this behavior,
15731 I can add a variable to turn it off optionally, but I'm not sure
15732 this is a good idea because we really do need to have accelerators
15733 on all of the menu items, and if a package doesn't like the
15734 accelerators being put on the first character, then it should put
15735 the accelerators where they belong.
15737 c) I made a behavior change, which is that the descriptor that
15738 specifies the text of the menu item, which formerly was just a
15739 string, can now also be an evaluated expression. This makes this
15740 descriptor parallel with all of the others, which could also be
15741 evaluated expressions. This also obviates the need for the
15742 keyword :label, which was previously listed in the documentation
15743 as unimplemented, and which was for the same purpose.
15748 * ntproc.c (new_child):
15749 * ntproc.c (sys_spawnve):
15750 * ntproc.c (find_child_console):
15751 * ntproc.c (sys_kill):
15752 Fixed compile warnings. By the way, this file should really go
15753 away entirely, and this will happen as soon as Kirill makes his
15754 final round of process cleanups, which affect the function
15758 * process-nt.c (struct nt_process_data):
15759 * process-nt.c (find_process_from_pid):
15760 * process-nt.c (send_signal_the_nt_way):
15761 * process-nt.c (enable_child_signals):
15762 * process-nt.c (find_child_console):
15763 * process-nt.c (send_signal_the_95_way):
15764 * process-nt.c (nt_finalize_process_data):
15765 * process-nt.c (ensure_console_window_exists):
15766 * process-nt.c (nt_create_process):
15767 * process-nt.c (nt_kill_child_process):
15768 * process-nt.c (nt_kill_process_by_pid):
15769 * process-nt.c (nt_open_network_stream):
15770 * process-nt.c (vars_of_process_nt):
15771 Copied over code from Emacs 20.5 to correctly send signals to sub-
15772 processes under Windows 95. Also added code to automatically
15773 create and hide console window when a sub-process is created under
15774 Windows 95, which obviates the need for the separate runemacs.exe
15775 executable, and finally implemented some variables that were
15776 implemented in Emacs 20.5, but previously not in XEmacs. These
15777 include mswindows- start-process-share-console and
15778 mswindows-start-process-inherit-error-mode. (Both of these only
15779 apply to Windows 95.)
15781 * regex.c (regex_compile): Fixed a compile warning.
15784 * select-msw.c (mswindows_own_selection):
15785 * select-msw.c (mswindows_get_foreign_selection):
15786 * select-msw.c (mswindows_disown_selection):
15787 * select-msw.c (console_type_create_select_mswindows):
15788 * select-msw.c (syms_of_select_mswindows):
15789 Cleaned up the file and implemented the device method
15790 selection_exists_p, which had accidentally been left out. Also
15791 removed four lisp functions that were remnants from before the
15792 time when the selection code was properly device abstracted.
15793 These functions are no longer needed because there are generic
15794 equivalents, and because they were added recently and don't exist
15795 in FSF Emacs, I don't think there's any problem with just deleting
15799 * sysdep.c (sys_subshell):
15800 Fixed a compile warning, although in this case there's probably
15801 something wrong with this code, and it ought to be looked into
15802 more thoroughly by somebody who understands it.
15805 * window.c (Fwindow_text_area_height):
15806 * window.c (Fwindow_width):
15807 * window.c (Fwindow_full_width):
15808 * window.c (Fwindow_pixel_width):
15809 * window.c (debug_print_window):
15810 * window.c (syms_of_window):
15811 Added functions window-text-area-height and window-full-width,
15812 which are functions for returning various width and height
15813 characteristics of a window. (One of these functions is necessary
15814 for making the file dialog box work correctly, and the other one
15815 was added for completeness.) Also added a table to the
15816 documentation for window-height which describes the entire scheme
15817 for accessing width and height characteristics of a window.
15819 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15821 * nt.c (fstat): Added a comment for another problem with
15822 non-encapsulated [f]stat(), reported by Adrian Aichner
15823 <aichner@ecf.teradyne.com>.
15825 2000-03-11 Andy Piper <andy@xemacs.org>
15827 * window.c (make_dummy_parent): initialize subwindow instance
15829 (Fset_window_configuration): zero extent_modiff.
15831 2000-03-10 Andy Piper <andy@xemacs.org>
15833 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15834 more changes can be triggered.
15835 (Fredisplay_frame): ditto.
15836 (Fredraw_device): ditto.
15837 (Fredisplay_device): ditto.
15838 (redisplay_frame): make non-static.
15839 (redisplay_frame): call update_frame_gutter_geometry outside of
15842 * gutter.h: declare update_frame_gutter_geometry.
15844 * redisplay.h: declare redisplay_frame.
15846 * gutter.c (update_frame_gutter_geometry): move geometry changes
15847 in update_frame_gutters here. Geometry changes can only occur
15848 outside of redisplay.
15849 (update_frame_gutters): remove geometry change code.
15850 (Fredisplay_gutter_area): make sure that we are in display when we
15851 update and that we have flushed any size changes.
15853 2000-03-11 Andy Piper <andy@xemacs.org>
15855 * alloc.c (pdump_dump_data): remove i & count shadows.
15857 2000-02-27 Mike Alexander <mta@arbortext.com>
15859 * sysdep.h: Declare pdump_read_file
15861 * sysdep.c (pdump_read_file): New function
15863 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15866 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15868 * lrecord.h: add `lrecord_type_pgsetenv'.
15870 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15872 * symsinit.h: declare (vars|syms)_of* functions.
15873 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15875 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15877 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15879 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15882 * emacs.c (main_1): Call postgres initialization code.
15884 * postgresql.h: New file. PostgreSQL RDBMS support.
15885 * postgresql.c: New file.
15887 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15889 * redisplay-output.c (redisplay_output_display_block): Disable
15892 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15894 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15895 (Fcanna_henkan_next): Ditto.
15896 (Fcanna_bunsetu_henkou): Ditto.
15897 (Fcanna_henkan_kakutei): Ditto.
15898 (Fcanna_henkan_end): Ditto.
15899 (Fcanna_henkan_quit): Ditto.
15900 (Fcanna_henkan_next): Set retun value correctly.
15901 (c2mu): Use unsigned char instead of signed char.
15903 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15905 * emacs.c (main_1): Always call syms_of_gui.
15906 * inline.c: include gui.h
15908 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15910 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15911 converted to Lisp_Object.
15912 (Qtop_bottom): New variable.
15913 (syms_of_redisplay): Initialize it.
15914 * redisplay.h (Vvisible_bell): Ditto.
15915 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15916 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15917 only flash top and bottom.
15919 2000-03-08 Andy Piper <andy@xemacs.org>
15921 * buffer.c (Frename_buffer): record new buffer name the right way.
15923 2000-03-08 Andy Piper <andy@xemacs.org>
15925 * glyphs.c (update_subwindow): increase hash depth so that widget
15926 items get picked up properly.
15928 * redisplay-output.c (compare_runes): increase hash depth so that
15929 widget items get picked up properly.
15931 2000-03-08 Andy Piper <andy@xemacs.org>
15933 * gutter.c (output_gutter): add some debug.
15935 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15936 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15937 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15939 * redisplay-output.c (compare_runes): use display_hash to
15940 determine if glyphs really are not the same.
15942 * glyphs.c (update_subwindow): check display_hash to see if
15943 anything really needs to be updated. If not then do
15944 nothing. Record the display_hash after updating.
15945 (image_instance_equal): compare the image_instance face also.
15947 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15949 * redisplay.h: Fix comment style.
15951 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15953 * consle-msw.h (struct mswindows_frame):
15954 Added new member paint_pending to indicate whether a WM_PAINT
15955 magic event has been queued for this frame.
15957 * event-msw.c (mswindows_drain_windows_queue):
15958 Don't queue a WM_PAINT magic event if one is already queued.
15959 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15961 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15963 2000-03-07 Didier Verna <didier@xemacs.org>
15965 * dired.c: #include `regex.h' after `sysfile.h'.
15967 2000-03-06 Martin Buchholz <martin@xemacs.org>
15969 * sound.c (init_nas_sound): Fix compiler warning.
15971 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15973 (MARK_STRUCT_AS_FREE):
15974 (MARK_STRUCT_AS_NOT_FREE):
15975 Make `gcc -fstrict-aliasing' work properly.
15977 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15979 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15980 (mswindows_delete_device): Call CoUnnitialize().
15982 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15984 2000-02-25 <CraigL@DyCon.com>
15986 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15989 * sysdep.c: This extern declaration for environ prevents MinGW
15990 from finding the variable in CRTDLL.DLL.
15992 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15994 (SHGFI_EXETYPE): ..
15995 (WM_MOUSEWHEEL): ..
15996 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15998 (MMRESULT): Removed, now defined in cygwin's windows headers.
16000 (uid_t,gid_t,pid_t,ssize_t): ..
16001 (_timeb): Removed, MinGW defines both _timeb and timeb.
16002 (HAVE_H_ERRNO): Added.
16003 (HAVE_TZNAME): Added, configure is not detecting this.
16005 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16007 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16008 * syntax.c (syntax_match): Use it.
16010 * cmds.c: Import auto-fill-chars from FSF Emacs.
16011 (Vauto_fill_chars): New variables.
16012 (internal_self_insert): Check Vauto_fill_chars.
16014 Declare auto-fill-chars as a Lisp variable and initialize it.
16016 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16018 * fileio.c (Fmake_symbolic_link):
16020 Run handlers even if local machine doesn't have symlinks.
16022 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16024 * event-msw.c (mswindows_drain_windows_queue):
16025 Don't generate paint magic events for non-XEmacs frames.
16027 2000-03-05 Andy Piper <andy@xemacs.org>
16029 * redisplay.c (redisplay_frame): generate_displayable_area and
16030 friends assumes that we are not in GC, we therefore have to make
16031 sure that this doesn't happen.
16033 * gutter.c (calculate_gutter_size): generate_displayable_area
16034 assumes that we are not in GC, we therefore have to make sure that
16035 this doesn't happen.
16037 2000-03-05 Martin Buchholz <martin@xemacs.org>
16039 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16041 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16043 * redisplay.c (regenerate_window): Make sure we set a sane value
16044 for end_pos even if we jump out of the loop.
16045 (regenerate_window): Answer Ben's question :-).
16046 (start_end_of_last_line): Add may_error argument.
16047 (start_of_last_line):
16048 (end_of_last_line): Pass may_error = 0.
16049 (end_of_last_line_may_error): New function.
16050 (pixel_to_glyph_translation): Use it, so we don't crash in
16053 2000-03-04 Andy Piper <andy@xemacs.org>
16055 * window.h (struct window): add gutter_extent_modiff.
16057 * window.c (allocate_window): zero out gutter_extent_modiff.
16059 * redisplay.h: declare sync_display_line_structs.
16061 * redisplay.c (add_glyph_rune): add a better comment.
16063 * redisplay-output.c (sync_display_line_structs): made non-static.
16064 (compare_runes): remove unneccesary glyph cachel access.
16066 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16068 * gutter.c (output_gutter): don't output the gutter if extent
16069 changes only involve extents in buffers. use 4 sets of display
16071 (gutter_extent_signal_changed_region_maybe): new function. Mark
16072 extents in gutters as changed.
16073 (update_frame_gutters): use 4 sets of display lines.
16074 (reset_gutter_display_lines): ditto.
16075 (free_frame_gutters): ditto.
16076 (redraw_exposed_gutter): force output of gutters.
16078 * frame.h (struct frame): add 4 sets of gutter display lines.
16080 * extents.c: (extent_changed_for_redisplay): signal changes to
16081 extents in strings in the gutter as well as extents in buffers.
16083 2000-03-02 Andy Piper <andy@xemacs.org>
16085 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16087 * frame.c (Fmake_frame): make sure the gutters get initialized
16088 after the frame is visible.
16089 (set_frame_selected_window): re-arrange compilation macros a
16091 (change_frame_size_1): mark gutters changed.
16093 * device.c (Fset_device_class): mark gutters changed.
16095 2000-03-01 Andy Piper <andy@xemacs.org>
16097 * window.c (window_top_frame_gutter_height): deleted.
16098 (window_bottom_frame_gutter_height): ditto.
16099 (window_left_frame_gutter_height): ditto.
16100 (window_right_frame_gutter_height): ditto.
16101 (window_top_gutter_height): don't use them.
16102 (window_bottom_gutter_height): ditto.
16103 (window_left_gutter_width): ditto.
16104 (window_right_gutter_width): ditto.
16105 (Fsplit_window): ditto.
16106 (Fwindow_pixel_edges): don't use border dimensions here.
16108 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16109 (update_scrollbar_instance): ditto.
16111 * redisplay.c (generate_modeline): don't take gutters into account.
16112 (generate_modeline): ditto.
16113 (redisplay_frame): small gutter display optimization.
16115 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16117 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16118 gutters into account.
16120 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16121 for window position and type.
16123 * gutter.c (get_gutter_coords): fix for frame gutters.
16124 (update_frame_gutters): update frame geometry if the gutters have
16126 (init_frame_gutters): record current gutter geometries.
16128 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16130 (mswindows_widget_instantiate): ditto.
16132 * frame.h (struct frame): add current_gutter_bounds.
16134 * frame.c (change_frame_size_1): position window and minibuffer
16135 appropriately taking into account the frame gutters.
16137 * frame-x.c: (x_initialize_frame_size): take into account the
16140 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16142 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16144 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16146 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16148 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16150 * file-coding.c (reset_decoding_stream): Clear previous
16151 detection state when autodetect.
16153 2000-02-29 Didier Verna <didier@xemacs.org>
16155 * extents.c (set_extent_glyph_1): don't require extents to be
16158 2000-02-27 Andy Piper <andy@xemacs.org>
16160 * gutter.c (Fset_default_gutter_position): don't default left and
16161 right gutter visibility to t.
16162 (Fset_default_gutter_position): run
16163 default-gutter-position-changed-hook.
16164 (syms_of_gutter): add default-gutter-position-changed-hook.
16166 2000-02-26 Andy Piper <andy@xemacs.org>
16168 * specifier.c (Fmake_specifier): add gutter references.
16170 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16172 * lisp.h: declare Fvalid_plist_p.
16174 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16176 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16177 well as its visibility so that it gets reconstructed.
16178 (construct_window_gutter_spec): new function. Construct a string
16179 to be displayed in the gutter from a plist of strings. Take care
16180 to only use elements that are declared as visible.
16181 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16183 (gutter_validate): allow plists of strings in the specifier.
16184 (gutter_specs_changed): construct the real_gutter from the gutter
16185 specs using construct_window_gutter_spec.
16186 (gutter_visible_validate): gutter-visible is a new specifier type.
16187 (Fgutter_visible_specifier_p): new function for the new specifier.
16188 (syms_of_gutter): declare gutter-visible and
16189 Fgutter_visible_specifier_p.
16190 (specifier_type_create_gutter): intitalize new gutter-visible
16192 (reinit_specifier_type_create_gutter): ditto.
16193 (specifier_vars_of_gutter): use new specifier type for gutter
16195 (init_frame_gutters): construct real_gutter correctly.
16196 (Fgutter_specifier_p): beef up documentation.
16197 (Fgutter_size_specifier_p): ditto.
16199 * winslots.h: add real_gutter slots.
16201 2000-02-25 Andy Piper <andy@xemacs.org>
16203 * device-msw.c: Be kind to older cygwin versions. From Raymond
16204 Toy <toy@rtp.ericsson.se>.
16206 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16207 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16209 2000-02-25 Martin Buchholz <martin@xemacs.org>
16211 * elhash.c (MARK_OBJ): Practice macro hygiene.
16213 2000-02-24 Martin Buchholz <martin@xemacs.org>
16215 * miscplay.c: s/__inline__/inline/g;
16216 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16217 (get_device_compdc): INLINE ==> static inline
16218 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16219 find -name '*.h' | \
16220 xargs global-replace \
16221 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16223 2000-02-25 Andy Piper <andy@xemacs.org>
16225 * window.c (window_top_frame_gutter_height): new function.
16226 (window_top_window_gutter_height): ditto.
16227 (window_top_gutter_height): use them.
16228 (window_bottom_frame_gutter_height): new function.
16229 (window_bottom_window_gutter_height): ditto.
16230 (window_bottom_gutter_height): use them.
16231 (window_left_window_gutter_width): new function.
16232 (window_left_frame_gutter_width): ditto.
16233 (window_left_gutter_width): use them.
16234 (window_right_window_gutter_width): new function.
16235 (window_right_frame_gutter_width): ditto.
16236 (window_right_gutter_width): use them.
16237 (window_pixel_height): new function. calulate window pixel height
16238 with frame gutter involvement.
16239 (Fsplit_window): calculate new sizes taking frame gutters into
16241 (window_char_height_to_pixel_height): don't include frame gutters.
16242 (window_char_height): use window_pixel_height.
16243 (window_pixheight): rename from window_pixel_height.
16244 (change_window_height): use it.
16245 (window_pixel_height_to_char_height): don't include frame gutters.
16246 (window_char_width_to_pixel_width): ditto.
16248 2000-02-25 Andy Piper <andy@xemacs.org>
16250 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16253 2000-02-24 Martin Buchholz <martin@xemacs.org>
16255 * alloc.c (staticpro):
16256 (staticpro_nodump):
16261 (compact_string_chars):
16262 (pdump_dump_wired):
16263 Convert: if (foo) abort(); ==> assert (! foo);
16265 * eldap.c (Fldap_search_basic):
16269 Fix compiler warnings, and possible crashes if (random) return
16270 value were to be used.
16272 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16274 * device-msw.c: Workaround ResetDC failure.
16276 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16277 applying a devmode.
16279 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16280 (mswindows_text_width): Do not start printer page.
16282 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16284 * glyphs-msw.c: Added image methods to msprinter console and
16285 msprinter-specific image instantiation.
16287 2000-02-20 Mike Alexander <mta@arbortext.com>
16289 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16290 to avoid crashes when selection-sets-clipboard is on
16291 (mswindows_own_selection): ditto
16293 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16296 * redisplay-msw.c (get_frame_dc):
16297 (get_frame_compdc):
16299 * device-msw.c (mswindows_init_device):
16300 (mswindows_delete_device):
16301 (msprinter_init_device):
16302 (msprinter_delete_device):
16303 * frame-msw.c (mswindows_init_frame_1):
16304 (mswindows_delete_frame):
16305 (msprinter_init_frame_3):
16306 (msprinter_delete_frame): Move compatible DC to device object from
16307 frame object, for both mswindows and msprinter. Only one at a time
16308 is needed, it is a real waste to have one per frame!
16310 2000-02-23 Andy Piper <andy@xemacs.org>
16312 * glyphs.c: add dynamic width and height elements.
16313 (image_instance_equal): ditto.
16315 * glyphs-widget.c (widget_query_geometry): calculate width and
16316 height dynamically if required.
16317 (initialize_widget_image_instance): initialize dynamic dimensions.
16318 (widget_instantiate): pick-up dynamic dimensions.
16320 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16321 dynamic determination. Add appropriate macros.
16323 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16325 (WINDOW_GUTTER_SIZE): ditto.
16326 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16328 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16330 (get_frame_dc): ditto.
16332 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16335 2000-02-23 Martin Buchholz <martin@xemacs.org>
16337 * XEmacs 21.2.31 is released.
16339 2000-02-22 Ben Wing <ben@xemacs.org>
16341 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16343 2000-02-22 Andy Piper <andy@xemacs.org>
16345 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16347 2000-02-21 Mike Sperber <mike@xemacs.org>
16351 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16354 2000-02-21 Mike Sperber <mike@xemacs.org>
16356 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16358 2000-02-21 Martin Buchholz <martin@xemacs.org>
16360 * XEmacs 21.2.30 is released.
16362 2000-02-20 Martin Buchholz <martin@xemacs.org>
16364 Performance hacking.
16366 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16367 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16368 * emacs.c (main_1):
16370 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16371 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16372 * symeval.h (DEFVAR_SYMVAL_FWD):
16373 * symbols.c (guts_of_unbound_marker):
16374 Make all c_readonly objects also lisp_readonly and marked for life.
16375 * lrecord.h (struct lrecord_implementation):
16376 Document flags better.
16377 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16378 * lrecord.h (DECLARE_LRECORD):
16379 * lrecord.h (XSETRECORD):
16380 * lrecord.h (RECORDP):
16381 * lrecord.h (RECORD_TYPEP):
16382 * lrecord.h (RECORD_MARKER): New.
16383 * lrecord.h (error_check_*):
16384 * lrecord.h (CONCHECK_NONRECORD):
16385 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16386 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16387 * lrecord.h (set_lheader_implementation):
16388 * lrecord.h (enum lrecord_type): New.
16389 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16390 * alloc.c (disksave_object_finalization_1):
16391 * alloc.c (mark_object):
16392 * alloc.c (lrecord_type_index):
16393 * alloc.c (tick_lcrecord_stats):
16394 * alloc.c (Fgarbage_collect):
16395 * alloc.c (init_alloc_once_early):
16396 * alloc.c (pdump_load):
16397 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16398 * alloc.c (lrecord_type_index): Delete.
16399 Make lisp object type indexes be constant.
16400 Makes (byte-compile) 5% faster.
16401 Put all marker functions into their own array.
16402 Makes (garbage-collect) 5% faster.
16403 Optimize SYMBOL_VALUE_MAGIC_P.
16404 Makes (byte-compile) 2-3% faster.
16405 * config.h.in (gc_checking_assert): New.
16406 * alloc.c: Use gc_checking_assert().
16407 * .dbxrc: Make compatible with new object type implementation.
16408 * .gdbinit: Make compatible with new object type implementation.
16409 * alloc.c: Delete all symbols defined only for debugging, such as
16410 Lisp_Type_Vector and lrecord_charset.
16412 2000-02-21 Andy Piper <andy@xemacs.org>
16414 * gui-msw.c (Fmswindows_shell_execute): fix file location
16417 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16418 unshowing so that set_window_buffer doesn't undo
16419 kill_buffer_hook's hard work.
16421 * glyphs-widget.c (tab_control_query_geometry): don't count the
16422 first item when calculating geometry.
16424 * glyphs.c (map_subwindow): remove redundant code.
16425 (update_frame_subwindows): be more circumspect about when to
16428 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16429 when items haven't changed. Update faces if faces have changed as
16430 well as just the widget face.
16431 (x_tab_control_update): Update faces if faces have changed as well
16432 as just the widget face.
16434 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16436 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16438 (build_syscolor_string): Use mswindows_color_to_string to try to
16440 (mswindows_device_system_metrics): Reverse the foreground and
16441 background colors so that they match the documentation.
16443 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16444 they match the default Windows palette.
16445 (mswindows_color_to_string): New function.
16447 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16449 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16451 2000-02-18 Olivier Galibert <galibert@pobox.com>
16453 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16454 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16456 * symbols.c (init_symbols_once_early): Removed obsolete
16457 DATA_SEG_BITS related kludge.
16458 (defvar_magic): Ditto.
16460 * malloc.c: Removed obsolete DATA_SEG_BITS
16462 * mem-limits.h: Ditto.
16464 * Makefile.in.in: Removed obsolete HAVE_SHM
16467 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16469 * device-msw.c (mswindows_delete_device): Free DDE string
16472 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16474 * keymap.c (get_keyelt):
16475 * unexnt.c (unexec):
16476 * vm-limit.c (memory_warnings):
16477 * ntheap.c (recreate_heap):
16478 * ntheap.h (UNINIT_PTR):
16479 * select-msw.c (Fmswindows_get_clipboard):
16480 (Fmswindows_set_clipboard):
16481 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16483 * menubar-msw.c (displayable_menu_item):
16485 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16486 * sysdep.c (sys_subshell):
16487 * process-nt.c (nt_create_process):
16488 * nt.c (normalize_filename):
16489 (dostounix_filename):
16490 (unixtodos_filename):
16491 * ntproc.c (win32_executable_type):
16492 * ntplay.c (play_sound_data_1):
16494 * editfns.c (get_home_directory):
16495 * event-msw.c (struct winsock_stream):
16496 (mswindows_dde_callback):
16497 * device-msw.c (msprinter_init_device):
16498 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16500 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16501 mswindows_clear_toolbar were swapped!
16503 * objects-msw.c:(colormap_t):
16505 * emacs.c (struct standard_args): Fixed const jumble.
16507 * glyphs-widget.c (update_widget): Fixed comparison notation.
16509 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16511 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16512 __declspec(noreturn) syntax.
16514 2000-02-19 Martin Buchholz <martin@xemacs.org>
16516 * eldap.c (Fldap_open):
16517 (Fldap_search_basic):
16520 Use new coding system conversion macros.
16522 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16524 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16526 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16528 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16529 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16531 * eldap.c (Qadd, Qreplace): New constant symbols
16532 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16533 interruptions by XEmacs signals
16534 Remove unnecessary calls to slow_down_interrupts and
16535 speed_up_interrupts
16536 (Fldap_search_basic): Renamed from Fldap_search_internal
16537 Added new optional parameter VERBOSE that triggers the
16538 display of progress messages
16539 Remove unnecessary calls to slow_down_interrupts and
16540 speed_up_interrupts
16541 LDAP result code analysis rewritten
16542 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16543 (syms_of_eldap): Define the new symbols and functions
16546 2000-02-17 Martin Buchholz <martin@xemacs.org>
16548 * realpath.c: Determine PATH_MAX maximally portably.
16550 * insdel.c (bytecount_to_charcount): Optimize.
16551 The function used to be optimized for entirely ASCII sequences.
16552 Now it is optimized for successive characters from the same
16553 charset. This also wins big for _mostly_ ASCII sequences.
16555 * fileio.c (Ffile_truename): convert return from realpath() using
16556 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16557 - Rewrite GCPROing slightly.
16559 * sysdep.c (sys_open): Do filename conversion, like all other
16560 sys_* functions. Fixes bug:
16561 (let ((file-name-coding-system 'iso-8859-2))
16562 (write-region x y latin2-name))
16563 ==> writes filename using internal encoding.
16565 2000-02-18 Martin Buchholz <martin@xemacs.org>
16567 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16568 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16569 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16570 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16571 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16572 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16573 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16574 (CONST_IF_NOT_DEBUG): Delete.
16575 * alloc.c (this_one_is_unmarkable): Delete.
16576 (mark_object): Don't check for this_one_is_unmarkable. Use the
16577 c_readonly flag instead.
16578 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16580 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16582 * event-msw.c (mswindows_drain_windows_queue):
16583 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16584 away redundant repaint events.
16586 2000-02-17 Andy Piper <andy@xemacs.org>
16588 * redisplay.h: declare mark_redisplay_structs.
16590 * redisplay.c (redisplay_window):
16591 (redisplay_frame): don't check subwindows_state_changed.
16592 (mark_redisplay): mark gutters here.
16594 * glyphs.c: (instantiate_image_instantiator): always layout if we
16595 haven't done so already.
16596 (allocate_image_instance): don't mark as dirty.
16597 (update_subwindow): bind inhibit_quit.
16599 * gutter.c (mark_gutters): new function.
16601 * glyphs-x.c (x_update_widget): Always resize to get round a
16604 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16605 breaking absolutely everything.
16607 * gutter.h: declare mark_gutters.
16609 2000-02-16 Martin Buchholz <martin@xemacs.org>
16611 * XEmacs 21.2.29 is released.
16613 2000-02-15 Olivier Galibert <galibert@pobox.com>
16615 * fns.c (size_bit_vector): Fix computation of the size.
16617 2000-02-15 Martin Buchholz <martin@xemacs.org>
16619 * *.[ch]: Change CONST to const globally.
16620 find -name '*.[ch]' | \
16621 xargs global-replace \
16622 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16623 - Remove vestigial references to CONST_IS_LOSING
16625 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16627 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16628 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16629 events instead of dispatching them directly.
16630 (mswindows_handle_paint): New function to do repainting.
16631 (mswindows_wnd_proc):
16632 (emacs_mswindows_handle_magic_event): Call above function.
16634 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16636 * objects-msw.c (mswindows_create_font_variant): Return the new
16638 (initialize_font_instance): Get font metrics from the underlined
16639 variant of the font to cope with the case where the underlined
16640 font has a bigger descent.
16642 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16644 * gui.c (gui_item_accelerator): Return the first underlined
16645 character in item name.
16647 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16649 * lisp.h: Added Qprinter.
16651 * general.c (syms_of_general): Initialized it.
16653 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16655 (get_frame_compdc): Made inline.
16657 * console.h (struct console_methods): Added eject_page method.
16659 * frame.h: Added FRAME_DISPLAY_P and friends.
16660 Aligned backslahes in many macros in more readable fashion.
16661 Added page_number to struct frame, and an accessor macro
16664 * defice.h: Added DEVICE_DISPLAY_P and friends.
16666 * device.c (Fdevice_printer_p): Used these.
16668 * frame.c (allocate_frame_core): Initialize page number.
16669 (Fprint_job_page_number):
16670 (Fprint_job_eject_page): Implemented.
16672 * frame-msw.c (msprinter_eject_page): Added method.
16673 (msprinter_start_page): Added.
16675 * window.c (Fwindow_truncated_p): Fixed docstring.
16676 (Fwindow_last_line_visible_height): Implemented.
16678 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16680 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16682 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16684 * syntax.c (scan_words): Always advance at least one character.
16686 2000-02-13 Andy Piper <andy@xemacs.org>
16688 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16689 to make sure the glyph is in the cachels.
16691 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16692 global image instance flag.
16693 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16694 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16696 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16697 (Fset_image_instance_property): mark layout as changed.
16698 (invalidate_glyph_geometry_maybe): mark layout as changed.
16699 (glyph_width): use new NEEDS_LAYOUT macro.
16700 (glyph_ascent): ditto.
16701 (glyph_descent): ditto.
16702 (glyph_height): ditto.
16703 (image_instance_layout): mark layout as clean after laying out.
16704 (update_subwindow): don't mark layout as clean here.
16706 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16707 should no longer be needed.
16709 * glyphs-x.c (x_update_widget): sanitize asserts.
16710 (x_finalize_image_instance): sanitize assignment to widgets.
16712 * glyphs-widget.c (widget_instantiate): don't need to clear the
16715 2000-02-13 Martin Buchholz <martin@xemacs.org>
16717 * sysdep.c (getcwd): Use standard prototype.
16718 * sysdep.h (getcwd): Use standard prototype.
16720 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16721 (sequence, start, end).
16722 Remove redundant type checking.
16723 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16724 view of `caller-protects') to avoid a crash where the real fix was
16727 2000-02-12 Martin Buchholz <martin@xemacs.org>
16729 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16731 * s/sol2.h: Remove feature macro initialization.
16733 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16734 (vector_hash): New. Code from internal_hash.
16736 Fix up allocation subsystem comments.
16738 * config.h.in: Add __EXTENSIONS__ for Solaris.
16740 * systime.h (EMACS_GETTIMEOFDAY): New.
16741 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16742 Remove Solaris-specific code.
16743 Use void* for the (ignored) second arg for gettimeofday().
16745 * elhash.c (hash_table_hash): Implement it, finally.
16746 * elhash.c: Use hashcode_t.
16748 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16749 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16751 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16752 * fns.c (size_bit_vector):
16753 * alloc.c (size_vector):
16754 (make_vector_internal):
16755 (make_bit_vector_internal):
16756 (sweep_bit_vectors_1):
16757 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16759 2000-02-10 Martin Buchholz <martin@xemacs.org>
16761 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16762 Include strings.h to avoid warnings for bzero and strcasecmp.
16764 2000-02-10 Olivier Galibert <galibert@pobox.com>
16766 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16767 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16769 * fns.c (size_bit_vector): New. Declare bit vectors as a
16772 2000-02-10 Olivier Galibert <galibert@pobox.com>
16774 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16775 use a value field instead.
16776 (symbol_value_forward_forward): Use value field.
16777 (DEFVAR_SYMVAL_FWD): Use value field.
16778 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16779 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16780 (DEFVAR_CONST_INT): Ditto.
16781 (DEFVAR_BOOL): Ditto.
16782 (DEFVAR_CONST_BOOL): Ditto.
16783 (DEFVAR_INT_MAGIC): Ditto.
16784 (DEFVAR_BOOL_MAGIC): Ditto.
16786 * symbols.c (guts_of_unbound_marker): Use value field.
16787 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16788 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16790 * lisp.h: Declare dumpopaque and noninteractive1.
16792 * alloc.c (dumpopaque): Added.
16793 (pdump_dump_opaquevec): Added.
16794 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16795 (pdump_load): Reload opaque data. Sync noninteractive1 with
16798 2000-02-10 Andy Piper <andy@xemacs.org>
16800 * glyphs.c (image_instance_layout): if the size changes, mark it
16803 * redisplay-output.c (redisplay_output_layout): Update the
16805 (redisplay_output_subwindow): ditto.
16807 * glyphs.c (update_subwindow): make sure we reset flags for
16808 layouts as well as everything else.
16810 * glyphs-widget.c (layout_layout): don't need to set the instances
16813 2000-02-09 Martin Buchholz <martin@xemacs.org>
16815 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16816 not HAVE_DLOPEN, which is a lower-level thing.
16818 * .cvsignore: Ignore gmon.out
16820 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16822 * .cvsignore: Ignore portable dumper xemacs.dmp file
16824 2000-02-09 Andy Piper <andy@xemacs.org>
16826 * redisplay-output.c (redisplay_output_layout): be more clever
16827 about when we output based on the changed flags.
16829 * glyphs.h (struct image_instantiator_methods): add update_method.
16830 (struct Lisp_Image_Instance): add changed flags. Declare new
16831 macros for manipulating them.
16833 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16834 (image_instance_parent_glyph): find an image_instance's parent
16835 glyph or image_instance.
16836 (image_instance_layout): mark the size as changed.
16837 (set_image_instance_dirty_p): new function. mark an image
16838 instance, plus all of its parents, as dirty.
16839 (Fset_image_instance_property): use it.
16840 (Fglyph_animated_timeout_handler): use it.
16841 (update_subwindow): call update_widget and device methods for
16842 update_subwindow. Mark all changed flags as clean.
16843 (Fresize_subwindow): mark size as changed.
16845 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16847 (x_update_subwindow): only resize subwindows here.
16848 (x_update_widget): new function. Update all changed properties of
16850 (x_resize_subwindow): deleted.
16851 (x_widget_set_property): deleted.
16852 (x_progress_gauge_set_property): deleted.
16853 (x_progress_gauge_update): new function. Implement recorded
16855 (x_tab_control_update): ditto.
16856 (x_tab_control_set_property): deleted.
16857 (console_type_create_glyphs_x): declare new functions.
16858 (image_instantiator_format_create_glyphs_x): ditto.
16860 * glyphs-widget.c (widget_set_property): mark text changed.
16861 (update_widget): new function. Update properties of a widget.
16862 (widget_instantiate): for layouts make sure we set their
16863 children's parent correctly.
16864 (tab_control_set_property): new function. Record changes that will
16865 take place under redisplay's control.
16866 (progress_gauge_set_property): ditto.
16867 (image_instantiator_progress_guage): declare new functions.
16868 (image_instantiator_tab_control): ditto.
16870 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16872 (mswindows_update_widget): new function. Update all properties on
16873 a widget that have changed.
16874 (mswindows_button_update): new function. Update a button's set
16876 (mswindows_tab_control_update): new function. Update the items in
16878 (mswindows_tab_control_set_property): deleted.
16879 (mswindows_progress_gauge_update): new function. Update the
16880 progress gauge's progress.
16881 (mswindows_widget_set_property): deleted. This is all done
16882 asynchronously now.
16883 (mswindows_progress_gauge_set_property): ditto.
16884 (console_type_create_glyphs_mswindows): declare new methods.
16885 (image_instantiator_format_create_glyphs_mswindows): ditto.
16887 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16888 (msprinter_set_frame_properties): ditto.
16890 * console.h (struct console_methods): Add update_widget_method.
16892 2000-02-09 Andy Piper <andy@xemacs.org>
16894 * gui-msw.c (Fmswindows_shell_execute): Make
16895 mswindows-shell-execute industrial strength.
16897 2000-02-08 Martin Buchholz <martin@xemacs.org>
16899 * lrecord.h: Make macro argument `props' match member function `plist'.
16902 * fns.c (Fremprop):
16903 * fns.c (Fobject_plist):
16906 Object property list frobbing cleanup.
16907 - Allow any lisp object (compared with `eq'), not just symbols, as
16908 keys in object plists.
16909 - Move symbol plist frobbing into symbols.c, where it belongs.
16910 - Move string plist frobbing into alloc.c, where it belongs.
16911 - Everything's an lrecord now, so no need to test for symbolp, etc.
16912 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16914 * extents.c: Reorder code to remove declarations.
16916 * frame.h (store_in_alist): Remove useless declaration.
16918 2000-02-07 Martin Buchholz <martin@xemacs.org>
16920 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16921 * config.h.in: Add HAVE_XCONVERTCASE.
16923 2000-02-07 Andy Piper <andy@xemacs.org>
16925 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16926 it breaks many things.
16928 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16930 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16931 actually can start a common comment type.
16932 * src/syntax.h (SYNTAX_END_P): ditto for end.
16934 2000-02-07 Martin Buchholz <martin@xemacs.org>
16936 * XEmacs 21.2.28 is released.
16938 2000-02-06 Martin Buchholz <martin@xemacs.org>
16940 * event-Xt.c (x_keysym_to_character): New.
16941 (maybe_define_x_key_as_self_inserting_character): New.
16942 (x_has_keysym): New.
16943 Auto-define all keys on the keyboard as self-insert-key.
16945 2000-02-02 Martin Buchholz <martin@xemacs.org>
16947 * menubar.c (vars_of_menubar): A small code simplification.
16949 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16952 * ExternalClient.c:
16953 * EmacsShell-sub.c:
16956 Use consistent style for specifying X resources.
16958 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16959 This makes (dontusethis-set-symbol-value-handler) actually usable.
16961 * lrecord.h (lrecord_decription_type):
16962 * alloc.c (pdump_register_sub):
16965 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16966 Comply with XEmacs coding style.
16967 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16968 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16970 * keymap.c (Faccessible_keymaps):
16971 Make (accessible-keymaps map "\C-h") do the Right Thing.
16972 Make (accessible-keymaps map []) do the Right Thing.
16973 Make (accessible-keymaps map "") do the Right Thing.
16974 (check_keymap_definition_loop): New function.
16975 (keymap_store_internal): Keep luser from shooting self in foot,
16976 via (define-key ctl-x-4-map "p" global-map).
16977 Remove fullness slot from struct Lisp_Keymap, since hash tables
16979 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16981 2000-01-30 Martin Buchholz <martin@xemacs.org>
16983 * redisplay.c (init_redisplay): Fix small memory leak.
16985 * elhash.c (pdump_reorganize_hash_table):
16986 Rename from reorganize_hash_table. Change prototype.
16987 Reuse the original memory for hentries. Save 100k.
16988 * alloc.c (PDUMP_READ): new macro.
16989 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16990 * alloc.c: No need to #ifndef before #undef.
16992 * print.c: Allow debug_print() to print readably by modifying
16993 debug_print_readably. Use consistent variable names.
16995 * .dbxrc: Try to get things to work even if stopped in a function
16996 without source available by explicitly specifying source files.
16997 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16999 * unexnt.c (_start): Removed bogus code which caused loading heap
17000 from differrent executable file.
17001 Removed bogus assignment to _fmode, which caused inconsistencies.
17003 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17005 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17006 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17007 Do not preliminary `#define signal sigset'.
17009 * systime.h: Do not prototype environ on windows nt and cygwin,
17010 this conflicts with system header.
17012 * syssignal.h: Use correct define for WINDOWSNT
17014 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17015 with system header.
17017 * sysdep.c (near start of file): Fixed commentary and rearranged
17018 ifdefs in readable order.
17019 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17022 (end_of_data): Do not compile in if using PDUMP.
17024 * symsinit.h: Prototyped vars_of_nt().
17026 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17027 (find_child_console): Use it.
17028 (sys_kill): Use it.
17030 * ntheap.h: Do not extern os_subtype.
17032 * ntheap.c (cache_system_info): Do not cache unneeded:
17033 nt_major_version, nt_minor_version and os_subtype.
17034 (recreate_heap): Do not compile in when PDUMPing.
17036 * nt.c (geteuid and friends): Use the new varibale
17037 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17038 (init_user_info): Removed the above mentioned hackery.
17039 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17040 stat has been fixed in the C runtime.
17041 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17043 * file-coding.c (struct file_coding_dump): Do not define
17044 ucs_to_mule_table in the struct if not MULE.
17045 (struct struct lrecord_description fcd_description_1): Do not dump
17048 * emacs.c (main_1): Call vars_of_nt().
17049 (right before Fdump_emacs_data): Don't need lastfile if using both
17050 portabe dumper and system malloc.
17052 * alloc.c (Fmemory_limit): Conditionalized out.
17053 (pdump): Use OPEN_BINARY for the portable dump file.
17054 (pdump_load): Ditto.
17056 2000-02-02 Mike Alexander <mta@arbortext.com>
17058 * nt.c (convert_time): Set tm_isdst before calling mktime and
17059 avoid calling it at all if the compiler supports 64 bit integers.
17060 Also initialize utc_base_ft before using it.
17062 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17064 * frame.c (change_frame_size_1): Take f->internal_border_width
17065 into consideration when calculating the width of the frame.
17067 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17069 * window.c (frame_min_height):
17070 (frame_size_valid_p):
17071 (frame_pixsize_valid_p): Added.
17072 (check_frame_size): Generalized.
17074 * window.h: Prototyped the above.
17077 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17078 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17079 Deleted Vwin32_* and Vbinary_process_* unused variables.
17081 * device-msw.c (msprinter_init_device): Do not get printer font
17082 list; Added DEVMODE functions.
17084 * frame-msw.c: Added lots of printer code.
17086 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17089 * console-msw.h: Added more msprinter device private slots.
17091 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17093 * event-msw.c (key_needs_default_processing_p): Added.
17094 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17096 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17098 * glyphs.c (image_instance_layout): Mark image instance as clean
17100 (glyph_dirty_p): Removed redundant function.
17101 (invalidate_glyph_geometry_maybe): Added.
17102 (update_glyph_cachel_data): Call it.
17104 * glyphs.h: Prototyped it.
17106 * redisplay.c (add_glyph_rune): Call it.
17107 (redisplay_window): Reset glyphs cachels when frame faces have
17108 changed, thus forcing recomputation of built-in border glyphs.
17110 2000-01-30 Martin Buchholz <martin@xemacs.org>
17112 * Makefile.in.in: Make portable dumper and purify play well together.
17113 Add imperfect, but better than nothing, support for pdump.
17114 Remove xemacs.dmp when temacs is re-generated.
17115 Don't ignore errors when dumping xemacs.
17117 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17119 2000-01-28 Andy Piper <andy@xemacs.org>
17121 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17122 (setup_normal_frame): ditto.
17123 (setup_frame_without_minibuffer): ditto.
17124 (setup_minibuffer_frame): ditto.
17125 (delete_frame_internal): ditto.
17126 (Fmake_frame_invisible): ditto.
17127 (Ficonify_frame): ditto.
17129 * window.h: change Fset_window_buffer signature.
17131 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17132 (Fset_window_buffer): allow recording of buffer if the window is
17133 the selected window.
17134 (window_loop): Use new Fset_window signature.
17136 2000-01-23 Daniel Pittman <daniel@danann.net>
17138 * config.h.in: Added template for `HAVE_ATHENA_3D'
17140 2000-01-29 Andy Piper <andy@xemacs.org>
17142 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17144 * gutter.c (output_gutter): Don't output if the window isn't live.
17146 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17148 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17149 of 01/12/00: Moved SetFocus back here where it belongs.
17151 2000-01-23 Andy Piper <andy@xemacs.org>
17153 * s/cygwin32.h: declare printer things.
17155 2000-01-26 Andy Piper <andy@xemacs.org>
17157 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17160 2000-01-24 Andy Piper <andy@xemacs.org>
17162 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17163 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17165 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17167 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17169 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17171 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17172 (mswindows_output_display_block): Avoid local shadows.
17174 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17175 (mswindows_enqueue_mouse_button_event): ditto.
17176 (mswindows_handle_gui_wm_command): remove declaration.
17178 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17181 * console-msw.h: Avoid shadows.
17182 (mswindows_get_toolbar_button_text):
17183 (emacs_mswindows_create_stream_pair):
17184 (emacs_mswindows_delete_stream_pair):
17185 (mswindows_handle_toolbar_wm_command): declare.
17187 * device-msw.c (build_syscolor_string): Avoid shadows.
17189 2000-01-23 Andy Piper <andy@xemacs.org>
17191 * glyphs-widget.c (widget_instantiate): reverse the items for
17192 layouts so that children are in the expected order.
17194 2000-01-28 Martin Buchholz <martin@xemacs.org>
17196 * ralloc.c: safe_bcopy ==> memmove
17197 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17198 * s/msdos.h: Remove BCOPY macros.
17199 * insdel.c (gap_right): Remove BCOPY conditional code.
17200 * insdel.c (gap_left): Remove BCOPY conditional code.
17201 XEmacs demands a working ANSI C compiler - hence memmove.
17203 * regex.c (regex_compile): Remove accidental use of trigraphs.
17205 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17207 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17210 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17212 * event-msw.c (mswindows_drain_windows_queue): Added the
17214 (mswindows_need_event): Commented the call to
17215 mswindows_drain_windows_queue().
17216 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17219 * console-msw.h: Moved a few function prototypes here from
17222 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17223 parameter from unsigned short to unsigned long.
17224 (Fmswindows_shell_execute): Added return value.
17226 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17228 * sysdep.c (init_system_name):
17229 process-unix.c (unix_canonicalized_host_name):
17230 Don't call freeaddrinfo() if getaddrinfo() fails.
17232 * process-unix.c (unix_open_unix_network_stream):
17233 Moved the code to get a port # into address loop.
17235 2000-01-27 Martin Buchholz <martin@xemacs.org>
17237 * buffer.c (reinit_vars_of_buffer):
17238 The right place to initialize conversion_in_dynarr and
17239 conversion_out_dynarr.
17241 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17243 * process-unix.c (unix_canonicalize_host_name): Muleize.
17244 (unix_open_network_stream): Muleize.
17246 * buffer.h: Fix up prototypes for ralloc.c functions.
17248 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17249 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17250 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17251 instead of gethostbyname()
17252 * process-unix.c: In unix_canonicalize_host_name() and
17253 unix_open_network_stream(), add code to use getaddrinfo()
17254 instead of gethostbyname().
17256 2000-01-27 Daniel Pittman <daniel@danann.net>
17258 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17259 libs when built with flat Athena.
17261 2000-01-27 Martin Buchholz <martin@xemacs.org>
17263 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17264 Use coding standards for function prototypes.
17266 2000-01-25 Martin Buchholz <martin@xemacs.org>
17268 * dialog-msw.c (push_lisp_string_as_unicode):
17269 * doc.c (unparesseuxify_doc_string):
17270 * dired.c (Fuser_name_completion_1):
17271 * dired.c (Fuser_name_all_completions):
17272 * dired.c (free_user_cache):
17273 * dired.c (user_name_completion):
17274 * console-x.c (get_display_arg_connection):
17275 * minibuf.c (clear_echo_area_internal):
17276 * minibuf.c (echo_area_append):
17277 * eldap.c (Fldap_open):
17278 * eldap.c (Fldap_search_internal):
17279 * frame-x.c (x_set_frame_text_value):
17280 * frame-x.c (x_set_frame_properties):
17281 * frame-x.c (x_create_widgets):
17282 * redisplay-tty.c (term_get_fkeys_1):
17283 * objects-x.c (x_parse_nearest_color):
17284 * objects-x.c (x_valid_color_name_p):
17285 * objects-x.c (x_initialize_font_instance):
17286 * objects-x.c (x_list_fonts):
17287 * objects-x.c (x_find_charset_font):
17288 * tooltalk.c (Fadd_tooltalk_message_arg):
17289 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17290 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17291 * process-unix.c (unix_create_process):
17292 * ntproc.c (sys_spawnve):
17293 * sound.c (Fplay_sound_file):
17294 * sound.c (Fplay_sound):
17295 * buffer.c (init_initial_directory):
17296 * buffer.c (init_buffer):
17297 * editfns.c (init_editfns):
17298 * editfns.c (Ftemp_directory):
17299 * editfns.c (Fuser_full_name):
17300 * editfns.c (uncache_home_directory):
17301 * editfns.c (get_home_directory):
17302 * editfns.c (Fuser_home_directory):
17303 * editfns.c (Fformat_time_string):
17304 * editfns.c (Fcurrent_time_string):
17305 * gui-x.c (button_item_to_widget_value):
17306 * database.c (Fopen_database):
17307 * event-Xt.c (x_to_emacs_keysym):
17308 * event-Xt.c (x_event_to_emacs_event):
17309 * event-Xt.c (describe_event_window):
17310 * event-msw.c (mswindows_wnd_proc):
17311 * glyphs-eimage.c (jpeg_instantiate):
17312 * glyphs-eimage.c (gif_instantiate):
17313 * glyphs-eimage.c (png_instantiate):
17314 * glyphs-eimage.c (tiff_instantiate):
17315 * glyphs-x.c (xbm_instantiate_1):
17316 * glyphs-x.c (x_xbm_instantiate):
17317 * glyphs-x.c (x_xface_instantiate):
17318 * glyphs-x.c (autodetect_instantiate):
17319 * glyphs-x.c (cursor_font_instantiate):
17320 * glyphs-x.c (x_widget_instantiate):
17321 * glyphs-x.c (x_widget_set_property):
17322 * glyphs-x.c (x_widget_property):
17323 * glyphs-x.c (BUILD_GLYPH_INST):
17324 * print.c (write_string_to_stdio_stream):
17325 * print.c (output_string):
17326 * print.c (Falternate_debugging_output):
17327 * print.c (Fexternal_debugging_output):
17328 * glyphs-msw.c (extract_xpm_color_names):
17329 * glyphs-msw.c (mswindows_xpm_instantiate):
17330 * glyphs-msw.c (bmp_instantiate):
17331 * glyphs-msw.c (resource_name_to_resource):
17332 * glyphs-msw.c (mswindows_resource_instantiate):
17333 * glyphs-msw.c (xbm_instantiate_1):
17334 * glyphs-msw.c (mswindows_xbm_instantiate):
17335 * glyphs-msw.c (mswindows_xface_instantiate):
17336 * glyphs-msw.c (mswindows_widget_instantiate):
17337 * glyphs-msw.c (add_tree_item):
17338 * glyphs-msw.c (add_tab_item):
17339 * glyphs-msw.c (mswindows_combo_box_instantiate):
17340 * glyphs-msw.c (mswindows_widget_property):
17341 * glyphs-msw.c (mswindows_combo_box_property):
17342 * glyphs-msw.c (mswindows_widget_set_property):
17343 * console.c (stuff_buffered_input):
17344 * objects-msw.c (mswindows_initialize_color_instance):
17345 * objects-msw.c (mswindows_valid_color_name_p):
17346 * objects-msw.c (mswindows_list_fonts):
17347 * objects-msw.c (mswindows_font_instance_truename):
17348 * bytecode.c (optimize_compiled_function):
17349 * select-x.c (symbol_to_x_atom):
17350 * select-x.c (x_atom_to_symbol):
17351 * select-x.c (hack_motif_clipboard_selection):
17352 * select-x.c (selection_data_to_lisp_data):
17353 * select-x.c (lisp_data_to_selection_data):
17354 * select-x.c (Fx_get_cutbuffer_internal):
17355 * select-x.c (Fx_store_cutbuffer_internal):
17356 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17357 * buffer.h (TO_INTERNAL_FORMAT): New function.
17358 * emacs.c (make_arg_list_1):
17359 * emacs.c (make_argc_argv):
17360 * emacs.c (main_1):
17361 * emacs.c (Fdump_emacs):
17362 * emacs.c (split_string_by_emchar_1):
17367 * device-x.c (x_init_device):
17368 * device-x.c (Fx_valid_keysym_name_p):
17369 * device-x.c (Fx_get_font_path):
17370 * device-x.c (Fx_set_font_path):
17371 * glyphs.c (bitmap_to_lisp_data):
17372 * glyphs.c (pixmap_to_lisp_data):
17373 * alloc.c (make_ext_string): Use coding system arguments. Update
17375 * alloc.c (build_string):
17376 * callproc.c (child_setup):
17377 * callproc.c (init_callproc):
17378 * fileio.c (lisp_strerror):
17379 * fileio.c (directory_file_name):
17380 * fileio.c (Fexpand_file_name):
17381 * fileio.c (Ffile_truename):
17382 * fileio.c (Fsysnetunam):
17383 * fileio.c (Fdo_auto_save):
17384 * sysdep.c (sys_readdir):
17385 * tests.c: New file. Allow adding C tests.
17386 Replace GET_* macros with a more comprehensible and flexible
17387 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17389 Any coding system can be used to do format conversion.
17390 Eliminate enum external_data_format.
17391 Eliminate convert_to_external_format.
17392 Eliminate convert_to_internal_format.
17393 Make sure file-name, keyboard, terminal, and ctext are always
17394 defined as coding systems or aliases. Make
17395 file-name-coding-system, terminal-coding-system, and
17396 keyboard-coding-system magical variables that are equivalent to
17397 defining the corresponding coding system aliases.
17399 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17400 * file-coding.c (Fcoding_system_alias_p): New function.
17401 * file-coding.c (Fcoding_system_aliasee): New function.
17402 * file-coding.c (append_suffix_to_symbol): New function.
17403 * file-coding.c (dangling_coding_system_alias_p): New function.
17404 * file-coding.c (Ffind_coding_system):
17405 * file-coding.c (Fcopy_coding_system):
17406 * file-coding.c (encode_coding_no_conversion):
17407 * file-coding.c (syms_of_file_coding):
17408 * file-coding.c (vars_of_file_coding):
17409 Rewrite coding system alias code.
17410 Allow nested aliases, like symbolic links.
17411 Allow redefinition of coding system aliases.
17412 Prevent existence of dangling coding system aliases.
17414 * dired.c (Fuser_name_completion_1):
17415 * dired.c (Fuser_name_all_completions):
17416 A crash would happen if user did QUIT in the middle of building
17417 user_name_cache. Remove redundant code in mainline and unwind_protect.
17420 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17422 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17423 an unsigned char *. Update all callers.
17425 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17427 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17429 2000-01-25 Martin Buchholz <martin@xemacs.org>
17431 * elhash.c (hentry_description): Use more portable definition.
17432 (resize_hash_table): Initialize new hentries using
17433 xnew_array_and_zero, thereby simplifying the code.
17435 * mule-charset.c (make_charset): Make sure entire object is
17436 initialized, to avoid Purify warnings.
17438 * alloc.c (resize_string): Fix unlikely crash with big strings.
17440 2000-01-24 Martin Buchholz <martin@xemacs.org>
17442 * realpath.c (xrealpath):
17443 Don't call getwd().
17445 2000-01-25 Martin Buchholz <martin@xemacs.org>
17447 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17449 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17451 * unexelfsgi.c (unexec): Change the way we decide which segment
17452 should be extended.
17454 Assumption that .bss section should be outside the PT_LOADable
17455 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17456 it's present) is inside the 'data' segment. This would fail the
17457 test which was used to find a segment to grow and cover new
17458 heap. Instead of this assumption, I created another one - on IRIX
17459 the segment to grow should start below .bss and it's address
17460 should extent above the end of .bss. Once this segment is
17461 identified, it's grown to accommodate the new heap and new
17462 zero-length .bss section is added at the end of .data2.
17464 2000-01-25 Martin Buchholz <martin@xemacs.org>
17466 * eval.c (Feval): Wrong number of arguments should use original
17467 function, not the indirect_function version of it.
17469 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17471 * glyphs-x.c (x_button_instantiate): Don't add image if
17472 it is not a pixmap.
17473 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17476 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17478 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17480 (DEFVAR_INT_MAGIC): Ditto.
17481 (DEFVAR_BOOL_MAGIC): Ditto.
17482 * glyphs.h: Reindent backslash.
17484 2000-01-24 Martin Buchholz <martin@xemacs.org>
17486 * glyphs-widget.c (layout_query_geometry):
17487 (layout_layout): Use correct types for gheight, gwidth.
17489 2000-01-24 Martin Buchholz <martin@xemacs.org>
17491 * EmacsManager.c (QueryGeometry): Purified.
17493 2000-01-23 Martin Buchholz <martin@xemacs.org>
17495 * alloc.c (make_float): Make sure entire object is initialized, to
17496 avoid Purify warnings.
17497 (pdump_register_sub): Remove useless assignment.
17498 (pdump): Use xmalloc, not malloc.
17499 (pdump_load): Use xmalloc, not malloc.
17501 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17508 * sysdep.c: Removed redundant #include <windows.h>
17510 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17512 * frame.c (delete_frame_internal): Do not delete device when its
17513 implementation so declares.
17514 (delete_frame_internal): Set device selected frame to nil when
17515 last frame goes away.
17517 * device-msw.c (msprinter_device_system_metrics): Implemented.
17518 (mswindows_device_system_metrics): Added 'device-dpi property.
17520 * device.c: (Fdevice_printer_p): Added.
17521 Added 'offset-workspace device metric.
17523 * console.h (device_metrics): Declared DM_offset_workspace.
17525 2000-01-23 Martin Buchholz <martin@xemacs.org>
17527 * fileio.c (Ffile_truename): Remove pointless and confusing
17528 initialization of elen.
17530 * glyphs-widget.c: Compiler warning fixes.
17532 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17534 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17535 instead of a Lisp_Object as argument to make it consistent with
17536 the other LIVE_P macros.
17537 (CHECK_LIVE_PROCESS): New macro.
17539 * process.c: Declare Qprocess_live_p.
17540 (Fprocess_live_p): New function.
17541 (create_process): Use PROCESS_LIVE_P.
17542 (read_process_output): Ditto.
17543 (set_process_filter): Ditto.
17544 (Fdelete_process): Ditto.
17545 (kill_buffer_processes): Ditto
17546 (process_send_signal): Use CHECK_LIVE_PROCESS.
17547 (Fprocess_input_coding_system): Check whether process is still
17548 alive (fix PR#1061).
17549 (Fprocess_output_coding_system): Ditto.
17550 (Fprocess_coding_system): Ditto.
17551 (Fset_process_input_coding_system): Ditto.
17552 (Fset_process_output_coding_system): Ditto.
17554 2000-01-23 Andy Piper <andy@xemacs.org>
17556 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17559 * glyphs.c (mark_image_instance): take into account changed
17560 image_instance format.
17561 (image_instance_equal): ditto.
17562 (image_instance_hash): ditto.
17564 * glyphs-widget.c (widget_instantiate): Incorporate layout
17565 instantiation here. Delay layout of the layout until later.
17566 (layout_instantiate): deleted.
17567 (layout_query_geometry): new function. get the geometry of a
17569 (layout_layout): layout a layout dynamically.
17570 (image_instantiator_widget): New function - splitting up
17571 image_instantiator_format_create_glyphs_widget for netwinder
17573 (image_instantiator_buttons):
17574 (image_instantiator_edit_fields):
17575 (image_instantiator_combo_box):
17576 (image_instantiator_scrollbar):
17577 (image_instantiator_progress_guage):
17578 (image_instantiator_tree_view):
17579 (image_instantiator_tab_control):
17580 (image_instantiator_labels):
17581 (image_instantiator_layout): ditto.
17582 (image_instantiator_format_create_glyphs_widget): Call preceding
17585 2000-01-22 Martin Buchholz <martin@xemacs.org>
17587 * process.c (Fset_process_coding_system):
17588 * device-x.c (Fx_keysym_hash_table):
17591 * lstream.c (Lstream_write): Return documented value, not 0.
17593 * fileio.c (directory_file_name):
17594 (Fsubstitute_in_file_name):
17595 (Fsubstitute_insert_file_contents_internal):
17596 (Fwrite_region_internal):
17601 Remove vestigial APOLLO-conditional code.
17603 2000-01-21 Martin Buchholz <martin@xemacs.org>
17605 * getpagesize.h: Add guard macros.
17606 * libsst.h: Add guard macros.
17607 * libst.h: Add guard macros.
17608 * line-number.h: Add guard macros.
17609 * ndir.h: Add guard macros.
17610 * sysfloat.h: Add guard macros.
17611 * sysfile.h: Add guard macros.
17612 * sysproc.h: Add guard macros.
17613 * syswait.h: Add guard macros.
17614 * xintrinsic.h: Add guard macros.
17615 * xintrinsicp.h: Add guard macros.
17616 * xmmanager.h: Add guard macros.
17617 * xmmanagerp.h: Add guard macros.
17618 * xmprimitive.h: Add guard macros.
17619 * xmu.h: Add guard macros.
17620 * gpmevent.h: Add copyright statement. Add guard macros.
17621 * miscplay.h: Add guard macros.
17622 * *.h: Use consistent C-standards-approved guard macro names.
17624 * opaque.c (make_opaque): Switch parameter order.
17625 * opaque.h (make_opaque): Switch parameter order.
17626 Update all callers.
17627 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17629 * config.h.in (type_checking_assert): Added.
17630 (bufpos_checking_assert): Added.
17632 2000-01-21 Martin Buchholz <martin@xemacs.org>
17634 * alloc.c: Harmless pdump changes.
17636 - spell alignment correctly.
17637 * sysdep.c: Use countof()
17639 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17641 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17642 initially_selected_for_input() console method, default to 0.
17643 (semi_canonicalize_console_connection): Try to delegate to
17644 canonicalize_console_connection if no such console method.
17645 (canonicalize_console_connection): Vice versa.
17646 (print_console): Do not print nil connection.
17648 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17649 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17650 (XDEVIMPF_FRAMELESS_OK): Added.
17651 (CONSOLE_INHERITS_METHOD): Added.
17653 * console-msw.c (mswindows_canonicalize_console_connection):
17655 (mswindows_canonicalize_device_connection): Added.
17657 * console-msw.h (struct msprinter_device): Added this struct and
17659 (mswindows_device): Made fontlist a lisp object.
17661 * device.c (semi_canonicalize_device_connection): Try to delegate
17662 to canonicalize_device_connection if no such console method.
17663 (canonicalize_device_connection): Vice versa.
17664 (print_device): Do not print nil connection.
17666 * device-msw.c (mswindows_init_device): Call InitCommonControls
17668 (mswindows_delete_device): Removed fontlist deallocation.
17669 (mswindows_mark_device): Added.
17671 * events.c (event_equal): Added abort() at unreached code.
17672 (event_hash): Ditto.
17674 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17675 fallback tags of Windows devices.
17677 * general.c (syms_of_general): Initialized Qmsprinter.
17679 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17680 of fallback tags of Windows devices.
17682 * lisp.h: Declared Qmsprinter.
17684 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17686 (mswindows_list_fonts): Ditto.
17687 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17688 that it can be used by both mswindows and msprinter devices.
17689 (initialize_font_instance): Added.
17690 (mswindows_initialize_font_instance): Use it.
17691 (msprinter_initialize_font_instance): Added.
17693 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17694 and implementation flags check.
17695 (redisplay_without_hooks): Changed the call to the above.
17696 (Fredraw_device): Ditto.
17697 (Fredisplay_device): Ditto.
17699 * redisplay-msw.c (get_frame_dc): Implemented.
17700 (get_frame_compdc): Implemented.
17701 (many functions): Use the two functions above to get device
17702 contexts, ether for a window or a printer.
17704 2000-01-21 Olivier Galibert <galibert@pobox.com>
17706 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17707 initialization here.
17708 (init_symbols_once_early): Call it.
17709 * emacs.c (main_1): Call it.
17710 * symsinit.h: Declare it.
17712 2000-01-19 Olivier Galibert <galibert@pobox.com>
17714 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17716 (pdump_backtrace): Ditto.
17717 (pdump_register_object): Ditto. Cleanup use of the pointers.
17718 (pdump_get_entry): Abort if trying to register a null pointer.
17719 (pdump_dump_data): Cleanup types when relocating.
17720 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17721 (pdump_dump_rtables): Remove bad casts.
17722 (pdump_load): Cleanup relocation w.r.t union type. Use a
17723 Lisp_Object instead of a EMACS_INT for the hashtable
17726 2000-01-20 Martin Buchholz <martin@xemacs.org>
17728 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17730 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17732 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17734 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17736 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17738 * faces.h (FACE_STRIKETHRU_P): Added.
17740 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17743 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17744 (mswindows_set_dc_font): New function, aware of font variants,
17745 separated from mswindows_update_dc.
17747 * objects-msw.h (struct mswindows_font_instance_data): Added
17750 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17751 cached fonts and the data structure.
17752 (mswindows_initialize_font_instance): Added creation of font data
17754 (mswindows_print_font_instance): Print at least something.
17755 (mswindows_create_font_variant): Implemented.
17756 (mswindows_get_hfont): Implemented.
17758 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17760 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17761 prototyping problem with msvc.
17763 * emacs.c (main_1): added syms_of_gui_mswindows() call
17765 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17766 syms_of_gui_mswindows() function
17768 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17770 2000-01-18 Martin Buchholz <martin@xemacs.org>
17772 * XEmacs 21.2.27 is released.
17774 2000-01-18 Martin Buchholz <martin@xemacs.org>
17776 * glyphs-eimage.c (struct tiff_error_struct):
17778 (tiff_warning_func):
17779 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17784 * unexec.c: Remove vestigial Lucid C code.
17788 * libsst.c: Ansify.
17789 Remove declarations of errno and strerror().
17791 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17793 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17795 2000-01-16 Martin Buchholz <martin@xemacs.org>
17797 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17800 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17805 Change enum eol_type to eol_type_t.
17807 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17809 * gui.c (get_gui_callback): Check cons before accessing car.
17811 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17813 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17814 (XSETSPECIFIER_TYPE): Ditto.
17816 2000-01-17 Didier Verna <didier@xemacs.org>
17818 * redisplay.c (generate_fstring_runes): compute string size in
17819 characters, not bytes.
17821 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17823 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17825 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17827 * print.c (print_error_message): Call print_prepare().
17829 2000-01-14 Martin Buchholz <martin@xemacs.org>
17831 * .dbxrc: Renamed from dbxrc.
17833 * events.c (event_to_character):
17834 Use `assert (foo)' instead of `if (!foo) abort()'
17836 * .gdbinit (xtype): Add documentation.
17837 * .gdbinit (check-temacs): New function.
17838 * .gdbinit (check-xemacs): New function.
17839 * dbxrc (check-xemacs): New function.
17840 * dbxrc (check-xemacs): New function.
17842 2000-01-14 Andy Piper <andy@xemacs.org>
17844 * glyphs-widget.c (widget_query_geometry): Make sure that we
17845 calculate default dimensions correctly.
17847 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17849 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17851 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17852 pdump_wire'd variable.
17854 * emacs.c: (main_1): Conditionalized calls to
17855 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17857 2000-01-13 Martin Buchholz <martin@xemacs.org>
17859 * window.c (Fset_window_configuration):
17860 * sysdep.c (_start):
17861 * input-method-motif.c (res):
17862 * event-Xt.c (Xt_process_to_emacs_event):
17863 Simple compiler warning fixes.
17865 * bytecode.c (funcall_compiled_function): Use the original
17866 function symbol on the backtrace list in preference to the
17867 compiled_function object in error messages.
17869 2000-01-13 Andy Piper <andy@xemacs.org>
17871 * glyphs-x.c (update_widget_face): Make sure we update the widget
17872 background as well as foreground.
17874 2000-01-13 Andy Piper <andy@xemacs.org>
17876 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17877 fields to subwindow.
17878 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17879 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17880 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17881 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17883 * glyphs-widget.c (check_valid_tab_orientation): new function.
17884 (initialize_widget_image_instance): zero orientation and
17886 (widget_instantiate): pick up orientation.
17887 (tab_control_query_geometry): return appropriate values for
17890 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17891 appropriate creation flags for left, right and bottom tabs.
17893 * s/cygwin32.h: add tab definitions.
17895 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17897 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17898 frame upon hiding a subwindow.
17899 (mswindows_button_instantiate): Changed the push button style to
17901 (mswindows_button_instantiate): Removed button BS_NOTIFY
17903 (mswindows_button_instantiate): Removed redundant check for
17904 a disabled gui item.
17905 (mswindows_button_instantiate): Made use of WS_TABSTOP
17906 consistent: "operable" controls (edit, button, tree, scroll) have
17907 this style, "display-only" ones (static, progress gauge) do
17908 not. This style is currently ignored by XEmacs though. Also,
17909 removed the WS_EX_CONTROLPARENT style - it is not for children,
17910 it is for their parents!
17911 (mswindows_edit_field_instantiate): Ditto.
17912 (mswindows_progress_gauge_instantiate): Ditto.
17913 (mswindows_tree_view_instantiate): Ditto.
17914 (mswindows_tab_control_instantiate): Ditto.
17915 (mswindows_scrollbar_instantiate): Ditto.
17916 (mswindows_combo_box_instantiate): Ditto.
17917 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17918 style to the "clip" window.
17919 (mswindows_button_instantiate): Removed compilation warning by
17920 equally typing terms of the ?: operator.
17922 2000-01-12 Didier Verna <didier@xemacs.org>
17924 * redisplay.c (generate_fstring_runes): new parameter holding the
17925 last modeline-format extent.
17926 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17927 extent, fill the glyph block with it.
17928 (generate_fstring_runes): handle these parameters.
17929 (generate_formatted_string_db): ditto.
17931 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17932 glyphs'extents in the modeline.
17934 1999-01-11 Mike Woolley <mike@bulsara.com>
17936 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17937 256Mb, as a workaround for the non-starting problem many people
17940 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17942 * console-tty.c (Fset_console_tty_output_coding_system):
17943 Force redrawing tty frame.
17945 2000-01-10 Didier Verna <didier@xemacs.org>
17947 * redisplay.c (generate_fstring_runes): fix size computation bug.
17949 2000-01-09 William M. Perry <wmperry@aventail.com>
17951 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17953 2000-01-09 Andy Piper <andy@xemacs.org>
17955 * glyphs-msw.c: index -> i to avoid shadows.
17956 (xbm_create_bitmap_from_data): make static.
17957 (check_valid_string_or_int): deleted.
17958 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17960 * glyphs-x.c (x_update_subwindow): remove unused args.
17962 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17963 back pointer - this is done in allocate_image_instance.
17964 (query_string_font): return Qnil to make the compiler happy.
17965 (unmap_subwindow): set to ~0 to make the compiler happy.
17966 (glyph_query_geometry): comment out until used.
17967 (glyph_layout): ditto.
17969 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17971 * insdel.c (signal_after_change): Remove extraneous unbind_to().