1 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
6 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * chartab.c (syms_of_chartab): Define
9 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
11 * chartab.h (Q_denotational): New extern when UTF2000 or
12 HAVE_CONCORD is defined.
13 (Q_denotational_from): Likewise.
14 (Q_subsumptive): Likewise.
15 (Q_subsumptive_from): Likewise.
17 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * concord.c (concord_object_put): New function.
20 (Fconcord_object_put): Use `concord_object_put'.
22 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * concord.c (Fconcord_define_object): New function.
25 (syms_of_concord): Add new builtin function
26 `concord-define-object'.
28 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
30 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
33 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
35 * concord.c: Add EXFUN for Fconcord_object_get.
36 (Vconcord_genre_object_hash_table): New variable.
37 (concord_genre_cache_get_object): New function.
38 (concord_genre_cache_put_object): New function.
39 (Fconcord_make_object): Use object cache; put object-ID into `=id'
41 (Fconcord_object_put): Call `concord_index_sync' after
42 `concord_index_strid_put_obj'.
43 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
45 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
47 * concord.c (Fconcord_decode_object): Do GCPRO for
49 (func_for_each_object): Likewise; do GCPRO for
50 for_each_object_closure->function.
51 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
52 for_each_object_closure->function, for_each_object_closure->genre,
53 for_each_object_closure->ds and for_each_object_closure->ret.
54 (concord_object_validate): Do GCPRO for Fconcord_make_object.
56 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
58 * concord.c: Add EXFUNs for Fconcord_decode_object and
60 (Fconcord_make_object): Change order of arguments.
61 (Fconcord_decode_object): Modify for Fconcord_make_object.
62 (func_for_each_object): Likewise.
63 (concord_object_validate): Likewise.
64 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
66 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
68 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
70 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
72 * concord.c (Fconcord_decode_object): Try to use readable print
73 form as a key of Concord-index.
74 (Fconcord_object_get): Try to use readable print form as an ID of
76 (Fconcord_object_put): Try to use readable print form as an ID of
77 Concord-object and a feature value.
78 (Fconcord_object_spec): Try to use readable print form as an ID of
81 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * concord.c (print_concord_object): Support readable form.
85 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * emacs.c (main_1): Call `structure_type_create_concord' when
88 HAVE_CONCORD is defined.
90 * symsinit.h (structure_type_create_concord): New prototype.
92 * concord.c (Qconcord_object): New variable.
95 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
97 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
98 char*> for genre-name.
99 (Fconcord_feature_list): Likewise.
100 (Fconcord_make_object): Likewise.
101 (Fconcord_decode_object): Likewise; use <char*> instead of
102 <unsigned char*> for feature_name and strid.
103 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
104 c_obj and feature_name.
105 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
107 (struct closure_for_object_spec): Use <char*> instead of <unsigned
108 char*> for member `object_id'.
109 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
110 char*> for feature-name.
111 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
113 (func_for_each_object): Cast to avoid warnings.
114 (Fconcord_foreach_object_in_feature): Use <char*> instead of
115 <unsigned char*> for genre_name and feature_name.
116 (concord_name_validate): New function.
117 (concord_object_validate): Likewise.
118 (concord_object_instantiate): Likewise.
119 (syms_of_concord): Add new builtin symbols `concord-object',
121 (structure_type_create_concord): New function.
123 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
125 * concord.c (Vconcord_ds_hash_table): New variable.
126 (Vconcord_genre_hash_table): New variable.
127 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
128 (Fconcord_ds_directory): New function.
129 (Fconcord_assign_genre): New function.
130 (Fconcord_genre_directory): New function.
131 (Fconcord_genre_ds): New function.
132 (Fconcord_feature_list): Allow to omit `ds'.
133 (Fconcord_make_object): Likewise.
134 (Fconcord_decode_object): Likewise.
135 (Fconcord_foreach_object_in_feature): Likewise.
136 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
137 Fconcord_assign_genre, Fconcord_genre_directory and
139 (vars_of_concord): Setup Vconcord_ds_hash_table and
140 Vconcord_genre_hash_table.
142 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
144 * concord.c (struct closure_for_each_object): Add new member
146 (func_for_each_object): Setup the return value to
147 `for_each_object_closure->ret'.
148 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
149 returns the value instead of Qt.
151 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
153 * concord.c: New file.
155 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
157 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
158 `lrecord_type_concord_object'.
160 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
162 * symsinit.h (syms_of_concord): New prototype.
163 (vars_of_concord): New prototype.
165 * emacs.c (main_1): Setup symbols and variable about concord if
166 HAVE_CONCORD is defined.
168 * config.h.in (HAVE_CONCORD): New macro.
170 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * chartab.c (Fput_char_attribute): For each character relation
173 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
175 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * chartab.c (Fput_char_attribute): Use
178 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
179 calling `put_char_composition'.
181 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * chartab.c (Q_halfwidth_of): New variable.
184 (put_char_composition): Return `<-halfwidth' instead of
185 `=decomposition' for compatibility mapping to single character
187 (Fput_char_attribute): Convert char-specs in value of
188 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
189 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
191 (syms_of_chartab): Add new symbol `<-halfwidth'.
193 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
195 * chartab.c (put_char_composition): Return
196 `<-formed@{isolated|initial|medial|final}' for compatibility
197 mapping to single character tagged
198 `{isolated|initial|medial|final}'.
200 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
202 * chartab.c (Q_compat_of): Deleted.
203 (put_char_composition): Return `<-FOO' for compatibility mapping
204 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
205 of `symbol_name (XSYMBOL(...))'.
206 (Fput_char_attribute): Convert char-specs in value of
207 `{<-|->}font[^*]*' to characters and put reverse links.
208 (Fsave_char_attribute_table): Don't refer Q_compat_of.
209 (syms_of_chartab): Delete builtin symbol `<-compat'.
211 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
213 * chartab.c (Q_circled_of): New variable.
214 (put_char_composition): Return `<-circled' instead of
215 `=decomposition' for compatibility mapping to single character
217 (Fput_char_attribute): Convert char-specs in value of
218 `{<-|->}circled[^*]*' to characters and put reverse links.
219 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
221 (syms_of_chartab): Add new symbol `<-circled'.
223 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
225 * chartab.c (Qto_decomposition_at_circled): New variable.
226 (put_char_composition): Return `=>decomposition@circled' instead
227 of `=decomposition' for compatibility decomposition mapping tagged
229 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
231 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
233 * chartab.c (Q_subscript_of): New variable.
234 (put_char_composition): Return `<-subscript' instead of
235 `=decomposition' for compatibility mapping to single character
237 (Fput_char_attribute): Convert char-specs in value of
238 `{<-|->}subscript[^*]*' to characters and put reverse links.
239 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
241 (syms_of_chartab): Add new symbol `<-subscript'.
243 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
245 * chartab.c (Q_superscript_of): New variable.
246 (put_char_composition): Return `<-superscript' instead of
247 `=decomposition' for compatibility mapping to single character
249 (Fput_char_attribute): Convert char-specs in value of
250 `{<-|->}superscript[^*]*' to characters and put reverse links.
251 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
253 (syms_of_chartab): Add new symbol `<-superscript'.
255 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
257 * chartab.c (Qto_decomposition_at_compat): Deleted.
258 (Qto_decomposition_at_superscript): New variable.
259 (put_char_composition): Use `=>decomposition@superscript' instead
260 of `=decomposition' for compatibility decomposition mapping tagged
262 (Fput_char_attribute): Fix condition about `put_char_composition'.
263 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
264 add news symbol `=>decomposition@superscript'.
266 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
268 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
269 for compatibility decomposition mapping tagged FOO.
270 (Fput_char_attribute): Modify for `put_char_composition'.
272 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
274 * chartab.c (Qto_decomposition_at_compat): New variable.
275 (Q_compat_of): Renamed from `Q_compatibility_of'.
276 (put_char_composition): Rename `Q_compatibility_of' to
277 `Q_compat_of'; return `=>decomposition@compat' for compatibility
278 decomposition mapping.
279 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
281 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
282 `<-compatibility' to `<-compat'.
284 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
286 * chartab.c (Q_compatibility_of): New variable.
287 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
288 object is proved to be a cons cell; return `<-compatibility' if
289 the first element of argument `value' is `compat'.
290 (Fput_char_attribute): Eliminate the first value if
291 `put_char_composition' returns `<-compatibility'.
292 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
293 for `<-compatibility'.
294 (syms_of_chartab): Add new symbol `<-compatibility'.
296 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
298 * chartab.c (Q_canonical): New variable.
299 (put_char_composition): Return a feature name: return
300 `->canonical' if argument `value' specifies single character.
301 (Fput_char_attribute): Use `put_char_composition' to determine
302 feature name for `=decomposition' or `->denotational'.
303 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
305 (syms_of_chartab): Add new symbol `->canonical'.
307 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
309 * chartab.c (Qmap_decomposition): New variable.
310 (Fput_char_attribute): Convert `->decomposition' to
312 (syms_of_chartab): Add new symbol `=decomposition'.
314 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
316 * chartab.c (Fget_range_char_table): Fix serious problem when
319 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
321 * chartab.c (char_table_get_db): Use `read_from_c_string'.
323 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
325 * lread.c (read_from_c_string): New function.
327 * lisp.h (read_from_c_string): New prototype.
329 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * chartab.c (Fput_char_attribute): Convert char-specs in value of
332 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
333 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
334 for `{<-|->}Oracle-Bones[^*]*'.
336 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
338 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
341 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
343 * text-coding.c (Qccs_priority_list): New variable in XEmacs
345 (Fmake_coding_system): Support new property `ccs-priority-list' in
347 (Fcoding_system_property): Likewise.
348 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
349 Vdefault_coded_charset_priority_list in XEmacs CHISE.
350 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
352 (complex_vars_of_file_coding): Define new coding-system-property
353 `ccs-priority-list' in XEmacs CHISE.
355 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
357 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
359 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
360 changed to normal function.
361 (encode_char_2): Likewise.
363 * mule-charset.c (decoding_table_put_char): Copied from
364 char-ucs.h; changed to normal function.
365 (encode_char_2): Likewise.
367 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
371 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
372 (encode_char_2_search_children): New inline function.
373 (encode_char_2): Refer
374 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
375 and use `encode_char_2_search_children'.
377 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
380 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
381 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
382 (vars_of_mule_charset): Add new variable
383 `display-coded-charset-priority-use-inheritance' and
384 `display-coded-charset-priority-use-hierarchy-order'.
386 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
388 * char-ucs.h (Q_subsumptive): New extern.
389 (Q_denotational): Likewise.
390 (encode_char_2): Search children specified by `->subsumptive' and
393 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * mule-charset.c (complex_vars_of_mule_charset): Modify the
396 X-registry of `ucs-bmp'.
398 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
400 * chartab.c (char-variants): Refer `->subsumptive',
401 `->denotational' and `->identical' as same as `->ucs-unified'.
403 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
405 * chartab.c (Fput_char_attribute): Convert char-specs in value of
406 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
409 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
411 * text-coding.c: Add EXFUN for `Fregexp_quote'.
412 (decode_add_er_char): Fix problem about infinite loop when a CCS
413 specified in `coded-charset-entity-reference-alist' is not
416 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
418 * mule-charset.c (syms_of_mule_charset): Rename
419 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
421 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
423 * fns.c (simplify_char_spec): Don't allocate new character-object
424 if specified char_spec does not have any CCS-features.
426 * chartab.h: Add EXFUN for Fdefine_char.
428 * chartab.c: Delete EXFUN for Fdefine_char.
430 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
432 * fns.c (simplify_char_spec): Use Fdefine_char instead of
433 Ffind_char for char-spec.
435 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
437 * lisp-disunion.h (XCHARVAL): Fix condition about
440 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
442 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
444 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
445 point; use <Emchar> instead of <int> for character-id.
447 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
449 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
450 (make_char): Likewise.
451 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
453 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
454 instead of <int> as the type of return value; use <Lisp_Object>
455 instead of <Emchar> as the type of argument.
456 (XCHARVAL[macro version]): Cast the result into <Emchar>.
458 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
459 syntaxcode> instead of <int>.
461 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
463 * chartab.c (put_char_composition): Use DECODE_CHAR to get
464 character corresponding with UCS code point.
465 (Fput_char_attribute): Likewise.
467 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
468 character in the UCS decoding-table if the char-id is not equal to
471 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
473 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
474 for aliases; write `description'; write
475 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
478 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
480 * chartab.c (Fsave_char_attribute_table): Don't use
481 `save_charset_properties'.
483 * mule-charset.c (Fsave_charset_properties): Renamed from
484 `save_charset_properties' and changed to Lisp function again;
485 write property `type' as `CCS'; write properties `final-byte' and
486 `mother' if they exists.
487 (syms_of_mule_charset): Revive builtin function
488 `save-charset-properties' when HAVE_LIBCHISE is defined.
490 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
492 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
493 instead of Vexec_directory.
494 (char_attribute_system_db_file): Likewise.
496 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
498 * chartab.c (Fsave_char_attribute_table): Use
499 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
502 * mule-charset.c (save_charset_properties): Renamed from
503 `Fsave_charset_properties'; changed to non-Lisp function.
504 (syms_of_mule_charset): Abolish builtin function
505 `save-charset-properties'.
507 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
509 * mule-charset.c (Fsave_charset_properties): New function when
510 HAVE_LIBCHISE is defined.
511 (syms_of_mule_charset): Add new builtin function
512 `save-charset-properties' when HAVE_LIBCHISE is defined.
514 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
516 * chartab.c (Fput_char_attribute): Convert char-specs in value of
517 `{<-|->}ancient[^*]*' to characters and put reverse links.
518 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
519 for `{<-|->}ancient[^*]*'.
521 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
523 * chartab.c (Fput_char_attribute): Convert char-specs in value of
524 `{<-|->}original[^*]*' to characters and put reverse links.
525 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
526 for `{<-|->}original[^*]*'.
528 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
530 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
532 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
534 * mule-charset.c (Qsystem_char_id): New variable.
536 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
537 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
539 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
541 * chartab.c (Fput_char_attribute): When processing a reference of
542 a character, put into the end of the reversed reference of each
545 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
547 * chartab.c (Q_same): Deleted.
548 (Q_same_of): Deleted.
549 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
550 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
552 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
554 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * chartab.c (Q_vulgar): Deleted.
557 (Q_vulgar_of): Deleted.
558 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
559 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
561 (syms_of_chartab): Don't define `{<-|->}vulgar'.
563 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
565 * chartab.c (Fput_char_attribute): Convert char-specs in value of
566 `{<-|->}wrong[^*]*' to characters and put reverse links.
567 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
568 for `{<-|->}wrong[^*]*'.
570 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
572 * chartab.c (Q_vulgar): New variable.
573 (Q_vulgar_of): New variable.
574 (Fput_char_attribute): Convert char-specs in value of
575 `{->|<-}vulgar' to characters and put reverse links.
576 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
578 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
580 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * text-coding.c (decode_add_er_char): Must to quote prefix string
585 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * mule-charset.c (put_char_ccs_code_point): Store characters of
588 =ucs whose code_points >= 0xF0000.
590 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
592 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
594 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
596 (complex_vars_of_mule_charset): Add new coded-charset
597 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
598 builtin characters over 0xEFFFF.
600 * chartab.c (syms_of_chartab): Don't define symbol
601 `system-char-id' in every case.
603 * char-ucs.h (Qsystem_char_id): New extern variable.
604 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
606 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
608 * text-coding.c (char_encode_utf8): Try to use entity-references
609 for U-000F0000 ... U-0010FFFF.
611 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
613 * text-coding.c (ER_BUF_SIZE): New macro.
614 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
616 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
617 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
619 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
621 * chartab.c (find_char_feature_in_family): New function.
622 (Fchar_feature): Use `find_char_feature_in_family' with
623 `->identical', `<-subsumptive' and `<-denotational'.
625 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
627 * text-coding.c (char_encode_as_entity_reference): Allow prefix
628 within 8 characters; fix infinite loop.
630 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
632 * chartab.c (Q_same): New variable.
633 (Q_same_of): New variable.
634 (Fput_char_attribute): Convert char-specs in value of
635 `{->|<-}same' to characters and put reverse links.
636 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
638 (syms_of_chartab): Add new symbols `{->|<-}same'.
640 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * chartab.c (Q_component): New variable.
643 (Q_component_of): Likewise.
644 (Fput_char_attribute): Convert char-specs in value of
645 `{->|<-}ideographic-component-forms' to characters and put reverse
647 (syms_of_chartab): Add new symbols
648 `{->|<-}ideographic-component-forms'.
650 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
652 * chartab.c (Q_identical): New variable.
653 (Q_identical_from): New variable.
654 (Fchar_feature): Regard `->identical' as a feature to find
656 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
657 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
658 for `{->|<-}identical'.
659 (syms_of_chartab): Add new symbols `{->|<-}identical'.
661 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
663 * char-ucs.h (encode_char_2): New inline function.
664 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
666 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
668 * chartab.c (Fput_char_attribute): Convert char-specs to
669 characters in value of `ideographic-structure'.
670 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
671 for `{<-|->}simplified(@...)'.
672 (Fdefine_char): Try to use predefined character's id.
674 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
676 * fns.c (simplify_char_spec): Try to convert builtin chars to
679 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
681 * chartab.c (Fput_char_attribute): Convert char-specs in value of
682 `<-simplified[^*]*' to characters and put reverse links.
684 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
686 * chartab.c (Q_subsumptive): Renamed from Q_unified.
687 (Q_subsumptive_from): Renamed from Q_unified_from.
688 (Fchar_feature): Use `Q_subsumptive_from' instead of
690 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
692 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
693 `<-unified' to `<-subsumptive'.
695 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
697 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
698 inheritance itself; fix typo; stop recursive search if cyclic
699 inheritance is found.
701 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
703 * chartab.c (Q_denotational): New variable.
704 (Q_denotational_from): New variable.
705 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
706 (put_char_attribute): New function.
707 (Fput_char_attribute): Use `put_char_attribute'; regard
708 `->denotational' and `<-denotational' as same as `->unified' and
710 (syms_of_chartab): Add new symbols `->denotational' and
713 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
715 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
716 `Fget_char_attribute'.
717 (Fchar_variants): Likewise.
718 (get_char_table): Likewise.
719 (Fchar_feature): New function.
720 (put_char_composition): Use `Fchar_feature' instead of
721 `Fget_char_attribute'.
722 (Fput_char_attribute): Likewise; don't put the target character
723 into its `->unified' value.
724 (syms_of_chartab): Add new builtin function `char-feature'.
726 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
728 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
729 `Fget_char_attribute'.
730 (char_encode_utf8): Likewise.
732 * chartab.h: Add an EXFUN for `Fchar_feature'.
734 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
736 * chartab.c (Vnext_defined_char_id): New variable.
737 (Fput_char_attribute): Accept characters in `->unified'.
738 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
739 new characters which are not related with builtin char-id ranges.
740 (vars_of_chartab): Add new variable `next-defined-char-id'.
742 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
744 * chartab.c (Q_unified): New variable.
745 (Q_unified_from): New variable.
746 (Fput_char_attribute): Add code for `->unified'.
747 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
750 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
752 * mule-charset.c (decode_ccs_conversion): New function.
753 (decode_defined_char): Use `decode_ccs_conversion'.
754 (decode_builtin_char): Likewise.
756 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
758 * char-ucs.h: Change some charset-ids of private coded-charsets.
760 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
763 (char_encode_as_entity_reference): Likewise.
764 (decode_coding_big5): Modify for `decode_defined_char' and
766 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
767 avoid compiler warning.
768 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
770 * mule-charset.c (decode_defined_char): Add new argument
771 `without_inheritance'.
772 (Fdecode_char): Add new optional argument `without_inheritance'.
773 (Fdecode_builtin_char): Modify for `Fdecode_char'.
775 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
776 (simplify_char_spec): Likewise.
778 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
781 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
782 (map_char_table): Likewise.
783 (Fdefine_char): Use `Fdecode_char' without inheritance.
784 (Ffind_char): Modify for `Fdecode_char'.
786 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
788 * char-ucs.h (decode_defined_char): Add new argument
789 `without_inheritance'.
790 (DECODE_CHAR): Likewise.
791 (MAKE_CHAR): Modify for `DECODE_CHAR'.
793 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
795 * chartab.c (Vchise_system_db_directory): New variable.
796 (vars_of_chartab): Add new variable `chise-system-db-directory'.
798 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
800 * chartab.c: EXFUN `Fmount_char_attribute_table'.
801 (print_chartab_range): Don't define when `UTF2000' is defined.
802 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
805 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
807 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
808 and optional argument `rehash' is specified, call
809 `open_chise_data_source_maybe' before
810 `chise_ds_foreach_char_feature_name' is called.
812 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
814 * chartab.c (char_attribute_list_reset_map_func): New function
815 when HAVE_LIBCHISE is defined.
816 (Fchar_attribute_list): Add new optional argument `rehash' when
817 HAVE_LIBCHISE is defined.
818 (open_chise_data_source_maybe): Use "chise-db" instead of
820 (char_attribute_system_db_file): Likewise.
821 (Fload_char_attribute_table): Use
822 `chise_feature_foreach_char_with_value' instead of
823 `chise_char_feature_value_iterate'.
825 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
827 * chartab.c (Vchise_db_directory): New variable.
828 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
830 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
832 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
833 instead of HAVE_CHISE to specify using with libchise.
835 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
837 * chartab.h: Don't use HAVE_CHISE_CLIENT.
839 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
840 defined or HAVE_LIBCHISE_LIBCHISE is defined.
841 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
843 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
844 HAVE_CHISE to specify using with libchise.
845 (syms_of_chartab): Don't define symbol `system-char-id' when
846 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
848 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
850 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
851 specify CHISE DB support.
852 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
853 of `char_attribute_system_db_file' to check feature DB file.
855 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
856 HAVE_CHISE_CLIENT to specify CHISE DB support.
858 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
859 specify CHISE DB support.
860 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
862 (Freset_char_attribute_table): Use `chise_feature_setup_db'
863 instead of `char_attribute_system_db_file' to check feature DB
866 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
868 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
871 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
873 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
874 (Fsave_charset_mapping_table): Don't use
875 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
877 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
878 (HAVE_LIBCHISE): New macro.
880 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
882 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
883 (Fsave_char_attribute_table): Don't use
884 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
886 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
888 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
890 (save_uint16_byte_table): Likewise.
891 (save_byte_table): Likewise.
892 (char_table_get_db): Use `chise_ds_load_char_feature_value'
893 instead of `chise_char_load_feature_value'.
894 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
896 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
898 * chartab.h (struct Lisp_Char_Table): Delete member
899 `feature_table' if CHISE is defined.
901 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
902 (Fcopy_char_table): Likewise.
903 (char_table_open_db_maybe): Likewise.
904 (char_table_close_db_maybe): Likewise.
905 (char_table_get_db): Likewise.
906 (Fmount_char_attribute_table): Likewise.
907 (Fload_char_attribute_table): Likewise.
909 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
911 * mule-charset.c (load_char_decoding_entry_maybe): Use
912 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
915 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
917 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
918 instead of `chise_open_data_source'.
919 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
922 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
924 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
925 instead of `chise_ds_open_feature_table'.
926 (char_table_close_db_maybe): Don't use `chise_ft_close'.
928 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
930 * mule-charset.c (Fsave_charset_mapping_table): Use
931 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
932 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
933 `chise_ccs_sync' instead of `chise_ccst_close'.
934 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
936 * chartab.c (open_chise_data_source_maybe): Modify for
937 `chise_open_data_source'.
938 (char_table_open_db_maybe): Modify for
939 `chise_ds_open_feature_table'.
941 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
943 * mule-charset.c (load_char_decoding_entry_maybe): Use
944 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
947 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
949 * mule-charset.c (Fsave_charset_mapping_table): Use
950 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
951 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
952 `chise_dt_put_char' and `chise_dt_close'.
953 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
954 `chise_ccs_decode' and `chise_ccst_close' instead of
955 `chise_ds_open_decoding_table', `chise_dt_get_char' and
958 * chartab.c (char_table_get_db): Use
959 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
960 (load_char_attribute_table_map_func): Modify for
961 `chise_char_feature_value_iterate'.
962 (Fload_char_attribute_table): Use
963 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
965 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
967 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
969 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
971 * chartab.c (put_char_table): Modify for inherited coded-charsets
974 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
976 * chartab.c (Fput_char_table_map_function): Fixed.
977 (word_boundary_p): Don't check charset in XEmacs CHISE.
979 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
981 * mule-charset.c (Fsave_charset_mapping_table): Use
982 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
983 instead of `chise_open_decoding_table'; refer
984 `default_chise_data_source'; use `chise_dt_close' instead of
985 `chise_close_decoding_table'.
986 (load_char_decoding_entry_maybe): Likewise.
988 * chartab.c (default_chise_data_source): New variable when `CHISE'
990 (Fcopy_char_table): `ct->ds' is deleted.
991 (open_chise_data_source_maybe): New function.
992 (Fclose_char_data_source): New function.
993 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
994 use `chise_ds_open_feature_table' instead of
995 `chise_open_feature_table'.
996 (char_table_close_db_maybe): Use `chise_ft_close' instead of
997 `chise_close_feature_table'; `cit->ds' is deleted.
998 (syms_of_chartab): Add new builtin function
999 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1001 * chartab.h (default_chise_data_source): New extern variable.
1002 (open_chise_data_source_maybe): New prototype.
1003 (struct Lisp_Char_Table): Delete `ds'.
1005 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1007 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1010 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1012 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1013 not defined; add code for non-libchise setting.
1014 (char_table_close_db_maybe): Likewise.
1015 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1017 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1018 even if `CHISE' is not defined.
1019 (Freset_char_attribute_table): Likewise.
1020 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1021 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1022 `char_table_get_db'.
1023 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1024 `char_table_close_db_maybe' even if `CHISE' is not defined.
1026 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1028 * chartab.c (char_table_open_db_maybe): New function.
1029 (char_table_close_db_maybe): New function.
1030 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1031 (Freset_char_attribute_table): Likewise.
1032 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1033 `char_table_close_db_maybe'.
1034 (Fload_char_attribute_table): Likewise.
1036 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1038 * chartab.c: Don't include <chise.h> because it is included in
1040 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1042 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1044 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1046 (Fclose_char_attribute_table): Close `ct->feature_table' and
1047 `ct->ds' when `CHISE' is defined.
1048 (Freset_char_attribute_table): Likewise.
1049 (load_char_attribute_maybe): Use `cit->ds' and
1050 `cit->feature_table' when `CHISE' is defined.
1051 (Fload_char_attribute_table): Likewise.
1053 * chartab.h: Include <chise.h> when `CHISE' is defined.
1054 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1055 when `CHISE' is defined.
1057 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1059 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1061 (char_table_description): Likewise.
1062 (Fmake_char_table): Likewise.
1063 (Fcopy_char_table): Likewise.
1064 (Fmount_char_attribute_table): Likewise.
1065 (Fclose_char_attribute_table): Likewise.
1066 (Freset_char_attribute_table): Likewise.
1067 (load_char_attribute_maybe): Likewise.
1068 (Fload_char_attribute_table): Likewise.
1070 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1073 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1075 * chartab.c (load_char_attribute_table_map_func): New function
1076 when CHISE is defined.
1077 (Qload_char_attribute_table_map_function): Don't define when CHISE
1079 (Fload_char_attribute_table_map_function): Likewise.
1080 (Fload_char_attribute_table): Use libchise when `CHISE' is
1082 (syms_of_chartab): Don't define
1083 `load-char-attribute-table-map-function' when CHISE is defined.
1085 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1087 * chartab.c: Include <chise.h> when `CHISE' is defined.
1088 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1090 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1092 * mule-charset.c (charset_code_point): Fix problem when searching
1093 in mother CCS fails with `defined_only' mode.
1095 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1097 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1098 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1099 (put_char_composition): Likewise.
1100 (Fput_char_attribute): Likewise.
1101 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1103 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1105 * chartab.c (Q_ucs): Deleted.
1106 (Fput_char_attribute): Don't refer `->ucs'.
1107 (Fdefine_char): Likewise.
1108 (Ffind_char): Likewise.
1109 (syms_of_chartab): Delete `->ucs'.
1111 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1113 * mule-charset.c (Qmap_cns11643_2): Renamed from
1114 `Qchinese_cns11643_2'.
1115 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1116 `chinese-cns11643-2'.
1117 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1120 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1122 * mule-charset.c (Qmap_cns11643_1): Renamed from
1123 `Qchinese_cns11643_1'.
1124 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1125 `chinese-cns11643-1'.
1126 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1129 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1131 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1132 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1134 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1137 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1139 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1140 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1142 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1145 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1147 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1148 (syms_of_mule_charset): Add new symbol `=big5' instead of
1150 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1152 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1154 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1155 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1157 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1160 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1162 * mule-charset.c (Qmap_jis_x0212): Renamed from
1163 `Qjapanese_jisx0212'.
1164 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1165 `japanese-jisx0212'.
1166 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1169 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1171 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1172 `Qjapanese_jisx0208'.
1173 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1174 of `japanese-jisx0208'.
1175 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1178 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1180 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1181 `Qjapanese_jisx0208_1978'.
1182 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1183 of `japanese-jisx0208-1978'.
1184 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1187 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1189 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1190 only for XEmacs CHISE.
1192 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1194 * char-ucs.h: Compact non-ISO-IR charset-ids.
1195 (LEADING_BYTE_UCS): Changed to -177.
1196 (LEADING_BYTE_CONTROL_1): Changed to -77.
1197 (LEADING_BYTE_UCS_BMP): Changed to -176.
1198 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1200 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1202 * mule-charset.c (Qiso_ir): New variable.
1203 (Fmake_charset): Recognise new property `iso-ir'.
1204 (syms_of_mule_charset): Add new symbol `iso-ir'.
1206 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1208 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1209 n to -n; charset-id of non ISO-IR sets are changed to positive
1212 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1214 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1215 for &MCS-XXXXXXXX; values.
1217 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1219 * mule.c (Vxemacs_chise_version): Renamed from
1220 `Vutf_2000_version'.
1221 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1222 `utf-2000-version' as an alias for `xemacs-chise-version'.
1224 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1226 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1227 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1230 * config.h.in (CHISE): New macro.
1232 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1234 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1236 (Qmap_ucs): New variable.
1237 (syms_of_mule_charset): Add new symbol `=ucs'.
1238 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1240 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1241 (simplify_char_spec): Likewise.
1243 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1245 * char-ucs.h (Qmap_ucs): New extern variable.
1247 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1249 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1250 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1251 don't define it when UTF2000 is not defined.
1252 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1253 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1254 when UTF2000 is not defined.
1255 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1256 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1258 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1260 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1262 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1264 (syms_of_mule_charset): Delete `ucs-gb'.
1265 (complex_vars_of_mule_charset): Likewise.
1267 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1269 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1271 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1272 (Qucs_cns): Deleted.
1273 (syms_of_mule_charset): Delete `ucs-cns'.
1274 (complex_vars_of_mule_charset): Likewise.
1276 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1278 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1280 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1281 (Qucs_jis): Deleted.
1282 (syms_of_mule_charset): Delete `ucs-jis'.
1283 (complex_vars_of_mule_charset): Likewise.
1285 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1287 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1289 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1291 (syms_of_mule_charset): Delete `ucs-ks'.
1292 (complex_vars_of_mule_charset): Likewise.
1294 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1296 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1297 (Qideograph_daikanwa_2): Deleted.
1298 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1299 (complex_vars_of_mule_charset): Likewise.
1301 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1302 (LEADING_BYTE_DAIKANWA_1): Deleted.
1303 (LEADING_BYTE_DAIKANWA_2): Deleted.
1304 (MIN_CHAR_DAIKANWA): Deleted.
1305 (MAX_CHAR_DAIKANWA): Deleted.
1307 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1309 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1310 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1311 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1313 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1314 (Vcharset_ideograph_daikanwa): Deleted.
1315 (Qideograph_hanziku_{1..12}): Deleted.
1316 (Qideograph_daikanwa): Deleted.
1317 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1318 Vcharset_ideograph_daikanwa.
1319 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1320 `ideograph-hanziku-{1..12}'.
1321 (complex_vars_of_mule_charset): Likewise.
1323 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1325 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1327 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1328 (Qideograph_gt_pj_{1..11}): Deleted.
1329 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1330 (complex_vars_of_mule_charset): Likewise.
1332 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1334 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1335 (Vcharset_ideograph_gt): Deleted.
1336 (Qucs_big5): Deleted.
1337 (Qideograph_gt): Deleted.
1338 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1340 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1343 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1344 (LEADING_BYTE_GT): Deleted.
1345 (MIN_CHAR_GT): Deleted.
1346 (MAX_CHAR_GT): Deleted.
1348 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1350 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1352 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1354 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1355 (save_uint16_byte_table): Likewise.
1356 (save_byte_table): Likewise; convert values by it.
1357 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1358 for `ideographic-structure'.
1359 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1360 as the filter for `ideographic-structure'.
1362 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1364 * chartab.c (put_char_composition): New function.
1365 (Fput_char_attribute): Use `put_char_composition'; use
1366 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1368 * fns.c (simplify_char_spec): New function.
1369 (char_ref_simplify_spec): New function.
1370 (Fchar_refs_simplify_char_specs): New function.
1371 (syms_of_fns): Add new builtin function
1372 `char-refs-simplify-char-specs'.
1374 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1376 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1377 (Qideograph_cbeta): Deleted.
1378 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1379 (complex_vars_of_mule_charset): Likewise.
1381 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1382 (MIN_CHAR_CBETA): Comment out.
1383 (MAX_CHAR_CBETA): Likewise.
1385 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1387 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1388 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1389 CHISE client feature.
1391 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1393 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1395 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1397 * mule-charset.c (charset_lookup_description_1): Use
1398 `NUM_LEADING_BYTES' in UTF-2000.
1400 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * char-ucs.h (GC_CHARSETP): Deleted.
1404 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1406 * char-ucs.h (MAX_CHAR_GT): Updated.
1408 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1410 * text-coding.c: Sync with XEmacs 21.4.10.
1412 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1414 * mule-charset.c (Vcharset_china3_jef): Deleted.
1415 (Qchina3_jef): Deleted.
1416 (syms_of_mule_charset): Don't define `china3-jef'.
1417 (complex_vars_of_mule_charset): Likewise.
1419 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1420 (MIN_CHAR_CHINA3_JEF): Comment out.
1421 (MAX_CHAR_CHINA3_JEF): Comment out.
1423 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1425 * mule-charset.c (Vcharset_ucs_gb): New variable.
1426 (Qucs_gb): New variable.
1427 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1428 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1430 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1432 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1434 * mule-charset.c (charset_code_point): if a coded-charset has a
1435 final-byte, don't inherit the builtin range of the mother CCS.
1437 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1439 * mule-charset.c (charset_code_point): Fix problem about
1442 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1444 * mule-charset.c (decode_builtin_char): Reorganized.
1446 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1448 * text-coding.c (char_encode_as_entity_reference): Modify for
1449 `charset_code_point'.
1450 (char_encode_shift_jis): Likewise.
1451 (char_encode_big5): Likewise.
1452 (char_encode_utf8): Likewise.
1453 (char_encode_iso2022): Likewise.
1455 * mule-charset.c (charset_code_point): Add new argument
1457 (Fencode_char): Add new optional argument `defined_only'.
1459 * chartab.c (put_char_table): Modify for `charset_code_point'.
1461 * char-ucs.h (charset_code_point): Add new argument
1463 (encode_char_1): Modify for `charset_code_point'.
1465 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1467 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1468 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1470 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1472 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1473 (Qjis_x0208): Likewise.
1474 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1475 XCHARSET_FINAL(charset).
1476 (charset_code_point): Modify condition for final-byte based
1478 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1479 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1480 in UTF-2000; specify `=jis-x0208' as the mother of
1481 `japanese-jisx0208-1978', `japanese-jisx0208' and
1482 `japanese-jisx0208-1990' in UTF-2000.
1484 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1486 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1488 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1490 * text-coding.c (decode_coding_utf16): Support UTF-16.
1491 (char_encode_utf16): Fixed.
1493 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1495 * text-coding.c (Qutf16): New variable in MULE.
1496 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1497 (Fcoding_system_type): Add `utf-16' in MULE.
1498 (struct detection_state): Add a structure for utf16 in MULE.
1499 (detect_coding_type): Setup st->utf16.mask in MULE.
1500 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1502 (reset_encoding_stream): Use `char_encode_utf16' and
1503 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1504 (detect_coding_utf16): New function [incomplete].
1505 (decode_coding_utf16): New function [support only UCS-2].
1506 (char_encode_utf16): New function.
1507 (char_finish_utf16): New function.
1508 (syms_of_file_coding): Add new symbol `utf-16'; setup
1509 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1511 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1513 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1514 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1516 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1518 * chartab.c (put_char_table): When a charset is specified as a
1519 range in UTF-2000, don't support builtin characters.
1521 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1523 * mule-charset.c (decode_defined_char): Don't refer external
1524 database if Qunbound or Qnil are found.
1525 (Fsave_charset_mapping_table): Don't define it if
1526 HAVE_CHISE_CLIENT is not defined.
1527 (Freset_charset_mapping_table): New function.
1528 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1529 found in external database.
1530 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1531 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1532 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1534 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1536 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1539 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1541 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1542 Q_lowercase, Q_uppercase in UTF-2000.
1544 * chartab.c (get_char_table): Add special code for the standard
1545 case table to use character attribute `->downcase' and
1546 `->uppercase' for case operations in UTF-2000.
1548 * casetab.c (Qflippedcase): New variable in UTF-2000.
1549 (Q_lowercase): Likewise.
1550 (Q_uppercase): Likewise.
1551 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1552 and `->uppercase' in UTF-2000.
1553 (complex_vars_of_casetab): Assign attribute name `downcase' to
1554 downcase and CANON table of Vstandard_case_table in UTF-2000;
1555 assign attribute name `flippedcase' to upcase and EQV table of
1556 Vstandard_case_table in UTF-2000.
1558 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1560 * text-coding.c (decode_add_er_char): Support isolated-chars.
1561 (char_encode_as_entity_reference): Likewise.
1563 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1565 * emacs.c (Vutf_2000_lisp_directory): New variable.
1566 (Vconfigure_utf_2000_lisp_directory): Likewise.
1567 (complex_vars_of_emacs): Add new variable
1568 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1570 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1572 * char-ucs.h (DECODE_CHAR): Delete special code for
1573 `chinese-big5-1' and `chinese-big5-2'.
1575 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1576 (Qbig5_2): Likewise.
1577 (decode_defined_char): Support CONVERSION_BIG5_1 and
1579 (decode_builtin_char): Likewise.
1580 (charset_code_point): Likewise.
1581 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1582 'conversion in UTF-2000.
1583 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1584 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1585 `chinese-big5-2' as children of `chinese-big5'.
1587 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1588 (CONVERSION_BIG5_2): New macro.
1590 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1592 * text-coding.c (char_encode_big5): Support entity-reference.
1594 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1596 * text-coding.c (char_encode_as_entity_reference): New function.
1597 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1599 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1601 * text-coding.c (decode_coding_big5): Support entity-reference
1604 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1606 * text-coding.c (allocate_coding_system): Initialize initial
1607 charsets for CODESYS_UTF8.
1608 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1609 charset-g2 for CODESYS_UTF8.
1610 (decode_coding_utf8): Use charset-g0.
1611 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1612 to force variants to map to UCS.
1614 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1616 * text-coding.c (Qutf_8_mcs): New variable.
1617 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1618 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1619 instead of `utf-8' in UTF-2000.
1621 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1623 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1624 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1625 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1626 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1627 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1628 CONVERSION_96x96x96x96 are introduced.
1629 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1630 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1631 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1633 * char-ucs.h (CONVERSION_94): New macro.
1634 (CONVERSION_96): New macro.
1635 (CONVERSION_94x94): New macro.
1636 (CONVERSION_96x96): New macro.
1637 (CONVERSION_94x94x94): New macro.
1638 (CONVERSION_96x96x96): New macro.
1639 (CONVERSION_94x94x94x60): New macro.
1640 (CONVERSION_94x94x94x94): New macro.
1641 (CONVERSION_96x96x96x96): New macro.
1643 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1645 * chartab.c (Vcharacter_variant_table): Deleted.
1646 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1647 of `Vcharacter_variant_table'.
1648 (Fput_char_attribute): Likewise.
1649 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1650 (complex_vars_of_chartab): Likewise.
1652 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1654 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1656 * fns.c (Qideographic_structure): New variable.
1657 (Qkeyword_char): New variable.
1658 (ids_format_unit): New function.
1659 (Fideographic_structure_to_ids): New function.
1660 (syms_of_fns): Add new symbols `ideographic-structure' and
1661 `:char'; add new builtin function `ideographic-structure-to-ids'.
1663 * data.c (Fchar_ref_p): New function.
1664 (syms_of_data): Add new builtin function `char-ref-p'.
1666 * chartab.h: Add an EXFUN for `Ffind_char'.
1668 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1670 * text-coding.c (Vcharacter_composition_table): Deleted.
1671 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1674 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1676 (Vcharacter_composition_table): Deleted.
1677 (Fget_composite_char): Use the implementation for external-DB
1678 support in every UTF-2000.
1679 (Fput_char_attribute): Likewise.
1680 (char_attribute_system_db_file): Don't define if external-DB
1681 feature is not available.
1682 (Fsave_char_attribute_table): Likewise.
1683 (Fmount_char_attribute_table): Likewise.
1684 (Fclose_char_attribute_table): Likewise.
1685 (Freset_char_attribute_table): Likewise.
1686 (Fload_char_attribute_table): Likewise.
1687 (syms_of_chartab): Don't define `save-char-attribute-table',
1688 `mount-char-attribute-table', `reset-char-attribute-table',
1689 `close-char-attribute-table' and `load-char-attribute-table' if
1690 external-DB feature is not available.
1691 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1693 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1695 * text-coding.c (Qcomposition): Add extern if external-DB feature
1697 (Vcharacter_composition_table): Don't add extern if external-DB
1698 feature is supported.
1699 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1700 character composition rule if external-DB feature is supported.
1702 * chartab.c (Vcharacter_composition_table): Don't define if
1703 external-DB feature is supported.
1704 (Qcomposition): New variable.
1705 (Fget_composite_char): New implementation for external-DB support.
1706 (Fput_char_attribute): Use `composition' property of each
1707 character instead of `Vcharacter_composition_table' to store
1708 character-composition rules if external-DB feature is supported.
1709 (syms_of_chartab): Add new symbol `composition'.
1710 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1711 external-DB feature is supported.
1713 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1715 * chartab.c (Vchar_db_stingy_mode): New variable.
1716 (load_char_attribute_maybe): Close database if
1717 Vchar_db_stingy_mode is not NIL.
1718 (Fload_char_attribute_table_map_function): Use
1719 `get_char_id_table_0' instead of `get_char_id_table'.
1720 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1722 * chartab.h (get_char_id_table_0): New inline function.
1723 (get_char_id_table): Use `get_char_id_table_0'.
1725 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1727 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1728 and `COMPOSE_ADD_CHAR'.
1729 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1731 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1733 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1734 instead of `DECODE_ADD_UCS_CHAR'.
1735 (COMPOSE_ADD_CHAR): Likewise.
1737 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1739 * text-coding.c (decode_flush_er_chars): New inline function.
1740 (decode_add_er_char): New function.
1741 (decode_coding_utf8): Use `decode_flush_er_chars' and
1742 `decode_add_er_char'.
1744 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1746 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1747 done before `decode_output_utf8_partial_char'.
1749 * mule-charset.c (complex_vars_of_mule_charset): Specify
1750 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1751 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1753 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1755 * mule-charset.c (decode_defined_char): New function; search
1757 (decode_builtin_char): Don't search mother if
1758 XCHARSET_MAX_CODE(charset) == 0.
1759 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1760 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1761 (Fdecode_char): Use `decode_defined_char' instead of
1762 `DECODE_DEFINED_CHAR'.
1763 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1764 mother of `Vcharset_ucs_jis'.
1766 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1767 instead of `DECODE_DEFINED_CHAR'.
1769 * char-ucs.h (decode_defined_char): Renamed from
1770 `DECODE_DEFINED_CHAR'; changed to normal function.
1771 (DECODE_CHAR): Use `decode_defined_char' instead of
1772 `DECODE_DEFINED_CHAR'.
1774 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1776 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1778 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1780 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1782 (Quse_entity_reference): New variable.
1786 (coding_system_description): Add description for
1787 `ccs_priority_list'.
1788 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1789 (allocate_coding_system): Initialize `ccs_priority_list' in
1791 (Fmake_coding_system): Add description about
1792 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1794 (Fcoding_system_property): Accept `disable-composition' and
1795 `use-entity-reference' in UTF-2000.
1796 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1798 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1799 (decode_coding_utf8): Decode entity-reference if
1800 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1801 (char_encode_utf8): Encode non-Unicode characters as
1802 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1804 (syms_of_file_coding): Add new symbols `use-entity-reference',
1806 (vars_of_file_coding): Add new variable
1807 `coded-charset-entity-reference-alist'.
1808 (complex_vars_of_file_coding): Declare `disable-composition' and
1809 `use-entity-reference' to be coding-system-properties in UTF-2000.
1811 * file-coding.h (struct Lisp_Coding_System): Add new member
1812 `use_entity_reference' and `ccs_priority_list'.
1813 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1814 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1815 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1817 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1819 * chartab.c (save_uint8_byte_table): Don't clear the table.
1820 (save_uint16_byte_table): Likewise.
1821 (save_byte_table): Likewise.
1822 (Fmount_char_attribute_table): New function.
1823 (syms_of_chartab): Add new builtin function
1824 `mount-char-attribute-table'.
1826 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1828 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1830 (load_char_decoding_entry_maybe): Open database as read-only mode.
1832 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1833 open database as "w+" mode.
1834 (load_char_attribute_maybe): Open database as read-only mode.
1835 (Fload_char_attribute_table): Likewise.
1837 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1839 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1840 (char_table_description): Delete member `db_file'.
1841 (Fmake_char_table): Don't refer `ct->db_file'.
1842 (Fcopy_char_table): Likewise.
1843 (Fsave_char_attribute_table): Likewise.
1844 (Fclose_char_attribute_table): Likewise.
1845 (Freset_char_attribute_table): Likewise.
1846 (load_char_attribute_maybe): Likewise.
1847 (Fload_char_attribute_table): Likewise.
1849 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1851 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1853 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1854 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1856 (load_char_attribute_maybe): Likewise.
1857 (Fload_char_attribute_table): Likewise.
1859 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1861 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1862 `ct->db_file' unconditionally.
1864 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1866 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1868 (char_table_description): Add description for `db_file' and `db'
1870 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1872 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1873 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1874 (Fclose_char_attribute_table): New function.
1875 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1876 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1878 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1879 (syms_of_chartab): Add new builtin function
1880 `Fclose_char_attribute_table'.
1882 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1884 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1886 (load_char_attribute_maybe): Change interface.
1887 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1889 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1891 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1893 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1895 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1896 instead of `DECODE_CHAR' for mother; don't use special code for
1897 chinese-big5 to use code space of chinese-big5-1 and
1899 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1900 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1902 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1903 (MAX_CHAR_BIG5_CDP): Revival.
1905 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1907 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1908 the XLFD registry-encoding name of `chinese-big5'.
1910 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1912 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1913 (Qchinese_big5_cdp): Deleted.
1914 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1915 (complex_vars_of_mule_charset): Delete coded-charset
1918 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1919 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1920 `CHARSET_ID_OFFSET - n' for private CCS.
1921 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1922 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1923 of `MIN_LEADING_BYTE'.
1924 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1925 `(CHARSET_ID_OFFSET - 97)'.
1926 (MIN_CHAR_BIG5_CDP): Deleted.
1927 (MAX_CHAR_BIG5_CDP): Deleted.
1929 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1931 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1933 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1935 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1936 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1939 * chartab.c (Vutf_2000_version): Moved to mule.c.
1940 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1942 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1944 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1945 when HAVE_CHISE_CLIENT is not defined.
1947 * mule.c (vars_of_mule): Provide feature `chise' when
1948 HAVE_CHISE_CLIENT is defined.
1950 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1952 * config.h.in (UTF2000): Add comment.
1953 (HAVE_CHISE_CLIENT): New macro.
1955 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1957 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1959 (Fput_char_attribute): Likewise.
1960 (char_attribute_system_db_file): Encode file-name of attribute.
1961 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1964 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1966 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1967 (Fsave_charset_mapping_table): Use
1968 `char_attribute_system_db_file'.
1969 (load_char_decoding_entry_maybe): Likewise.
1971 * chartab.h (Qsystem_char_id): New external variable.
1972 (char_attribute_system_db_file): New prototype.
1974 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1975 (char_attribute_system_db_file): New function.
1976 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1977 (Freset_char_attribute_table): Likewise.
1978 (load_char_attribute_maybe): Likewise.
1979 (Fload_char_attribute_table): Likewise.
1980 (syms_of_chartab): Add new symbol `system-char-id'.
1982 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1984 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
1985 `XCHARSET_GRAPHIC(ccs)'.
1987 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1989 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
1991 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1993 * chartab.c (Q_ucs_variants): New variable.
1994 (syms_of_chartab): Add new symbol `->ucs-variants'.
1995 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
1996 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
1997 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
1999 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2001 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2002 `HAVE_DATABASE' is defined.
2003 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2004 `HAVE_DATABASE' is defined.
2006 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2008 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2010 (Freset_char_attribute_table): New function.
2011 (syms_of_chartab): Add new builtin function
2012 `reset-char-attribute-table'.
2014 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2016 * chartab.c (load_char_attribute_maybe): Don't make directories.
2018 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2020 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2022 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2025 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2027 * mule-charset.c (Fsave_charset_mapping_table): Use
2028 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2030 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2031 instead of `XCHARSET_CHARS'.
2033 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2035 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2036 (XCHARSET_BYTE_SIZE): Likewise.
2038 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2040 (XCHARSET_BYTE_SIZE): Likewise.
2042 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2044 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2045 data-directory to store database.
2046 (Fsave_char_attribute_table): Likewise.
2047 (load_char_attribute_maybe): Likewise.
2048 (Fload_char_attribute_table): Likewise.
2050 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2052 * mule-charset.c (Fsave_charset_mapping_table): New function.
2053 (syms_of_mule_charset): Add new builtin function
2054 `save-charset-mapping-table'.
2056 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2058 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2059 (get_ccs_octet_table): New inline function.
2060 (put_ccs_octet_table): Likewise.
2061 (decoding_table_put_char): Use `get_ccs_octet_table' and
2062 `put_ccs_octet_table'.
2063 (decoding_table_remove_char): Use `decoding_table_put_char'.
2064 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2066 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2067 into encoding_table.
2068 (make_charset): Use Qunbound instead Qnil as initial value of
2071 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2073 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2074 element is Qunloaded.
2075 (map_over_uint16_byte_table): Likewise.
2076 (map_over_byte_table): Likewise.
2077 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2078 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2079 database support, load encoding-table of the specified
2080 coded-charset if it is not loaded yet.
2081 (save_uint8_byte_table): New function of UTF-2000 with external
2083 (save_uint16_byte_table): Likewise.
2084 (save_byte_table): Likewise.
2085 (Fput_char_attribute): Don't store value into external database
2086 even if the external database feature is supported in UTF-2000;
2087 set `attribute' as name of char-table if the external database
2088 feature is supported.
2089 (Fsave_char_attribute_table): New function in UTF-2000.
2090 (syms_of_chartab): Add new builtin function
2091 `save-char-attribute-table' in UTF-2000.
2093 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2095 * chartab.c (char_attribute_table_to_put): New variable in
2097 (Qput_char_table_map_function): Likewise.
2098 (value_to_put): Likewise.
2099 (Fput_char_table_map_function): New function in UTF-2000.
2100 (put_char_table): Use `Fmap_char_attribute' for
2101 CHARTAB_RANGE_CHARSET in UTF-2000.
2102 (Fput_char_attribute): Store symbol instead of string in
2103 `XCHAR_TABLE_NAME (table)'.
2104 (load_char_attribute_maybe): Likewise.
2105 (syms_of_chartab): Add new symbol/function
2106 `put-char-table-map-function'.
2108 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2110 * database.h: Add new EXFUN for `Fmap_database'.
2112 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2113 (syms_of_database): Likewise.
2115 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2117 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2118 (XCHAR_TABLE_UNLOADED): Likewise.
2120 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2121 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2122 HAVE_DATABASE is defined.
2123 (char_attribute_table_to_load): New variable of UTF-2000 with
2124 external database support.
2125 (Qload_char_attribute_table_map_function): Likewise.
2126 (Fload_char_attribute_table_map_function): New function of
2127 UTF-2000 with external database support.
2128 (Fload_char_attribute_table): New function of UTF-2000.
2129 (Fmap_char_attribute): Call Fload_char_attribute_table if
2130 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2131 (syms_of_chartab): Add new symbol and function
2132 `load-char-attribute-table-map-function' in UTF-2000 with external
2133 database support; add new function `load-char-attribute-table' in
2136 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2138 * chartab.h (load_char_attribute_maybe): New prototype for
2139 UTF-2000 with DATABASE support.
2140 (get_char_id_table): Use `load_char_attribute_maybe' if
2141 HAVE_DATABASE is defined.
2143 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2144 with DATABASE support.
2146 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2148 * chartab.c (Fput_char_attribute): Use S-expression as key of
2151 * chartab.h (get_char_id_table): Use S-expression as key of
2154 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2156 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2157 if an element is not loaded, load the corresponding attributes
2158 from an external database.
2159 (map_over_uint16_byte_table): Likewise.
2160 (map_over_byte_table): Likewise.
2161 (map_char_table): Modify for `map_over_uint8_byte_table',
2162 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2163 element is not loaded, load the corresponding attributes from an
2165 (Fput_char_attribute): Change initial values to Qunloaded.
2167 * chartab.h (get_char_id_table): If a character attribute is not
2168 loaded and the attribute value is not found in an external
2169 database, store Qunbound as the attribute value.
2171 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2173 * chartab.c (BT_UINT8_unloaded): New macro.
2174 (UINT8_VALUE_P): Accept Qunloaded.
2175 (UINT8_ENCODE): Likewise.
2176 (UINT8_DECODE): Likewise.
2177 (BT_UINT16_unloaded): New macro.
2178 (UINT16_VALUE_P): Accept Qunloaded.
2179 (UINT16_ENCODE): Likewise.
2180 (UINT16_DECODE): Likewise.
2181 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2183 (mark_char_table): Mark `ct->name' in UTF-2000.
2184 (char_table_description): Add `name' in UTF-2000.
2185 (Fmake_char_table): Initialize `ct->name'.
2186 (Fcopy_char_table): Copy `ct->name'.
2187 (Fput_char_attribute): Store value into an external database if
2188 HAVE_DATABASE is defined.
2190 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2192 (CHAR_TABLE_NAME): New macro in UTF-2000.
2193 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2194 (get_char_id_table): Try to read an external database if Qunloaded
2195 is stored in a table.
2197 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2200 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2202 * database.h: Add EXFUN definitions for Fopen_database,
2203 Fput_database, Fget_database and Fclose_database.
2205 * data.c (Qunloaded): New variable in UTF-2000.
2207 * lisp.h (Qunloaded): New variable in UTF-2000.
2209 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2211 * mule-charset.c (put_char_ccs_code_point): Modify for
2212 `decoding_table_remove_char' and `decoding_table_put_char'.
2213 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2215 * char-ucs.h (decoding_table_remove_char): Change arguments to
2216 hide decoding_table vector.
2217 (decoding_table_put_char): Likewise.
2219 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2221 * mule-charset.c (decoding_table_remove_char): Moved to
2223 (decoding_table_put_char): Likewise.
2225 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2226 from mule-charset.c].
2227 (decoding_table_remove_char): New inline function [moved from
2229 (decoding_table_put_char): Likewise.
2231 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2233 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2236 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2238 * mule-charset.c (decode_builtin_char): Support mother charsets.
2240 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2242 * mule-charset.c (Q94x94x60): New variable.
2243 (charset_code_point): Support conversion `94x94x60'.
2244 (Fmake_charset): Likewise.
2245 (syms_of_mule_charset): Add new symbol `94x94x60'.
2247 * char-ucs.h (CONVERSION_94x94x60): New macro.
2249 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2251 * mule-charset.c (charset_code_point): Unify code about
2254 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2256 * mule-charset.c (charset_code_point): Merge code about builtin
2257 characters into code about mother charsets; don't use
2258 `range_charset_code_point'.
2259 (range_charset_code_point): Deleted.
2261 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2263 * mule-charset.c (Qcode_offset): New variable.
2264 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2265 `max-code'; accept new property `code-offset'.
2266 (syms_of_mule_charset): Add new symbol `code-offset'.
2268 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2270 * mule-charset.c (range_charset_code_point): Fixed.
2272 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2274 * mule-charset.c (decode_builtin_char): Change semantics of
2275 code-offset of coded-charset.
2276 (charset_code_point): Likewise.
2277 (range_charset_code_point): Likewise.
2278 (complex_vars_of_mule_charset): Modify for the change.
2280 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2282 * mule-charset.c (Fencode_char): Reverse arguments.
2284 * mule-charset.c (charset_code_point): Fixed.
2286 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2288 * mule-charset.c (Vcharset_mojikyo): Deleted.
2289 (Vcharset_mojikyo_2022_1): Deleted.
2290 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2291 (Qmin_code): New variable in UTF-2000.
2292 (Qmax_code): Likewise.
2293 (Qmother): Likewise.
2294 (Qconversion): Likewise.
2296 (Qmojikyo): Deleted.
2297 (Qmojikyo_2022_1): Deleted.
2298 (Qmojikyo_pj_{1..22}): Deleted.
2299 (mark_charset): Mark `cs->mother'.
2300 (charset_description): Add description for `mother'.
2301 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2302 new arguments `mother' and `conversion'; use
2303 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2304 (charset_code_point): Moved from char-ucs.h; support `mother'
2306 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2307 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2308 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2309 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2310 allow 2 as the value of `graphic' in UTF-2000; add new properties
2311 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2312 require `final' in UTF-2000; modify for `make_charset'.
2313 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2314 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2315 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2316 (Fencode_char): New function.
2317 (syms_of_mule_charset): Add new builtin function `encode-char' in
2318 UTF-2000; add new symbols `min-code', `max-code', `mother',
2319 `conversion' and `94x60'; delete symbols `mojikyo',
2320 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2321 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2322 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2323 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2325 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2326 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2328 * char-ucs.h (Vcharset_mojikyo): Deleted.
2329 (Vcharset_mojikyo_2022_1): Deleted.
2330 (LEADING_BYTE_MOJIKYO): Deleted.
2331 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2332 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2333 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2334 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2335 add new member `mother'; add new member `conversion'.
2336 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2337 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2338 (CHARSET_MOTHER): New macro.
2339 (CHARSET_CONVERSION): New macro.
2340 (CONVERSION_IDENTICAL): New macro.
2341 (CONVERSION_94x60): New macro.
2342 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2343 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2344 (XCHARSET_MOTHER): New macro.
2345 (XCHARSET_CONVERSION): New macro.
2346 (MIN_CHAR_MOJIKYO): Deleted.
2347 (MAX_CHAR_MOJIKYO): Deleted.
2348 (DECODE_MOJIKYO_2022): Deleted.
2349 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2350 (charset_code_point): Changed to non-inline function.
2351 (encode_char_1): Use `charset_code_point'.
2352 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2354 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2356 * lread.c (read_compiled_function): Fix prototype.
2357 (read_vector): Likewise.
2359 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2361 * lrecord.h (struct lrecord_header): Delete `older'.
2362 (set_lheader_implementation): Delete code for `older'.
2363 (set_lheader_older_implementation): Deleted.
2364 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2365 (OLDER_RECORD_P): Deleted.
2366 (OLDER_RECORD_HEADER_P): Deleted.
2367 (alloc_older_lcrecord): Deleted.
2368 (alloc_older_lcrecord_type): Deleted.
2370 * alloc.c (all_older_lcrecords): Deleted.
2371 (alloc_older_lcrecord): Deleted.
2372 (disksave_object_finalization_1): Delete code for older objects.
2373 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2374 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2376 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2378 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2379 instead of `make_older_vector'.
2380 (put_char_ccs_code_point): Likewise.
2381 (mark_charset): Mark `cs->decoding_table'.
2382 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2384 * lisp.h (make_older_vector): Deleted.
2385 (make_vector_newer): Deleted.
2387 * config.h.in (HAVE_GGC): Deleted.
2389 * alloc.c (make_older_vector): Deleted.
2390 (make_vector_newer_1): Deleted.
2391 (make_vector_newer): Deleted.
2393 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2395 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2396 (Qideograph_daikanwa_2): New variable.
2397 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2398 (complex_vars_of_mule_charset): Add new coded-charset
2399 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2400 `LEADING_BYTE_DAIKANWA'.
2402 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2403 (LEADING_BYTE_DAIKANWA_1): New macro.
2404 (LEADING_BYTE_DAIKANWA_2): New macro.
2405 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2407 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2409 * mule-charset.c (complex_vars_of_mule_charset): Change
2410 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2411 the second revised version.
2413 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2415 * mule-charset.c (Vcharset_ucs_smp): New variable.
2416 (Vcharset_ucs_sip): New variable.
2417 (Qucs_smp): New variable.
2418 (Qucs_sip): New variable.
2419 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2420 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2421 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2422 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2423 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2424 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2426 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2427 (LEADING_BYTE_UCS_SIP): New macro.
2428 (MIN_CHAR_SMP): New macro.
2429 (MAX_CHAR_SMP): New macro.
2430 (MIN_CHAR_SIP): New macro.
2431 (MAX_CHAR_SIP): New macro.
2433 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2435 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2438 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2440 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2441 value; don't store value into `encoding_table' of `Lisp_Charset'.
2442 (mark_charset): `encoding_table' was deleted.
2443 (charset_description): Likewise.
2444 (make_charset): Likewise.
2445 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2446 `put_char_ccs_code_point'.
2448 * chartab.h (Fput_char_attribute): New EXFUN.
2450 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2451 is unified with normal symbol space.
2452 (Fget_char_attribute): Likewise.
2453 (Fput_char_attribute): Likewise; behavior of
2454 `put_char_ccs_code_point' is changed.
2456 * char-ucs.h: Include "elhash.h".
2457 (Vchar_attribute_hash_table): New external variable.
2458 (struct Lisp_Charset): Delete `encoding_table'.
2459 (CHARSET_ENCODING_TABLE): New implementation; refer
2460 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2463 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2465 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2468 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2470 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2473 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2475 * chartab.c (uint8_byte_table_description): New constant.
2476 (uint8-byte-table): Use `uint8_byte_table_description'.
2477 (uint16_byte_table_description): New constant.
2478 (uint16-byte-table): Use `uint16_byte_table_description'.
2480 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2482 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2483 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2485 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2487 * mule-charset.c (Vcharset_ucs_ks): New variable.
2488 (Qucs_ks): New variable.
2489 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2490 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2492 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2494 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2496 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2497 (Fdecode_char): Likewise.
2499 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2501 (Fdefine_char): Modify for Fdecode_char.
2502 (Ffind_char): Likewise.
2504 * mule-charset.c (Fdecode_char): Add new optional argument
2506 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2508 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2510 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2511 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2512 (allocate_coding_system): Initialize initial-charsets of
2513 CODESYS_BIG5 in XEmacs UTF-2000.
2514 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2515 CODESYS_BIG5 in XEmacs UTF-2000.
2516 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2517 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2519 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2521 (Qideograph_hanziku_{1 .. 12}): Likewise.
2522 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2524 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2525 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2526 `ideograph-hanziku-{1 .. 12}'.
2528 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2529 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2530 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2531 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2532 (DECODE_DEFINED_CHAR): New inline function.
2533 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2535 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2537 * mule-charset.c (Vcharset_china3_jef): Renamed from
2538 `Vcharset_japanese_jef_china3'.
2539 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2540 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2541 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2542 (syms_of_mule_charset): Rename `china3-jef' from
2543 `japanese-jef-china3'.
2544 (complex_vars_of_mule_charset): Likewise; rename
2545 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2547 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2548 `LEADING_BYTE_JEF_CHINA3'.
2549 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2550 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2552 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2554 * mule-charset.c (encode_builtin_char_1): Comment out special code
2555 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2557 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2558 (MAX_CHAR_MOJIKYO_0): Comment out.
2559 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2560 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2561 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2562 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2564 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2566 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2567 (Qideograph_cbeta): New variable.
2568 (encode_builtin_char_1): Comment out special code for
2569 coded-charset `mojikyo' and `japanese-jef-china3'.
2570 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2571 (complex_vars_of_mule_charset): Add new coded-charset
2574 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2575 (MIN_CHAR_CBETA): New macro.
2576 (MAX_CHAR_CBETA): New macro.
2578 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2580 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2581 (LEADING_BYTE_JEF_CHINA3): New macro.
2582 (MIN_CHAR_JEF_CHINA3): New macro.
2583 (MAX_CHAR_JEF_CHINA3): Likewise.
2584 (DECODE_CHAR): Fixed.
2586 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2588 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2589 (Qjapanese_jef_china3): New variable.
2590 (encode_builtin_char_1): Support `japanese-jef-china3'.
2591 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2592 (complex_vars_of_mule_charset): Add new coded-charset
2593 `japanese-jef-china3'.
2595 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2597 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2598 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2599 94^4, 96^3, 96^4, 128^n and 256^n set.
2600 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2601 (map_char_table): Likewise.
2603 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2605 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2608 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2610 * chartab.h (get_char_id_table): New inline function.
2612 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2615 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2617 * chartab.h (decode_char_table_range): New prototype in XEmacs
2619 (put_char_id_table): New inline function in XEmacs UTF-2000.
2621 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2623 (decode_char_table_range): Delete static declaration in XEmacs
2626 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2628 * chartab.c (put_char_id_table): Use `put_char_table'.
2630 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2633 (map_over_uint16_byte_table): Likewise.
2634 (map_over_byte_table): Likewise.
2635 (map_char_table): Modify for `map_over_uint8_byte_table',
2636 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2639 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2641 * chartab.c (struct map_char_table_for_charset_arg): New
2643 (map_char_table_for_charset_fun): New function.
2644 (map_char_table): Use `map_char_table' for encoding_table of
2647 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2649 * chartab.c (map_char_table): Check a character is found in
2650 range->charset instead of non default value is defined in
2651 char-table when range is CHARTAB_RANGE_ROW.
2653 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2655 * chartab.c (map_char_id_table): Deleted.
2656 (Fmap_char_attribute): Use `map_char_table' instead of
2657 `map_char_id_table'.
2659 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2661 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2663 (update_syntax_table): Deleted in XEmacs UTF-2000.
2665 * syntax.c (find_defun_start): Use `syntax_table' instead of
2666 `mirror_syntax_table' in XEmacs UTF-2000.
2667 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2669 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2671 (Fmatching_paren): Likewise.
2672 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2674 (find_start_of_comment): Likewise.
2675 (find_end_of_comment): Likewise.
2676 (Fforward_comment): Likewise.
2677 (scan_lists): Likewise.
2678 (char_quoted): Likewise.
2679 (Fbackward_prefix_chars): Likewise.
2680 (scan_sexps_forward): Likewise.
2681 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2682 (update_syntax_table): Likewise.
2684 * search.c (skip_chars): Use `syntax_table' instead of
2685 `mirror_syntax_table' in XEmacs UTF-2000.
2686 (wordify): Likewise.
2687 (Freplace_match): Likewise.
2689 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2690 `mirror_syntax_table' in XEmacs UTF-2000.
2691 (WORDCHAR_P_UNSAFE): Likewise.
2692 (re_match_2_internal): Likewise.
2694 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2695 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2697 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2698 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2700 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2703 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2705 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2706 (char_table_description): Delete `mirror_table' in XEmacs
2708 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2710 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2711 (Fcopy_char_table): Likewise.
2712 (put_char_table): Don't call `update_syntax_table' in XEmacs
2715 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2716 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2717 (casify_region_internal): Likewise.
2719 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2721 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2722 `mirror_syntax_table' in XEmacs UTF-2000.
2724 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2725 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2726 (Fexpand_abbrev): Likewise.
2728 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2730 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2732 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2734 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2735 (map_over_uint16_byte_table): Likewise.
2736 (map_over_byte_table): Likewise.
2737 (get_char_id_table): Refer `cit->default_value'.
2738 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2739 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2740 of character-id ranges.
2741 (mark_char_table): Mark `ct->default_value'.
2742 (char_table_description): Add `default_value'.
2743 (fill_char_table): Use `default_value'.
2744 (decode_char_table_range): Decode `nil' as
2745 `CHARTAB_RANGE_DEFAULT'.
2746 (get_char_id_table): Refer `cit->default_value'.
2747 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2748 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2749 temporary hack; check value of char-table is bound or not.
2750 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2752 * chartab.h (struct Lisp_Char_Table): Add new member
2753 `default_value' in XEmacs UTF-2000.
2754 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2755 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2758 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2760 * chartab.h (Lisp_Char_ID_Table): Deleted.
2762 * chartab.c (char_table_description): Fix typo.
2763 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2764 `Lisp_Char_ID_Table'.
2766 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2768 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2771 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2774 * chartab.h (XCHAR_ID_TABLE): Deleted.
2775 (XSETCHAR_ID_TABLE): Deleted.
2776 (CHAR_ID_TABLE_P): Deleted.
2778 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2780 (Fget_composite_char): Likewise.
2781 (put_char_table): Likewise.
2782 (add_char_attribute_alist_mapper): Fixed.
2783 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2785 (Fget_char_attribute): Likewise.
2786 (Fget_char_attribute): Likewise.
2787 (Fmap_char_attribute): Likewise.
2789 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2791 (encode_char_1): Likewise.
2793 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2795 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2798 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2799 instead of `XCHAR_ID_TABLE'.
2800 (remove_char_ccs): Likewise.
2802 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2804 (Fget_composite_char): Likewise.
2805 (Fchar_variants): Likewise.
2806 (put_char_table): Likewise.
2807 (add_char_attribute_alist_mapper): Likewise.
2808 (Fchar_attribute_alist): Likewise.
2809 (Fget_char_attribute): Likewise.
2810 (Fput_char_attribute): Likewise.
2811 (Fmap_char_attribute): Likewise.
2812 (Fmap_char_attribute): Likewise.
2814 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2816 (encode_char_1): Likewise.
2818 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2820 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2821 `Lisp_Char_ID_Table'.
2822 (mark_char_id_table): Deleted.
2823 (print_char_id_table): Likewise.
2824 (char_id_table_equal): Likewise.
2825 (char_id_table_hash): Likewise.
2826 (char_id_table_description): Likewise.
2827 (char_id_table): Likewise.
2828 (make_char_id_table): Use `Fmake_char_table' and
2830 (get_char_id_table): Use `Lisp_Char_Table' instead of
2831 `Lisp_Char_ID_Table'.
2832 (put_char_id_table): Likewise.
2833 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2835 (Fremove_char_attribute): Likewise.
2836 (syms_of_chartab): Don't define type `char-id-table'.
2838 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2839 (char_id_table): Likewise.
2840 (GC_CHAR_ID_TABLE_P): Likewise.
2841 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2842 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2843 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2844 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2845 (get_char_id_table): Use `Lisp_Char_Table' instead of
2846 `Lisp_Char_ID_Table'.
2847 (put_char_id_table_0): Likewise.
2848 (put_char_id_table): Likewise.
2850 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2852 * chartab.h: Lisp_Byte_Table related codes are moved from
2855 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2857 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2859 * chartab.h: Don't include "chartab.h".
2860 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2861 (Lisp_Char_ID_Table): Likewise.
2862 (char_id_table): Likewise.
2863 (XCHAR_ID_TABLE): Likewise.
2864 (XSETCHAR_ID_TABLE): Likewise.
2865 (CHAR_ID_TABLE_P): Likewise.
2866 (GC_CHAR_ID_TABLE_P): Likewise.
2867 (get_char_id_table): Likewise.
2869 * char-ucs.h: Include "chartab.h".
2870 (struct Lisp_Char_ID_Table): Moved to chartab.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 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2881 * chartab.c (copy_uint8_byte_table): New function.
2882 (copy_uint16_byte_table): New function.
2883 (copy_byte_table): New function.
2884 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2886 (map_over_uint16_byte_table): Likewise.
2887 (map_over_byte_table): Likewise.
2888 (get_byte_table): Move prototype to chartab.h.
2889 (put_byte_table): Likewise.
2890 (put_char_id_table_0): Moved to chartab.h.
2891 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2892 (char_table_entry_equal): Likewise.
2893 (char_table_entry_hash): Likewise.
2894 (char_table_entry_description): Likewise.
2895 (char_table_entry): Likewise.
2896 (make_char_table_entry): Likewise.
2897 (copy_char_table_entry): Likewise.
2898 (get_non_ascii_char_table_value): Likewise.
2899 (map_over_charset_ascii): Likewise.
2900 (map_over_charset_control_1): Likewise.
2901 (map_over_charset_row): Likewise.
2902 (map_over_other_charset): Likewise.
2903 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2904 (print_char_table): Likewise.
2905 (char_table_equal): Likewise.
2906 (char_table_hash): Likewise.
2907 (char_table_description): Likewise.
2908 (fill_char_table): Likewise.
2909 (Fcopy_char_table): Likewise.
2910 (get_char_table): Likewise.
2911 (Fget_range_char_table): Likewise.
2912 (put_char_table): Likewise.
2913 (map_char_table): Likewise.
2914 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2917 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2919 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2920 `Vauto_fill_chars' in XEmacs UTF-2000.
2922 * chartab.h (get_byte_table): New prototype [moved from
2924 (put_byte_table): Likewise [moved from chartab.c].
2925 (put_char_id_table_0): New inline function [moved from chartab.c].
2926 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2927 (Lisp_Char_Table_Entry): Likewise.
2928 (char_table_entry): Likewise.
2929 (XCHAR_TABLE_ENTRY): Likewise.
2930 (XSETCHAR_TABLE_ENTRY): Likewise.
2931 (CHAR_TABLE_ENTRYP): Likewise.
2932 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2933 (NUM_ASCII_CHARS): Likewise.
2934 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2935 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2937 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2939 * chartab.c (get_char_id_table): Change interface.
2940 (put_char_id_table_0): New function.
2941 (put_char_id_table): Change interface; new implementation.
2942 (Fget_composite_char): Modify for interface change of
2943 `get_char_id_table'.
2944 (Fchar_variants): Likewise.
2945 (add_char_attribute_alist_mapper): Likewise.
2946 (Fchar_attribute_alist): Likewise.
2947 (Fget_char_attribute): Likewise.
2948 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2949 as same as character as the first argument like `put-char-table';
2950 modify for interface change of `put_char_id_table'.
2951 (Fremove_char_attribute): Modify for interface change of
2952 `put_char_id_table'.
2954 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2956 * text-coding.c: Sync up with XEmacs 21.2.41.
2957 (COMPOSE_ADD_CHAR): Modify for interface change of
2958 `get_char_id_table'.
2960 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2961 change of `put_char_id_table'.
2962 (remove_char_ccs): Likewise.
2964 * chartab.h (put_char_id_table): Change interface.
2966 * char-ucs.h (get_char_id_table): Change interface.
2967 (charset_code_point): Modify for interface change of
2968 `get_char_id_table'.
2969 (encode_char_1): Likewise.
2971 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2973 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2975 (map_over_uint16_byte_table): Likewise.
2976 (map_over_byte_table): Likewise.
2977 (map_char_id_table): Add new argument `range' like
2979 (Fmap_char_attribute): Add new argument `range' like
2982 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2984 * chartab.c (map_over_uint8_byte_table): Change interface of
2985 mapping function to use struct chartab_range instead of Emchar.
2986 (map_over_uint16_byte_table): Likewise.
2987 (map_over_byte_table): Likewise.
2988 (map_char_id_table): Likewise.
2989 (struct slow_map_char_id_table_arg): Deleted.
2990 (slow_map_char_id_table_fun): Deleted.
2991 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
2992 function `slow_map_char_table_fun' instead of struct
2993 `slow_map_char_id_table_arg' and function
2994 `slow_map_char_id_table_fun'.
2996 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2998 * mule-charset.c: Move char-it-table related codes to chartab.c.
2999 (Vutf_2000_version): Moved to chartab.c.
3000 (Fdefine_char): Likewise.
3001 (Ffind_char): Likewise.
3002 (syms_of_mule_charset): Move types `uint8-byte-table',
3003 `uint16-byte-table', `byte-table' and `char-id-table' to
3004 chartab.c; move functions `char_attribute_list,
3005 `find_char_attribute_table, `char_attribute_alist,
3006 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3007 `map_char_attribute, `define_char, `find_char, `char_variants and
3008 `get_composite_char to chartab.c; move symbols `=>ucs',
3009 `->decomposition', `compat', `isolated', `initial', `medial',
3010 `final', `vertical', `noBreak', `fraction', `super', `sub',
3011 `circle', `square', `wide', `narrow', `small' and `font' to
3013 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3014 setting codes for `Vcharacter_composition_table' and
3015 `Vcharacter_variant_table' to chartab.c.
3016 (complex_vars_of_mule_charset): Move setting code for
3017 `Vchar_attribute_hash_table' to chartab.c.
3019 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3020 (make_char_id_table): New prototype.
3021 (put_char_id_table): Likewise.
3022 (Fget_char_attribute): Likewise.
3024 * chartab.c: Move char-id-table related code from mule-charset.c.
3025 (Vutf_2000_version): Moved from mule-charset.c.
3027 * char-ucs.h (Qucs): New external variable.
3028 (put_char_ccs_code_point): New prototype.
3029 (remove_char_ccs): Likewise.
3031 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3033 * mule-charset.c (Vcharset_ucs_jis): New variable.
3034 (Qucs_jis): Likewise.
3035 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3036 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3038 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3040 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3042 * mule-charset.c (map_over_uint8_byte_table): New function.
3043 (map_over_uint16_byte_table): Likewise.
3044 (map_over_byte_table): Likewise.
3045 (map_char_id_table): Likewise.
3046 (slow_map_char_id_table_fun): Likewise.
3047 (Fmap_char_attribute): Likewise.
3048 (syms_of_mule_charset): Add new function `map-char-attribute'.
3050 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3052 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3053 (syms_of_mule_charset): Add new function `find-char'.
3055 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3057 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3059 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3060 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3062 (complex_vars_of_mule_charset): Add new coded-charset
3063 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3064 `ideograph-gt-pj-*'.
3066 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3068 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3070 * mule-charset.c (encode_builtin_char_1): Purge codes about
3071 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3072 {MIN|MAX}_CHAR_HEBREW.
3073 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3074 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3076 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3077 (MAX_CHAR_GREEK): Purged.
3078 (MIN_CHAR_CYRILLIC): Purged.
3079 (MAX_CHAR_CYRILLIC): Purged.
3080 (MIN_CHAR_HEBREW): Commented out.
3081 (MAX_CHAR_HEBREW): Likewise.
3083 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3085 * mule-charset.c (Qto_ucs): New variable.
3086 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3087 (Fdefine_char): Likewise.
3088 (syms_of_mule_charset): Add new symbol `=>ucs'.
3090 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3092 * mule-charset.c (Fdecode_char): Fixed.
3094 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3096 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3097 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3100 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3102 * mule-charset.c (Vcharset_ucs_big5): New variable.
3103 (Qucs_big5): Likewise.
3104 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3105 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3107 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3109 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3111 * mule-charset.c (decode_builtin_char): Check Big5 code range
3112 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3114 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3116 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3117 (Qchinese_gb12345): Likewise.
3118 (Fdecode_builtin_char): Fixed.
3119 (syms_of_mule_charset): Add `chinese-gb12345'.
3120 (complex_vars_of_mule_charset): Add coded-charset
3123 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3124 (LEADING_BYTE_CHINESE_GB12345): New macro.
3126 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3128 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3129 and `latin-viscii-upper' for `latin-viscii'.
3131 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3133 * mule-charset.c (Fdecode_builtin_char): Comment out
3134 regularization code for ISO-IR GR representation.
3136 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3138 * mule-charset.c (decode_builtin_char): New function; renamed from
3139 `make_builtin_char'; return -1 instead of signal.
3140 (Fdecode_builtin_char): Use `decode_builtin_char'.
3142 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3143 `make_builtin_char'.
3144 (DECODE_CHAR): Use `decode_builtin_char' instead of
3145 `make_builtin_char'; use mapping table of `chinese-big5' for
3146 `chinese-big5-{1,2}'.
3148 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3150 * text-coding.c (char_encode_big5): New function.
3151 (char_finish_big5): Likewise.
3152 (reset_encoding_stream): Use `char_encode_big5' and
3153 `char_finish_big5' for CODESYS_BIG5.
3154 (mule_encode): Don't use `encode_coding_big5'.
3155 (encode_coding_big5): Deleted.
3157 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3159 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3160 0x81- in XEmacs UTF-2000.
3161 (detect_coding_big5): Likewise.
3163 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3165 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3166 generate character-id if the CCS property does not have
3167 corresponding predefined character.
3168 (make_builtin_char): Return -1 if corresponding predefined
3169 character is not found.
3170 (Fdecode_char): Return nil if corresponding character is not
3172 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3173 don't map to builtin ucs space.
3175 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3177 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3178 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3180 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3182 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3183 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3184 (Qideograph_gt): Likewise.
3185 (Qideograph_gt_pj_{1..11}): Likewise.
3186 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3187 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3188 `ideograph-gt-pj-11'.
3189 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3190 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3191 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3193 * char-ucs.h (LEADING_BYTE_GT): New macro.
3194 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3195 (MIN_CHAR_GT): Likewise.
3196 (MAX_CHAR_GT): Likewise.
3198 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3200 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3201 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3203 * doprnt.c (unsigned_int_converters): Add `c'.
3204 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3206 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3207 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3209 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3210 (MAX_CHAR_MOJIKYO_0): New macro.
3211 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3213 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3215 * mule-charset.c (Fdefine_char): Delete cemented out code.
3216 (encode_builtin_char_1): Modify for new allocation of builtin
3219 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3221 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3223 * mule-charset.c (Vcharset_ucs_cns): New variable.
3224 (Qucs_cns): New variable.
3225 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3226 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3228 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3230 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3232 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3234 * search.c (search_buffer): Make `charset_base_code' as
3235 character-id >> 6 to eliminate the corresponding last byte in
3236 UTF-8 representation [I'm not sure it is right thing].
3237 (boyer_moore): Likewise.
3239 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3241 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3242 representation in MULE.
3244 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3246 * text-coding.c (Fmake_coding_system): Use
3247 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3248 `EXTERNAL_PROPERTY_LIST_LOOP'.
3250 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3252 * text-coding.c (decode_output_utf8_partial_char): New function.
3253 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3255 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3257 * text-coding.c (decode_coding_utf8): Output original byte
3258 sequence if it is broken; change order of conditions.
3260 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3263 * mb-multibyte.h (BYTE_ASCII_P):
3264 Use bit ops for char-signedness safety.
3265 (BYTE_C0_P): Use bit ops for char-signedness safety.
3266 (BYTE_C1_P): Use bit ops for char-signedness safety.
3268 * character.h: (XCHAR_OR_CHAR_INT):
3269 Always use inline function.
3270 Remove redundant type checking assert() - XINT will abort quite
3273 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3275 * text-coding.c: (Fencode_shift_jis_char):
3276 (Fencode_big5_char):
3277 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3278 Replace 0 with '\0' when working with bytes.
3279 Replace initial "(" with "\(" in docstrings.
3281 (Fmake_coding_system):
3282 When type is ccl and value is vector, register it with a proper
3283 symbol. And checks whether the given ccl program is valid.
3284 (mule_decode): When calling ccl_driver, if src indicates
3285 NULL pointer, set an empty string instead.
3286 (mule_encode): Likewise.
3289 (detect_coding_sjis):
3290 (decode_coding_sjis):
3291 (detect_coding_big5):
3292 (decode_coding_big5):
3293 (detect_coding_ucs4):
3294 (decode_coding_ucs4):
3295 (detect_coding_utf8):
3296 (decode_coding_utf8):
3297 (detect_coding_iso2022):
3298 (decode_coding_iso2022):
3299 (decode_coding_no_conversion):
3301 Make all detecting and decoding functions take an Extbyte * arg.
3302 (text_encode_generic):
3303 (encode_coding_big5):
3304 (encode_coding_no_conversion):
3306 Make all encoding functions take a Bufbyte * arg.
3307 Use size_t instead of unsigned int for memory sizes.
3308 Only cast to unsigned char whenever dereferencing Extbyte *.
3310 (struct lrecord_description fcd_description_1): Use countof.
3311 (complex_vars_of_file_coding):
3312 Use countof instead of sizeof.
3313 Use CHECK_NATNUM instead of CHECK_INT.
3315 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3317 * mule-charset.c (Fget_char_attribute): Add new optional argument
3319 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3320 (remove_char_ccs): Likewise.
3322 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3324 * text-coding.c (char_encode_shift_jis): New implementation in
3326 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3329 * mule-charset.c (Vcharset_chinese_big5): New variable in
3331 (Qchinese_big5): New variable in UTF-2000.
3332 (BIG5_SAME_ROW): New macro in UTF-2000.
3333 (make_builtin_char): Use builtin characters of
3334 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3335 characters of `Vcharset_chinese_big5'.
3336 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3337 (complex_vars_of_mule_charset): Add new coded-charset
3338 `chinese-big5' in UTF-2000.
3340 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3341 (Vcharset_chinese_big5): New external variable declaration.
3342 (Vcharset_japanese_jisx0208_1990): Likewise.
3344 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3346 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3348 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3350 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3352 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3353 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3354 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3357 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3359 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3361 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3363 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3366 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3368 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3369 for `CHARSET_BY_ATTRIBUTES'.
3370 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3371 `CHARSET_BY_ATTRIBUTES'.
3373 * text-coding.c (struct decoding_stream): Rename member `CH' to
3375 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3376 (decode_coding_sjis): Likewise.
3377 (decode_coding_big5): Likewise.
3378 (decode_coding_ucs4): Likewise.
3379 (decode_coding_utf8): Likewise.
3380 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3381 `CHARSET_BY_ATTRIBUTES'.
3382 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3383 `str->counter'; decode 3, 4 bytes sets.
3384 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3386 (decode_coding_no_conversion): Use `str->cpos' instead of
3389 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3390 (Qmojikyo_2022_1): New variable.
3391 (make_charset): Don't use `CHARSET_TYPE_*'.
3392 (range_charset_code_point): Support coded-charset
3394 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3395 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3396 `CHARSET_BY_ATTRIBUTES'.
3397 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3398 `CHARSET_BY_ATTRIBUTES'.
3399 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3400 (complex_vars_of_mule_charset): Add new coded-charset
3403 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3404 interface; changed to inline function.
3406 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3407 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3408 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3409 (CHARSET_TYPE_94): Deleted.
3410 (CHARSET_TYPE_94X94): Deleted.
3411 (CHARSET_TYPE_96): Deleted.
3412 (CHARSET_TYPE_96X96): Deleted.
3413 (CHARSET_TYPE_128): Deleted.
3414 (CHARSET_TYPE_128X128): Deleted.
3415 (CHARSET_TYPE_256): Deleted.
3416 (CHARSET_TYPE_256X256): Deleted.
3417 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3419 (DECODE_MOJIKYO_2022): New inline function.
3420 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3421 `Vcharset_mojikyo_2022_1'.
3423 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3425 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3427 (put_byte_table): Likewise.
3428 (char_id_table_equal): Use `get_byte_table' [new implementation].
3430 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3432 * mule-charset.c: Include <limits.h> in UTF-2000.
3433 (BT_UINT8_MIN): New macro in UTF-2000.
3434 (BT_UINT8_MAX): New macro in UTF-2000.
3435 (BT_UINT8_t): New macro in UTF-2000.
3436 (BT_UINT8_nil): New macro in UTF-2000.
3437 (BT_UINT8_unbound): New macro in UTF-2000.
3438 (INT_UINT8_P): New inline function in UTF-2000.
3439 (UINT8_VALUE_P): New inline function in UTF-2000.
3440 (UINT8_ENCODE): New inline function in UTF-2000.
3441 (UINT8_DECODE): New inline function in UTF-2000.
3442 (mark_uint8_byte_table): New function in UTF-2000.
3443 (print_uint8_byte_table): New function in UTF-2000.
3444 (uint8_byte_table_equal): New function in UTF-2000.
3445 (uint8_byte_table_hash): New function in UTF-2000.
3446 (make_uint8_byte_table): New function in UTF-2000.
3447 (uint8_byte_table_same_value_p): New function in UTF-2000.
3448 (BT_UINT16_MIN): New macro in UTF-2000.
3449 (BT_UINT16_MAX): New macro in UTF-2000.
3450 (BT_UINT16_t): New macro in UTF-2000.
3451 (BT_UINT16_nil): New macro in UTF-2000.
3452 (BT_UINT16_unbound): New macro in UTF-2000.
3453 (INT_UINT16_P): New inline function in UTF-2000.
3454 (UINT16_VALUE_P): New inline function in UTF-2000.
3455 (UINT16_ENCODE): New inline function in UTF-2000.
3456 (UINT16_DECODE): New inline function in UTF-2000.
3457 (UINT8_TO_UINT16): New inline function in UTF-2000.
3458 (mark_uint16_byte_table): New function in UTF-2000.
3459 (print_uint16_byte_table): New function in UTF-2000.
3460 (uint16_byte_table_equal): New function in UTF-2000.
3461 (uint16_byte_table_hash): New function in UTF-2000.
3462 (make_uint16_byte_table): New function in UTF-2000.
3463 (uint16_byte_table_same_value_p): New function in UTF-2000.
3464 (print_byte_table): New function in UTF-2000.
3465 (byte-table): Use `print_byte_table' as printer.
3466 (make_byte_table): Delete second argument `older'.
3467 (byte_table_same_value_p): New function in UTF-2000.
3468 (copy_byte_table): Deleted.
3469 (get_byte_table): New function in UTF-2000.
3470 (put_byte_table): New function in UTF-2000.
3471 (print_char_id_table): New function in UTF-2000.
3472 (char-id-table): Use `print_char_id_table' as printer.
3473 (make_char_id_table): Delete second argument `older'.
3474 (get_char_id_table): Use `get_byte_table [new implementation].
3475 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3477 (Ffind_char_attribute_table): New function in UTF-2000.
3478 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3479 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3480 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3481 (syms_of_mule_charset): Add new function
3482 `find-char-attribute-table' in UTF-2000.
3484 * lrecord.h (enum lrecord_type): Add
3485 `lrecord_type_uint16_byte_table' and
3486 `lrecord_type_uint8_byte_table'.
3488 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3489 (Lisp_Uint8_Byte_Table): New type.
3490 (XUINT8_BYTE_TABLE): New macro.
3491 (XSETUINT8_BYTE_TABLE): New macro.
3492 (UINT8_BYTE_TABLE_P): New macro.
3493 (GC_UINT8_BYTE_TABLE_P): New macro.
3494 (struct Lisp_Uint16_Byte_Table): New structure.
3495 (Lisp_Uint16_Byte_Table): New type.
3496 (XUINT16_BYTE_TABLE): New macro.
3497 (XSETUINT16_BYTE_TABLE): New macro.
3498 (UINT16_BYTE_TABLE_P): New macro.
3499 (GC_UINT16_BYTE_TABLE_P): New macro.
3501 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3503 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3504 (Vcharacter_ideographic_strokes_table): Deleted.
3505 (Vcharacter_total_strokes_table): Deleted.
3506 (Vcharacter_morohashi_daikanwa_table): Deleted.
3507 (Vcharacter_decomposition_table): Deleted.
3508 (Qname): Deleted because it is duplicated.
3509 (Qideographic_radical): Deleted.
3510 (Qideographic_strokes): Deleted.
3511 (Qtotal_strokes): Deleted.
3512 (Qmorohashi_daikanwa): Deleted.
3513 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3514 `ideographic-radical', `ideographic-strokes', `total-strokes',
3515 `morohashi-daikanwa' and `->decomposition'.
3516 (Fget_char_attribute): Likewise.
3517 (Fput_char_attribute): Likewise; use `make-vector' instead of
3518 `make_older_vector' for `->decomposition' value.
3519 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3520 `ideograph-daikanwa'.
3521 (syms_of_mule_charset): Delete builtin symbols `name',
3522 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3523 `morohashi-daikanwa'.
3524 (vars_of_mule_charset): Don't setup
3525 `Vcharacter_ideographic_radical_table',
3526 `Vcharacter_ideographic_strokes_table',
3527 `Vcharacter_total_strokes_table',
3528 `Vcharacter_morohashi_daikanwa_table' and
3529 `Vcharacter_decomposition_table'.
3531 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3533 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3534 `make_older_vector', `make_vector_newer_1' and
3535 `make_vector_newer'.
3537 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3538 `make_older_vector' and `make_vector_newer'.
3540 * config.h.in (HAVE_GGC): New macro.
3542 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3544 * mule-charset.c (struct char_attribute_list_closure): New
3545 structure in UTF-2000.
3546 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3547 (Fchar_attribute_list): Likewise.
3548 (Fset_charset_mapping_table): Use `make_vector_newer'.
3549 (Fdecode_builtin_char): New function in UTF-2000.
3550 (syms_of_mule_charset): Add new function `char-attribute-list' and
3551 `decode-builtin-char' in UTF-2000.
3553 * lisp.h (make_vector_newer): New prototype.
3555 * alloc.c (make_vector_newer_1): New function.
3556 (make_vector_newer): New function.
3558 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3560 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3563 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3565 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3566 (Vcharacter_attribute_table): Deleted.
3567 (Vcharacter_name_table): Deleted.
3568 (put_char_attribute): Deleted.
3569 (remove_char_attribute): Deleted.
3570 (struct char_attribute_alist_closure): New structure.
3571 (add_char_attribute_alist_mapper): New function.
3572 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3573 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3574 (Fget_char_attribute): Likewise.
3575 (Fput_char_attribute): Likewise.
3576 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3577 of `remove_char_attribute'.
3578 (Fdefine_char): Return character.
3579 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3580 and `Vcharacter_name_table'.
3581 (complex_vars_of_mule_charset): Likewise
3582 `Vchar_attribute_hash_table'.
3584 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3586 * character.h (CHARC_CHARSET): New macro.
3587 (CHARC_CHARSET_ID): New macro.
3588 (CHARC_CODE_POINT): New macro.
3589 (CHARC_COLUMNS): New macro.
3590 (CHARC_TO_CHAR): New inline function.
3591 (CHARC_EQ): New inline function.
3592 (CHARC_ASCII_EQ): New inline function.
3593 (CHARC_IS_SPACE): New inline function.
3594 (ASCII_TO_CHARC): New inline function.
3596 * char-ucs.h (encode_char_2): Deleted.
3597 (ENCODE_CHAR): Use `encode_char_1' again.
3598 (breakup_char_1): Likewise.
3599 (CHAR_TO_CHARC): New inline function.
3601 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3603 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3605 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3606 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3607 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3608 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3609 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3611 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3613 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3615 (x_output_display_block): Use `CHARC_CHARSET' and
3618 * redisplay-tty.c (tty_output_display_block): Use
3620 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3622 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3624 * insdel.c (find_charsets_in_charc_string): Use
3626 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3627 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3628 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3629 (convert_charc_string_into_malloced_string): Likewise.
3631 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3633 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3634 instead of <Emchar_dynarr *> for buf; use
3635 `convert_bufbyte_string_into_charc_dynarr' instead of
3636 `convert_bufbyte_string_into_emchar_dynarr'; use
3637 `find_charsets_in_charc_string' instead of
3638 `find_charsets_in_emchar_string'.
3641 - Include "character.h".
3642 (struct rune): New member `cglyph'; delete member `chr'.
3644 * redisplay.c (redisplay_text_width_charc_string): New function;
3645 delete `redisplay_text_width_emchar_string'.
3646 (rtw_charc_dynarr): New variable; renamed from
3647 `rtw_emchar_dynarr'.
3648 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3649 `rtw_emchar_dynarr'; use
3650 `convert_bufbyte_string_into_charc_dynarr' instead of
3651 `convert_bufbyte_string_into_emchar_dynarr'; use
3652 `redisplay_text_width_charc_string' instead of
3653 `redisplay_text_width_emchar_string'.
3654 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3655 instead of `rtw_emchar_dynarr'; use
3656 `convert_bufbyte_string_into_charc_dynarr' instead of
3657 `convert_bufbyte_string_into_emchar_dynarr'.
3658 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3659 `redisplay_text_width_charc_string' instead of
3660 `redisplay_text_width_emchar_string'.
3661 (create_text_block): Modify for <struct rune> change.
3662 (generate_formatted_string_db): Likewise.
3663 (create_string_text_block): Likewise.
3664 (pixel_to_glyph_translation): Likewise.
3666 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3667 instead of <const Emchar *>.
3668 (x_text_width): Likewise.
3669 (x_output_display_block): Use <Charc_dynarr *> instead
3670 <Emchar_dynarr *>; modify for <structure rune> change.
3671 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3674 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3675 <const Emchar *>; use `charc_string_displayed_columns' instead of
3676 `emchar_string_displayed_columns'.
3677 (tty_output_display_block): Use <Charc_dynarr *> instead of
3678 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3679 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3680 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3681 `tty_output_emchar_dynarr_dynarr'.
3682 (tty_output_charc_dynarr): New function; delete
3683 `tty_output_charc_dynarr'.
3685 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3686 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3687 <Emchar_dynarr *> for buf; use
3688 `convert_bufbyte_string_into_charc_dynarr' instead of
3689 `convert_bufbyte_string_into_emchar_dynarr'.
3691 * frame.c (title_string_charc_dynarr): New variable; renamed from
3692 `title_string_emchar_dynarr'.
3693 (generate_title_string): Use `title_string_charc_dynarr' instead
3694 of `title_string_emchar_dynarr'; use
3695 `convert_charc_string_into_malloced_string' instead of
3696 `convert_emchar_string_into_malloced_string'.
3697 (init_frame): Use `title_string_charc_dynarr' instead of
3698 `title_string_emchar_dynarr'.
3701 - Include "character.h".
3702 (struct console_methods): Use <const Charc *> instead of <const
3703 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3704 <Emchar_dynarr *> in output_string_method.
3706 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3709 * console-stream.c (stream_text_width): Use <const Charc *>
3710 instead of <const Emchar *>.
3712 * character.h (Charc_dynarr): New type.
3714 * char-ucs.h (structure Charc): New structure; define new type
3717 * char-lb.h (DECODE_CHAR): New inline function.
3718 (encode_char_1): New inline function.
3719 (ENCODE_CHAR): New macro.
3720 (structure Charc): New structure; define new type `Charc'.
3722 * char-1byte.h (Vcharset_control_1): New macro.
3723 (Vcharset_latin_iso8859_1): New macro.
3724 (DECODE_CHAR): New inline function.
3725 (encode_char_1): New inline function.
3726 (ENCODE_CHAR): New macro.
3727 (structure Charc): New structure; define new type `Charc'.
3729 * insdel.c (find_charsets_in_charc_string): New function; delete
3730 `find_charsets_in_emchar_string'.
3731 (charc_string_displayed_columns): New function; delete
3732 `emchar_string_displayed_columns'.
3733 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3734 `convert_bufbyte_string_into_emchar_dynarr'.
3735 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3736 `convert_charc_string_into_bufbyte_dynarr'.
3737 (convert_charc_string_into_malloced_string): New function; delete
3738 `convert_charc_string_into_malloced_string'.
3740 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3741 `find_charsets_in_emchar_string'.
3742 (charc_string_displayed_columns): New prototype; delete
3743 `emchar_string_displayed_columns'.
3744 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3745 `convert_charc_string_into_bufbyte_dynarr'.
3746 (convert_charc_string_into_malloced_string): New prototype; delete
3747 `convert_charc_string_into_malloced_string'.
3749 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3751 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3753 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3755 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3757 * char-ucs.h: Use <short> for <Charset_ID>.
3759 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3762 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3764 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3767 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3769 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3771 (Qmorohashi_daikanwa): New variable.
3772 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3773 for `morohashi-daikanwa' attribute.
3774 (Fget_char_attribute): Likewise.
3775 (Fput_char_attribute): Likewise.
3776 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3777 has the same value of `ideograph-daikanwa'.
3778 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3779 (vars_of_mule_charset): Setup
3780 `Vcharacter_morohashi_daikanwa_table'.
3782 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3784 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3786 (add_charset_to_list_mapper): Add `key' instead of
3787 `XCHARSET_NAME (value)' to return aliases.
3789 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3791 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3793 (Vcharacter_ideographic_strokes_table): New variable.
3794 (Qideographic_radical): New variable.
3795 (Qideographic_strokes): New variable.
3796 (Fchar_attribute_alist): Use
3797 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3798 attribute; use `Vcharacter_ideographic_strokes_table' for
3799 `ideographic-strokes' attribute.
3800 (Fget_char_attribute): Likewise.
3801 (Fput_char_attribute): Likewise.
3802 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3803 `ideographic-strokes'.
3804 (vars_of_mule_charset): Setup
3805 `Vcharacter_ideographic_radical_table' and
3806 `Vcharacter_ideographic_strokes_table'.
3808 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3810 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3811 (Qtotal_strokes): New variable.
3812 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3813 `total-strokes' attribute.
3814 (Fget_char_attribute): Likewise.
3815 (Fput_char_attribute): Likewise.
3816 (syms_of_mule_charset): Add new symbol `total-strokes'.
3817 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3819 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3821 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3822 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3824 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3825 `->decomposition' attribute.
3826 (Fput_char_attribute): Likewise.
3827 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3829 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3831 * mule-charset.c (decoding_table_check_elements): New function.
3832 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3834 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3836 * mule-charset.c (Fset_charset_mapping_table): Use
3837 `put_char_ccs_code_point'.
3839 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3841 * mule-charset.c (decoding_table_put_char): New inline function.
3842 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3844 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3846 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3847 (XCHARSET_BYTE_SIZE): New macro.
3848 (decoding_table_remove_char): New inline function.
3849 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3850 `decoding_table_remove_char'.
3851 (remove_char_ccs): Use `decoding_table_remove_char'.
3852 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3854 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3856 * mule-charset.c (Vcharacter_name_table): New variable.
3857 (Qname): New variable.
3858 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3860 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3861 `Vcharacter_name_table' for `name' attribute.
3862 (Fremove_char_attribute): Use function `remove_char_ccs'.
3863 (put_char_ccs_code_point): New function.
3864 (remove_char_ccs): New function.
3865 (syms_of_mule_charset): Add new symbol `name'.
3866 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3868 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3870 * mule-charset.c (make_byte_table): Add new argument `older'.
3871 (make_char_id_table): Likewise.
3872 (copy_char_id_table): Comment out because it is not used.
3873 (put_char_id_table): Modify for `make_byte_table'.
3874 (Fput_char_attribute): Make encoding_table as older object;
3875 inherit older bit of `Vcharacter_composition_table'.
3876 (mark_charset): Don't mark `cs->encoding_table'.
3877 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3878 normal object; make `Vcharacter_composition_table' as an older
3879 object; delete staticpro for `Vcharacter_composition_table'; make
3880 `Vcharacter_variant_table' as a normal object.
3882 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3883 (mark_object): Don't check older object in UTF-2000.
3885 * lrecord.h (struct lrecord_header): Add new member `older' in
3887 (set_lheader_implementation): Setup `SLI_header->older' in
3889 (set_lheader_older_implementation): New macro in UTF-2000.
3890 (OLDER_RECORD_P): New macro in UTF-2000.
3891 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3892 (alloc_older_lcrecord): New prototype in UTF-2000.
3893 (alloc_older_lcrecord_type): New macro in UTF-2000.
3895 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3897 * mule-charset.c (byte_table_description): Use
3898 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3899 (char_id_table_description): Delete bogus `, 1'.
3900 (Fget_char_attribute): Refer encoding_table of each coded-charset
3901 to get value of coded-charset attribute of a character.
3902 (Fput_char_attribute): Use `make_older_vector' instead of
3903 `make_vector'; use encoding_table of each coded-charset to store
3904 value of coded-charset attribute of a character.
3905 (Fremove_char_attribute): Use encoding_table of each coded-charset
3906 to store value of coded-charset attribute of a character.
3907 (mark_charset): Mark `cs->encoding_table'; don't mark
3908 `cs->decoding_table'.
3909 (charset_description): Add description of new member
3911 (make_charset): Initialize `encoding_table'.
3913 * char-ucs.h (struct Lisp_Charset): Add new member
3915 (CHARSET_ENCODING_TABLE): New macro.
3916 (XCHARSET_ENCODING_TABLE): New macro.
3917 (charset_code_point): New implementation.
3918 (encode_char_1): Likewise.
3920 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3921 (disksave_object_finalization_1): Call finalizers of
3922 `all_older_lcrecords' in UTF-2000.
3923 (make_older_vector): New function in UTF-2000.
3924 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3927 * lisp.h (make_older_vector): New prototype in UTF-2000.
3929 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3931 * lrecord.h (enum lrecord_type): Rename
3932 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3934 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3935 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3936 `get_char_code_table'.
3938 * mule-charset.c (mark_char_id_table): Renamed from
3939 `mark_char_code_table'.
3940 (char_id_table_equal): Renamed from `char_code_table_equal'.
3941 (char_id_table_hash): Renamed from `char_code_table_hash'.
3942 (make_char_id_table): Renamed from `make_char_code_table'.
3943 (copy_char_id_table): Renamed from `copy_char_code_table'.
3944 (get_char_id_table): Renamed from `get_char_code_table'.
3945 (put_char_id_table): Renamed from `put_char_code_table'.
3946 (to_char_id): Renamed from `to_char_code'.
3948 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3949 `Lisp_Char_Code_Table'.
3950 (char_id_table): Renamed from `char_code_table'.
3951 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3952 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3953 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3954 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3955 (get_char_id_table): Renamed from `get_char_code_table'.
3957 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3959 * lrecord.h (enum lrecord_type): Rename
3960 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3962 * mule-charset.c (mark_byte_table): Renamed from
3963 `mark_char_byte_table'.
3964 (byte_table_equal): Renamed from `char_byte_table_equal'.
3965 (byte_table_hash): Renamed from `byte_table_hash'.
3966 (make_byte_table): Renamed from `make_byte_table'.
3967 (copy_byte_table): Renamed from `copy_char_byte_table'.
3969 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3970 `Lisp_Char_Byte_Table'.
3971 (byte_table): Renamed from `char_byte_table'.
3972 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3973 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3974 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3975 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3977 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3979 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3980 (dfc_convert_to_internal_format): Likewise.
3982 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3983 * text-coding.c (Fcoding_system_alias_p): New function.
3984 * text-coding.c (Fcoding_system_aliasee): New function.
3985 * text-coding.c (append_suffix_to_symbol): New function.
3986 * text-coding.c (dangling_coding_system_alias_p): New function.
3987 * text-coding.c (Ffind_coding_system):
3988 * text-coding.c (Fcopy_coding_system):
3989 * text-coding.c (encode_coding_no_conversion):
3990 * text-coding.c (syms_of_file_coding):
3991 * text-coding.c (vars_of_file_coding):
3992 Rewrite coding system alias code.
3993 Allow nested aliases, like symbolic links.
3994 Allow redefinition of coding system aliases.
3995 Prevent existence of dangling coding system aliases.
3996 Eliminate convert_to_external_format.
3997 Eliminate convert_to_internal_format.
3999 * text-coding.c: Change enum eol_type to eol_type_t.
4001 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4003 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4004 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4006 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4007 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4009 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4011 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4012 `ideograph-daikanwa'.
4014 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4015 (Vcharset_ucs_bmp): Likewise.
4016 (Vcharset_mojikyo): Add new extern variable definition.
4017 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4018 (Vcharset_latin_iso8859_3): Likewise.
4019 (Vcharset_latin_iso8859_4): Likewise.
4020 (Vcharset_latin_iso8859_9): Likewise.
4021 (Vcharset_latin_viscii_lower): Likewise.
4022 (Vcharset_latin_viscii_upper): Likewise.
4023 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4024 `mojikyo' code-point is used to decode.
4025 (encode_char_2): New function [to convert `mojikyo' code-point to
4026 Mojikyo font encoding].
4027 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4028 (breakup_char_1): Likewise.
4029 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4031 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4033 * text-coding.c (Fmake_coding_system): Add document about
4034 `disable-composition' property.
4036 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4038 * text-coding.c (Qdisable_composition): New variable; delete
4040 (Fmake_coding_system): Add new property `disable-composite';
4041 delete property `composite'.
4042 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4043 instead of `!CODING_SYSTEM_COMPOSITE'.
4044 (syms_of_file_coding): Add new symbol `disable-composition';
4045 delete symbol `composite'.
4047 * file-coding.h (struct Lisp_Coding_System): Add
4048 `disable_composition'; delete `enable_composition'.
4049 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4050 `CODING_SYSTEM_COMPOSITE'.
4051 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4052 `XCODING_SYSTEM_COMPOSITE'.
4054 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4056 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4059 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4061 * text-coding.c (Qcomposite): New variable.
4062 (Fmake_coding_system): Add new property `composite'.
4063 (struct decoding_stream): Add `combined_char_count',
4064 `combined_chars' and `combining_table' in UTF-2000.
4065 (COMPOSE_FLUSH_CHARS): New macro.
4066 (COMPOSE_ADD_CHAR): New macro.
4067 (reset_decoding_stream): Reset `str->combined_char_count' and
4068 `str->combining_table' in UTF-2000.
4069 (decode_coding_iso2022): Modify for character-decomposition.
4070 (syms_of_file_coding): Add new symbol `composite'.
4072 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4074 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4075 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4076 of `Vcharacter_composition_table' if `->decomposition' property
4078 (Qlatin_tcvn5712): New variable.
4079 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4080 (complex_vars_of_mule_charset): Add new coded-charset
4083 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4085 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4087 * file-coding.h (struct Lisp_Coding_System): Add
4088 `enable_composition'.
4089 (CODING_SYSTEM_COMPOSITE): New macro.
4090 (XCODING_SYSTEM_COMPOSITE): New macro.
4092 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4094 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4096 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4098 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4099 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4101 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4103 * mule-charset.c (Vcharset_mojikyo): New variable.
4104 (Fdefine_char): Don't use coded-charset which does not have
4105 non-builtin character range to allocate character-id.
4106 (Qmojikyo): New variable.
4107 (syms_of_mule_charset): Add new symbol `mojikyo'.
4108 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4110 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4111 (LEADING_BYTE_MOJIKYO): New macro.
4112 (MIN_CHAR_MOJIKYO): New macro.
4113 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4114 (MAX_CHAR_MOJIKYO): New macro.
4116 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4118 * mule-charset.c (remove_char_attribute): Fixed.
4120 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4122 * mule-charset.c (remove_char_attribute): New function.
4123 (Fremove_char_attribute): New function.
4124 (encode_builtin_char_1): Comment out builtin-support for
4125 greek-iso8859-7 and cyrillic-iso8859-5.
4126 (Fdecode_char): Check `code' is an integer.
4127 (syms_of_mule_charset): Add `remove-char-attribute'.
4128 (MIN_CHAR_GREEK): Deleted.
4129 (MAX_CHAR_GREEK): Likewise.
4130 (MIN_CHAR_CYRILLIC): Likewise.
4131 (MAX_CHAR_CYRILLIC): Likewise.
4132 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4133 MAX_CHAR_GREEK for `greek-iso8859-7'.
4135 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4136 (MAX_CHAR_GREEK): Likewise.
4137 (MIN_CHAR_CYRILLIC): Likewise.
4138 (MAX_CHAR_CYRILLIC): Likewise.
4140 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4142 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4143 format is used without `ucs' property.
4144 (Fdecode_char): Fix problem with GR representation.
4145 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4146 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4148 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4150 * mule-charset.c (make_builtin_char): New function.
4151 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4152 (Fset_charset_mapping_table): Modify for new representation of
4154 (Fdecode_char): New function.
4155 (syms_of_mule_charset): Add new builtin function `decode-char' in
4158 * char-ucs.h (make_builtin_char): New prototype.
4159 (DECODE_CHAR): New inline function.
4160 (MAKE_CHAR): Use `DECODE_CHAR'.
4162 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4164 * text-coding.c (parse_charset_conversion_specs): Use
4165 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4167 (iso2022_designate): Likewise.
4169 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4170 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4172 * mule-charset.c (Vcharset_ucs): New variable.
4173 (print_charset): Change design; use `CHARSET_CHARS' and
4174 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4175 (make_charset): Change signature to specify `chars' and
4176 `dimension' instead of `type'.
4177 (range_charset_code_point): Modify for 256^n-set.
4178 (encode_builtin_char_1): Encode as `ucs' in default.
4179 (Fmake_charset): Modify for `make_charset'.
4180 (Fmake_reverse_direction_charset): Likewise.
4181 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4183 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4186 * char-ucs.h (Vcharset_ucs): New variable.
4187 (LEADING_BYTE_UCS): New macro.
4188 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4189 and `chars' to `unsigned short' from `unsigned int'.
4190 (CHARSET_TYPE): Deleted.
4191 (XCHARSET_TYPE): Deleted.
4193 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4195 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4197 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4198 (ENCODE_CHAR): New macro.
4200 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4202 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4203 to 0.14 (Kawachi-Katakami).
4205 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4207 * text-coding.c (char_encode_shift_jis): Modify for
4208 `charset_code_point'.
4209 (char_encode_iso2022): Likewise.
4211 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4212 (integer) instead of list of <Lisp_Object>s (integers) as the
4213 format of code-point of a coded-charset.
4214 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4215 (encode_builtin_char_1): New function; delete
4216 `split_builtin_char'.
4217 (charset_code_point): Return <int> instead of <Lisp_Object>.
4218 (Fsplit_char): Don't use `SPLIT_CHAR'.
4220 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4221 prototype for `split_builtin_char'.
4222 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4223 (charset_code_point): Likewise.
4224 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4225 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4227 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4229 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4230 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4232 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4234 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4236 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4237 (MAX_CHAR_OBS_94x94): Deleted.
4239 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4241 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4243 * char-ucs.h (MAX_CHAR_BMP): New macro.
4245 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4247 * text-coding.c: Sync with r21-2-24.
4249 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4251 * file-coding.c: Modify for UTF-2000.
4253 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4255 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4258 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4260 * mule-charset.c (split_builtin_char): Delete builtin support for
4261 `katakana-jisx0201'.
4262 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4263 BMP area in builtin representation.
4265 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4266 `Vcharset_katakana_jisx0201'.
4268 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4270 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4271 (Qisolated): New variable.
4272 (Qinitial): New variable.
4273 (Qmedial): New variable.
4274 (Qfinal): New variable.
4275 (Qvertical): New variable.
4276 (Qsmall): New variable.
4277 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4278 `Qvertical' and `Qsmall'.
4279 (Qmojikyo_pj_[1 .. 21]): New variable.
4280 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4281 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4282 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4285 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4287 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4288 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4289 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4291 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4293 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4294 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4296 (Qjapanese_jisx0208_1990): New variable.
4297 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4298 (complex_vars_of_mule_charset): Add new coded-charset
4299 `japanese-jisx0208-1990'.
4301 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4302 (MIN_CHAR_JIS_X0208_1990): New macro.
4303 (MAX_CHAR_JIS_X0208_1990): New macro.
4305 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4307 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4308 coded-charset is not found.
4310 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4312 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4313 (Fdefine_char): Use `Fmake_char'.
4315 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4317 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4318 (Vcharset_hiragana_jisx0208): Deleted.
4319 (Vcharset_katakana_jisx0208): Deleted.
4320 (Qideograph_daikanwa): New variable.
4321 (Qhiragana_jisx0208): Deleted.
4322 (Qkatakana_jisx0208): Deleted.
4323 (split_builtin_char): Split `ideograph-daikanwa'.
4324 (Fsplit_char): New implementation for UTF-2000.
4325 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4326 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4327 (complex_vars_of_mule_charset): Add new coded-charset
4328 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4329 `katakana-jisx0208'.
4331 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4332 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4333 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4334 (MIN_CHAR_DAIKANWA): New macro.
4335 (MAX_CHAR_DAIKANWA): New macro.
4337 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4339 * data.c (Fstring_to_number): Don't recognize floating point if
4342 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4344 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4346 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4348 * mule-charset.c (Qsquare): New variable.
4349 (to_char_code): Add `Qsquare'.
4350 (syms_of_mule_charset): Add new symbol `square'.
4352 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4354 * mule-charset.c (Qcircle): New variable.
4355 (to_char_code): Add `Qcircle'.
4356 (syms_of_mule_charset): Add new symbol `circle'.
4358 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4360 * mule-charset.c (Qfont): New variable.
4361 (to_char_code): Add `Qfont'.
4362 (syms_of_mule_charset): Add new symbol `font'.
4364 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4366 * mule-charset.c (Qsub): New variable.
4367 (to_char_code): Add `Qsub'.
4368 (syms_of_mule_charset): Add new symbol `sub'.
4370 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4372 * mule-charset.c (Fput_char_attribute): Convert each element of
4373 VALUE to GL position if ATTRIBUTE is a GR-set,
4375 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4377 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4378 coded-charset is a GR-set.
4380 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4382 * mule-charset.c (Fput_char_attribute): Check each element of
4383 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4385 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4387 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4389 (Qethiopic_ucs): New variable in UTF-2000.
4390 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4391 (complex_vars_of_mule_charset): Add new coded-charset
4392 `ethiopic-ucs' in UTF-2000.
4394 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4395 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4397 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4399 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4401 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4403 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4406 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4408 * mule-charset.c (Vcharacter_variant_table): New variable.
4409 (Q_ucs): New variable.
4410 (Fchar_variants): New function.
4411 (Fput_char_attribute): Register `->ucs' value to
4412 `Vcharacter_variant_table'.
4413 (syms_of_mule_charset): Add new function `char-variants' and new
4415 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4417 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4419 * mule-charset.c (get_char_code_table): Allow negative character
4421 (put_char_code_table): Likewise.
4422 (Vcharacter_composition_table): New variable.
4423 (Q_decomposition): New variable.
4424 (Qwide): New variable.
4425 (Qnarrow): New variable.
4426 (Qcompat): New variable.
4427 (QnoBreak): New variable.
4428 (Qsuper): New variable.
4429 (Qfraction): New variable.
4430 (to_char_code): New function.
4431 (Fget_composite_char): New function.
4432 (Fput_char_attribute): Register `->decomposition' value to
4433 `Vcharacter_composition_table'.
4434 (syms_of_mule_charset): Add new function `get-composite-char', new
4435 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4436 `super' and `fraction'.
4437 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4439 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4441 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4442 character; copy the return value.
4444 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4446 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4448 * mule-charset.c (range_charset_code_point): Must use make_int.
4449 (split_builtin_char): New function.
4451 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4453 * mule-charset.c (char_byte_table): Change name from
4454 "char-code-table" to "char-byte-table".
4455 (mark_char_code_table): New function.
4456 (char_code_table_equal): New function.
4457 (char_code_table_hash): New function.
4458 (char_code_table_description): New constant.
4459 (char_code_table): New type.
4460 (make_char_code_table): New function.
4461 (copy_char_code_table): New function.
4462 (get_char_code_table): Modify for `char_code_table' type.
4463 (put_char_code_table): Likewise.
4464 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4467 * char-ucs.h (char_code_table): New type.
4468 (XCHAR_CODE_TABLE): New macro.
4469 (XSETCHAR_CODE_TABLE): New macro.
4470 (CHAR_CODE_TABLE_P): New macro.
4471 (GC_CHAR_CODE_TABLE_P): New macro.
4472 (struct Lisp_Char_Code_Table): New structure.
4474 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4476 * mule-charset.c (Fmake_charset): Setup byte_offset for
4479 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4481 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4484 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4486 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4489 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4491 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4492 charset, it is regarded as a charset.
4493 (put_char_attribute): New function in UTF-2000.
4494 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4495 charset, mapping-table of the charset is modified.
4496 (Fdefine_char): New function in UTF-2000.
4497 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4498 `Fput_char_attribute'.
4499 (syms_of_mule_charset): Add new function `define-char' and new
4500 symbol `ucs' in UTF-2000.
4501 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4503 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4505 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4506 non-UTF-2000 configuration.
4508 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4510 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4511 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4513 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4515 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4516 (Fset_charset_mapping_table): Likewise.
4518 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4519 (CHARSET_ENCODING_TABLE): Delete.
4520 (XCHARSET_ENCODING_TABLE): Delete.
4521 (charset_code_point): New interface.
4523 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4525 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4526 instead of `charset_get_byte1' and `charset_get_byte2'.
4528 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4529 (charset_get_byte2): Deleted.
4531 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4533 * char-ucs.h (SPLIT_CHAR): New inline function.
4534 (breakup_char_1): Use `SPLIT_CHAR'.
4536 * mule-charset.c (range_charset_code_point): New function.
4537 (charset_code_point): New function.
4539 * char-ucs.h (range_charset_code_point): New interface.
4540 (breakup_char_1): Use `range_charset_code_point'.
4542 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4544 * mule-charset.c (Fmake_charset): Delete unused local variable
4547 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4548 (breakup_char_1): Find a charset and code-point in
4549 `Vcharacter_attribute_table'.
4551 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4553 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4556 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4558 * mule-charset.c (Vcharacter_attribute_table): New variable.
4559 (Fchar_attribute_alist): New function.
4560 (Fget_char_attribute): New function.
4561 (Fput_char_attribute): New function.
4562 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4564 (syms_of_mule_charset): Add new function `char-attribute-alist',
4565 `get-char-attribute' and `put-char-attribute'.
4566 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4568 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4570 * mule-charset.c (Fmake_charset): Just use
4571 `get_unallocated_leading_byte'.
4573 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4574 sets; don't use final-byte based number for private sets.
4576 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4578 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4581 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4583 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4586 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4588 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4589 of `CHAR_LEADING_BYTE' in UTF-2000.
4591 * insdel.c (find_charsets_in_bufbyte_string): Use
4592 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4593 (find_charsets_in_emchar_string): Likewise.
4595 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4596 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4598 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4599 (CHAR_CHARSET_ID): New macro.
4601 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4603 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4604 charset-id - MIN_LEADING_BYTE.
4605 (put_char_table): Likewise.
4607 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4609 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4610 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4611 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4612 (CHARSET_ID_OFFSET): New macro.
4613 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4614 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4615 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4616 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4618 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4620 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4621 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4622 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4623 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4624 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4626 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4628 * mule-charset.c (next_allocated_leading_byte): New variable in
4630 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4631 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4632 (get_unallocated_leading_byte): Simply use
4633 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4634 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4637 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4638 (MAX_LEADING_BYTE_PRIVATE): New macro.
4639 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4640 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4642 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4644 * mule-charset.c (Fmake_charset): Allocate final-byte based
4645 charset-id for 94-set, 96-set and 94x94-set.
4647 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4649 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4651 (Fmake_charset): Likewise.
4652 (complex_vars_of_mule_charset): Modify the font registry of
4653 `ucs-bmp' not to match `Ethiopic-Unicode'.
4655 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4657 * mule-charset.c (complex_vars_of_mule_charset): Add font
4658 registory of `ucs-bmp'.
4660 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4662 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4663 coded-charsets in `default-coded-charset-priority-list' when
4664 breaking up a character.
4666 * mule-charset.c (Vcharset_latin_viscii): New variable.
4667 (Qlatin_viscii): New variable.
4668 (make_charset): Don't use `decoding_table'.
4669 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4671 (Fset_charset_mapping_table): New implementation.
4672 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4673 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4674 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4675 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4676 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4677 charset `latin_viscii'.
4679 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4680 (CHARSET_TYPE_94X94): Change to 1 from 2.
4681 (CHARSET_TYPE_96): Change to 2 from 1.
4682 (CHARSET_TYPE_128): New macro.
4683 (CHARSET_TYPE_128X128): Change to 5 from 4.
4684 (CHARSET_TYPE_256): New macro.
4685 (CHARSET_TYPE_256X256): Change to 7 from 5.
4686 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4688 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4690 * text-coding.c (char_encode_shift_jis): Refer
4691 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4692 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4694 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4695 (char_byte_table_equal): New function in UTF-2000.
4696 (char_byte_table_hash): New function in UTF-2000.
4697 (char_byte_table_description): New constant in UTF-2000.
4698 (char_byte_table): New type in UTF-2000.
4699 (make_char_byte_table): New function in UTF-2000.
4700 (copy_char_byte_table): New function in UTF-2000.
4701 (make_char_code_table): New macro in UTF-2000.
4702 (get_char_code_table): New function in UTF-2000.
4703 (put_char_code_table): New function in UTF-2000.
4704 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4705 (charset_description): Add setting in UTF-2000.
4706 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4707 `CHARSET_TO_BYTE1_TABLE(cs)'.
4708 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4709 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4710 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4711 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4712 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4713 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4714 `CHARSET_TO_BYTE2_TABLE(cs)'.
4716 * char-ucs.h (char_byte_table): New type.
4717 (XCHAR_BYTE_TABLE): New macro.
4718 (XSETCHAR_BYTE_TABLE): New macro.
4719 (CHAR_BYTE_TABLE_P): New macro.
4720 (GC_CHAR_BYTE_TABLE_P): New macro.
4721 (struct Lisp_Char_Byte_Table): New structure.
4722 (get_char_code_table): New interface.
4723 (Emchar_to_byte_table): Deleted.
4724 (get_byte_from_character_table): Deleted.
4725 (struct Lisp_Charset): Add `encoding_table'; delete
4726 `to_byte1_table' and `to_byte2_table'.
4727 (CHARSET_ENCODING_TABLE): New macro.
4728 (CHARSET_TO_BYTE1_TABLE): Deleted.
4729 (CHARSET_TO_BYTE2_TABLE): Deleted.
4730 (XCHARSET_ENCODING_TABLE): New macro.
4731 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4732 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4734 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4736 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4737 `vietnamese-viscii-*'.
4739 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4741 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4742 (Qvietnamese_viscii_upper): New variable.
4743 (Fdefine_charset_alias): New function.
4744 (syms_of_mule_charset): Add new function `define-charset-alias'.
4745 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4746 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4749 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4751 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4752 (MAX_CHAR_OBS_94x94): New macro.
4753 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4756 * mule-charset.c (put_byte_from_character_table): Change unit size
4758 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4760 (Fmake_reverse_direction_charset): Modify dummy argument of
4761 `make_charset' for non-UTF-2000 environment.
4763 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4765 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4767 * mule-charset.c (destroy_byte_from_character_table): New macro.
4768 (latin_jisx0201_to_ucs): Deleted.
4769 (latin_iso8859_2_to_ucs): Deleted.
4770 (latin_iso8859_3_to_ucs): Deleted.
4771 (latin_iso8859_4_to_ucs): Deleted.
4772 (latin_iso8859_9_to_ucs): Deleted.
4773 (latin_viscii_lower_to_ucs): Deleted.
4774 (latin_viscii_upper_to_ucs): Deleted.
4775 (mark_charset): Mark `cs->decoding_table'.
4776 (Fcharset_mapping_table): Fix DOC-string.
4777 (Fset_charset_mapping_table): New function.
4778 (syms_of_mule_charset): Add nwe function
4779 `set-charset-mapping-table'.
4780 (complex_vars_of_mule_charset): Don't setup and use
4783 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4785 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4788 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4790 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4791 (Vcharset_katakana_jisx0208): New variable.
4792 (Qhiragana_jisx0208): New variable.
4793 (Qkatakana_jisx0208): New variable.
4794 (make_charset): Add new argument `byte_offset'.
4795 (charset_get_byte1): Modify for new coded-charset definition; use
4796 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4797 `XCHARSET_BYTE_OFFSET'.
4798 (Fmake_charset): Modify for `make_charset'.
4799 (Fmake_reverse_direction_charset): Likewise.
4800 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4801 `katakana-jisx0208'.
4802 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4803 `.' in font registry of charset `katakana-jisx0201',
4804 `latin-jisx0201', `vietnamese-viscii-lower' and
4805 `vietnamese-viscii-upper'; modify DOC-string of charset
4806 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4807 registry of charset `japanese-jisx0208' not to use font for JIS
4808 X0208:1990; add new charset `hiragana-jisx0208' and
4809 `katakana-jisx0208'.
4811 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4812 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4813 (struct Lisp_Charset): Add `byte_offset'.
4814 (CHARSET_BYTE_OFFSET): New macro.
4815 (XCHARSET_UCS_MIN): New macro.
4816 (XCHARSET_UCS_MAX): New macro.
4817 (XCHARSET_CODE_OFFSET): New macro.
4818 (XCHARSET_BYTE_OFFSET): New macro.
4819 (MIN_CHAR_HIRAGANA): New macro.
4820 (MAX_CHAR_HIRAGANA): New macro.
4821 (MIN_CHAR_KATAKANA): New macro.
4822 (MAX_CHAR_KATAKANA): New macro.
4823 (MAKE_CHAR): Modify for new coded-charset definition; use
4824 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4825 `XCHARSET_BYTE_OFFSET'.
4827 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4829 * mule-charset.c (CHAR96): Deleted.
4830 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4832 (latin_iso8859_2_to_ucs): Likewise.
4833 (latin_iso8859_3_to_ucs): Likewise.
4834 (latin_iso8859_4_to_ucs): Likewise.
4835 (latin_iso8859_9_to_ucs): Likewise.
4836 (latin_viscii_lower_to_ucs): Likewise.
4837 (latin_viscii_upper_to_ucs): Likewise.
4838 (latin_tcvn5712_to_ucs): Commented out.
4839 (make_charset): Change type of argument `decoding_table' from
4840 <Emchar*> to <Lisp_Object> [vector of characters].
4841 (Fmake_charset): Modify for `make_charset'.
4842 (Fmake_reverse_direction_charset): Likewise.
4843 (Fcharset_mapping_table): New function in UTF-2000.
4844 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4846 (complex_vars_of_mule_charset): Modify for type change of
4847 `*_to_ucs'; modify for `make_charset'.
4849 * char-ucs.h (struct Lisp_Charset): Change type of
4850 `decoding_table' from <Emchar*> to <Lisp_Object>.
4851 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4853 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4855 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4856 error with non-UTF-2000-Mule.
4858 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4860 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4862 (Vcharset_chinese_cns11643_4): Likewise.
4863 (Vcharset_chinese_cns11643_5): Likewise.
4864 (Vcharset_chinese_cns11643_6): Likewise.
4865 (Vcharset_chinese_cns11643_7): Likewise.
4866 (Qchinese_cns11643_3): Likewise.
4867 (Qchinese_cns11643_4): Likewise.
4868 (Qchinese_cns11643_5): Likewise.
4869 (Qchinese_cns11643_6): Likewise.
4870 (Qchinese_cns11643_7): Likewise.
4871 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4872 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4873 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4874 (complex_vars_of_mule_charset): Likewise.
4876 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4878 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4880 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4881 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4883 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4885 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4887 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4888 (breakup_char_1): Likewise.
4890 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4891 one of them includes the specified character.
4893 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4895 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4897 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4899 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4901 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4903 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4904 definition for non-UTF-2000 Mule.
4905 (latin_iso8859_3_to_ucs): Likewise.
4906 (latin_iso8859_4_to_ucs): Likewise.
4907 (latin_iso8859_9_to_ucs): Likewise.
4908 (latin_jisx0201_to_ucs): Likewise.
4909 (MIN_CHAR_THAI): Likewise.
4910 (MAX_CHAR_THAI): Likewise.
4911 (MIN_CHAR_GREEK): Likewise.
4912 (MAX_CHAR_GREEK): Likewise.
4913 (MIN_CHAR_HEBREW): Likewise.
4914 (MAX_CHAR_HEBREW): Likewise.
4915 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4916 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4917 (MIN_CHAR_CYRILLIC): Likewise.
4918 (MAX_CHAR_CYRILLIC): Likewise.
4920 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4922 * char-ucs.h (breakup_char_1): Use
4923 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4924 thai-tis620 and katakana-jisx0201 area.
4926 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4928 * char-ucs.h (breakup_char_1): Use
4929 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4932 * text-coding.c (reset_encoding_stream): Fixed.
4933 (char_encode_ucs4): Delete `& 255'.
4935 * char-ucs.h (breakup_char_1): Use
4936 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4938 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4940 * file-coding.c (Fmake_coding_system): Don't set up
4941 `codesys->fixed.size'.
4942 (encode_coding_no_conversion): Don't refer
4943 `str->codesys->fixed.size'.
4945 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4947 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4948 (latin_a_char_to_byte1): Deleted.
4949 (latin_a_char_to_byte2): Deleted.
4951 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4953 * mule-charset.c (make_charset): Add new argument `ucs_min',
4954 `ucs_max' and `code_offset'.
4955 (charset_get_byte1): New implementation [delete specific charset
4956 depended implementations].
4957 (Fmake_charset): Modify for `make_charset'.
4958 (Fmake_reverse_direction_charset): Likewise.
4959 (complex_vars_of_mule_charset): Likewise.
4961 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4963 (CHARSET_UCS_MIN): New macro.
4964 (CHARSET_UCS_MAX): New macro.
4965 (CHARSET_CODE_OFFSET): New macro.
4966 (MAKE_CHAR): Delete charset depended definitions [except
4969 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4971 * char-ucs.h (breakup_char_1): Use
4972 `Vdefault_coded_charset_priority_list' for C0-Controls,
4973 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4975 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4977 * char-ucs.h (charset_get_byte1): New function.
4978 (XCHARSET_GET_BYTE1): Deleted.
4979 (charset_get_byte2): New function.
4980 (XCHARSET_GET_BYTE2): Deleted.
4981 (Vdefault_coded_charset_priority_list): New external variable.
4982 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4983 `Vdefault_preferred_coded_charset_list'.
4985 * mule-charset.c (charset_get_byte1): New function.
4986 (charset_get_byte2): New function.
4987 (Vdefault_coded_charset_priority_list): New variable.
4988 (vars_of_mule_charset): Add new variable
4989 `default-coded-charset-priority-list'.
4991 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4993 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
4994 (XCHARSET_GET_BYTE2): New inline function.
4995 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
4996 `XCHARSET_GET_BYTE2'.
4998 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5000 * mule-charset.c (make_charset): Initialize
5001 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5002 NULL if table is not defined.
5004 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5006 * text-coding.c (char_encode_shift_jis): Use
5007 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5008 `ucs_to_latin_jisx0201'.
5010 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5011 (ucs_to_latin_iso8859_2): Deleted.
5012 (ucs_to_latin_iso8859_3): Deleted.
5013 (ucs_to_latin_iso8859_4): Deleted.
5014 (ucs_to_latin_iso8859_9): Deleted.
5015 (ucs_to_latin_viscii_lower): Deleted.
5016 (ucs_to_latin_viscii_upper): Deleted.
5017 (ucs_to_latin_tcvn5712): Deleted.
5018 (make_charset): Add new argument `decoding_table'; set up
5019 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5020 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5021 `decoding_table' is defined in UTF-2000.
5022 (Fmake_charset): Modify for `make_charset'.
5023 (Fmake_reverse_direction_charset): Likewise.
5024 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5025 and `GENERATE_96_SET'.
5027 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5028 (ucs_to_latin_jisx0201): Deleted.
5029 (latin_iso8859_2_to_ucs): Deleted.
5030 (ucs_to_latin_iso8859_2): Deleted.
5031 (latin_iso8859_3_to_ucs): Deleted.
5032 (ucs_to_latin_iso8859_3): Deleted.
5033 (latin_iso8859_4_to_ucs): Deleted.
5034 (ucs_to_latin_iso8859_4): Deleted.
5035 (latin_iso8859_9_to_ucs): Deleted.
5036 (ucs_to_latin_iso8859_9): Deleted.
5037 (latin_viscii_lower_to_ucs): Deleted.
5038 (ucs_to_latin_viscii_lower): Deleted.
5039 (latin_viscii_upper_to_ucs): Deleted.
5040 (ucs_to_latin_viscii_upper): Deleted.
5041 (struct Lisp_Charset): Renamed `encoding_table' to
5042 `to_byte1_table'; add `to_byte2_table'.
5043 (CHARSET_DECODING_TABLE): New macro.
5044 (CHARSET_TO_BYTE1_TABLE): New macro.
5045 (CHARSET_TO_BYTE2_TABLE): New macro.
5046 (XCHARSET_DECODING_TABLE): New macro.
5047 (XCHARSET_TO_BYTE1_TABLE): New macro.
5048 (XCHARSET_TO_BYTE2_TABLE): New macro.
5049 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5051 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5052 don't use `ucs_to_*' tables.
5054 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5056 * text-coding.c (Fmake_coding_system): Don't set up
5057 `codesys->fixed.size'.
5058 (encode_coding_no_conversion): Use `if' instead of `switch'.
5060 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5062 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5064 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5065 (Fmake_charset): Modify for `make_charset'.
5066 (Fmake_reverse_direction_charset): Likewise.
5067 (complex_vars_of_mule_charset): Likewise.
5069 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5071 * text-coding.c (char_encode_shift_jis): Use table
5072 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5074 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5076 * text-coding.c (text_encode_generic): Use `if' instead of
5078 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5081 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5083 * text-coding.c (encode_coding_sjis): Deleted.
5084 (char_encode_shift_jis): New function.
5085 (char_finish_shift_jis): New function.
5086 (reset_encoding_stream): Set up `encode_char' and `finish' for
5087 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5088 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5089 (char_encode_utf8): Treat `eol_type'.
5091 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5093 * file-coding.c (decode_coding_iso2022): Use
5094 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5096 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5098 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5101 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5103 * char-lb.h (CHAR_COLUMNS): New macro.
5105 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5107 * text-coding.c (char_encode_ucs4): New function.
5108 (char_finish_ucs4): New function.
5109 (encode_coding_ucs4): Deleted.
5110 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5111 (text_encode_generic): Delete local variable `charset' and `half'.
5112 (ucs_to_mule_table): Deleted.
5113 (mule_to_ucs_table): Deleted.
5114 (Fset_ucs_char): Deleted.
5115 (ucs_to_char): Deleted.
5116 (Fucs_char): Deleted.
5117 (Fset_char_ucs): Deleted.
5118 (Fchar_ucs): Deleted.
5119 (decode_ucs4): Deleted.
5120 (mule_char_to_ucs4): Deleted.
5121 (encode_ucs4): Deleted.
5122 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5123 (decode_coding_utf8): Likewise.
5124 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5125 (char_encode_iso2022): Fixed.
5126 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5127 `Fset_char_ucs' and `Fchar_ucs'.
5128 (complex_vars_of_file_coding): Don't initialize
5129 `ucs_to_mule_table'.
5131 * objects-tty.c (tty_initialize_font_instance): Don't use
5134 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5137 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5138 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5140 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5141 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5142 (emchar_string_displayed_columns): Likewise.
5144 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5145 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5146 (string_column_at_point): Likewise.
5147 (Fmove_to_column): Likewise.
5149 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5150 `encoding_table' and `decoding_table'.
5151 (CHARSET_REP_BYTES): Deleted.
5152 (XCHARSET_REP_BYTES): Deleted.
5153 (XCHARSET_COLUMNS): Deleted.
5154 (CHAR_COLUMNS): New macro.
5155 (lookup_composite_char): Deleted unconditionally.
5156 (composite_char_string): Likewise.
5158 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5160 * char-ucs.h (Emchar_to_byte_table): New type.
5161 (get_byte_from_character_table): New function interface.
5162 (Vcharset_latin_jisx0201): New variable.
5163 (latin_jisx0201_to_ucs): New variable.
5164 (ucs_to_latin_jisx0201): New variable.
5165 (Vcharset_latin_iso8859_2): New variable.
5166 (latin_iso8859_2_to_ucs): New variable.
5167 (ucs_to_latin_iso8859_2): New variable.
5168 (Vcharset_latin_iso8859_3): New variable.
5169 (latin_iso8859_3_to_ucs): New variable.
5170 (ucs_to_latin_iso8859_3): New variable.
5171 (Vcharset_latin_iso8859_4): New variable.
5172 (latin_iso8859_4_to_ucs): New variable.
5173 (ucs_to_latin_iso8859_4): New variable.
5174 (Vcharset_latin_iso8859_9): New variable.
5175 (latin_iso8859_9_to_ucs): New variable.
5176 (ucs_to_latin_iso8859_9): New variable.
5177 (Vcharset_latin_viscii_lower): New variable.
5178 (latin_viscii_lower_to_ucs): New variable.
5179 (ucs_to_latin_viscii_lower): New variable.
5180 (Vcharset_latin_viscii_upper): New variable.
5181 (latin_viscii_upper_to_ucs): New variable.
5182 (ucs_to_latin_viscii_upper): New variable.
5183 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5184 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5185 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5186 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5187 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5188 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5189 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5190 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5191 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5192 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5194 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5195 (Vcharset_latin_viscii_upper): New variable.
5196 (make_byte_from_character_table): New function.
5197 (put_byte_from_character_table): New function.
5198 (get_byte_from_character_table): New function.
5199 (CHAR96): New macro.
5200 (ucs_to_latin_jisx0201): New variable.
5201 (latin_jisx0201_to_ucs): New variable.
5202 (ucs_to_latin_iso8859_2): New variable.
5203 (latin_iso8859_2_to_ucs): New variable.
5204 (ucs_to_latin_iso8859_3): New variable.
5205 (latin_iso8859_3_to_ucs): New variable.
5206 (ucs_to_latin_iso8859_4): New variable.
5207 (latin_iso8859_4_to_ucs): New variable.
5208 (ucs_to_latin_iso8859_9): New variable.
5209 (latin_iso8859_9_to_ucs): New variable.
5210 (ucs_to_latin_viscii_lower): New variable.
5211 (latin_viscii_lower_to_ucs): New variable.
5212 (ucs_to_latin_viscii_upper): New variable.
5213 (latin_viscii_upper_to_ucs): New variable.
5214 (ucs_to_latin_tcvn5712): New variable.
5215 (latin_tcvn5712_to_ucs): New variable.
5216 (Qlatin_viscii_lower): New variable.
5217 (Qlatin_viscii_upper): New variable.
5218 (syms_of_mule_charset): Set up new symbol
5219 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5220 (complex_vars_of_mule_charset): Set up new charset
5221 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5222 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5223 `ucs_to_<CHARSET>' tables.
5225 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5227 * text-coding.c: New file.
5229 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5231 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5233 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5234 (MAKE_CHAR): Modify for `ucs-bmp'.
5235 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5236 non-MULE characters of BMP.
5238 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5240 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5243 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5246 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5247 - Include character.h for `CHAR_ASCII_P'.
5249 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5251 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5252 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5254 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5255 (BYTE_C0_P): Likewise.
5256 (BYTE_C1_P): Likewise.
5257 (Lstream_get_emchar_1): Likewise.
5258 (Lstream_fput_emchar): Likewise.
5259 (Lstream_funget_emchar): Likewise.
5260 (copy_internal_to_external): Likewise.
5261 (copy_external_to_internal): Likewise.
5263 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5264 (BYTE_C0_P): Likewise.
5265 (BYTE_C1_P): Likewise.
5266 (Lstream_get_emchar_1): Likewise.
5267 (Lstream_fput_emchar): Likewise.
5268 (Lstream_funget_emchar): Likewise.
5269 (copy_internal_to_external): Likewise.
5270 (copy_external_to_internal): Likewise.
5272 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5273 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5275 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5276 (BYTE_ASCII_P): Moved to mb-1byte.h.
5278 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5280 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5282 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5283 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5284 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5285 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5286 (VALIDATE_CHARPTR_FORWARD): Likewise.
5287 (simple_charptr_emchar): Moved to mb-multibyte.h.
5288 (simple_set_charptr_emchar): Likewise.
5289 (simple_charptr_copy_char): Likewise.
5290 (non_ascii_charptr_emchar): Likewise.
5291 (non_ascii_set_charptr_emchar): Likewise.
5292 (non_ascii_charptr_copy_char): Likewise.
5293 (charptr_emchar): Moved to mb-*byte.h.
5294 (set_charptr_emchar): Likewise.
5295 (charptr_copy_char): Likewise.
5297 * mb-1byte.h, mb-multibyte.h: New files.
5299 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5301 * mb-utf-8.h (MULTIBYTE): New macro.
5302 (MAX_EMCHAR_LEN): Moved from buffer.h.
5303 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5305 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5307 * mb-lb.h, multibyte.h: New files.
5309 * char-1byte.h (Charset_ID): Moved from buffer.h.
5310 (MIN_LEADING_BYTE): Likewise.
5311 (LEADING_BYTE_ASCII): Likewise.
5312 (NUM_LEADING_BYTES): Likewise.
5313 (CHARSETP): Likewise.
5314 (CHARSET_BY_LEADING_BYTE): Likewise.
5315 (XCHARSET_LEADING_BYTE): Likewise.
5316 (XCHARSET_GRAPHIC): Likewise.
5317 (XCHARSET_COLUMNS): Likewise.
5318 (XCHARSET_DIMENSION): Likewise.
5319 (CHAR_CHARSET): Likewise.
5320 (CHAR_LEADING_BYTE): Likewise.
5321 (BREAKUP_CHAR): Likewise.
5322 (Vcharset_ascii): Likewise.
5324 * buffer.h: Include multibyte.h unconditionally.
5325 (VALID_CHARPTR_P): Moved to multibyte.h.
5326 (ASSERT_VALID_CHARPTR): Likewise.
5327 (REAL_INC_CHARPTR): Likewise.
5328 (REAL_INC_CHARBYTIND): Likewise.
5329 (REAL_DEC_CHARPTR): Likewise.
5330 (INC_CHARPTR): Likewise.
5331 (INC_CHARBYTIND): Likewise.
5332 (DEC_CHARPTR): Likewise.
5333 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5334 (VALIDATE_CHARPTR_FORWARD): Likewise.
5335 (charptr_n_addr): Likewise.
5336 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5337 (simple_charptr_emchar): Moved to multibyte.h.
5338 (simple_set_charptr_emchar): Likewise.
5339 (simple_charptr_copy_char): Likewise.
5340 (non_ascii_charptr_emchar): Likewise.
5341 (non_ascii_set_charptr_emchar): Likewise.
5342 (non_ascii_charptr_copy_char): Likewise.
5343 (charptr_emchar): Likewise.
5344 (set_charptr_emchar): Likewise.
5345 (charptr_copy_char): Likewise.
5346 (charptr_emchar_n): Likewise.
5347 (Charset_ID): Moved to char-1byte.h.
5348 (Vcharset_ascii): Likewise.
5349 (CHAR_CHARSET): Likewise.
5350 (CHAR_LEADING_BYTE): Likewise.
5351 (LEADING_BYTE_ASCII): Likewise.
5352 (NUM_LEADING_BYTES): Likewise.
5353 (MIN_LEADING_BYTE): Likewise.
5354 (CHARSETP): Likewise.
5355 (CHARSET_BY_LEADING_BYTE): Likewise.
5356 (XCHARSET_LEADING_BYTE): Likewise.
5357 (XCHARSET_GRAPHIC): Likewise.
5358 (XCHARSET_COLUMNS): Likewise.
5359 (XCHARSET_DIMENSION): Likewise.
5360 (BREAKUP_CHAR): Likewise.
5362 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5364 * character.h: Add document about interface for characters.
5366 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5367 (MAKE_CHAR): Delete comment about
5368 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5369 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5370 (BREAKUP_CHAR): Modify name of arguments.
5371 (CHAR_CHARSET): Modify name of argument.
5373 * buffer.h: Delete document about Emchar accessors.
5375 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5377 * character.h (CHAR_INTP): Moved from buffer.h
5378 (CHAR_OR_CHAR_INTP): Likewise.
5379 (XCHAR_OR_CHAR_INT): Likewise.
5380 (CHECK_CHAR_COERCE_INT): Likewise.
5382 * buffer.h (CHAR_INTP): Moved to character.h
5383 (CHAR_OR_CHAR_INTP): Likewise.
5384 (XCHAR_OR_CHAR_INT): Likewise.
5385 (CHECK_CHAR_COERCE_INT): Likewise.
5387 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5390 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5391 - Include char-1byte.h, char-lb.h or char-ucs.h.
5393 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5395 * buffer.h: Include character unconditionally.
5396 (valid_char_p): Moved to char-*.h.
5397 (non_ascii_valid_char_p): Moved to char-lb.h.
5399 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5401 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5403 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5404 in UTF-2000 because it is not ported yet and not to use
5405 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5406 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5407 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5409 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5410 (CHAR_ASCII_P): Moved from character.h.
5412 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5413 (CHAR_ASCII_P): Likewise.
5414 (CHAR_FIELD1_MASK): Deleted.
5415 (CHAR_FIELD2_MASK): Deleted.
5416 (CHAR_FIELD3_MASK): Deleted.
5417 (MAX_CHAR_BASIC_LATIN): New macro.
5418 (CHAR_FIELD1): Deleted.
5419 (CHAR_FIELD2_INTERNAL): Deleted.
5420 (CHAR_FIELD3_INTERNAL): Deleted.
5421 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5422 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5423 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5424 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5425 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5426 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5427 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5428 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5429 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5430 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5431 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5432 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5433 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5434 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5435 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5436 (MIN_CHAR_COMPOSITION): Deleted.
5437 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5438 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5440 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5442 * buffer.h: Include mb-utf-8.h in UTF-2000.
5444 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5446 * mb-utf-8.h: New file.
5448 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5450 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5453 * mule-charset.h, buffer.h (Charset_ID): New type.
5455 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5457 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5458 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5459 instead of `MULE_CHAR_PRIVATE_OFFSET',
5460 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5461 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5462 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5464 * character.h (Vcharset_japanese_jisx0212): New variable
5467 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5469 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5470 (charset_by_attributes): Delete array about direction.
5471 (latin_a_char_to_charset): New variable in UTF-2000.
5472 (latin_a_char_to_byte1): New variable in UTF-2000.
5473 (latin_a_char_to_byte2): New variable in UTF-2000.
5474 (Qucs_bmp): New variable.
5475 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5477 (next_allocated_2_byte_leading_byte): Likewise.
5478 (non_ascii_set_charptr_emchar): Likewise.
5479 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5480 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5481 `charset_by_attributes'.
5482 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5483 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5484 and `CHARSET_BY_LEADING_BYTE'.
5485 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5486 `utf-2000-version' to `vars_of_mule_charset'.
5487 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5488 define `leading-code-private-11' in UTF-2000; move setting of
5489 `utf-2000-version' from `syms_of_mule_charset'.
5490 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5493 * character.h (Charset_ID): New type.
5494 (LEADING_BYTE_UCS_BMP): New macro.
5495 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5496 (CHARSET_ID_OFFSET_94): New macro.
5497 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5498 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5499 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5501 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5502 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5503 (CHARSET_ID_OFFSET_96): New macro.
5504 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5505 CHARSET_ID_OFFSET_96 and final-byte.
5506 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5507 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5508 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5509 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5510 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5511 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5512 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5513 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5514 (LEADING_BYTE_THAI_TIS620): Likewise.
5515 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5516 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5517 (CHARSET_ID_OFFSET_94x94): New macro.
5518 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5519 CHARSET_ID_OFFSET_94x94 and final-byte.
5520 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5521 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5522 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5523 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5524 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5525 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5526 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5527 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5528 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5529 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5530 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5531 (CHARSET_TYPE_128X128): New macro.
5532 (CHARSET_TYPE_256X256): New macro.
5533 (XCHARSET_PRIVATE_P): Delete unconditionally.
5534 (charset_by_attributes): Delete array about direction.
5535 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5536 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5537 (MIN_CHAR_94): New macro.
5538 (MAX_CHAR_94): New macro.
5539 (MIN_CHAR_96): New macro.
5540 (MAX_CHAR_96): New macro.
5541 (MIN_CHAR_94x94): New macro.
5542 (MAX_CHAR_94x94): New macro.
5543 (MIN_CHAR_96x96): New macro.
5544 (MAX_CHAR_96x96): New macro.
5545 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5546 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5547 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5549 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5550 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5551 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5552 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5553 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5554 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5555 `XCHARSET_LEADING_BYTE' to make code-point.
5556 (latin_a_char_to_charset): New variable.
5557 (latin_a_char_to_byte1): New variable.
5558 (latin_a_char_to_byte2): New variable.
5559 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5560 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5561 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5563 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5564 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5565 (find_charsets_in_emchar_string): Likewise.
5566 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5568 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5570 (decode_coding_iso2022): Likewise.
5572 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5575 * redisplay.c (redisplay_text_width_emchar_string): Use
5576 `Charset_ID' instead of `unsigned char'.
5577 (redisplay_frame_text_width_string): Likewise.
5579 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5582 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5583 instead of `unsigned char'.
5584 (face_cachel_charset_font_metric_info): Likewise.
5586 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5587 (get_non_ascii_char_table_value): Likewise.
5588 (get_char_table): Likewise.
5589 (put_char_table): Likewise.
5590 (map_over_other_charset): Likewise.
5591 (map_char_table): Likewise.
5593 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5594 instead of `unsigned char'.
5596 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5598 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5599 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5601 * mule-charset.c (leading_code_private_11): Don't define in
5604 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5605 in UTF-2000 because it is not ported yet and not to use
5606 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5608 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5610 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5612 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5614 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5617 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5618 of unsigned char to store leading-byte.
5620 * chartab.c (get_non_ascii_char_table_value): Don't use
5621 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5623 * file-coding.c (encode_coding_big5): Delete bogus implementation
5626 * character.h (LEADING_BYTE_*): Delete definition for
5628 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5629 (LEADING_BYTE_PREFIX_P): Deleted.
5630 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5631 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5632 (BUFBYTE_LEADING_BYTE_P): Deleted.
5633 (CHARSET_PRIVATE_P): Deleted unconditionally.
5634 (rep_bytes_by_first_byte): Deleted unconditionally.
5635 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5636 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5637 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5638 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5639 (CHAR_FIELD2): Deleted.
5640 (CHAR_FIELD3): Deleted.
5641 (MAKE_CHAR): Delete definition for non-UTF-2000.
5642 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5643 (breakup_char_1): New implementation.
5644 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5645 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5647 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5649 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5652 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5654 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5655 (CHARSET_PRIVATE_P): Likewise.
5656 (XCHARSET_PRIVATE_P): Likewise.
5657 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5659 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5661 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5663 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5665 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5666 (NUM_LEADING_BYTES): Changed from 128 to 256.
5667 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5668 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5670 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5672 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5674 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5675 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5676 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5677 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5678 (Qchinese_cns11643_3): New variable in UTF2000.
5679 (Qchinese_cns11643_4): New variable in UTF2000.
5680 (Qchinese_cns11643_5): New variable in UTF2000.
5681 (Qchinese_cns11643_6): New variable in UTF2000.
5682 (Qchinese_cns11643_7): New variable in UTF2000.
5683 (syms_of_mule_charset): Define `chinese-cns11643-3',
5684 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5685 and `chinese-cns11643-7' in UTF2000.
5686 (vars_of_mule_charset): Initialize
5687 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5689 (complex_vars_of_mule_charset): Setup charset
5690 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5691 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5693 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5695 * mule-charset.c: Move setting for `leading-code-private-11' from
5696 `syms_of_mule_charset' to `vars_of_mule_charset'.
5698 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5700 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5701 and `NUM_LEADING_BYTES' in assert.
5703 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5705 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5707 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5708 `NUM_LEADING_BYTES' instead of 128.
5710 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5712 * mule-charset.h (charset_by_leading_byte): Use
5713 `NUM_LEADING_BYTES' instead of 128.
5714 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5716 * mule-charset.c (charset_by_leading_byte): Use
5717 `NUM_LEADING_BYTES' instead of 128.
5718 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5720 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5723 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5725 * mule-charset.c (syms_of_mule_charset): Update to
5728 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5730 * file-coding.c (encode_coding_sjis): New implementation for
5731 UTF2000. (decode_coding_sjis): Ditto.
5733 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5735 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5736 Don't define in UTF2000.
5738 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5741 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5742 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5745 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5747 * config.h.in (CHAR_IS_UCS4): New macro.
5749 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5750 conventional MULE representation.
5751 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5753 * mule-charset.h: Reverted to original.
5755 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5756 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5757 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5759 * character.h: New file.
5761 * file-coding.c (Fmake_coding_system): Set 1 to
5762 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5764 (encode_coding_no_conversion): New implementation for UTF2000.
5766 * file-coding.h (struct Lisp_Coding_System): Add new member
5769 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5771 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5772 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5773 (encode_coding_iso2022): New implementation for UTF2000.
5775 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5777 * mule-canna.c (c2mu): New implementation for UTF2000.
5780 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5782 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5784 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5786 * file-coding.c (reset_encoding_stream): Set 0 to
5787 `str->iso2022.current_char_boundary' in UTF2000.
5788 (encode_utf8): Don't define in UTF2000.
5789 (encode_coding_utf8): New implementation for UTF-8 representation
5791 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5793 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5795 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5797 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5799 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5801 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5803 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5804 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5805 as UTF-8 in UTF2000.
5806 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5807 (non_ascii_valid_char_p): Don't define in UTF2000.
5808 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5809 (Lstream_get_emchar_1): Likewise.
5810 (utf-2000-version): New variable in UTF2000.
5812 * lread.c (read_escape): Add new reader `u'.
5814 * insdel.c (three_to_one_table): Don't define in UTF2000.
5815 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5816 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5818 (bytind_to_bufpos_func): Likewise.
5819 (buffer_mule_signal_inserted_region): Likewise.
5820 (vars_of_insdel): Don't initialize `three_to_one_table'.
5821 (init_buffer_text): Use `buf->text->mule_size' instead of
5822 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5825 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5826 UTF-8 representation in UTF2000.
5827 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5828 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5829 (decode_coding_iso2022): Don't define local variable `lb' in
5830 UTF2000; don't use LEADING_BYTE in UTF2000; use
5831 `DECODE_ADD_UCS_CHAR' in UTF2000.
5832 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5834 * config.h.in (UTF2000): New macro.
5836 * buffer.h (struct buffer_text): Add new member `mule_size' and
5837 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5838 (valid_char_p): Return always 1 in UTF2000.
5839 (MAX_EMCHAR_LEN): 6 in UTF2000.
5840 (three_to_one_table): Don't define in UTF2000.
5841 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5843 (real_bytind_to_bufpos): Likewise.
5845 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5847 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5849 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5850 representation change.
5851 (Vutf_2000_version): New variable.
5852 (leading_code_private_11): New variable.
5853 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5854 `leading-code-private-11'.
5856 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5857 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5858 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5859 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5860 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5861 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5862 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5863 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5864 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5865 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5866 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5867 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5868 (MIN_CHAR_GREEK): New macro.
5869 (MAX_CHAR_GREEK): New macro.
5870 (MIN_CHAR_CYRILLIC): New macro.
5871 (MAX_CHAR_CYRILLIC): New macro.
5872 (MIN_CHAR_HEBREW): New macro.
5873 (MAX_CHAR_HEBREW): New macro.
5874 (MIN_CHAR_THAI): New macro.
5875 (MAX_CHAR_THAI): New macro.
5876 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5877 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5878 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5879 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5880 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5881 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5882 (CHAR_FIELD2): New inline function.
5883 (CHAR_FIELD3): New inline function.
5884 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5885 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5886 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5887 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5888 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5889 (MIN_CHAR_COMPOSITION): Likewise.
5890 (CHAR_LEADING_BYTE): Modified for character representation change.
5891 (MAKE_CHAR): Likewise.
5893 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5894 (Vcharset_greek_iso8859_7): Likewise.
5895 (Vcharset_cyrillic_iso8859_5): Likewise.
5896 (Vcharset_hebrew_iso8859_8): Likewise.
5897 (Vcharset_thai_tis620): Likewise.
5898 (Vcharset_katakana_jisx0201): Likewise.
5900 2006-01-28 Vin Shelton <acs@xemacs.org>
5902 * XEmacs 21.4.19 is released
5904 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
5906 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
5908 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
5910 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
5913 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
5915 * database.c: Suppress compiler warning under Cygwin.
5916 * database.c: Removed __FreeBSD__ check, should be handled by
5917 HAVE_U_xxx_T defines.
5919 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
5921 * console.c (stuff_buffered_input): Compile body only if
5924 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
5926 * callproc.c: #include sysdir.h, so that any appropriate Mule
5927 magic happens with the chdir() call when calling a subprocess.
5929 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
5931 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
5932 * mule-ccl.c: Check that a character set exists before using it
5933 to create a character.
5935 2005-12-06 Vin Shelton <acs@xemacs.org>
5937 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
5940 2005-12-03 Vin Shelton <acs@xemacs.org>
5942 * XEmacs 21.4.18 is released
5944 2005-11-27 Kean Johnston <kean@armory.com>
5946 * redisplay-tty.c (set_tty_modes):
5947 (reset_tty_modes): disable auto-margins if the terminal supports
5949 (init_tty_for_redisplay): fix cursor shape.
5951 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
5953 * mule-ccl.c (ccl_driver): Calculate the charset and position code
5954 for control-1 characters properly, both when reading multibyte
5955 characters and writing them.
5957 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
5959 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
5960 * select-x.c (x_reply_selection_request): Use it; fix the bug we
5961 were seeing with incremental selection transfer failing.
5963 2005-11-26 Vin Shelton <acs@xemacs.org>
5965 * callproc.c (Fold_call_process_internal): Create the buffer if it
5966 does not already exist. The original patch came from Ben Wing in
5967 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
5969 2002-05-13 Adrian Aichner <adrian@xemacs.org>
5971 * callproc.c: Process-related docstring improvements spurred by
5974 2005-11-25 Vin Shelton <acs@xemacs.org>
5976 * depend: Regenerated.
5978 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
5980 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
5981 says it clashes with a global with the same name.
5983 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
5985 * sysdll.c (dll_open): Under MacOS X return NULL under the
5986 filename is NULL. Fixes problems finding local symbols under 10.4
5989 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
5991 * config.h.in: New HAVE_U_INT*_T defines.
5993 * database.c: Only use u_int*_t typedefs if not already
5996 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
5998 * src/process-unix.c (unix_open_network_stream): moved
5999 'portbuf' buffer out of an inner block as it is used in the
6000 entire function. With gcc4, the stack may get corrupted
6001 after leaving this block. This patches adjusts the size of
6002 the used buffer also; static '128' bytes are far too much
6003 currently and might not suffice for future architectures
6004 (e.g. for 512 bit ones ;)). Instead of, use only the really
6005 required space (max octets * ln(256)/ln(10) chars + space
6006 for '\0' and the sign)
6008 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6010 * callproc.c: Include sysdir.h, so any necessary Mule processing
6011 is done on the current directory name before starting a new
6014 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6016 * chartab.c (Fchar_table_p):
6017 (Fget_range_char_table):
6020 Describe range representation and fix typo.
6022 2005-02-12 Vin Shelton <acs@xemacs.org>
6024 * emacs.c (shut_down_emacs): Advise users to send email to the
6025 xemacs-beta list instead of crashes@xemacs.org.
6027 2005-02-03 David Evers <extsw@appliedgenerics.com>
6029 * process-unix.c (unix_send_process): Flush the last chunk, even
6030 when the pipe is blocked.
6032 2005-02-06 Vin Shelton <acs@xemacs.org>
6034 * XEmacs 21.4.17 is released
6036 2005-01-31 Ben Wing <ben@xemacs.org>
6039 Define assert_failed() always.
6041 Always define ABORT().
6043 2005-01-25 Ben Wing <ben@xemacs.org>
6046 * Makefile.in.in (%.o):
6047 Don't compile executable as Windows (-mwindows) under Cygwin.
6048 Semi-recent changes to Cygwin's executable-startup handling make
6049 it impossible to access the TTY this way.
6051 Don't use special linker file under Cygwin (cygwin.sc) except
6052 when non-PDUMP (even in this case it is highly questionable); you
6055 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6056 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6058 2005-01-29 Ben Wing <ben@xemacs.org>
6060 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6062 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6064 2005-01-29 Ben Wing <ben@xemacs.org>
6066 * bytecode.c (optimize_compiled_function):
6068 * print.c (long_to_string):
6069 Add casts to avoid warning.
6072 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6073 #### The better solution is to move the TIFF and JPEG code to
6076 * glyphs-msw.c (mswindows_xbm_instantiate):
6077 Define __STDC__ to avoid problems with compface.h.
6079 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6081 * EmacsShell-sub.c (ABORT):
6082 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6083 * EmacsShell-sub.c (RootGeometryManager):
6085 * EmacsShell.c (ABORT):
6086 * EmacsShell.c (EmacsShellUpdateSizeHints):
6087 * alloc.c (free_lcrecord):
6088 * alloca.c (i00afunc):
6089 * buffer.c (delete_from_buffer_alist):
6090 * buffer.c (MARKED_SLOT):
6091 * bytecode.c (execute_rare_opcode):
6092 * bytecode.c (optimize_byte_code):
6093 * bytecode.c (Ffetch_bytecode):
6094 * chartab.c (char_table_type_to_symbol):
6095 * chartab.c (Freset_char_table):
6096 * chartab.c (decode_char_table_range):
6097 * chartab.c (Fget_range_char_table):
6098 * chartab.c (check_valid_char_table_value):
6099 * chartab.c (map_char_table):
6100 * chartab.c (slow_map_char_table_fun):
6101 * chartab.c (chartab_instantiate):
6102 * cm.c (cmcheckmagic):
6103 * console-msw.c (DHEADER):
6104 * console.c (MARKED_SLOT):
6105 * data.c (finish_marking_weak_lists):
6106 * data.c (encode_weak_list_type):
6107 * debug.h (DASSERT):
6108 * device-gtk.c (gtk_init_device):
6109 * device-msw.c (mswindows_get_default_margin):
6110 * device-tty.c (tty_init_device):
6111 * device-x.c (get_device_from_display):
6112 * device-x.c (x_get_visual_depth):
6113 * doprnt.c (parse_doprnt_spec):
6114 * doprnt.c (get_doprnt_args):
6115 * dumper.c (pdump_get_indirect_count):
6116 * dumper.c (pdump_register_sub):
6117 * dumper.c (pdump_register_object):
6118 * dumper.c (pdump_register_struct):
6119 * dumper.c (pdump_dump_data):
6120 * dumper.c (pdump_reloc_one):
6121 * elhash.c (print_hash_table):
6122 * elhash.c (make_standard_lisp_hash_table):
6123 * elhash.c (hash_table_instantiate):
6125 * emacs.c (Fforce_debugging_signal):
6126 * emacs.c (sort_args):
6128 * emacs.c (assert_failed):
6129 * eval.c (throw_or_bomb_out):
6130 * eval.c (signal_1):
6133 * event-Xt.c (emacs_Xt_mapping_action):
6134 * event-Xt.c (Xt_process_to_emacs_event):
6136 * event-stream.c (check_event_stream_ok):
6137 * event-stream.c (Fadd_timeout):
6138 * event-stream.c (Fadd_async_timeout):
6139 * event-stream.c (Fdiscard_input):
6140 * event-stream.c (execute_internal_event):
6141 * event-stream.c (Frecent_keys):
6142 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6143 * event-stream.c (lookup_command_event):
6144 * event-unixoid.c (poll_fds_for_input):
6146 * events.c (mark_event):
6147 * events.c (event_equal):
6148 * events.c (event_hash):
6149 * events.c (Fmake_event):
6150 * events.c (Fdeallocate_event):
6151 * events.c (event_chain_find_previous):
6152 * events.c (event_to_character):
6153 * events.c (format_event_object):
6154 * events.c (Fevent_type):
6155 * events.c (event_pixel_translation):
6156 * events.c (Fevent_properties):
6157 * extents.c (extent_in_region_p):
6158 * extents.c (print_extent):
6159 * extents.c (process_extents_for_insertion_mapper):
6160 * extents.c (report_extent_modification_mapper):
6161 * extents.c (glyph_layout_to_symbol):
6162 * faces.c (face_validate):
6163 * file-coding.c (eol_type_to_symbol):
6164 * file-coding.c (subsidiary_coding_system):
6165 * file-coding.c (Fcoding_system_type):
6166 * file-coding.c (Fcoding_system_property):
6167 * file-coding.c (mule_decode):
6168 * file-coding.c (mule_encode):
6169 * file-coding.c (encode_coding_ucs4):
6170 * file-coding.c (encode_coding_utf8):
6171 * file-coding.c (parse_iso2022_esc):
6172 * file-coding.c (encode_coding_iso2022):
6177 * fns.c (Fbase64_encode_region):
6178 * fns.c (Fbase64_encode_string):
6179 * fns.c (Fbase64_decode_region):
6180 * fns.c (Fbase64_decode_string):
6181 * font-lock.c (find_context):
6182 * font-lock.c (context_to_symbol):
6183 * frame-gtk.c (gtk_set_frame_pointer):
6184 * frame-gtk.c (gtk_update_frame_external_traits):
6185 * frame-x.c (x_wm_mark_shell_size_user_specified):
6186 * frame-x.c (x_wm_mark_shell_position_user_specified):
6187 * frame-x.c (x_wm_set_shell_iconic_p):
6188 * frame-x.c (x_wm_set_cell_size):
6189 * frame-x.c (x_wm_set_variable_size):
6190 * frame-x.c (x_wm_store_class_hints):
6191 * frame-x.c (x_wm_maybe_store_wm_command):
6192 * frame-x.c (x_initialize_frame_size):
6193 * frame-x.c (x_update_frame_external_traits):
6195 * frame.c (delete_frame_internal):
6196 * frame.c (mouse_pixel_position_1):
6197 * frame.c (change_frame_size_1):
6198 * free-hook.c (check_free):
6199 * free-hook.c (check_realloc):
6200 * free-hook.c (note_block_input):
6201 * free-hook.c (log_gcpro):
6202 * gccache-gtk.c (gc_cache_lookup):
6203 * glyphs-eimage.c (tiff_memory_write):
6204 * glyphs-gtk.c (gtk_finalize_image_instance):
6205 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6206 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6207 * glyphs-gtk.c (gtk_xpm_instantiate):
6208 * glyphs-gtk.c (gtk_unmap_subwindow):
6209 * glyphs-gtk.c (gtk_map_subwindow):
6210 * glyphs-gtk.c (gtk_button_redisplay):
6212 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6213 * glyphs-x.c (init_image_instance_from_xbm_inline):
6214 * glyphs-x.c (extract_xpm_color_names):
6215 * glyphs-x.c (x_xpm_instantiate):
6216 * glyphs.c (get_image_instantiator_governing_domain):
6217 * glyphs.c (print_image_instance):
6218 * glyphs.c (image_instance_equal):
6219 * glyphs.c (image_instance_hash):
6220 * glyphs.c (encode_image_instance_type):
6221 * glyphs.c (make_image_instance_1):
6222 * glyphs.c (inherit_instantiate):
6223 * glyphs.c (image_instantiate):
6224 * glyphs.c (allocate_glyph):
6225 * glyphs.c (Fglyph_type):
6226 * glyphs.c (redisplay_subwindow):
6227 * glyphs.c (display_table_entry):
6228 * gtk-glue.c (xemacs_list_to_gtklist):
6229 * gtk-glue.c (xemacs_gtklist_to_list):
6230 * gtk-glue.c (xemacs_list_to_array):
6231 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6232 * gutter.c (gutter_was_visible):
6233 * gutter.c (get_gutter_coords):
6234 * input-method-xlib.c (get_XIM_input):
6235 * insdel.c (bufpos_to_bytind_func):
6236 * insdel.c (bytind_to_bufpos_func):
6237 * insdel.c (move_gap):
6238 * intl.c (x_get_composed_input):
6239 * keymap.c (keymap_lookup_directly):
6240 * keymap.c (keymap_delete_inverse_internal):
6241 * keymap.c (ensure_meta_prefix_char_keymapp):
6242 * keymap.c (accessible_keymaps_mapper_1):
6243 * keymap.c (where_is_recursive_mapper):
6246 * lread.c (read_atom):
6247 * lstream.c (Lstream_delete):
6248 * lstream.c (make_lisp_buffer_stream_1):
6249 * macros.c (pop_kbd_macro_event):
6250 * malloc.c (malloc):
6252 * marker.c (bi_marker_position):
6253 * marker.c (set_bi_marker_position):
6254 * menubar-gtk.c (menu_descriptor_to_widget_1):
6255 * menubar-msw.c (prune_menubar):
6256 * menubar-x.c (set_frame_menubar):
6257 * mule-charset.c (get_unallocated_leading_byte):
6258 * mule-charset.h (CHAR_LEADING_BYTE):
6259 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6260 * nt.c (init_environment):
6261 * nt.c (generate_inode_val):
6262 * ntproc.c (delete_child):
6263 * ntproc.c (_sys_read_ahead):
6264 * ntproc.c (create_child):
6265 * objects.c (color_instantiate):
6266 * objects.c (font_instantiate):
6267 * objects.c (face_boolean_instantiate):
6268 * print.c (printing_major_badness):
6269 * process-nt.c (nt_send_process):
6270 * process-unix.c (unix_send_process):
6271 * process.c (get_process):
6272 * ralloc.c (obtain):
6273 * ralloc.c (relinquish):
6274 * ralloc.c (relocate_blocs):
6275 * ralloc.c (resize_bloc):
6276 * ralloc.c (r_alloc_free):
6277 * ralloc.c (r_re_alloc):
6278 * ralloc.c (r_alloc_thaw):
6279 * ralloc.c (init_ralloc):
6280 * ralloc.c (Free_Addr_Block):
6281 * ralloc.c (r_alloc):
6282 * redisplay-gtk.c (gtk_output_display_block):
6283 * redisplay-msw.c (mswindows_output_display_block):
6284 * redisplay-output.c (get_next_display_block):
6285 * redisplay-output.c (get_cursor_size_and_location):
6286 * redisplay-output.c (redisplay_output_layout):
6287 * redisplay-output.c (redisplay_clear_region):
6288 * redisplay-tty.c (tty_output_display_block):
6289 * redisplay-x.c (x_output_display_block):
6290 * redisplay.c (add_propagation_runes):
6291 * redisplay.c (add_glyph_rune):
6292 * redisplay.c (create_text_block):
6293 * redisplay.c (add_margin_runes):
6294 * redisplay.c (create_left_glyph_block):
6295 * redisplay.c (create_right_glyph_block):
6296 * redisplay.c (create_string_text_block):
6297 * redisplay.c (regenerate_window):
6298 * redisplay.c (REGEN_INC_FIND_START_END):
6299 * redisplay.c (redisplay_frame):
6300 * redisplay.c (point_in_line_start_cache):
6303 * regex.c (re_compile_fastmap):
6304 * regex.c (re_match_2_internal):
6305 * regex.c (regerror):
6306 * scrollbar-gtk.c (gtk_scrollbar_loop):
6307 * scrollbar-gtk.c (scrollbar_cb):
6308 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6309 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6310 * scrollbar-x.c (x_update_scrollbar_instance_status):
6311 * scrollbar-x.c (x_scrollbar_loop):
6312 * scrollbar-x.c (x_update_frame_scrollbars):
6313 * search.c (search_command):
6314 * search.c (Fmatch_data):
6315 * select-x.c (motif_clipboard_cb):
6316 * signal.c (interrupt_signal):
6317 * specifier.c (specifier_add_spec):
6318 * specifier.c (specifier_instance_from_inst_list):
6319 * specifier.c (specifier_instance):
6321 * specifier.h (struct specifier_methods):
6322 * strftime.c (add_num_time_t):
6323 * sunplay.c (init_device):
6324 * symbols.c (Fsetplist):
6325 * symbols.c (do_symval_forwarding):
6326 * symbols.c (store_symval_forwarding):
6328 * symbols.c (Fbuilt_in_variable_type):
6329 * symbols.c (decode_magic_handler_type):
6330 * symbols.c (handler_type_from_function_symbol):
6331 * syntax.c (update_syntax_cache):
6332 * sysdep.c (init_baud_rate):
6333 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6334 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6335 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6336 * toolbar.c (get_toolbar_coords):
6337 * ui-gtk.c (build_gtk_boxed):
6338 * ui-gtk.c (describe_gtk_arg):
6339 * ui-gtk.c (gtk_type_to_lisp):
6340 * ui-gtk.c (lisp_to_gtk_type):
6341 * ui-gtk.c (lisp_to_gtk_ret_type):
6342 * ui-gtk.c (lisp_to_flag):
6343 * unexnt.c (read_in_bss):
6344 * unexnt.c (map_in_heap):
6345 * window.c (real_window):
6346 * window.c (window_display_lines):
6347 * window.c (window_display_buffer):
6348 * window.c (set_window_display_buffer):
6349 * window.c (window_modeline_height):
6350 * window.c (unshow_buffer):
6351 * window.c (window_loop):
6352 * window.c (Fget_lru_window):
6353 * window.c (Fsplit_window):
6354 * window.c (Fset_window_configuration):
6355 * window.c (saved_window_index):
6356 * xgccache.c (gc_cache_lookup):
6357 abort() -> ABORT(). Eliminate preprocessor games with abort()
6358 since it creates huge problems in VC7, solvable only by including
6359 massive amounts of files in every compile (and not worth it).
6363 Inclusion of process.h does not need to be before lisp.h any more.
6364 Move later and remove comment about abort().
6366 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6368 * regex.c (re_match_2_internal):
6369 Correctly initialize loop which clears uninitialized registers.
6371 2005-01-28 Vin Shelton <acs@xemacs.org>
6373 * sheap.c (more_static_core): Applied Ben's version of the long
6376 2005-01-24 Vin Shelton <acs@xemacs.org>
6378 * sheap.c (more_static_core): Reformatted printf string so
6379 gcc-3.3.3 will compile this on Cygwin.
6381 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6383 * console.c (function_key_map): Reference `key-binding'.
6385 * keymap.c (Vkey_translation_map): Improve docstring.
6387 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6389 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6390 * window.c (window_loop): [fix] Take into account
6391 `allow-deletion-of-last-visible-frame' variable.
6392 * window.c (replace-buffer-in-windows): Ditto.
6394 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6396 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6398 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6400 * event-gtk.c: Recognise AltGr as a valid modifier.
6402 2005-01-12 Ville Skyttä <scop@xemacs.org>
6404 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6406 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6408 Fix backreference bug caught by test suite.
6410 * regex.c (regex_compile):
6411 Make backref duplicate internal register.
6413 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6415 Documentation, code clarification, and warning suppression.
6417 * regex.c (regex_compile):
6419 (re_match_2_internal):
6420 Improve comments and avoid redundant braces. [Most of the big hunk
6421 at l. 4710 is indentation; use diff -w to see the real changes.]
6422 (alt_match_null_string_p):
6423 (common_op_match_null_string_p):
6424 Avoid shadowing global on Mac OS X 10.4, at least.
6426 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6428 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6429 introduced with shy groups fix). [Already applied, probably
6430 with the second "fix shy groups" patch of 2004-10-07.]
6432 2005-01-10 Steve Youngs <steve@sxemacs.org>
6434 From Andrey Slusar <anrays@gmail.com>:
6436 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6438 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6440 * Makefile (RECURSIVE_MAKE): Removed.
6441 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6442 handling parallel builds.
6444 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6446 * Makefile.in.in: Enable support for parallel builds.
6448 2005-01-09 Steve Youngs <steve@sxemacs.org>
6450 From Andrey Slusar <anrays@gmail.com>:
6452 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6453 FreeBSD version is >= 199701 _and_ < 600006.
6455 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6457 * scrollbar.c (compute_scrollbar_instance_usage):
6458 Only call device method compute_scrollbar_instance_usage() if it
6461 2004-12-05 Vin Shelton <acs@xemacs.org>
6463 * XEmacs 21.4.16 is released
6465 2004-12-04 Vin Shelton <acs@xemacs.org>
6467 * depend: Regenerated.
6469 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6471 * regex.c (re_match_2_internal): Map internal to external
6472 registers. Fixes bug identified by Steve Youngs 2004-09-30
6473 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6475 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6477 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6478 to fix a crash. Also, check the buffer is live and it
6479 really exists in buffer_list. If the buffer is not in the list,
6482 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6484 Fix shy groups by implementing recording of all groups for
6485 repetition and backtracking. Backport from 21.5.
6487 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6488 external_to_internal_register, external_to_internal_register_size,
6489 and update comments for re_nsub.
6491 * regex.c (re_opcode_t): Update comments.
6492 (print_compiled_pattern): Ouput external_to_internal_register,
6493 external_to_internal_register_size, and re_ngroups for debugging.
6494 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6495 (regex_compile): Update header comment.
6496 Ensure that all groups are recorded so that repeat matches and
6497 backtracking work correctly. Comment related warning for groups >
6499 (re_search_2): Construct map of API indexes (which count only
6500 nonshy groups) to internal register numbers, and keep it updated.
6502 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6504 * frame-gtk.c (gtk_make_frame_visible):
6505 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6506 show/hide. This is what X uses and is prevents previously hidden
6507 widgets from suddenly reappearing.
6508 * gtk-xemacs.c (gtk_xemacs_paint):
6509 * gtk-xemacs.c (gtk_xemacs_draw):
6510 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6512 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6513 size and location changes so that they can be seen before the next
6514 idle event. Without this rapid changes to scrollbar properties
6517 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6520 * console-gtk.h (struct gtk_frame):
6521 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6522 Add hash tables track tab_control callback data.
6523 Added #defines for GTK object data names.
6524 Declaration of gtk_widget_to_frame().
6525 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6526 * frame-gtk.c (gtk_widget_to_frame): New.
6527 * frame-gtk.c (gtk_create_widgets):
6528 * frame-gtk.c (allocate_gtk_frame_struct):
6529 * frame-gtk.c (gtk_mark_frame):
6530 Manage frame callbakc hash tables.
6531 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6532 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6533 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6535 * glyphs-gtk.c (gtk_widget_query_geometry): New
6536 * glyphs-gtk.c (gtk_register_gui_item): New
6537 * glyphs-gtk.c (gtk_add_tab_item): New
6538 * glyphs-gtk.c (gtk_tab_control_callback): New
6539 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6540 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6541 Use correct list when loading item.
6542 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6543 Register new methods.
6544 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6545 default size, for widgets.
6546 * gui-x.c: Improved comment.
6547 * menubar-gtk.c (__generic_button_callback): Use
6548 gtk_widget_to_frame instead of __get_channel.
6550 * ui-gtk.c: Use symbolic names for GTK object data.
6552 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6554 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6556 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6558 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6560 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6562 * malloc.c (morecore): siz is a long because in some architectures
6563 (eg ia-64) an int cannot hold the address range. Additional patch
6564 from the SuSe distribution.
6566 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6569 * malloc.c: lim_data is a long because in some architectures
6570 (eg ia-64) an int cannot hold the address range.
6571 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6572 instead of ulimit() because ulimit() always returns -1.
6574 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6576 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6578 2004-06-11 David Kastrup <dak@gnu.org>
6580 * search.c (match_limit): Don't flag an error if match-data
6581 exceeding the allocated search_regs.num_regs gets requested, just
6584 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6586 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6587 replace symbolic color entries with the real colors specified in
6588 xpm-color-symbols, before passing the XPM to gtk.
6589 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6590 instead of a GTK specific field, so that it is used in by generic
6593 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6595 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6596 coredump from deref of NULL ptr (ExtData)
6598 2004-04-19 Jerry James <james@xemacs.org>
6600 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6601 VALBITS to compute the location of the sign bit.
6602 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6603 of VALBITS with EMACS_INT_MAX.
6604 * events.c (Fevent_timestamp): Ditto.
6605 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6606 compute the halfway point to timestamp wraparound.
6607 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6608 EMACS_INT_MIN instead of using VALBITS.
6609 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6610 incorrect number with VALBITS.
6611 * fns.c (Frandom): Correct number of integer bits in docstring.
6612 Use INT_VALBITS instead of VALBITS to compute the denominator.
6613 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6614 build random numbers.
6616 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6618 * event-gtk.c (gtk_event_to_emacs_event):
6620 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6621 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6622 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6623 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6624 * menubar-gtk.c (__activate_menu):
6625 * menubar-gtk.c (convert_underscores):
6626 * menubar-gtk.c (remove_underscores):
6627 * menubar-gtk.c (menu_convert):
6628 * menubar-gtk.c (menu_descriptor_to_widget_1):
6629 * menubar-gtk.c (menu_descriptor_to_widget):
6630 * menubar-gtk.c (menu_can_reuse_widget):
6631 * menubar-gtk.c (menu_create_menubar):
6632 * menubar-gtk.c (gtk_popup_menu):
6633 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6634 Added support for Gtk menu bar and menu item mnemonics.
6636 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6638 * sysdll.c: (dll_function): Added support for finding symbols in
6639 Darwin shared libraries as well in Darwin bundles.
6640 * sysdll.c (image_for_address): New
6641 * sysdll.c (my_find_image): New
6642 * sysdll.c (search_linked_libs): New
6644 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6646 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6647 return to GTK requires a different API to marshalling data to use
6649 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6651 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6653 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6655 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6657 * glyphs.c (process_image_string_instantiator):
6658 (Fset_console_type_image_conversion_list):
6659 Stop GCC from warning about shadowing of `exp'.
6661 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6663 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6665 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6667 2004-02-03 Vin Shelton <acs@xemacs.org>
6669 * glyphs.c (image_instance_layout): Remove pointless assertion.
6670 * regex.c (regex_grow_registers): Return type is void.
6672 2004-02-02 Vin Shelton <acs@xemacs.org>
6674 * XEmacs 21.4.15 is released
6676 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6678 * device-x.c (x_error_handler): Don't call stderr_out
6680 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6682 * buffer.c (other-buffer): Clarify documentation of order of
6683 arguments for FSF Emacs.
6685 2003-10-11 Olivier Galibert <galibert@pobox.com>
6687 * window.c (Fdelete_window): Dirty the mirror structure _before_
6688 marking the window deleted.
6690 2003-09-15 Jerry James <james@xemacs.org>
6692 * event-msw.c (debug_mswin_messages): Conditionally compile
6693 messages missing from the Cygwin headers.
6695 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6697 * data.c (eq_with_ebola_notice): Fix typo in comment.
6698 (Ftrue_list_p): Improve docstring.
6700 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6702 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6704 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6706 * search.c (trivial_regexp_p): Regexps containing "\{" are
6707 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6708 Stefan Monnier for suggesting a diagnosis.
6710 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6712 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6714 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6716 * search.c (Fsearch_forward):
6718 Document negative count.
6720 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6722 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6724 2003-09-13 Martin Buchholz <martin@xemacs.org>
6726 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6728 2003-09-15 Vin Shelton <acs@xemacs.org>
6730 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6733 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6735 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6736 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6737 (re_match_2_internal): Use TRANSLATE instead of
6738 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6739 non-ASCII char case conversion.
6741 2003-09-08 Mike Sperber <mike@xemacs.org>
6743 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6744 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6746 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6748 * .gdbinit (pobj): fix printing of symbol name.
6750 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6752 * frame-x.c (x_layout_widgets): When resizing is about to cause
6753 frame size slip, mark it for redisplay.
6755 2003-08-18 Jerry James <james@xemacs.org>
6757 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6759 2003-09-03 Vin Shelton <acs@xemacs.org>
6761 * XEmacs 21.4.14 is released
6763 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6765 * config.h.in (REGEX_MALLOC): Make it configure'able.
6767 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6769 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6771 * sysdll.c (dll_init):
6772 * sysdll.c (dll_open):
6773 * sysdll.c (dll_close):
6774 * sysdll.c (dll_function):
6775 * sysdll.c (dll_variable):
6776 * sysdll.c (dll_error):
6777 Add support for loading bundles using Darwin/MacOSX
6780 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6782 * process.c (start-process-internal): Document coding systems.
6784 2003-07-30 Jerry James <james@xemacs.org>
6786 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6788 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6790 * event-msw.c (mswindows_enqueue_mouse_button_event):
6791 * event-msw.c (mswindows_wnd_proc):
6792 enqueue button event when scrollwheel event isn't handled by
6793 mswindows_handle_mousewheel_event, such as when the scrollbars
6796 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6798 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6800 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6802 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6804 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6806 * regex.c (re_match_2_internal): Fix matching degenerate word
6809 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6811 * XEmacs 21.4.13 is released
6813 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6815 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6816 * lisp.h (<inttypes.h>):
6817 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6820 2003-03-15 Martin Buchholz <martin@xemacs.org>
6822 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
6823 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
6824 Result: "temacs can only be run in -batch mode."
6825 Fix: Check xemacs executable candidate for directory-ness.
6827 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
6829 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
6830 they conflict with <sys/types.h>.
6832 2003-02-14 Martin Buchholz <martin@xemacs.org>
6834 * database.c: Berkeley DB wants __STDC__ to be defined.
6836 2003-02-13 Martin Buchholz <martin@xemacs.org>
6838 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
6840 2003-02-01 Martin Buchholz <martin@xemacs.org>
6842 * process-unix.c (unix_send_process): Fix C++ compile error.
6844 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
6846 * Added .dylib as an acceptable shared library file extension
6847 * to support MacOSX.
6849 2003-02-01 Martin Buchholz <martin@xemacs.org>
6851 * EmacsFrameP.h (EmacsFramePart):
6852 Kludge to allow compiling with Motif1, but linking with Motif2.
6854 2003-01-28 Martin Buchholz <martin@xemacs.org>
6856 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
6859 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
6861 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
6863 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
6865 * sysdll.c: Included lisp.h to define needed alloca_array.
6867 2003-02-13 Martin Buchholz <martin@xemacs.org>
6869 Make XEmacs redisplay 10 times faster.
6870 If, that is, you're using a slow X connection and MoveOpaque.
6871 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
6872 Use compress_motion = TRUE.
6873 * EmacsFrame.c (emacsFrameClassRec):
6874 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
6875 * EmacsManager.c (emacsManagerClassRec):
6876 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
6878 2003-01-30 Vin Shelton <acs@xemacs.org>
6880 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
6882 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
6884 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
6885 Patch by Martin Buchholz.
6887 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
6889 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
6890 Thanks to icc for warning and Martin Buchholz for reporting.
6892 2003-01-29 Vin Shelton <acs@xemacs.org>
6894 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
6896 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
6897 remember to multiply by the element size.
6899 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
6901 * XEmacs 21.4.12 "Portable Code" is released.
6903 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
6905 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
6906 * s/cygwin.sc: new linker file.
6908 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
6910 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
6912 * redisplay-x.c (x_output_string): Use X11-specified types.
6913 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
6914 * emacs.c (__free_hook): Use typeof with Intel compiler.
6915 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
6917 2003-01-08 Andy Piper <andy@xemacs.org>
6919 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
6920 reserve size during unexec().
6922 2003-01-07 Daiki Ueno <daiki@xemacs.org>
6924 * process-unix.c (unix_create_process): Don't let outchannel block.
6926 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
6928 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
6929 Needed for IsBadReadPtr().
6931 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
6933 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
6935 2002-12-14 Ben Wing <ben@xemacs.org>
6937 * callint.c: Declaration error.
6939 * dumper.c (pdump_load): Warning fix.
6940 * process.c: GCPRO error.
6941 * glyphs.c (unmap_subwindow):
6942 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
6943 * event-stream.c (maybe_kbd_translate): Wrong argument to
6944 character_to_event().
6946 * alloc.c (garbage_collect_1):
6948 * emacs.c (debug_can_access_memory):
6949 * emacs.c (fatal_error_signal):
6950 * emacs.c (mswindows_handle_hardware_exceptions):
6953 * emacs.c (assert_failed):
6954 * emacs.c (syms_of_emacs):
6957 * print.c (std_handle_out_va):
6958 * print.c (write_string_to_stdio_stream):
6959 * print.c (write_fmt_string):
6960 * print.c (printing_badness):
6961 * print.c (printing_major_badness):
6962 * print.c (print_internal):
6963 * print.c (debug_print_no_newline):
6964 * print.c (debug_backtrace):
6965 Be more defensive in handling bad values when printing. Add code
6966 from trunk involving inhibit_non_essential_printing_operations.
6967 When going down or in debug_print(), don't do external conversion
6968 and such and try really, really hard when printing to avoid core
6969 dumping. Add force-debugging-signal, debug_break().
6971 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
6973 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
6974 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
6976 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
6978 * database.c: Fix open_database. Berkeley DB API has changed in
6979 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
6981 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
6983 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
6985 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
6987 * event-Xt.c (Xt_timeout):
6988 (Xt_timeout_callback):
6989 (emacs_Xt_add_timeout):
6990 (emacs_Xt_remove_timeout):
6991 (Xt_timeout_to_emacs_event):
6992 Turn completed_timeouts from a stack into a queue. Fixes
6993 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
6995 2002-11-07 Wolfram Gloger <wg@malloc.de>
6997 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
6998 * emacs.c (main): Assert that mmap'd allocation is disabled.
7000 2002-10-14 Andy Piper <andy@xemacs.org>
7002 * glyphs-widget.c (layout_query_geometry): add in fiddle
7003 factor. Include border text in width layout calculation.
7004 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7006 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7008 * XEmacs 21.4.10 "Military Intelligence" is released.
7010 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7012 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7013 using the NAS private array SoundFileInfo that no longer exists in
7014 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7015 and earlier. This is broken for some versions between 1.5a and
7018 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7020 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7022 * emacs.c (shut_down_emacs): Improve crash message.
7024 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7026 * file-coding.c (determine_real_coding_system): Check for coding
7027 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7028 shebangs and Python PEP 263.
7030 2002-10-08 Andy Piper <andy@xemacs.org>
7032 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7033 if static sizes haven't been set.
7035 2002-08-30 Mike Alexander <mta@arbortext.com>
7037 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7040 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7042 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7044 2002-09-20 Mike Sperber <mike@xemacs.org>
7046 (This partially gets back my patch from 2002-07-20 without the
7048 * callproc.c (child_setup): Remove Ben's comment noting confusion
7049 over the file descriptors >= 3: close_process_descs() doesn't
7050 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7051 * process-unix.c (unix_create_process): Call
7052 begin_dont_check_for_quit to inhibit unwanted interaction (and
7053 thus breaking of X event synchronicity) in the child.
7055 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7057 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7060 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7062 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7063 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7064 the xemacs process did not exit, but looped infinitely here. This
7067 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7069 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7070 (find_context): Improve comments.
7072 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7073 (re_match_2): An XCHAR_TABLE operation was missing.
7075 Many of the following changes were inspired by Andy Piper's (now
7076 obsolete) patch to make syntax-table text property lookup optional.
7080 * syntax.h (top level): Document semantics of syntax flags.
7081 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7082 * syntax.c, syntax.h (top level): Document syntax cache better in
7085 [Instrument syntax caching (temporary change)]
7087 * syntax.h (enum syntax_cache_statistics_functions, struct
7088 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7089 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7090 * syntax.c (scan_words, Fforward_comment, scan_lists,
7091 Fbackward_prefix_characters):
7092 * font-lock.c (find_context):
7093 Use them to instrument syntax caching.
7094 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7095 syntax_cache_statistics_function_names): New type and variables.
7096 * syntax.c (update_syntax_cache): Update and report statistics.
7098 [Major syntax cache optimizations]
7100 syntax.c (lookup_syntax_properties): Default off.
7102 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7103 * syntax.c (update_syntax_cache):
7104 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7106 [Minor syntax cache optimizations and code clarifications]
7108 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7109 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7110 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7111 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7112 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7113 (Code clarification.)
7115 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7116 scan_lists): Compute code from syncode, use Boolean macros instead
7117 of redundant masking operations. (Code clarification; any decent
7118 compiler can do this optimization.)
7120 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7123 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7124 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7125 use F*_single_property_change instead of F*_extent_change.
7126 Currently F*_single_property_change is _much_ less efficient.
7128 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7129 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7130 syntax_cache.object properly, don't leave Qt or Qnil.
7131 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7132 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7133 tests for Qt or Qnil.
7135 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7137 * redisplay.c (point_in_line_start_cache):
7138 * extents.c (print_extent_1):
7141 * extents.c (Fset_extent_property): Document `syntax-table' property.
7143 * extents.h (Fnext_single_property_change): EXFUN it.
7145 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7147 * search.c (clear_unused_search_regs): New static function.
7151 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7152 Minor clarifications in comments.
7154 * regex.c (re_match_2_internal): Ensure no stale submatches.
7156 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7158 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7160 2002-08-29 Jerry James <james@xemacs.org>
7162 * lisp.h: structrures -> structures.
7164 2002-06-03 Andy Piper <andy@xemacs.org>
7166 * frame.c (frame_conversion_internal): add conversion appropriate
7167 for setting frame dimensions in pixels.
7169 * console.h (struct console_methods): add device-specific widget
7172 * emacs.c (main_1): initialize glyph vars.
7174 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7175 (handle_focus_event_2): new function. Allow focus to
7176 be set to a particular window and widget.
7177 (enqueue_focus_event): new function. Create a
7178 synthetic focus event.
7179 (emacs_Xt_handle_magic_event): call
7180 handle_focus_event_2.
7182 * frame.c (Fset_frame_pixel_height): new function. Allow
7183 pixel-based sizing. Does the right thing on character-oriented
7185 (Fset_frame_pixel_width): ditto.
7186 (Fset_frame_pixel_size): ditto.
7187 (syms_of_frame): declare.
7189 * general-slots.h: add :vertically-justify and
7190 :horizontally-justify.
7192 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7193 (mswindows_widget_border_width): new function.
7194 (mswindows_combo_box_instantiate): set border widths.
7195 (console_type_create_glyphs_mswindows): declare.
7198 (check_valid_justification): allow vertical and horizontal
7200 (widget_border_width): new function. Call device methods.
7201 (widget_instance_border_width): ditto.
7202 (logical_unit_height): new function. Determine the height of a
7203 logical-unit. Logical units are intended to provide grid-like
7204 layout for subcontrols in a layout. If the layout is
7205 :vertically-justify top then subcontrols will be positioned on
7206 logical-unit boundaries, thus allowing adjacent subcontrols to
7208 (widget_logical_unit_height): ditto for widgets.
7209 (redisplay_widget): misc cleanup.
7210 (widget_spacing): new function. Call device specific
7211 methods. Intended to be the default gap between adjacent widgets.
7212 (widget_query_geometry): use new spacing functions to determine
7213 appropriate geometry.
7214 (initialize_widget_image_instance): initialize horizontal and
7215 vertical justification.
7216 (widget_instantiate): use logica-units where appropriate for
7217 sizing large widgets.
7218 (button_query_geometry): use widget_instance_border_width.
7219 (tree_view_query_geometry): ditto.
7220 (tab_control_query_geometry): ditto.
7221 (edit_field_query_geometry): new function.
7222 (layout_update): pick up :justify, :horizontally-justify and
7223 :vertically-justify none of which worked previously. :justify is
7224 used as a fallback for both horizontal and vertical justification.
7225 (layout_query_geometry): use logical units to size appropriately.
7226 (layout_layout): ditto.
7227 (Fwidget_logical_to_character_width): new function. Allow users to
7228 convert from logical units to characters so that frame sizes can
7229 be set appropriately.
7230 (Fwidget_logical_to_character_height): ditto.
7231 (syms_of_glyphs_widget): declare.
7232 (image_instantiator_edit_fields): add edit_field_query_geometry.
7233 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7234 :horizontally-justify.
7235 (specifier_vars_of_glyphs_widget): new function. Declare
7236 Vwidget_border_width which is not yet used.
7238 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7239 (x_widget_border_width): new function.
7240 (x_widget_instantiate): create a sensible name for widgets.
7241 (console_type_create_glyphs_x): declare x_widget_border_width.
7243 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7244 (struct Lisp_Image_Instance): add :vertically-justify and
7245 :horizontally-justify.
7246 (LAYOUT_JUSTIFY_TOP): new.
7247 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7248 (ROUND_UP): new macro. Round argument up to next integral
7251 * redisplay-output.c (redisplay_output_layout): misc formatting.
7253 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7255 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7257 * XEmacs 21.4.9 "Informed Management" is released.
7259 2002-08-19 Andy Piper <andy@xemacs.org>
7261 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7264 * realpath.c (xrealpath): normalize drive spec also so that dir
7265 sep chars are not mixed on cygwin.
7267 2002-08-06 Jerry James <james@xemacs.org>
7269 * window.c (Fsplit_window): Count only half of the divider width
7270 against the left window when splitting horizontally.
7272 2002-06-24 Andy Piper <andy@xemacs.org>
7274 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7275 toolbar was cleared.
7277 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7278 function. Split out from mswindows_output_frame_toolbars.
7279 (mswindows_output_frame_toolbars): move clear pieces to
7280 mswindows_output_frame_toolbars.
7282 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7283 out from gtk_output_frame_toolbars.
7284 (gtk_output_frame_toolbars): move clear pieces to
7285 gtk_clear_frame_toolbars.
7287 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7288 the frame is cleared. How this ever worked before is a mystery.
7289 (x_output_frame_toolbars): Only output toolbars.
7290 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7292 * gutter.c (update_gutter_geometry):
7293 Mark frame layout changed.
7294 (update_frame_gutter_geometry, update_frame_gutters):
7295 Respect frame_layout_changed.
7297 * console.h (struct console_methods): add
7298 clear_frame_toolbars_method.
7300 * redisplay.c (redisplay_frame): call
7301 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7303 * toolbar.h: declare update_frame_toolbars_geometry.
7305 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7306 out from update_frame_toolbars. Call clear_frame_toolbars.
7307 (update_frame_toolbars): only output, do not change geometry.
7309 * redisplay.c: add frame_layout_changed.
7311 * redisplay.h: add frame_layout_changed.
7312 (CLASS_RESET_CHANGED_FLAGS): set it.
7313 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7314 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7315 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7317 * device.h (struct device): add frame_layout_changed.
7318 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7320 * frame.h (struct frame): add frame_layout_changed.
7321 (MARK_FRAME_LAYOUT_CHANGED): new.
7323 2002-06-30 Mike Alexander <mta@arbortext.com>
7325 * event-msw.c (mswindows_need_event): Don't wait for a new message
7326 if the queue is not empty. Suggested by Paul Moore.
7328 2002-06-12 Andy Piper <andy@xemacs.org>
7330 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7331 for printing on accurately.
7333 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7335 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7336 WM_ACTIVATE message. Make sure that the frame is visible if the
7337 window is visible. This seemss to fix the problem where XEmacs
7338 appears to freeze after switching desktops with certain virtual
7340 (debug_output_mswin_message): Added code to output message
7341 parameters for WM_WINDOWPOSCHANGED,
7342 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7344 2002-05-25 Andy Piper <andy@xemacs.org>
7346 * select-x.c (vars_of_select_x): Fix docstring of
7347 x-selection-strict-motif-ownership
7349 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7351 * keymap.c (get_keymap):
7352 Add comment about do_autoload GCPROs own args.
7354 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7356 * bytecode.c (execute_optimized_program): check_opcode ifdef
7357 ERROR_CHECK_BYTE_CODE.
7359 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7361 Thanks to Ben Wing and Michael Sperber.
7363 * eval.c (Fcommand_execute):
7366 (Fmacroexpand_internal):
7367 (function_argcount):
7368 callint.c (Fcall_interactively):
7369 Add comment about do_autoload GCPROs own args.
7371 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7373 * eval.c (Ffuncall): Extra braces to placate GCC.
7375 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7377 * backtrace.h (grow_specpdl):
7379 * EmacsFrame.c (EmacsFrameSetValues):
7380 * eval.c (grow_specpdl):
7381 * ExternalShell.c (hack_event_masks_1):
7382 * glyphs-x.c (convert_EImage_to_XImage):
7383 (x_finalize_image_instance):
7384 * ralloc.c (page_size):
7386 * xgccache.c (gc_cache_hash):
7387 Fix unsigned comparison warnings.
7389 2002-07-29 Jerry James <james@xemacs.org>
7391 * lread.c (locate_file): Any nonnegative return value indicates
7392 success if MODE is nonnegative.
7394 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7396 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7399 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7401 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7403 * dumper.c (pdump_get_indirect_count):
7404 (pdump_scan_by_alignment):
7405 (pdump_dump_root_struct_ptrs):
7406 (pdump_dump_rtables):
7407 (pdump_dump_root_objects):
7409 * nas.c (WaveOpenDataForReading):
7410 * fns.c (print_bit_vector):
7411 * font-lock.c (SINGLE_SYNTAX_STYLE):
7412 * glyphs.c (check_for_ignored_expose):
7413 (find_matching_subwindow):
7415 * imgproc.c (get_histogram):
7416 * redisplay.c (point_in_line_start_cache):
7417 * redisplay-output.c (redisplay_unmap_subwindows):
7418 * symbols.c (defsymbol_massage_name_1):
7419 (defkeyword_massage_name):
7420 (deferror_massage_name_and_message):
7421 * redisplay-x.c (x_output_string):
7422 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7423 * frame.h (struct frame):
7424 * filelock.c (current_lock_owner):
7425 * doprnt.c (emacs_doprnt_1):
7426 * lisp.h (struct Lisp_Bit_Vector):
7430 2002-02-13 Ben Wing <ben@xemacs.org>
7432 * event-stream.c (reset_key_echo):
7433 * event-stream.c (reset_this_command_keys):
7434 * event-stream.c (execute_command_event):
7435 If console is dead as a result of C-x 5 0, then post-command stuff
7436 needs to be careful and do only non-console-specific stuff.
7438 2002-07-01 Mike Sperber <mike@xemacs.org>
7440 * process-unix.c (unix_send_process): Mark coding_outstream as
7441 non-open upon SIGPIPE.
7443 * event-stream.c (Fnext_event): Reorder switch cases to something
7446 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7448 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7449 Don't bogusly reinitialize ascii_character property.
7451 2002-07-08 Mike Sperber <mike@xemacs.org>
7453 * process.c (Fstart_process_internal): Do error checking before we
7454 fork off the child, so the child can't muck with the state of the
7457 2002-07-08 Mike Sperber <mike@xemacs.org>
7459 * ralloc.c (init_ralloc): Allocate properly for pdump.
7461 2002-06-12 Andy Piper <andy@xemacs.org>
7463 * glyphs.c (query_string_geometry): check the string.
7465 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7468 2002-06-17 Jerry James <james@xemacs.org>
7470 * sysdll.c: Remove RTLD_GLOBAL initialization.
7471 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7473 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7475 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7477 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7479 * sysdep.c (sys_rename): Make sys_rename work for the case where
7480 Windows rename sets errno to EACCES if target file exists.
7482 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7484 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7485 Fix detection of metric units to work on Win95
7487 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7489 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7491 2002-04-25 Andy Piper <andy@xemacs.org>
7493 * redisplay.c (create_text_block): Remove extra comment trailer.
7495 2002-04-24 Andy Piper <andy@xemacs.org>
7497 * redisplay.c (create_text_block): Don't actually add propagation
7498 data if the line ends after we have added a glyph.
7500 2002-04-22 Andy Piper <andy@xemacs.org>
7502 * extents.c (extent_fragment_update): check for glyphs we have
7503 previously displayed.
7504 * extents.c (print_extent_1): warning removal.
7505 * extents.h: change prototype.
7506 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7507 widths correctly for wide glyphs.
7508 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7509 * redisplay.c (prop_type): add PROP_GLYPH.
7510 * redisplay.c (struct prop_block): add glyph type
7511 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7512 to the propagation data.
7513 * redisplay.c (create_text_block): if there is a glyph in the
7514 propagation data use it to salt extent_fragment_update.
7515 * redisplay.c (create_string_text_block): ditto.
7517 2002-04-13 Nix <nix@esperi.demon.co.uk>
7519 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7520 * redisplay-output.c (compare_runes): Compare them.
7521 * redisplay.c: Update copyright date.
7522 * redisplay.c (pos_data): Add need_baseline_computation field.
7523 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7524 need_baseline_computation; zero yoffset. Set max_pixmap_height
7525 for all pixmaps, not just automatically positioned ones.
7526 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7527 * redisplay.c (calculate_baseline): New, compute textual baseline.
7528 * redisplay.c (add_glyph_rune): Call them.
7529 * redisplay.c (create_text_block): Likewise.
7530 * redisplay.c (create_overlay_glyph_block): Likewise.
7531 * redisplay.c (add_margin_runes): Likewise.
7532 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7534 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7535 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7536 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7537 * redisplay-msw.c (mswindows_output_string): Likewise.
7538 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7539 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7540 * redisplay-x.c (x_output_display_block): Likewise.
7542 2002-03-28 Ben Wing <ben@xemacs.org>
7544 * redisplay.c: Fixed bug in redisplay
7545 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7546 and down of the lines, since they're bigger than the line
7547 size. (It was seen most obviously when there's a horizontal scroll
7548 bar, e.g. do C-h a glyph or something like that.) The problem was
7549 that the glyph-contrib-p setting on glyphs was ignored even if it
7550 was set properly, which it wasn't until now.
7552 2002-04-24 Andy Piper <andy@xemacs.org>
7554 * lisp.h (Dynarr_end): Fix definition.
7556 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7558 * redisplay.c (mark_redisplay): Remove call to
7559 update_frame_window_mirror.
7561 2001-11-15 Andy Piper <andy@xemacs.org>
7563 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7566 2002-02-13 Andy Piper <andy@xemacs.org>
7568 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7569 we did in fact enqueue the XM_MAPFRAME event.
7571 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7573 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7574 to fix problem switching between virtual desktops under virtuawin
7575 virtual window manager.
7577 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7579 * event-msw.c: Typo fix.
7580 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7581 magic XM_MAPFRAME event has been sent.
7583 2001-11-23 Andy Piper <andy@xemacs.org>
7585 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7587 2001-11-21 Andy Piper <andy@xemacs.org>
7589 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7590 mouse events outside the frame.
7592 2002-03-20 Andy Piper <andy@xemacs.org>
7594 * menubar-msw.c (mswindows_popup_menu): warning removal.
7595 * dialog-msw.c (dialog_popped_down): ditto.
7597 2001-12-11 Andy Piper <andy@xemacs.org>
7599 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7600 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7602 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7603 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7604 * menubar-msw.c (mswindows_popup_menu): ditto.
7606 2001-10-29 Andy Piper <andy@xemacs.org>
7608 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7611 2002-01-03 Andy Piper <andy@xemacs.org>
7613 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7617 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7619 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7620 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7621 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7622 Detect and handle case where machine is set up for metric units
7624 2002-04-02 Andy Piper <andy@xemacs.org>
7626 * dired-msw.c (mswindows_get_files):
7627 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7628 completely handled by XEmacs. Suggested by Thomas Vogler
7629 <mail@thomas-vogler.de>.
7631 2001-11-14 Andy Piper <andy@xemacs.org>
7633 * nt.c (REG_ROOT): change registry key to XEmacs.
7635 2002-04-27 Andy Piper <andy@xemacs.org>
7637 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7639 2002-04-26 Andy Piper <andy@xemacs.org>
7641 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7644 2002-03-14 Mike Alexander <mta@arbortext.com>
7646 * event-msw.c (mswindows_unwait_process): New, remove process from
7648 * process-nt.c (nt_finalize_process_data): Call
7649 mswindows_unwait_process
7650 * console-msw.h: Declare mswindows_unwait_process
7652 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7654 * editfns.c (Fdecode_time):
7655 (Fformat_time_string):
7656 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7657 (make_time): Warning elimination (change arg name).
7659 2001-11-24 Andy Piper <andy@xemacs.org>
7661 * window.c (Fsplit_window): Doc return type.
7663 2002-04-01 Andy Piper <andy@xemacs.org>
7665 * emacs.c (Fkill_emacs): Only output message box in interactive
7668 2002-04-26 Andy Piper <andy@xemacs.org>
7670 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7673 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7675 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7678 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7680 * XEmacs 21.4.8 "Honest Recruiter" is released.
7682 2002-05-07 Nix <nix@esperi.demon.co.uk>
7684 Supersedes 2002-04-17 patch.
7686 * process.h (PROCESS_LIVE_P): Use the process status as
7687 evidence of health, not the state of the input stream.
7688 (PROCESS_READABLE_P): Say if the process is readable
7689 from. (It may be dead nonetheless.)
7690 (CHECK_READABLE_PROCESS): Test for that condition.
7692 * process.c (create_process): Use PROCESS_READABLE_P.
7693 (read_process_output, set_process_filter): Likewise.
7695 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7696 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7698 This code is #if 0'd, this is not the time to add new functions:
7700 * process.c (Fprocess_readable_p): Report readability status.
7701 * process.c (Qprocess_readable_p): New, associated symbol...
7702 * process.c (syms_of_process): ... initialize it.
7704 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7706 * XEmacs 21.4.7 "Economic Science" is released.
7708 2002-04-17 Nix <nix@esperi.demon.co.uk>
7710 * process.h (PROCESS_LIVE_P): Use the process status as
7711 evidence of health, not the state of the input stream.
7713 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7715 * sysdep.c (sys_siglist): change "signum" to "signal"
7717 2001-04-21 Martin Buchholz <martin@xemacs.org>
7719 * s/darwin.h: New file.
7720 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7722 2002-04-23 Andreas Jaeger <aj@suse.de>
7724 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7725 which use lib64 for 64-bit libs.
7726 (START_FILES): Likewise.
7728 2002-02-11 Mike Sperber <mike@xemacs.org>
7731 (x_IO_error_handler):
7732 (x_init_device): Temporarily keep device in static variable
7733 `device_being_initialized' so we can recover gracefully from
7734 internal XOpenDevice failure. (XOpenDevice is documented to
7735 return NULL on failure, but sometimes calls the IO error handler
7738 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7740 * dired.c (Ffile_name_all_completions): Change documentation --
7741 remove reference to completion-ignored-extensions.
7742 * dired.c (vars_of_dired): Change documentation for
7743 completion-ignored-extensions -- remove reference to
7744 file-name-all-completions.
7746 2002-03-06 Jerry James <james@xemacs.org>
7748 * emodules.c (emodules_load): Fix multiple loading of same module.
7750 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7751 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7752 RTLD_LAZY to avoid incorrect symbol binding when using nested
7753 shared libraries on Solaris.
7755 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7757 * fileio.c (Ffind_file_name_handler): Improve docstring.
7759 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7761 * fns.c (Fmapconcat): Improve docstring.
7763 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7765 * device-gtk.c: Add prototype for
7766 emacs_gtk_selection_clear_event_handle.
7767 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7768 selection. Setup signal handler for "selection_clear_event"
7769 (emacs_gtk_selection_clear_event_handle).
7771 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7772 other applications owning the clipboard (based on
7773 x_handle_selection_clear).
7775 2001-12-23 William M. Perry <wmperry@gnu.org>
7777 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7779 2002-01-04 Martin Buchholz <martin@xemacs.org>
7781 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7783 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7785 * XEmacs 21.4.6 "Common Lisp" is released.
7787 2001-12-16 Torsten Duwe <duwe@caldera.de>
7789 * search.c (Freplace_match): Add missing sub-expression functionality.
7791 * buffer.c (decode_buffer): Add a check for pointer type to
7792 decode_buffer, before gcc's CSE optimization reorders a
7793 dereference in front of the allow_string test.
7795 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7797 * window.c (window_loop): Fix bug that sometimes prevented
7798 window_loop() from iterating across multiple devices. Also, at
7799 Ben's request, changed infloop-detecting code to abort() instead
7800 of silently terminating window_loop().
7802 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7804 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7805 * editfns.c (make_time): New function.
7806 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7807 * lisp.h (make_time): Prototype and comment it.
7808 * dired.c (wasteful_word_to_lisp): Deprecate.
7809 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7811 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7813 * fileio.c (auto_save_1): Use current coding system, not
7816 2001-11-13 Ben Wing <ben@xemacs.org>
7819 * window.c (window_truncation_on):
7820 * window.c (syms_of_window):
7821 truncate-partial-width-windows should respect the buffer being
7822 displayed, like other redisplay vars.
7824 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
7826 * event-stream.c (Fread_key_sequence): save current buffer.
7828 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7830 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
7832 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
7834 * alloc.c (lcrecord_stats): Add space for types defined in modules.
7836 2001-10-26 Mike Alexander <mta@arbortext.com>
7838 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
7840 2001-10-25 Andy Piper <andy@xemacs.org>
7843 * dialog-msw.c (handle_directory_proc): new function.
7844 (handle_directory_dialog_box): new fucntion.
7845 (handle_file_dialog_box): use new directory dialog support.
7846 (mswindows_make_dialog_box_internal): ditto.
7847 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
7849 (mswindows_find_frame): make global.
7850 * fileio.c (Fexpand_file_name): build fix.
7851 * general-slots.h: add Qdirectory.
7852 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
7854 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
7855 cygwin not leaving win32 paths unchanged.
7856 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
7857 cygwin runtime to do path conversion.
7858 (Fmswindows_shell_execute): fix cygwin handling of URLs.
7859 (syms_of_win32): add new function.
7860 * window.c (window_loop): build fix.
7862 2001-10-15 Andy Piper <andy@xemacs.org>
7864 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
7866 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
7868 * XEmacs 21.4.5 "Civil Service" is released.
7870 2001-04-08 Danny Colascione <qtmstr@optonline.net>
7872 * glyphs-x.c: Force buffer-tab highlight update when moving the
7873 buffer, avoiding an ugly black border, used for keyboard focus
7874 indication, on a widget that can never have keyboard focus, the
7877 2001-08-30 Daiki Ueno <ueno@unixuser.org>
7879 * process-unix.c (unix_open_multicast_group): Remove too much
7880 conversion between host and network byte order.
7882 2001-09-10 Nix <nix@esperi.demon.co.uk>
7884 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
7885 before replacing them.
7887 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
7890 * src/window.c (undedicate_windows): Use it.
7891 * src/window.h: Add prototype.
7893 2001-09-17 Ben Wing <ben@xemacs.org>
7895 * fileio.c (normalize_filename):
7896 * fileio.c (Fexpand_file_name):
7897 Fix various C++ compile errors in Andy's recent code.
7899 * callint.c (Fcall_interactively):
7900 * editfns.c (Ftemp_directory):
7901 * editfns.c (Fuser_full_name):
7902 * emacs.c (argmatch):
7903 * lread.c (locate_file_map_suffixes):
7904 * redisplay-x.c (x_ring_bell):
7905 Fix sign-compare warnings.
7907 2001-09-08 Andy Piper <andy@xemacs.org>
7909 * fileio.c (normalize_filename): copied from nt.c
7910 * (Ffile_name_directory): enable win32 paths under cygwin.
7911 * (Ffile_name_nondirectory): ditto.
7912 * (directory_file_name): ditto.
7913 * (Fexpand_file_name): ditto.
7914 * (Ffile_truename): ditto.
7915 * (Fsubstitute_in_file_name): ditto.
7916 * (Ffile_name_absolute_p): ditto.
7917 * (Ffile_readable_p): ditto.
7919 2001-09-08 Andy Piper <andy@xemacs.org>
7921 * device-msw.c (mswindows_finish_init_device): remove dde
7923 * device-msw.c (mswindows_init_dde): factor out from
7924 mswindows_finish_init_device()
7925 * device-msw.c (init_mswindows_very_early): new function
7926 initialize but don't enable dde.
7927 * emacs.c (main_1): call init_mswindows_very_early.
7929 * event-msw.c (mswindows_dde_callback): only execute when we are
7931 * symsinit.h: declare init_mswindows_very_early.
7933 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
7935 [sjt: This has been in 21.5 for months with no complaints.]
7937 * console.h (struct console_methods): Added flags member.
7938 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
7939 (CONMETH_IMPL_FLAG):
7940 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
7941 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7943 * device.c (window_system_pixelated_geometry): Use the above macros.
7945 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
7946 implememntation flag.
7947 * device.h (DEVICE_DISPLAY_P): Use it.
7949 * frame.c (delete_frame_internal): Use the above macro.
7951 * redisplay.c (redisplay_device): Use it.
7952 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
7953 (redisplay_frame): Ditto.
7955 * device-msw.c (mswindows_device_implementation_flags): Removed.
7956 (msprinter_device_implementation_flags): Removed.
7957 (console_type_create_device_mswindows): Removed references to
7958 implementation_flags methods, set implementation flags here.
7959 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
7961 * device-gtk.c (gtk_device_implementation_flags): Removed method.
7962 (console_type_create_device_gtk): Removed method declaration.
7963 Added commented out statement which semantically matches the
7964 commented out statement in the above removed method.
7966 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
7968 The attached patch fixes a few warnings.
7970 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
7971 * src/frame-gtk.c: guard against GNOME calls in GTK only
7972 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
7973 * src/select-gtk.c: prototype lisp_to_time
7975 2001-06-08 Ben Wing <ben@xemacs.org>
7977 ------ gc-in-window-procedure fixes ------
7980 * alloc.c (struct post_gc_action):
7981 * alloc.c (register_post_gc_action):
7982 * alloc.c (run_post_gc_actions):
7983 * alloc.c (garbage_collect_1):
7984 Create "post-gc actions", to avoid those dreaded "GC during window
7985 procedure" problems.
7988 Abort, clean and simple, when GC in window procedure. We want
7989 to flush these puppies out.
7992 * glyphs-msw.c (finalize_destroy_window):
7993 * glyphs-msw.c (mswindows_finalize_image_instance):
7994 Use a post-gc action when destroying subwindows.
7997 Declare register_post_gc_action().
8000 * scrollbar-msw.c (unshow_that_mofo):
8001 Use a post-gc action when unshowing scrollbar windows, if in gc.
8003 * redisplay.c (mark_redisplay):
8004 Add comment about the utter evilness of what's going down here.
8006 ------ cygwin setitimer fixes ------
8008 * Makefile.in.in (sheap_objs):
8009 * Makefile.in.in (profile_objs):
8010 * Makefile.in.in (objs):
8011 Compile profile.c only when HAVE_SETITIMER.
8013 * nt.c (mswindows_sigset):
8014 * nt.c (mswindows_sighold):
8015 * nt.c (mswindows_sigrelse):
8016 * nt.c (mswindows_sigpause):
8017 * nt.c (mswindows_raise):
8018 * nt.c (close_file_data):
8022 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8025 * profile.c (Fstart_profiling):
8026 * profile.c (Fstop_profiling):
8027 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8028 instead of just plain setitimer().
8031 * signal.c (set_one_shot_timer):
8033 Define qxe_setitimer() as an encapsulation around setitimer() --
8034 call setitimer() directly unless Cygwin or MS Win, in which case
8035 we use our simulated version in win32.c.
8038 * systime.h (struct itimerval):
8039 * systime.h (ITIMER_REAL):
8040 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8041 comment about "qxe" and the policy regarding encapsulation.
8044 * win32.c (setitimer_helper_proc):
8045 * win32.c (setitimer_helper_period):
8046 * win32.c (setitimer_helper):
8047 * win32.c (mswindows_setitimer):
8048 Move setitimer() emulation here, so Cygwin can use it.
8049 Rename a couple of functions and variables to be longer and more
8050 descriptive. In setitimer_helper_proc(), send the signal
8051 using either mswindows_raise() or (on Cygwin) kill(). If for
8052 some reason we are still getting lockups, we'll change the kill()
8053 to directly invoke the signal handlers.
8055 ------ windows shell fixes ------
8059 Comments about how these two files must die.
8061 * callproc.c (init_callproc):
8062 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8063 not just COMSPEC. (more correct and closer to FSF.) Don't
8064 force a value for SHELL into the environment. (Comments added
8065 to explain why not.)
8067 * nt.c (init_user_info):
8068 Don't shove a fabricated SHELL into the environment. See above.
8070 2001-06-01 Ben Wing <ben@xemacs.org>
8072 * Makefile.in.in (ldflags):
8073 eliminate that pesky "defaulting to 00401000" warning.
8077 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8079 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8080 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8082 2001-04-24 Jerry James <james@xemacs.org>
8084 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8087 2001-06-01 Ben Wing <ben@xemacs.org>
8089 * event-msw.c (debug_mswin_messages):
8090 conditionalize the messages that were causing compile errors.
8091 (if only macros could generate #ifdef statements ...)
8093 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8095 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8097 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8099 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8101 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8103 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8104 * process-unix.c (unix_canonicalize_host_name):
8105 sysdep.c (init_system_name):
8106 Use it to conditionally support IPv6 canonicalization.
8108 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8111 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8113 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8115 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8116 attempt is made to scroll when no scroll bar is available.
8118 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8120 * input-method-motif.c (XIM_delete_frame): New callback.
8121 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8122 got deleted from 21.4.3.)
8124 2001-06-01 Ben Wing <ben@xemacs.org>
8126 * nt.c (mswindows_utime):
8127 * nt.c (close_file_data):
8128 fix off-by-one-indirection error.
8130 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8132 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8133 because set_file_times() now takes Lisp_Object path, instead of
8135 * nt.c: Include buffer.h.
8136 * nt.c (convert_from_time_t): New.
8137 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8138 not set mtime correctly.
8139 * nt.h: Declare mswindows_utime().
8140 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8141 path, instead of char*.
8142 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8144 2001-05-30 Ben Wing <ben@xemacs.org>
8148 (Stephen, just take all event-msw.c patches. This includes
8149 the "iconify" fix below.)
8152 * event-msw.c (mswindows_dequeue_dispatch_event):
8153 * event-msw.c (assert):
8154 * event-msw.c (emacs_mswindows_quit_p):
8155 * event-msw.c (debug_mswin_messages):
8156 * event-msw.c (debug_output_mswin_message):
8157 * event-msw.c (vars_of_event_mswindows):
8158 Fix yet more problems with C-g handling.
8159 Implement debug-mswindows-events.
8161 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8163 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8165 2001-05-23 Ben Wing <ben@xemacs.org>
8167 * event-msw.c (winsock_writer):
8168 * event-msw.c (winsock_closer):
8169 prior kludgy code was clobbering the buffer, thinking it was
8170 "unused" space to store an unneeded return value; instead, use
8171 the variable we've already got staring us in the face.
8173 2001-05-17 Andy Piper <andy@xemacs.org>
8175 * sysfile.h: don't assume that file attributes are boolean
8177 2001-05-23 Ben Wing <ben@xemacs.org>
8179 * device-msw.c (msprinter_init_device):
8180 signal an error rather than crash with an unavailable network
8181 printer (from Mike Alexander).
8184 * event-msw.c (struct winsock_stream):
8185 * event-msw.c (winsock_writer):
8186 * event-msw.c (winsock_closer):
8187 * event-msw.c (make_winsock_stream_1):
8188 cleanup headers. fix (hopefully) an error with data corruption
8189 when sending to a network connection.
8191 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8192 to handle the ~user prefix by (a) always assuming we're referencing
8193 ourselves and not even verifying the user -- hence any file with
8194 a tilde as its first char is invalid! (b) if there wasn't a slash
8195 following the filename, the pointer was set *past* the end of
8196 file and we started reading from uninitialized memory. Now we
8197 simply treat these as files, always.
8199 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8201 2001-05-19 Ben Wing <ben@xemacs.org>
8203 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8206 * process-nt.c (vars_of_process_nt):
8207 remove unused mswindows-quote-process-args. rec for 21.4.
8209 2001-05-12 Ben Wing <ben@xemacs.org>
8211 * event-msw.c (mswindows_dde_callback):
8212 * event-msw.c (mswindows_wnd_proc):
8213 eliminate cygwin warnings.
8215 2001-05-06 Ben Wing <ben@xemacs.org>
8219 * device-msw.c (print_dialog_worker):
8220 * device-msw.c (mswindows_handle_print_dialog_box):
8221 * device-msw.c (syms_of_device_mswindows):
8222 * dialog-msw.c (mswindows_make_dialog_box_internal):
8224 implement printing the selection when it's selected.
8226 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8228 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8230 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8232 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8233 EMACS_INT is signed.
8235 2001-04-15 Michael Lausch <mla@1012surf.net>
8237 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8238 gtk_widget_request_size() to give scrollbar >0 width for
8241 2001-05-30 William M. Perry <wmperry@gnu.org>
8243 * event-gtk.c: Check for buttons as modifier keys.
8245 2001-05-25 Craig Lanning <CraigL@Knology.net>
8248 Properly find MinGW's <process.h> inside Cygwin's restructured
8249 include directories. Don't try to include <cygwin/version.h>
8250 since we are dropping support for MinGW in versions of Cygwin
8253 Drop support for MinGW in versions of Cygwin before b21.
8255 Properly find MinGW's <process.h> inside Cygwin's restructured
8256 include directories.
8258 Drop support for MinGW in versions of Cygwin before b21.
8260 Even though a.out.h is no longer detected by configure, allow
8261 MinGW to use it until we figure out how to do the job with Win32.
8263 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8265 * syntax.c (find_start_of_comment):
8266 Fix `unbalanced parentheses' bug when dealing with mixed comment
8267 styles in c++/java/etc. mode
8269 2001-05-29 Mike Alexander <mta@arbortext.com>
8271 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8272 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8274 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8276 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8278 2001-03-31 Mike Sperber <mike@xemacs.org>
8280 * search.c (Freplace_match): Support FSF-style specification of
8281 match subexpression when applied to a buffer.
8283 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8285 * event-stream.c (is_scrollbar_event): add missing semicolon
8287 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8289 * Makefile.in.in: Use TAR macro instead of hardcoding
8290 tar. Allows use of GNU tar instead of system tar
8292 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8294 * event-stream.c (is_scrollbar_event): add missing semicolon
8296 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8298 * XEmacs 21.4.3 "Academic Rigor" is released.
8300 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8302 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8304 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8306 * buffer.c (Vcase_fold_search): Remove obsolete
8307 comment about non ASCII case-fold-search. This
8308 bug has been fixed by case-table changes.
8310 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8312 * event-msw.c: Restore include of events-mod.h.
8314 2001-04-22 zhaoway <zw@debian.org>
8316 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8319 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8321 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8323 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8325 * mule-charset.c (Fmake_charset): Add missing else.
8327 2001-04-23 Ben Wing <ben@xemacs.org>
8329 * event-msw.c (FAKE_MOD_QUIT):
8330 * event-msw.c (mswindows_dequeue_dispatch_event):
8331 * event-msw.c (mswindows_wnd_proc):
8332 * event-msw.c (emacs_mswindows_quit_p):
8333 Get critical quit working.
8335 2001-05-05 Ben Wing <ben@xemacs.org>
8339 * device-msw.c (mswindows_get_default_margin):
8340 * frame-msw.c (mswindows_size_frame_internal):
8341 * frame-msw.c (msprinter_init_frame_1):
8342 * frame-msw.c (vars_of_frame_mswindows):
8343 Change top/bottom margin defaults to 0.5 inches.
8345 2001-05-01 Martin Buchholz <martin@xemacs.org>
8347 Fix link error with gcc 3.0 on Linux.
8348 * terminfo.c (UP): Remove.
8349 * terminfo.c (BC): Remove.
8350 * terminfo.c (PC): Remove.
8351 They weren't used, and in any case, these symbols should be
8352 defined in the *library*.
8354 2001-05-03 Martin Buchholz <martin@xemacs.org>
8356 * s/aix4.h: Fix crash with xlc -O3.
8357 Improve comment explaining how -O3 works.
8359 2001-04-15 Ben Wing <ben@xemacs.org>
8362 * event-stream.c (Fnext_event):
8363 * event-stream.c (is_scrollbar_event):
8364 * event-stream.c (execute_command_event):
8365 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8366 crash' problem. His fix introduces other problems. We filter
8367 out scrollbar events specifically, making them somewhat invisible
8368 to command-building, and not appearing in `this-command-keys'.
8369 More work is still needed (see comments in event-stream.c), but
8370 this fixes all the major problems.
8372 2001-04-20 Ben Wing <ben@xemacs.org>
8374 * .cvsignore: Added stuff for Windows.
8376 2001-04-28 Ben Wing <ben@xemacs.org>
8378 * buffer.c (Ferase_buffer):
8379 * editfns.c (buffer_insert1):
8380 * editfns.c (Finsert_before_markers):
8381 * editfns.c (Finsert_string):
8382 * editfns.c (Finsert_char):
8383 * editfns.c (Fdelete_region):
8384 * editfns.c (Fwiden):
8385 * editfns.c (Fnarrow_to_region):
8386 remove bogus lines setting zmacs_region_stays to 0.
8388 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8390 * process-unix.c (unix_open_network_stream): If connect() fails
8391 invalidate file descriptor after closing it.
8393 2001-03-08 Mike Alexander <mta@arbortext.com>
8395 * event-msw.c (mswindows_need_event_in_modal_loop):
8396 Don't dispatch a message if we didn't get one.
8397 (mswindows_need_event):
8398 Terminate the correct process when one exits instead of the first
8399 one on Vprocess_list and look for process termination when in
8400 mswindows_protect_modal_loop.
8402 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8404 * XEmacs 21.4.1 "Copyleft" is released.
8406 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8408 * input-method-motif.c (XIM_delete_frame): New callback.
8409 (XIM_init_frame): Register it.
8411 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8413 * XEmacs 21.4.0 "Solid Vapor" is released.
8415 2001-04-15 Ben Wing <ben@xemacs.org>
8417 * cmdloop.c (call_command_loop):
8418 Fix braino in bit-rotting code.
8420 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8422 * extents.c (Fset_extent_endpoints): Force creation of extent info
8423 in buffer_or_string.
8425 * extents.c (process_extents_for_insertion_mapper): Correctly
8426 check for open-open zero-length extents.
8428 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8430 * lisp.h: New typedefs Memory_count, Element_count.
8433 Sign-compare warning elimination: several unsigned -> signed.
8434 Based on work by Ben Wing <ben@xemacs.org>.
8436 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8438 * XEmacs 21.2.47 "Zephir" is released.
8440 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8442 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8444 2001-04-03 Mike Sperber <mike@xemacs.org>
8446 * search.c: Revert previous patch due because of release.
8448 2001-03-30 Ben Wing <ben@xemacs.org>
8451 Add missing killpg prototype.
8454 Add a comment about fixing problems when a new entry is added
8457 * frame-msw.c (mswindows_init_frame_1):
8458 Fix compile warnings.
8460 * menubar.c (vars_of_menubar):
8461 Provide `menu-accelerator-support' to indicate that we properly
8462 support %_ in menu specifications, so that package code can
8463 conditionalize on this (and remove %_ from menu specifications
8468 * scrollbar-msw.c (can_scroll):
8470 Fix handling of mouse wheel under Windows to follow standards --
8471 now scrolls window under pointer, not selected window.
8473 2001-03-31 Mike Sperber <mike@xemacs.org>
8475 * search.c (Freplace_match): Support FSF-style specification of
8476 match subexpression when applied to a buffer.
8478 2001-03-15 Martin Buchholz <martin@xemacs.org>
8480 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8481 function to modify KEYMAP, so map over a copy of the hash table.
8483 2001-03-21 Martin Buchholz <martin@xemacs.org>
8485 * XEmacs 21.2.46 "Urania" is released.
8487 2001-03-20 Dan Holmsand <dan@eyebee.com>
8489 * realpath.c (xrealpath): Make file-truename work with symlinks to
8490 /cygdrive paths on cygwin. Always lowercase drive-letters on
8492 (cygwin_readlink): Don't try to find canonical filename unless
8495 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8497 * ChangeLog: Log GTK merge.
8503 Revert gratuitous whitespace changes from GTK merge.
8505 * emacs.c: Document end of complex #ifdef @ l. 1495.
8508 2001-03-12 Andy Piper <andy@xemacs.org>
8510 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8511 have to do likewise.
8513 2001-03-12 Andy Piper <andy@xemacs.org>
8515 * sysdep.c: we only support mingw now.
8517 2001-03-09 Andy Piper <andy@xemacs.org>
8519 * unexcw.c (copy_executable_and_dump_data_section): making approx
8520 overrun a warning only.
8522 2001-03-10 William M. Perry <wmperry@aventail.com>
8524 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8525 satisfy Stephen's identical-after-cpp plea.
8527 2001-03-02 Ben Wing <ben@xemacs.org>
8530 * cmds.c (Fforward_char):
8534 Augment documentation of the most common motion commands to make
8535 note of the shifted-motion support.
8537 2001-03-02 Ben Wing <ben@xemacs.org>
8539 * nt.c (mswindows_fstat):
8540 * nt.c (mswindows_stat):
8541 * search.c (boyer_moore):
8542 Fix compile warnings under Windows.
8544 * sysdep.c (sys_readdir):
8545 Fix buggy filename-conversion code under Mule.
8547 2001-03-09 William M. Perry <wmperry@aventail.com>
8569 * redisplay-output.c:
8575 The Great GTK Merge.
8582 * emacs-widget-accessors.c:
8596 * native-gtk-toolbar.c:
8607 The Great GTK Merge: new files.
8609 2001-02-26 Ben Wing <ben@xemacs.org>
8611 Reapplied Lstream change.
8613 2001-02-26 Ben Wing <ben@xemacs.org>
8615 Undid the last change, since it is more controversial than I
8616 thought. It should be back in at some point soon.
8618 2001-02-25 Ben Wing <ben@xemacs.org>
8621 * callproc.c (Fold_call_process_internal):
8622 * event-msw.c (ntpipe_slurp_reader):
8623 * event-msw.c (ntpipe_shove_writer):
8624 * event-msw.c (winsock_reader):
8625 * event-msw.c (winsock_writer):
8627 * file-coding.c (detect_eol_type):
8628 * file-coding.c (detect_coding_type):
8629 * file-coding.c (determine_real_coding_system):
8630 * file-coding.c (Fdetect_coding_region):
8631 * file-coding.c (decoding_reader):
8632 * file-coding.c (decoding_writer):
8633 * file-coding.c (mule_decode):
8634 * file-coding.c (Fdecode_coding_region):
8635 * file-coding.c (encoding_reader):
8636 * file-coding.c (encoding_writer):
8637 * file-coding.c (mule_encode):
8638 * file-coding.c (Fencode_coding_region):
8639 * file-coding.c (detect_coding_sjis):
8640 * file-coding.c (decode_coding_sjis):
8641 * file-coding.c (encode_coding_sjis):
8642 * file-coding.c (detect_coding_big5):
8643 * file-coding.c (decode_coding_big5):
8644 * file-coding.c (encode_coding_big5):
8645 * file-coding.c (detect_coding_ucs4):
8646 * file-coding.c (decode_coding_ucs4):
8647 * file-coding.c (encode_coding_ucs4):
8648 * file-coding.c (detect_coding_utf8):
8649 * file-coding.c (decode_coding_utf8):
8650 * file-coding.c (encode_coding_utf8):
8651 * file-coding.c (detect_coding_iso2022):
8652 * file-coding.c (decode_coding_iso2022):
8653 * file-coding.c (encode_coding_iso2022):
8654 * file-coding.c (decode_coding_no_conversion):
8655 * file-coding.c (encode_coding_no_conversion):
8656 * glyphs-x.c (write_lisp_string_to_temp_file):
8657 * gpmevent.c (tty_get_foreign_selection):
8660 * lstream.c (Lstream_flush_out):
8661 * lstream.c (Lstream_adding):
8662 * lstream.c (Lstream_write_1):
8663 * lstream.c (Lstream_write):
8664 * lstream.c (Lstream_raw_read):
8665 * lstream.c (Lstream_read_more):
8666 * lstream.c (Lstream_read):
8667 * lstream.c (Lstream_unread):
8668 * lstream.c (Lstream_fputc):
8669 * lstream.c (stdio_reader):
8670 * lstream.c (stdio_writer):
8671 * lstream.c (filedesc_reader):
8672 * lstream.c (filedesc_writer):
8673 * lstream.c (lisp_string_reader):
8674 * lstream.c (struct fixed_buffer_stream):
8675 * lstream.c (make_fixed_buffer_input_stream):
8676 * lstream.c (make_fixed_buffer_output_stream):
8677 * lstream.c (fixed_buffer_reader):
8678 * lstream.c (fixed_buffer_writer):
8679 * lstream.c (struct resizing_buffer_stream):
8680 * lstream.c (resizing_buffer_writer):
8681 * lstream.c (dynarr_writer):
8682 * lstream.c (lisp_buffer_reader):
8683 * lstream.c (lisp_buffer_writer):
8685 * lstream.h (lstream_implementation):
8686 * lstream.h (struct lstream):
8688 * process-nt.c (nt_send_process):
8689 * process-unix.c (unix_send_process):
8691 Correct Lstream lossage due to mixing of signed and unsigned
8692 quantities. All Lstream uses of size_t and ssize_t are now a
8693 single signed data type Lstream_data_count. This fixes problems
8694 under Windows with sending large quantities of data to a process,
8695 and may well fix other subtle bugs.
8697 2001-02-23 Martin Buchholz <martin@xemacs.org>
8699 * XEmacs 21.2.45 "Thelxepeia" is released.
8701 2001-02-21 Martin Buchholz <martin@xemacs.org>
8703 * lisp-union.h (XSETINT):
8706 Reverse previous change of 2001-02-06.
8708 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8710 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8712 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8713 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8714 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8715 * regex.c (POS_AS_IN_BUFFER): removed
8716 * regex.c (re_search_2):
8717 * regex.c (re_match_2):
8718 Don't use an offset of 1 when calculating buffer positions, since
8719 `BI_BUF_BEGV' does it already.
8721 2001-02-18 Wim Dumon <wim@easics.be>
8723 * insdel.c (prepare_to_modify_buffer): Also check for
8724 supersession when clash-detection is enabled.
8726 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8728 * regex.c (re_match_2_internal):
8729 Convert temp characters from 'const unsigned char' to 're_char'.
8730 Fix crashing bug with extended characters under mule.
8731 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8732 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8733 font-lock, pdump, and new syntax-table code.
8734 * syntax.c (find_start_of_comment):
8735 (find_end_of_comment):
8737 Fix crashing bugs involving moving beyond end of buffer.
8738 * syntax.c (find_start_of_comment):
8739 Fixed logic to allow proper detection of cases where the same
8740 character is used to end both a two-char comment start and a
8741 two-char comment end sequence. Fixes `(forward-comment -1)'.
8742 * syntax.c (find_start_of_comment):
8743 Return position just past last comment-end character for all cases
8744 (previously was only done for two-char comment-end sequences).
8745 * syntax.c (forward-comment):
8746 Take value returned from `find_end_of_comment', rather than
8748 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8749 Properly deal with BUFFERP (syntax_cache.object)
8751 2001-02-17 Martin Buchholz <martin@xemacs.org>
8753 * alloc.c (Fgarbage_collect):
8754 * alloc.c (make_bit_vector_from_byte_vector):
8755 -Wsign-compare-correctness.
8757 2001-02-16 Martin Buchholz <martin@xemacs.org>
8759 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8760 (XSETCHAR): Likewise.
8761 (XSETOBJ): Likewise.
8763 2001-02-15 Martin Buchholz <martin@xemacs.org>
8765 * mule-canna.c (canna-func-delete_previous):
8766 Rename to canna-func-delete-previous.
8768 2001-02-14 Martin Buchholz <martin@xemacs.org>
8770 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8772 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8774 * font-lock.c (find_context): Fix C++ compile errors introduced by
8777 2001-02-13 Martin Buchholz <martin@xemacs.org>
8779 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8780 pragma, but earlier ones barf on the same pragma.
8782 2001-02-06 Mike Sperber <mike@xemacs.org>
8784 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8785 `configure-mule-lisp-directory'.
8787 2001-02-12 Martin Buchholz <martin@xemacs.org>
8789 Make sure dump-id.c is compiled in the same way as other .c's.
8790 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8791 * dump-id.h: Remove.
8792 * emacs.c: Move dump-id.h into dumper.h.
8793 * dumper.h: Move dump-id.h into dumper.h.
8795 Use standard .c.o rule for building dump-id.o.
8796 Remove preprocessor flags from link command.
8797 Add dump-id.o to ${otherobjs} if PDUMP.
8799 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8801 Port FSF 20.7 syntax table improvements.
8805 Fixups for new syntax table stuff.
8806 * dired.c: Include syntax.c.
8807 (Fdirectory_files): Initialize regex_match_object and
8809 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8810 and Fget_char_property.
8812 Use ported FSF 20.7 syntax table improvements.
8817 2001-02-09 Martin Buchholz <martin@xemacs.org>
8819 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8820 Unixware's enum boolean from sys/types.h.
8822 2001-02-10 Martin Buchholz <martin@xemacs.org>
8824 Fix support for building with latest Purify.
8825 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
8826 (PURIFY_FLAGS): Likewise.
8828 2001-02-09 Martin Buchholz <martin@xemacs.org>
8830 * fileio.c (lisp_string_set_file_times): New.
8831 * fileio.c (Fcopy_file): Use it.
8833 (copy-file filename non-ascii-filename t t)
8834 ==> No such file or directory, non-ascii-filename
8836 2001-02-10 Martin Buchholz <martin@xemacs.org>
8838 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
8839 USHRT_MAX seems clearer than ~0 anyways.
8841 2001-02-09 Martin Buchholz <martin@xemacs.org>
8843 dumper improvements. Inspired by Olivier.
8844 * dumper.c (pdump_max_align): New.
8845 * dumper.c (pdump_add_entry): Use pdump_max_align.
8846 * dumper.c (pdump_get_entry_list): Likewise.
8847 * dumper.c (pdump_scan_by_alignment): Likewise.
8848 Don't iterate through unnecessary alignments.
8849 * dumper.c (pdump_file_get): No need to align result of malloc().
8850 * dumper.c (pdump_mallocadr): Remove.
8851 The result of malloc() is guaranteed to be maximally aligned.
8852 * dumper.c: s/elmt/elt/g;
8853 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
8854 * dumper.c (pdump_alert_undump_object): Likewise.
8855 * dumper.c (pdump_align_table):
8856 Don't support alignments > 64.
8857 Store ALIGNOF's, not shift counts, in table.
8859 2001-02-09 Martin Buchholz <martin@xemacs.org>
8861 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
8862 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
8863 * systime.h: Use HAVE_UTIME.
8864 * sysdep.c (struct utimbuf): Remove.
8865 * sysdep.c (set_file_times): Prefer utime() to utimes().
8866 * config.h.in (HAVE_UTIME): New.
8867 * config.h.in (HAVE_UTIME_H): Remove.
8868 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
8870 2001-02-09 Martin Buchholz <martin@xemacs.org>
8872 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
8874 2001-02-08 Martin Buchholz <martin@xemacs.org>
8876 * s/irix6-0.h: Use the standard system memmove, not bcopy.
8878 2001-02-08 Martin Buchholz <martin@xemacs.org>
8880 * XEmacs 21.2.44 "Thalia" is released.
8882 2001-02-06 Martin Buchholz <martin@xemacs.org>
8884 Fixes crashes in kill-emacs on some systems.
8885 * process-unix.c (unix_kill_child_process):
8886 It's OK for kill() to fail with ESRCH.
8888 2001-02-07 Martin Buchholz <martin@xemacs.org>
8890 Contortions to make .gdbinit tricks work on most systems.
8891 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
8892 * alloc.c (dbg_valmask): Make non-const.
8893 * alloc.c (dbg_typemask): Make non-const.
8894 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
8895 * alloc.c (dbg_valbits): Make non-const.
8896 * alloc.c (dbg_gctypebits): Make non-const.
8897 * .gdbinit (decode_object): Make it work with AIX cc.
8899 2001-02-06 Martin Buchholz <martin@xemacs.org>
8901 * elhash.c (make_general_lisp_hash_table):
8902 Use simpler and more efficient calloc to clear entries.
8904 2001-02-07 Martin Buchholz <martin@xemacs.org>
8906 * window.c (window_scroll): Work around an AIX C compiler bug.
8907 Fixes 'scroll-up' does nothing problem with xlC.
8909 2001-02-05 Martin Buchholz <martin@xemacs.org>
8911 * .gdbinit: Remove obsolete comment.
8913 2001-01-31 Mike Alexander <mta@arbortext.com>
8915 * select.c (Fown_selection_internal): Set owned_p for device
8918 2001-02-01 Martin Buchholz <martin@xemacs.org>
8921 "not" cannot be used as a macro name as it is an operator in C++
8922 * config.h.in: Stop #defining `not'.
8923 * chartab.c (check_category_char): not ==> not_p
8924 * chartab.h: Likewise.
8925 * regex.c (re_match_2_internal): Likewise.
8927 2001-02-02 Martin Buchholz <martin@xemacs.org>
8929 * lisp-disunion.h: Fix up comments.
8931 2001-01-31 Martin Buchholz <martin@xemacs.org>
8933 * keymap.c (define_key_check_and_coerce_keysym):
8935 Support mouse-6 and mouse-7 bindings in the obvious way.
8937 2001-02-01 Martin Buchholz <martin@xemacs.org>
8939 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
8941 2001-01-30 Martin Buchholz <martin@xemacs.org>
8943 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
8944 Previous patch missed DEFVAR_INT_MAGIC.
8945 Make sure future DEFVAR_foo use correct types.
8946 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
8947 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
8948 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
8949 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
8950 * (DEFVAR_INT): Likewise.
8951 * redisplay.c (vertical_clip): Should be of type Fixnum.
8952 * redisplay.c (horizontal_clip): Likewise.
8953 * lisp.h (dump_add_opaque_int): New.
8954 (dump_add_opaque_fixnum): New.
8956 2001-01-29 Andy Piper <andy@xemacs.org>
8958 * glyphs-widget.c (check_valid_int_or_function): allow symbols
8959 since they can be eval'ed
8961 2001-01-29 Martin Buchholz <martin@xemacs.org>
8963 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
8964 Oops, XEmacs redefines `class'. Use `typename' instead.
8966 2001-01-28 Martin Buchholz <martin@xemacs.org>
8968 * dumper.c: Fix C++ compile errors.
8970 2001-01-29 Martin Buchholz <martin@xemacs.org>
8972 * tparam.c: Use correct prototypes.
8974 2001-01-28 Martin Buchholz <martin@xemacs.org>
8976 * sysproc.h: #include util.h for NetBSD's openpty.
8978 2001-01-27 Martin Buchholz <martin@xemacs.org>
8980 More 64-bit correctness.
8981 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
8982 Use a typedef `fixnum' for the type used for DEFVAR_INT.
8984 This finally finishes the 64-bit SGI port.
8985 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
8986 * symbols.c: Fix up comments and type casts.
8987 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
8988 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
8989 * symeval.h (Fixnum): New type.
8990 * symeval.h (symbol_value_type): Fix up comment.
9006 * mule-canna.c: A million DEFVAR_INTs here...
9007 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9020 s/int/Fixnum/g in DEFVAR_INT declarations.
9022 2001-01-26 Martin Buchholz <martin@xemacs.org>
9024 Port pdump to SGI alignment-sensitive environment.
9025 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9026 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9028 Define and use aligned reading and writing macros.
9029 Use buffered stdio instead of posix i/o for faster dumping.
9030 Eliminate kludgy 256 byte space for header.
9031 Read and write from dump file using structs for alignment safety.
9032 * dumper.c (pdump_align_stream): New.
9033 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9034 * dumper.c (PDUMP_READ_ALIGNED): New.
9035 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9036 * dumper.c (pdump_static_Lisp_Object): New struct.
9037 * dumper.c (pdump_static_pointer): New struct.
9038 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9039 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9040 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9041 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9043 * dumper.c (pdump_backtrace):
9044 * dumper.c (pdump_get_indirect_count):
9045 * dumper.c (pdump_register_object):
9046 * dumper.c (pdump_register_struct):
9047 * dumper.c (pdump_reloc_one):
9048 * dumper.c (pdump_scan_by_alignment):
9049 * dumper.c (pdump_dump_from_root_struct_ptrs):
9050 * dumper.c (pdump_dump_opaques):
9051 * dumper.c (pdump_dump_rtables):
9052 * dumper.c (pdump_dump_from_root_objects):
9054 * dumper.c (pdump_load_finish):
9055 Use aligned reading and writing.
9057 * dumper.c (pdump_free): Make static.
9058 * dumper.c (pdump_hFile): Likewise.
9059 * dumper.c (pdump_hMap): Likewise.
9061 2001-01-26 Martin Buchholz <martin@xemacs.org>
9063 * XEmacs 21.2.43 "Terspichore" is released.
9065 2001-01-25 Martin Buchholz <martin@xemacs.org>
9067 Type fiddling for window_config.saved_windows_count
9068 * window.c (struct window_config):
9069 Make saved_windows_count member unsigned.
9070 * window.c (sizeof_window_config_for_n_windows):
9071 Make parameter unsigned.
9072 * window.c (mark_window_config):
9073 * window.c (window_config_equal):
9074 * window.c (free_window_configuration):
9075 * window.c (Fset_window_configuration):
9076 * window.c (count_windows):
9077 * window.c (Fcurrent_window_configuration):
9078 * window.c (reinit_vars_of_window):
9079 Update all callers and users.
9081 2001-01-25 Martin Buchholz <martin@xemacs.org>
9083 Alignment correctness for flexible arrays.
9084 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9085 Make alignment-correct. Add interesting comments.
9086 * alloc.c (size_vector):
9087 * alloc.c (make_vector_internal):
9088 * alloc.c (make_bit_vector_internal):
9089 * alloc.c (sweep_bit_vectors_1):
9090 * fns.c (size_bit_vector):
9091 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9092 * window.c (sizeof_window_config_for_n_windows):
9093 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9095 2001-01-24 Martin Buchholz <martin@xemacs.org>
9097 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9099 2001-01-23 Andy Piper <andy@xemacs.org>
9101 * select.c (Fown_selection_internal): pass owned_p
9103 * select-msw.c (mswindows_own_selection): New Signature.
9105 * console.h (struct console_methods): add owned_p to
9108 * select-x.c (x_own_selection): pass owned_p
9109 (hack_motif_clipboard_selection): use owned_p
9110 (vars_of_select_x): new variable -
9111 x_selection_strict_motif_ownership.
9113 2001-01-23 Martin Buchholz <martin@xemacs.org>
9115 * specifier.h (specifier_data_offset): Remove pointless parens.
9116 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9118 2001-01-24 Martin Buchholz <martin@xemacs.org>
9120 Make Lisp_Object sizeof methods be alignment-correct.
9121 pdump must restore objects to the same alignment as the C compiler
9122 assumes. It really matters on SGIs.
9123 * lstream.c (aligned_sizeof_lstream): New.
9124 (sizeof_lstream): Use aligned_sizeof_lstream.
9125 (Lstream_new): Likewise.
9126 * opaque.c (aligned_sizeof_opaque): New.
9127 (sizeof_opaque): Use aligned_sizeof_opaque.
9128 (make_opaque): Likewise.
9129 * specifier.c (aligned_sizeof_specifier): New.
9130 (sizeof_specifier): Use aligned_sizeof_specifier.
9131 (make_specifier_internal): Likewise.
9133 2001-01-23 Martin Buchholz <martin@xemacs.org>
9135 * lstream.h (struct lstream): Use max_align_t for trailing data.
9136 * specifier.h (struct Lisp_Specifier): Likewise.
9138 2001-01-22 Martin Buchholz <martin@xemacs.org>
9140 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9141 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9142 (CCL_SUSPEND): Likewise.
9143 (CCL_INVALID_CMD): Likewise.
9144 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9145 (ccl_driver): Likewise.
9146 (CCL_WRITE_CHAR): Macro hygiene.
9147 (CCL_WRITE_STRING): Macro hygiene.
9149 2001-01-22 Martin Buchholz <martin@xemacs.org>
9151 Port "portable" dumper to SunOS 4 and HP-UX.
9152 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9153 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9154 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9156 2001-01-22 Martin Buchholz <martin@xemacs.org>
9158 * lisp.h (ALIGNOF): A better definition for C++.
9160 2001-01-20 Martin Buchholz <martin@xemacs.org>
9163 Fix printf warnings: int format, long int arg.
9164 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9165 (PUSH_FAILURE_POINT): Use correct printf formats.
9166 (POP_FAILURE_POINT): Use correct printf formats.
9167 Use do {...} while (0)
9169 2001-01-20 Martin Buchholz <martin@xemacs.org>
9171 * XEmacs 21.2.42 "Poseidon" is released.
9173 2001-01-20 Martin Buchholz <martin@xemacs.org>
9175 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9177 2001-01-19 Martin Buchholz <martin@xemacs.org>
9179 De-kludgify FIXED_TYPE free list frobbing.
9180 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9181 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9182 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9183 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9184 * alloc.c (LRECORD_FREE_P): New.
9185 * alloc.c (MARK_LRECORD_AS_FREE): New.
9186 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9187 * alloc.c (STRUCT_FREE_P): Deleted.
9188 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9189 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9190 * alloc.c (STRING_CHARS_FREE_P): New.
9191 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9192 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9193 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9194 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9195 * alloc.c (resize_string): Use new definitions.
9196 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9197 * alloc.c (verify_string_chars_integrity): Use new definitions.
9198 * alloc.c (compact_string_chars): Use new definitions.
9199 * alloc.c: Update monster comments.
9200 * lrecord.h (lrecord_type): Add some new lrecord types for
9203 2001-01-18 Martin Buchholz <martin@xemacs.org>
9205 Improve alignment hackery.
9206 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9207 (max_align_t): Moved from opaque.h - general purpose.
9208 (ALIGN_PTR): Use size_t, not long.
9209 * opaque.h (max_align_t): Move to lisp.h.
9211 2001-01-18 Norbert Koch <nk@LF.net>
9213 * gui.h: Fix and add prototypes to fix build problems.
9215 2001-01-18 Martin Buchholz <martin@xemacs.org>
9217 temacs is going away, so `dump-temacs' is now a bad name.
9218 * .dbxrc (dump-temacs): Rename to `dmp'.
9219 * .gdbinit (dump-temacs): Rename to `dmp'.
9221 2001-01-17 Andy Piper <andy@xemacs.org>
9223 * glyphs.c (print_image_instance): comment to make martin happy.
9225 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9228 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9230 (mswindows_tab_control_redisplay): warning suppression.
9232 * glyphs-widget.c (widget_update): re-write to cope with updated
9234 (widget_instantiate): use new gui_item functions.
9235 (tab_control_update): deleted.
9236 (progress_gauge_update): deleted.
9237 (image_instantiator_progress_guage): take out update reference.
9238 (image_instantiator_tree_view): ditto.
9239 (image_instantiator_tab_control): ditto.
9241 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9243 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9244 return whether anything was changed.
9245 (update_gui_item_keywords): as it sounds.
9247 * gui.h: declare widget_gui_parse_item_keywords.
9249 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9250 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9252 2001-01-17 Martin Buchholz <martin@xemacs.org>
9254 * XEmacs 21.2.41 "Polyhymnia" is released.
9256 2001-01-16 Didier Verna <didier@xemacs.org>
9258 * glyphs.c (image_instantiate): don't use fallbacks when
9259 instantiating a face's background pixmap by inheritance.
9261 2001-01-14 Mike Sperber <mike@xemacs.org>
9263 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9264 Conditionalize accordingly.
9266 2001-01-16 Martin Buchholz <martin@xemacs.org>
9268 * dumper.c (pdump_file_get): Fix a compiler warning.
9270 2001-01-15 Martin Buchholz <martin@xemacs.org>
9272 Make Purify happy when pdumping.
9273 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9274 iniitalizing all bits of new lisp object memory.
9275 * symbols.c (Fmake_local_variable): Likewise.
9276 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9277 * symbols.c (Fdefvaralias): Likewise.
9278 * mule-charset.c (vars_of_mule_charset): Likewise.
9280 2001-01-15 Martin Buchholz <martin@xemacs.org>
9281 Add the `-nd' flag when running pre-dump operations under the debugger.
9282 * .dbxrc (run-temacs): Add `-nd'.
9283 * .dbxrc (update-elc): Likewise.
9284 * .dbxrc (dump-temacs): Likewise.
9285 * .gdbinit (run-temacs): Likewise.
9286 * .gdbinit (check-temacs): Likewise.
9287 * .gdbinit (update-elc): Likewise.
9288 * .gdbinit (dump-temacs): Likewise.
9290 2001-01-14 Martin Buchholz <martin@xemacs.org>
9292 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9293 export OBJECT_MODE=64
9294 configure --pdump --use-union-type=no
9295 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9296 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9298 * miscplay.c (sndcnv8U_2mono):
9299 Avoid two uses of `++' in the same expression.
9300 Suppresses a GCC warning.
9302 2001-01-13 Martin Buchholz <martin@xemacs.org>
9304 Make sure future compilers don't miscompile alloc.c.
9306 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9307 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9309 2001-01-12 Martin Buchholz <martin@xemacs.org>
9311 * dumper.c: A little post-pdump-rename comment fixup.
9313 2001-01-09 Jerry James <james@eecs.ku.edu>
9315 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9317 2001-01-13 Martin Buchholz <martin@xemacs.org>
9319 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9323 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9326 replace_symbol pdump_wire_lists pdump_weak_object_chains
9327 replace_symbol pdump_wire_list dump_add_weak_object_chain
9329 replace_symbol pdump_wires pdump_root_objects
9330 replace_symbol pdump_wire dump_add_root_object
9332 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9333 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9335 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9336 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9337 replace_symbol dumpstructinfo pdump_root_struct_ptr
9338 replace_symbol dumpstruct dump_add_root_struct_ptr
9340 replace_symbol dumpopaque dump_add_opaque
9341 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9342 replace_symbol dumpopaqueinfos pdump_opaques
9343 replace_symbol dumpopaqueinfo pdump_opaque
9345 replace_symbol nb_structdump nb_root_struct_ptrs
9346 replace_symbol nb_opaquedump nb_opaques
9348 replace_symbol align_table pdump_align_table
9349 replace_symbol dump_header pdump_header
9351 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9352 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9355 2001-01-12 Martin Buchholz <martin@xemacs.org>
9357 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9358 optimizing bytecount_to_charcount().
9360 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9363 (HAVE_DLFCN_H): Removed.
9364 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9366 2001-01-06 Martin Buchholz <martin@xemacs.org>
9368 Portable dumper maintainability improvements.
9369 * alloc.c (staticpro):
9370 * alloc.c (staticpro_nodump):
9371 * alloc.c (garbage_collect_1):
9372 * alloc.c (reinit_alloc_once_early):
9373 * alloc.c (init_alloc_once_early):
9374 * alloc.c: Move dumper functions to alloc.c.
9375 * dumper.c (pdump_backtrace):
9376 * dumper.c (pdump_dump_structs):
9377 * dumper.c (pdump_dump_opaques):
9378 * dumper.c (pdump_dump_rtables):
9379 * dumper.c (pdump_dump_wired):
9381 * dumper.c (pdump_load_check):
9382 * dumper.c (pdump_load_finish):
9383 * dumper.c (pdump_file_unmap):
9384 * dumper.c (pdump_file_get):
9385 * dumper.c (pdump_resource_free):
9386 * dumper.c (pdump_resource_get):
9387 * dumper.c (pdump_file_free):
9388 * dumper.c (pdump_file_try):
9389 * dumper.c (pdump_load):
9390 Remove fixed size limits on staticpro(), staticpro_nodump(),
9391 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9392 Remove custom code for dumping lrecord_implementations_table - use
9394 Remove (most of the) custom code for dumping staticpros - dump it
9395 like any other dynarr.
9397 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9398 * dumper.c: Moved functions from alloc.c.
9399 * alloc.c (dumpstruct): Moved to dumper.c.
9400 * alloc.c (dumpopaque): Likewise.
9401 * alloc.c (pdump_wire): Likewise.
9402 * alloc.c (pdump_wire_list): Likewise.
9404 * lisp.h (Dynarr_sizeof): New.
9405 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9406 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9407 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9409 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9410 * lisp.h (dumpopaque): ditto.
9411 * lisp.h (pdump_wire): ditto.
9412 * lisp.h (pdump_wire_list): ditto.
9414 2001-01-09 Martin Buchholz <martin@xemacs.org>
9416 * make-src-depend (PrintPatternDeps):
9417 Use `sort' to make output independent of perl version.
9419 2001-01-08 Martin Buchholz <martin@xemacs.org>
9422 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9423 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9425 2001-01-03 Didier Verna <didier@xemacs.org>
9427 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9428 that `focus_frame' is alive before thinking of calling
9429 `redisplay_redraw_cursor' on it.
9431 2001-01-08 Martin Buchholz <martin@xemacs.org>
9433 * XEmacs 21.2.40 is released.
9435 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9437 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9439 2001-01-06 Martin Buchholz <martin@xemacs.org>
9441 * alloc.c (dbg_valmask): Make const.
9442 * alloc.c (dbg_typemask): Make const.
9443 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9444 * alloc.c (dbg_valbits): Make const.
9445 * alloc.c (dbg_gctypebits): Make const.
9447 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9449 * redisplay-x.c (x_bevel_area):
9450 redisplay.h (struct rune):
9451 Typo fixes in comments.
9453 2001-01-05 Andy Piper <andy@xemacs.org>
9455 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9458 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9460 2001-01-05 Martin Buchholz <martin@xemacs.org>
9462 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9464 * mule-ccl.c (stack_idx_of_map_multiple):
9465 Non const global data must not be initialized!
9466 Found by MIYASHITA Hisashi.
9468 2001-01-02 Andy Piper <andy@xemacs.org>
9470 * frame.c (change_frame_size): make sure frame size is always
9473 * glyphs.c (image_instance_layout): minor code reuse.
9475 * window.c (Fcurrent_window_configuration): revert previous
9478 2001-01-02 Martin Buchholz <martin@xemacs.org>
9481 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9483 2000-12-31 Andy Piper <andy@xemacs.org>
9485 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9486 when widget gets unmapped.
9488 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9489 function. Make sure widgets losing focus don't just drop it.
9490 (handle_focus_event_1): record the widget with focus.
9492 2000-12-31 Andy Piper <andy@xemacs.org>
9494 * window.c (allocate_window): use
9495 make_image_instance_cache_hash_table.
9496 (make_dummy_parent): ditto.
9497 (Fset_window_configuration): ditto.
9499 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9501 * glyphs.c (process_image_string_instantiator): use
9503 (get_image_instantiator_governing_domain): ditto.
9504 (normalize_image_instantiator): ditto.
9505 (instantiate_image_instantiator): ditto.
9506 (make_image_instance_1): ditto.
9507 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9508 (instantiator_eq_equal): new function for use with instance hash
9510 (instantiator_eq_hash): ditto.
9511 (make_image_instance_cache_hash_table): create a suitable hash
9512 table for storing image instances.
9514 * elhash.h (hash_table_weakness): new internal weakness type
9515 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9516 declare new functions.
9518 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9519 another weakness type for glyphs.
9520 (make_standard_lisp_hash_table): new function split out from
9521 make_general_lisp_hash_table.
9522 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9523 (hash_table_instantiate): ditto.
9524 (Fmake_hash_table): ditto.
9526 2000-12-31 Martin Buchholz <martin@xemacs.org>
9528 * XEmacs 21.2.39 is released.
9530 2000-12-29 Andy Piper <andy@xemacs.org>
9532 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9534 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9535 the frame has changed so that we pick up geometry changes such as
9538 2000-12-28 Andy Piper <andy@xemacs.org>
9540 * lastfile.c (my_ebss): make a char array so we can pad the
9541 bss. Fixes cygwin unexec.
9543 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9545 2000-12-26 Andy Piper <andy@xemacs.org>
9547 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9548 comments and try and be more precise about a non-/SIGIO world.
9549 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9552 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9553 we don't normalize to zero width or height.
9555 2000-12-24 Andy Piper <andy@xemacs.org>
9557 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9559 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9561 * s/sco5.h: SCO 5 has pty support.
9563 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9565 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9566 input-method-xlib.c contains whole contents of input-method-xfs.c,
9567 so we can use input-method-xlib.c's code for USE_XFONTSET
9569 * input-method-xfs.c: removed.
9571 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9573 * file-coding.h (enum coding_category_type): reorder enumerators to
9574 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9575 (now one greater than largest real coding_category_type enumerator).
9576 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9577 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9578 Fcoding_category_list, Fset_coding_priority_list,
9579 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9580 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9582 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9584 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9585 * redisplay-output.c (redisplay_output_window): Clear top of window
9586 when face is changed.
9587 * redisplay-x.c (x_redraw_exposed_window): Call
9588 redisplay_clear_top_of_window.
9589 * redisplay.h: Publish redisplay_clear_top_of_window.
9591 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9593 * buffer.c (Fkill_buffer): Map over all devices.
9594 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9595 (list_windows): New function.
9596 (list_all_windows): Ditto.
9597 (Freplace_buffer_in_windows): Use them.
9599 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9601 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9602 (Fopen_database): Use `db_create' instead of `db_open'.
9603 (syms_of_database): Initialize Qqueue.
9605 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9607 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9608 buffer_local_face_property.
9609 * buffer.h (struct buffer): New member buffer_local_face_property.
9610 * window.c (Fset_window_buffer): Mark window's face as changed
9611 when buffer has buffer local face.
9612 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9613 * objects.c (color_after_change): Set buffer_local_face_property
9614 when locale of face specifier is buffer.
9615 * objects.c (font_after_change): Ditto.
9616 * objects.c (face_boolean_after_change): Ditto.
9617 * glyphs.c (image_after_change): Ditto.
9619 2000-12-09 Dan Holmsand <dan@eyebee.com>
9621 * nt.c (mswindows_fstat): Report file permissions, volume serial
9622 number, etc. Code adapted from FSF Emacs 20.7.
9624 2000-12-09 Dan Holmsand <dan@eyebee.com>
9626 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9627 of stat when we don't have symbolic links, to make sure
9628 mswindows_stat is called on mswindows.
9630 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9632 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9634 2000-12-12 Martin Buchholz <martin@xemacs.org>
9636 * doprnt.c (emacs_doprnt_1): More printing fixes.
9637 Make printing of numbers compatible with libc and FSF Emacs.
9638 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9639 Use the system printf to do most of the hard work of formatting,
9640 instead of doprnt_1().
9641 Calculate memory to allocate for format string.
9642 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9643 (doprnt_1): Cleaner code and documentation.
9645 2000-12-01 Jerry James <james@eecs.ukans.edu>
9647 * Makefile.in.in: Use the loop variable to install headers.
9649 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9651 * window.c (Fsplit_window): Don't invalidate face cache.
9653 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9655 * minibuf.c (Fall_completions): Undo the previous change
9656 which removed checking elements start with space.
9658 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9660 * mule-canna.c: Didier suppression.
9662 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9664 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9665 (warning suppression). Add English comment translations.
9667 2000-12-05 Martin Buchholz <martin@xemacs.org>
9669 * unexelfsgi.c (unexec): Better test for mmap failure.
9671 2000-12-05 Martin Buchholz <martin@xemacs.org>
9673 * XEmacs 21.2.38 is released.
9675 2000-12-05 Martin Buchholz <martin@xemacs.org>
9677 * redisplay.c (bar-cursor): Make a user variable.
9679 * symsinit.h: Add init_postgresql_from_environment.
9681 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9683 * regex.c: Convert to clean C.
9685 2000-12-05 Dan Holmsand <dan@eyebee.com>
9688 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9690 (sys_readlink): renamed to system_readlink to avoid conflict with
9691 the other sys_readlink.
9693 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9695 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9697 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9699 * postgresql.c (init_postgresql_from_environment): new function.
9700 (vars_of_postgresql): Move code initializing Lisp variables out and
9701 into init_postgresql_from_environment.
9702 emacs.c (main_1): Call init_postgresql_from_environment if and only
9703 if running a dumped XEmacs.
9705 2000-08-31 Dan Holmsand <dan@eyebee.com>
9707 * buffer.c: Make find-file-compare-truenames default to true on
9710 * realpath.c (win32_abs_start):
9712 (win32_readlink): New functions.
9713 (xrealpath): Return really real filenames on windows.
9715 * fileio.c (Ffile_truename): Make file-truename work on windows.
9717 2000-11-29 Didier Verna <didier@xemacs.org>
9719 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9720 * faces.c (update_face_cachel_data): use it.
9721 * faces.c (add_face_cachel): use it. Complete background pixmap
9722 frobbing in face cache if `update_face_cachel_data' has not done so.
9724 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9726 * search.c (string_match_1): Don't set last_thing_searched
9729 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9731 * buffer.c: Include casetab.h
9732 (common_init_complex_vars_of_buffer): Use new case-table object.
9733 * buffer.h: Include casetab.h
9734 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9735 (DOWNCASE_TABLE_OF): Ditto.
9736 * bufslots.h: Remove char-tables and add case-table.
9737 * casetab.c: Include casetab.h
9738 (CASE_TABLE_P): Removed.
9739 (mark_case_table): New function.
9740 (allocate_case_table): New function.
9741 (Fcase_table_p): Use new case-table.
9742 (case_table_char): New function.
9743 (Fget_case_table): Ditto.
9744 (Fput_case_table): Ditto.
9745 (Fput_case_table_pair): Ditto.
9746 (Fcopy_case_table): Ditto.
9747 (Fcurrent_case_table): Return case-table.
9748 (Fstandard_case_table): Return case-table.
9749 (Fset_case_table): Fix doc-string.
9750 (set_case_table): Use case-table
9751 (syms_of_casetab): DEFSUBR new functions.
9752 (complex_vars_of_casetab): Set up standard case-table.
9753 * casetab.h: New file.
9754 * editfns.c: Include casetab.h
9755 (Fcompare_buffer_substrings): Use case-table.
9756 * inline.c: Include casetab.h
9757 * lisp.h: Remove bogus extern.
9758 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9759 * search.c: Include casetab.h
9760 (TRANSLATE_ASCII): Removed.
9761 (TRANSLATE): Unconditionally translate character.
9762 (looking_at_1): Use case-table.
9763 (string_match_1): Ditto.
9764 (fast_string_match): Ditto.
9765 (search_command): Ditto.
9766 (search_buffer): Separate boyer_moore. Check whether
9767 boyer_moore is possible.
9768 (simple_search): New function.
9769 (boyer_moore): Separated from search_buffer. Translate char.
9771 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9773 * regex.c (RE_TR_ASCII): Removed.
9774 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9775 (PATFETCH): Call PATFETCH_RAW.
9776 (PATFETCH_RAW): Fetch Emchar.
9777 (PATUNFETCH): Decrement charptr.
9778 (GET_BUFFER_SPACE): Rename b to buf_end.
9780 (BUF_PUSH_2): Ditto.
9781 (BUF_PUSH_3): Ditto.
9782 (EXTEND_BUFFER): Ditto.
9783 (SET_LIST_BIT): Ditto.
9784 (regex_compile): Ditto. Translate non ASCII char.
9785 (compile_range): Ditto.
9786 (re_search_2): Ditto.
9787 (re_match_2_internal): Compare Emchar.
9788 (bcmp_translate): Ditto.
9790 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9792 * lisp.h (basic char/int typedefs): comment improvement.
9794 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9796 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9797 unstomp inhibit_site_lisp. Improve comments.
9799 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9801 * mule-charset.c (Fcharset_property): improve type checking, comments.
9803 2000-11-28 Andy Piper <andy@xemacs.org>
9805 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9806 clipped display for windows in the gutter also.
9807 (redisplay_display_boxes_in_window_p): change semantics of return
9808 codes to be more intuitive.
9810 * gutter.h: declare display_boxes_in_gutter_p.
9812 * gutter.c (display_boxes_in_gutter_p): new function for
9815 2000-11-22 Andy Piper <andy@xemacs.org>
9817 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9820 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9822 * callproc.c (Fold_call_process_internal):
9823 * gpm.c (Freceive_gpm_event):
9824 (tty_get_foreign_selection): Might be just warning supression.
9825 * fileio.c (Fwrite_region_internal):
9826 (Fset_visited_file_modtime):
9827 * keymap.c (event_matches_key_specifier_p):
9828 Initialize GCPROed variable.
9830 * menubar-x.c (command_builder_find_menu_accelerator):
9831 Initialize before use.
9833 2000-11-23 Andy Piper <andy@xemacs.org>
9835 * unexcw.c (unexec): make the resulting executable executable.
9837 2000-11-21 Martin Buchholz <martin@xemacs.org>
9839 * doc.c (get_doc_string):
9840 Use size_t, not int, for result of XSTRING_LENGTH.
9842 * cmds.c (Fdelete_char):
9843 * cmds.c (Fpoint_at_eol):
9844 * cmds.c (Fself_insert_command):
9845 Use EMACS_INT, not int, for result of XINT.
9846 Someday, someone will want to insert more than 2**31 identical characters.
9848 * cmds.c (Fdelete_char):
9849 * cmds.c (Fdelete_backward_char):
9850 * syntax.c (Fforward_word):
9851 * syntax.c (Fforward_comment):
9852 Make COUNT argument optional, for consistency with forward-char et al.
9854 2000-11-22 Martin Buchholz <martin@xemacs.org>
9857 * print.c (long_to_string):
9858 Return a useful value: the pointer at end of data written.
9861 Use `static const char * const' for constant strings.
9862 (union printf_arg): Delete `i', `ui' members.
9865 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
9866 Do all printf-ing via the `l' specifier.
9867 Use EMACS_INT instead of int.
9870 2000-11-20 Didier Verna <didier@xemacs.org>
9872 * faces.c (update_face_cachel_data): don't frob the background
9873 pixmap when the window is being created. The face is needed but
9876 2000-11-20 Andy Piper <andy@xemacs.org>
9878 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
9879 messing with a debug environment.
9881 2000-11-20 Martin Buchholz <martin@xemacs.org>
9883 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
9885 2000-11-20 Martin Buchholz <martin@xemacs.org>
9887 * casetab.c (Fcase_table_p): Fix compile error and crash.
9889 2000-11-18 Philip Aston <philipa@mail.com>
9891 * s/cygwin32.h: Cygwin has SVR4-like pty support.
9893 2000-11-18 Martin Buchholz <martin@xemacs.org>
9895 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
9896 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
9898 2000-11-17 Martin Buchholz <martin@xemacs.org>
9900 * config.h.in: Define HAVE_ELF_H if elf.h exists.
9901 * unexelf.c: Use HAVE_ELF_H.
9902 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
9903 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
9904 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
9905 Greg Harrington <greg_harrington@hotmail.com> provided a machine
9907 So this is an unexelfsgi.c from a different line of development.
9909 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9911 * regex.c (RE_TR_ASCII): New function.
9912 (RE_TRANSLATE): Call it.
9914 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
9916 * buffer.h (TRT_TABLE_OF): Remove assert.
9917 (IN_TRT_TABLE_DOMAIN): Removed.
9919 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
9921 * free-hook.c (log_gcpro):
9922 (show_gcprohist): Add support for GCPRO5.
9924 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
9926 * emacs.c (main_1): Improve -sd error message when --pdump=no.
9928 2000-11-16 Olivier Galibert <galibert@xemacs.org>
9930 * symeval.h: Declare flush_all_buffer_local_cache.
9932 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
9933 (flush_buffer_local_cache): Added.
9934 (flush_all_buffer_local_cache): Added.
9936 * lrecord.h: Remove unused XD_LO_RESET_NIL.
9938 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
9939 (pdump_dump_data): Ditto.
9940 (pdump_reloc_one): Ditto.
9941 (pdump): Remove unused pdump_qnil. Flush buffer local caches
9945 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9947 * buffer.c: Remove if 0'ed entry.
9948 * buffer.h: Rewrite TRT to use char-table.
9949 * bufslots.h: Remove mirror tables.
9950 * casetab.c: Remove mirror tables.
9951 (CASE_TABLE_P): New macro.
9952 (Fcase_table_p): Element of a case table is string or char-table.
9953 (make_mirror_trt_table): Removed.
9954 (set_case_table): Setup char-table from strings for backward
9956 * dired.c (Fdirectory_files):
9957 * dired-msw.c: (mswindows_get_files):
9958 * lisp.h: Change prototype of re_pattern_buffer.
9959 * regex.c: (RE_TRANSLATE): New macro.
9960 (TRANSLATE_P): Ditto.
9961 Change translate to type RE_TRANSLATE_TYPE.
9962 * regex.h: Define RE_TRANSLATE_TYPE
9963 * search.c (TRANSLATE): New macro.
9964 (TRANSLATE_ASCII): New macro.
9965 Translate table is changed to Lisp_Object.
9966 (signal_failure): Inhibit return.
9968 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
9975 Do UNGCPRO before return.
9977 2000-11-14 Martin Buchholz <martin@xemacs.org>
9979 * XEmacs 21.2.37 is released.
9981 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9983 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
9984 Add comments about discarded return value.
9986 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
9989 * event-stream.c: Fix comments. Remove some #if 0'ed part.
9991 2000-10-27 Andy Piper <andy@xemacs.org>
9993 * gutter.c (Fset_default_gutter_position): default left and right
9995 (calculate_gutter_size): calculate resonable heuristic for left
9996 and right gutter sizes.
9997 (specifier_vars_of_gutter): change left and right gutter sizes to
9999 (calculate_gutter_size_from_display_lines): new function.
10000 (output_gutter): check for resizing on left and right gutters.
10001 (clear_gutter): don't special case top and left gutters.
10002 (specifier_vars_of_gutter): use new signature for
10003 set_specifier_caching.
10005 * glyphs-x.c (x_redisplay_widget): spelling fix.
10006 * glyphs.c (specifier_vars_of_glyphs):
10007 * menubar.c (specifier_vars_of_menubar):
10008 * redisplay.c (specifier_vars_of_redisplay):
10009 * toolbar.c (specifier_vars_of_toolbar):
10010 * window.c (specifier_vars_of_window):
10011 * scrollbar.c (specifier_vars_of_scrollbar):
10012 (complex_vars_of_scrollbar): use new signature for
10013 set_specifier_caching.
10015 * specifier.c (set_specifier_caching): include recompute flag.
10016 (recompute_one_cached_specifier_in_window): always recompute if
10018 (recompute_one_cached_specifier_in_frame): ditto.
10020 * specifier.h (struct specifier_caching): add recompute flag.
10022 2000-10-24 Andy Piper <andy@xemacs.org>
10024 * unexcw.c (copy_executable_and_dump_data_section): add new
10025 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10028 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10030 * console-x.h (x_device): New member modifier_release_time.
10031 * event-Xt.c (x_handle_sticky_modifiers):
10032 Bound interval modifier keys are sticky.
10033 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10034 * events.h: extern it.
10036 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10038 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10040 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10042 * event-stream.c (execute_command_event): Preserve current_events
10043 and the like when event is misc-user-event.
10044 Inhibit quit during the call to maybe_echo_keys.
10046 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10048 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10049 symlink when buffer is killed.
10050 (inhibit_clash_detection): New variable.
10052 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10054 * console.c (Fset_input_method): Trigger redisplay on tty.
10056 2000-11-07 Martin Buchholz <martin@xemacs.org>
10058 * process.c (Fprocess_status): Revert to previous behavior:
10059 (process-status "nosuchprocess") ==> nil
10061 2000-11-06 Martin Buchholz <martin@xemacs.org>
10063 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10064 Work around another GCC 2.95.2 optimizer bug.
10066 2000-11-02 Martin Buchholz <martin@xemacs.org>
10068 * process.c (Fget_process): Use LIST_LOOP_2.
10069 (kill_buffer_processes): Use LIST_LOOP_2.
10071 * minibuf.c (Fall_completions):
10072 Delete old non-functional code for FSF fourth argument.
10074 * frame.c (frame_matches_frame_spec):
10075 Renamed from `frame_matches_frametype'. Update all callers.
10076 (device_matches_device_spec):
10077 Renamed from 'device_matches_console_spec'. Update all callers.
10079 * doc.c (Fsubstitute_command_keys):
10080 Remove buffer overflow crash. Small code cleanups.
10082 * casetab.c (check_case_table): Simpler code.
10084 * window.c (Freplace_buffer_in_windows):
10085 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10086 (and similar implementation) as Fdelete_windows_on.
10087 Update all callers.
10089 * alloc.c (Fmake_list):
10090 * alloc.c (make_vector):
10091 * alloc.c (Fmake_vector):
10092 * alloc.c (make_bit_vector):
10093 * alloc.c (Fmake_bit_vector):
10094 * alloc.c (Fbit_vector):
10095 * alloc.c (Fmake_string):
10096 * alloc.c (Fpurecopy):
10097 * alloc.c (Fmemory_limit):
10099 * buffer.c (Fget_buffer):
10100 * buffer.c (Fkill_buffer):
10101 * buffer.c (complex_vars_of_buffer):
10102 * bytecode.c (Fcompiled_function_stack_depth):
10103 * callint.c (Fprefix_numeric_value):
10105 * event-stream.c (Fread_key_sequence):
10107 * casetab.c (Fcase_table_p):
10108 * casetab.c (check_case_table):
10109 * casetab.c (Fset_case_table):
10110 * casetab.c (Fset_standard_case_table):
10112 * chartab.c (Fchar_table_type):
10113 * chartab.c (Freset_char_table):
10114 * chartab.c (Fget_char_table):
10115 * chartab.c (Fget_range_char_table):
10116 * chartab.c (Fput_char_table):
10117 * chartab.c (Fmap_char_table):
10118 * chartab.c (Fcategory_table_p):
10119 * chartab.c (Fcheck_category_at):
10120 * chartab.c (Fchar_in_category_p):
10121 * chartab.c (Fcategory_table):
10122 * chartab.c (Fcopy_category_table):
10123 * chartab.c (Fset_category_table):
10124 * chartab.c (Fcategory_designator_p):
10125 * chartab.c (Fcategory_table_value_p):
10126 * cmds.c (Fdelete_char):
10127 * cmds.c (Fdelete_backward_char):
10128 * cmds.c (Fself_insert_command):
10129 * cmds.c (Fself_insert_internal):
10130 * console.c (Fvalid_console_type_p):
10131 * console.c (Fcdfw_console):
10132 * console.c (Fconsole_type):
10133 * console.c (Fconsole_name):
10134 * console.c (Fconsole_device_list):
10135 * console.c (Fconsole_on_window_system_p):
10138 * data.c (Fold_eq):
10139 * data.c (Fsubr_interactive):
10140 * data.c (Fchar_to_int):
10141 * data.c (Fint_to_char):
10142 * data.c (Fsetcar):
10143 * data.c (Fsetcdr):
10144 * data.c (Fnumber_to_string):
10145 * data.c (Fstring_to_number):
10147 * database.c (mark_database):
10148 * database.c (finalize_database):
10149 * database.c (Fdatabase_live_p):
10150 * database.c (Fdatabasep):
10151 * device-x.c (Fx_get_resource):
10152 * device.c (Fdfw_device):
10154 * dired.c (Ffile_name_completion):
10155 * dired.c (Ffile_name_all_completions):
10156 * dired.c (Fuser_name_completion):
10157 * dired.c (Fuser_name_completion_1):
10158 * dired.c (Fuser_name_all_completions):
10159 * doc.c (Fdocumentation):
10160 * doc.c (Fdocumentation_property):
10161 * doc.c (Fsubstitute_command_keys):
10163 * editfns.c (Fchar_to_string):
10164 * editfns.c (Fstring_to_char):
10165 * editfns.c (Ftemp_directory):
10166 * editfns.c (Finsert_char):
10167 * editfns.c (Fbuffer_substring_no_properties):
10168 * editfns.c (Fnarrow_to_region):
10169 * editfns.c (Fchar_equal):
10170 * editfns.c (Fchar_Equal):
10171 * editfns.c (Ftranspose_regions):
10172 * emacs.c (Fdump_emacs):
10174 * eval.c (Fcommand_execute):
10175 * eval.c (Fautoload):
10176 * eval.c (Fbacktrace):
10177 * eval.c (Fbacktrace_frame):
10179 * events.c (Fcopy_event):
10180 * events.c (Fcharacter_to_event):
10181 * events.c (Fevent_button):
10182 * events.c (Fevent_process):
10184 * extents.c (Fnext_extent_change):
10185 * extents.c (Fextent_property):
10186 * faces.c (Ffacep):
10187 * faces.c (Fmake_face):
10189 * file-coding.c (Fencode_shift_jis_char):
10190 * file-coding.c (Fencode_big5_char):
10191 * fileio.c (Ffile_name_directory):
10192 * fileio.c (Ffile_name_nondirectory):
10193 * fileio.c (Ffile_name_as_directory):
10194 * fileio.c (Fdirectory_file_name):
10195 * fileio.c (Ffile_truename):
10196 * fileio.c (Fsubstitute_in_file_name):
10197 * fileio.c (Ffile_modes):
10198 * fileio.c (Fset_file_modes):
10199 * fileio.c (Fset_default_file_modes):
10200 * fileio.c (Fverify_visited_file_modtime):
10201 * floatfns.c (Facos):
10202 * floatfns.c (Fasin):
10203 * floatfns.c (Fatan):
10204 * floatfns.c (Fcos):
10205 * floatfns.c (Fsin):
10206 * floatfns.c (Ftan):
10207 * floatfns.c (Fbessel_j0):
10208 * floatfns.c (Fbessel_j1):
10209 * floatfns.c (Fbessel_jn):
10210 * floatfns.c (Fbessel_y0):
10211 * floatfns.c (Fbessel_y1):
10212 * floatfns.c (Fbessel_yn):
10213 * floatfns.c (Ferf):
10214 * floatfns.c (Ferfc):
10215 * floatfns.c (Flog_gamma):
10216 * floatfns.c (Fexp):
10217 * floatfns.c (Fexpt):
10218 * floatfns.c (Flog):
10219 * floatfns.c (Flog10):
10220 * floatfns.c (Fsqrt):
10221 * floatfns.c (Fcube_root):
10222 * floatfns.c (Facosh):
10223 * floatfns.c (Fasinh):
10224 * floatfns.c (Fatanh):
10225 * floatfns.c (Fcosh):
10226 * floatfns.c (Fsinh):
10227 * floatfns.c (Ftanh):
10228 * floatfns.c (Fabs):
10229 * floatfns.c (Ffloat):
10230 * floatfns.c (Flogb):
10231 * floatfns.c (Fceiling):
10232 * floatfns.c (Ffloor):
10233 * floatfns.c (Fround):
10234 * floatfns.c (Ftruncate):
10235 * floatfns.c (Ffceiling):
10236 * floatfns.c (Fffloor):
10237 * floatfns.c (Ffround):
10238 * floatfns.c (Fftruncate):
10239 * fns.c (Fstring_equal):
10240 * fns.c (Fstring_lessp):
10243 * fns.c (vconcat2):
10244 * fns.c (vconcat3):
10245 * fns.c (Fsubstring):
10247 * fns.c (Fold_assoc):
10248 * fns.c (assoc_no_quit):
10250 * fns.c (Fold_assq):
10251 * fns.c (assq_no_quit):
10253 * fns.c (Fold_rassoc):
10255 * fns.c (Fold_rassq):
10256 * fns.c (rassq_no_quit):
10257 * fns.c (Fremassoc):
10258 * fns.c (remassoc_no_quit):
10259 * fns.c (Fremassq):
10260 * fns.c (remassq_no_quit):
10261 * fns.c (Fremrassoc):
10262 * fns.c (Fremrassq):
10263 * fns.c (remrassq_no_quit):
10265 * fns.c (Fplist_get):
10266 * fns.c (Fplist_put):
10267 * fns.c (Fplist_remprop):
10268 * fns.c (Fplist_member):
10269 * fns.c (Flax_plist_get):
10270 * fns.c (Flax_plist_put):
10271 * fns.c (Flax_plist_remprop):
10272 * fns.c (Flax_plist_member):
10274 * fns.c (Fold_equal):
10275 * fns.c (Frequire):
10276 * fns.c (Fbase64_encode_region):
10277 * fns.c (Fbase64_encode_string):
10278 * fns.c (Fbase64_decode_region):
10280 * frame.c (frame_matches_frame_spec):
10281 * frame.c (device_matches_device_spec):
10282 * frame.c (next_frame):
10283 * frame.c (previous_frame):
10284 * frame.c (Fnext_frame):
10285 * frame.c (Fprevious_frame):
10286 * frame.c (Fframe_property):
10287 * frame.c (Fset_frame_height):
10288 * frame.c (Fset_frame_size):
10292 * glyphs.c (decode_error_behavior_flag):
10293 * glyphs.c (Fmake_image_instance):
10294 * indent.c (Findent_to):
10295 * intl.c (Fignore_defer_gettext):
10296 * keymap.c (Fkeymapp):
10297 * keymap.c (Flookup_key):
10299 * lread.c (Fload_internal):
10300 * lread.c (Feval_buffer):
10301 * lread.c (Feval_region):
10302 * macros.c (Fexecute_kbd_macro):
10303 * marker.c (set_marker_internal):
10304 * marker.c (Fset_marker):
10305 * marker.c (set_marker_restricted):
10306 * marker.c (Fcopy_marker):
10307 * marker.c (noseeum_copy_marker):
10309 * menubar.c (Fpopup_menu):
10311 * mule-charset.c (Fcharset_name):
10312 * mule-charset.c (Fchar_charset):
10313 * mule-charset.c (Fchar_octet):
10314 * mule-charset.c (Fsplit_char):
10315 * mule-wnnfns.c (Fwnn_open):
10316 * mule-wnnfns.c (Fwnn_dict_comment):
10317 * mule-wnnfns.c (Fwnn_quit_henkan):
10318 * mule-wnnfns.c (Fwnn_word_toroku):
10319 * mule-wnnfns.c (Fwnn_word_sakujo):
10320 * mule-wnnfns.c (Fwnn_word_use):
10321 * mule-wnnfns.c (Fwnn_hindo_set):
10323 * objects.c (Fmake_color_instance):
10324 * objects.c (Fmake_font_instance):
10325 * print.c (Fwrite_char):
10327 * process.c (mark_process):
10328 * process.c (print_process):
10329 * process.c (get_process_from_usid):
10330 * process.c (Fprocessp):
10331 * process.c (Fprocess_live_p):
10332 * process.c (Fget_process):
10333 * process.c (Fget_buffer_process):
10334 * process.c (get_process):
10335 * process.c (Fprocess_id):
10336 * process.c (Fprocess_name):
10337 * process.c (Fprocess_command):
10338 * process.c (init_process_io_handles):
10339 * process.c (start_process_unwind):
10340 * process.c (Fstart_process_internal):
10341 * process.c (Fopen_multicast_group_internal):
10342 * process.c (Fset_process_window_size):
10343 * process.c (read_process_output):
10344 * process.c (send_process):
10345 * process.c (Fprocess_tty_name):
10346 * process.c (Fset_process_buffer):
10347 * process.c (Fprocess_buffer):
10348 * process.c (Fprocess_mark):
10349 * process.c (set_process_filter):
10350 * process.c (Fset_process_filter):
10351 * process.c (Fprocess_filter):
10352 * process.c (Fprocess_send_region):
10353 * process.c (Fprocess_send_string):
10354 * process.c (exec_sentinel):
10355 * process.c (Fset_process_sentinel):
10356 * process.c (Fprocess_sentinel):
10357 * process.c (status_notify):
10358 * process.c (Fprocess_status):
10359 * process.c (Fprocess_exit_status):
10360 * process.c (process_send_signal):
10361 * process.c (Fprocess_send_eof):
10362 * process.c (deactivate_process):
10363 * process.c (remove_process):
10364 * process.c (Fdelete_process):
10365 * process.c (kill_buffer_processes):
10366 * process.c (Fprocess_kill_without_query):
10367 * process.c (Fprocess_kill_without_query_p):
10369 * rangetab.c (Fget_range_table):
10370 * rangetab.c (Fput_range_table):
10371 * rangetab.c (Fremove_range_table):
10372 * rangetab.c (Fclear_range_table):
10374 * search.c (Fskip_chars_forward):
10375 * search.c (Fskip_chars_backward):
10376 * search.c (Fskip_syntax_forward):
10377 * search.c (Fskip_syntax_backward):
10378 * search.c (search_command):
10379 * search.c (Freplace_match):
10380 * search.c (Fregexp_quote):
10381 * select.c (Fown_selection_internal):
10382 * select.c (Fselection_owner_p):
10383 * select.c (Fselection_exists_p):
10384 * select.c (Fget_selection_internal):
10387 * symbols.c (Fintern):
10388 * symbols.c (Fintern_soft):
10389 * symbols.c (Funintern):
10390 * symbols.c (Fapropos_internal):
10391 * symbols.c (Fset_default):
10393 * syntax.c (Fsyntax_table_p):
10394 * syntax.c (Fcopy_syntax_table):
10395 * syntax.c (Fset_syntax_table):
10396 * syntax.c (Fchar_syntax):
10397 * syntax.c (syntax_match):
10398 * syntax.c (Fmatching_paren):
10399 * syntax.c (Fforward_word):
10400 * syntax.c (scan_lists):
10401 * syntax.c (Fscan_lists):
10402 * syntax.c (Fscan_sexps):
10403 * syntax.c (Fparse_partial_sexp):
10404 * toolbar.c (Fcheck_toolbar_button_syntax):
10407 * window.c (Fwindowp):
10408 * window.c (Fwindow_live_p):
10409 * window.c (Fwindow_point):
10410 * window.c (Fdelete_window):
10411 * window.c (Fnext_window):
10412 * window.c (Fprevious_window):
10413 * window.c (Fother_window):
10414 * window.c (window_loop):
10415 * window.c (Fget_lru_window):
10416 * window.c (Fsplit_window):
10417 * window.c (Fenlarge_window):
10418 * window.c (Fenlarge_window_pixels):
10419 * window.c (Fshrink_window):
10420 * window.c (Fshrink_window_pixels):
10421 * window.c (change_window_height):
10422 * window.c (Fwindow_configuration_p):
10423 * window.c (Fcurrent_window_configuration):
10425 * casefiddle.c (casify_object):
10426 * casefiddle.c (Fupcase):
10427 * casefiddle.c (Fdowncase):
10428 * casefiddle.c (Fcapitalize):
10429 * casefiddle.c (Fupcase_initials):
10430 * casefiddle.c (casify_region_internal):
10431 * casefiddle.c (casify_region):
10432 * casefiddle.c (Fupcase_region):
10433 * casefiddle.c (Fdowncase_region):
10434 * casefiddle.c (Fcapitalize_region):
10435 * casefiddle.c (Fupcase_initials_region):
10436 * casefiddle.c (Fupcase_word):
10437 * casefiddle.c (Fdowncase_word):
10438 * casefiddle.c (Fcapitalize_word):
10439 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10440 Replace 0 with '\0' when working with bytes.
10441 Replace initial "(" with "\(" in docstrings.
10443 2000-11-01 Martin Buchholz <martin@xemacs.org>
10445 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10447 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10449 2000-10-31 Martin Buchholz <martin@xemacs.org>
10451 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10453 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10455 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10458 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10460 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10461 (inhibit_auto_save_session): New variable.
10462 (vars_of_fileio): Declare and initialize them.
10463 * fileio.c (Fdo_auto_save): Don't create session file if
10464 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10466 2000-10-31 Martin Buchholz <martin@xemacs.org>
10468 * sgiplay.c (play_internal): C++ compilability.
10469 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10470 * callproc.c (Fold_call_process_internal):
10471 Remove unused vars `env', `first'.
10472 * scrollbar.c (update_scrollbar_instance):
10473 #### unused var `current_window'.
10474 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10475 etc. within #ifdef NOT_YET.
10476 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10477 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10478 * specifier.c (specifier_instance):
10479 #### unused var `tag'.
10480 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10482 2000-10-27 Martin Buchholz <martin@xemacs.org>
10484 * fns.c (Fbutlast):
10485 * fns.c (list_sort):
10486 * fns.c (Ffillarray):
10487 * fns.c (bytecode_nconc2):
10490 * fns.c (Fmapconcat):
10491 Be pedantically 64-bit correct. For the time when someone will
10492 want to have a list with length > 2**32.
10494 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10495 Work around MIPSpro compiler bug.
10497 * process-unix.c (unix_kill_child_process): Add snarky comment.
10498 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10500 * config.h.in: Oops, _getpt ==> _getpty
10502 2000-10-26 Martin Buchholz <martin@xemacs.org>
10506 Use void*, not char*, as return type of alloca().
10508 * alloc.c (free_marker): Side effect inside assert expression!
10510 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10512 * mule-charset.c (Fset_charset_ccl_program): To check
10513 if the given ccl program is valid, use setup_ccl_program()
10514 instead of CHECK_VECTOR().
10515 (Fmake_charset): Likewise.
10517 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10519 * faces.c (get_extent_fragment_face_cache_index):
10520 Fix cachel.merged_faces memory leak.
10522 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10524 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10525 Reset MSB of octets obtained by DECODE_SJIS
10526 because of the incompatibility with Emacs.
10527 (ccl_driver)<CCL_ENCODE_SJIS>:
10528 Set MSB of octets before passing them to
10529 ENCODE_SJIS because of the incompatibility
10532 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10534 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10535 (DECLARE_LRECORD): Undo the last change.
10536 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10538 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10540 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10541 the implementation to lrecord_implementations_table.
10543 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10545 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10546 initial value of `lrecord_type_##c_name' and
10547 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10548 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10549 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10550 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10551 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10553 2000-10-17 Martin Buchholz <martin@xemacs.org>
10555 * miscplay.c (sndcnv8S_2mono):
10556 (sndcnv2monounsigned):
10557 (sndcnvULaw_2linear):
10559 Remove implementation-defined behavior.
10561 2000-10-12 Martin Buchholz <martin@xemacs.org>
10563 * input-method-xlib.c: Warning suppression.
10565 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10567 * mule-ccl.c: Sync up with Emacs 21.0.90.
10568 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10570 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10572 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10573 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10574 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10575 leading char belongs to official 2-dimensional charset.
10576 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10577 write the given character as is. Otherwise,
10578 if it is a multibyte char, convert it by
10579 non_ascii_set_charptr_emchar, then write it.
10580 (CCL_WRITE_STRING): Likewise.
10581 (ccl_get_compiled_code): New function.
10582 (setup_ccl_program): When ccl_prog is invalid,
10584 (Fregister_code_conversion_map): New function.
10585 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10587 * mule-ccl.h: Sync up with Emacs 21.0.90.
10588 (Fregister_ccl_program): export it.
10590 * redisplay-msw.c (separate_textual_runs):
10591 If ccl program is not valid, don't do ccl conversion.
10593 * redisplay-x.c (separate_textual_runs): Ditto.
10595 * file-coding.c (Fmake_coding_system):
10596 When type is ccl and value is vector, register it
10597 with a proper symbol. And checks whether the
10598 given ccl program is valid.
10599 (mule_decode): When calling ccl_driver, if src indicates
10600 NULL pointer, set an empty string instead.
10601 (mule_encode): Likewise.
10603 2000-10-11 Martin Buchholz <martin@xemacs.org>
10605 The following large batch of changes gets us back to a state of
10606 C++ compilability. Extbyte is now a char, which means that
10607 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10609 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10611 * sound.c (Fplay_sound): Type correctness.
10613 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10614 (x_get_window_property): Type correctness.
10615 (receive_incremental_selection): unsigned char ==> Extbyte
10616 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10617 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10618 (Fx_store_cutbuffer_internal): Type correctness.
10620 * process-unix.c (try_to_initialize_subtty): Type correctness.
10622 * objects-x.c (x_print_color_instance): Type correctness.
10623 (x_print_font_instance): Type correctness.
10624 (x_list_fonts): SExtbyte ==> Extbyte.
10625 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10626 (x_find_charset_font): SExtbyte ==> Extbyte.
10627 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10628 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10629 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10630 Use bufbyte_strcmp.
10632 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10633 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10634 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10635 (BYTE_C0_P): Use bit ops for char-signedness safety.
10636 (BYTE_C1_P): Use bit ops for char-signedness safety.
10637 (CHARSET_BY_LEADING_BYTE):
10638 (CHARSET_BY_ATTRIBUTES):
10639 Always use inline function.
10640 Use type_checking_assert.
10643 * mule-charset.c (non_ascii_charptr_copy_char):
10644 Modify to work with both ASCII and non-ASCII characters.
10645 Improve docs and variable names.
10646 Replace over-clever fall-through switch with a simple loop.
10647 (Lstream_get_emchar_1):
10648 Replace over-clever fall-through switch with a simple loop.
10650 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10651 Warning suppression.
10653 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10654 the return value of Lstream_getc, which could be EOF as well.
10656 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10658 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10659 APIs can be used on Extbytes without casts. Risky!
10660 (SExtbyte): Remove.
10661 (UExtbyte): Remove.
10663 * input-method-xlib.c (XIM_init_device):
10664 Use Xlib.h instead of IntrinsicP.h.
10665 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10666 which will break in X11R7.
10667 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10668 to call XRegisterIMInstantiateCallback with correct types.
10670 * gui-x.c (button_item_to_widget_value): Type correctness.
10672 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10674 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10675 (xbm_instantiate_1): Type correctness.
10676 (BUILD_GLYPH_INST): Type correctness.
10678 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10681 (decode_coding_sjis):
10682 (decode_coding_big5):
10683 (decode_coding_ucs4):
10684 (decode_coding_utf8):
10685 (decode_coding_iso2022):
10686 (decode_coding_no_conversion):
10687 Make all decoding functions take an Extbyte * arg.
10688 (encode_coding_sjis):
10689 (encode_coding_big5):
10690 (encode_coding_ucs4):
10691 (encode_coding_utf8):
10692 (encode_coding_iso2022):
10693 (encode_coding_no_conversion):
10694 Make all encoding functions take a Bufbyte * arg.
10695 Use size_t instead of unsigned int for memory sizes.
10696 Only cast to unsigned char whenever dereferencing Extbyte *.
10698 * doc.c (unparesseuxify_doc_string): Type correctness.
10700 * console-x.c (split_up_display_spec):
10701 Rewrite without using details of internal string representation.
10702 (x_semi_canonicalize_device_connection): Type correctness.
10705 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10706 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10707 (HAVE_XFREE386): Removed.
10709 * buffer.h (DEC_CHARPTR): `const' correctness.
10710 (bufbyte_strcmp): New.
10711 (bufbyte_memcmp): New.
10713 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10715 * buffer.h (XCHAR_OR_CHAR_INT):
10716 Always use inline function.
10717 Remove redundant type checking assert() - XINT will abort quite nicely.
10719 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10721 * search.c (Freplace_match): Set newtext to an empty string.
10723 2000-10-10 Martin Buchholz <martin@xemacs.org>
10725 * s/decosf1-3.h: Remove #include of stropts.h
10726 * s/ptx.h: Remove #include of stropts.h
10727 * s/usg5-4.h: Remove #include of stropts.h
10730 Use stropts.h, not sys/stropts.h.
10731 Use strtio.h, not sys/strtio.h.
10733 2000-10-04 Martin Buchholz <martin@xemacs.org>
10735 * XEmacs 21.2.36 is released.
10737 2000-09-21 Andy Piper <andy@xemacs.org>
10739 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10740 changes still involve copying the widget tree.
10741 (update_widget_face): make sure a change is register in the widget
10742 tree. Call update_tab_widget_face appropriately.
10743 (update_tab_widget_face): ditto.
10744 (x_tab_control_redisplay): make sure non-structural changes still
10745 involve copying the widget tree.
10747 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10749 * lread.c (locate_file): Check the path element is non-nil.
10751 2000-10-02 Martin Buchholz <martin@xemacs.org>
10753 * lisp.h: Warning suppression for SCO compilers.
10755 * redisplay-tty.c (reset_tty_modes): Fix crash.
10756 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10758 2000-09-27 Martin Buchholz <martin@xemacs.org>
10760 Big signal/process handling overhaul. Bugs fixed:
10761 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10762 M-x comint-kill-subjob should work for both values nil and t of
10763 process-connection-type. It was broken on most platforms.
10764 Testing on Irix and Cygwin still needed. Other plaforms tested.
10765 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10766 * process-unix.c: Signal/Process handling overhaul.
10767 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10768 (allocate_pty): Use all available modern methods of allocating
10769 ptys, falling back to old style BSD allocation as a last resort.
10770 Use allegedly more secure Unix98 pty allocation by default.
10771 (allocate_pty_the_old_fashioned_way): New. the last resort.
10772 (unix_create_process): Push ptem, ldterm, ttcompat where
10773 available. Autoconfiscate.
10774 (try_to_initialize_subtty): New.
10775 (unix_kill_child_process): Proper signal handling for ptys on most
10776 platforms, using special knowledge of AIX, BSD, etc...
10777 (unix_create_process): Always disconnect_controlling_terminal() for
10778 subprocesses, whether using ptys or not.
10779 * process.h: Remove old getpt-dependent PTY code.
10780 * process.c (Fprocess_send_signal): New, obvious generic function.
10781 (decode_signal): New.
10782 (Finterrupt_process):
10786 (Fcontinue_process):
10787 (Fsignal_process): Use decode_signal.
10788 (process_send_signal):
10789 Many docstring corrections.
10790 Allow any signal to be sent to a process object.
10791 * config.h.in: Add symbols for big signal/process overhaul.
10792 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10793 * sysproc.h: Include process-related headers, where available:
10794 sys/stropts.h sys/strtio.h pty.h libutil.h
10802 Remove old S&M pty stuff.
10803 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10804 * systty.h: Simplify cpp hackery, improve comments.
10805 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10807 * editfns.c (Fformat_time_string):
10808 Be a little more paranoid with the return value of ctime.
10810 * fileio.c (check_executable):
10812 Use symbolic constants X_OK, W_OK.
10814 * console-x.c (split_up_display_spec): Fix a warning.
10816 2000-10-02 Martin Buchholz <martin@xemacs.org>
10818 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10819 * ntproc.c (sys_spawnve): make_string ==> build_string
10820 Small clarity improvements.
10822 2000-09-30 Martin Buchholz <martin@xemacs.org>
10824 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
10826 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
10828 * config.h.in (HAVE_STRCASECMP): Remove.
10830 2000-09-29 Martin Buchholz <martin@xemacs.org>
10832 * redisplay-output.c (redisplay_output_pixmap):
10833 Cleaner and possibly more 64-bit correct code.
10835 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
10837 * dumper.c (pdump_load_finish): move restoration of
10838 `noninteractive1' to emacs.c (main_1).
10839 * emacs.c (main_1): protect LISP-visible command-line flags
10842 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
10844 * Makefile.in.in (versionclean): Use EXE_TARGET and
10845 DUMP_TARGET instead of literal program names.
10847 2000-09-20 Martin Buchholz <martin@xemacs.org>
10849 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
10851 2000-09-19 Martin Buchholz <martin@xemacs.org>
10853 * *: Spelling mega-patch
10855 2000-09-19 Martin Buchholz <martin@xemacs.org>
10857 * fns.c (bad_bad_turtle):
10858 Delete "Eek!" comment, since we fixed the bug to which it refers.
10860 2000-09-16 Martin Buchholz <martin@xemacs.org>
10862 * alloca.c: Replace REGISTER with register.
10864 2000-09-16 Daiki Ueno <ueno@unixuser.org>
10866 * file-coding.c (ucs_to_char): Use countof.
10868 2000-09-16 Martin Buchholz <martin@xemacs.org>
10870 * file-coding.c: (ucs_to_char):
10871 (complex_vars_of_file_coding):
10872 Use countof instead of sizeof.
10873 Use CHECK_NATNUM instead of CHECK_INT.
10875 * sysdep.c (strcasecmp): Remove.
10876 * device-x.c (ascii_strcasecmp): New.
10877 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
10878 Avoid using non-standard non-portable strcasecmp.
10880 2000-09-16 Martin Buchholz <martin@xemacs.org>
10882 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
10883 * font-lock.c: remove reference to emacsfns.h.
10884 * search.c: small doc improvement.
10885 * event-Xt.c: correct file names in comments.
10886 * console-x.h Correct file names in comments.
10887 * frame.c: Correct file names in comments.
10888 * event-stream.c: remove Energize from comments.
10890 2000-09-15 Martin Buchholz <martin@xemacs.org>
10892 * symeval.h (DEFERROR_STANDARD):
10895 (DEFSYMBOL_NO_DUMP):
10896 (DEFSYMBOL_MULTIWORD_PREDICATE):
10897 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
10899 The construct &##name is not sensible C.
10900 Fixes compilation errors with Unixware native compiler.
10902 2000-09-14 Martin Buchholz <martin@xemacs.org>
10904 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
10905 (next_frame_internal): Removed. We now just have next_frame.
10907 Write a simpler and cleaner one-pass algorithm.
10908 Remove called_from_delete_device arg and #ifdefed-out code.
10910 Renamed from prev_frame. Update callers.
10911 Cleaned up to have an analogous implementation to next_frame.
10912 (other_visible_frames_internal): Remove the
10913 called_from_delete_device bogus arg, and hence, remove this
10914 function. Just use other_visible_frames().
10916 * window.c (Fnext_window):
10917 Prettify docstring.
10918 Since next_frame() is guaranteed to return a frame, remove check
10919 for nil inserted in previous patch.
10920 (Fprevious_window):
10921 Prettify docstring.
10922 Make code look more like Fnext_window.
10924 Respect the `console' arg when iterating through windows.
10925 Fixes bug: (get-buffer-window buffer t device) not respecting
10927 This function needs more work, as others have pointed out.
10929 * frame.h: Rename prev_frame to previous_frame.
10930 device_matches_console_spec no longer takes a `frame' arg.
10935 Use EMACS_BLOCK_SIGNAL instead of sigblock.
10936 From "Golubev I. N." <gin@mo.msk.ru>.
10938 * make-src-depend: Fix typo.
10940 2000-09-13 Martin Buchholz <martin@xemacs.org>
10942 * window.c (Fnext_window):
10943 next_frame() might return nil, not a frame.
10945 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10947 * frame.c (next_frame_internal):
10948 We've passed a frame if we've passed its device.
10950 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
10951 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
10953 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
10955 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
10956 Allow option to suppress accelerators in menu/dialog items.
10957 (populate_or_checksum_helper): Pass dialog title through above.
10959 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
10961 * event-msw.c (mswindows_key_to_emacs_keysym):
10962 Add "pause" key, fix "menu" key.
10964 2000-09-09 Martin Buchholz <martin@xemacs.org>
10966 * eval.c (reinit_vars_of_eval):
10967 Increase max_lisp_eval_depth to 1000,
10968 required for thai-xtis.el to byte-compile under some circumstances.
10970 2000-09-04 Martin Buchholz <martin@xemacs.org>
10972 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
10973 From Kenichi Handa.
10975 2000-09-01 Martin Buchholz <martin@xemacs.org>
10977 * make-src-depend: Make the generated Makefiles smaller.
10979 * s/hpux.h (SETUP_SLAVE_PTY):
10980 Provide a %d in the format string for the errno argument.
10982 * editfns.c (Ftemp_directory):
10984 Avoid buffer overrun on very long file name.
10986 * input-method-xlib.c (XIM_init_device):
10987 6th parameter of XRegisterIMInstantiateCallback has different
10988 pointer types on different OSes, so simply cast to (void *).
10990 * unexhp9k800.c: Warning fixes. Fiddly changes.
10992 * sysdll.c (dll_open):
10993 shl_load will hang hard if passed a NULL filename.
10994 Simply return NULL for compatibility with dlopen.
10995 * sysdll.c: Conform to XEmacs coding standards.
10997 * sysdep.c (get_pty_max_bytes):
10998 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11000 2000-08-31 Martin Buchholz <martin@xemacs.org>
11002 * tooltalk.c: Add #include <syssignal.h>
11004 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11006 * s/hpux.h: Don't use undefined function sigunblock().
11008 2000-08-31 Martin Buchholz <martin@xemacs.org>
11010 * config.h.in: Add HAVE_BALLOON_HELP.
11011 * emacs.c: Use HAVE_BALLOON_HELP.
11012 * Makefile.in.in (x_objs):
11013 Make Balloon Help conditional on finding shape.h.
11015 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11017 * syntax.c (regex_emacs_buffer_p): New variable.
11018 * syntax.h (regex_emacs_buffer_p): extern.
11019 * search.c (looking_at_1):
11021 (fast_string_match):
11022 (search_buffer): Set regex_emacs_buffer_p.
11023 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11024 when before_dot, at_dot, after_dot.
11026 2000-08-23 Andy Piper <andy@xemacs.org>
11028 * gui-x.c (popup_selection_callback): Only set action_occurred
11029 when we really have an image instance.
11030 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11032 2000-08-23 Andy Piper <andy@xemacs.org>
11034 * gui-msw.c (mswindows_handle_gui_wm_command): set
11036 * gui-x.c (popup_selection_callback): ditto.
11038 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11039 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11040 (struct Lisp_Image_Instance): add action_occurred flag.
11042 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11043 (image_instance_changed): ditto.
11044 (reset_frame_subwindow_instance_cache): only unmap windows - do
11045 not remove them from the cache also.
11047 * glyphs-widget.c (tab_control_update): better debug.
11048 (progress_gauge_update): ditto.
11049 (layout_update): ditto.
11050 (layout_instantiate): ditto.
11051 (tab_control_order_only_changed): cope with null pending items.
11053 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11054 debug. Force selection of an item when an action occurred. Cope
11055 with null pending_items.
11056 (mswindows_progress_gauge_redisplay): better debug.
11057 * glyphs-x.c (x_tab_control_redisplay): ditto.
11059 * redisplay.c (redisplay_frame): reset the frame cache if the
11062 * window.c (Fset_window_configuration): potentially re-enable
11064 (window_unmap_subwindows): need to finalize instances here since
11065 it is only used in mark_window_as_deleted.
11067 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11069 * nas.c (SndOpenDataForReading):
11070 nas.c (WaveOpenDataForReading):
11071 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11072 Somehow escaped from the 2000-08-14 patch.
11074 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11076 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11077 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11079 2000-08-21 Andy Piper <andy@xemacs.org>
11081 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11082 window if it is not already displayed.
11084 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11085 it is not already displayed.
11087 * window.c (Fset_window_configuration): don't reset the frame
11090 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11091 instances from the frame cache if we are actually finalizing them.
11092 (reset_frame_subwindow_instance_cache): reset frame cache only
11093 after unmapping everything.
11094 (map_subwindow): set displayed flag after mapping.
11096 2000-08-21 Martin Buchholz <martin@xemacs.org>
11098 * data.c (indirect_function):
11099 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11101 * eval.c (function_argcount):
11102 Use original function when signaling errors.
11104 2000-08-18 Andy Piper <andy@xemacs.org>
11106 * frame.c (delete_frame_internal): use new
11107 free_frame_subwindow_instances name.
11109 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11110 (add_tab_item): make return type correct.
11111 (mswindows_tab_control_instantiate): assert index of tab.
11112 (mswindows_tab_control_redisplay): Re-code to use
11113 gui_item_equal_sans_selected and gui_item_list_find_selected.
11115 * glyphs-widget.c (tab_control_update): Correct comment.
11117 * window.c (window_unmap_subwindows): use new
11118 unmap_subwindow_instance_cache_mapper.
11119 (window_unmap_subwindows_cache_mapper): deleted.
11120 (Fset_window_configuration): comparisons should now be with
11121 EQ. Preserve the subwindow instance cache across configuration
11123 (allocate_window): ditto.
11124 (make_dummy_parent): ditto.
11126 * glyphs.c (free_frame_subwindow_instances): rename from
11127 free_frame_subwindow_instance_cache. finalize all instances rather
11128 than just those in the display cache.
11129 (finalize_all_subwindow_instances): walk windows unmapping and
11130 finalizing subwindows.
11131 (unmap_subwindow_instance_cache_mapper): moved from
11132 window.c. Allow finalization as well as unmapping.
11134 * gui.c (gui_item_list_find_selected): new function.
11136 * gui.h (gui_item_list_find_selected): declare.
11138 * glyphs-x.c (x_tab_control_redisplay): pick tab
11139 explicitly. Re-code to use gui_item_equal_sans_selected and
11140 gui_item_list_find_selected.
11142 * glyphs-x.h: add lwlib-utils.h
11144 * buffer.c (Frecord_buffer): undo previous change.
11146 2000-08-09 Vin Shelton <acs@xemacs.org>
11148 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11149 possible. Create temporary files more securely. The patch was
11150 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11151 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11152 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11155 2000-08-07 Ben Wing <ben@xemacs.org>
11157 * getloadavg.c: remove duplicate (and windows-breaking)
11158 includes of fcntl.h and sys/file.h.
11160 * nt.c: remove duplicate getloadavg() definition.
11162 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11165 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11167 * eval.c (function_argcount): If function needs to be autoloaded
11168 actually use the loaded definition.
11171 2000-08-05 Ben Wing <ben@xemacs.org>
11173 * getloadavg.c: add prototype for getloadavg(). remove
11174 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11175 of the code). remove duplicate header includes.
11177 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11179 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11180 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11181 useful load average.
11183 * alloc.c (reinit_alloc_once_early): removed references to
11184 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11185 the lisp vars are the only things referencing the malloc_sbrk_*
11186 vars, and they were already if 0'd out. these vars only exist
11187 in the older malloc.c, which is basically unused, and they're
11188 only for informational purposes.
11190 * m\*.h: removed useless VIRT_ADDR_VARIES.
11192 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11194 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11196 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11197 color if the image is a mono pixmap.
11199 2000-07-30 Ben Wing <ben@xemacs.org>
11201 * Makefile.in.in (release):
11204 * buffer.c (directory_is_current_directory):
11205 * dired-msw.c (mswindows_get_files):
11207 * dired.c (Fdirectory_files):
11208 * dired.c (file_name_completion_stat):
11209 * dired.c (Ffile_attributes):
11210 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11211 preprocessor tricks, to avoid problems on some machines
11214 * callproc.c (egetenv): GC docs.
11217 * console-msw.h (struct mswindows_dialog_id):
11218 * lrecord.h (lrecord_type):
11219 New object for use with MSW dialogs.
11221 * console.h (struct console_methods):
11222 New enable/disable frame methods, for proper modal dialogs.
11224 * device-msw.c (msprinter_default_printer): Fix to follow
11225 proper Mule conventions.
11228 * device-msw.c (signal_open_printer_error):
11229 * device-msw.c (msprinter_init_device):
11230 * device-msw.c (ensure_not_printing):
11231 * device-msw.c (plist_get_margin):
11232 * device-msw.c (Fmsprinter_select_settings):
11233 * device-msw.c (finalize_devmode):
11234 * device-msw.c (Fmsprinter_settings_despecialize):
11235 * device-msw.c (signal_enum_priner_error):
11236 * extents.c (decode_extent):
11237 * extents.c (decode_map_extents_flags):
11238 * extents.c (decode_extent_at_flag):
11239 * extents.c (Fextent_at):
11240 * extents.c (Fextents_at):
11241 * extents.c (symbol_to_glyph_layout):
11242 [[[[2]]]] Use structured errors.
11245 * dialog-msw.c (mswindows_is_dialog_msg):
11246 * dialog-msw.c (mark_mswindows_dialog_id):
11247 * dialog-msw.c (dialog_proc):
11248 * dialog-msw.c (handle_question_dialog_box):
11249 * dialog-msw.c (syms_of_dialog_mswindows):
11250 Define new object to clean up marking; use it as a dialog identifier.
11251 Call new delete-dialog-box-hook.
11253 * dialog-x.c (dbox_selection_callback):
11254 * dialog-x.c (dbox_descriptor_to_widget_value):
11255 * dialog-x.c (x_make_dialog_box_internal):
11256 Call new delete-dialog-box-hook.
11260 * dialog.c (syms_of_dialog):
11261 * dialog.c (vars_of_dialog):
11262 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11265 * eval.c (signal_call_debugger):
11266 when noninteractive, output stack traces on the console instead
11267 of in a (never-seen) buffer.
11269 * eval.c (signal_type_error):
11270 * eval.c (invalid_argument_2):
11272 new funs for use w/structured errors.
11275 * event-Xt.c (x_to_emacs_keysym):
11276 * event-Xt.c (describe_event):
11277 * event-Xt.c (emacs_Xt_event_handler):
11278 * event-Xt.c (vars_of_event_Xt):
11280 * event-msw.c (mswindows_wnd_proc):
11281 * event-msw.c (vars_of_event_mswindows):
11282 rename {x,mswindows}-debug-events to debug-{}-events for
11283 consistency with other debug-foo variables.
11286 document next-event more clearly.
11288 * fileio.c (Ffile_name_directory):
11289 * fileio.c (Ffile_name_nondirectory):
11290 * fileio.c (Funhandled_file_name_directory):
11291 * fileio.c (file_name_as_directory):
11292 * fileio.c (Ffile_name_as_directory):
11293 * fileio.c (directory_file_name):
11294 * fileio.c (Fdirectory_file_name):
11295 * fileio.c (Fmake_temp_name):
11296 * fileio.c (Ffile_truename):
11297 * fileio.c (Fsubstitute_in_file_name):
11298 * fileio.c (expand_and_dir_to_file):
11299 * fileio.c (barf_or_query_if_file_exists):
11300 * fileio.c (check_executable):
11301 * fileio.c (Ffile_exists_p):
11302 * fileio.c (Ffile_writable_p):
11303 * fileio.c (Ffile_directory_p):
11304 * fileio.c (Ffile_regular_p):
11305 * fileio.c (Ffile_modes):
11306 * fileio.c (Ffile_newer_than_file_p):
11307 * fileio.c (Fverify_visited_file_modtime):
11308 * fileio.c (Fset_visited_file_modtime):
11309 * fileio.c (auto_save_1):
11314 * frame-msw.c (mswindows_init_frame_1):
11315 * frame-msw.c (mswindows_enable_frame):
11316 * frame-msw.c (error_frame_unsizable):
11317 * frame-msw.c (msprinter_init_frame_1):
11318 * frame-msw.c (msprinter_init_frame_3):
11319 * frame-msw.c (console_type_create_frame_mswindows):
11321 implement new enable/disable frame methods.
11324 * frame-x.c (x_enable_frame):
11325 * frame-x.c (console_type_create_frame_x):
11326 implement new enable/disable frame methods.
11329 * frame.c (Fdisable_frame):
11330 * frame.c (syms_of_frame):
11331 * frame.h (struct frame):
11332 implement new enable/disable frame methods/functions.
11337 * glyphs-msw.c (mswindows_widget_instantiate):
11338 comment that initial-focus should be implemented.
11341 * glyphs-widget.c (check_valid_instantiator):
11342 * glyphs-widget.c (check_valid_orientation):
11343 * glyphs-widget.c (check_valid_tab_orientation):
11344 * glyphs-widget.c (check_valid_justification):
11345 * glyphs-widget.c (check_valid_border):
11346 * glyphs-widget.c (check_valid_callback):
11347 * glyphs-widget.c (check_valid_int_or_function):
11348 * glyphs-widget.c (check_valid_string_or_vector):
11349 * glyphs-widget.c (check_valid_item_list_1):
11350 * glyphs-widget.c (widget_validate):
11351 * glyphs-widget.c (combo_box_validate):
11352 * glyphs-widget.c (widget_instantiate):
11353 * glyphs-widget.c (syms_of_glyphs_widget):
11354 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11355 * glyphs-widget.c (image_instantiator_combo_box):
11356 * glyphs-widget.c (image_instantiator_scrollbar):
11357 * glyphs-widget.c (image_instantiator_tab_control):
11358 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11360 support (unimplemented) keyword initial-focus.
11361 reindent long macros.
11363 * glyphs-x.c (x_redisplay_widget):
11364 * glyphs-x.c (x_button_instantiate):
11365 * glyphs-x.c (x_button_redisplay):
11366 * glyphs-x.c (x_progress_gauge_instantiate):
11367 * glyphs-x.c (x_edit_field_instantiate):
11368 * glyphs-x.c (x_combo_box_instantiate):
11369 * glyphs-x.c (x_tab_control_instantiate):
11370 * glyphs-x.c (x_label_instantiate):
11372 * gui-x.c (button_item_to_widget_value):
11373 * gui-x.c (gui_items_to_widget_values_1):
11374 * gui-x.c (gui_item_children_to_widget_values):
11375 * gui-x.c (gui_items_to_widget_values):
11377 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11378 add new flag to gui-parsing routines to indicate whether
11379 accelerator specs should be supported.
11381 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11383 * glyphs.h (struct Lisp_Image_Instance):
11384 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11385 add initial-focus flag.
11388 * gui.c (syms_of_gui):
11389 * gui.c (vars_of_gui):
11390 clean up menu-no-selection-hook.
11393 support delete-dialog-box-hook.
11395 * lread.c (Fload_internal):
11396 * lread.c (locate_file_in_directory_mapper):
11400 * lrecord.h (struct toolbar_button):
11401 * lrecord.h (syms_of_toolbar):
11402 document how to create a new object.
11404 * menubar-msw.c (mswindows_char_is_accelerator):
11405 may be called on frames w/o menus.
11407 * menubar.c (vars_of_menubar):
11408 clean up :filter docs.
11415 * process-nt.c (validate_signal_number):
11416 * process-nt.c (signal_cannot_launch):
11417 * process-nt.c (nt_create_process):
11418 * process-nt.c (nt_send_process):
11419 * process-nt.c (nt_kill_child_process):
11420 * process-nt.c (nt_open_network_stream):
11421 * process-nt.c (syms_of_process_nt):
11423 delete quote-handling. call new lisp code that does it better.
11425 * process-unix.c (connect_to_file_descriptor):
11426 * process-unix.c (allocate_pty):
11427 * process-unix.c (unix_send_process):
11428 * process-unix.c (unix_kill_child_process):
11429 * process-unix.c (unix_open_network_stream):
11430 * process-unix.c (unix_open_multicast_group):
11434 * process.c (Fstart_process_internal):
11435 (2). need to canonicalize process path even if absolute.
11437 * select-msw.c (symbol_to_ms_cf):
11438 * select-msw.c (ms_cf_to_symbol):
11439 * select-msw.c (cf_is_autofreed):
11440 * select-msw.c (mswindows_destroy_selection):
11442 * select.c (syms_of_select):
11444 support dibv5, fix bugs. (from Mike Alexander)
11446 * select.c (Fget_selection_internal):
11447 * select.c (select_convert_out):
11450 * sysdep.c (xemacs_stat):
11453 * sysdep.c (mkdir):
11454 * sysdep.c (rmdir):
11455 but keep original stat() here because we provide encapsulation
11459 * sysfile.h (fstat):
11460 remove stat garbage.
11463 fix X/MSW conflict.
11464 don't include tchar.h. it's inappropriate because it makes
11465 compile-time distinctions when we want runtime distinctions.
11466 (we provide our own tchar replacements)
11469 use default object printer for toolbar-button.
11472 make sure we don't encapsulate.
11474 * window.c (vars_of_window):
11475 emphasize that temp-buffer-show-hook is obsolete.
11477 2000-08-05 Martin Buchholz <martin@xemacs.org>
11479 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11480 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11482 * events.c (Fevent_timestamp_lessp):
11483 Not 64-bit clean. Use EMACS_INT, not int.
11485 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11487 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11488 unsigned int and changed the last enum to
11489 lrecord_type_last_built_in_type.
11490 (lrecord_implementations_table): changed prototype to know how
11491 long the array is supposed to be.
11492 (lrecord_type_count): new unsigned int to keep track of the
11493 current number of lisp lrecord types.
11494 (DEFINE_EXTERNAL_LRECORD):
11495 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11496 dynamic-modules to declare new lisp types. They are the same
11497 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11498 int for each new type, and increment lrecord_type_count by 1.
11500 * alloc.c (lrecord_implementations_table): Changed to reference
11501 lrecord_type_last_built_in_type for the size of the array.
11502 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11504 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11506 * glyphs.h (check_valid_item_list): Renamed from
11507 check_valid_item_list_1.
11509 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11511 * select.c (Qselect_coerce): New.
11512 * select.c (Vselection_coercion_alist): New.
11513 * select.c (syms_of_select): Declare.
11514 * select.c (get-selection-internal): Use it.
11515 Use the new select-coerce functionality.
11517 * select.c (select_coerce): New.
11518 * select.h (select_coerce): Declare.
11519 New function to coerce one type of data into another.
11521 2000-08-03 Martin Buchholz <martin@xemacs.org>
11523 * callproc.c (Fcall_process_internal):
11524 (Fcall_process_internal):
11525 * process-unix.c (unix_create_process):
11526 Save and restore the value of errno, so that error messages are accurate.
11528 2000-08-01 Martin Buchholz <martin@xemacs.org>
11530 * elhash.c (print_hash_table):
11531 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11532 Prettify docstrings and indentation.
11534 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11536 * window.c (Fwindow_pixel_edges): Subtract frame border and
11539 2000-07-31 Andy Piper <andy@xemacs.org>
11541 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11542 will acknowledge the change.
11544 * glyphs.h: declare tab_control_order_only_changed.
11546 * glyphs-x.c (x_tab_control_redisplay): use
11547 tab_control_order_only_changed.
11549 * glyphs-widget.c (tab_control_order_only_changed): new function.
11551 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11552 tab_control_order_only_changed.
11554 * gui.c (gui_item_equal_sans_selected): new function.
11555 (gui_item_equal): use it.
11557 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11558 :properties in favor of :items..
11560 * glyphs-widget.c (check_valid_item_list): rename from
11561 check_valid_item_list_1.
11562 (check_valid_item_list_1): renamed.
11563 (combo_box_validate): deprecate :properties in favor of :items.
11564 (widget_instantiate): ditto.
11565 (tab_control_update): ditto.
11566 (image_instantiator_combo_box): ditto.
11567 (image_instantiator_tree_view): ditto.
11568 (image_instantiator_tab_control): ditto.
11569 (layout_post_instantiate): remove dead code.
11571 * print.c (debug_print_no_newline): only write to debugger if in
11574 * elhash.c (Fmake_hash_table): update doc string.
11576 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11577 messages whilst in GC. This at least stops XEmacs crashing but has
11578 the potential for wierd behaviour.
11580 2000-07-31 Martin Buchholz <martin@xemacs.org>
11583 Make existence of s&m files optional.
11585 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11586 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11587 * s/gnu.h: Remove HAVE_GETLOADAVG.
11588 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11589 * s/sol2.h: Remove HAVE_GETLOADAVG.
11590 * lisp.h: Remove getloadavg() declaration.
11592 Include <sys/loadavg.h> if available.
11593 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11594 * config.h.in: Group together getloadavg()-related macros.
11595 Use only configure-time tests to detect getloadavg().
11597 2000-07-30 Martin Buchholz <martin@xemacs.org>
11599 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11601 2000-07-25 Andy Piper <andy@xemacs.org>
11603 * syswindows.h: add tchar.h for native builds.
11605 * frame.c (syms_of_frame): remove set-glyph-image.
11607 * general-slots.h: add Qset_glyph_image.
11609 * glyphs-widget.c (layout_update): add domain arg to
11611 (syms_of_glyphs_widget): remove set-glyph-image.
11613 2000-07-23 Ben Wing <ben@xemacs.org>
11615 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11618 2000-07-22 Andy Piper <andy@xemacs.org>
11620 * symsinit.h: add syms_of_win32().
11622 * gui-msw.c (syms_of_gui_mswindows): remove
11623 Fmswindows_shell_execute.
11624 (Fmswindows_shell_execute): moved to win32.c.
11626 * emacs.c (main_1): add syms_of_win32 ().
11628 * win32.c (init_potentially_nonexistent_functions): rewrite in
11629 compiler-friendly terms.
11630 (Fmswindows_shell_execute): move here from gui-msw.c.
11631 (syms_of_win32): new.
11633 * device-msw.c (Fmswindows_printer_list): clean up args to
11635 Don't include tchar under cygwin or mingw.
11636 (msprinter_default_printer): make cygwin-friendly.
11638 2000-07-21 Andy Piper <andy@xemacs.org>
11640 * glyphs-widget.c (image_instantiator_tree_view): use tab
11641 control's update function.
11642 (layout_property): new function. Retrieve items.
11644 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11645 function. Re-populate the tree view from the pending items.
11647 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11648 is designated the parent if the domain is an image instance. This
11649 is needed so that dirtiness can be cascade up the hierarchy and
11650 thus for layout children to be redisplayed correctly.
11651 (allocate_image_instance): rename glyph -> parent.
11653 * redisplay.h: change redisplay_output_layout signature.
11655 * redisplay-msw.c (mswindows_output_display_block): use domain
11658 * redisplay-x.c (x_output_display_block): use domain arg.
11660 2000-07-10 Andy Piper <andy@xemacs.org>
11662 * window.c (Fset_window_configuration): add comment.
11664 * redisplay-output.c (compare_runes):
11665 (redisplay_output_subwindow): redisplay rather than update subwindow.
11666 (redisplay_output_layout): ditto.
11668 * redisplay-msw.c (mswindows_frame_output_end):
11669 (mswindows_frame_output_end): make defer window pos optional.
11671 * lisp.h: add Flast.
11673 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11674 normalize method. Change update method to be for changed
11675 instantiators. Add redisplay method. Change signature of layout
11677 (struct Lisp_Image_Instance): add instantiator.
11678 (IMAGE_INSTANCE_INSTANTIATOR): new.
11679 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11680 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11681 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11684 (find_instantiator_differences): new function.
11685 (Fset_instantiator_property): new convenience function.
11686 (check_image_instance_structure): strictly check for vector
11688 (normalize_image_instantiator): make non-static.
11689 (instantiate_image_instantiator): pass on dest_mask and use new
11690 signatures for image_instance_layout and friends.
11691 (mark_image_instance): mark the instantiator. Mark the subwindow
11692 face not the widget face.
11693 (image_instance_equal): add instantiator.
11694 (image_instance_hash): ditto.
11695 (allocate_image_instance): ditto.
11696 (Fset_image_instance_property): removed.
11697 (Fimage_instance_file_name): ditto.
11698 (Fcolorize_image_instance): ditto.
11699 (image_instance_layout): add offsets to be set.
11700 (update_image_instance): new function. update an image instance
11701 from its changed instantiator.
11702 (inherit_normalize): add dest_mask.
11703 (xbm_normalize): ditto.
11704 (xface_normalize): ditto.
11705 (xpm_normalize): ditto.
11706 (text_update): set_property -> update.
11707 (image_instantiate): use the glyph identity as a hash key, not the
11709 (glyph_width): use new image_instance_layout signature.
11710 (glyph_ascent): ditto.
11711 (glyph_descent): ditto.
11712 (glyph_height): ditto.
11713 (glyph_query_geometry): ressurrect.
11714 (glyph_layout): ditto.
11715 (redisplay_subwindow): update -> redisplay.
11716 (syms_of_glyphs): add Fset_instantiator_property.
11717 (image_instantiator_format_create): set_property -> update.
11720 (autodetect_normalize): add dest_maks to signature.
11721 (x_redisplay_subwindow): update -> redisplay.
11722 (x_redisplay_widget): ditto.
11723 (x_button_redisplay): ditto.
11724 (x_progress_gauge_redisplay): ditto.
11725 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11727 (console_type_create_glyphs_x): update -> redisplay.
11728 (image_instantiator_format_create_glyphs_x): ditto.
11731 (check_valid_instantiator): disallow glyphs in the instantiator,
11732 they must now be vectors.
11733 (check_valid_instantiator_list): ditto.
11734 (glyph_instantiator_to_glyph): use internal symbol rather than
11736 (widget_update): renamed from widget_set_property. Call cascaded
11738 (redisplay_widget): renamed from update_widget.
11739 (widget_layout): image_instance_layout now takes position as well
11741 (widget_normalize): ditto.
11742 (widget_instantiate): ditto.
11743 (tab_control_query_geometry) ditto.:
11744 (tab_control_update): renamed from tab_control_set_property.
11745 (progress_gauge_update): set_property -> update.
11746 (layout_normalize): rewrite so that child instantiators are
11748 (layout_update): new function. Create glyphs from the normalized
11749 children and cope with any other layout keywords. We do not
11750 instantiate children here that will be take care of by
11751 redisplay_output_layout.
11752 (layout_instantiate): call layout_update and not much else.
11753 (layout_post_instantiate): not sure whether this is needed
11755 (layout_query_geometry): query glyph geometry rather than
11756 image_instance geometry.
11757 (layout_layout): set offsets from pass in parameters. Use glyph
11758 geometry and layout functions rather than image instance ones.
11759 (native_layout_layout): ditto.
11760 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11761 (image_instantiator_widget): set_property -> update.
11762 (image_instantiator_buttons): ditto.
11763 (image_instantiator_progress_guage): ditto.
11764 (image_instantiator_tab_control): ditto.
11765 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11766 (image_instantiator_layout): add update method.
11768 * glyphs-msw.c (bmp_normalize):
11769 (mswindows_resource_normalize): add dest_mask so that it can be
11770 proprogated by layout_normalize.
11771 (begin_defer_window_pos): make optional because it may not be the
11772 right thing to do and it introduces differences with X.
11773 (mswindows_unmap_subwindow): ditto.
11774 (mswindows_map_subwindow): ditto.
11775 (mswindows_redisplay_subwindow): renamed from
11776 mswindows_update_subwindow.
11777 (mswindows_redisplay_widget): ditto.
11778 (mswindows_button_redisplay): renamed from
11779 mswindows_button_update. Update is now what the instantiation
11780 function does for a changed instantiator.
11781 (mswindows_progress_gauge_instantiate): set the progress value
11782 here if appropriate.
11783 (mswindows_tab_control_redisplay): cope with re-ordering of the
11784 members of the tab widget by simply selecting the new top
11785 widget. This makes things appear ok if you click on a tab.
11786 (mswindows_combo_box_instantiate): image_instance_layout now takes
11787 position as well as size.
11788 (mswindows_progress_gauge_redisplay): renamed from
11789 mswindows_progress_gauge_update.
11790 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11791 (image_instantiator_format_create_glyphs_mswindows): ditto.
11793 * glyphs-eimage.c (jpeg_normalize):
11796 (tiff_normalize): add dest_mask so that it can be proprogated by
11800 (print_hash_table):
11801 (hash_table_weakness_validate):
11802 (decode_hash_table_weakness):
11803 (Fhash_table_weakness):
11804 (Fhash_table_type):
11805 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11807 * console.h (struct console_methods): move update_* to
11810 2000-07-20 Ben Wing <ben@xemacs.org>
11812 * *.[ch] (XSETOBJ): remove unused middle argument.
11813 lisp-disunion.h: correct wrap_object() to one argument.
11815 2000-07-15 Ben Wing <ben@xemacs.org>
11818 * s/cygwin32.h (CYGWIN_CONV_PATH):
11819 Add missing logb prototype for v1.1.
11820 Use post-b20 names and alias to pre-b20 names when pre-b20.
11822 * s/windowsnt.h: [5].
11824 2000-07-15 Ben Wing <ben@xemacs.org>
11826 * Makefile.in.in (x_objs):
11827 * Makefile.in.in (sheap_objs):
11828 * Makefile.in.in (objs):
11829 added win32.o, cosmetic cleanups.
11831 * alloc.c (Fmake_byte_code):
11832 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
11833 etc. macros which declare their own args now.
11835 * alloc.c (syms_of_alloc):
11836 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
11839 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
11841 * buffer.c (Fget_file_buffer):
11842 Fixed GCPRO problem.
11844 * buffer.c (get_truename_buffer):
11845 Fixed comment about GC checking.
11847 * buffer.c (syms_of_buffer):
11848 Undeclared those dedicated frame funs.
11852 Define convenience macros for internal/external conversions.
11853 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
11854 and Qenvironment_variable_encoding for cleaner code.
11857 Remove dedicated-frame; in lisp.
11859 * bytecode.c (funcall_compiled_function):
11862 * bytecode.c (syms_of_bytecode):
11866 * console-msw.c (mswindows_show_console): Rewrote.
11868 * console-msw.c (Fmswindows_debugging_output): New.
11869 Sends to OutputDebugString (special MSWin debugger interface).
11871 * console-msw.c (Fmswindows_message_box):
11872 Fixed stupid bugs so it works when called from kill-emacs.
11874 * console-msw.c (syms_of_console_mswindows):
11875 Declare Fmswindows_debugging_output.
11878 New MSWin prototypes.
11880 * console-msw.h (struct mswindows_frame):
11881 New entry last-click-mods for improved button-modifier support.
11883 * console-msw.h (FRAME_MSWINDOWS_POPUP):
11884 New struct entry `popup' with corresponding accessor.
11887 * console-x.c (split_up_display_spec):
11888 * console-x.c (get_display_arg_connection):
11889 * console-x.c (x_semi_canonicalize_console_connection):
11890 * console-x.c (x_canonicalize_device_connection):
11891 [[[6]]]: Change char to more specific type.
11892 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
11894 * console-x.c (x_semi_canonicalize_console_connection):
11895 * console-x.c (x_canonicalize_device_connection):
11896 [[[9]]]: Fix up error signalling to use new structured error system.
11899 [[[4]]]: Define codesys aliases:
11900 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
11901 Qx_color_name_encoding, Qx_display_name_encoding.
11903 * console.h (struct console_methods):
11904 New method make_dialog_box_internal supersedes older
11905 popup_dialog_box method.
11908 Define many new errors, part of new structured errors.
11910 * data.c (init_errors_once_early):
11911 * data.c (syms_of_data):
11914 * device-msw.c (mswindows_init_device):
11915 [[[5]]]: Cleanup to support NT 3.51.
11917 * device-msw.c (decode_devmode): Cleanup.
11919 * device-msw.c (mswindows_handle_print_setup_dialog_box):
11920 * device-msw.c (mswindows_handle_print_dialog_box):
11921 * device-msw.c (mswindows_handle_page_setup_dialog_box):
11922 * device-msw.c (syms_of_device_mswindows):
11923 Delete the dialog box primitives recently introduced by Kirill and
11924 instead interface to general dialog box interface.
11927 * device-x.c (compute_x_app_name):
11928 * device-x.c (x_init_device):
11929 * device-x.c (Fx_valid_keysym_name_p):
11930 * device-x.c (Fx_set_font_path):
11934 * device.h (wrap_device): New.
11935 First of its kind; meant to replace XSETDEVICE.
11937 * dialog-msw.c: Many file-dialog symbols.
11939 * dialog-msw.c (mswindows_register_popup_frame): New.
11940 * dialog-msw.c (mswindows_is_dialog_msg): New.
11941 For supporting kbd traversal in dialog boxes.
11943 * dialog-msw.c (dialog_proc):
11944 Support hitting ESC in dialogs.
11946 * dialog-msw.c (struct):
11947 Common dialog box errors.
11949 * dialog-msw.c (handle_file_dialog_box): New.
11950 Add file dialog code.
11952 * dialog-msw.c (handle_question_dialog_box):
11953 Redo existing code to support new question dialog syntax.
11955 * dialog-msw.c (console_type_create_dialog_mswindows):
11956 We support new dialog console method.
11958 * dialog-msw.c (syms_of_dialog_mswindows):
11959 * dialog-msw.c (vars_of_dialog_mswindows):
11960 New file dialog symbols, vars.
11963 * dialog-x.c (maybe_run_dbox_text_callback):
11964 * dialog-x.c (dbox_descriptor_to_widget_value):
11965 * dialog-x.c (x_make_dialog_box_internal):
11966 * dialog-x.c (console_type_create_dialog_x):
11967 Mule-ize entire file.
11968 Redo to support question dialog syntax.
11972 * dialog.c (Fmake_dialog_box_internal):
11973 * dialog.c (syms_of_dialog):
11974 Kill old popup-dialog-box, replace with new primitive.
11975 Just call device method or signal error.
11977 * eldap.c (Fldap_open):
11978 * eldap.c (Fldap_search_basic):
11979 * eldap.c (Fldap_add):
11980 * eldap.c (Fldap_modify):
11985 * emacs.c (make_arg_list_1):
11986 * emacs.c (make_arg_list):
11987 Mule-ize call to dll_init().
11991 * emacs.c (make_argc_argv):
11992 * emacs.c (free_argc_argv):
11993 * emacs.c (init_cmdargs):
11994 * emacs.c (main_1):
11995 * emacs.c (Fkill_emacs):
11996 * emacs.c (Fdump_emacs):
11997 Update comments about what can be used in syms_* etc.
11998 Call init_win32() when necessary.
11999 Fix up MS Win dialog box in kill-buffer to actually work right.
12010 * eval.c (condition_case_3):
12012 * eval.c (function_argcount):
12013 * eval.c (funcall_lambda):
12016 * eval.c (type_error): New.
12017 * eval.c (maybe_type_error): New.
12018 * eval.c (continuable_type_error): New.
12019 * eval.c (maybe_continuable_type_error): New.
12020 * eval.c (type_error_with_frob): New.
12021 * eval.c (maybe_type_error_with_frob): New.
12022 * eval.c (continuable_type_error_with_frob): New.
12023 * eval.c (maybe_continuable_type_error_with_frob): New.
12024 New functions for use with structured errors.
12027 * event-Xt.c (x_event_to_emacs_event):
12028 Buttons are now modifiers too.
12030 * event-Xt.c (emacs_Xt_current_event_timestamp):
12031 Implement new event method.
12032 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12035 * event-msw.c (ntpipe_shove_writer): [5].
12036 * event-msw.c (mswindows_enqueue_mouse_button_event):
12037 * event-msw.c (mswindows_drain_windows_queue):
12038 * event-msw.c (mswindows_wnd_proc): [7].
12039 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12040 * event-msw.c (mswindows_modifier_state):
12041 Throughout: support new button modifiers.
12043 * event-msw.c (emacs_mswindows_current_event_timestamp):
12044 Implement new event method.
12045 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12048 * event-stream.c (event_stream_current_event_timestamp): New.
12049 * event-stream.c (maybe_kbd_translate): New functionality.
12050 * event-stream.c (vars_of_event_stream):
12051 Document new kbd-translate-table functionality.
12053 * event-stream.c (Fcurrent_event_timestamp): New.
12054 New primitive for use in fabricated events.
12055 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12057 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12060 * events.c (Fmake_event):
12061 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12065 * events.c (format_event_object): fix gcc warnings.
12067 * events.c (Fevent_timestamp): Document new primitives.
12069 * events.c (TIMESTAMP_HALFSPACE): New.
12071 * events.c (Fevent_timestamp_lessp): New. New primitive for
12072 comparing timestamps correctly (half-space algorithm).
12074 * events.c (Fevent_modifier_bits): Doc fix.
12076 * events.c (Fevent_modifiers): Major doc addition.
12077 * events.c (event_x_y_pixel_internal): Typo fix.
12078 * events.c (syms_of_events): Declare new primitives.
12081 Update long comment for button modifiers, timestamps.
12083 * events.h (struct event_stream):
12084 New current_event_timestamp method.
12087 * extents.c (extent_in_region_p):
12088 * extents.c (decode_extent):
12089 * extents.c (Fset_extent_parent):
12090 * extents.c (decode_map_extents_flags):
12094 * extents.c (struct extent_at_arg):
12095 * extents.c (decode_extent_at_flag):
12096 * extents.c (extent_at_mapper):
12097 * extents.c (extent_at_bytind):
12098 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12099 * extents.c (Fextents_at): New primitive. [9].
12100 * extents.c (symbol_to_glyph_layout): [9].
12101 Support new primitive `extents-at'.
12104 * extents.c (get_text_property_bytind):
12105 extent_at_bytind has another arg.
12108 * extents.c (syms_of_extents): New primitive.
12110 * file-coding.c (Fmake_coding_system): [1].
12111 * file-coding.c (subsidiary_coding_system): fix gcc warning
12112 * file-coding.c (syms_of_file_coding): [2].
12114 * fileio.c (Fexpand_file_name):
12115 * fileio.c (Fsysnetunam):
12116 * fileio.c (Ffile_exists_p):
12117 * fileio.c (Ffile_executable_p):
12118 * fileio.c (Fverify_visited_file_modtime):
12121 * fileio.c (syms_of_fileio): [2].
12123 * filelock.c (lock_file_1):
12124 * filelock.c (current_lock_owner):
12125 * filelock.c (lock_if_free):
12126 * filelock.c (lock_file):
12127 * filelock.c (unlock_file):
12130 * fns.c (concat): Fix gcc warning.
12133 * fns.c (Fold_member):
12135 * fns.c (Fold_memq):
12136 * fns.c (memq_no_quit):
12138 * fns.c (Fold_assoc):
12140 * fns.c (Fold_assq):
12141 * fns.c (assq_no_quit):
12143 * fns.c (Fold_rassoc):
12145 * fns.c (Fold_rassq):
12146 * fns.c (rassq_no_quit):
12148 * fns.c (Fold_delete):
12150 * fns.c (Fold_delq):
12151 * fns.c (delq_no_quit):
12152 * fns.c (Fremassoc):
12153 * fns.c (Fremassq):
12154 * fns.c (remassq_no_quit):
12155 * fns.c (Fremrassoc):
12156 * fns.c (Fremrassq):
12157 * fns.c (remrassq_no_quit):
12158 * fns.c (Freverse):
12162 * frame-msw.c (mswindows_init_frame_1):
12163 * frame-msw.c (mswindows_delete_frame):
12164 Register popups with dialog code so keyboard traversing works.
12166 * frame-tty.c (tty_raise_frame_no_select): [1].
12169 * frame-x.c (x_set_frame_text_value):
12170 * frame-x.c (x_set_frame_properties):
12171 * frame-x.c (x_create_widgets):
12175 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12177 * frame.h (wrap_frame): New.
12178 Macro like wrap_device.
12181 * general.c (SYMBOL):
12182 * general.c (syms_of_general):
12183 Major reorg. This is now just a wrapper and symbols themselves
12184 are listed in general-slots.h.
12186 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12187 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12189 * glyphs-msw.c (mswindows_native_layout_instantiate):
12190 Add DS_CONTROL so keyboard traversal will work.
12193 * glyphs-widget.c (syms_of_glyphs_widget):
12194 Move some symbols to general-slots.h.
12197 * glyphs-x.c (xbm_instantiate_1):
12198 * glyphs-x.c (x_xbm_instantiate):
12199 * glyphs-x.c (x_xface_instantiate):
12200 * glyphs-x.c (autodetect_instantiate):
12201 * glyphs-x.c (cursor_font_instantiate):
12202 * glyphs-x.c (x_update_widget):
12203 * glyphs-x.c (x_widget_instantiate):
12204 * glyphs.c (bitmap_to_lisp_data):
12205 * glyphs.c (pixmap_to_lisp_data):
12208 * glyphs.c (syms_of_glyphs):
12212 * gui-x.c (print_widget_value):
12213 * gui-x.c (menu_separator_style_and_to_external):
12214 * gui-x.c (add_accel_and_to_external):
12215 * gui-x.c (button_item_to_widget_value):
12216 * gui-x.c (gui_items_to_widget_values_1):
12217 * gui-x.c (gui_items_to_widget_values):
12218 * gui-x.c (syms_of_gui_x):
12219 * gui-x.c (vars_of_gui_x):
12220 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12224 Muleize, prototype changes matching gui-x.c.
12227 * gui.c (separator_string_p):
12228 * gui.c (gui_item_add_keyval_pair):
12229 * gui.c (make_gui_item_from_keywords_internal):
12230 * gui.c (signal_too_long_error):
12231 * gui.c (parse_gui_item_tree_item):
12232 * gui.c (syms_of_gui):
12233 * gui.c (vars_of_gui):
12235 menu-no-selection-hook moved here (used by MSWin).
12236 Move some symbols to general-slots.h.
12240 * insdel.c (get_buffer_pos_char):
12241 * insdel.c (get_buffer_range_char):
12244 * keymap.c (keymap_lookup_directly):
12245 * keymap.c (keymap_store):
12246 * keymap.c (ensure_meta_prefix_char_keymapp):
12247 * keymap.c (describe_map):
12249 Support new button modifiers.
12251 * lisp-disunion.h (wrap_object):
12252 * lisp-disunion.h (XSETOBJ):
12253 Rename make_obj to wrap_object.
12256 * lisp-union.h (make_int):
12257 * lisp-union.h (make_char):
12258 Support wrap_object.
12261 * lisp.h (LIST_LOOP):
12262 * lisp.h (EXTERNAL_LIST_LOOP):
12263 * lisp.h (LIST_LOOP_2):
12264 * lisp.h (EXTERNAL_LIST_LOOP_1):
12265 * lisp.h (EXTERNAL_LIST_LOOP_2):
12266 * lisp.h (EXTERNAL_LIST_LOOP_3):
12267 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12268 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12269 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12270 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12271 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12272 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12273 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12274 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12275 * lisp.h (struct Lisp_Symbol):
12276 * lisp.h (maybe_continuable_error_with_frob):
12277 Fix up section comments.
12278 Add new types for char to indicate usage.
12279 Delete symbols auto-generated from general-slots.h.
12280 Add prototypes for structured error functions.
12281 Add long comments describing looping macros and change interface
12282 so that lvalues are automatically declared.
12283 Add NO_DECLARE macro in case callers want to declare lvalues
12286 * lread.c (read_syntax_error):
12287 * lread.c (continuable_read_syntax_error):
12288 * lread.c (read_structure):
12289 * lread.c (sequence_reader):
12290 * lread.c (read_list_conser):
12291 * lread.c (read_compiled_function):
12292 Rename syntax_error and continuable_syntax_error to avoid clash
12293 with same-named structured error functions.
12295 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12296 * menubar-msw.c (populate_menu_add_item):
12297 * menubar-msw.c (populate_or_checksum_helper):
12302 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12303 Mule-ize whole file.
12305 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12307 * mule-charset.c (Fmake_charset):
12308 * mule-wnnfns.c (Fwnn_set_param):
12311 * ntproc.c (create_child):
12312 * ntproc.c (Fwin32_set_current_locale):
12313 Add comments portending doom.
12316 * objects-msw.c (old_font_enum_callback_2):
12317 * objects-msw.c (font_enum_callback_1):
12318 * objects-msw.c (mswindows_enumerate_fonts):
12322 * objects-x.c (allocate_nearest_color):
12323 * objects-x.c (x_parse_nearest_color):
12324 * objects-x.c (x_initialize_color_instance):
12325 * objects-x.c (x_print_color_instance):
12326 * objects-x.c (x_finalize_color_instance):
12327 * objects-x.c (x_valid_color_name_p):
12328 * objects-x.c (x_initialize_font_instance):
12329 * objects-x.c (x_print_font_instance):
12330 * objects-x.c (valid_x_font_name_p):
12331 * objects-x.c (truename_via_FONT_prop):
12332 * objects-x.c (truename_via_random_props):
12333 * objects-x.c (truename_via_XListFonts):
12334 * objects-x.c (x_font_truename):
12335 * objects-x.c (x_font_instance_truename):
12336 * objects-x.c (x_font_instance_properties):
12337 * objects-x.c (x_list_fonts):
12338 * objects-x.c (x_find_charset_font):
12339 Mule-ize entire file.
12346 * print.c (std_handle_out_external):
12347 * print.c (debug_print_no_newline):
12348 * print.c (syms_of_print):
12349 Output to all debugger kinds in debug-print.
12350 Fix console-output code under MSWin to actually work.
12352 * process-nt.c (send_signal):
12353 * process-nt.c (nt_create_process):
12354 Use newer Unicode macros.
12356 * process-unix.c (unix_create_process):
12357 * process-unix.c (unix_canonicalize_host_name):
12358 * process-unix.c (unix_open_network_stream):
12364 * search.c (syms_of_search):
12367 * select-msw.c (mswindows_destroy_selection):
12370 * select-x.c (symbol_to_x_atom):
12373 * select.c (syms_of_select):
12376 * sound.c (Fplay_sound_file):
12380 * specifier.c (decode_specifier_type):
12381 * specifier.c (Fvalid_specifier_locale_type_p):
12382 * specifier.c (check_valid_locale_or_locale_type):
12383 * specifier.c (decode_locale):
12384 * specifier.c (decode_locale_type):
12385 * specifier.c (decode_locale_list):
12386 * specifier.c (check_valid_domain):
12387 * specifier.c (decode_specifier_tag_set):
12388 * specifier.c (Fcanonicalize_tag_set):
12389 * specifier.c (Fdefine_specifier_tag):
12390 * specifier.c (Fspecifier_tag_predicate):
12391 * specifier.c (check_valid_inst_list):
12392 * specifier.c (check_valid_spec_list):
12393 * specifier.c (decode_how_to_add_specification):
12394 * specifier.c (check_modifiable_specifier):
12395 * specifier.c (specifier_add_spec):
12396 * specifier.c (boolean_validate):
12397 * specifier.c (display_table_validate):
12400 * specifier.c (syms_of_specifier):
12401 Move some symbols to general-slots.h.
12405 * symbols.c (Fmapatoms):
12406 * symbols.c (Fapropos_internal):
12409 * symbols.c (set_default_buffer_slot_variable):
12410 * symbols.c (set_default_console_slot_variable):
12413 * symbols.c (defsymbol_massage_name_1):
12414 * symbols.c (defkeyword_massage_name):
12415 * symbols.c (deferror_1):
12416 * symbols.c (deferror):
12417 * symbols.c (deferror_massage_name_and_message):
12419 * symeval.h (DEFSYMBOL):
12420 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12422 * symbols.c (syms_of_symbols):
12426 * symsinit.h (init_win32): New.
12427 Also new is syms_of_dialog_mswindows.
12430 Add new Unicode macros, missing Cygwin wide-char functions,
12431 convenience conversion macros for Qmswindows_tstr, macros for
12432 encapsulating required MSWin <-> Cygwin filename conversions,
12433 prototype for dynamically-extracted (not in NT 3.51) functions.
12438 * tooltalk.c (Fadd_tooltalk_message_arg):
12439 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12440 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12443 * tooltalk.c (syms_of_tooltalk):
12447 * unexnt.c (unexec):
12448 Fix up headers, declaration of unexec() to be more standard.
12450 2000-07-20 Martin Buchholz <martin@xemacs.org>
12452 * offix.h: Revert change to guard macros - they're used in offix.c!
12454 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12456 * lisp.h: Defsubred Fdelete.
12458 * console-msw.h: (msprinter_default_printer): Added.
12460 * console-msw.c (msprinter_canonicalize_console_connection):
12461 (msprinter_canonicalize_device_connection): Added.
12463 * device-msw.c (msprinter_default_printer):
12464 (Fmswingows_get_default_printer):
12465 (signal_enum_priner_error):
12466 (Fmswingows_printer_list): Added.
12468 2000-07-19 Martin Buchholz <martin@xemacs.org>
12470 * XEmacs 21.2.35 is released.
12472 2000-07-19 Martin Buchholz <martin@xemacs.org>
12474 * select-x.c (x_handle_selection_request):
12475 Text selected in xemacs and pasted into xterm failed to appear.
12476 Spelling fixes and cosmetic changes.
12478 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12480 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12481 XEmacs frame (fix for doubling chars in dialog boxes).
12483 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12485 * select.c (select_convert_in, select_convert_out):
12486 Don't call intern() every time.
12488 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12489 * select.c (vars_of_select): Initialise them.
12491 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12493 * select.c (selection-coercible-types): New.
12495 * select.c (own-selection-internal):
12496 * select.c (get-selection-internal):
12497 MULE bug fix - these should default to COMPOUND_TEXT and not
12498 STRING for MULE. I think.
12500 * select.c (select_convert_out): Use selection-coercible-types
12501 to find types that we can attempt to perform coercions on.
12503 2000-07-18 Martin Buchholz <martin@xemacs.org>
12507 Add coding: cookie to identify encoding.
12509 * mule-canna.c (CANNA_mode_keys): make static.
12510 Use proper prototypes, even for functions of no arguments.
12511 Remove external prototype for Fding().
12513 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12515 * select.c (syms_of_select): Add missing DEFSUBR.
12517 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12519 * select.c (get_selection_internal, own_selection_internal):
12520 Make the type default to STRING, rather than placing a nil type
12521 into Vselection_alist.
12523 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12525 * gpmevent.c (tty_selection_exists_p):
12526 * gpmevent.c (tty_own_selection):
12527 Updated parameter lists.
12529 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12531 * select.h (selection-alist): Removed declaration.
12533 * select.h (get_local_selection):
12534 * select.c (get_local_selection):
12537 * select.h (convert_selection): Removed declaration.
12538 * select.c (convert_selection): Removed.
12539 This function belongs in Lisp.
12541 * select.h (select_convert_in): Declare.
12542 * select.h (select_convert_out): Declare.
12543 * select.c (select_convert_in): New.
12544 * select.c (select_convert_out): New.
12545 New conversion functions for other files to call.
12547 * select.h (select_notify_buffer_kill): Declare.
12548 * select.c (select_notify_buffer_kill): New.
12549 New functions that get called from kill-buffer.
12551 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12552 X-specific lisp code.
12554 * select.h: Declare some of the lisp-visible functions for
12557 * select.c (clean_local_selection_data): Removed. This was
12558 a disgusting function, and previously should have been in
12559 select-x.c in any case. The functionality is now provided
12560 in select-convert-from-integer (select.el).
12562 * select.c (available-selection-types): Fixed stupidity where
12563 INTEGER and ATOM got added twice. Also add STRING when we see an
12566 * select.c (get-selection-internal): Removed symbol stripping. No
12567 longer causes conversion when data comes from the internal cache.
12569 * select.c (syms_of_select): Added new functions.
12571 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12572 error checking - previously this called abort!
12574 * select-x.c (x_own_selection): Changed comment.
12576 * select-x.c (x_handle_selection_request): Use select_convert_out.
12577 Don't mess with selection-alist; it's an internal variable of select.c.
12579 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12581 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12582 rather than messing with selection-alist.
12584 * select-msw.c (mswindows_get_foreign_selection):
12585 Use TO_INTERNAL_FORMAT rather than hacking.
12587 2000-07-14 Martin Buchholz <martin@xemacs.org>
12589 * process-unix.c (unix_open_multicast_group):
12590 (unix_open_multicast_group): Remove useless casts.
12592 2000-07-13 Martin Buchholz <martin@xemacs.org>
12594 * sound.c (Fplay_sound): Fix `unused variable' warning.
12596 * emacs.c (main): Use correct type for _environ on SCO5.
12598 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12600 * console.h (own_selection_method):
12601 * console.h (selection_exists_p_method):
12602 * console.h (available_selection_types_method): New.
12603 * console.h (register_selection_data_type_method): New.
12604 * console.h (selection_data_type_name): New.
12606 * console-msw.h (mswindows_destroy_selection): Declare it. New
12607 function & alist to track GlobalAlloc()'d handles that need
12608 releasing when the clipboard data gets replaced or emptied.
12610 * event-msw.c (mswindows_wnd_proc): Call it.
12612 * lisp.h, general.c (Qappend): New symbol representing a
12615 * select.c (own-selection-internal):
12616 * select.c (selection-exists-p):
12617 * select.c (available-selection-types): New.
12618 * select.c (register-selection-data-type): New.
12619 * select.c (selection-data-type-name): New. New functions to deal
12620 with device-specific selection data formats.
12621 * select.c (selection-converter-out-alist): Renamed.
12622 * select.c (selection-converter-in-alist): New.
12623 * select.c (selection-appender-alist): New. Added new alists.
12624 * select.c (syms_of_select, vars_of_select): Added new symbols &
12626 * select.c (get_local_selection): Split.
12627 * select.c: Removed spurious type checking - selections may now be
12628 of any type, not just strings.
12629 * select.c (own-selection-internal):
12631 * select.h, select.c (convert_selection): New. Created
12632 convert_selection() function based on get_local_selection().
12633 * select.h, select.c (QCF_*): New symbols representing mswindows
12635 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12636 symbols representing `how-to-add' modes.
12638 * select-msw.c (x_sym_p): New.
12639 * select-msw.c (symbol_to_ms_cf): New.
12640 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12641 symbols & clipboard formats. Can also handle string names.
12642 * select-msw.c (mswindows_own_selection):
12643 * select-msw.c (mswindows_selection_exists_p):
12644 Added `data-type' parameter. Use it.
12645 * select-msw.c (mswindows_available_selection_types): New.
12646 * select-msw.c (mswindows_register_selection_data_type): New.
12647 * select-msw.c (mswindows_selection_data_type_name): New.
12648 * select-msw.c (mswindows_own_selection):
12649 * select-msw.c (mswindows_get_foreign_selection):
12650 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12651 * select-msw.c (console_create_select_mswindows): Added new methods.
12652 * select-msw.c (mswindows_destroy_selection): New.
12653 * select-msw.c (Vhandle_alist): New list.
12654 * select-msw.c (mswindows_own_selection):
12656 * select-x.c (x_own_selection):
12657 * select-x.c (x_selection_exists_p):
12658 * select-x.c: Added some comments about maybe using new
12660 * select-x.c (x_own_selection):
12662 * specifier.c: Remove definition of Qappend (now in general.c)
12663 * specifier.c (syms_of_specifier): Remove Qappend.
12665 2000-07-12 Martin Buchholz <martin@xemacs.org>
12667 * config.h.in: Add socklen_t.
12669 * s/decosf4-0.h: No special compiler flags needed or desired.
12670 In particular, undefine _BSD for DEC OSF 4.0.
12672 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12674 * redisplay-msw.c (msprinter_frame_output_end): Added.
12675 (console_type_create_redisplay_mswindows): Referred the above.
12677 * frame.c (setup_frame_without_minibuffer): Do not create a
12678 default minibuffer frame on a printer device.
12680 * frame-msw.c (apply_dc_geometry): Added.
12681 (msprinter_start_page):
12682 (msprinter_init_frame_3):
12683 (msprinter_eject_page): Use it.
12685 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12686 and removed residual duplex and orientation properties.
12688 2000-07-11 Martin Buchholz <martin@xemacs.org>
12690 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12692 * unexalpha.c: Remove system prototypes from C sources!
12694 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12696 * eval.c: Remove references to M-x edit-options in DEFUNs for
12697 `defvar' and `defconst'.
12699 2000-07-09 Martin Buchholz <martin@xemacs.org>
12701 * config.h.in: Remove SMART_INCLUDE hackery.
12703 PostgreSQL hacking:
12704 * config.h.in: Don't use SMART_INCLUDE.
12706 * postgresql.h: Include libpq-fe.h here. Fix typo.
12707 * inline.c: Simply #include "postgresql.h"
12709 - Don't use SMART_INCLUDE
12710 - Use simply "const".
12711 - Use standard doc string conventions.
12712 - Use correct type for result of PQstatus.
12714 2000-07-09 Martin Buchholz <martin@xemacs.org>
12716 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12718 C++ compilation changes.
12719 * config.h.in (EXTERN_C): Define.
12720 * config.h.in (not): This is also a C++ keyword.
12721 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12722 * cm.c: Use EXTERN_C.
12723 * redisplay-tty.c: Use EXTERN_C.
12724 * sysdep.c: Use EXTERN_C. Remove Gould support.
12726 2000-07-09 Martin Buchholz <martin@xemacs.org>
12728 * general.c: Remove duplicate definition for Qfunction.
12730 2000-07-08 Ben Wing <ben@xemacs.org>
12732 * device-msw.c (msprinter_init_device):
12733 * device-msw.c (sync_printer_with_devmode):
12734 * device-msw.c (handle_devmode_changes):
12735 * device-msw.c (print_dialog_worker):
12736 * device-msw.c (Fmsprinter_apply_settings):
12737 * device-msw.c (hash_devmode):
12738 * device-msw.c (Fmsprinter_settings_despecialize):
12739 use Qmswindows_tstr, not Qctext.
12741 * vm-limit.c (check_memory_limits):
12742 avoid infinite loop printing warning messages.
12744 2000-07-05 Craig Lanning <lanning@scra.org>
12746 * Makefile.in.in: Add support for including the Windows resources
12747 when building with the cygwin and mingw targets.
12749 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12750 not set or not correct.
12751 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12752 (init_initial_directory): Don't try to use $PWD on the
12753 WIN32_NATIVE target.
12756 [[Add -mwindows to eliminate console window.]] not required --ben
12757 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12758 (MAIL_USE_POP): removed; now handled by configure.
12760 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12761 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12762 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12763 (MAIL_USE_POP): removed; now handled by configure.
12764 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12765 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12766 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12768 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12769 up from <winsock.h> via systime.h.
12770 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12771 (getpagesize): from Dan Holmsand, added.
12772 Added #endif which was left dangling by Ben's mega patch; added
12773 comment to help prevent this in the future.
12775 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12777 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12779 * console-msw.h (struct mswindows_device): Removed unnecessary
12780 cached device geometry values.
12781 Added update_tick and an accessor macro.
12782 (Lisp_Devmode): Added lrecord declaration.
12783 (struct msprinter_device): Contain devmode as a Lisp object.
12784 Added mswindows_get_selected_frame_hwnd();
12786 * console.h (struct console_methods): Indentation nitpicking.
12788 * device-msw.c (mswindows_init_device): Do not initialize geometry
12789 cache. Initialize update tick.
12790 (mswindows_device_system_metrics): Ask the device for its geometry.
12791 (global_free_2_maybe):
12792 (devmode_to_hglobal):
12793 (handle_printer_changes):
12794 (ensure_not_printing):
12795 (print_dialog_worker):
12796 (Fmsprinter_print_setup_dialog):
12797 (Fmsprinter_print_dialog):
12798 (plist_get_margin):
12799 (plist_set_margin):
12800 (Fmsprinter_page_setup_dialog): Added functions.
12801 (sync_printer_with_devmode):
12802 (handle_devmode_changes):
12803 (Fmsprinter_get_settings):
12804 (Fmsprinter_select_settings):
12805 (Fmsprinter_apply_settings):
12806 (allocate_devmode):
12807 (Fmsprinter_settings_copy):
12808 (Fmsprinter_settings_despecialize):
12810 (finalize_devmode):
12812 (hash_devmode): Added functions
12813 (syms_of_device_mswindows): Init devmode lrecord class.
12815 * device.h: Added an exfun for find-device.
12817 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12818 geometry; although, recreate the device compatible DC.
12820 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12821 (msprinter_init_frame_3):
12822 (msprinter_frame_property):
12823 (msprinter_internal_frame_property_p):
12824 (msprinter_frame_properties):
12825 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
12826 print job properties (will move to device settings).
12828 * lisp.h: Added symbols.
12830 * general.c (syms_of_general): Declared them.
12832 * hash.c (string_hash): Added.
12834 * lrecord.h (lrecord_type): Added devmode lrecord type.
12836 2000-07-02 Mike Sperber <mike@xemacs.org>
12838 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
12841 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
12843 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
12846 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
12848 * data.c (Fstring_to_number): Don't recognize floating point if
12851 2000-06-22 Martin Buchholz <martin@xemacs.org>
12853 * glyphs-widget.c (tab_control_query_geometry):
12854 (widget_query_geometry):
12855 (button_query_geometry):
12856 * glyphs.c (text_query_geometry):
12857 Enforce type correctness.
12859 2000-06-18 Martin Buchholz <martin@xemacs.org>
12861 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
12862 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
12864 2000-06-17 Martin Buchholz <martin@xemacs.org>
12866 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
12867 conflicts with gcc's fixincluded version of FOO.h.
12869 * glyphs.h (image_instance_geometry): Remove trailing `,'
12871 2000-06-08 Mike Alexander <mta@arbortext.com>
12873 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
12874 (shove_thread): Don't write the same output twice
12875 (make_ntpipe_output_stream): Increase priority of shove thread
12876 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
12878 (ntpipe_shove_closer): Don't delete the pipe until we're done with
12881 2000-06-12 Ben Wing <ben@xemacs.org>
12883 * s\mingw32.h (sigset):
12884 * s\windowsnt.h (sigset):
12885 rename msw_ to mswindows_ for consistency with general convention.
12887 2000-06-12 Ben Wing <ben@xemacs.org>
12890 * console-msw.c (mswindows_get_console_hwnd):
12891 * console-msw.c (mswindows_ensure_console_allocated):
12892 * console-msw.c (mswindows_hide_console):
12893 * console-msw.c (mswindows_show_console):
12894 * console-msw.c (mswindows_ensure_console_buffered):
12895 * console-msw.c (mswindows_output_console_string):
12896 * console-msw.c (mswindows_windows9x_p):
12898 * device-msw.c (mswindows_get_workspace_coords):
12899 * device-msw.c (mswindows_device_system_metrics):
12900 * dialog-msw.c (mswindows_popup_dialog_box):
12901 * event-msw.c (mswindows_wnd_proc):
12902 * frame-msw.c (mswindows_size_frame_internal):
12903 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12904 * menubar-msw.c (displayable_menu_item):
12905 * menubar-msw.c (mswindows_char_is_accelerator):
12907 * nt.c (mswindows_sigset):
12908 * nt.c (mswindows_sigrelse):
12909 * nt.c (mswindows_sigpause):
12910 * nt.c (mswindows_raise):
12911 * nt.c (timer_proc):
12913 * ntproc.c (find_child_console):
12914 * ntproc.c (sys_kill):
12916 * print.c (std_handle_out_external):
12917 * process-nt.c (find_child_console):
12918 * process-nt.c (send_signal_the_95_way):
12919 * process-nt.c (ensure_console_window_exists):
12920 * process-nt.c (nt_create_process):
12922 rename msw_ to mswindows_ for consistency with general convention.
12926 include nt.h, not syswindows.h.
12928 * nt.c (mswindows_fstat):
12929 * nt.c (mswindows_stat):
12930 prefix mswindows_ instead of attempting to directly override the
12931 library functions. fix declarations.
12934 include syswindows.h. move some sysdep.h stuff here.
12937 include syswindows.h, not <windows.h>.
12945 * sysdep.c (sys_fstat):
12946 * sysdep.c (sys_stat):
12947 call mswindows versions when appropriate.
12950 move mswin decls to nt.h.
12953 add long comment describing appropriate use of the various windows
12956 2000-06-11 Ben Wing <ben@xemacs.org>
12958 * device-x.c: Correct doc string for sixth arg of x-get-resource.
12960 2000-06-10 Ben Wing <ben@xemacs.org>
12962 * Makefile.in.in (release):
12963 Correction to make sure xemacs.exe always dumped when correct.
12967 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
12969 * buffer.c (set_buffer_internal):
12970 [[[[2]]]]: Remove HAVE_FEP code.
12972 * buffer.c (init_initial_directory):
12976 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
12980 * callproc.c (call_process_cleanup):
12981 * callproc.c (Fold_call_process_internal):
12982 * callproc.c (child_setup):
12983 * callproc.c (getenv_internal):
12984 * callproc.c (init_callproc):
12985 * callproc.c (vars_of_callproc):
12986 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
12987 __CYGWIN32__ -> CYGWIN.
12988 DOS_NT -> WIN32_NATIVE.
12989 Remove MSDOS support/references, converting to WIN32_NATIVE
12991 __MINGW32__ -> MINGW.
12992 Fix windows.h includes.
12993 Remove bogus HAVE_NTGUI.
12999 mswindows_message_outputted added for use in allowing startup
13000 errors on the console to be seen.
13002 * console-msw.c (msw_ensure_console_allocated):
13003 * console-msw.c (msw_output_console_string):
13004 * console-msw.c (DHEADER):
13005 * console-msw.c (DOPAQUE_DATA):
13006 * console-msw.c (DEVENT):
13007 * console-msw.c (DCONS):
13008 * console-msw.c (DCONSCDR):
13009 * console-msw.c (DSTRING):
13010 * console-msw.c (DVECTOR):
13011 * console-msw.c (DSYMBOL):
13012 * console-msw.c (DSYMNAME):
13015 * console-stream.c (stream_init_console):
13016 Fix text/binary problems.
13019 * device-msw.c (mswindows_finish_init_device):
13020 * device-msw.c (mswindows_delete_device):
13023 * device.c (handle_asynch_device_change):
13027 * dgif_lib.c (DGifOpenFileName):
13028 * dgif_lib.c (DGifOpenFileHandle):
13029 * dgif_lib.c (DGifGetLine):
13030 * dgif_lib.c (DGifGetPixel):
13031 Added config.h/lisp.h, fix up includes.
13038 * dired.c (file_name_completion):
13039 * dired.c (Ffile_attributes):
13040 * dired.c (syms_of_dired):
13044 * dumper.c (pdump_file_unmap):
13045 * dumper.c (pdump_load):
13049 * editfns.c (Ftemp_directory):
13050 * editfns.c (user_login_name):
13051 * editfns.c (Fuser_real_login_name):
13052 * editfns.c (get_home_directory):
13055 * elhash.c (finish_marking_weak_hash_tables):
13056 [[[[5]]]]: Fix GCC warnings.
13059 * emacs.c (mswindows_handle_hardware_exceptions):
13060 * emacs.c (make_arg_list_1):
13061 * emacs.c (main_1):
13062 * emacs.c (Fkill_emacs):
13063 * emacs.c (Fdump_emacs):
13065 Fix problems with nested crashes, add long comment.
13067 * event-Xt.c (init_event_Xt_late):
13071 * event-msw.c (mswindows_dde_callback):
13072 * event-msw.c (mswindows_handle_sticky_modifiers):
13073 * event-msw.c (mswindows_wnd_proc):
13077 * events.c (character_to_event):
13081 * fileio.c (Ffile_name_directory):
13082 * fileio.c (Ffile_name_nondirectory):
13083 * fileio.c (directory_file_name):
13084 * fileio.c (Fexpand_file_name):
13085 * fileio.c (Fsubstitute_in_file_name):
13086 * fileio.c (Ffile_name_absolute_p):
13087 * fileio.c (check_executable):
13088 * fileio.c (Ffile_readable_p):
13089 * fileio.c (Ffile_accessible_directory_p):
13090 * fileio.c (Ffile_modes):
13091 * fileio.c (Funix_sync):
13092 * fileio.c (vars_of_fileio):
13095 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13097 Expand getdefdir defn.
13098 Fix bogus rename() comment.
13100 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13101 to use standard XEmacs include files, e.g. sysfile.h, rather
13102 than system-specific includes.
13108 * frame.c (vars_of_frame):
13112 * getloadavg.c (getloadavg):
13114 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13115 (We don't use it elsewhere in the code; just add a comment.)
13122 * glyphs-msw.c (mswindows_resource_instantiate):
13125 * glyphs-x.c (x_native_layout_instantiate):
13128 * gui-msw.c (Fmswindows_shell_execute):
13137 * lread.c (locate_file_in_directory_mapper):
13144 * mem-limits.h (get_lim_data):
13156 * nt.c (rva_to_section):
13157 * nt.c (mswindows_executable_type):
13159 Fix closedir() defn.
13162 [[[[8]]]]: *_OK defs moved to sysfile.h.
13171 * print.c (std_handle_out_external):
13175 * process-nt.c (nt_create_process):
13177 try to fix process quoting somewhat.
13179 * process-unix.c (unix_create_process):
13183 * process.c (vars_of_process):
13190 * realpath.c (xrealpath):
13193 * redisplay-tty.c (init_tty_for_redisplay):
13203 * sheap.c (more_static_core):
13204 * sheap.c (report_sheap_usage):
13208 * signal.c (alarm_signal):
13215 * strftime.c (zone_name):
13218 * symsinit.h (init_sunpro):
13222 commctrl.h not in Cygwin b20.1.
13225 * sysdep.c (endif):
13226 * sysdep.c (sys_subshell):
13227 * sysdep.c (init_baud_rate):
13228 * sysdep.c (emacs_get_tty):
13229 * sysdep.c (emacs_set_tty):
13230 * sysdep.c (tty_init_sys_modes_on_device):
13231 * sysdep.c (init_system_name):
13232 * sysdep.c (sys_open):
13233 * sysdep.c (interruptible_open):
13234 * sysdep.c (sys_fopen):
13235 * sysdep.c (sys_mkdir):
13236 * sysdep.c (sys_rename):
13237 * sysdep.c (get_process_times_1):
13244 * sysdir.h (DIRENTRY_NONEMPTY):
13247 * sysdll.c (dll_init):
13253 added text/binary defs.
13259 * sysproc.h (EDESTADDRREQ):
13260 * sysproc.h (poll_fds_for_input):
13277 Always define WIN32_LEAN_AND_MEAN.
13279 * unexcw.c (unexec):
13283 * unexec.c (copy_text_and_data):
13284 * unexec.c (adjust_lnnoptrs):
13288 * unexnt.c (_start):
13291 2000-06-07 Ben Wing <ben@xemacs.org>
13293 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13294 was used only as a model. We've long since extracted any useful
13295 logic or code out of this. (I just did an exhaustive search.)
13297 * s\msdos.h: Removed.
13299 * s\windows95.h: Removed.
13301 2000-06-10 Ben Wing <ben@xemacs.org>
13305 Don't use extern with fun defs.
13309 Remove nt\inc include.
13310 Remove getdisk, getdefdir. (The former is unused, the latter
13311 expanded in fileio.h.)
13314 * s\windowsnt.h (WIN32_NATIVE):
13315 * s\windowsnt.h (HAVE_STRCASECMP):
13317 Add long comment about preprocessor changes.
13318 Remove getdisk, getdefdir. (The former is unused, the latter
13319 expanded in fileio.h.)
13321 2000-06-10 Ben Wing <ben@xemacs.org>
13330 Remove bogus/unused NO_SOCK_SIGIO.
13332 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13334 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13337 2000-06-04 Mike Sperber <mike@xemacs.org>
13339 * casetab.c (set_case_table): For `set-standard-case-table',
13340 actually deposit the new case tables where the rest of XEmacs can
13343 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13345 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13347 2000-06-05 Ben Wing <ben@xemacs.org>
13349 * callproc.c (child_setup): Don't do close_load_descs() under
13350 MS Windows. Put in a comment explaining why.
13352 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13354 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13355 Toolkit shell" which breaks `kill-compilation' on Windows NT
13356 native, retaining STDERR handling improvements.
13358 2000-06-01 Andreas Jaeger <aj@suse.de>
13360 * s/s390.h: Support for S390, based on a patch by Martin
13361 Schwidefsky <schwidefsky@de.ibm.com>.
13363 2000-05-30 Andy Piper <andy@xemacs.org>
13365 * window.c (allocate_window):
13366 (make_dummy_parent):
13367 (Fset_window_configuration): use new hashtable type.
13369 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13370 (struct image_instantiator_methods):
13371 (struct Lisp_Image_Instance): make instance geometry signed.
13373 * glyphs.c (instantiate_image_instantiator):
13374 (image_instance_query_geometry):
13375 (image_instance_layout):
13376 (image_instance_layout):
13377 (query_string_geometry):
13378 (text_query_geometry):
13379 (image_instantiate):
13380 (image_instantiate):
13381 (cache_subwindow_instance_in_frame_maybe):
13382 (subwindow_query_geometry): make instance geometry signed.
13384 * glyphs-widget.c (widget_query_geometry):
13386 (button_query_geometry):
13387 (tree_view_query_geometry):
13388 (tab_control_query_geometry):
13389 (layout_query_geometry):
13391 (native_layout_layout): make instance geometry signed.
13393 2000-05-29 Olivier Galibert <galibert@pobox.com>
13395 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13398 * general.c (syms_of_general): Add Qfull_assoc symbol.
13400 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13402 (decode_weak_list_type): Decode full-assoc type.
13403 (encode_weak_list_type): Encode full-assoc type.
13404 (Fmake_weak_list): Update doc string.
13406 2000-05-30 Andy Piper <andy@xemacs.org>
13408 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13410 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13411 (decode_hash_table_weakness): ditto.
13412 (Fhash_table_weakness): ditto.
13413 (Fhash_table_type): ditto.
13414 (finish_marking_weak_hash_tables): ditto.
13415 (hash_table_weakness_validate): ditto.
13416 (syms_of_elhash): ditto.
13418 2000-05-28 Martin Buchholz <martin@xemacs.org>
13420 * XEmacs 21.2.34 is released.
13422 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13424 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13426 (updating_line_start_cache): Gone.
13427 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13428 generic code to force a minimum of 1 line laid out in the
13431 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13433 * glyphs.c (instantiate_image_instantiator): Check for initialized
13434 height & width no longer special cases IMAGE_NOTHING.
13435 (nothing_instantiate): Set height and width of instance.
13437 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13439 * unexelf.c (unexec): Search for ".data" section.
13440 Initialize new_data2_offset from old_data_index.
13441 Remove redundant check for ElfW.
13443 2000-05-23 Andy Piper <andy@xemacs.org>
13445 * glyphs.c (get_image_instantiator_governing_domain): allow more
13446 specific domains as the governing domain rather than expecting an
13447 exact match. This fixes problems with layouts.
13449 2000-05-22 Andy Piper <andy@xemacs.org>
13451 * redisplay-output.c (compare_runes): check for non-images
13453 * glyphs.c (set_glyph_dirty_p): ditto.
13454 (update_glyph_cachel_data): ditto.
13456 * glyphs-widget.c (layout_post_instantiate): ditto.
13457 (layout_post_instantiate): ditto.
13459 * event-msw.c (mswindows_wnd_proc): warning removal.
13461 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13463 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13465 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13467 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13469 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13470 (mswindows_executable_type): mingw32 now has enough headers for
13473 2000-05-20 Andy Piper <andy@xemacs.org>
13475 * console-msw.c (mswindows_output_last_error): ; -> ,
13477 2000-05-12 Andy Piper <andy@xemacs.org>
13479 * console-msw.c (FROB): compare ints with ints.
13481 2000-05-11 Andy Piper <andy@xemacs.org>
13483 * glyphs-x.c (x_finalize_image_instance): make minimal build
13486 2000-05-20 Ben Wing <ben@xemacs.org>
13489 * event-Xt.c (vars_of_event_Xt):
13490 move modifier-keys-are-sticky to event-stream.c.
13493 * event-msw.c (mswindows_enqueue_mouse_button_event):
13494 * event-msw.c (key_needs_default_processing_p):
13495 * event-msw.c (XEMSW_LCONTROL):
13496 * event-msw.c (mswindows_handle_sticky_modifiers):
13497 * event-msw.c (FROB):
13498 * event-msw.c (clear_sticky_modifiers):
13499 * event-msw.c (output_modifier_keyboard_state):
13500 * event-msw.c (output_alt_keyboard_state):
13501 * event-msw.c (mswindows_wnd_proc):
13502 * event-msw.c (mswindows_modifier_state):
13503 * event-msw.c (emacs_mswindows_handle_magic_event):
13504 implement sticky modifiers.
13507 * event-stream.c (vars_of_event_stream):
13508 move modifier-keys-are-sticky here.
13511 add CHECK_FUNCTION.
13514 implement map-range-table.
13517 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13519 * redisplay-tty.c (reset_tty_modes):
13520 (tty_redisplay_shutdown): Adjust argument type to
13521 tty_frame_output_end.
13523 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13525 * eval.c (Fbacktrace): Don't output a line with only right
13528 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13530 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13531 (Fpq_reset_poll): Ditto.
13533 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13535 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13537 2000-05-16 Ben Wing <ben@xemacs.org>
13540 * buffer.c (dfc_convert_to/from_internal_format):
13541 * buffer.c (reinit_vars_of_buffer):
13542 Fix conversion functions to allow reentrancy.
13545 * console-msw.c (mswindows_output_last_error):
13546 New fun, generally useful -- output a human-readable
13547 version of GetLastError() on the console.
13550 * console-msw.h (struct mswindows_frame):
13551 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13553 * console-stream.c (stream_output_begin):
13554 * console-stream.c (stream_output_end):
13555 * console-stream.c (stream_output_vertical_divider):
13556 * console-stream.c (stream_clear_region):
13557 * console-stream.c (stream_flash):
13558 * console-stream.c (console_type_create_stream):
13559 Delete blank stream methods, not needed.
13561 * console.h (struct console_methods):
13562 Split begin/end methods into window and frame.
13565 * event-msw.c (mswindows_handle_paint):
13566 * event-msw.c (output_alt_keyboard_state):
13567 * event-msw.c (mswindows_wnd_proc):
13568 * event-msw.c (vars_of_event_mswindows):
13569 Comment about problems with ignored-expose.
13570 Define mswindows-debug-events; not really implemented.
13572 * frame-msw.c (mswindows_init_frame_1):
13576 * glyphs-msw.c (begin_defer_window_pos):
13577 * glyphs-msw.c (mswindows_unmap_subwindow):
13578 * glyphs-msw.c (mswindows_map_subwindow):
13579 * glyphs-msw.c (mswindows_resize_subwindow):
13580 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13582 * glyphs.c (make_image_instance_1):
13585 * gutter.c (Fredisplay_gutter_area):
13586 Use new begin/end methods.
13588 * lisp.h (Dynarr_new2):
13592 * redisplay-msw.c (mswindows_frame_output_begin):
13593 * redisplay-msw.c (mswindows_frame_output_end):
13594 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13595 New begin/end methods -- handle DeferWindowPos.
13597 * redisplay-output.c (redisplay_move_cursor):
13598 * redisplay-output.c (redraw_cursor_in_window):
13599 * redisplay-output.c (redisplay_update_line):
13600 * redisplay-output.c (redisplay_output_window):
13601 New begin/end methods.
13604 * redisplay-tty.c (tty_frame_output_begin):
13605 * redisplay-tty.c (tty_frame_output_end):
13606 * redisplay-tty.c (console_type_create_redisplay_tty):
13607 New begin/end methods.
13610 * redisplay-x.c (x_window_output_begin):
13611 * redisplay-x.c (x_window_output_end):
13612 * redisplay-x.c (console_type_create_redisplay_x):
13613 New begin/end methods.
13615 * redisplay.c (redisplay_frame):
13616 * redisplay.c (Fredisplay_echo_area):
13617 New begin/end methods.
13618 use MAYBE_DEVMETH for clear_frame; it may not exist.
13620 * window.h (WINDOW_XFRAME):
13621 WINDOW_XFOO macros -- get locale and decode struct pointer.
13624 2000-05-12 Ben Wing <ben@xemacs.org>
13627 * emacs.c (ensure_no_quitting_from_now_on):
13628 * emacs.c (fatal_error_signal):
13629 * emacs.c (mswindows_handle_hardware_exceptions):
13631 * emacs.c (Fkill_emacs):
13632 * emacs.c (shut_down_emacs):
13633 * emacs.c (assert_failed):
13634 various improvements in fatal error handling.
13637 move preparing_for_armageddon to emacs.c.
13640 declare fatal_error_in_progress.
13643 * print.c (std_handle_out_external):
13644 * print.c (std_handle_out_va):
13645 * print.c (stderr_out):
13646 * print.c (stdout_out):
13647 use console under mswin when no standard output.
13648 don't do code conversion during fatal error.
13650 * scrollbar.c (Fscrollbar_page_up):
13651 * scrollbar.c (Fscrollbar_page_down):
13652 fix missing else. reindent.
13654 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13658 * glyphs.h (GLYPH_CACHEL_DESCENT):
13659 (GLYPH_CACHEL_DESCENT):
13660 (GLYPH_CACHEL_DESCENT):
13661 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13662 used in case these are inline functions.
13663 Use more absurd values to error check.
13665 include window.h for error check functions.
13667 2000-05-11 Ben Wing <ben@xemacs.org>
13669 * cmdloop.c (Freally_early_error_handler):
13670 Display message box under windows; otherwise, message will disappear
13671 before it can be viewed.
13674 * console-msw.c (Fmswindows_message_box):
13675 * console-msw.c (FROB):
13676 * console-msw.c (syms_of_console_mswindows):
13677 Define new fun `mswindows-message-box'.
13678 #### I will merge this into `popup-dialog-box'; just give me
13682 * general.c (syms_of_general):
13683 Some new symbols used in `mswindows-message-box'.
13686 * glyphs.c (Fset_image_instance_property):
13687 put warning in this fun.
13690 * glyphs.h (GLYPH_CACHEL_WIDTH):
13691 * glyphs.h (GLYPH_CACHEL_ASCENT):
13692 * glyphs.h (GLYPH_CACHEL):
13693 * glyphs.h (GLYPH_CACHEL_GLYPH):
13694 define error-checking versions to try to catch a bug i've seen --
13695 redisplay gets in an infinite loop because the glyph width of the
13696 continuation glyph is 65535.
13699 Extern message-box stuff.
13701 * window.c (allocate_window):
13702 * window.c (make_dummy_parent):
13703 * window.c (Fset_window_configuration):
13704 Use EQUAL not EQ for subwindow caches to make them work a bit
13705 better. (Something is still very broken.)
13708 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13710 * glyphs.c (image_instantiate): Suppress gcc warnings.
13711 (Fmake_image_instance): Fix doc string.
13712 * specifier.c (Fmake_specifier): Ditto.
13714 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13716 * paths.h.in (PATH_LOCK): Removed.
13717 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13718 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13720 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13722 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13723 Document (featurep '(and xemacs 21.02)).
13725 2000-05-09 Ben Wing <ben@xemacs.org>
13727 * buffer.c (complex_vars_of_buffer):
13728 update modeline-format doc.
13731 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13734 timeline of all released versions of Emacs, for use in creating
13735 authorship comments and in synching up.
13737 * glyphs-widget.c (image_instantiator_buttons):
13738 * glyphs-widget.c (image_instantiator_edit_fields):
13739 * glyphs-widget.c (image_instantiator_combo_box):
13740 * glyphs-widget.c (image_instantiator_scrollbar):
13741 * glyphs-widget.c (image_instantiator_progress_guage):
13742 * glyphs-widget.c (image_instantiator_tree_view):
13743 * glyphs-widget.c (image_instantiator_tab_control):
13744 * glyphs-widget.c (image_instantiator_labels):
13745 * glyphs-widget.c (image_instantiator_layout):
13746 * glyphs-widget.c (image_instantiator_native_layout):
13747 rename decode_domain method to governing_domain.
13750 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13751 * glyphs.c (add_entry_to_device_ii_format_list):
13752 make sure we don't put an entry more than once into the list.
13753 * glyphs.c (check_instance_cache_mapper):
13754 *************************************************************
13755 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13757 *************************************************************
13758 * glyphs.c (get_image_instantiator_governing_domain):
13759 clean up, expand on new concept of governing domain.
13760 * glyphs.c (instantiate_image_instantiator):
13761 * glyphs.c (allocate_image_instance):
13762 use governing_domain instead of cache_domain in naming.
13763 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13764 * glyphs.c (make_image_instance_1):
13765 * glyphs.c (Fmake_image_instance):
13766 allow for any domain (not just device), and process the
13767 governing domain correctly. very big doc fix.
13768 * glyphs.c (Fimage_instance_domain):
13769 new primitive, to retrieve the governing domain of an image instance.
13770 * glyphs.c (image_instantiate):
13771 use new governing_domain stuff. this fixes a crash you could get
13772 by instantiating certain widget glyphs in frame locales. (should
13773 signal an error instead of crashing.)
13774 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13775 * glyphs.c (Fglyphp): clean up doc.
13776 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13777 * glyphs.c (syms_of_glyphs):
13778 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13779 * glyphs.c (image_instantiator_format_create): add some comments about
13781 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13782 for current-display-table. (Apparently Hrjove implemented in 1998 a
13783 design I wrote up in 1996, but didn't update the doc string.)
13785 * glyphs.h: clean up a doc string.
13786 * glyphs.h (governing_domain):
13787 * glyphs.h (struct image_instantiator_methods):
13788 changes for governing_domain stuff.
13791 * gutter.c (Fgutter_specifier_p):
13792 * gutter.c (Fgutter_size_specifier_p):
13793 * gutter.c (Fgutter_visible_specifier_p):
13795 * objects.c (Fcolor_specifier_p):
13796 * objects.c (Ffont_specifier_p):
13797 * objects.c (Fface_boolean_specifier_p):
13798 doc strings moved to make-*-specifier.
13800 * redisplay.c (add_disp_table_entry_runes_1):
13801 * redisplay.c (generate_fstring_runes):
13802 * redisplay.c (screen):
13803 add random comments and doc strings.
13806 * specifier.c (Fmake_specifier):
13807 major overhaul of this doc string.
13809 * specifier.c (Fvalid_specifier_domain_p):
13810 comment about the bogosity of image instances being domains.
13811 * specifier.c (decode_domain):
13812 now non-static, used in glyphs.c.
13813 * specifier.c (specifier_instance):
13814 comment about the bogosity of image instances being domains.
13815 * specifier.c (Fgeneric_specifier_p):
13816 move doc string to make-generic-specifier.
13817 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13821 * specifier.h (DOMAIN_FRAME):
13822 * specifier.h (DOMAIN_LIVE_P):
13823 * specifier.h (DOMAIN_XDEVICE):
13825 add comments about problems with these macros.
13826 prototype for decode_domain.
13829 * toolbar.c (Ftoolbar_specifier_p):
13830 move doc string to `make-toolbar-specifier'.
13832 * window.c (window_unmap_subwindows_cache_mapper):
13833 *************************************************************
13834 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13836 *************************************************************
13838 2000-05-09 Andy Piper <andy@xemacs.org>
13840 * glyphs.h: declare reset_frame_subwindow_instance_cache.
13842 * window.c (Fset_window_configuration): reset the frame subwindow
13843 cache and re-initialize the window subwindow caches.
13845 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
13847 2000-05-09 Ben Wing <ben@xemacs.org>
13849 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
13852 2000-04-26 Mike Woolley <mike@bulsara.com>
13854 * ntheap.c: Changed recreate_heap to limit the amount reserved
13855 for the heap to that which is actually available. Also now
13856 displays a message box (with some dignostics) in the event that
13857 it still can't start.
13859 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
13861 * callproc.c (Fold_call_process_internal): GCPRO path
13863 2000-05-08 Jan Vroonhof <jan@xemacs.org>
13865 Patch by Bill Perry.
13867 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
13868 back data instead of #ifdef.
13869 (Fscrollbar_page_down): ditto.
13871 2000-05-07 Ben Wing <ben@xemacs.org>
13874 Kludge for defining Qmswindows_tstr.
13877 * nt.c (open_input_file):
13878 * nt.c (open_output_file):
13879 * nt.c (rva_to_section):
13880 * nt.c (mswindows_executable_type):
13881 Move all memory-mapped-file routines here (some were in unexnt.c,
13882 which is bad because they are used by process-nt.c, and unexnt
13883 won't be around when portable dumping). Synched the above routines
13887 Removed ifdef'd out bogus code.
13888 Fixed some prototypes.
13890 * nt.h (file_data):
13891 * nt.h (OFFSET_TO_RVA):
13892 * nt.h (RVA_TO_OFFSET):
13893 * nt.h (RVA_TO_PTR):
13894 Moved the memory-mapped-file structures, macros and prototypes
13895 here, to parallel nt.c. ntheap.h should really be removed
13896 entirely, and it's a non-portable-dumper specific file.
13898 * ntheap.h (round_to_next):
13899 Moved the memory-mapped-file structures, macros and prototypes
13902 * ntproc.c (compare_env):
13903 Moved rva_to_section and mswindows_executable_type to nt.c.
13904 Moved compare_env to process-nt.c.
13905 ntproc.c will die, one day.
13907 * ntproc.c (sys_spawnve):
13908 Account for win32_ -> mswindows_.
13911 * process-nt.c (struct nt_process_data):
13912 * process-nt.c (ensure_console_window_exists):
13913 * process-nt.c (compare_env):
13914 * process-nt.c (nt_create_process):
13915 * process-nt.c (nt_kill_process_by_pid):
13916 * process-nt.c (syms_of_process_nt):
13917 * process-nt.c (vars_of_process_nt):
13918 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
13919 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
13920 changes). Eliminate our old `nt-quote-process-args' mechanism.
13921 Synch up nt_create_process with FSF 20.6 sys_spawnve.
13922 Move compare_env here from ntproc.c.
13924 * process.c (Fprocess_send_region):
13925 Takes an optional fourth argument, BUFFER, which should fix some
13926 problems with call-process.
13929 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
13932 Move ICC_BAR_CLASSES to syscommctrl.h.
13933 Add preliminary macros for MSWindows/Mule. More to come.
13936 * unexnt.c (unexec):
13937 open_output_file moved to nt.c.
13940 2000-05-05 Andy Piper <andy@xemacs.org>
13942 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
13943 instance from the frame cache also since GC may catch up too late
13944 to make frame deletion sane.
13946 2000-05-04 Andy Piper <andy@xemacs.org>
13948 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
13949 (x_finalize_image_instance): ungcpro on deletion.
13951 * glyphs.c (image_instantiator_format_create): give pointers a
13952 query geometry method so that the geometry is at least set.
13954 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
13955 initialize layouts if using widgets.
13957 2000-05-03 Andy Piper <andy@xemacs.org>
13959 * nt.c: remove bogus reference to sysmmsystem.h
13961 * gui-x.c (popup_selection_callback): fix no selection abort.
13963 2000-05-02 Andy Piper <andy@xemacs.org>
13965 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
13966 (mswindows_widget_instantiate): ditto.
13968 * glyphs-widget.c (initialize_widget_image_instance): initialize
13969 children correctly.
13970 (widget_instantiate): cope with children and items in the same
13973 * glyphs.c (mark_image_instance): cope with children as a first
13975 (image_instance_equal): ditto.
13976 (image_instance_hash): ditto.
13977 (image_instance_changed): ditto.
13979 2000-04-30 Andy Piper <andy@xemacs.org>
13981 * glyphs.c (subwindow_query_geometry): new function. Return some
13983 (subwindow_instantiate): don't assign dimensions if none have been
13985 (image_instantiator_format_create): add subwindow_query_geometry.
13986 (print_image_instance): cope with layouts as widgets.
13988 2000-04-29 Andy Piper <andy@xemacs.org>
13990 * frame.c (delete_frame_internal): call
13991 free_frame_subwindow_instance_cache so that all subwindows are
13992 finalized before their parent.
13993 (mark_frame): remove subwindow_cachels.
13994 (Fmake_frame): remove subwindow_cachel manipulation.
13995 (allocate_frame_core): subwindow_instance_cache is a weak list.
13996 (delete_frame_internal): set subwindow_instance_cache to nil.
13998 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14000 (mswindows_finalize_image_instance): use the device
14001 not the domain as the domain may have died already.
14003 * glyphs-x.c (x_finalize_image_instance): ditto.
14004 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14007 * redisplay-output.c (redisplay_unmap_subwindows): update for
14008 subwindow instance cache as a weak list.
14009 (redisplay_unmap_subwindows_maybe): ditto.
14010 (redisplay_unmap_subwindows_except_us): ditto.
14012 * glyphs.c (unmap_subwindow): error checking will check the domain
14013 so don't deal with it here. Don't use cachels anymore.
14014 (map_subwindow): ditto.
14015 (update_subwindow_cachel_data): remove old accessor names.
14016 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14017 (Fresize_subwindow): don't update cachel.
14018 (mark_subwindow_cachels):
14019 (update_subwindow_cachel_data):
14020 (add_subwindow_cachel):
14021 (get_subwindow_cachel_index):
14022 (update_subwindow_cachel):
14023 (reset_subwindow_cachels):
14024 (mark_subwindow_cachels_as_not_updated): deleted.
14025 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14026 subwindow instance to the frame cache.
14027 (find_matching_subwindow): update for subwindow instance cache as
14029 (update_widget_instances): ditto.
14030 (image_instance_type_to_mask):inlined.
14031 (free_frame_subwindow_instance_cache): new function. finalize all
14032 subwindows that are instantiated.
14034 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14035 of cachel information.
14036 (IMAGE_INSTANCE_DISPLAY_X):
14037 (IMAGE_INSTANCE_DISPLAY_Y):
14038 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14039 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14040 (XIMAGE_INSTANCE_DISPLAY_X):
14041 (XIMAGE_INSTANCE_DISPLAY_Y):
14042 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14043 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14044 remove subwindow_cachel structure and function references.
14045 (image_instance_type_to_mask): inline from glyphs.c
14047 * redisplay.c (redisplay_frame): remove subwindow_cachel
14050 * frame.h (struct frame): remove subwindow_cachels.
14051 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14053 * frameslots.h: add subwindow_instance_cache.
14055 * window.c (replace_window): check subwindow cache of replacement.
14056 (window_unmap_subwindows_cache_mapper):
14057 (window_unmap_subwindows): new functions. Unmap all subwindows
14058 cached on this window.
14059 (mark_window_as_deleted): unmap all subwindows.
14061 2000-04-27 Andy Piper <andy@xemacs.org>
14063 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14065 * glyphs-widget.c (widget_layout): return something.
14066 (layout_layout): return something. Fail if not initialized.
14067 (layout_query_geometry): ditto.
14068 (image_instantiator_native_layout): new function. Initialized the
14069 native layout type.
14070 (widget_instantiate): don't do layout stuff here.
14072 * glyphs.c (instantiate_image_instantiator): reorded calling or
14073 instantiate and post_instantiate with layout in between.
14074 (image_instance_layout): be more selective about deciding whether
14075 the layout has been done or not.
14077 * glyphs.h (struct image_instantiator_methods): return a value
14078 from layout_method.
14080 2000-04-26 Andy Piper <andy@xemacs.org>
14082 * glyphs.c (allocate_image_instance): make initial width and
14083 height unspecified. Set initialized to 0.
14085 * syscommctrl.h new file. Encapsulates commctrl.h.
14087 * syswindows.h new file. Encapsulates windows.h.
14089 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14091 * console-msw.h: ditto.
14093 * redisplay-tty.c (tty_output_display_block): remove layout references.
14095 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14096 window handle rather than just the frame.
14098 * glyphs.c (mark_image_instance): remove layout references.
14099 (print_image_instance): ditto.
14100 (image_instance_equal): ditto.
14101 (image_instance_hash): ditto.
14102 (decode_image_instance_type): ditto.
14103 (encode_image_instance_type): ditto.
14104 (image_instantiate): ditto.
14105 (allocate_glyph): ditto.
14106 (Fimage_instance_height): ditto.
14107 (Fimage_instance_width): ditto.
14108 (update_subwindow): ditto.
14110 * redisplay-x.c (x_output_display_block): recode for layouts as
14113 * redisplay-output.c (redisplay_output_layout): recode for layouts
14115 (compare_runes): remove layout references.
14117 * redisplay-msw.c (mswindows_output_display_block): recode for
14118 layouts as widgets.
14120 * glyphs-widget.c (image_instantiator_layout): remove
14121 layout_possible_dest_types.
14122 (layout_possible_dest_types): deleted.
14124 * glyphs.h (image_instance_type): remove layout references.
14125 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14126 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14127 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14129 2000-04-25 Andy Piper <andy@xemacs.org>
14131 * glyphs-widget.c (image_instantiator_buttons):
14132 (image_instantiator_edit_fields):
14133 (image_instantiator_combo_box):
14134 (image_instantiator_scrollbar):
14135 (image_instantiator_progress_guage):
14136 (image_instantiator_tree_view):
14137 (image_instantiator_tab_control):
14138 (image_instantiator_labels):
14139 (image_instantiator_layout): call default post_instantiate method.
14140 (widget_post_instantiate): new function. Simply lays out the
14143 * glyphs.h (struct image_instantiator_methods): add
14144 post_instantiate method.
14146 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14149 2000-04-23 Andy Piper <andy@xemacs.org>
14151 * glyphs.h (struct image_instantiator_methods): add
14152 decode_domain_method.
14153 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14154 derived from the domain.
14155 (IMAGE_INSTANCE_FRAME): new accessor.
14156 (XIMAGE_INSTANCE_FRAME): ditto.
14158 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14159 instead of _SUBWINDOW_FRAME.
14160 (finalize_image_instance): ditto.
14161 (Fimage_instance_foreground): ditto.
14162 (Fimage_instance_background): ditto.
14163 (image_instantiate): ditto.
14164 (update_subwindow_cachel): ditto.
14165 (update_subwindow): ditto.
14166 (unmap_subwindow): ditto.
14167 (map_subwindow): ditto
14168 (subwindow_instantiate): ditto.
14169 * glyphs-msw.c (mswindows_update_widget): ditto.
14170 (mswindows_progress_gauge_instantiate): ditto.
14171 (mswindows_tab_control_update): ditto.
14172 * glyphs-x.c (x_update_widget): ditto.
14173 (x_widget_instantiate): ditto.
14174 (x_tab_control_instantiate): ditto.
14175 (x_tab_control_update): ditto.
14176 * event-msw.c (mswindows_wnd_proc): ditto
14178 * glyphs-widget.c (image_instantiator_layout): use
14179 subwindow_decode_domain.
14180 (image_instantiator_buttons): ditto.
14181 (image_instantiator_edit_fields): ditto.
14182 (image_instantiator_combo_box): ditto.
14183 (image_instantiator_scrollbar): ditto.
14184 (image_instantiator_progress_guage): ditto.
14185 (image_instantiator_tree_view): ditto.
14186 (image_instantiator_tab_control): ditto.
14187 (image_instantiator_labels): ditto.
14188 (image_instantiator_layout): ditto.
14190 * glyphs.c: add instance error checking to many functions.
14191 (instantiate_image_instantiator): decode device from cache_domain.
14192 (image_instantiate): partially rewrite by using
14193 decode_image_instantiator_domain to determine what domain the
14194 instance needs to be cached in.
14195 (decode_image_instantiator_domain): new function. Determine what
14196 domain the image needs to be cached in.
14197 (check_window_subwindow_cache): new error checking function.
14198 (check_instance_cache_mapper): ditto.
14199 (check_image_instance_structure): ditto.
14200 (subwindow_decode_domain): new function. Encodes a window as a
14201 subwindow's cache domain.
14202 (image_instantiator_format_create): use it for text and
14205 2000-04-21 Andy Piper <andy@xemacs.org>
14207 * glyphs.c (image_instance_device): new function.
14208 (image_instance_frame): new function.
14209 (image_instance_window): new function.
14210 (image_instance_live_p): new function.
14212 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14215 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14216 (IMAGE_INSTANCE_DOMAIN): new accessor.
14217 (XIMAGE_INSTANCE_DOMAIN): ditto.
14219 * glyphs-x.c (x_finalize_image_instance): device->domain.
14221 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14222 (mswindows_finalize_image_instance): ditto.
14224 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14225 (gif_instantiate): ditto.
14226 (png_instantiate): ditto.
14227 (tiff_instantiate): ditto.
14229 * glyphs.c (instantiate_image_instantiator): use domain rather
14231 (mark_image_instance): device -> domain.
14232 (print_image_instance): ditto.
14233 (finalize_image_instance): ditto.
14234 (image_instance_equal): ditto.
14235 (allocate_image_instance): ditto.
14236 (Fcolorize_image_instance): ditto.
14237 (query_string_geometry): ditto.
14238 (image_instantiate): ditto
14239 (query_string_font): ditto.
14240 (image_instantiate): ditto.
14241 (update_subwindow): ditto.
14242 (unmap_subwindow): ditto.
14243 (map_subwindow): ditto.
14244 (subwindow_instantiate): ditto.
14246 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14247 (DOMAIN_FRAME): ditto.
14248 (DOMAIN_WINDOW): ditto.
14249 (DOMAIN_LIVE_P): ditto.
14250 (XDOMAIN_DEVICE): ditto.
14251 (XDOMAIN_FRAME): ditto.
14252 (XDOMAIN_WINDOW): ditto.
14254 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14255 a valid specifier domain.
14257 2000-04-19 Andy Piper <andy@xemacs.org>
14259 * glyphs-widget.c (syms_of_glyphs_widget): remove
14260 widget-callback-current-channel.
14261 (vars_of_glyphs_widget): ditto.
14264 * gui.c (get_gui_callback): revert to previous behaviour.
14266 2000-04-18 Andy Piper <andy@xemacs.org>
14268 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14269 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14270 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14272 * glyphs.c (image_instance_equal): add margin_width.
14273 (image_instance_hash): ditto.
14275 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14276 (layout_query_geometry): ditto.
14277 (layout_layout): ditto.
14278 (syms_of_glyphs_widget): add margin-width.
14279 (image_instantiator_layout): allow margin-width.
14281 * glyphs.c (update_widget_instances): make a normal function.
14282 (syms_of_glyphs): remove Qupdate_widget_instances.
14285 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14286 so that we don't corrupt ideas about the last event or
14287 command. Remove widget-callback-current-channel fiddling.
14288 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14290 2000-05-01 Martin Buchholz <martin@xemacs.org>
14292 * XEmacs 21.2.33 is released.
14294 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14296 * make-src-depend: Allow dots in header file name.
14298 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14300 * mule-charset.h (struct charset_lookup): Add
14301 next_allocated_1_byte_leading_byte and
14302 next_allocated_2_byte_leading_byte.
14303 * mule-charset.c: Move above two variables so that those values
14306 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14308 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14309 when string length is zero.
14310 (find_charsets_in_emchar_string): Ditto.
14312 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14314 * lisp.h: extern Qdialog and Qmenubar.
14316 * gui-x.c: added events.h.
14317 also fixed typo which made the file uncompilable.
14319 * general.c: Added Qmenubar and Qdialog
14321 2000-04-28 Ben Wing <ben@xemacs.org>
14323 * frame-msw.c (mswindows_init_frame_1):
14324 * frame-msw.c (mswindows_mark_frame):
14325 * event-msw.c (mswindows_enqueue_dispatch_event):
14327 * console-msw.h (struct mswindows_frame):
14328 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14329 there are now three hash tables for callbacks.
14330 mswindows_enqueue_dispatch_event is no longer static.
14332 * dialog-x.c (maybe_run_dbox_text_callback):
14333 * dialog-x.c (dbox_descriptor_to_widget_value):
14334 switch to new cons3 form for callbacks.
14336 * glyphs-msw.c (mswindows_register_gui_item):
14337 * glyphs-msw.c (mswindows_widget_instantiate):
14338 * glyphs-msw.c (add_tree_item):
14339 * glyphs-msw.c (add_tab_item):
14340 new image instance parameter, so it can be passed to callback-ex.
14341 respect :callback-ex as well as :callback.
14343 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14346 * glyphs.c (print_image_instance):
14347 prettify, e.g. now prints widget type.
14350 certain funs have new image instance parameter.
14353 * gui.c (get_gui_callback):
14354 * gui.c (gui_item_add_keyval_pair):
14355 * gui.c (gui_item_init):
14356 * gui.c (gui_add_item_keywords_to_plist):
14357 * gui.c (mark_gui_item):
14358 * gui.c (gui_item_hash):
14359 * gui.c (gui_item_equal):
14360 * gui.c (copy_gui_item):
14361 * gui.c (syms_of_gui):
14362 recognize callback-ex in a number of places.
14363 also, fix the annoying "can't get out of yes-no dialog" bug.
14366 * gui.h (struct Lisp_Gui_Item):
14367 recognize callback-ex in a number of places.
14369 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14370 new parameter in button_item_to_widget_value.
14372 * glyphs-x.c (x_update_widget):
14373 * glyphs-x.c (x_button_instantiate):
14374 * glyphs-x.c (x_button_update):
14375 * glyphs-x.c (x_progress_gauge_instantiate):
14376 * glyphs-x.c (x_edit_field_instantiate):
14377 * glyphs-x.c (x_combo_box_instantiate):
14378 * glyphs-x.c (x_tab_control_instantiate):
14379 * glyphs-x.c (x_label_instantiate):
14380 new image instance parameter in various places.
14383 * event-Xt.c (enqueue_Xt_dispatch_event):
14384 this fun gets exported.
14387 * gui-msw.c (mswindows_handle_gui_wm_command):
14388 handle both :callback and :callback-ex, and generate our own
14389 event because it's one of the callback-ex arguments.
14392 * gui-x.c (popup_selection_callback):
14393 handle both :callback and :callback-ex, and generate our own
14394 event because it's one of the callback-ex arguments.
14395 * gui-x.c (button_item_to_widget_value):
14396 * gui-x.c (gui_items_to_widget_values_1):
14397 * gui-x.c (gui_item_children_to_widget_values):
14398 * gui-x.c (gui_items_to_widget_values):
14399 new image instance parameter in various places.
14401 * fns.c (Freplace_list):
14402 fix small typo in doc string.
14405 declare enqueue_Xt_dispatch_event.
14407 2000-04-28 Ben Wing <ben@xemacs.org>
14410 * buffer.c (Frecord_buffer):
14411 * buffer.c (syms_of_buffer):
14412 delete record-buffer-hook.
14415 * fns.c (Freplace_list):
14416 * fns.c (syms_of_fns):
14417 new primitive replace-list.
14420 slot for old buffer-alist.
14423 exfun replace-list.
14426 * redisplay.c (redisplay_frame):
14427 * redisplay.c (syms_of_redisplay):
14428 * redisplay.c (vars_of_redisplay):
14429 new hook buffer-list-changed-hook.
14432 2000-04-27 Ben Wing <ben@xemacs.org>
14434 * extents.h: extern in_modeline_generation.
14436 * redisplay.c (generate_formatted_string_db): set
14437 in_modeline_generation.
14439 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14440 flags if in modeline generation. otherwise frame-modified-tick
14441 is ticked far too often.
14442 Declare in_modeline_generation.
14444 2000-04-26 Ben Wing <ben@xemacs.org>
14446 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14448 (vars_of_emacs): add quick-build as an error-checking option.
14449 A bit kludgy, but there doesn't seem much point in creating
14450 a real var for this.
14452 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14454 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14456 * redisplay.h (struct display_line): Add a new variable,
14459 * redisplay.c (create_text_block): Set dl->line_continuation if
14460 the line continues.
14461 (create_string_text_block): Ditto.
14462 (regenerate_window_incrementally): Use line_continuation instead
14463 of searching continuation glyph.
14464 (add_margin_runes): Call add_glyph_rune.
14465 (add_glyph_rune): Handle margin glyph.
14467 2000-04-20 Martin Buchholz <martin@xemacs.org>
14469 * filelock.c (fill_in_lock_file_name):
14471 Check for IS_ANY_SEP instead of '/'.
14473 Avoid generating gratuitous garbage. Call user_login_name() directly.
14474 Never check errno without first seeing that system call failed.
14475 (unlock_file): Add GCPRO.
14476 (Flock_buffer): Fix docstring.
14477 (Ffile_locked_p): Fix docstring. Add GCPRO.
14479 2000-04-19 Martin Buchholz <martin@xemacs.org>
14481 * sysdep.c (get_pty_max_bytes):
14482 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14483 strings longer than 252 bytes.
14485 * md5.c: Unconditionally include ANSI header <limits.h>
14487 * glyphs-x.c (convert_EImage_to_XImage):
14488 * lisp-union.h (union Lisp_Object):
14489 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14491 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14493 * filelock.c (current_lock_owner): Remove unused variable o, p.
14495 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14497 * callint.c: Remove multiply defined symbol Qlet
14498 (syms_of_callint): ditto.
14500 2000-04-14 Andy Piper <andy@xemacs.org>
14502 * general.c (syms_of_general): add last-command, this-command, let
14505 * lisp.h: declare various symbols.
14507 * glyphs.h: declare Qwidget_callback_current_channel;
14509 * glyphs-widget.c (syms_of_glyphs_widget): add
14510 Qgui_callback_current_channel.
14511 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14513 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14514 widget-callback-current-channel when invoking the interactive
14515 arg. Also bind last-command and next-command when invoking the
14517 * gui-x.c (popup_selection_callback): ditto.
14519 * gui.c (get_gui_callback): massage args so that we are always
14520 calling eval. This allows us to add our own variable bindings
14523 * glyphs-x.c (x_button_instantiate): use
14524 gui_items_to_widget_values since this is GC safe.
14525 (x_progress_gauge_instantiate): ditto.
14526 (x_edit_field_instantiate): ditto.
14527 (x_label_instantiate): ditto.
14529 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14530 (emacs_Xt_event_widget_focus_out): new function
14531 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14533 (emacs_Xt_event_add_widget_actions): new function. add focus
14534 functions as actions.
14535 (init_event_Xt_late): use it.
14537 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14539 * event-stream.c (Fdispatch_event): Doc fix.
14541 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14543 * postgresql.c: Remove all references to PQsetenv*.
14545 * postgresql.h: Remove references to PGsetenvHandler object.
14546 * lrecord.h (lrecord_type): Ditto.
14548 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14550 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14551 real_heigh and real_width members, and accessor macros for these.
14553 * glyphs-msw.c (init_image_instance_geometry): New function.
14554 (init_image_instance_from_dibitmap): Use it.
14555 (mswindows_resource_instantiate): Use it.
14556 (init_image_instance_from_xbm_inline): Use it.
14557 (mswindows_initialize_image_instance_mask): Use real bitmap
14559 (mswindows_create_resized_bitmap): Ditto.
14560 (mswindows_create_resized_mask): Ditto.
14562 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14563 and bitmap to their surface size.
14565 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14567 * process-unix.c (unix_send_process): Guard against process MIA
14568 after Faccept_process_output.
14570 2000-04-11 Ben Wing <ben@xemacs.org>
14572 * eval.c (unbind_to_hairy): fix brokenness introduced by
14573 nanosecond speed improvements.
14575 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14577 * sunplay.c (init_device): To play sounds correctly, the device
14578 apparently needs to be initialized at least once by XEmacs. Make
14581 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14583 * redisplay.c (add_margin_runes): Add text image glyph
14586 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14588 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14589 gcc is newer than 2.5.
14591 2000-04-06 Colin Rafferty <colin@xemacs.org>
14593 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14595 * fns.c (size_bit_vector):
14596 * alloc.c (size_vector):
14597 (make_vector_internal):
14598 (make_bit_vector_internal):
14599 (sweep_bit_vectors_1):
14600 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14602 2000-04-06 Andy Piper <andy@xemacs.org>
14604 * gmalloc.c (malloc): undo previous change.
14609 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14611 * line-number.c (buffer_line_number): Revert to former version.
14613 2000-04-06 Andy Piper <andy@xemacs.org>
14615 * gmalloc.c (malloc): add error checking.
14620 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14621 button_item_to_widget_value arg.
14623 * glyphs-x.c (x_button_instantiate): add extra
14624 button_item_to_widget_value arg.
14625 (x_progress_gauge_instantiate): ditto.
14626 (x_edit_field_instantiate): ditto.
14627 (x_label_instantiate): ditto.
14629 * gui-x.c (gui_items_to_widget_values_1): add extra
14630 button_item_to_widget_value arg.
14631 (button_item_to_widget_value): add extra menu_item_p arg.
14633 * gui-x.h: change signature of button_item_to_widget_value.
14635 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14636 button_item_to_widget_value arg.
14638 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14640 * buffer.h (struct buffer): auto_save_modified should be long.
14642 2000-04-05 Andy Piper <andy@xemacs.org>
14644 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14646 (button_query_geometry): give a little more room so that athena
14649 2000-04-05 Andy Piper <andy@xemacs.org>
14651 * faces.c (complex_vars_of_faces): The widget face should inherit
14652 the font of the gui-element face.
14654 2000-04-04 Andy Piper <andy@xemacs.org>
14656 * glyphs-x.c (x_button_update): new function. unconditionally
14657 update a button's state when the instance is dirty.
14658 (image_instantiator_format_create_glyphs_x): add x_button_update.
14659 (x_widget_instantiate): remove old resize cruft.
14661 2000-04-02 Andy Piper <andy@xemacs.org>
14663 * frame.c (change_frame_size_1): The introduction of gutters means
14664 that we need to allow 0 as a potential frame dimension.
14666 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14668 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14669 image glyph if allow_cursor.
14670 (add_hscroll_rune): Don't allow cursor to border glyph.
14671 (create_text_block): Ditto.
14673 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14674 text not in buffer.
14675 (redisplay_output_layout): Call ensure_face_cachel_complete for
14679 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14681 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14683 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14686 * redisplay-tty.c (tty_output_display_block): Delete the routine
14687 for text image glyph
14688 * redisplay-x.c (x_output_display_block): ditto
14689 * redisplay-msw.c (mswindows_output_display_block): ditto
14691 2000-02-02 Mike Alexander <mta@arbortext.com>
14693 Note: Some of these were committed by accident as part of other
14696 * regex.c (regex_compile): Avoid compiler warnings.
14698 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14700 * nt.h: Declare term_ntproc correctly.
14702 * nt.c: Remove incorrect declaration of get_home_directory which
14703 is declared correctly in lisp.h.
14705 * keymap.c (get_keyelt): Avoid compiler warnings.
14706 (raw_lookup_key_mapper): Avoid compiler warnings.
14708 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14710 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14712 * filemode.c (mode_string): Avoid compiler warnings.
14714 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14717 * events-mod.h: Undef some things that winuser.h defines differently.
14719 * data.c (Faset): Avoid compiler warnings.
14721 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14723 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14725 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14726 Fall through to simple beep on error.
14727 Replace "extern" by real header file.
14729 * linuxplay.c: Use nativesound.h
14730 (play_sound_data): Return error code. Be less verbose on error.
14732 * sunplay.c: Use nativesound.h
14733 (play_sound_data): Return error code. Be less verbose on error.
14735 * ntplay.c: Use nativesound.h
14736 (play_sound_data): Return fake error code
14738 * sgiplay.c: Use nativesound.h
14739 (play_sound_data): Return error code
14741 * hpplay.c: Use nativesound.h, partially implement
14742 new error code. Break compilation until finished.
14743 (play_sound_data): error code.
14745 * nativesound.h (play_sound_file):
14746 (play_sound_data): Prototype in new header.
14748 2000-03-31 Andy Piper <andy@xemacs.org>
14750 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14751 for toggle and radio buttons.
14752 (image_instantiator_buttons): use it.
14754 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14756 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14757 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14758 found. Scrollbar event probably belonged to some old config.
14760 2000-03-31 Andy Piper <andy@xemacs.org>
14762 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14764 (initialize_widget_image_instance): default layout to
14765 LAYOUT_HORIZONTAL rather than 0.
14766 (widget_instantiate): reverse the item list at the end rather than
14768 (layout_layout): re-code for the border text at the front of the
14769 item list rather than at the end.
14770 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14771 provided by the user.
14772 (widget_query_geometry): comment.
14774 2000-03-30 Andy Piper <andy@xemacs.org>
14776 * glyphs-widget.c (image_instantiator_layout): allow standard
14777 widget keywords in layouts.
14779 * gutter.c (output_gutter): cope with nil gutter contents.
14781 * frame.c (Fset_frame_properties): add gutter docs.
14783 2000-03-29 Andy Piper <andy@xemacs.org>
14785 * toolbar-msw.c (TBSTYLE_FLAT): add.
14786 (mswindows_output_toolbar): minor fiddling.
14788 2000-03-29 Andy Piper <andy@xemacs.org>
14790 * gutter.c (output_gutter): force gutter size recalculation if
14791 what we are trying to display won't fit.
14792 (update_gutter_geometry): new function. A per-gutter version of
14793 update_frame_gutter_geometry.
14794 (update_frame_gutter_geometry): use it.
14795 (redraw_exposed_gutter): add extra debugging output.
14797 2000-03-28 Mike Alexander <mta@arbortext.com>
14799 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14800 (pdump_file_unmap): Implement it on Windows
14801 (pdump_file_get): Save alocated handles for pdump_file_unmap
14803 2000-03-28 Andy Piper <andy@xemacs.org>
14805 * gui.c (get_gui_callback): treat Quit specially.
14807 2000-03-27 Andy Piper <andy@xemacs.org>
14809 * glyphs.c (image_instantiate): be careful to check in the same
14812 2000-03-27 Didier Verna <didier@xemacs.org>
14814 * config.h.in: define the proper SMART_INCLUDE macro.
14815 handle renaming of `foo_h_path' to `foo_h_file'.
14817 * database.c: ditto.
14821 * linuxplay.c: ditto.
14823 * terminfo.c: ditto.
14825 * tooltalk.h: ditto.
14827 2000-03-27 Andy Piper <andy@xemacs.org>
14829 * glyphs-msw.c (mswindows_update_widget): make sure the widget
14830 gets updated whenever the face might have changed.
14832 2000-03-26 Mike Alexander <mta@arbortext.com>
14834 * dumper.c (pdump_resource_free): Fix the comment.
14836 2000-03-21 Olivier Galibert <galibert@pobox.com>
14838 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
14840 2000-03-22 Mike Alexander <mta@arbortext.com>
14842 * dumper.c: Include Windows headers on Windows
14843 (pdump_resource_free): Add a body to the function
14844 (pdump_load): exe_name -> exe_path and add some comments.
14846 2000-03-25 Mike Alexander <mta@arbortext.com>
14848 * gui.c (copy_gui_item_tree): Return a value in all cases
14850 2000-03-21 Didier Verna <didier@xemacs.org>
14852 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
14854 (SMART_INCLUDE): new macro.
14855 (POSTGRES_INCLUDE): new macro to include postgresql headers from
14856 the proper location.
14858 * postgresql.c: use it.
14862 2000-03-24 Andy Piper <andy@xemacs.org>
14864 * gutter.c (redraw_exposed_gutters): must be "in display" when we
14867 2000-03-24 Andy Piper <andy@xemacs.org>
14869 * redisplay-output.c (compare_runes): use image_instance_changed
14870 to detect changes. Do not depend on glyphs_changed, only depend on
14872 (redisplay_output_layout): add debug messages.
14873 (compare_runes): ditto.
14875 * glyphs.h: declare new functions.
14876 (struct Lisp_Image_Instance): remove percent and associated
14879 * gui.h: declare new copying functions.
14881 * gui.c (copy_gui_item_tree): new function.
14882 (copy_gui_item): new function.
14883 (gui_item_id_hash): revert to standard hash.
14884 (gui_item_hash): ditto.
14885 (gui_item_hash_internal): deleted.
14886 (mark_gui_item): mark value.
14887 (gui_item_add_keyval_pair): add value.
14888 (gui_item_init): ditto.
14889 (gui_add_item_keywords_to_plist): ditto.
14890 (gui_item_equal): ditto.
14891 (syms_of_gui): add Q_value.
14893 * glyphs-x.c (x_progress_gauge_update): use pending items and
14894 value for setting the state.
14895 (x_update_widget): don't set items from pending here.
14897 * glyphs-widget.c (update_widget): update items here.
14898 (progress_gauge_set_property): use items for storing value. Put
14899 new value in pending items.
14901 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
14902 items for new value. Convert percent -> value.
14903 (mswindows_tab_control_update): don't update items here.
14905 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
14906 (update_subwindow): ditto.
14907 (image_instance_changed): new function. Compare hash values and
14908 past and present widget items.
14909 (image_instantiate): We more careful about where we instantiate
14911 (image_instantiate): add error checking.
14913 * gutter.c (syms_of_gutter): use -hook.
14915 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
14917 * console-tty.c (Fset_console_tty_input_coding_system): Use
14919 (Fset_console_tty_output_coding_system): Use Qterminal.
14920 (tty_init_console): Use Qkeyboard and Qterminal.
14922 2000-03-21 Ben Wing <ben@xemacs.org>
14924 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
14925 From Mike Alexander <mta@arbortext.com>.
14927 2000-03-21 Ben Wing <ben@xemacs.org>
14929 * event-msw.c (mswindows_need_event): Horrible kludge to fix
14930 process brokenness. Proper implementation to come.
14932 Rename call-process-internal to old-call-process-internal.
14933 New impl. in process.el.
14935 2000-03-21 Martin Buchholz <martin@xemacs.org>
14937 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
14939 2000-03-20 Andy Piper <andy@xemacs.org>
14941 * glyphs.c (full_list_hash): make hashes of the same elements in
14942 different orders return different values.
14944 2000-03-20 Martin Buchholz <martin@xemacs.org>
14946 * XEmacs 21.2.32 is released.
14948 2000-03-20 Martin Buchholz <martin@xemacs.org>
14950 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
14951 (DFC_MALLOC_USE_CONVERTED_DATA):
14952 Add aliasing-safe casts to allow use with char* or unsigned char*
14955 * eldap.c (Fldap_open):
14956 (Fldap_search_basic):
14959 Make C++-compilable.
14960 Make sure GCPRO'ed variables are initialized.
14961 Use temp variables to avoid repeated calls to Flength.
14963 2000-03-16 Martin Buchholz <martin@xemacs.org>
14966 Make sure PATH_MAX is always defined.
14967 Include limits.h for PATH_MAX.
14968 Deprecate use of MAXPATHLEN.
14970 2000-03-10 Martin Buchholz <martin@xemacs.org>
14972 * emacs.c: Add reinit_vars_of_fileio.
14973 * symsinit.h: Add reinit_vars_of_fileio.
14974 * fileio.c (reinit_vars_of_fileio): New.
14975 * fileio.c (Fmake_temp_name):
14976 Initialize temp_name random number from microseconds to make
14977 collisions even less likely. Initialize always at process startup
14978 time. (make-temp-name) used to return the same file name twice in
14980 Random stylistic fiddling.
14983 2000-03-20 Andy Piper <andy@xemacs.org>
14985 * glyphs.c (image_instantiate): allow text glyphs to be
14986 instantiated in the minibuffer window.
14988 2000-03-19 Andy Piper <andy@xemacs.org>
14990 * glyphs.c (image_instance_hash): be careful about which items we
14993 * glyphs-widget.c (tab_control_set_property): record into pending
14994 items rather than the actual items.
14996 * glyphs-x.c (x_update_widget): use pending items to update with.
14998 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15001 * glyphs.c (mark_image_instance): mark pending items.
15003 * window.c (Fset_window_configuration): record the buffer.
15004 (Fselect_window): totally revert previous change which breaks many
15007 2000-03-18 Andy Piper <andy@xemacs.org>
15009 * glyphs-msw.c (mswindows_tab_control_update): force selected
15012 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15013 window domain cache, otherwise we get inconsistencies at
15014 startup. There is something fishy at startup which can lead to the
15015 minibuffer being the selected window when the gutter content is
15018 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15020 (parse_gui_item_tree_children): ditto.
15021 (parse_gui_item_tree_item): ditto.
15023 * glyphs.c (Fupdate_widget_instances): return something.
15025 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15027 * window.c (Fselect_window): Undo 2000-03-17 change.
15029 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15031 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15032 against v7.0 libraries. Insta-coredump city until the postgres
15035 2000-03-17 Andy Piper <andy@xemacs.org>
15037 * faces.c (complex_vars_of_faces): don't give the widget face an
15038 inherited background pixmap.
15040 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15043 * event-stream.c (Fdispatch_non_command_events): return something.
15045 * gutter.c (output_gutter): use widget face.
15046 (clear_gutter): ditto.
15048 * NEWS: adjust again.
15050 * window.c (Fselect_window): make sure this runs to completion to
15051 avoid oddities with Fset_window_configuration.
15052 (Fcurrent_window_configuration): in general do not save the
15053 minibuffer as the selected window.
15055 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15057 2000-03-16 Olivier Galibert <galibert@pobox.com>
15059 * emacs.c (Frunning_temacs_p): Revert previous patch.
15060 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15062 2000-03-16 Andy Piper <andy@xemacs.org>
15064 * glyphs-x.c (x_tab_control_update): if no widget values then
15067 * NEWS: update for new features.
15069 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15070 synthetic event to the native system.
15071 (reinit_vars_of_event_Xt): set force_event_pending to
15072 emacs_Xt_force_event_pending.
15074 * events.h (struct event_stream): add force_event_pending.
15076 * specifier.c (recompute_one_cached_specifier_in_window): add
15079 * redisplay.c (redisplay_frame): don't call
15080 update_frame_subwindows. Reset subwindow cachels when
15081 subwindows_changed, removing this was an optimization too far.
15083 * redisplay-output.c (compare_runes): reorganize so that we catch
15084 glyph changes when we want them. Set optimize_output when this
15085 would help layouts.
15086 (redisplay_output_layout): remove frame_really_changed, use
15087 optimize_output instead.
15089 * redisplay-msw.c (mswindows_output_display_block): reset
15090 optimize_output after outputting a glyph.
15091 * redisplay-x.c (x_output_display_block): ditto.
15092 * redisplay-tty.c (tty_output_display_block): ditto.
15094 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15096 (gutter_specs_changed): do specific gutter positions.
15097 (top_gutter_specs_changed): new function. Only update the
15098 specified gutter specs.
15099 (bottom_gutter_specs_changed): ditto.
15100 (left_gutter_specs_changed): ditto.
15101 (right_gutter_specs_changed): ditto.
15103 * gui.c (gui_item_hash_internal): new function, does a real hash.
15104 (gui_item_id_hash): use it.
15105 (gui_item_hash): hash the eval'ed gui_item.
15107 * gui-x.c (popup_selection_callback): send an eval event to call
15108 Fupdate_widget_instances.
15110 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15111 to call Fupdate_widget_instances.
15113 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15114 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15116 * glyphs.c: (update_frame_subwindows): deleted.
15117 (Fupdate_widget_instances): new function for updating the dirty
15118 state of widgets that might have changed.
15119 (syms_of_glyphs): add Qupdate_widget_instances.
15120 (full_list_hash): hash a list completely.
15121 (image_instance_hash): use it for items and properties.
15123 * frame-msw.c (mswindows_size_frame_internal): remove unused
15126 * faces.h (struct face_cachel): fix comment.
15128 * event-stream.c (Fdispatch_non_command_events): new
15129 function. Process non-command events, forcing an event cycle
15131 (syms_of_event_stream): declare.
15132 (event_stream_force_event_pending): new function. Force an event
15133 on the native event queue so that an event cycle will occur next
15137 (struct ntpipe_shove_stream):
15138 (mswindows_enqueue_dispatch_event):
15139 (mswindows_dequeue_dispatch_event):
15140 (mswindows_cancel_dispatch_event):
15141 (mswindows_pump_outstanding_events):
15142 (mswindows_drain_windows_queue):
15143 (mswindows_handle_paint):
15144 (mswindows_wnd_proc):
15145 (mswindows_key_to_emacs_keysym):
15146 (get_process_input_waitable):
15147 (emacs_mswindows_delete_stream_pair): re-indent file.
15148 (mswindows_need_event): do not process further fds if the windows
15149 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15150 fixes the 100% cpu problem.
15151 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15153 2000-03-15 Olivier Galibert <galibert@pobox.com>
15159 * emacs.c: Moved dump file searching to dumper.c.
15160 (Frunning_temacs_p): Fixed.
15162 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15163 last_lrecord_type_index_assigned.
15165 2000-02-20 Olivier Galibert <galibert@pobox.com>
15167 * symsinit.h: Added reinit parameter to init_console_stream
15170 * lisp.h: Added file parameter to pdump_load declaration.
15172 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15173 support. Added dump file searching.
15175 * config.h.in: Added EMACS_PROGNAME.
15177 * console-stream.c (init_console_stream): Fix reinitialisation
15178 when running from temacs.
15180 * alloc.c (pdump): Add id support.
15181 (pdump_load): Add file parameter and signature/id support.
15183 * Makefile.in.in: Add full pdump support.
15185 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15187 * postgresql.c: Update documentation to reflect latest code
15189 (print_result): Show tuple counts in printed representation when
15191 (Fpq_put_nbytes): MULE-ize.
15192 (Fpq_get_line_async): Ditto.
15194 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15196 * postgresql.c (Fpq_lo_import): Fix return value.
15197 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15199 2000-03-13 Ben Wing <ben@xemacs.org>
15201 * alloc.c (pdump_load):
15202 Fix compile warning under mswin.
15204 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15206 * postgresql.c: Mule-ization, bug fixes.
15207 Use PG_CODING to encapsulate coding system name changes.
15208 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15209 (pg-coding-system): Create.
15211 (Fpq_conn_defaults): Mule-ize.
15212 (Fpq_connectdb): Mule-ize & bug fix.
15213 (Fpq_connect_start): Mule-ize.
15214 (Fpq_set_client_encoding): Mule-ize.
15215 (Fpq_finish): Document `DEAD' connection status.
15216 (Fpq_clear): Ditto.
15217 (Fpq_pgconn): Mule-ize.
15218 (Fpq_exec): Mule-ize & bug fix.
15219 (Fpq_send_query): Ditto.
15220 (Fpq_get_result): Ditto.
15221 (Fpq_res_status): Mule-ize.
15222 (Fpq_result_error_message): Mule-ize.
15223 (Fpq_ntuples): fix comments.
15224 (Fpq_fname): Mule-ize.
15225 (Fpq_fnumber): Mule-ize.
15226 (Fpq_ftype): fix comments.
15227 (Fpq_get_value): Mule-ize.
15228 (Fpq_cmd_status): Ditto.
15229 (Fpq_cmd_tuples): Ditto.
15230 (Fpq_oid_value): Ditto.
15231 (Fpq_notifies): Ditto.
15232 (Fpq_lo_import): Ditto.
15233 (Fpq_lo_export): Ditto.
15234 (Fpq_get_line): Ditto.
15235 (Fpq_put_line): Mule-ize and bug fix.
15236 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15238 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15240 * postgresql.c (vars_of_postgresql): Mule-ize.
15241 (Fpq_conn_defaults): Ditto.
15243 2000-03-12 Ben Wing <ben@xemacs.org>
15245 * alloc.c (Fmake_byte_code):
15246 * alloc.c (debug_string_purity_print):
15247 * alloc.c (pdump_backtrace):
15248 * alloc.c (pdump_get_indirect_count):
15249 * alloc.c (pdump_register_sub):
15250 * alloc.c (pdump_register_object):
15251 * alloc.c (pdump_register_struct):
15252 * alloc.c (pdump_dump_data):
15253 * alloc.c (pdump_reloc_one):
15257 * console-msw.c (GetConsoleHwnd):
15258 * console-msw.c (msw_hide_console):
15259 * console-msw.c (msw_show_console):
15260 * console-msw.c (msw_ensure_console_buffered):
15261 * console-msw.c (msw_output_console_string):
15262 * console-msw.c (console_type_create_mswindows):
15264 a) Added functions to manipulate the console window for use with
15267 b) Added support for writing text to the console, which is now
15268 used under Windows when xemacs is not being run non-interactively,
15269 to write text that would otherwise be destined for stdout because
15270 under these circumstances, text written to stdout tends to
15271 disappear and not be seen.
15275 * event-Xt.c (x_event_to_emacs_event):
15276 * event-Xt.c (describe_event_window):
15277 * events-mod.h (XEMACS_MOD_CONTROL):
15279 * events.c (Fmake_event):
15280 * events.c (character_to_event):
15281 * events.c (event_to_character):
15282 * events.c (format_event_object):
15283 * events.c (Fevent_modifiers):
15285 * events.h (struct key_data):
15286 * events.h (struct button_data):
15287 * events.h (struct misc_user_data):
15288 * frame-x.c (Fcde_start_drag_internal):
15289 * frame-x.c (Foffix_start_drag_internal):
15290 * gpmevent.c (Freceive_gpm_event):
15292 * keymap.c (bucky_sym_to_bucky_bit):
15293 * keymap.c (control_meta_superify):
15294 * keymap.c (make_key_description):
15295 * keymap.c (keymap_lookup_directly):
15296 * keymap.c (create_bucky_submap):
15297 * keymap.c (keymap_store):
15298 * keymap.c (define_key_check_and_coerce_keysym):
15299 * keymap.c (define_key_parser):
15300 * keymap.c (define_key_alternate_name):
15301 * keymap.c (Fdefine_key):
15302 * keymap.c (raw_lookup_key_mapper):
15303 * keymap.c (struct map_keymap_unsorted_closure):
15304 * keymap.c (map_keymap_unsorted_mapper):
15305 * keymap.c (map_keymap_sort_predicate):
15306 * keymap.c (map_keymap_sorted):
15307 * keymap.c (accessible_keymaps_mapper_1):
15308 * keymap.c (where_is_recursive_mapper):
15309 * keymap.c (describe_map_mapper):
15310 * keymap.c (describe_map_sort_predicate):
15311 * keymap.c (describe_map):
15312 * keymap.c (complex_vars_of_keymap):
15313 And a number of other files, the key modifier preprocessor
15314 constants that xemacs uses have names that conflict with constants
15315 defined under MS Windows for other purposes, so they were renamed
15316 to begin with the prefix XEMACS_. The variables that hold such
15317 modifiers were changed to consistently be of type int to fix
15318 various compile warnings.
15320 * console.c (complex_vars_of_console):
15323 * device-msw.c (mswindows_finish_init_device):
15324 * device-msw.c (msw_get_workspace_coords):
15325 * device-msw.c (mswindows_device_system_metrics):
15326 and various other files, added support for a new
15327 device property called offset-workspace which returns the position
15328 of the upper left corner of the workspace area and goes along with
15329 the existing size-workspace property.
15332 * dialog-msw.c (push_bufbyte_string_as_unicode):
15333 * dialog-msw.c (mswindows_popup_dialog_box):
15334 Added support for XEmacs-style accelerator specifications in
15335 button text. Note: I didn't add support for this under X Windows,
15336 and somebody needs to do this.
15339 * dialog.c (Fpopup_dialog_box):
15340 Documented the support for accelerators that was just mentioned.
15342 editfns.c (get_home_directory): Changed behavior under Windows
15343 when HOME not defined; former behavior was irretrievably broken.
15346 * emacs.c (main_1):
15348 * minibuf.c (clear_echo_area_internal):
15349 * minibuf.c (echo_area_append):
15351 * print.c (std_handle_out_external):
15352 * print.c (std_handle_out_va):
15354 * print.c (write_string_to_stdio_stream):
15355 * print.c (output_string):
15356 * print.c (debug_print):
15357 * print.c (debug_backtrace):
15358 * print.c (debug_short_backtrace):
15359 Cleaned up the code that prints text to stdout so that this can be
15360 changed to output into a console window instead under MS Windows,
15361 as described above.
15364 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15365 * eval.c (internal_catch):
15366 * eval.c (unwind_to_catch):
15367 * eval.c (throw_or_bomb_out):
15368 * eval.c (condition_case_1):
15369 * eval.c (signal_1):
15370 * eval.c (check_error_state_sanity):
15371 * eval.c (call_with_suspended_errors_1):
15372 * eval.c (call_with_suspended_errors):
15373 * eval.c (reinit_vars_of_eval):
15374 Added code to catch throw loops and check for a pesky bug that may
15378 * event-msw.c (key_needs_default_processing_p):
15379 * event-msw.c (mswindows_wnd_proc):
15380 * event-msw.c (mswindows_modifier_state):
15381 * event-msw.c (emacs_mswindows_quit_p):
15382 * event-msw.c (vars_of_event_mswindows):
15383 a) Added support for using the alt key to select menu items as is
15384 standard under MS Windows. This is controlled using the variable
15385 menu-accelerator-enabled, just like under X Windows. There is an
15386 option on the options menu to turn this support on. I really
15387 think that it should be on by default under Windows, but I'm not
15388 going to make this change yet.
15390 b) Added support for dynamic display size changes under Windows.
15393 * event-stream.c (maybe_echo_keys):
15394 * event-stream.c (Fnext_event):
15395 * event-stream.c (command_builder_find_leaf):
15396 * event-stream.c (lookup_command_event):
15397 * event-stream.c (execute_command_event):
15398 * event-stream.c (pre_command_hook):
15399 * event-stream.c (post_command_hook):
15400 * event-stream.c (syms_of_event_stream):
15401 * event-stream.c (vars_of_event_stream):
15402 * event-stream.c (complex_vars_of_event_stream):
15403 * events.h (struct command_builder):
15405 a) Tried to clean up a little bit the horribly written x-specific
15406 accelerator code that crept into this file. I moved this code
15407 into menubar-x.c where it belongs. I also needed to move the
15408 command builder structure into the file events.h because it is
15409 accessed directly by this accelerator code. What I didn't do, but
15410 which should be done at some point, is to properly abstract this
15411 code using device methods instead of the kludgy way that it
15412 currently hooks into the event code.
15414 b) Added the lisp variables this-command-properties and
15415 last-command- properties, which should be used to synchronize two
15416 adjacent commands in preference to playing games with the variable
15417 this-command, which is typically what happens.
15419 c) Added some slightly nasty code to hook into the lisp support
15420 for shifted- motion-key selection. This is actually necessary for
15421 somewhat complicated reasons, which are described in
15422 simple.el. (NB: I think the proper thing would be to have the code
15423 that calls the pre and post command hooks also call out to generic
15424 lisp functions in simple.el, where all built-in stuff could be
15425 added. I will think about this more.)
15427 * event-unixoid.c (poll_fds_for_input):
15428 * lread.c (readchar):
15429 * redisplay-tty.c (tty_clear_frame):
15430 * redisplay-x.c (x_get_gc):
15431 * signal.c (interrupt_signal):
15432 And a whole bunch of other files: fixed up places that printed
15433 directly to stderr to instead call the function stderr_out so that
15434 the changes I made under Windows work correctly.
15436 * filemode.c (mode_string):
15440 * frame-msw.c (mswindows_size_frame_internal):
15441 Fixed the computation of frame size and position to keep the frame
15442 within the workspace area, rather than within the physical
15443 dimensions of the screen, so that the frame doesn't overlap window
15444 manager decorations, such as the start menu and toolbar, typically
15445 at the bottom of the screen.
15447 * frame.c (vars_of_frame):
15448 Changed the default frame title format under MS Windows to consist
15449 of buffername-XEmacs, which is standard under MS Windows. I think
15450 it might be a good idea to change this everywhere because I think
15451 it is superior to the current frame title format, but this is the
15452 kind of change that is likely to cause some people to get annoyed,
15453 so I'm not making it.
15455 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15457 * gui-msw.c (mswindows_handle_gui_wm_command):
15458 Fixed compile warnings.
15461 * gui-x.c (strdup_and_add_accel):
15462 * gui-x.c (button_item_to_widget_value):
15464 Added code to automatically put an accelerator onto the beginning
15465 of menu items that don't have one as is now the standard, and is
15466 described more later. Also fixed things so that the menu item
15467 name can be an evaluated expression, again a new standard.
15470 * gui.c (gui_item_add_keyval_pair):
15471 * gui.c (make_gui_item_from_keywords_internal):
15472 * gui.c (gui_add_item_keywords_to_plist):
15473 * gui.c (gui_item_accelerator):
15474 * gui.c (gui_name_accelerator):
15475 * gui.c (gui_item_included_p):
15476 * gui.c (gui_item_display_flush_left):
15477 * gui.c (gui_item_display_flush_right):
15478 * gui.c (parse_gui_item_tree_item):
15479 * gui.c (parse_gui_item_tree_children):
15480 * gui.c (parse_gui_item_tree_list):
15481 Mule-ized. Cleanup. GCPRO addition.
15483 * line-number.c (buffer_line_number):
15485 * lisp.h (EMACS_INT_MAX):
15486 Added the manifest constant EMACS_INT_MIN corresponding to the
15487 existing constant EMACS_INT_MAX. This is partially to fix compile
15488 warnings under Windows, and partly for cleanliness.
15491 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15492 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15493 * menubar-msw.c (displayable_menu_item):
15494 * menubar-msw.c (populate_menu_add_item):
15495 * menubar-msw.c (populate_or_checksum_helper):
15496 * menubar-msw.c (populate_menu):
15497 * menubar-msw.c (update_frame_menubar_maybe):
15498 * menubar-msw.c (prune_menubar):
15499 * menubar-msw.c (msw_char_is_accelerator):
15500 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15501 * menubar-msw.c (mswindows_handle_wm_command):
15502 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15503 * menubar-msw.c (mswindows_handle_wm_initmenu):
15504 * menubar-msw.c (mswindows_update_frame_menubars):
15505 * menubar-msw.c (mswindows_free_frame_menubars):
15506 * menubar-msw.c (mswindows_popup_menu):
15507 Fixed a bug in handling accelerators where an extra character
15508 would be displayed in the menu item. Also generalized the
15509 function displayable_menu_item because it is now used by the
15510 dialog box code as well. And finally, added code in the functions
15511 that create the menubar to extract a list of accelerators for the
15512 top level menubar, which is used in the event code to determine
15513 whether a particular alt-key combination should be used to invoke
15514 a menu item, or should be passed through to access the standard
15515 XEmacs keymap binding for this key combination.
15517 Much needed GCPROing.
15520 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15521 * menubar-x.c (menu_item_descriptor_to_widget_value):
15522 * menubar-x.c (restore_in_menu_callback):
15523 * menubar-x.c (x_popup_menu):
15524 * menubar-x.c (menu_move_up):
15525 * menubar-x.c (menu_move_down):
15526 * menubar-x.c (menu_move_left):
15527 * menubar-x.c (menu_move_right):
15528 * menubar-x.c (menu_select_item):
15529 * menubar-x.c (command_builder_operate_menu_accelerator):
15530 * menubar-x.c (menu_accelerator_junk_on_error):
15531 * menubar-x.c (command_builder_find_menu_accelerator):
15532 * menubar-x.c (Faccelerate_menu):
15534 Moved a whole bunch of code here that was previously in
15535 event-stream.c as described above. There is also code connected
15536 to the new standard of adding an accelerator to the beginning of
15537 menu items that don't have one as described above and below.
15540 * menubar.c (menu_parse_submenu_keywords):
15541 * menubar.c (Fmenu_find_real_submenu):
15542 * menubar.c (Fnormalize_menu_item_name):
15543 * menubar.c (syms_of_menubar):
15544 * menubar.c (vars_of_menubar):
15545 * menubar.c (complex_vars_of_menubar):
15547 a) Cleaned up a bunch of documentation and improved it.
15549 b) XEmacs now automatically adds an accelerator onto the beginning
15550 of any menu items that don't have one. I did this because there
15551 will inevitably be some menu items on the main menubar that don't
15552 have accelerators on them because the package that adds that
15553 particular menu item hasn't yet been fixed up to have accelerators
15554 in them and it looked rather strange to have some items with and
15555 some items without accelerators, especially since even in items
15556 without accelerators, you can, at least under windows, still
15557 access the item through an accelerator corresponding to the first
15558 character in the item's name. If people don't like this behavior,
15559 I can add a variable to turn it off optionally, but I'm not sure
15560 this is a good idea because we really do need to have accelerators
15561 on all of the menu items, and if a package doesn't like the
15562 accelerators being put on the first character, then it should put
15563 the accelerators where they belong.
15565 c) I made a behavior change, which is that the descriptor that
15566 specifies the text of the menu item, which formerly was just a
15567 string, can now also be an evaluated expression. This makes this
15568 descriptor parallel with all of the others, which could also be
15569 evaluated expressions. This also obviates the need for the
15570 keyword :label, which was previously listed in the documentation
15571 as unimplemented, and which was for the same purpose.
15576 * ntproc.c (new_child):
15577 * ntproc.c (sys_spawnve):
15578 * ntproc.c (find_child_console):
15579 * ntproc.c (sys_kill):
15580 Fixed compile warnings. By the way, this file should really go
15581 away entirely, and this will happen as soon as Kirill makes his
15582 final round of process cleanups, which affect the function
15586 * process-nt.c (struct nt_process_data):
15587 * process-nt.c (find_process_from_pid):
15588 * process-nt.c (send_signal_the_nt_way):
15589 * process-nt.c (enable_child_signals):
15590 * process-nt.c (find_child_console):
15591 * process-nt.c (send_signal_the_95_way):
15592 * process-nt.c (nt_finalize_process_data):
15593 * process-nt.c (ensure_console_window_exists):
15594 * process-nt.c (nt_create_process):
15595 * process-nt.c (nt_kill_child_process):
15596 * process-nt.c (nt_kill_process_by_pid):
15597 * process-nt.c (nt_open_network_stream):
15598 * process-nt.c (vars_of_process_nt):
15599 Copied over code from Emacs 20.5 to correctly send signals to sub-
15600 processes under Windows 95. Also added code to automatically
15601 create and hide console window when a sub-process is created under
15602 Windows 95, which obviates the need for the separate runemacs.exe
15603 executable, and finally implemented some variables that were
15604 implemented in Emacs 20.5, but previously not in XEmacs. These
15605 include mswindows- start-process-share-console and
15606 mswindows-start-process-inherit-error-mode. (Both of these only
15607 apply to Windows 95.)
15609 * regex.c (regex_compile): Fixed a compile warning.
15612 * select-msw.c (mswindows_own_selection):
15613 * select-msw.c (mswindows_get_foreign_selection):
15614 * select-msw.c (mswindows_disown_selection):
15615 * select-msw.c (console_type_create_select_mswindows):
15616 * select-msw.c (syms_of_select_mswindows):
15617 Cleaned up the file and implemented the device method
15618 selection_exists_p, which had accidentally been left out. Also
15619 removed four lisp functions that were remnants from before the
15620 time when the selection code was properly device abstracted.
15621 These functions are no longer needed because there are generic
15622 equivalents, and because they were added recently and don't exist
15623 in FSF Emacs, I don't think there's any problem with just deleting
15627 * sysdep.c (sys_subshell):
15628 Fixed a compile warning, although in this case there's probably
15629 something wrong with this code, and it ought to be looked into
15630 more thoroughly by somebody who understands it.
15633 * window.c (Fwindow_text_area_height):
15634 * window.c (Fwindow_width):
15635 * window.c (Fwindow_full_width):
15636 * window.c (Fwindow_pixel_width):
15637 * window.c (debug_print_window):
15638 * window.c (syms_of_window):
15639 Added functions window-text-area-height and window-full-width,
15640 which are functions for returning various width and height
15641 characteristics of a window. (One of these functions is necessary
15642 for making the file dialog box work correctly, and the other one
15643 was added for completeness.) Also added a table to the
15644 documentation for window-height which describes the entire scheme
15645 for accessing width and height characteristics of a window.
15647 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15649 * nt.c (fstat): Added a comment for another problem with
15650 non-encapsulated [f]stat(), reported by Adrian Aichner
15651 <aichner@ecf.teradyne.com>.
15653 2000-03-11 Andy Piper <andy@xemacs.org>
15655 * window.c (make_dummy_parent): initialize subwindow instance
15657 (Fset_window_configuration): zero extent_modiff.
15659 2000-03-10 Andy Piper <andy@xemacs.org>
15661 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15662 more changes can be triggered.
15663 (Fredisplay_frame): ditto.
15664 (Fredraw_device): ditto.
15665 (Fredisplay_device): ditto.
15666 (redisplay_frame): make non-static.
15667 (redisplay_frame): call update_frame_gutter_geometry outside of
15670 * gutter.h: declare update_frame_gutter_geometry.
15672 * redisplay.h: declare redisplay_frame.
15674 * gutter.c (update_frame_gutter_geometry): move geometry changes
15675 in update_frame_gutters here. Geometry changes can only occur
15676 outside of redisplay.
15677 (update_frame_gutters): remove geometry change code.
15678 (Fredisplay_gutter_area): make sure that we are in display when we
15679 update and that we have flushed any size changes.
15681 2000-03-11 Andy Piper <andy@xemacs.org>
15683 * alloc.c (pdump_dump_data): remove i & count shadows.
15685 2000-02-27 Mike Alexander <mta@arbortext.com>
15687 * sysdep.h: Declare pdump_read_file
15689 * sysdep.c (pdump_read_file): New function
15691 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15694 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15696 * lrecord.h: add `lrecord_type_pgsetenv'.
15698 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15700 * symsinit.h: declare (vars|syms)_of* functions.
15701 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15703 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15705 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15707 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15710 * emacs.c (main_1): Call postgres initialization code.
15712 * postgresql.h: New file. PostgreSQL RDBMS support.
15713 * postgresql.c: New file.
15715 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15717 * redisplay-output.c (redisplay_output_display_block): Disable
15720 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15722 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15723 (Fcanna_henkan_next): Ditto.
15724 (Fcanna_bunsetu_henkou): Ditto.
15725 (Fcanna_henkan_kakutei): Ditto.
15726 (Fcanna_henkan_end): Ditto.
15727 (Fcanna_henkan_quit): Ditto.
15728 (Fcanna_henkan_next): Set retun value correctly.
15729 (c2mu): Use unsigned char instead of signed char.
15731 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15733 * emacs.c (main_1): Always call syms_of_gui.
15734 * inline.c: include gui.h
15736 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15738 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15739 converted to Lisp_Object.
15740 (Qtop_bottom): New variable.
15741 (syms_of_redisplay): Initialize it.
15742 * redisplay.h (Vvisible_bell): Ditto.
15743 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15744 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15745 only flash top and bottom.
15747 2000-03-08 Andy Piper <andy@xemacs.org>
15749 * buffer.c (Frename_buffer): record new buffer name the right way.
15751 2000-03-08 Andy Piper <andy@xemacs.org>
15753 * glyphs.c (update_subwindow): increase hash depth so that widget
15754 items get picked up properly.
15756 * redisplay-output.c (compare_runes): increase hash depth so that
15757 widget items get picked up properly.
15759 2000-03-08 Andy Piper <andy@xemacs.org>
15761 * gutter.c (output_gutter): add some debug.
15763 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15764 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15765 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15767 * redisplay-output.c (compare_runes): use display_hash to
15768 determine if glyphs really are not the same.
15770 * glyphs.c (update_subwindow): check display_hash to see if
15771 anything really needs to be updated. If not then do
15772 nothing. Record the display_hash after updating.
15773 (image_instance_equal): compare the image_instance face also.
15775 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15777 * redisplay.h: Fix comment style.
15779 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15781 * consle-msw.h (struct mswindows_frame):
15782 Added new member paint_pending to indicate whether a WM_PAINT
15783 magic event has been queued for this frame.
15785 * event-msw.c (mswindows_drain_windows_queue):
15786 Don't queue a WM_PAINT magic event if one is already queued.
15787 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15789 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15791 2000-03-07 Didier Verna <didier@xemacs.org>
15793 * dired.c: #include `regex.h' after `sysfile.h'.
15795 2000-03-06 Martin Buchholz <martin@xemacs.org>
15797 * sound.c (init_nas_sound): Fix compiler warning.
15799 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15801 (MARK_STRUCT_AS_FREE):
15802 (MARK_STRUCT_AS_NOT_FREE):
15803 Make `gcc -fstrict-aliasing' work properly.
15805 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15807 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15808 (mswindows_delete_device): Call CoUnnitialize().
15810 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15812 2000-02-25 <CraigL@DyCon.com>
15814 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15817 * sysdep.c: This extern declaration for environ prevents MinGW
15818 from finding the variable in CRTDLL.DLL.
15820 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15822 (SHGFI_EXETYPE): ..
15823 (WM_MOUSEWHEEL): ..
15824 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
15826 (MMRESULT): Removed, now defined in cygwin's windows headers.
15828 (uid_t,gid_t,pid_t,ssize_t): ..
15829 (_timeb): Removed, MinGW defines both _timeb and timeb.
15830 (HAVE_H_ERRNO): Added.
15831 (HAVE_TZNAME): Added, configure is not detecting this.
15833 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
15835 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
15836 * syntax.c (syntax_match): Use it.
15838 * cmds.c: Import auto-fill-chars from FSF Emacs.
15839 (Vauto_fill_chars): New variables.
15840 (internal_self_insert): Check Vauto_fill_chars.
15842 Declare auto-fill-chars as a Lisp variable and initialize it.
15844 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15846 * fileio.c (Fmake_symbolic_link):
15848 Run handlers even if local machine doesn't have symlinks.
15850 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
15852 * event-msw.c (mswindows_drain_windows_queue):
15853 Don't generate paint magic events for non-XEmacs frames.
15855 2000-03-05 Andy Piper <andy@xemacs.org>
15857 * redisplay.c (redisplay_frame): generate_displayable_area and
15858 friends assumes that we are not in GC, we therefore have to make
15859 sure that this doesn't happen.
15861 * gutter.c (calculate_gutter_size): generate_displayable_area
15862 assumes that we are not in GC, we therefore have to make sure that
15863 this doesn't happen.
15865 2000-03-05 Martin Buchholz <martin@xemacs.org>
15867 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
15869 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
15871 * redisplay.c (regenerate_window): Make sure we set a sane value
15872 for end_pos even if we jump out of the loop.
15873 (regenerate_window): Answer Ben's question :-).
15874 (start_end_of_last_line): Add may_error argument.
15875 (start_of_last_line):
15876 (end_of_last_line): Pass may_error = 0.
15877 (end_of_last_line_may_error): New function.
15878 (pixel_to_glyph_translation): Use it, so we don't crash in
15881 2000-03-04 Andy Piper <andy@xemacs.org>
15883 * window.h (struct window): add gutter_extent_modiff.
15885 * window.c (allocate_window): zero out gutter_extent_modiff.
15887 * redisplay.h: declare sync_display_line_structs.
15889 * redisplay.c (add_glyph_rune): add a better comment.
15891 * redisplay-output.c (sync_display_line_structs): made non-static.
15892 (compare_runes): remove unneccesary glyph cachel access.
15894 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
15896 * gutter.c (output_gutter): don't output the gutter if extent
15897 changes only involve extents in buffers. use 4 sets of display
15899 (gutter_extent_signal_changed_region_maybe): new function. Mark
15900 extents in gutters as changed.
15901 (update_frame_gutters): use 4 sets of display lines.
15902 (reset_gutter_display_lines): ditto.
15903 (free_frame_gutters): ditto.
15904 (redraw_exposed_gutter): force output of gutters.
15906 * frame.h (struct frame): add 4 sets of gutter display lines.
15908 * extents.c: (extent_changed_for_redisplay): signal changes to
15909 extents in strings in the gutter as well as extents in buffers.
15911 2000-03-02 Andy Piper <andy@xemacs.org>
15913 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
15915 * frame.c (Fmake_frame): make sure the gutters get initialized
15916 after the frame is visible.
15917 (set_frame_selected_window): re-arrange compilation macros a
15919 (change_frame_size_1): mark gutters changed.
15921 * device.c (Fset_device_class): mark gutters changed.
15923 2000-03-01 Andy Piper <andy@xemacs.org>
15925 * window.c (window_top_frame_gutter_height): deleted.
15926 (window_bottom_frame_gutter_height): ditto.
15927 (window_left_frame_gutter_height): ditto.
15928 (window_right_frame_gutter_height): ditto.
15929 (window_top_gutter_height): don't use them.
15930 (window_bottom_gutter_height): ditto.
15931 (window_left_gutter_width): ditto.
15932 (window_right_gutter_width): ditto.
15933 (Fsplit_window): ditto.
15934 (Fwindow_pixel_edges): don't use border dimensions here.
15936 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
15937 (update_scrollbar_instance): ditto.
15939 * redisplay.c (generate_modeline): don't take gutters into account.
15940 (generate_modeline): ditto.
15941 (redisplay_frame): small gutter display optimization.
15943 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
15945 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
15946 gutters into account.
15948 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
15949 for window position and type.
15951 * gutter.c (get_gutter_coords): fix for frame gutters.
15952 (update_frame_gutters): update frame geometry if the gutters have
15954 (init_frame_gutters): record current gutter geometries.
15956 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
15958 (mswindows_widget_instantiate): ditto.
15960 * frame.h (struct frame): add current_gutter_bounds.
15962 * frame.c (change_frame_size_1): position window and minibuffer
15963 appropriately taking into account the frame gutters.
15965 * frame-x.c: (x_initialize_frame_size): take into account the
15968 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15970 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
15972 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
15974 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
15976 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
15978 * file-coding.c (reset_decoding_stream): Clear previous
15979 detection state when autodetect.
15981 2000-02-29 Didier Verna <didier@xemacs.org>
15983 * extents.c (set_extent_glyph_1): don't require extents to be
15986 2000-02-27 Andy Piper <andy@xemacs.org>
15988 * gutter.c (Fset_default_gutter_position): don't default left and
15989 right gutter visibility to t.
15990 (Fset_default_gutter_position): run
15991 default-gutter-position-changed-hook.
15992 (syms_of_gutter): add default-gutter-position-changed-hook.
15994 2000-02-26 Andy Piper <andy@xemacs.org>
15996 * specifier.c (Fmake_specifier): add gutter references.
15998 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16000 * lisp.h: declare Fvalid_plist_p.
16002 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16004 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16005 well as its visibility so that it gets reconstructed.
16006 (construct_window_gutter_spec): new function. Construct a string
16007 to be displayed in the gutter from a plist of strings. Take care
16008 to only use elements that are declared as visible.
16009 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16011 (gutter_validate): allow plists of strings in the specifier.
16012 (gutter_specs_changed): construct the real_gutter from the gutter
16013 specs using construct_window_gutter_spec.
16014 (gutter_visible_validate): gutter-visible is a new specifier type.
16015 (Fgutter_visible_specifier_p): new function for the new specifier.
16016 (syms_of_gutter): declare gutter-visible and
16017 Fgutter_visible_specifier_p.
16018 (specifier_type_create_gutter): intitalize new gutter-visible
16020 (reinit_specifier_type_create_gutter): ditto.
16021 (specifier_vars_of_gutter): use new specifier type for gutter
16023 (init_frame_gutters): construct real_gutter correctly.
16024 (Fgutter_specifier_p): beef up documentation.
16025 (Fgutter_size_specifier_p): ditto.
16027 * winslots.h: add real_gutter slots.
16029 2000-02-25 Andy Piper <andy@xemacs.org>
16031 * device-msw.c: Be kind to older cygwin versions. From Raymond
16032 Toy <toy@rtp.ericsson.se>.
16034 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16035 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16037 2000-02-25 Martin Buchholz <martin@xemacs.org>
16039 * elhash.c (MARK_OBJ): Practice macro hygiene.
16041 2000-02-24 Martin Buchholz <martin@xemacs.org>
16043 * miscplay.c: s/__inline__/inline/g;
16044 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16045 (get_device_compdc): INLINE ==> static inline
16046 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16047 find -name '*.h' | \
16048 xargs global-replace \
16049 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16051 2000-02-25 Andy Piper <andy@xemacs.org>
16053 * window.c (window_top_frame_gutter_height): new function.
16054 (window_top_window_gutter_height): ditto.
16055 (window_top_gutter_height): use them.
16056 (window_bottom_frame_gutter_height): new function.
16057 (window_bottom_window_gutter_height): ditto.
16058 (window_bottom_gutter_height): use them.
16059 (window_left_window_gutter_width): new function.
16060 (window_left_frame_gutter_width): ditto.
16061 (window_left_gutter_width): use them.
16062 (window_right_window_gutter_width): new function.
16063 (window_right_frame_gutter_width): ditto.
16064 (window_right_gutter_width): use them.
16065 (window_pixel_height): new function. calulate window pixel height
16066 with frame gutter involvement.
16067 (Fsplit_window): calculate new sizes taking frame gutters into
16069 (window_char_height_to_pixel_height): don't include frame gutters.
16070 (window_char_height): use window_pixel_height.
16071 (window_pixheight): rename from window_pixel_height.
16072 (change_window_height): use it.
16073 (window_pixel_height_to_char_height): don't include frame gutters.
16074 (window_char_width_to_pixel_width): ditto.
16076 2000-02-25 Andy Piper <andy@xemacs.org>
16078 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16081 2000-02-24 Martin Buchholz <martin@xemacs.org>
16083 * alloc.c (staticpro):
16084 (staticpro_nodump):
16089 (compact_string_chars):
16090 (pdump_dump_wired):
16091 Convert: if (foo) abort(); ==> assert (! foo);
16093 * eldap.c (Fldap_search_basic):
16097 Fix compiler warnings, and possible crashes if (random) return
16098 value were to be used.
16100 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16102 * device-msw.c: Workaround ResetDC failure.
16104 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16105 applying a devmode.
16107 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16108 (mswindows_text_width): Do not start printer page.
16110 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16112 * glyphs-msw.c: Added image methods to msprinter console and
16113 msprinter-specific image instantiation.
16115 2000-02-20 Mike Alexander <mta@arbortext.com>
16117 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16118 to avoid crashes when selection-sets-clipboard is on
16119 (mswindows_own_selection): ditto
16121 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16124 * redisplay-msw.c (get_frame_dc):
16125 (get_frame_compdc):
16127 * device-msw.c (mswindows_init_device):
16128 (mswindows_delete_device):
16129 (msprinter_init_device):
16130 (msprinter_delete_device):
16131 * frame-msw.c (mswindows_init_frame_1):
16132 (mswindows_delete_frame):
16133 (msprinter_init_frame_3):
16134 (msprinter_delete_frame): Move compatible DC to device object from
16135 frame object, for both mswindows and msprinter. Only one at a time
16136 is needed, it is a real waste to have one per frame!
16138 2000-02-23 Andy Piper <andy@xemacs.org>
16140 * glyphs.c: add dynamic width and height elements.
16141 (image_instance_equal): ditto.
16143 * glyphs-widget.c (widget_query_geometry): calculate width and
16144 height dynamically if required.
16145 (initialize_widget_image_instance): initialize dynamic dimensions.
16146 (widget_instantiate): pick-up dynamic dimensions.
16148 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16149 dynamic determination. Add appropriate macros.
16151 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16153 (WINDOW_GUTTER_SIZE): ditto.
16154 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16156 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16158 (get_frame_dc): ditto.
16160 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16163 2000-02-23 Martin Buchholz <martin@xemacs.org>
16165 * XEmacs 21.2.31 is released.
16167 2000-02-22 Ben Wing <ben@xemacs.org>
16169 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16171 2000-02-22 Andy Piper <andy@xemacs.org>
16173 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16175 2000-02-21 Mike Sperber <mike@xemacs.org>
16179 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16182 2000-02-21 Mike Sperber <mike@xemacs.org>
16184 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16186 2000-02-21 Martin Buchholz <martin@xemacs.org>
16188 * XEmacs 21.2.30 is released.
16190 2000-02-20 Martin Buchholz <martin@xemacs.org>
16192 Performance hacking.
16194 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16195 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16196 * emacs.c (main_1):
16198 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16199 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16200 * symeval.h (DEFVAR_SYMVAL_FWD):
16201 * symbols.c (guts_of_unbound_marker):
16202 Make all c_readonly objects also lisp_readonly and marked for life.
16203 * lrecord.h (struct lrecord_implementation):
16204 Document flags better.
16205 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16206 * lrecord.h (DECLARE_LRECORD):
16207 * lrecord.h (XSETRECORD):
16208 * lrecord.h (RECORDP):
16209 * lrecord.h (RECORD_TYPEP):
16210 * lrecord.h (RECORD_MARKER): New.
16211 * lrecord.h (error_check_*):
16212 * lrecord.h (CONCHECK_NONRECORD):
16213 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16214 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16215 * lrecord.h (set_lheader_implementation):
16216 * lrecord.h (enum lrecord_type): New.
16217 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16218 * alloc.c (disksave_object_finalization_1):
16219 * alloc.c (mark_object):
16220 * alloc.c (lrecord_type_index):
16221 * alloc.c (tick_lcrecord_stats):
16222 * alloc.c (Fgarbage_collect):
16223 * alloc.c (init_alloc_once_early):
16224 * alloc.c (pdump_load):
16225 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16226 * alloc.c (lrecord_type_index): Delete.
16227 Make lisp object type indexes be constant.
16228 Makes (byte-compile) 5% faster.
16229 Put all marker functions into their own array.
16230 Makes (garbage-collect) 5% faster.
16231 Optimize SYMBOL_VALUE_MAGIC_P.
16232 Makes (byte-compile) 2-3% faster.
16233 * config.h.in (gc_checking_assert): New.
16234 * alloc.c: Use gc_checking_assert().
16235 * .dbxrc: Make compatible with new object type implementation.
16236 * .gdbinit: Make compatible with new object type implementation.
16237 * alloc.c: Delete all symbols defined only for debugging, such as
16238 Lisp_Type_Vector and lrecord_charset.
16240 2000-02-21 Andy Piper <andy@xemacs.org>
16242 * gui-msw.c (Fmswindows_shell_execute): fix file location
16245 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16246 unshowing so that set_window_buffer doesn't undo
16247 kill_buffer_hook's hard work.
16249 * glyphs-widget.c (tab_control_query_geometry): don't count the
16250 first item when calculating geometry.
16252 * glyphs.c (map_subwindow): remove redundant code.
16253 (update_frame_subwindows): be more circumspect about when to
16256 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16257 when items haven't changed. Update faces if faces have changed as
16258 well as just the widget face.
16259 (x_tab_control_update): Update faces if faces have changed as well
16260 as just the widget face.
16262 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16264 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16266 (build_syscolor_string): Use mswindows_color_to_string to try to
16268 (mswindows_device_system_metrics): Reverse the foreground and
16269 background colors so that they match the documentation.
16271 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16272 they match the default Windows palette.
16273 (mswindows_color_to_string): New function.
16275 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16277 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16279 2000-02-18 Olivier Galibert <galibert@pobox.com>
16281 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16282 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16284 * symbols.c (init_symbols_once_early): Removed obsolete
16285 DATA_SEG_BITS related kludge.
16286 (defvar_magic): Ditto.
16288 * malloc.c: Removed obsolete DATA_SEG_BITS
16290 * mem-limits.h: Ditto.
16292 * Makefile.in.in: Removed obsolete HAVE_SHM
16295 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16297 * device-msw.c (mswindows_delete_device): Free DDE string
16300 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16302 * keymap.c (get_keyelt):
16303 * unexnt.c (unexec):
16304 * vm-limit.c (memory_warnings):
16305 * ntheap.c (recreate_heap):
16306 * ntheap.h (UNINIT_PTR):
16307 * select-msw.c (Fmswindows_get_clipboard):
16308 (Fmswindows_set_clipboard):
16309 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16311 * menubar-msw.c (displayable_menu_item):
16313 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16314 * sysdep.c (sys_subshell):
16315 * process-nt.c (nt_create_process):
16316 * nt.c (normalize_filename):
16317 (dostounix_filename):
16318 (unixtodos_filename):
16319 * ntproc.c (win32_executable_type):
16320 * ntplay.c (play_sound_data_1):
16322 * editfns.c (get_home_directory):
16323 * event-msw.c (struct winsock_stream):
16324 (mswindows_dde_callback):
16325 * device-msw.c (msprinter_init_device):
16326 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16328 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16329 mswindows_clear_toolbar were swapped!
16331 * objects-msw.c:(colormap_t):
16333 * emacs.c (struct standard_args): Fixed const jumble.
16335 * glyphs-widget.c (update_widget): Fixed comparison notation.
16337 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16339 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16340 __declspec(noreturn) syntax.
16342 2000-02-19 Martin Buchholz <martin@xemacs.org>
16344 * eldap.c (Fldap_open):
16345 (Fldap_search_basic):
16348 Use new coding system conversion macros.
16350 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16352 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16354 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16356 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16357 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16359 * eldap.c (Qadd, Qreplace): New constant symbols
16360 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16361 interruptions by XEmacs signals
16362 Remove unnecessary calls to slow_down_interrupts and
16363 speed_up_interrupts
16364 (Fldap_search_basic): Renamed from Fldap_search_internal
16365 Added new optional parameter VERBOSE that triggers the
16366 display of progress messages
16367 Remove unnecessary calls to slow_down_interrupts and
16368 speed_up_interrupts
16369 LDAP result code analysis rewritten
16370 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16371 (syms_of_eldap): Define the new symbols and functions
16374 2000-02-17 Martin Buchholz <martin@xemacs.org>
16376 * realpath.c: Determine PATH_MAX maximally portably.
16378 * insdel.c (bytecount_to_charcount): Optimize.
16379 The function used to be optimized for entirely ASCII sequences.
16380 Now it is optimized for successive characters from the same
16381 charset. This also wins big for _mostly_ ASCII sequences.
16383 * fileio.c (Ffile_truename): convert return from realpath() using
16384 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16385 - Rewrite GCPROing slightly.
16387 * sysdep.c (sys_open): Do filename conversion, like all other
16388 sys_* functions. Fixes bug:
16389 (let ((file-name-coding-system 'iso-8859-2))
16390 (write-region x y latin2-name))
16391 ==> writes filename using internal encoding.
16393 2000-02-18 Martin Buchholz <martin@xemacs.org>
16395 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16396 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16397 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16398 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16399 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16400 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16401 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16402 (CONST_IF_NOT_DEBUG): Delete.
16403 * alloc.c (this_one_is_unmarkable): Delete.
16404 (mark_object): Don't check for this_one_is_unmarkable. Use the
16405 c_readonly flag instead.
16406 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16408 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16410 * event-msw.c (mswindows_drain_windows_queue):
16411 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16412 away redundant repaint events.
16414 2000-02-17 Andy Piper <andy@xemacs.org>
16416 * redisplay.h: declare mark_redisplay_structs.
16418 * redisplay.c (redisplay_window):
16419 (redisplay_frame): don't check subwindows_state_changed.
16420 (mark_redisplay): mark gutters here.
16422 * glyphs.c: (instantiate_image_instantiator): always layout if we
16423 haven't done so already.
16424 (allocate_image_instance): don't mark as dirty.
16425 (update_subwindow): bind inhibit_quit.
16427 * gutter.c (mark_gutters): new function.
16429 * glyphs-x.c (x_update_widget): Always resize to get round a
16432 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16433 breaking absolutely everything.
16435 * gutter.h: declare mark_gutters.
16437 2000-02-16 Martin Buchholz <martin@xemacs.org>
16439 * XEmacs 21.2.29 is released.
16441 2000-02-15 Olivier Galibert <galibert@pobox.com>
16443 * fns.c (size_bit_vector): Fix computation of the size.
16445 2000-02-15 Martin Buchholz <martin@xemacs.org>
16447 * *.[ch]: Change CONST to const globally.
16448 find -name '*.[ch]' | \
16449 xargs global-replace \
16450 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16451 - Remove vestigial references to CONST_IS_LOSING
16453 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16455 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16456 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16457 events instead of dispatching them directly.
16458 (mswindows_handle_paint): New function to do repainting.
16459 (mswindows_wnd_proc):
16460 (emacs_mswindows_handle_magic_event): Call above function.
16462 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16464 * objects-msw.c (mswindows_create_font_variant): Return the new
16466 (initialize_font_instance): Get font metrics from the underlined
16467 variant of the font to cope with the case where the underlined
16468 font has a bigger descent.
16470 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16472 * gui.c (gui_item_accelerator): Return the first underlined
16473 character in item name.
16475 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16477 * lisp.h: Added Qprinter.
16479 * general.c (syms_of_general): Initialized it.
16481 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16483 (get_frame_compdc): Made inline.
16485 * console.h (struct console_methods): Added eject_page method.
16487 * frame.h: Added FRAME_DISPLAY_P and friends.
16488 Aligned backslahes in many macros in more readable fashion.
16489 Added page_number to struct frame, and an accessor macro
16492 * defice.h: Added DEVICE_DISPLAY_P and friends.
16494 * device.c (Fdevice_printer_p): Used these.
16496 * frame.c (allocate_frame_core): Initialize page number.
16497 (Fprint_job_page_number):
16498 (Fprint_job_eject_page): Implemented.
16500 * frame-msw.c (msprinter_eject_page): Added method.
16501 (msprinter_start_page): Added.
16503 * window.c (Fwindow_truncated_p): Fixed docstring.
16504 (Fwindow_last_line_visible_height): Implemented.
16506 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16508 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16510 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16512 * syntax.c (scan_words): Always advance at least one character.
16514 2000-02-13 Andy Piper <andy@xemacs.org>
16516 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16517 to make sure the glyph is in the cachels.
16519 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16520 global image instance flag.
16521 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16522 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16524 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16525 (Fset_image_instance_property): mark layout as changed.
16526 (invalidate_glyph_geometry_maybe): mark layout as changed.
16527 (glyph_width): use new NEEDS_LAYOUT macro.
16528 (glyph_ascent): ditto.
16529 (glyph_descent): ditto.
16530 (glyph_height): ditto.
16531 (image_instance_layout): mark layout as clean after laying out.
16532 (update_subwindow): don't mark layout as clean here.
16534 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16535 should no longer be needed.
16537 * glyphs-x.c (x_update_widget): sanitize asserts.
16538 (x_finalize_image_instance): sanitize assignment to widgets.
16540 * glyphs-widget.c (widget_instantiate): don't need to clear the
16543 2000-02-13 Martin Buchholz <martin@xemacs.org>
16545 * sysdep.c (getcwd): Use standard prototype.
16546 * sysdep.h (getcwd): Use standard prototype.
16548 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16549 (sequence, start, end).
16550 Remove redundant type checking.
16551 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16552 view of `caller-protects') to avoid a crash where the real fix was
16555 2000-02-12 Martin Buchholz <martin@xemacs.org>
16557 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16559 * s/sol2.h: Remove feature macro initialization.
16561 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16562 (vector_hash): New. Code from internal_hash.
16564 Fix up allocation subsystem comments.
16566 * config.h.in: Add __EXTENSIONS__ for Solaris.
16568 * systime.h (EMACS_GETTIMEOFDAY): New.
16569 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16570 Remove Solaris-specific code.
16571 Use void* for the (ignored) second arg for gettimeofday().
16573 * elhash.c (hash_table_hash): Implement it, finally.
16574 * elhash.c: Use hashcode_t.
16576 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16577 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16579 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16580 * fns.c (size_bit_vector):
16581 * alloc.c (size_vector):
16582 (make_vector_internal):
16583 (make_bit_vector_internal):
16584 (sweep_bit_vectors_1):
16585 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16587 2000-02-10 Martin Buchholz <martin@xemacs.org>
16589 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16590 Include strings.h to avoid warnings for bzero and strcasecmp.
16592 2000-02-10 Olivier Galibert <galibert@pobox.com>
16594 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16595 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16597 * fns.c (size_bit_vector): New. Declare bit vectors as a
16600 2000-02-10 Olivier Galibert <galibert@pobox.com>
16602 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16603 use a value field instead.
16604 (symbol_value_forward_forward): Use value field.
16605 (DEFVAR_SYMVAL_FWD): Use value field.
16606 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16607 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16608 (DEFVAR_CONST_INT): Ditto.
16609 (DEFVAR_BOOL): Ditto.
16610 (DEFVAR_CONST_BOOL): Ditto.
16611 (DEFVAR_INT_MAGIC): Ditto.
16612 (DEFVAR_BOOL_MAGIC): Ditto.
16614 * symbols.c (guts_of_unbound_marker): Use value field.
16615 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16616 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16618 * lisp.h: Declare dumpopaque and noninteractive1.
16620 * alloc.c (dumpopaque): Added.
16621 (pdump_dump_opaquevec): Added.
16622 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16623 (pdump_load): Reload opaque data. Sync noninteractive1 with
16626 2000-02-10 Andy Piper <andy@xemacs.org>
16628 * glyphs.c (image_instance_layout): if the size changes, mark it
16631 * redisplay-output.c (redisplay_output_layout): Update the
16633 (redisplay_output_subwindow): ditto.
16635 * glyphs.c (update_subwindow): make sure we reset flags for
16636 layouts as well as everything else.
16638 * glyphs-widget.c (layout_layout): don't need to set the instances
16641 2000-02-09 Martin Buchholz <martin@xemacs.org>
16643 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16644 not HAVE_DLOPEN, which is a lower-level thing.
16646 * .cvsignore: Ignore gmon.out
16648 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16650 * .cvsignore: Ignore portable dumper xemacs.dmp file
16652 2000-02-09 Andy Piper <andy@xemacs.org>
16654 * redisplay-output.c (redisplay_output_layout): be more clever
16655 about when we output based on the changed flags.
16657 * glyphs.h (struct image_instantiator_methods): add update_method.
16658 (struct Lisp_Image_Instance): add changed flags. Declare new
16659 macros for manipulating them.
16661 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16662 (image_instance_parent_glyph): find an image_instance's parent
16663 glyph or image_instance.
16664 (image_instance_layout): mark the size as changed.
16665 (set_image_instance_dirty_p): new function. mark an image
16666 instance, plus all of its parents, as dirty.
16667 (Fset_image_instance_property): use it.
16668 (Fglyph_animated_timeout_handler): use it.
16669 (update_subwindow): call update_widget and device methods for
16670 update_subwindow. Mark all changed flags as clean.
16671 (Fresize_subwindow): mark size as changed.
16673 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16675 (x_update_subwindow): only resize subwindows here.
16676 (x_update_widget): new function. Update all changed properties of
16678 (x_resize_subwindow): deleted.
16679 (x_widget_set_property): deleted.
16680 (x_progress_gauge_set_property): deleted.
16681 (x_progress_gauge_update): new function. Implement recorded
16683 (x_tab_control_update): ditto.
16684 (x_tab_control_set_property): deleted.
16685 (console_type_create_glyphs_x): declare new functions.
16686 (image_instantiator_format_create_glyphs_x): ditto.
16688 * glyphs-widget.c (widget_set_property): mark text changed.
16689 (update_widget): new function. Update properties of a widget.
16690 (widget_instantiate): for layouts make sure we set their
16691 children's parent correctly.
16692 (tab_control_set_property): new function. Record changes that will
16693 take place under redisplay's control.
16694 (progress_gauge_set_property): ditto.
16695 (image_instantiator_progress_guage): declare new functions.
16696 (image_instantiator_tab_control): ditto.
16698 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16700 (mswindows_update_widget): new function. Update all properties on
16701 a widget that have changed.
16702 (mswindows_button_update): new function. Update a button's set
16704 (mswindows_tab_control_update): new function. Update the items in
16706 (mswindows_tab_control_set_property): deleted.
16707 (mswindows_progress_gauge_update): new function. Update the
16708 progress gauge's progress.
16709 (mswindows_widget_set_property): deleted. This is all done
16710 asynchronously now.
16711 (mswindows_progress_gauge_set_property): ditto.
16712 (console_type_create_glyphs_mswindows): declare new methods.
16713 (image_instantiator_format_create_glyphs_mswindows): ditto.
16715 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16716 (msprinter_set_frame_properties): ditto.
16718 * console.h (struct console_methods): Add update_widget_method.
16720 2000-02-09 Andy Piper <andy@xemacs.org>
16722 * gui-msw.c (Fmswindows_shell_execute): Make
16723 mswindows-shell-execute industrial strength.
16725 2000-02-08 Martin Buchholz <martin@xemacs.org>
16727 * lrecord.h: Make macro argument `props' match member function `plist'.
16730 * fns.c (Fremprop):
16731 * fns.c (Fobject_plist):
16734 Object property list frobbing cleanup.
16735 - Allow any lisp object (compared with `eq'), not just symbols, as
16736 keys in object plists.
16737 - Move symbol plist frobbing into symbols.c, where it belongs.
16738 - Move string plist frobbing into alloc.c, where it belongs.
16739 - Everything's an lrecord now, so no need to test for symbolp, etc.
16740 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16742 * extents.c: Reorder code to remove declarations.
16744 * frame.h (store_in_alist): Remove useless declaration.
16746 2000-02-07 Martin Buchholz <martin@xemacs.org>
16748 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16749 * config.h.in: Add HAVE_XCONVERTCASE.
16751 2000-02-07 Andy Piper <andy@xemacs.org>
16753 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16754 it breaks many things.
16756 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16758 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16759 actually can start a common comment type.
16760 * src/syntax.h (SYNTAX_END_P): ditto for end.
16762 2000-02-07 Martin Buchholz <martin@xemacs.org>
16764 * XEmacs 21.2.28 is released.
16766 2000-02-06 Martin Buchholz <martin@xemacs.org>
16768 * event-Xt.c (x_keysym_to_character): New.
16769 (maybe_define_x_key_as_self_inserting_character): New.
16770 (x_has_keysym): New.
16771 Auto-define all keys on the keyboard as self-insert-key.
16773 2000-02-02 Martin Buchholz <martin@xemacs.org>
16775 * menubar.c (vars_of_menubar): A small code simplification.
16777 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16780 * ExternalClient.c:
16781 * EmacsShell-sub.c:
16784 Use consistent style for specifying X resources.
16786 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16787 This makes (dontusethis-set-symbol-value-handler) actually usable.
16789 * lrecord.h (lrecord_decription_type):
16790 * alloc.c (pdump_register_sub):
16793 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16794 Comply with XEmacs coding style.
16795 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16796 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16798 * keymap.c (Faccessible_keymaps):
16799 Make (accessible-keymaps map "\C-h") do the Right Thing.
16800 Make (accessible-keymaps map []) do the Right Thing.
16801 Make (accessible-keymaps map "") do the Right Thing.
16802 (check_keymap_definition_loop): New function.
16803 (keymap_store_internal): Keep luser from shooting self in foot,
16804 via (define-key ctl-x-4-map "p" global-map).
16805 Remove fullness slot from struct Lisp_Keymap, since hash tables
16807 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16809 2000-01-30 Martin Buchholz <martin@xemacs.org>
16811 * redisplay.c (init_redisplay): Fix small memory leak.
16813 * elhash.c (pdump_reorganize_hash_table):
16814 Rename from reorganize_hash_table. Change prototype.
16815 Reuse the original memory for hentries. Save 100k.
16816 * alloc.c (PDUMP_READ): new macro.
16817 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16818 * alloc.c: No need to #ifndef before #undef.
16820 * print.c: Allow debug_print() to print readably by modifying
16821 debug_print_readably. Use consistent variable names.
16823 * .dbxrc: Try to get things to work even if stopped in a function
16824 without source available by explicitly specifying source files.
16825 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16827 * unexnt.c (_start): Removed bogus code which caused loading heap
16828 from differrent executable file.
16829 Removed bogus assignment to _fmode, which caused inconsistencies.
16831 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16833 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
16834 Have spawnve encapsulation regard DONT_ENCAPSULATE.
16835 Do not preliminary `#define signal sigset'.
16837 * systime.h: Do not prototype environ on windows nt and cygwin,
16838 this conflicts with system header.
16840 * syssignal.h: Use correct define for WINDOWSNT
16842 * sysdep.h: Do not prototype environ on windows nt, this conflicts
16843 with system header.
16845 * sysdep.c (near start of file): Fixed commentary and rearranged
16846 ifdefs in readable order.
16847 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
16850 (end_of_data): Do not compile in if using PDUMP.
16852 * symsinit.h: Prototyped vars_of_nt().
16854 * ntproc.c (windows9x_p): Added, instead of os_subtype.
16855 (find_child_console): Use it.
16856 (sys_kill): Use it.
16858 * ntheap.h: Do not extern os_subtype.
16860 * ntheap.c (cache_system_info): Do not cache unneeded:
16861 nt_major_version, nt_minor_version and os_subtype.
16862 (recreate_heap): Do not compile in when PDUMPing.
16864 * nt.c (geteuid and friends): Use the new varibale
16865 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
16866 (init_user_info): Removed the above mentioned hackery.
16867 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
16868 stat has been fixed in the C runtime.
16869 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
16871 * file-coding.c (struct file_coding_dump): Do not define
16872 ucs_to_mule_table in the struct if not MULE.
16873 (struct struct lrecord_description fcd_description_1): Do not dump
16876 * emacs.c (main_1): Call vars_of_nt().
16877 (right before Fdump_emacs_data): Don't need lastfile if using both
16878 portabe dumper and system malloc.
16880 * alloc.c (Fmemory_limit): Conditionalized out.
16881 (pdump): Use OPEN_BINARY for the portable dump file.
16882 (pdump_load): Ditto.
16884 2000-02-02 Mike Alexander <mta@arbortext.com>
16886 * nt.c (convert_time): Set tm_isdst before calling mktime and
16887 avoid calling it at all if the compiler supports 64 bit integers.
16888 Also initialize utc_base_ft before using it.
16890 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16892 * frame.c (change_frame_size_1): Take f->internal_border_width
16893 into consideration when calculating the width of the frame.
16895 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16897 * window.c (frame_min_height):
16898 (frame_size_valid_p):
16899 (frame_pixsize_valid_p): Added.
16900 (check_frame_size): Generalized.
16902 * window.h: Prototyped the above.
16905 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
16906 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
16907 Deleted Vwin32_* and Vbinary_process_* unused variables.
16909 * device-msw.c (msprinter_init_device): Do not get printer font
16910 list; Added DEVMODE functions.
16912 * frame-msw.c: Added lots of printer code.
16914 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
16917 * console-msw.h: Added more msprinter device private slots.
16919 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16921 * event-msw.c (key_needs_default_processing_p): Added.
16922 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
16924 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16926 * glyphs.c (image_instance_layout): Mark image instance as clean
16928 (glyph_dirty_p): Removed redundant function.
16929 (invalidate_glyph_geometry_maybe): Added.
16930 (update_glyph_cachel_data): Call it.
16932 * glyphs.h: Prototyped it.
16934 * redisplay.c (add_glyph_rune): Call it.
16935 (redisplay_window): Reset glyphs cachels when frame faces have
16936 changed, thus forcing recomputation of built-in border glyphs.
16938 2000-01-30 Martin Buchholz <martin@xemacs.org>
16940 * Makefile.in.in: Make portable dumper and purify play well together.
16941 Add imperfect, but better than nothing, support for pdump.
16942 Remove xemacs.dmp when temacs is re-generated.
16943 Don't ignore errors when dumping xemacs.
16945 * symbols.c (maybe_call_magic_handler): Remove one magic number.
16947 2000-01-28 Andy Piper <andy@xemacs.org>
16949 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
16950 (setup_normal_frame): ditto.
16951 (setup_frame_without_minibuffer): ditto.
16952 (setup_minibuffer_frame): ditto.
16953 (delete_frame_internal): ditto.
16954 (Fmake_frame_invisible): ditto.
16955 (Ficonify_frame): ditto.
16957 * window.h: change Fset_window_buffer signature.
16959 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
16960 (Fset_window_buffer): allow recording of buffer if the window is
16961 the selected window.
16962 (window_loop): Use new Fset_window signature.
16964 2000-01-23 Daniel Pittman <daniel@danann.net>
16966 * config.h.in: Added template for `HAVE_ATHENA_3D'
16968 2000-01-29 Andy Piper <andy@xemacs.org>
16970 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
16972 * gutter.c (output_gutter): Don't output if the window isn't live.
16974 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16976 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
16977 of 01/12/00: Moved SetFocus back here where it belongs.
16979 2000-01-23 Andy Piper <andy@xemacs.org>
16981 * s/cygwin32.h: declare printer things.
16983 2000-01-26 Andy Piper <andy@xemacs.org>
16985 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
16988 2000-01-24 Andy Piper <andy@xemacs.org>
16990 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
16991 (mswindows_button_instantiate): Make sure glyph is a pixmap.
16993 * glyphs-widget.c (widget_instantiate): Avoid shadows.
16995 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
16997 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
16999 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17000 (mswindows_output_display_block): Avoid local shadows.
17002 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17003 (mswindows_enqueue_mouse_button_event): ditto.
17004 (mswindows_handle_gui_wm_command): remove declaration.
17006 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17009 * console-msw.h: Avoid shadows.
17010 (mswindows_get_toolbar_button_text):
17011 (emacs_mswindows_create_stream_pair):
17012 (emacs_mswindows_delete_stream_pair):
17013 (mswindows_handle_toolbar_wm_command): declare.
17015 * device-msw.c (build_syscolor_string): Avoid shadows.
17017 2000-01-23 Andy Piper <andy@xemacs.org>
17019 * glyphs-widget.c (widget_instantiate): reverse the items for
17020 layouts so that children are in the expected order.
17022 2000-01-28 Martin Buchholz <martin@xemacs.org>
17024 * ralloc.c: safe_bcopy ==> memmove
17025 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17026 * s/msdos.h: Remove BCOPY macros.
17027 * insdel.c (gap_right): Remove BCOPY conditional code.
17028 * insdel.c (gap_left): Remove BCOPY conditional code.
17029 XEmacs demands a working ANSI C compiler - hence memmove.
17031 * regex.c (regex_compile): Remove accidental use of trigraphs.
17033 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17035 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17038 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17040 * event-msw.c (mswindows_drain_windows_queue): Added the
17042 (mswindows_need_event): Commented the call to
17043 mswindows_drain_windows_queue().
17044 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17047 * console-msw.h: Moved a few function prototypes here from
17050 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17051 parameter from unsigned short to unsigned long.
17052 (Fmswindows_shell_execute): Added return value.
17054 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17056 * sysdep.c (init_system_name):
17057 process-unix.c (unix_canonicalized_host_name):
17058 Don't call freeaddrinfo() if getaddrinfo() fails.
17060 * process-unix.c (unix_open_unix_network_stream):
17061 Moved the code to get a port # into address loop.
17063 2000-01-27 Martin Buchholz <martin@xemacs.org>
17065 * buffer.c (reinit_vars_of_buffer):
17066 The right place to initialize conversion_in_dynarr and
17067 conversion_out_dynarr.
17069 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17071 * process-unix.c (unix_canonicalize_host_name): Muleize.
17072 (unix_open_network_stream): Muleize.
17074 * buffer.h: Fix up prototypes for ralloc.c functions.
17076 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17077 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17078 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17079 instead of gethostbyname()
17080 * process-unix.c: In unix_canonicalize_host_name() and
17081 unix_open_network_stream(), add code to use getaddrinfo()
17082 instead of gethostbyname().
17084 2000-01-27 Daniel Pittman <daniel@danann.net>
17086 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17087 libs when built with flat Athena.
17089 2000-01-27 Martin Buchholz <martin@xemacs.org>
17091 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17092 Use coding standards for function prototypes.
17094 2000-01-25 Martin Buchholz <martin@xemacs.org>
17096 * dialog-msw.c (push_lisp_string_as_unicode):
17097 * doc.c (unparesseuxify_doc_string):
17098 * dired.c (Fuser_name_completion_1):
17099 * dired.c (Fuser_name_all_completions):
17100 * dired.c (free_user_cache):
17101 * dired.c (user_name_completion):
17102 * console-x.c (get_display_arg_connection):
17103 * minibuf.c (clear_echo_area_internal):
17104 * minibuf.c (echo_area_append):
17105 * eldap.c (Fldap_open):
17106 * eldap.c (Fldap_search_internal):
17107 * frame-x.c (x_set_frame_text_value):
17108 * frame-x.c (x_set_frame_properties):
17109 * frame-x.c (x_create_widgets):
17110 * redisplay-tty.c (term_get_fkeys_1):
17111 * objects-x.c (x_parse_nearest_color):
17112 * objects-x.c (x_valid_color_name_p):
17113 * objects-x.c (x_initialize_font_instance):
17114 * objects-x.c (x_list_fonts):
17115 * objects-x.c (x_find_charset_font):
17116 * tooltalk.c (Fadd_tooltalk_message_arg):
17117 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17118 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17119 * process-unix.c (unix_create_process):
17120 * ntproc.c (sys_spawnve):
17121 * sound.c (Fplay_sound_file):
17122 * sound.c (Fplay_sound):
17123 * buffer.c (init_initial_directory):
17124 * buffer.c (init_buffer):
17125 * editfns.c (init_editfns):
17126 * editfns.c (Ftemp_directory):
17127 * editfns.c (Fuser_full_name):
17128 * editfns.c (uncache_home_directory):
17129 * editfns.c (get_home_directory):
17130 * editfns.c (Fuser_home_directory):
17131 * editfns.c (Fformat_time_string):
17132 * editfns.c (Fcurrent_time_string):
17133 * gui-x.c (button_item_to_widget_value):
17134 * database.c (Fopen_database):
17135 * event-Xt.c (x_to_emacs_keysym):
17136 * event-Xt.c (x_event_to_emacs_event):
17137 * event-Xt.c (describe_event_window):
17138 * event-msw.c (mswindows_wnd_proc):
17139 * glyphs-eimage.c (jpeg_instantiate):
17140 * glyphs-eimage.c (gif_instantiate):
17141 * glyphs-eimage.c (png_instantiate):
17142 * glyphs-eimage.c (tiff_instantiate):
17143 * glyphs-x.c (xbm_instantiate_1):
17144 * glyphs-x.c (x_xbm_instantiate):
17145 * glyphs-x.c (x_xface_instantiate):
17146 * glyphs-x.c (autodetect_instantiate):
17147 * glyphs-x.c (cursor_font_instantiate):
17148 * glyphs-x.c (x_widget_instantiate):
17149 * glyphs-x.c (x_widget_set_property):
17150 * glyphs-x.c (x_widget_property):
17151 * glyphs-x.c (BUILD_GLYPH_INST):
17152 * print.c (write_string_to_stdio_stream):
17153 * print.c (output_string):
17154 * print.c (Falternate_debugging_output):
17155 * print.c (Fexternal_debugging_output):
17156 * glyphs-msw.c (extract_xpm_color_names):
17157 * glyphs-msw.c (mswindows_xpm_instantiate):
17158 * glyphs-msw.c (bmp_instantiate):
17159 * glyphs-msw.c (resource_name_to_resource):
17160 * glyphs-msw.c (mswindows_resource_instantiate):
17161 * glyphs-msw.c (xbm_instantiate_1):
17162 * glyphs-msw.c (mswindows_xbm_instantiate):
17163 * glyphs-msw.c (mswindows_xface_instantiate):
17164 * glyphs-msw.c (mswindows_widget_instantiate):
17165 * glyphs-msw.c (add_tree_item):
17166 * glyphs-msw.c (add_tab_item):
17167 * glyphs-msw.c (mswindows_combo_box_instantiate):
17168 * glyphs-msw.c (mswindows_widget_property):
17169 * glyphs-msw.c (mswindows_combo_box_property):
17170 * glyphs-msw.c (mswindows_widget_set_property):
17171 * console.c (stuff_buffered_input):
17172 * objects-msw.c (mswindows_initialize_color_instance):
17173 * objects-msw.c (mswindows_valid_color_name_p):
17174 * objects-msw.c (mswindows_list_fonts):
17175 * objects-msw.c (mswindows_font_instance_truename):
17176 * bytecode.c (optimize_compiled_function):
17177 * select-x.c (symbol_to_x_atom):
17178 * select-x.c (x_atom_to_symbol):
17179 * select-x.c (hack_motif_clipboard_selection):
17180 * select-x.c (selection_data_to_lisp_data):
17181 * select-x.c (lisp_data_to_selection_data):
17182 * select-x.c (Fx_get_cutbuffer_internal):
17183 * select-x.c (Fx_store_cutbuffer_internal):
17184 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17185 * buffer.h (TO_INTERNAL_FORMAT): New function.
17186 * emacs.c (make_arg_list_1):
17187 * emacs.c (make_argc_argv):
17188 * emacs.c (main_1):
17189 * emacs.c (Fdump_emacs):
17190 * emacs.c (split_string_by_emchar_1):
17195 * device-x.c (x_init_device):
17196 * device-x.c (Fx_valid_keysym_name_p):
17197 * device-x.c (Fx_get_font_path):
17198 * device-x.c (Fx_set_font_path):
17199 * glyphs.c (bitmap_to_lisp_data):
17200 * glyphs.c (pixmap_to_lisp_data):
17201 * alloc.c (make_ext_string): Use coding system arguments. Update
17203 * alloc.c (build_string):
17204 * callproc.c (child_setup):
17205 * callproc.c (init_callproc):
17206 * fileio.c (lisp_strerror):
17207 * fileio.c (directory_file_name):
17208 * fileio.c (Fexpand_file_name):
17209 * fileio.c (Ffile_truename):
17210 * fileio.c (Fsysnetunam):
17211 * fileio.c (Fdo_auto_save):
17212 * sysdep.c (sys_readdir):
17213 * tests.c: New file. Allow adding C tests.
17214 Replace GET_* macros with a more comprehensible and flexible
17215 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17217 Any coding system can be used to do format conversion.
17218 Eliminate enum external_data_format.
17219 Eliminate convert_to_external_format.
17220 Eliminate convert_to_internal_format.
17221 Make sure file-name, keyboard, terminal, and ctext are always
17222 defined as coding systems or aliases. Make
17223 file-name-coding-system, terminal-coding-system, and
17224 keyboard-coding-system magical variables that are equivalent to
17225 defining the corresponding coding system aliases.
17227 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17228 * file-coding.c (Fcoding_system_alias_p): New function.
17229 * file-coding.c (Fcoding_system_aliasee): New function.
17230 * file-coding.c (append_suffix_to_symbol): New function.
17231 * file-coding.c (dangling_coding_system_alias_p): New function.
17232 * file-coding.c (Ffind_coding_system):
17233 * file-coding.c (Fcopy_coding_system):
17234 * file-coding.c (encode_coding_no_conversion):
17235 * file-coding.c (syms_of_file_coding):
17236 * file-coding.c (vars_of_file_coding):
17237 Rewrite coding system alias code.
17238 Allow nested aliases, like symbolic links.
17239 Allow redefinition of coding system aliases.
17240 Prevent existence of dangling coding system aliases.
17242 * dired.c (Fuser_name_completion_1):
17243 * dired.c (Fuser_name_all_completions):
17244 A crash would happen if user did QUIT in the middle of building
17245 user_name_cache. Remove redundant code in mainline and unwind_protect.
17248 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17250 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17251 an unsigned char *. Update all callers.
17253 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17255 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17257 2000-01-25 Martin Buchholz <martin@xemacs.org>
17259 * elhash.c (hentry_description): Use more portable definition.
17260 (resize_hash_table): Initialize new hentries using
17261 xnew_array_and_zero, thereby simplifying the code.
17263 * mule-charset.c (make_charset): Make sure entire object is
17264 initialized, to avoid Purify warnings.
17266 * alloc.c (resize_string): Fix unlikely crash with big strings.
17268 2000-01-24 Martin Buchholz <martin@xemacs.org>
17270 * realpath.c (xrealpath):
17271 Don't call getwd().
17273 2000-01-25 Martin Buchholz <martin@xemacs.org>
17275 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17277 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17279 * unexelfsgi.c (unexec): Change the way we decide which segment
17280 should be extended.
17282 Assumption that .bss section should be outside the PT_LOADable
17283 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17284 it's present) is inside the 'data' segment. This would fail the
17285 test which was used to find a segment to grow and cover new
17286 heap. Instead of this assumption, I created another one - on IRIX
17287 the segment to grow should start below .bss and it's address
17288 should extent above the end of .bss. Once this segment is
17289 identified, it's grown to accommodate the new heap and new
17290 zero-length .bss section is added at the end of .data2.
17292 2000-01-25 Martin Buchholz <martin@xemacs.org>
17294 * eval.c (Feval): Wrong number of arguments should use original
17295 function, not the indirect_function version of it.
17297 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17299 * glyphs-x.c (x_button_instantiate): Don't add image if
17300 it is not a pixmap.
17301 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17304 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17306 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17308 (DEFVAR_INT_MAGIC): Ditto.
17309 (DEFVAR_BOOL_MAGIC): Ditto.
17310 * glyphs.h: Reindent backslash.
17312 2000-01-24 Martin Buchholz <martin@xemacs.org>
17314 * glyphs-widget.c (layout_query_geometry):
17315 (layout_layout): Use correct types for gheight, gwidth.
17317 2000-01-24 Martin Buchholz <martin@xemacs.org>
17319 * EmacsManager.c (QueryGeometry): Purified.
17321 2000-01-23 Martin Buchholz <martin@xemacs.org>
17323 * alloc.c (make_float): Make sure entire object is initialized, to
17324 avoid Purify warnings.
17325 (pdump_register_sub): Remove useless assignment.
17326 (pdump): Use xmalloc, not malloc.
17327 (pdump_load): Use xmalloc, not malloc.
17329 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17336 * sysdep.c: Removed redundant #include <windows.h>
17338 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17340 * frame.c (delete_frame_internal): Do not delete device when its
17341 implementation so declares.
17342 (delete_frame_internal): Set device selected frame to nil when
17343 last frame goes away.
17345 * device-msw.c (msprinter_device_system_metrics): Implemented.
17346 (mswindows_device_system_metrics): Added 'device-dpi property.
17348 * device.c: (Fdevice_printer_p): Added.
17349 Added 'offset-workspace device metric.
17351 * console.h (device_metrics): Declared DM_offset_workspace.
17353 2000-01-23 Martin Buchholz <martin@xemacs.org>
17355 * fileio.c (Ffile_truename): Remove pointless and confusing
17356 initialization of elen.
17358 * glyphs-widget.c: Compiler warning fixes.
17360 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17362 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17363 instead of a Lisp_Object as argument to make it consistent with
17364 the other LIVE_P macros.
17365 (CHECK_LIVE_PROCESS): New macro.
17367 * process.c: Declare Qprocess_live_p.
17368 (Fprocess_live_p): New function.
17369 (create_process): Use PROCESS_LIVE_P.
17370 (read_process_output): Ditto.
17371 (set_process_filter): Ditto.
17372 (Fdelete_process): Ditto.
17373 (kill_buffer_processes): Ditto
17374 (process_send_signal): Use CHECK_LIVE_PROCESS.
17375 (Fprocess_input_coding_system): Check whether process is still
17376 alive (fix PR#1061).
17377 (Fprocess_output_coding_system): Ditto.
17378 (Fprocess_coding_system): Ditto.
17379 (Fset_process_input_coding_system): Ditto.
17380 (Fset_process_output_coding_system): Ditto.
17382 2000-01-23 Andy Piper <andy@xemacs.org>
17384 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17387 * glyphs.c (mark_image_instance): take into account changed
17388 image_instance format.
17389 (image_instance_equal): ditto.
17390 (image_instance_hash): ditto.
17392 * glyphs-widget.c (widget_instantiate): Incorporate layout
17393 instantiation here. Delay layout of the layout until later.
17394 (layout_instantiate): deleted.
17395 (layout_query_geometry): new function. get the geometry of a
17397 (layout_layout): layout a layout dynamically.
17398 (image_instantiator_widget): New function - splitting up
17399 image_instantiator_format_create_glyphs_widget for netwinder
17401 (image_instantiator_buttons):
17402 (image_instantiator_edit_fields):
17403 (image_instantiator_combo_box):
17404 (image_instantiator_scrollbar):
17405 (image_instantiator_progress_guage):
17406 (image_instantiator_tree_view):
17407 (image_instantiator_tab_control):
17408 (image_instantiator_labels):
17409 (image_instantiator_layout): ditto.
17410 (image_instantiator_format_create_glyphs_widget): Call preceding
17413 2000-01-22 Martin Buchholz <martin@xemacs.org>
17415 * process.c (Fset_process_coding_system):
17416 * device-x.c (Fx_keysym_hash_table):
17419 * lstream.c (Lstream_write): Return documented value, not 0.
17421 * fileio.c (directory_file_name):
17422 (Fsubstitute_in_file_name):
17423 (Fsubstitute_insert_file_contents_internal):
17424 (Fwrite_region_internal):
17429 Remove vestigial APOLLO-conditional code.
17431 2000-01-21 Martin Buchholz <martin@xemacs.org>
17433 * getpagesize.h: Add guard macros.
17434 * libsst.h: Add guard macros.
17435 * libst.h: Add guard macros.
17436 * line-number.h: Add guard macros.
17437 * ndir.h: Add guard macros.
17438 * sysfloat.h: Add guard macros.
17439 * sysfile.h: Add guard macros.
17440 * sysproc.h: Add guard macros.
17441 * syswait.h: Add guard macros.
17442 * xintrinsic.h: Add guard macros.
17443 * xintrinsicp.h: Add guard macros.
17444 * xmmanager.h: Add guard macros.
17445 * xmmanagerp.h: Add guard macros.
17446 * xmprimitive.h: Add guard macros.
17447 * xmu.h: Add guard macros.
17448 * gpmevent.h: Add copyright statement. Add guard macros.
17449 * miscplay.h: Add guard macros.
17450 * *.h: Use consistent C-standards-approved guard macro names.
17452 * opaque.c (make_opaque): Switch parameter order.
17453 * opaque.h (make_opaque): Switch parameter order.
17454 Update all callers.
17455 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17457 * config.h.in (type_checking_assert): Added.
17458 (bufpos_checking_assert): Added.
17460 2000-01-21 Martin Buchholz <martin@xemacs.org>
17462 * alloc.c: Harmless pdump changes.
17464 - spell alignment correctly.
17465 * sysdep.c: Use countof()
17467 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17469 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17470 initially_selected_for_input() console method, default to 0.
17471 (semi_canonicalize_console_connection): Try to delegate to
17472 canonicalize_console_connection if no such console method.
17473 (canonicalize_console_connection): Vice versa.
17474 (print_console): Do not print nil connection.
17476 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17477 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17478 (XDEVIMPF_FRAMELESS_OK): Added.
17479 (CONSOLE_INHERITS_METHOD): Added.
17481 * console-msw.c (mswindows_canonicalize_console_connection):
17483 (mswindows_canonicalize_device_connection): Added.
17485 * console-msw.h (struct msprinter_device): Added this struct and
17487 (mswindows_device): Made fontlist a lisp object.
17489 * device.c (semi_canonicalize_device_connection): Try to delegate
17490 to canonicalize_device_connection if no such console method.
17491 (canonicalize_device_connection): Vice versa.
17492 (print_device): Do not print nil connection.
17494 * device-msw.c (mswindows_init_device): Call InitCommonControls
17496 (mswindows_delete_device): Removed fontlist deallocation.
17497 (mswindows_mark_device): Added.
17499 * events.c (event_equal): Added abort() at unreached code.
17500 (event_hash): Ditto.
17502 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17503 fallback tags of Windows devices.
17505 * general.c (syms_of_general): Initialized Qmsprinter.
17507 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17508 of fallback tags of Windows devices.
17510 * lisp.h: Declared Qmsprinter.
17512 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17514 (mswindows_list_fonts): Ditto.
17515 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17516 that it can be used by both mswindows and msprinter devices.
17517 (initialize_font_instance): Added.
17518 (mswindows_initialize_font_instance): Use it.
17519 (msprinter_initialize_font_instance): Added.
17521 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17522 and implementation flags check.
17523 (redisplay_without_hooks): Changed the call to the above.
17524 (Fredraw_device): Ditto.
17525 (Fredisplay_device): Ditto.
17527 * redisplay-msw.c (get_frame_dc): Implemented.
17528 (get_frame_compdc): Implemented.
17529 (many functions): Use the two functions above to get device
17530 contexts, ether for a window or a printer.
17532 2000-01-21 Olivier Galibert <galibert@pobox.com>
17534 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17535 initialization here.
17536 (init_symbols_once_early): Call it.
17537 * emacs.c (main_1): Call it.
17538 * symsinit.h: Declare it.
17540 2000-01-19 Olivier Galibert <galibert@pobox.com>
17542 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17544 (pdump_backtrace): Ditto.
17545 (pdump_register_object): Ditto. Cleanup use of the pointers.
17546 (pdump_get_entry): Abort if trying to register a null pointer.
17547 (pdump_dump_data): Cleanup types when relocating.
17548 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17549 (pdump_dump_rtables): Remove bad casts.
17550 (pdump_load): Cleanup relocation w.r.t union type. Use a
17551 Lisp_Object instead of a EMACS_INT for the hashtable
17554 2000-01-20 Martin Buchholz <martin@xemacs.org>
17556 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17558 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17560 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17562 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17564 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17566 * faces.h (FACE_STRIKETHRU_P): Added.
17568 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17571 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17572 (mswindows_set_dc_font): New function, aware of font variants,
17573 separated from mswindows_update_dc.
17575 * objects-msw.h (struct mswindows_font_instance_data): Added
17578 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17579 cached fonts and the data structure.
17580 (mswindows_initialize_font_instance): Added creation of font data
17582 (mswindows_print_font_instance): Print at least something.
17583 (mswindows_create_font_variant): Implemented.
17584 (mswindows_get_hfont): Implemented.
17586 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17588 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17589 prototyping problem with msvc.
17591 * emacs.c (main_1): added syms_of_gui_mswindows() call
17593 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17594 syms_of_gui_mswindows() function
17596 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17598 2000-01-18 Martin Buchholz <martin@xemacs.org>
17600 * XEmacs 21.2.27 is released.
17602 2000-01-18 Martin Buchholz <martin@xemacs.org>
17604 * glyphs-eimage.c (struct tiff_error_struct):
17606 (tiff_warning_func):
17607 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17612 * unexec.c: Remove vestigial Lucid C code.
17616 * libsst.c: Ansify.
17617 Remove declarations of errno and strerror().
17619 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17621 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17623 2000-01-16 Martin Buchholz <martin@xemacs.org>
17625 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17628 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17633 Change enum eol_type to eol_type_t.
17635 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17637 * gui.c (get_gui_callback): Check cons before accessing car.
17639 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17641 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17642 (XSETSPECIFIER_TYPE): Ditto.
17644 2000-01-17 Didier Verna <didier@xemacs.org>
17646 * redisplay.c (generate_fstring_runes): compute string size in
17647 characters, not bytes.
17649 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17651 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17653 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17655 * print.c (print_error_message): Call print_prepare().
17657 2000-01-14 Martin Buchholz <martin@xemacs.org>
17659 * .dbxrc: Renamed from dbxrc.
17661 * events.c (event_to_character):
17662 Use `assert (foo)' instead of `if (!foo) abort()'
17664 * .gdbinit (xtype): Add documentation.
17665 * .gdbinit (check-temacs): New function.
17666 * .gdbinit (check-xemacs): New function.
17667 * dbxrc (check-xemacs): New function.
17668 * dbxrc (check-xemacs): New function.
17670 2000-01-14 Andy Piper <andy@xemacs.org>
17672 * glyphs-widget.c (widget_query_geometry): Make sure that we
17673 calculate default dimensions correctly.
17675 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17677 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17679 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17680 pdump_wire'd variable.
17682 * emacs.c: (main_1): Conditionalized calls to
17683 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17685 2000-01-13 Martin Buchholz <martin@xemacs.org>
17687 * window.c (Fset_window_configuration):
17688 * sysdep.c (_start):
17689 * input-method-motif.c (res):
17690 * event-Xt.c (Xt_process_to_emacs_event):
17691 Simple compiler warning fixes.
17693 * bytecode.c (funcall_compiled_function): Use the original
17694 function symbol on the backtrace list in preference to the
17695 compiled_function object in error messages.
17697 2000-01-13 Andy Piper <andy@xemacs.org>
17699 * glyphs-x.c (update_widget_face): Make sure we update the widget
17700 background as well as foreground.
17702 2000-01-13 Andy Piper <andy@xemacs.org>
17704 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17705 fields to subwindow.
17706 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17707 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17708 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17709 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17711 * glyphs-widget.c (check_valid_tab_orientation): new function.
17712 (initialize_widget_image_instance): zero orientation and
17714 (widget_instantiate): pick up orientation.
17715 (tab_control_query_geometry): return appropriate values for
17718 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17719 appropriate creation flags for left, right and bottom tabs.
17721 * s/cygwin32.h: add tab definitions.
17723 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17725 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17726 frame upon hiding a subwindow.
17727 (mswindows_button_instantiate): Changed the push button style to
17729 (mswindows_button_instantiate): Removed button BS_NOTIFY
17731 (mswindows_button_instantiate): Removed redundant check for
17732 a disabled gui item.
17733 (mswindows_button_instantiate): Made use of WS_TABSTOP
17734 consistent: "operable" controls (edit, button, tree, scroll) have
17735 this style, "display-only" ones (static, progress gauge) do
17736 not. This style is currently ignored by XEmacs though. Also,
17737 removed the WS_EX_CONTROLPARENT style - it is not for children,
17738 it is for their parents!
17739 (mswindows_edit_field_instantiate): Ditto.
17740 (mswindows_progress_gauge_instantiate): Ditto.
17741 (mswindows_tree_view_instantiate): Ditto.
17742 (mswindows_tab_control_instantiate): Ditto.
17743 (mswindows_scrollbar_instantiate): Ditto.
17744 (mswindows_combo_box_instantiate): Ditto.
17745 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17746 style to the "clip" window.
17747 (mswindows_button_instantiate): Removed compilation warning by
17748 equally typing terms of the ?: operator.
17750 2000-01-12 Didier Verna <didier@xemacs.org>
17752 * redisplay.c (generate_fstring_runes): new parameter holding the
17753 last modeline-format extent.
17754 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17755 extent, fill the glyph block with it.
17756 (generate_fstring_runes): handle these parameters.
17757 (generate_formatted_string_db): ditto.
17759 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17760 glyphs'extents in the modeline.
17762 1999-01-11 Mike Woolley <mike@bulsara.com>
17764 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17765 256Mb, as a workaround for the non-starting problem many people
17768 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17770 * console-tty.c (Fset_console_tty_output_coding_system):
17771 Force redrawing tty frame.
17773 2000-01-10 Didier Verna <didier@xemacs.org>
17775 * redisplay.c (generate_fstring_runes): fix size computation bug.
17777 2000-01-09 William M. Perry <wmperry@aventail.com>
17779 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17781 2000-01-09 Andy Piper <andy@xemacs.org>
17783 * glyphs-msw.c: index -> i to avoid shadows.
17784 (xbm_create_bitmap_from_data): make static.
17785 (check_valid_string_or_int): deleted.
17786 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17788 * glyphs-x.c (x_update_subwindow): remove unused args.
17790 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17791 back pointer - this is done in allocate_image_instance.
17792 (query_string_font): return Qnil to make the compiler happy.
17793 (unmap_subwindow): set to ~0 to make the compiler happy.
17794 (glyph_query_geometry): comment out until used.
17795 (glyph_layout): ditto.
17797 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17799 * insdel.c (signal_after_change): Remove extraneous unbind_to().