1 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * text-coding.c (decode_add_er_char): Fix problem when a character
4 represented by an entity-reference is not defined.
6 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
8 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
11 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
13 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
16 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
18 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
19 is a relation feature.
21 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
23 * chartab.c (syms_of_chartab): Define
24 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
26 * chartab.h (Q_denotational): New extern when UTF2000 or
27 HAVE_CONCORD is defined.
28 (Q_denotational_from): Likewise.
29 (Q_subsumptive): Likewise.
30 (Q_subsumptive_from): Likewise.
32 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * concord.c (concord_object_put): New function.
35 (Fconcord_object_put): Use `concord_object_put'.
37 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
39 * concord.c (Fconcord_define_object): New function.
40 (syms_of_concord): Add new builtin function
41 `concord-define-object'.
43 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
48 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
50 * concord.c: Add EXFUN for Fconcord_object_get.
51 (Vconcord_genre_object_hash_table): New variable.
52 (concord_genre_cache_get_object): New function.
53 (concord_genre_cache_put_object): New function.
54 (Fconcord_make_object): Use object cache; put object-ID into `=id'
56 (Fconcord_object_put): Call `concord_index_sync' after
57 `concord_index_strid_put_obj'.
58 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
60 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
62 * concord.c (Fconcord_decode_object): Do GCPRO for
64 (func_for_each_object): Likewise; do GCPRO for
65 for_each_object_closure->function.
66 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
67 for_each_object_closure->function, for_each_object_closure->genre,
68 for_each_object_closure->ds and for_each_object_closure->ret.
69 (concord_object_validate): Do GCPRO for Fconcord_make_object.
71 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * concord.c: Add EXFUNs for Fconcord_decode_object and
75 (Fconcord_make_object): Change order of arguments.
76 (Fconcord_decode_object): Modify for Fconcord_make_object.
77 (func_for_each_object): Likewise.
78 (concord_object_validate): Likewise.
79 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
81 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
83 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
85 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
87 * concord.c (Fconcord_decode_object): Try to use readable print
88 form as a key of Concord-index.
89 (Fconcord_object_get): Try to use readable print form as an ID of
91 (Fconcord_object_put): Try to use readable print form as an ID of
92 Concord-object and a feature value.
93 (Fconcord_object_spec): Try to use readable print form as an ID of
96 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * concord.c (print_concord_object): Support readable form.
100 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
102 * emacs.c (main_1): Call `structure_type_create_concord' when
103 HAVE_CONCORD is defined.
105 * symsinit.h (structure_type_create_concord): New prototype.
107 * concord.c (Qconcord_object): New variable.
110 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
112 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
113 char*> for genre-name.
114 (Fconcord_feature_list): Likewise.
115 (Fconcord_make_object): Likewise.
116 (Fconcord_decode_object): Likewise; use <char*> instead of
117 <unsigned char*> for feature_name and strid.
118 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
119 c_obj and feature_name.
120 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
122 (struct closure_for_object_spec): Use <char*> instead of <unsigned
123 char*> for member `object_id'.
124 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
125 char*> for feature-name.
126 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
128 (func_for_each_object): Cast to avoid warnings.
129 (Fconcord_foreach_object_in_feature): Use <char*> instead of
130 <unsigned char*> for genre_name and feature_name.
131 (concord_name_validate): New function.
132 (concord_object_validate): Likewise.
133 (concord_object_instantiate): Likewise.
134 (syms_of_concord): Add new builtin symbols `concord-object',
136 (structure_type_create_concord): New function.
138 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
140 * concord.c (Vconcord_ds_hash_table): New variable.
141 (Vconcord_genre_hash_table): New variable.
142 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
143 (Fconcord_ds_directory): New function.
144 (Fconcord_assign_genre): New function.
145 (Fconcord_genre_directory): New function.
146 (Fconcord_genre_ds): New function.
147 (Fconcord_feature_list): Allow to omit `ds'.
148 (Fconcord_make_object): Likewise.
149 (Fconcord_decode_object): Likewise.
150 (Fconcord_foreach_object_in_feature): Likewise.
151 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
152 Fconcord_assign_genre, Fconcord_genre_directory and
154 (vars_of_concord): Setup Vconcord_ds_hash_table and
155 Vconcord_genre_hash_table.
157 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
159 * concord.c (struct closure_for_each_object): Add new member
161 (func_for_each_object): Setup the return value to
162 `for_each_object_closure->ret'.
163 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
164 returns the value instead of Qt.
166 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
168 * concord.c: New file.
170 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
172 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
173 `lrecord_type_concord_object'.
175 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
177 * symsinit.h (syms_of_concord): New prototype.
178 (vars_of_concord): New prototype.
180 * emacs.c (main_1): Setup symbols and variable about concord if
181 HAVE_CONCORD is defined.
183 * config.h.in (HAVE_CONCORD): New macro.
185 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
187 * chartab.c (Fput_char_attribute): For each character relation
188 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
190 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
192 * chartab.c (Fput_char_attribute): Use
193 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
194 calling `put_char_composition'.
196 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * chartab.c (Q_halfwidth_of): New variable.
199 (put_char_composition): Return `<-halfwidth' instead of
200 `=decomposition' for compatibility mapping to single character
202 (Fput_char_attribute): Convert char-specs in value of
203 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
204 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
206 (syms_of_chartab): Add new symbol `<-halfwidth'.
208 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
210 * chartab.c (put_char_composition): Return
211 `<-formed@{isolated|initial|medial|final}' for compatibility
212 mapping to single character tagged
213 `{isolated|initial|medial|final}'.
215 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
217 * chartab.c (Q_compat_of): Deleted.
218 (put_char_composition): Return `<-FOO' for compatibility mapping
219 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
220 of `symbol_name (XSYMBOL(...))'.
221 (Fput_char_attribute): Convert char-specs in value of
222 `{<-|->}font[^*]*' to characters and put reverse links.
223 (Fsave_char_attribute_table): Don't refer Q_compat_of.
224 (syms_of_chartab): Delete builtin symbol `<-compat'.
226 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * chartab.c (Q_circled_of): New variable.
229 (put_char_composition): Return `<-circled' instead of
230 `=decomposition' for compatibility mapping to single character
232 (Fput_char_attribute): Convert char-specs in value of
233 `{<-|->}circled[^*]*' to characters and put reverse links.
234 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
236 (syms_of_chartab): Add new symbol `<-circled'.
238 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
240 * chartab.c (Qto_decomposition_at_circled): New variable.
241 (put_char_composition): Return `=>decomposition@circled' instead
242 of `=decomposition' for compatibility decomposition mapping tagged
244 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
246 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
248 * chartab.c (Q_subscript_of): New variable.
249 (put_char_composition): Return `<-subscript' instead of
250 `=decomposition' for compatibility mapping to single character
252 (Fput_char_attribute): Convert char-specs in value of
253 `{<-|->}subscript[^*]*' to characters and put reverse links.
254 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
256 (syms_of_chartab): Add new symbol `<-subscript'.
258 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
260 * chartab.c (Q_superscript_of): New variable.
261 (put_char_composition): Return `<-superscript' instead of
262 `=decomposition' for compatibility mapping to single character
264 (Fput_char_attribute): Convert char-specs in value of
265 `{<-|->}superscript[^*]*' to characters and put reverse links.
266 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
268 (syms_of_chartab): Add new symbol `<-superscript'.
270 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
272 * chartab.c (Qto_decomposition_at_compat): Deleted.
273 (Qto_decomposition_at_superscript): New variable.
274 (put_char_composition): Use `=>decomposition@superscript' instead
275 of `=decomposition' for compatibility decomposition mapping tagged
277 (Fput_char_attribute): Fix condition about `put_char_composition'.
278 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
279 add news symbol `=>decomposition@superscript'.
281 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
284 for compatibility decomposition mapping tagged FOO.
285 (Fput_char_attribute): Modify for `put_char_composition'.
287 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
289 * chartab.c (Qto_decomposition_at_compat): New variable.
290 (Q_compat_of): Renamed from `Q_compatibility_of'.
291 (put_char_composition): Rename `Q_compatibility_of' to
292 `Q_compat_of'; return `=>decomposition@compat' for compatibility
293 decomposition mapping.
294 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
296 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
297 `<-compatibility' to `<-compat'.
299 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
301 * chartab.c (Q_compatibility_of): New variable.
302 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
303 object is proved to be a cons cell; return `<-compatibility' if
304 the first element of argument `value' is `compat'.
305 (Fput_char_attribute): Eliminate the first value if
306 `put_char_composition' returns `<-compatibility'.
307 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
308 for `<-compatibility'.
309 (syms_of_chartab): Add new symbol `<-compatibility'.
311 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
313 * chartab.c (Q_canonical): New variable.
314 (put_char_composition): Return a feature name: return
315 `->canonical' if argument `value' specifies single character.
316 (Fput_char_attribute): Use `put_char_composition' to determine
317 feature name for `=decomposition' or `->denotational'.
318 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
320 (syms_of_chartab): Add new symbol `->canonical'.
322 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * chartab.c (Qmap_decomposition): New variable.
325 (Fput_char_attribute): Convert `->decomposition' to
327 (syms_of_chartab): Add new symbol `=decomposition'.
329 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
331 * chartab.c (Fget_range_char_table): Fix serious problem when
334 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
336 * chartab.c (char_table_get_db): Use `read_from_c_string'.
338 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
340 * lread.c (read_from_c_string): New function.
342 * lisp.h (read_from_c_string): New prototype.
344 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
346 * chartab.c (Fput_char_attribute): Convert char-specs in value of
347 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
348 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
349 for `{<-|->}Oracle-Bones[^*]*'.
351 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
353 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
356 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
358 * text-coding.c (Qccs_priority_list): New variable in XEmacs
360 (Fmake_coding_system): Support new property `ccs-priority-list' in
362 (Fcoding_system_property): Likewise.
363 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
364 Vdefault_coded_charset_priority_list in XEmacs CHISE.
365 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
367 (complex_vars_of_file_coding): Define new coding-system-property
368 `ccs-priority-list' in XEmacs CHISE.
370 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
372 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
374 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
375 changed to normal function.
376 (encode_char_2): Likewise.
378 * mule-charset.c (decoding_table_put_char): Copied from
379 char-ucs.h; changed to normal function.
380 (encode_char_2): Likewise.
382 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
384 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
386 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
387 (encode_char_2_search_children): New inline function.
388 (encode_char_2): Refer
389 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
390 and use `encode_char_2_search_children'.
392 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
396 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
397 (vars_of_mule_charset): Add new variable
398 `display-coded-charset-priority-use-inheritance' and
399 `display-coded-charset-priority-use-hierarchy-order'.
401 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
403 * char-ucs.h (Q_subsumptive): New extern.
404 (Q_denotational): Likewise.
405 (encode_char_2): Search children specified by `->subsumptive' and
408 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
410 * mule-charset.c (complex_vars_of_mule_charset): Modify the
411 X-registry of `ucs-bmp'.
413 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
415 * chartab.c (char-variants): Refer `->subsumptive',
416 `->denotational' and `->identical' as same as `->ucs-unified'.
418 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
420 * chartab.c (Fput_char_attribute): Convert char-specs in value of
421 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
424 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * text-coding.c: Add EXFUN for `Fregexp_quote'.
427 (decode_add_er_char): Fix problem about infinite loop when a CCS
428 specified in `coded-charset-entity-reference-alist' is not
431 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
433 * mule-charset.c (syms_of_mule_charset): Rename
434 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
436 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
438 * fns.c (simplify_char_spec): Don't allocate new character-object
439 if specified char_spec does not have any CCS-features.
441 * chartab.h: Add EXFUN for Fdefine_char.
443 * chartab.c: Delete EXFUN for Fdefine_char.
445 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
447 * fns.c (simplify_char_spec): Use Fdefine_char instead of
448 Ffind_char for char-spec.
450 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
452 * lisp-disunion.h (XCHARVAL): Fix condition about
455 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
457 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
459 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
460 point; use <Emchar> instead of <int> for character-id.
462 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
464 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
465 (make_char): Likewise.
466 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
468 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
469 instead of <int> as the type of return value; use <Lisp_Object>
470 instead of <Emchar> as the type of argument.
471 (XCHARVAL[macro version]): Cast the result into <Emchar>.
473 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
474 syntaxcode> instead of <int>.
476 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
478 * chartab.c (put_char_composition): Use DECODE_CHAR to get
479 character corresponding with UCS code point.
480 (Fput_char_attribute): Likewise.
482 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
483 character in the UCS decoding-table if the char-id is not equal to
486 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
488 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
489 for aliases; write `description'; write
490 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
493 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
495 * chartab.c (Fsave_char_attribute_table): Don't use
496 `save_charset_properties'.
498 * mule-charset.c (Fsave_charset_properties): Renamed from
499 `save_charset_properties' and changed to Lisp function again;
500 write property `type' as `CCS'; write properties `final-byte' and
501 `mother' if they exists.
502 (syms_of_mule_charset): Revive builtin function
503 `save-charset-properties' when HAVE_LIBCHISE is defined.
505 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
507 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
508 instead of Vexec_directory.
509 (char_attribute_system_db_file): Likewise.
511 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
513 * chartab.c (Fsave_char_attribute_table): Use
514 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
517 * mule-charset.c (save_charset_properties): Renamed from
518 `Fsave_charset_properties'; changed to non-Lisp function.
519 (syms_of_mule_charset): Abolish builtin function
520 `save-charset-properties'.
522 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
524 * mule-charset.c (Fsave_charset_properties): New function when
525 HAVE_LIBCHISE is defined.
526 (syms_of_mule_charset): Add new builtin function
527 `save-charset-properties' when HAVE_LIBCHISE is defined.
529 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
531 * chartab.c (Fput_char_attribute): Convert char-specs in value of
532 `{<-|->}ancient[^*]*' to characters and put reverse links.
533 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
534 for `{<-|->}ancient[^*]*'.
536 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
538 * chartab.c (Fput_char_attribute): Convert char-specs in value of
539 `{<-|->}original[^*]*' to characters and put reverse links.
540 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
541 for `{<-|->}original[^*]*'.
543 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
545 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
547 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * mule-charset.c (Qsystem_char_id): New variable.
551 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
552 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
554 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * chartab.c (Fput_char_attribute): When processing a reference of
557 a character, put into the end of the reversed reference of each
560 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
562 * chartab.c (Q_same): Deleted.
563 (Q_same_of): Deleted.
564 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
565 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
567 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
569 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
571 * chartab.c (Q_vulgar): Deleted.
572 (Q_vulgar_of): Deleted.
573 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
574 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
576 (syms_of_chartab): Don't define `{<-|->}vulgar'.
578 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
580 * chartab.c (Fput_char_attribute): Convert char-specs in value of
581 `{<-|->}wrong[^*]*' to characters and put reverse links.
582 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
583 for `{<-|->}wrong[^*]*'.
585 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
587 * chartab.c (Q_vulgar): New variable.
588 (Q_vulgar_of): New variable.
589 (Fput_char_attribute): Convert char-specs in value of
590 `{->|<-}vulgar' to characters and put reverse links.
591 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
593 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
595 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
597 * text-coding.c (decode_add_er_char): Must to quote prefix string
600 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
602 * mule-charset.c (put_char_ccs_code_point): Store characters of
603 =ucs whose code_points >= 0xF0000.
605 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
607 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
609 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
611 (complex_vars_of_mule_charset): Add new coded-charset
612 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
613 builtin characters over 0xEFFFF.
615 * chartab.c (syms_of_chartab): Don't define symbol
616 `system-char-id' in every case.
618 * char-ucs.h (Qsystem_char_id): New extern variable.
619 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
621 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
623 * text-coding.c (char_encode_utf8): Try to use entity-references
624 for U-000F0000 ... U-0010FFFF.
626 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
628 * text-coding.c (ER_BUF_SIZE): New macro.
629 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
631 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
632 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
634 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
636 * chartab.c (find_char_feature_in_family): New function.
637 (Fchar_feature): Use `find_char_feature_in_family' with
638 `->identical', `<-subsumptive' and `<-denotational'.
640 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
642 * text-coding.c (char_encode_as_entity_reference): Allow prefix
643 within 8 characters; fix infinite loop.
645 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * chartab.c (Q_same): New variable.
648 (Q_same_of): New variable.
649 (Fput_char_attribute): Convert char-specs in value of
650 `{->|<-}same' to characters and put reverse links.
651 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
653 (syms_of_chartab): Add new symbols `{->|<-}same'.
655 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
657 * chartab.c (Q_component): New variable.
658 (Q_component_of): Likewise.
659 (Fput_char_attribute): Convert char-specs in value of
660 `{->|<-}ideographic-component-forms' to characters and put reverse
662 (syms_of_chartab): Add new symbols
663 `{->|<-}ideographic-component-forms'.
665 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
667 * chartab.c (Q_identical): New variable.
668 (Q_identical_from): New variable.
669 (Fchar_feature): Regard `->identical' as a feature to find
671 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
672 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
673 for `{->|<-}identical'.
674 (syms_of_chartab): Add new symbols `{->|<-}identical'.
676 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
678 * char-ucs.h (encode_char_2): New inline function.
679 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
681 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
683 * chartab.c (Fput_char_attribute): Convert char-specs to
684 characters in value of `ideographic-structure'.
685 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
686 for `{<-|->}simplified(@...)'.
687 (Fdefine_char): Try to use predefined character's id.
689 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
691 * fns.c (simplify_char_spec): Try to convert builtin chars to
694 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
696 * chartab.c (Fput_char_attribute): Convert char-specs in value of
697 `<-simplified[^*]*' to characters and put reverse links.
699 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
701 * chartab.c (Q_subsumptive): Renamed from Q_unified.
702 (Q_subsumptive_from): Renamed from Q_unified_from.
703 (Fchar_feature): Use `Q_subsumptive_from' instead of
705 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
707 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
708 `<-unified' to `<-subsumptive'.
710 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
713 inheritance itself; fix typo; stop recursive search if cyclic
714 inheritance is found.
716 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
718 * chartab.c (Q_denotational): New variable.
719 (Q_denotational_from): New variable.
720 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
721 (put_char_attribute): New function.
722 (Fput_char_attribute): Use `put_char_attribute'; regard
723 `->denotational' and `<-denotational' as same as `->unified' and
725 (syms_of_chartab): Add new symbols `->denotational' and
728 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
730 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
731 `Fget_char_attribute'.
732 (Fchar_variants): Likewise.
733 (get_char_table): Likewise.
734 (Fchar_feature): New function.
735 (put_char_composition): Use `Fchar_feature' instead of
736 `Fget_char_attribute'.
737 (Fput_char_attribute): Likewise; don't put the target character
738 into its `->unified' value.
739 (syms_of_chartab): Add new builtin function `char-feature'.
741 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
743 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
744 `Fget_char_attribute'.
745 (char_encode_utf8): Likewise.
747 * chartab.h: Add an EXFUN for `Fchar_feature'.
749 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
751 * chartab.c (Vnext_defined_char_id): New variable.
752 (Fput_char_attribute): Accept characters in `->unified'.
753 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
754 new characters which are not related with builtin char-id ranges.
755 (vars_of_chartab): Add new variable `next-defined-char-id'.
757 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
759 * chartab.c (Q_unified): New variable.
760 (Q_unified_from): New variable.
761 (Fput_char_attribute): Add code for `->unified'.
762 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
765 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
767 * mule-charset.c (decode_ccs_conversion): New function.
768 (decode_defined_char): Use `decode_ccs_conversion'.
769 (decode_builtin_char): Likewise.
771 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
773 * char-ucs.h: Change some charset-ids of private coded-charsets.
775 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
777 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
778 (char_encode_as_entity_reference): Likewise.
779 (decode_coding_big5): Modify for `decode_defined_char' and
781 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
782 avoid compiler warning.
783 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
785 * mule-charset.c (decode_defined_char): Add new argument
786 `without_inheritance'.
787 (Fdecode_char): Add new optional argument `without_inheritance'.
788 (Fdecode_builtin_char): Modify for `Fdecode_char'.
790 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
791 (simplify_char_spec): Likewise.
793 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
796 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
797 (map_char_table): Likewise.
798 (Fdefine_char): Use `Fdecode_char' without inheritance.
799 (Ffind_char): Modify for `Fdecode_char'.
801 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
803 * char-ucs.h (decode_defined_char): Add new argument
804 `without_inheritance'.
805 (DECODE_CHAR): Likewise.
806 (MAKE_CHAR): Modify for `DECODE_CHAR'.
808 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
810 * chartab.c (Vchise_system_db_directory): New variable.
811 (vars_of_chartab): Add new variable `chise-system-db-directory'.
813 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
815 * chartab.c: EXFUN `Fmount_char_attribute_table'.
816 (print_chartab_range): Don't define when `UTF2000' is defined.
817 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
820 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
822 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
823 and optional argument `rehash' is specified, call
824 `open_chise_data_source_maybe' before
825 `chise_ds_foreach_char_feature_name' is called.
827 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
829 * chartab.c (char_attribute_list_reset_map_func): New function
830 when HAVE_LIBCHISE is defined.
831 (Fchar_attribute_list): Add new optional argument `rehash' when
832 HAVE_LIBCHISE is defined.
833 (open_chise_data_source_maybe): Use "chise-db" instead of
835 (char_attribute_system_db_file): Likewise.
836 (Fload_char_attribute_table): Use
837 `chise_feature_foreach_char_with_value' instead of
838 `chise_char_feature_value_iterate'.
840 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
842 * chartab.c (Vchise_db_directory): New variable.
843 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
845 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
847 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
848 instead of HAVE_CHISE to specify using with libchise.
850 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
852 * chartab.h: Don't use HAVE_CHISE_CLIENT.
854 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
855 defined or HAVE_LIBCHISE_LIBCHISE is defined.
856 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
858 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
859 HAVE_CHISE to specify using with libchise.
860 (syms_of_chartab): Don't define symbol `system-char-id' when
861 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
863 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
865 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
866 specify CHISE DB support.
867 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
868 of `char_attribute_system_db_file' to check feature DB file.
870 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
871 HAVE_CHISE_CLIENT to specify CHISE DB support.
873 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
874 specify CHISE DB support.
875 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
877 (Freset_char_attribute_table): Use `chise_feature_setup_db'
878 instead of `char_attribute_system_db_file' to check feature DB
881 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
883 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
886 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
888 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
889 (Fsave_charset_mapping_table): Don't use
890 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
892 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
893 (HAVE_LIBCHISE): New macro.
895 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
897 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
898 (Fsave_char_attribute_table): Don't use
899 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
901 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
903 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
905 (save_uint16_byte_table): Likewise.
906 (save_byte_table): Likewise.
907 (char_table_get_db): Use `chise_ds_load_char_feature_value'
908 instead of `chise_char_load_feature_value'.
909 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
911 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
913 * chartab.h (struct Lisp_Char_Table): Delete member
914 `feature_table' if CHISE is defined.
916 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
917 (Fcopy_char_table): Likewise.
918 (char_table_open_db_maybe): Likewise.
919 (char_table_close_db_maybe): Likewise.
920 (char_table_get_db): Likewise.
921 (Fmount_char_attribute_table): Likewise.
922 (Fload_char_attribute_table): Likewise.
924 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
926 * mule-charset.c (load_char_decoding_entry_maybe): Use
927 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
930 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
932 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
933 instead of `chise_open_data_source'.
934 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
937 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
939 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
940 instead of `chise_ds_open_feature_table'.
941 (char_table_close_db_maybe): Don't use `chise_ft_close'.
943 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
945 * mule-charset.c (Fsave_charset_mapping_table): Use
946 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
947 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
948 `chise_ccs_sync' instead of `chise_ccst_close'.
949 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
951 * chartab.c (open_chise_data_source_maybe): Modify for
952 `chise_open_data_source'.
953 (char_table_open_db_maybe): Modify for
954 `chise_ds_open_feature_table'.
956 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
958 * mule-charset.c (load_char_decoding_entry_maybe): Use
959 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
962 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
964 * mule-charset.c (Fsave_charset_mapping_table): Use
965 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
966 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
967 `chise_dt_put_char' and `chise_dt_close'.
968 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
969 `chise_ccs_decode' and `chise_ccst_close' instead of
970 `chise_ds_open_decoding_table', `chise_dt_get_char' and
973 * chartab.c (char_table_get_db): Use
974 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
975 (load_char_attribute_table_map_func): Modify for
976 `chise_char_feature_value_iterate'.
977 (Fload_char_attribute_table): Use
978 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
980 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
982 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
984 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
986 * chartab.c (put_char_table): Modify for inherited coded-charsets
989 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
991 * chartab.c (Fput_char_table_map_function): Fixed.
992 (word_boundary_p): Don't check charset in XEmacs CHISE.
994 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
996 * mule-charset.c (Fsave_charset_mapping_table): Use
997 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
998 instead of `chise_open_decoding_table'; refer
999 `default_chise_data_source'; use `chise_dt_close' instead of
1000 `chise_close_decoding_table'.
1001 (load_char_decoding_entry_maybe): Likewise.
1003 * chartab.c (default_chise_data_source): New variable when `CHISE'
1005 (Fcopy_char_table): `ct->ds' is deleted.
1006 (open_chise_data_source_maybe): New function.
1007 (Fclose_char_data_source): New function.
1008 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1009 use `chise_ds_open_feature_table' instead of
1010 `chise_open_feature_table'.
1011 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1012 `chise_close_feature_table'; `cit->ds' is deleted.
1013 (syms_of_chartab): Add new builtin function
1014 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1016 * chartab.h (default_chise_data_source): New extern variable.
1017 (open_chise_data_source_maybe): New prototype.
1018 (struct Lisp_Char_Table): Delete `ds'.
1020 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1022 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1025 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1027 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1028 not defined; add code for non-libchise setting.
1029 (char_table_close_db_maybe): Likewise.
1030 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1032 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1033 even if `CHISE' is not defined.
1034 (Freset_char_attribute_table): Likewise.
1035 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1036 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1037 `char_table_get_db'.
1038 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1039 `char_table_close_db_maybe' even if `CHISE' is not defined.
1041 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1043 * chartab.c (char_table_open_db_maybe): New function.
1044 (char_table_close_db_maybe): New function.
1045 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1046 (Freset_char_attribute_table): Likewise.
1047 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1048 `char_table_close_db_maybe'.
1049 (Fload_char_attribute_table): Likewise.
1051 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1053 * chartab.c: Don't include <chise.h> because it is included in
1055 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1057 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1059 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1061 (Fclose_char_attribute_table): Close `ct->feature_table' and
1062 `ct->ds' when `CHISE' is defined.
1063 (Freset_char_attribute_table): Likewise.
1064 (load_char_attribute_maybe): Use `cit->ds' and
1065 `cit->feature_table' when `CHISE' is defined.
1066 (Fload_char_attribute_table): Likewise.
1068 * chartab.h: Include <chise.h> when `CHISE' is defined.
1069 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1070 when `CHISE' is defined.
1072 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1074 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1076 (char_table_description): Likewise.
1077 (Fmake_char_table): Likewise.
1078 (Fcopy_char_table): Likewise.
1079 (Fmount_char_attribute_table): Likewise.
1080 (Fclose_char_attribute_table): Likewise.
1081 (Freset_char_attribute_table): Likewise.
1082 (load_char_attribute_maybe): Likewise.
1083 (Fload_char_attribute_table): Likewise.
1085 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1088 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1090 * chartab.c (load_char_attribute_table_map_func): New function
1091 when CHISE is defined.
1092 (Qload_char_attribute_table_map_function): Don't define when CHISE
1094 (Fload_char_attribute_table_map_function): Likewise.
1095 (Fload_char_attribute_table): Use libchise when `CHISE' is
1097 (syms_of_chartab): Don't define
1098 `load-char-attribute-table-map-function' when CHISE is defined.
1100 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1102 * chartab.c: Include <chise.h> when `CHISE' is defined.
1103 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1105 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1107 * mule-charset.c (charset_code_point): Fix problem when searching
1108 in mother CCS fails with `defined_only' mode.
1110 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1112 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1113 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1114 (put_char_composition): Likewise.
1115 (Fput_char_attribute): Likewise.
1116 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1118 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1120 * chartab.c (Q_ucs): Deleted.
1121 (Fput_char_attribute): Don't refer `->ucs'.
1122 (Fdefine_char): Likewise.
1123 (Ffind_char): Likewise.
1124 (syms_of_chartab): Delete `->ucs'.
1126 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1128 * mule-charset.c (Qmap_cns11643_2): Renamed from
1129 `Qchinese_cns11643_2'.
1130 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1131 `chinese-cns11643-2'.
1132 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1135 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1137 * mule-charset.c (Qmap_cns11643_1): Renamed from
1138 `Qchinese_cns11643_1'.
1139 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1140 `chinese-cns11643-1'.
1141 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1144 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1146 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1147 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1149 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1152 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1154 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1155 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1157 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1160 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1162 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1163 (syms_of_mule_charset): Add new symbol `=big5' instead of
1165 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1167 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1169 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1170 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1172 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1175 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1177 * mule-charset.c (Qmap_jis_x0212): Renamed from
1178 `Qjapanese_jisx0212'.
1179 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1180 `japanese-jisx0212'.
1181 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1184 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1186 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1187 `Qjapanese_jisx0208'.
1188 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1189 of `japanese-jisx0208'.
1190 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1193 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1195 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1196 `Qjapanese_jisx0208_1978'.
1197 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1198 of `japanese-jisx0208-1978'.
1199 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1202 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1204 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1205 only for XEmacs CHISE.
1207 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1209 * char-ucs.h: Compact non-ISO-IR charset-ids.
1210 (LEADING_BYTE_UCS): Changed to -177.
1211 (LEADING_BYTE_CONTROL_1): Changed to -77.
1212 (LEADING_BYTE_UCS_BMP): Changed to -176.
1213 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1215 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1217 * mule-charset.c (Qiso_ir): New variable.
1218 (Fmake_charset): Recognise new property `iso-ir'.
1219 (syms_of_mule_charset): Add new symbol `iso-ir'.
1221 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1223 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1224 n to -n; charset-id of non ISO-IR sets are changed to positive
1227 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1229 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1230 for &MCS-XXXXXXXX; values.
1232 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1234 * mule.c (Vxemacs_chise_version): Renamed from
1235 `Vutf_2000_version'.
1236 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1237 `utf-2000-version' as an alias for `xemacs-chise-version'.
1239 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1241 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1242 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1245 * config.h.in (CHISE): New macro.
1247 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1249 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1251 (Qmap_ucs): New variable.
1252 (syms_of_mule_charset): Add new symbol `=ucs'.
1253 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1255 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1256 (simplify_char_spec): Likewise.
1258 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1260 * char-ucs.h (Qmap_ucs): New extern variable.
1262 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1264 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1265 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1266 don't define it when UTF2000 is not defined.
1267 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1268 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1269 when UTF2000 is not defined.
1270 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1271 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1273 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1275 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1277 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1279 (syms_of_mule_charset): Delete `ucs-gb'.
1280 (complex_vars_of_mule_charset): Likewise.
1282 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1284 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1286 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1287 (Qucs_cns): Deleted.
1288 (syms_of_mule_charset): Delete `ucs-cns'.
1289 (complex_vars_of_mule_charset): Likewise.
1291 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1293 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1295 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1296 (Qucs_jis): Deleted.
1297 (syms_of_mule_charset): Delete `ucs-jis'.
1298 (complex_vars_of_mule_charset): Likewise.
1300 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1302 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1304 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1306 (syms_of_mule_charset): Delete `ucs-ks'.
1307 (complex_vars_of_mule_charset): Likewise.
1309 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1311 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1312 (Qideograph_daikanwa_2): Deleted.
1313 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1314 (complex_vars_of_mule_charset): Likewise.
1316 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1317 (LEADING_BYTE_DAIKANWA_1): Deleted.
1318 (LEADING_BYTE_DAIKANWA_2): Deleted.
1319 (MIN_CHAR_DAIKANWA): Deleted.
1320 (MAX_CHAR_DAIKANWA): Deleted.
1322 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1324 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1325 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1326 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1328 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1329 (Vcharset_ideograph_daikanwa): Deleted.
1330 (Qideograph_hanziku_{1..12}): Deleted.
1331 (Qideograph_daikanwa): Deleted.
1332 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1333 Vcharset_ideograph_daikanwa.
1334 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1335 `ideograph-hanziku-{1..12}'.
1336 (complex_vars_of_mule_charset): Likewise.
1338 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1340 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1342 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1343 (Qideograph_gt_pj_{1..11}): Deleted.
1344 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1345 (complex_vars_of_mule_charset): Likewise.
1347 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1349 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1350 (Vcharset_ideograph_gt): Deleted.
1351 (Qucs_big5): Deleted.
1352 (Qideograph_gt): Deleted.
1353 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1355 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1358 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1359 (LEADING_BYTE_GT): Deleted.
1360 (MIN_CHAR_GT): Deleted.
1361 (MAX_CHAR_GT): Deleted.
1363 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1365 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1367 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1369 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1370 (save_uint16_byte_table): Likewise.
1371 (save_byte_table): Likewise; convert values by it.
1372 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1373 for `ideographic-structure'.
1374 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1375 as the filter for `ideographic-structure'.
1377 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1379 * chartab.c (put_char_composition): New function.
1380 (Fput_char_attribute): Use `put_char_composition'; use
1381 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1383 * fns.c (simplify_char_spec): New function.
1384 (char_ref_simplify_spec): New function.
1385 (Fchar_refs_simplify_char_specs): New function.
1386 (syms_of_fns): Add new builtin function
1387 `char-refs-simplify-char-specs'.
1389 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1391 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1392 (Qideograph_cbeta): Deleted.
1393 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1394 (complex_vars_of_mule_charset): Likewise.
1396 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1397 (MIN_CHAR_CBETA): Comment out.
1398 (MAX_CHAR_CBETA): Likewise.
1400 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1403 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1404 CHISE client feature.
1406 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1408 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1410 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1412 * mule-charset.c (charset_lookup_description_1): Use
1413 `NUM_LEADING_BYTES' in UTF-2000.
1415 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1417 * char-ucs.h (GC_CHARSETP): Deleted.
1419 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1421 * char-ucs.h (MAX_CHAR_GT): Updated.
1423 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1425 * text-coding.c: Sync with XEmacs 21.4.10.
1427 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1429 * mule-charset.c (Vcharset_china3_jef): Deleted.
1430 (Qchina3_jef): Deleted.
1431 (syms_of_mule_charset): Don't define `china3-jef'.
1432 (complex_vars_of_mule_charset): Likewise.
1434 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1435 (MIN_CHAR_CHINA3_JEF): Comment out.
1436 (MAX_CHAR_CHINA3_JEF): Comment out.
1438 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * mule-charset.c (Vcharset_ucs_gb): New variable.
1441 (Qucs_gb): New variable.
1442 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1443 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1445 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1447 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1449 * mule-charset.c (charset_code_point): if a coded-charset has a
1450 final-byte, don't inherit the builtin range of the mother CCS.
1452 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1454 * mule-charset.c (charset_code_point): Fix problem about
1457 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1459 * mule-charset.c (decode_builtin_char): Reorganized.
1461 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1463 * text-coding.c (char_encode_as_entity_reference): Modify for
1464 `charset_code_point'.
1465 (char_encode_shift_jis): Likewise.
1466 (char_encode_big5): Likewise.
1467 (char_encode_utf8): Likewise.
1468 (char_encode_iso2022): Likewise.
1470 * mule-charset.c (charset_code_point): Add new argument
1472 (Fencode_char): Add new optional argument `defined_only'.
1474 * chartab.c (put_char_table): Modify for `charset_code_point'.
1476 * char-ucs.h (charset_code_point): Add new argument
1478 (encode_char_1): Modify for `charset_code_point'.
1480 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1482 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1483 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1485 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1487 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1488 (Qjis_x0208): Likewise.
1489 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1490 XCHARSET_FINAL(charset).
1491 (charset_code_point): Modify condition for final-byte based
1493 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1494 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1495 in UTF-2000; specify `=jis-x0208' as the mother of
1496 `japanese-jisx0208-1978', `japanese-jisx0208' and
1497 `japanese-jisx0208-1990' in UTF-2000.
1499 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1501 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1503 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1505 * text-coding.c (decode_coding_utf16): Support UTF-16.
1506 (char_encode_utf16): Fixed.
1508 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1510 * text-coding.c (Qutf16): New variable in MULE.
1511 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1512 (Fcoding_system_type): Add `utf-16' in MULE.
1513 (struct detection_state): Add a structure for utf16 in MULE.
1514 (detect_coding_type): Setup st->utf16.mask in MULE.
1515 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1517 (reset_encoding_stream): Use `char_encode_utf16' and
1518 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1519 (detect_coding_utf16): New function [incomplete].
1520 (decode_coding_utf16): New function [support only UCS-2].
1521 (char_encode_utf16): New function.
1522 (char_finish_utf16): New function.
1523 (syms_of_file_coding): Add new symbol `utf-16'; setup
1524 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1526 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1528 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1529 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1531 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1533 * chartab.c (put_char_table): When a charset is specified as a
1534 range in UTF-2000, don't support builtin characters.
1536 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1538 * mule-charset.c (decode_defined_char): Don't refer external
1539 database if Qunbound or Qnil are found.
1540 (Fsave_charset_mapping_table): Don't define it if
1541 HAVE_CHISE_CLIENT is not defined.
1542 (Freset_charset_mapping_table): New function.
1543 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1544 found in external database.
1545 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1546 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1547 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1549 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1551 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1554 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1556 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1557 Q_lowercase, Q_uppercase in UTF-2000.
1559 * chartab.c (get_char_table): Add special code for the standard
1560 case table to use character attribute `->downcase' and
1561 `->uppercase' for case operations in UTF-2000.
1563 * casetab.c (Qflippedcase): New variable in UTF-2000.
1564 (Q_lowercase): Likewise.
1565 (Q_uppercase): Likewise.
1566 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1567 and `->uppercase' in UTF-2000.
1568 (complex_vars_of_casetab): Assign attribute name `downcase' to
1569 downcase and CANON table of Vstandard_case_table in UTF-2000;
1570 assign attribute name `flippedcase' to upcase and EQV table of
1571 Vstandard_case_table in UTF-2000.
1573 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1575 * text-coding.c (decode_add_er_char): Support isolated-chars.
1576 (char_encode_as_entity_reference): Likewise.
1578 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1580 * emacs.c (Vutf_2000_lisp_directory): New variable.
1581 (Vconfigure_utf_2000_lisp_directory): Likewise.
1582 (complex_vars_of_emacs): Add new variable
1583 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1585 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1587 * char-ucs.h (DECODE_CHAR): Delete special code for
1588 `chinese-big5-1' and `chinese-big5-2'.
1590 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1591 (Qbig5_2): Likewise.
1592 (decode_defined_char): Support CONVERSION_BIG5_1 and
1594 (decode_builtin_char): Likewise.
1595 (charset_code_point): Likewise.
1596 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1597 'conversion in UTF-2000.
1598 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1599 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1600 `chinese-big5-2' as children of `chinese-big5'.
1602 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1603 (CONVERSION_BIG5_2): New macro.
1605 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1607 * text-coding.c (char_encode_big5): Support entity-reference.
1609 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1611 * text-coding.c (char_encode_as_entity_reference): New function.
1612 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1614 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1616 * text-coding.c (decode_coding_big5): Support entity-reference
1619 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1621 * text-coding.c (allocate_coding_system): Initialize initial
1622 charsets for CODESYS_UTF8.
1623 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1624 charset-g2 for CODESYS_UTF8.
1625 (decode_coding_utf8): Use charset-g0.
1626 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1627 to force variants to map to UCS.
1629 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1631 * text-coding.c (Qutf_8_mcs): New variable.
1632 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1633 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1634 instead of `utf-8' in UTF-2000.
1636 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1638 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1639 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1640 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1641 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1642 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1643 CONVERSION_96x96x96x96 are introduced.
1644 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1645 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1646 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1648 * char-ucs.h (CONVERSION_94): New macro.
1649 (CONVERSION_96): New macro.
1650 (CONVERSION_94x94): New macro.
1651 (CONVERSION_96x96): New macro.
1652 (CONVERSION_94x94x94): New macro.
1653 (CONVERSION_96x96x96): New macro.
1654 (CONVERSION_94x94x94x60): New macro.
1655 (CONVERSION_94x94x94x94): New macro.
1656 (CONVERSION_96x96x96x96): New macro.
1658 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1660 * chartab.c (Vcharacter_variant_table): Deleted.
1661 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1662 of `Vcharacter_variant_table'.
1663 (Fput_char_attribute): Likewise.
1664 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1665 (complex_vars_of_chartab): Likewise.
1667 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1669 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1671 * fns.c (Qideographic_structure): New variable.
1672 (Qkeyword_char): New variable.
1673 (ids_format_unit): New function.
1674 (Fideographic_structure_to_ids): New function.
1675 (syms_of_fns): Add new symbols `ideographic-structure' and
1676 `:char'; add new builtin function `ideographic-structure-to-ids'.
1678 * data.c (Fchar_ref_p): New function.
1679 (syms_of_data): Add new builtin function `char-ref-p'.
1681 * chartab.h: Add an EXFUN for `Ffind_char'.
1683 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1685 * text-coding.c (Vcharacter_composition_table): Deleted.
1686 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1689 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1691 (Vcharacter_composition_table): Deleted.
1692 (Fget_composite_char): Use the implementation for external-DB
1693 support in every UTF-2000.
1694 (Fput_char_attribute): Likewise.
1695 (char_attribute_system_db_file): Don't define if external-DB
1696 feature is not available.
1697 (Fsave_char_attribute_table): Likewise.
1698 (Fmount_char_attribute_table): Likewise.
1699 (Fclose_char_attribute_table): Likewise.
1700 (Freset_char_attribute_table): Likewise.
1701 (Fload_char_attribute_table): Likewise.
1702 (syms_of_chartab): Don't define `save-char-attribute-table',
1703 `mount-char-attribute-table', `reset-char-attribute-table',
1704 `close-char-attribute-table' and `load-char-attribute-table' if
1705 external-DB feature is not available.
1706 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1708 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1710 * text-coding.c (Qcomposition): Add extern if external-DB feature
1712 (Vcharacter_composition_table): Don't add extern if external-DB
1713 feature is supported.
1714 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1715 character composition rule if external-DB feature is supported.
1717 * chartab.c (Vcharacter_composition_table): Don't define if
1718 external-DB feature is supported.
1719 (Qcomposition): New variable.
1720 (Fget_composite_char): New implementation for external-DB support.
1721 (Fput_char_attribute): Use `composition' property of each
1722 character instead of `Vcharacter_composition_table' to store
1723 character-composition rules if external-DB feature is supported.
1724 (syms_of_chartab): Add new symbol `composition'.
1725 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1726 external-DB feature is supported.
1728 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1730 * chartab.c (Vchar_db_stingy_mode): New variable.
1731 (load_char_attribute_maybe): Close database if
1732 Vchar_db_stingy_mode is not NIL.
1733 (Fload_char_attribute_table_map_function): Use
1734 `get_char_id_table_0' instead of `get_char_id_table'.
1735 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1737 * chartab.h (get_char_id_table_0): New inline function.
1738 (get_char_id_table): Use `get_char_id_table_0'.
1740 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1742 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1743 and `COMPOSE_ADD_CHAR'.
1744 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1746 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1748 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1749 instead of `DECODE_ADD_UCS_CHAR'.
1750 (COMPOSE_ADD_CHAR): Likewise.
1752 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1754 * text-coding.c (decode_flush_er_chars): New inline function.
1755 (decode_add_er_char): New function.
1756 (decode_coding_utf8): Use `decode_flush_er_chars' and
1757 `decode_add_er_char'.
1759 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1761 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1762 done before `decode_output_utf8_partial_char'.
1764 * mule-charset.c (complex_vars_of_mule_charset): Specify
1765 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1766 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1768 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1770 * mule-charset.c (decode_defined_char): New function; search
1772 (decode_builtin_char): Don't search mother if
1773 XCHARSET_MAX_CODE(charset) == 0.
1774 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1775 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1776 (Fdecode_char): Use `decode_defined_char' instead of
1777 `DECODE_DEFINED_CHAR'.
1778 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1779 mother of `Vcharset_ucs_jis'.
1781 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1782 instead of `DECODE_DEFINED_CHAR'.
1784 * char-ucs.h (decode_defined_char): Renamed from
1785 `DECODE_DEFINED_CHAR'; changed to normal function.
1786 (DECODE_CHAR): Use `decode_defined_char' instead of
1787 `DECODE_DEFINED_CHAR'.
1789 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1791 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1793 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1795 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1797 (Quse_entity_reference): New variable.
1801 (coding_system_description): Add description for
1802 `ccs_priority_list'.
1803 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1804 (allocate_coding_system): Initialize `ccs_priority_list' in
1806 (Fmake_coding_system): Add description about
1807 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1809 (Fcoding_system_property): Accept `disable-composition' and
1810 `use-entity-reference' in UTF-2000.
1811 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1813 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1814 (decode_coding_utf8): Decode entity-reference if
1815 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1816 (char_encode_utf8): Encode non-Unicode characters as
1817 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1819 (syms_of_file_coding): Add new symbols `use-entity-reference',
1821 (vars_of_file_coding): Add new variable
1822 `coded-charset-entity-reference-alist'.
1823 (complex_vars_of_file_coding): Declare `disable-composition' and
1824 `use-entity-reference' to be coding-system-properties in UTF-2000.
1826 * file-coding.h (struct Lisp_Coding_System): Add new member
1827 `use_entity_reference' and `ccs_priority_list'.
1828 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1829 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1830 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1832 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1834 * chartab.c (save_uint8_byte_table): Don't clear the table.
1835 (save_uint16_byte_table): Likewise.
1836 (save_byte_table): Likewise.
1837 (Fmount_char_attribute_table): New function.
1838 (syms_of_chartab): Add new builtin function
1839 `mount-char-attribute-table'.
1841 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1843 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1845 (load_char_decoding_entry_maybe): Open database as read-only mode.
1847 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1848 open database as "w+" mode.
1849 (load_char_attribute_maybe): Open database as read-only mode.
1850 (Fload_char_attribute_table): Likewise.
1852 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1854 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1855 (char_table_description): Delete member `db_file'.
1856 (Fmake_char_table): Don't refer `ct->db_file'.
1857 (Fcopy_char_table): Likewise.
1858 (Fsave_char_attribute_table): Likewise.
1859 (Fclose_char_attribute_table): Likewise.
1860 (Freset_char_attribute_table): Likewise.
1861 (load_char_attribute_maybe): Likewise.
1862 (Fload_char_attribute_table): Likewise.
1864 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1866 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1868 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1869 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1871 (load_char_attribute_maybe): Likewise.
1872 (Fload_char_attribute_table): Likewise.
1874 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1876 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1877 `ct->db_file' unconditionally.
1879 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1881 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1883 (char_table_description): Add description for `db_file' and `db'
1885 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1887 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1888 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1889 (Fclose_char_attribute_table): New function.
1890 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1891 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1893 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1894 (syms_of_chartab): Add new builtin function
1895 `Fclose_char_attribute_table'.
1897 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1899 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1901 (load_char_attribute_maybe): Change interface.
1902 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1904 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1906 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1908 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1910 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1911 instead of `DECODE_CHAR' for mother; don't use special code for
1912 chinese-big5 to use code space of chinese-big5-1 and
1914 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1915 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1917 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1918 (MAX_CHAR_BIG5_CDP): Revival.
1920 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1922 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1923 the XLFD registry-encoding name of `chinese-big5'.
1925 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1927 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1928 (Qchinese_big5_cdp): Deleted.
1929 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1930 (complex_vars_of_mule_charset): Delete coded-charset
1933 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1934 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1935 `CHARSET_ID_OFFSET - n' for private CCS.
1936 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1937 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1938 of `MIN_LEADING_BYTE'.
1939 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1940 `(CHARSET_ID_OFFSET - 97)'.
1941 (MIN_CHAR_BIG5_CDP): Deleted.
1942 (MAX_CHAR_BIG5_CDP): Deleted.
1944 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1946 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1948 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1950 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1951 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1954 * chartab.c (Vutf_2000_version): Moved to mule.c.
1955 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1957 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1959 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1960 when HAVE_CHISE_CLIENT is not defined.
1962 * mule.c (vars_of_mule): Provide feature `chise' when
1963 HAVE_CHISE_CLIENT is defined.
1965 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1967 * config.h.in (UTF2000): Add comment.
1968 (HAVE_CHISE_CLIENT): New macro.
1970 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1972 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1974 (Fput_char_attribute): Likewise.
1975 (char_attribute_system_db_file): Encode file-name of attribute.
1976 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1979 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1981 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1982 (Fsave_charset_mapping_table): Use
1983 `char_attribute_system_db_file'.
1984 (load_char_decoding_entry_maybe): Likewise.
1986 * chartab.h (Qsystem_char_id): New external variable.
1987 (char_attribute_system_db_file): New prototype.
1989 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
1990 (char_attribute_system_db_file): New function.
1991 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
1992 (Freset_char_attribute_table): Likewise.
1993 (load_char_attribute_maybe): Likewise.
1994 (Fload_char_attribute_table): Likewise.
1995 (syms_of_chartab): Add new symbol `system-char-id'.
1997 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1999 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2000 `XCHARSET_GRAPHIC(ccs)'.
2002 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2004 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2006 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2008 * chartab.c (Q_ucs_variants): New variable.
2009 (syms_of_chartab): Add new symbol `->ucs-variants'.
2010 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2011 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2012 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2014 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2016 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2017 `HAVE_DATABASE' is defined.
2018 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2019 `HAVE_DATABASE' is defined.
2021 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2023 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2025 (Freset_char_attribute_table): New function.
2026 (syms_of_chartab): Add new builtin function
2027 `reset-char-attribute-table'.
2029 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2031 * chartab.c (load_char_attribute_maybe): Don't make directories.
2033 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2035 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2037 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2040 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2042 * mule-charset.c (Fsave_charset_mapping_table): Use
2043 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2045 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2046 instead of `XCHARSET_CHARS'.
2048 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2050 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2051 (XCHARSET_BYTE_SIZE): Likewise.
2053 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2055 (XCHARSET_BYTE_SIZE): Likewise.
2057 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2059 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2060 data-directory to store database.
2061 (Fsave_char_attribute_table): Likewise.
2062 (load_char_attribute_maybe): Likewise.
2063 (Fload_char_attribute_table): Likewise.
2065 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2067 * mule-charset.c (Fsave_charset_mapping_table): New function.
2068 (syms_of_mule_charset): Add new builtin function
2069 `save-charset-mapping-table'.
2071 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2073 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2074 (get_ccs_octet_table): New inline function.
2075 (put_ccs_octet_table): Likewise.
2076 (decoding_table_put_char): Use `get_ccs_octet_table' and
2077 `put_ccs_octet_table'.
2078 (decoding_table_remove_char): Use `decoding_table_put_char'.
2079 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2081 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2082 into encoding_table.
2083 (make_charset): Use Qunbound instead Qnil as initial value of
2086 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2088 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2089 element is Qunloaded.
2090 (map_over_uint16_byte_table): Likewise.
2091 (map_over_byte_table): Likewise.
2092 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2093 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2094 database support, load encoding-table of the specified
2095 coded-charset if it is not loaded yet.
2096 (save_uint8_byte_table): New function of UTF-2000 with external
2098 (save_uint16_byte_table): Likewise.
2099 (save_byte_table): Likewise.
2100 (Fput_char_attribute): Don't store value into external database
2101 even if the external database feature is supported in UTF-2000;
2102 set `attribute' as name of char-table if the external database
2103 feature is supported.
2104 (Fsave_char_attribute_table): New function in UTF-2000.
2105 (syms_of_chartab): Add new builtin function
2106 `save-char-attribute-table' in UTF-2000.
2108 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2110 * chartab.c (char_attribute_table_to_put): New variable in
2112 (Qput_char_table_map_function): Likewise.
2113 (value_to_put): Likewise.
2114 (Fput_char_table_map_function): New function in UTF-2000.
2115 (put_char_table): Use `Fmap_char_attribute' for
2116 CHARTAB_RANGE_CHARSET in UTF-2000.
2117 (Fput_char_attribute): Store symbol instead of string in
2118 `XCHAR_TABLE_NAME (table)'.
2119 (load_char_attribute_maybe): Likewise.
2120 (syms_of_chartab): Add new symbol/function
2121 `put-char-table-map-function'.
2123 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2125 * database.h: Add new EXFUN for `Fmap_database'.
2127 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2128 (syms_of_database): Likewise.
2130 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2132 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2133 (XCHAR_TABLE_UNLOADED): Likewise.
2135 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2136 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2137 HAVE_DATABASE is defined.
2138 (char_attribute_table_to_load): New variable of UTF-2000 with
2139 external database support.
2140 (Qload_char_attribute_table_map_function): Likewise.
2141 (Fload_char_attribute_table_map_function): New function of
2142 UTF-2000 with external database support.
2143 (Fload_char_attribute_table): New function of UTF-2000.
2144 (Fmap_char_attribute): Call Fload_char_attribute_table if
2145 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2146 (syms_of_chartab): Add new symbol and function
2147 `load-char-attribute-table-map-function' in UTF-2000 with external
2148 database support; add new function `load-char-attribute-table' in
2151 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2153 * chartab.h (load_char_attribute_maybe): New prototype for
2154 UTF-2000 with DATABASE support.
2155 (get_char_id_table): Use `load_char_attribute_maybe' if
2156 HAVE_DATABASE is defined.
2158 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2159 with DATABASE support.
2161 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2163 * chartab.c (Fput_char_attribute): Use S-expression as key of
2166 * chartab.h (get_char_id_table): Use S-expression as key of
2169 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2171 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2172 if an element is not loaded, load the corresponding attributes
2173 from an external database.
2174 (map_over_uint16_byte_table): Likewise.
2175 (map_over_byte_table): Likewise.
2176 (map_char_table): Modify for `map_over_uint8_byte_table',
2177 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2178 element is not loaded, load the corresponding attributes from an
2180 (Fput_char_attribute): Change initial values to Qunloaded.
2182 * chartab.h (get_char_id_table): If a character attribute is not
2183 loaded and the attribute value is not found in an external
2184 database, store Qunbound as the attribute value.
2186 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2188 * chartab.c (BT_UINT8_unloaded): New macro.
2189 (UINT8_VALUE_P): Accept Qunloaded.
2190 (UINT8_ENCODE): Likewise.
2191 (UINT8_DECODE): Likewise.
2192 (BT_UINT16_unloaded): New macro.
2193 (UINT16_VALUE_P): Accept Qunloaded.
2194 (UINT16_ENCODE): Likewise.
2195 (UINT16_DECODE): Likewise.
2196 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2198 (mark_char_table): Mark `ct->name' in UTF-2000.
2199 (char_table_description): Add `name' in UTF-2000.
2200 (Fmake_char_table): Initialize `ct->name'.
2201 (Fcopy_char_table): Copy `ct->name'.
2202 (Fput_char_attribute): Store value into an external database if
2203 HAVE_DATABASE is defined.
2205 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2207 (CHAR_TABLE_NAME): New macro in UTF-2000.
2208 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2209 (get_char_id_table): Try to read an external database if Qunloaded
2210 is stored in a table.
2212 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2215 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2217 * database.h: Add EXFUN definitions for Fopen_database,
2218 Fput_database, Fget_database and Fclose_database.
2220 * data.c (Qunloaded): New variable in UTF-2000.
2222 * lisp.h (Qunloaded): New variable in UTF-2000.
2224 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2226 * mule-charset.c (put_char_ccs_code_point): Modify for
2227 `decoding_table_remove_char' and `decoding_table_put_char'.
2228 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2230 * char-ucs.h (decoding_table_remove_char): Change arguments to
2231 hide decoding_table vector.
2232 (decoding_table_put_char): Likewise.
2234 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2236 * mule-charset.c (decoding_table_remove_char): Moved to
2238 (decoding_table_put_char): Likewise.
2240 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2241 from mule-charset.c].
2242 (decoding_table_remove_char): New inline function [moved from
2244 (decoding_table_put_char): Likewise.
2246 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2248 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2251 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2253 * mule-charset.c (decode_builtin_char): Support mother charsets.
2255 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2257 * mule-charset.c (Q94x94x60): New variable.
2258 (charset_code_point): Support conversion `94x94x60'.
2259 (Fmake_charset): Likewise.
2260 (syms_of_mule_charset): Add new symbol `94x94x60'.
2262 * char-ucs.h (CONVERSION_94x94x60): New macro.
2264 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2266 * mule-charset.c (charset_code_point): Unify code about
2269 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2271 * mule-charset.c (charset_code_point): Merge code about builtin
2272 characters into code about mother charsets; don't use
2273 `range_charset_code_point'.
2274 (range_charset_code_point): Deleted.
2276 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2278 * mule-charset.c (Qcode_offset): New variable.
2279 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2280 `max-code'; accept new property `code-offset'.
2281 (syms_of_mule_charset): Add new symbol `code-offset'.
2283 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2285 * mule-charset.c (range_charset_code_point): Fixed.
2287 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2289 * mule-charset.c (decode_builtin_char): Change semantics of
2290 code-offset of coded-charset.
2291 (charset_code_point): Likewise.
2292 (range_charset_code_point): Likewise.
2293 (complex_vars_of_mule_charset): Modify for the change.
2295 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2297 * mule-charset.c (Fencode_char): Reverse arguments.
2299 * mule-charset.c (charset_code_point): Fixed.
2301 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2303 * mule-charset.c (Vcharset_mojikyo): Deleted.
2304 (Vcharset_mojikyo_2022_1): Deleted.
2305 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2306 (Qmin_code): New variable in UTF-2000.
2307 (Qmax_code): Likewise.
2308 (Qmother): Likewise.
2309 (Qconversion): Likewise.
2311 (Qmojikyo): Deleted.
2312 (Qmojikyo_2022_1): Deleted.
2313 (Qmojikyo_pj_{1..22}): Deleted.
2314 (mark_charset): Mark `cs->mother'.
2315 (charset_description): Add description for `mother'.
2316 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2317 new arguments `mother' and `conversion'; use
2318 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2319 (charset_code_point): Moved from char-ucs.h; support `mother'
2321 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2322 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2323 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2324 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2325 allow 2 as the value of `graphic' in UTF-2000; add new properties
2326 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2327 require `final' in UTF-2000; modify for `make_charset'.
2328 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2329 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2330 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2331 (Fencode_char): New function.
2332 (syms_of_mule_charset): Add new builtin function `encode-char' in
2333 UTF-2000; add new symbols `min-code', `max-code', `mother',
2334 `conversion' and `94x60'; delete symbols `mojikyo',
2335 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2336 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2337 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2338 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2340 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2341 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2343 * char-ucs.h (Vcharset_mojikyo): Deleted.
2344 (Vcharset_mojikyo_2022_1): Deleted.
2345 (LEADING_BYTE_MOJIKYO): Deleted.
2346 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2347 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2348 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2349 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2350 add new member `mother'; add new member `conversion'.
2351 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2352 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2353 (CHARSET_MOTHER): New macro.
2354 (CHARSET_CONVERSION): New macro.
2355 (CONVERSION_IDENTICAL): New macro.
2356 (CONVERSION_94x60): New macro.
2357 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2358 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2359 (XCHARSET_MOTHER): New macro.
2360 (XCHARSET_CONVERSION): New macro.
2361 (MIN_CHAR_MOJIKYO): Deleted.
2362 (MAX_CHAR_MOJIKYO): Deleted.
2363 (DECODE_MOJIKYO_2022): Deleted.
2364 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2365 (charset_code_point): Changed to non-inline function.
2366 (encode_char_1): Use `charset_code_point'.
2367 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2369 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2371 * lread.c (read_compiled_function): Fix prototype.
2372 (read_vector): Likewise.
2374 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2376 * lrecord.h (struct lrecord_header): Delete `older'.
2377 (set_lheader_implementation): Delete code for `older'.
2378 (set_lheader_older_implementation): Deleted.
2379 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2380 (OLDER_RECORD_P): Deleted.
2381 (OLDER_RECORD_HEADER_P): Deleted.
2382 (alloc_older_lcrecord): Deleted.
2383 (alloc_older_lcrecord_type): Deleted.
2385 * alloc.c (all_older_lcrecords): Deleted.
2386 (alloc_older_lcrecord): Deleted.
2387 (disksave_object_finalization_1): Delete code for older objects.
2388 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2389 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2391 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2393 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2394 instead of `make_older_vector'.
2395 (put_char_ccs_code_point): Likewise.
2396 (mark_charset): Mark `cs->decoding_table'.
2397 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2399 * lisp.h (make_older_vector): Deleted.
2400 (make_vector_newer): Deleted.
2402 * config.h.in (HAVE_GGC): Deleted.
2404 * alloc.c (make_older_vector): Deleted.
2405 (make_vector_newer_1): Deleted.
2406 (make_vector_newer): Deleted.
2408 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2410 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2411 (Qideograph_daikanwa_2): New variable.
2412 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2413 (complex_vars_of_mule_charset): Add new coded-charset
2414 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2415 `LEADING_BYTE_DAIKANWA'.
2417 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2418 (LEADING_BYTE_DAIKANWA_1): New macro.
2419 (LEADING_BYTE_DAIKANWA_2): New macro.
2420 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2422 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2424 * mule-charset.c (complex_vars_of_mule_charset): Change
2425 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2426 the second revised version.
2428 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2430 * mule-charset.c (Vcharset_ucs_smp): New variable.
2431 (Vcharset_ucs_sip): New variable.
2432 (Qucs_smp): New variable.
2433 (Qucs_sip): New variable.
2434 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2435 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2436 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2437 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2438 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2439 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2441 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2442 (LEADING_BYTE_UCS_SIP): New macro.
2443 (MIN_CHAR_SMP): New macro.
2444 (MAX_CHAR_SMP): New macro.
2445 (MIN_CHAR_SIP): New macro.
2446 (MAX_CHAR_SIP): New macro.
2448 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2450 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2453 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2455 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2456 value; don't store value into `encoding_table' of `Lisp_Charset'.
2457 (mark_charset): `encoding_table' was deleted.
2458 (charset_description): Likewise.
2459 (make_charset): Likewise.
2460 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2461 `put_char_ccs_code_point'.
2463 * chartab.h (Fput_char_attribute): New EXFUN.
2465 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2466 is unified with normal symbol space.
2467 (Fget_char_attribute): Likewise.
2468 (Fput_char_attribute): Likewise; behavior of
2469 `put_char_ccs_code_point' is changed.
2471 * char-ucs.h: Include "elhash.h".
2472 (Vchar_attribute_hash_table): New external variable.
2473 (struct Lisp_Charset): Delete `encoding_table'.
2474 (CHARSET_ENCODING_TABLE): New implementation; refer
2475 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2478 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2480 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2483 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2485 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2488 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2490 * chartab.c (uint8_byte_table_description): New constant.
2491 (uint8-byte-table): Use `uint8_byte_table_description'.
2492 (uint16_byte_table_description): New constant.
2493 (uint16-byte-table): Use `uint16_byte_table_description'.
2495 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2497 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2498 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2500 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2502 * mule-charset.c (Vcharset_ucs_ks): New variable.
2503 (Qucs_ks): New variable.
2504 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2505 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2507 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2509 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2511 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2512 (Fdecode_char): Likewise.
2514 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2516 (Fdefine_char): Modify for Fdecode_char.
2517 (Ffind_char): Likewise.
2519 * mule-charset.c (Fdecode_char): Add new optional argument
2521 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2523 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2525 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2526 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2527 (allocate_coding_system): Initialize initial-charsets of
2528 CODESYS_BIG5 in XEmacs UTF-2000.
2529 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2530 CODESYS_BIG5 in XEmacs UTF-2000.
2531 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2532 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2534 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2536 (Qideograph_hanziku_{1 .. 12}): Likewise.
2537 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2539 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2540 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2541 `ideograph-hanziku-{1 .. 12}'.
2543 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2544 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2545 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2546 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2547 (DECODE_DEFINED_CHAR): New inline function.
2548 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2550 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2552 * mule-charset.c (Vcharset_china3_jef): Renamed from
2553 `Vcharset_japanese_jef_china3'.
2554 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2555 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2556 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2557 (syms_of_mule_charset): Rename `china3-jef' from
2558 `japanese-jef-china3'.
2559 (complex_vars_of_mule_charset): Likewise; rename
2560 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2562 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2563 `LEADING_BYTE_JEF_CHINA3'.
2564 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2565 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2567 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2569 * mule-charset.c (encode_builtin_char_1): Comment out special code
2570 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2572 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2573 (MAX_CHAR_MOJIKYO_0): Comment out.
2574 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2575 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2576 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2577 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2579 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2581 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2582 (Qideograph_cbeta): New variable.
2583 (encode_builtin_char_1): Comment out special code for
2584 coded-charset `mojikyo' and `japanese-jef-china3'.
2585 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2586 (complex_vars_of_mule_charset): Add new coded-charset
2589 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2590 (MIN_CHAR_CBETA): New macro.
2591 (MAX_CHAR_CBETA): New macro.
2593 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2595 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2596 (LEADING_BYTE_JEF_CHINA3): New macro.
2597 (MIN_CHAR_JEF_CHINA3): New macro.
2598 (MAX_CHAR_JEF_CHINA3): Likewise.
2599 (DECODE_CHAR): Fixed.
2601 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2603 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2604 (Qjapanese_jef_china3): New variable.
2605 (encode_builtin_char_1): Support `japanese-jef-china3'.
2606 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2607 (complex_vars_of_mule_charset): Add new coded-charset
2608 `japanese-jef-china3'.
2610 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2612 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2613 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2614 94^4, 96^3, 96^4, 128^n and 256^n set.
2615 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2616 (map_char_table): Likewise.
2618 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2620 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2623 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2625 * chartab.h (get_char_id_table): New inline function.
2627 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2630 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2632 * chartab.h (decode_char_table_range): New prototype in XEmacs
2634 (put_char_id_table): New inline function in XEmacs UTF-2000.
2636 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2638 (decode_char_table_range): Delete static declaration in XEmacs
2641 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2643 * chartab.c (put_char_id_table): Use `put_char_table'.
2645 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2647 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2648 (map_over_uint16_byte_table): Likewise.
2649 (map_over_byte_table): Likewise.
2650 (map_char_table): Modify for `map_over_uint8_byte_table',
2651 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2654 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2656 * chartab.c (struct map_char_table_for_charset_arg): New
2658 (map_char_table_for_charset_fun): New function.
2659 (map_char_table): Use `map_char_table' for encoding_table of
2662 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2664 * chartab.c (map_char_table): Check a character is found in
2665 range->charset instead of non default value is defined in
2666 char-table when range is CHARTAB_RANGE_ROW.
2668 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2670 * chartab.c (map_char_id_table): Deleted.
2671 (Fmap_char_attribute): Use `map_char_table' instead of
2672 `map_char_id_table'.
2674 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2676 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2678 (update_syntax_table): Deleted in XEmacs UTF-2000.
2680 * syntax.c (find_defun_start): Use `syntax_table' instead of
2681 `mirror_syntax_table' in XEmacs UTF-2000.
2682 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2684 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2686 (Fmatching_paren): Likewise.
2687 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2689 (find_start_of_comment): Likewise.
2690 (find_end_of_comment): Likewise.
2691 (Fforward_comment): Likewise.
2692 (scan_lists): Likewise.
2693 (char_quoted): Likewise.
2694 (Fbackward_prefix_chars): Likewise.
2695 (scan_sexps_forward): Likewise.
2696 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2697 (update_syntax_table): Likewise.
2699 * search.c (skip_chars): Use `syntax_table' instead of
2700 `mirror_syntax_table' in XEmacs UTF-2000.
2701 (wordify): Likewise.
2702 (Freplace_match): Likewise.
2704 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2705 `mirror_syntax_table' in XEmacs UTF-2000.
2706 (WORDCHAR_P_UNSAFE): Likewise.
2707 (re_match_2_internal): Likewise.
2709 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2710 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2712 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2713 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2715 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2718 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2720 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2721 (char_table_description): Delete `mirror_table' in XEmacs
2723 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2725 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2726 (Fcopy_char_table): Likewise.
2727 (put_char_table): Don't call `update_syntax_table' in XEmacs
2730 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2731 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2732 (casify_region_internal): Likewise.
2734 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2736 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2737 `mirror_syntax_table' in XEmacs UTF-2000.
2739 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2740 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2741 (Fexpand_abbrev): Likewise.
2743 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2745 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2747 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2749 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2750 (map_over_uint16_byte_table): Likewise.
2751 (map_over_byte_table): Likewise.
2752 (get_char_id_table): Refer `cit->default_value'.
2753 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2754 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2755 of character-id ranges.
2756 (mark_char_table): Mark `ct->default_value'.
2757 (char_table_description): Add `default_value'.
2758 (fill_char_table): Use `default_value'.
2759 (decode_char_table_range): Decode `nil' as
2760 `CHARTAB_RANGE_DEFAULT'.
2761 (get_char_id_table): Refer `cit->default_value'.
2762 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2763 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2764 temporary hack; check value of char-table is bound or not.
2765 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2767 * chartab.h (struct Lisp_Char_Table): Add new member
2768 `default_value' in XEmacs UTF-2000.
2769 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2770 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2773 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2775 * chartab.h (Lisp_Char_ID_Table): Deleted.
2777 * chartab.c (char_table_description): Fix typo.
2778 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2779 `Lisp_Char_ID_Table'.
2781 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2783 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2786 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2789 * chartab.h (XCHAR_ID_TABLE): Deleted.
2790 (XSETCHAR_ID_TABLE): Deleted.
2791 (CHAR_ID_TABLE_P): Deleted.
2793 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2795 (Fget_composite_char): Likewise.
2796 (put_char_table): Likewise.
2797 (add_char_attribute_alist_mapper): Fixed.
2798 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2800 (Fget_char_attribute): Likewise.
2801 (Fget_char_attribute): Likewise.
2802 (Fmap_char_attribute): Likewise.
2804 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2806 (encode_char_1): Likewise.
2808 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2810 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2813 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2814 instead of `XCHAR_ID_TABLE'.
2815 (remove_char_ccs): Likewise.
2817 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2819 (Fget_composite_char): Likewise.
2820 (Fchar_variants): Likewise.
2821 (put_char_table): Likewise.
2822 (add_char_attribute_alist_mapper): Likewise.
2823 (Fchar_attribute_alist): Likewise.
2824 (Fget_char_attribute): Likewise.
2825 (Fput_char_attribute): Likewise.
2826 (Fmap_char_attribute): Likewise.
2827 (Fmap_char_attribute): Likewise.
2829 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2831 (encode_char_1): Likewise.
2833 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2835 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2836 `Lisp_Char_ID_Table'.
2837 (mark_char_id_table): Deleted.
2838 (print_char_id_table): Likewise.
2839 (char_id_table_equal): Likewise.
2840 (char_id_table_hash): Likewise.
2841 (char_id_table_description): Likewise.
2842 (char_id_table): Likewise.
2843 (make_char_id_table): Use `Fmake_char_table' and
2845 (get_char_id_table): Use `Lisp_Char_Table' instead of
2846 `Lisp_Char_ID_Table'.
2847 (put_char_id_table): Likewise.
2848 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2850 (Fremove_char_attribute): Likewise.
2851 (syms_of_chartab): Don't define type `char-id-table'.
2853 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2854 (char_id_table): Likewise.
2855 (GC_CHAR_ID_TABLE_P): Likewise.
2856 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2857 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2858 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2859 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2860 (get_char_id_table): Use `Lisp_Char_Table' instead of
2861 `Lisp_Char_ID_Table'.
2862 (put_char_id_table_0): Likewise.
2863 (put_char_id_table): Likewise.
2865 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2867 * chartab.h: Lisp_Byte_Table related codes are moved from
2870 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2872 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2874 * chartab.h: Don't include "chartab.h".
2875 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2876 (Lisp_Char_ID_Table): Likewise.
2877 (char_id_table): Likewise.
2878 (XCHAR_ID_TABLE): Likewise.
2879 (XSETCHAR_ID_TABLE): Likewise.
2880 (CHAR_ID_TABLE_P): Likewise.
2881 (GC_CHAR_ID_TABLE_P): Likewise.
2882 (get_char_id_table): Likewise.
2884 * char-ucs.h: Include "chartab.h".
2885 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2886 (Lisp_Char_ID_Table): Likewise.
2887 (char_id_table): Likewise.
2888 (XCHAR_ID_TABLE): Likewise.
2889 (XSETCHAR_ID_TABLE): Likewise.
2890 (CHAR_ID_TABLE_P): Likewise.
2891 (GC_CHAR_ID_TABLE_P): Likewise.
2892 (get_char_id_table): Likewise.
2894 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2896 * chartab.c (copy_uint8_byte_table): New function.
2897 (copy_uint16_byte_table): New function.
2898 (copy_byte_table): New function.
2899 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2901 (map_over_uint16_byte_table): Likewise.
2902 (map_over_byte_table): Likewise.
2903 (get_byte_table): Move prototype to chartab.h.
2904 (put_byte_table): Likewise.
2905 (put_char_id_table_0): Moved to chartab.h.
2906 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2907 (char_table_entry_equal): Likewise.
2908 (char_table_entry_hash): Likewise.
2909 (char_table_entry_description): Likewise.
2910 (char_table_entry): Likewise.
2911 (make_char_table_entry): Likewise.
2912 (copy_char_table_entry): Likewise.
2913 (get_non_ascii_char_table_value): Likewise.
2914 (map_over_charset_ascii): Likewise.
2915 (map_over_charset_control_1): Likewise.
2916 (map_over_charset_row): Likewise.
2917 (map_over_other_charset): Likewise.
2918 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2919 (print_char_table): Likewise.
2920 (char_table_equal): Likewise.
2921 (char_table_hash): Likewise.
2922 (char_table_description): Likewise.
2923 (fill_char_table): Likewise.
2924 (Fcopy_char_table): Likewise.
2925 (get_char_table): Likewise.
2926 (Fget_range_char_table): Likewise.
2927 (put_char_table): Likewise.
2928 (map_char_table): Likewise.
2929 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2932 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2934 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2935 `Vauto_fill_chars' in XEmacs UTF-2000.
2937 * chartab.h (get_byte_table): New prototype [moved from
2939 (put_byte_table): Likewise [moved from chartab.c].
2940 (put_char_id_table_0): New inline function [moved from chartab.c].
2941 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2942 (Lisp_Char_Table_Entry): Likewise.
2943 (char_table_entry): Likewise.
2944 (XCHAR_TABLE_ENTRY): Likewise.
2945 (XSETCHAR_TABLE_ENTRY): Likewise.
2946 (CHAR_TABLE_ENTRYP): Likewise.
2947 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2948 (NUM_ASCII_CHARS): Likewise.
2949 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2950 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2952 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2954 * chartab.c (get_char_id_table): Change interface.
2955 (put_char_id_table_0): New function.
2956 (put_char_id_table): Change interface; new implementation.
2957 (Fget_composite_char): Modify for interface change of
2958 `get_char_id_table'.
2959 (Fchar_variants): Likewise.
2960 (add_char_attribute_alist_mapper): Likewise.
2961 (Fchar_attribute_alist): Likewise.
2962 (Fget_char_attribute): Likewise.
2963 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2964 as same as character as the first argument like `put-char-table';
2965 modify for interface change of `put_char_id_table'.
2966 (Fremove_char_attribute): Modify for interface change of
2967 `put_char_id_table'.
2969 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2971 * text-coding.c: Sync up with XEmacs 21.2.41.
2972 (COMPOSE_ADD_CHAR): Modify for interface change of
2973 `get_char_id_table'.
2975 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2976 change of `put_char_id_table'.
2977 (remove_char_ccs): Likewise.
2979 * chartab.h (put_char_id_table): Change interface.
2981 * char-ucs.h (get_char_id_table): Change interface.
2982 (charset_code_point): Modify for interface change of
2983 `get_char_id_table'.
2984 (encode_char_1): Likewise.
2986 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2988 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
2990 (map_over_uint16_byte_table): Likewise.
2991 (map_over_byte_table): Likewise.
2992 (map_char_id_table): Add new argument `range' like
2994 (Fmap_char_attribute): Add new argument `range' like
2997 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2999 * chartab.c (map_over_uint8_byte_table): Change interface of
3000 mapping function to use struct chartab_range instead of Emchar.
3001 (map_over_uint16_byte_table): Likewise.
3002 (map_over_byte_table): Likewise.
3003 (map_char_id_table): Likewise.
3004 (struct slow_map_char_id_table_arg): Deleted.
3005 (slow_map_char_id_table_fun): Deleted.
3006 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3007 function `slow_map_char_table_fun' instead of struct
3008 `slow_map_char_id_table_arg' and function
3009 `slow_map_char_id_table_fun'.
3011 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3013 * mule-charset.c: Move char-it-table related codes to chartab.c.
3014 (Vutf_2000_version): Moved to chartab.c.
3015 (Fdefine_char): Likewise.
3016 (Ffind_char): Likewise.
3017 (syms_of_mule_charset): Move types `uint8-byte-table',
3018 `uint16-byte-table', `byte-table' and `char-id-table' to
3019 chartab.c; move functions `char_attribute_list,
3020 `find_char_attribute_table, `char_attribute_alist,
3021 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3022 `map_char_attribute, `define_char, `find_char, `char_variants and
3023 `get_composite_char to chartab.c; move symbols `=>ucs',
3024 `->decomposition', `compat', `isolated', `initial', `medial',
3025 `final', `vertical', `noBreak', `fraction', `super', `sub',
3026 `circle', `square', `wide', `narrow', `small' and `font' to
3028 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3029 setting codes for `Vcharacter_composition_table' and
3030 `Vcharacter_variant_table' to chartab.c.
3031 (complex_vars_of_mule_charset): Move setting code for
3032 `Vchar_attribute_hash_table' to chartab.c.
3034 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3035 (make_char_id_table): New prototype.
3036 (put_char_id_table): Likewise.
3037 (Fget_char_attribute): Likewise.
3039 * chartab.c: Move char-id-table related code from mule-charset.c.
3040 (Vutf_2000_version): Moved from mule-charset.c.
3042 * char-ucs.h (Qucs): New external variable.
3043 (put_char_ccs_code_point): New prototype.
3044 (remove_char_ccs): Likewise.
3046 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3048 * mule-charset.c (Vcharset_ucs_jis): New variable.
3049 (Qucs_jis): Likewise.
3050 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3051 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3053 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3055 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3057 * mule-charset.c (map_over_uint8_byte_table): New function.
3058 (map_over_uint16_byte_table): Likewise.
3059 (map_over_byte_table): Likewise.
3060 (map_char_id_table): Likewise.
3061 (slow_map_char_id_table_fun): Likewise.
3062 (Fmap_char_attribute): Likewise.
3063 (syms_of_mule_charset): Add new function `map-char-attribute'.
3065 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3067 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3068 (syms_of_mule_charset): Add new function `find-char'.
3070 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3072 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3074 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3075 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3077 (complex_vars_of_mule_charset): Add new coded-charset
3078 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3079 `ideograph-gt-pj-*'.
3081 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3083 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3085 * mule-charset.c (encode_builtin_char_1): Purge codes about
3086 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3087 {MIN|MAX}_CHAR_HEBREW.
3088 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3089 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3091 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3092 (MAX_CHAR_GREEK): Purged.
3093 (MIN_CHAR_CYRILLIC): Purged.
3094 (MAX_CHAR_CYRILLIC): Purged.
3095 (MIN_CHAR_HEBREW): Commented out.
3096 (MAX_CHAR_HEBREW): Likewise.
3098 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3100 * mule-charset.c (Qto_ucs): New variable.
3101 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3102 (Fdefine_char): Likewise.
3103 (syms_of_mule_charset): Add new symbol `=>ucs'.
3105 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3107 * mule-charset.c (Fdecode_char): Fixed.
3109 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3111 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3112 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3115 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3117 * mule-charset.c (Vcharset_ucs_big5): New variable.
3118 (Qucs_big5): Likewise.
3119 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3120 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3122 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3124 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3126 * mule-charset.c (decode_builtin_char): Check Big5 code range
3127 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3129 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3131 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3132 (Qchinese_gb12345): Likewise.
3133 (Fdecode_builtin_char): Fixed.
3134 (syms_of_mule_charset): Add `chinese-gb12345'.
3135 (complex_vars_of_mule_charset): Add coded-charset
3138 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3139 (LEADING_BYTE_CHINESE_GB12345): New macro.
3141 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3143 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3144 and `latin-viscii-upper' for `latin-viscii'.
3146 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3148 * mule-charset.c (Fdecode_builtin_char): Comment out
3149 regularization code for ISO-IR GR representation.
3151 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3153 * mule-charset.c (decode_builtin_char): New function; renamed from
3154 `make_builtin_char'; return -1 instead of signal.
3155 (Fdecode_builtin_char): Use `decode_builtin_char'.
3157 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3158 `make_builtin_char'.
3159 (DECODE_CHAR): Use `decode_builtin_char' instead of
3160 `make_builtin_char'; use mapping table of `chinese-big5' for
3161 `chinese-big5-{1,2}'.
3163 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3165 * text-coding.c (char_encode_big5): New function.
3166 (char_finish_big5): Likewise.
3167 (reset_encoding_stream): Use `char_encode_big5' and
3168 `char_finish_big5' for CODESYS_BIG5.
3169 (mule_encode): Don't use `encode_coding_big5'.
3170 (encode_coding_big5): Deleted.
3172 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3174 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3175 0x81- in XEmacs UTF-2000.
3176 (detect_coding_big5): Likewise.
3178 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3180 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3181 generate character-id if the CCS property does not have
3182 corresponding predefined character.
3183 (make_builtin_char): Return -1 if corresponding predefined
3184 character is not found.
3185 (Fdecode_char): Return nil if corresponding character is not
3187 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3188 don't map to builtin ucs space.
3190 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3192 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3193 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3195 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3197 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3198 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3199 (Qideograph_gt): Likewise.
3200 (Qideograph_gt_pj_{1..11}): Likewise.
3201 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3202 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3203 `ideograph-gt-pj-11'.
3204 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3205 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3206 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3208 * char-ucs.h (LEADING_BYTE_GT): New macro.
3209 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3210 (MIN_CHAR_GT): Likewise.
3211 (MAX_CHAR_GT): Likewise.
3213 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3215 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3216 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3218 * doprnt.c (unsigned_int_converters): Add `c'.
3219 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3221 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3222 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3224 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3225 (MAX_CHAR_MOJIKYO_0): New macro.
3226 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3228 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3230 * mule-charset.c (Fdefine_char): Delete cemented out code.
3231 (encode_builtin_char_1): Modify for new allocation of builtin
3234 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3236 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3238 * mule-charset.c (Vcharset_ucs_cns): New variable.
3239 (Qucs_cns): New variable.
3240 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3241 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3243 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3245 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3247 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3249 * search.c (search_buffer): Make `charset_base_code' as
3250 character-id >> 6 to eliminate the corresponding last byte in
3251 UTF-8 representation [I'm not sure it is right thing].
3252 (boyer_moore): Likewise.
3254 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3256 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3257 representation in MULE.
3259 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3261 * text-coding.c (Fmake_coding_system): Use
3262 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3263 `EXTERNAL_PROPERTY_LIST_LOOP'.
3265 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3267 * text-coding.c (decode_output_utf8_partial_char): New function.
3268 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3270 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3272 * text-coding.c (decode_coding_utf8): Output original byte
3273 sequence if it is broken; change order of conditions.
3275 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3278 * mb-multibyte.h (BYTE_ASCII_P):
3279 Use bit ops for char-signedness safety.
3280 (BYTE_C0_P): Use bit ops for char-signedness safety.
3281 (BYTE_C1_P): Use bit ops for char-signedness safety.
3283 * character.h: (XCHAR_OR_CHAR_INT):
3284 Always use inline function.
3285 Remove redundant type checking assert() - XINT will abort quite
3288 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3290 * text-coding.c: (Fencode_shift_jis_char):
3291 (Fencode_big5_char):
3292 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3293 Replace 0 with '\0' when working with bytes.
3294 Replace initial "(" with "\(" in docstrings.
3296 (Fmake_coding_system):
3297 When type is ccl and value is vector, register it with a proper
3298 symbol. And checks whether the given ccl program is valid.
3299 (mule_decode): When calling ccl_driver, if src indicates
3300 NULL pointer, set an empty string instead.
3301 (mule_encode): Likewise.
3304 (detect_coding_sjis):
3305 (decode_coding_sjis):
3306 (detect_coding_big5):
3307 (decode_coding_big5):
3308 (detect_coding_ucs4):
3309 (decode_coding_ucs4):
3310 (detect_coding_utf8):
3311 (decode_coding_utf8):
3312 (detect_coding_iso2022):
3313 (decode_coding_iso2022):
3314 (decode_coding_no_conversion):
3316 Make all detecting and decoding functions take an Extbyte * arg.
3317 (text_encode_generic):
3318 (encode_coding_big5):
3319 (encode_coding_no_conversion):
3321 Make all encoding functions take a Bufbyte * arg.
3322 Use size_t instead of unsigned int for memory sizes.
3323 Only cast to unsigned char whenever dereferencing Extbyte *.
3325 (struct lrecord_description fcd_description_1): Use countof.
3326 (complex_vars_of_file_coding):
3327 Use countof instead of sizeof.
3328 Use CHECK_NATNUM instead of CHECK_INT.
3330 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3332 * mule-charset.c (Fget_char_attribute): Add new optional argument
3334 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3335 (remove_char_ccs): Likewise.
3337 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3339 * text-coding.c (char_encode_shift_jis): New implementation in
3341 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3344 * mule-charset.c (Vcharset_chinese_big5): New variable in
3346 (Qchinese_big5): New variable in UTF-2000.
3347 (BIG5_SAME_ROW): New macro in UTF-2000.
3348 (make_builtin_char): Use builtin characters of
3349 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3350 characters of `Vcharset_chinese_big5'.
3351 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3352 (complex_vars_of_mule_charset): Add new coded-charset
3353 `chinese-big5' in UTF-2000.
3355 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3356 (Vcharset_chinese_big5): New external variable declaration.
3357 (Vcharset_japanese_jisx0208_1990): Likewise.
3359 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3361 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3363 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3365 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3367 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3368 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3369 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3372 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3374 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3376 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3378 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3381 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3383 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3384 for `CHARSET_BY_ATTRIBUTES'.
3385 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3386 `CHARSET_BY_ATTRIBUTES'.
3388 * text-coding.c (struct decoding_stream): Rename member `CH' to
3390 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3391 (decode_coding_sjis): Likewise.
3392 (decode_coding_big5): Likewise.
3393 (decode_coding_ucs4): Likewise.
3394 (decode_coding_utf8): Likewise.
3395 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3396 `CHARSET_BY_ATTRIBUTES'.
3397 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3398 `str->counter'; decode 3, 4 bytes sets.
3399 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3401 (decode_coding_no_conversion): Use `str->cpos' instead of
3404 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3405 (Qmojikyo_2022_1): New variable.
3406 (make_charset): Don't use `CHARSET_TYPE_*'.
3407 (range_charset_code_point): Support coded-charset
3409 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3410 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3411 `CHARSET_BY_ATTRIBUTES'.
3412 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3413 `CHARSET_BY_ATTRIBUTES'.
3414 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3415 (complex_vars_of_mule_charset): Add new coded-charset
3418 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3419 interface; changed to inline function.
3421 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3422 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3423 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3424 (CHARSET_TYPE_94): Deleted.
3425 (CHARSET_TYPE_94X94): Deleted.
3426 (CHARSET_TYPE_96): Deleted.
3427 (CHARSET_TYPE_96X96): Deleted.
3428 (CHARSET_TYPE_128): Deleted.
3429 (CHARSET_TYPE_128X128): Deleted.
3430 (CHARSET_TYPE_256): Deleted.
3431 (CHARSET_TYPE_256X256): Deleted.
3432 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3434 (DECODE_MOJIKYO_2022): New inline function.
3435 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3436 `Vcharset_mojikyo_2022_1'.
3438 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3440 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3442 (put_byte_table): Likewise.
3443 (char_id_table_equal): Use `get_byte_table' [new implementation].
3445 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3447 * mule-charset.c: Include <limits.h> in UTF-2000.
3448 (BT_UINT8_MIN): New macro in UTF-2000.
3449 (BT_UINT8_MAX): New macro in UTF-2000.
3450 (BT_UINT8_t): New macro in UTF-2000.
3451 (BT_UINT8_nil): New macro in UTF-2000.
3452 (BT_UINT8_unbound): New macro in UTF-2000.
3453 (INT_UINT8_P): New inline function in UTF-2000.
3454 (UINT8_VALUE_P): New inline function in UTF-2000.
3455 (UINT8_ENCODE): New inline function in UTF-2000.
3456 (UINT8_DECODE): New inline function in UTF-2000.
3457 (mark_uint8_byte_table): New function in UTF-2000.
3458 (print_uint8_byte_table): New function in UTF-2000.
3459 (uint8_byte_table_equal): New function in UTF-2000.
3460 (uint8_byte_table_hash): New function in UTF-2000.
3461 (make_uint8_byte_table): New function in UTF-2000.
3462 (uint8_byte_table_same_value_p): New function in UTF-2000.
3463 (BT_UINT16_MIN): New macro in UTF-2000.
3464 (BT_UINT16_MAX): New macro in UTF-2000.
3465 (BT_UINT16_t): New macro in UTF-2000.
3466 (BT_UINT16_nil): New macro in UTF-2000.
3467 (BT_UINT16_unbound): New macro in UTF-2000.
3468 (INT_UINT16_P): New inline function in UTF-2000.
3469 (UINT16_VALUE_P): New inline function in UTF-2000.
3470 (UINT16_ENCODE): New inline function in UTF-2000.
3471 (UINT16_DECODE): New inline function in UTF-2000.
3472 (UINT8_TO_UINT16): New inline function in UTF-2000.
3473 (mark_uint16_byte_table): New function in UTF-2000.
3474 (print_uint16_byte_table): New function in UTF-2000.
3475 (uint16_byte_table_equal): New function in UTF-2000.
3476 (uint16_byte_table_hash): New function in UTF-2000.
3477 (make_uint16_byte_table): New function in UTF-2000.
3478 (uint16_byte_table_same_value_p): New function in UTF-2000.
3479 (print_byte_table): New function in UTF-2000.
3480 (byte-table): Use `print_byte_table' as printer.
3481 (make_byte_table): Delete second argument `older'.
3482 (byte_table_same_value_p): New function in UTF-2000.
3483 (copy_byte_table): Deleted.
3484 (get_byte_table): New function in UTF-2000.
3485 (put_byte_table): New function in UTF-2000.
3486 (print_char_id_table): New function in UTF-2000.
3487 (char-id-table): Use `print_char_id_table' as printer.
3488 (make_char_id_table): Delete second argument `older'.
3489 (get_char_id_table): Use `get_byte_table [new implementation].
3490 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3492 (Ffind_char_attribute_table): New function in UTF-2000.
3493 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3494 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3495 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3496 (syms_of_mule_charset): Add new function
3497 `find-char-attribute-table' in UTF-2000.
3499 * lrecord.h (enum lrecord_type): Add
3500 `lrecord_type_uint16_byte_table' and
3501 `lrecord_type_uint8_byte_table'.
3503 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3504 (Lisp_Uint8_Byte_Table): New type.
3505 (XUINT8_BYTE_TABLE): New macro.
3506 (XSETUINT8_BYTE_TABLE): New macro.
3507 (UINT8_BYTE_TABLE_P): New macro.
3508 (GC_UINT8_BYTE_TABLE_P): New macro.
3509 (struct Lisp_Uint16_Byte_Table): New structure.
3510 (Lisp_Uint16_Byte_Table): New type.
3511 (XUINT16_BYTE_TABLE): New macro.
3512 (XSETUINT16_BYTE_TABLE): New macro.
3513 (UINT16_BYTE_TABLE_P): New macro.
3514 (GC_UINT16_BYTE_TABLE_P): New macro.
3516 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3518 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3519 (Vcharacter_ideographic_strokes_table): Deleted.
3520 (Vcharacter_total_strokes_table): Deleted.
3521 (Vcharacter_morohashi_daikanwa_table): Deleted.
3522 (Vcharacter_decomposition_table): Deleted.
3523 (Qname): Deleted because it is duplicated.
3524 (Qideographic_radical): Deleted.
3525 (Qideographic_strokes): Deleted.
3526 (Qtotal_strokes): Deleted.
3527 (Qmorohashi_daikanwa): Deleted.
3528 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3529 `ideographic-radical', `ideographic-strokes', `total-strokes',
3530 `morohashi-daikanwa' and `->decomposition'.
3531 (Fget_char_attribute): Likewise.
3532 (Fput_char_attribute): Likewise; use `make-vector' instead of
3533 `make_older_vector' for `->decomposition' value.
3534 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3535 `ideograph-daikanwa'.
3536 (syms_of_mule_charset): Delete builtin symbols `name',
3537 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3538 `morohashi-daikanwa'.
3539 (vars_of_mule_charset): Don't setup
3540 `Vcharacter_ideographic_radical_table',
3541 `Vcharacter_ideographic_strokes_table',
3542 `Vcharacter_total_strokes_table',
3543 `Vcharacter_morohashi_daikanwa_table' and
3544 `Vcharacter_decomposition_table'.
3546 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3548 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3549 `make_older_vector', `make_vector_newer_1' and
3550 `make_vector_newer'.
3552 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3553 `make_older_vector' and `make_vector_newer'.
3555 * config.h.in (HAVE_GGC): New macro.
3557 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3559 * mule-charset.c (struct char_attribute_list_closure): New
3560 structure in UTF-2000.
3561 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3562 (Fchar_attribute_list): Likewise.
3563 (Fset_charset_mapping_table): Use `make_vector_newer'.
3564 (Fdecode_builtin_char): New function in UTF-2000.
3565 (syms_of_mule_charset): Add new function `char-attribute-list' and
3566 `decode-builtin-char' in UTF-2000.
3568 * lisp.h (make_vector_newer): New prototype.
3570 * alloc.c (make_vector_newer_1): New function.
3571 (make_vector_newer): New function.
3573 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3575 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3578 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3580 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3581 (Vcharacter_attribute_table): Deleted.
3582 (Vcharacter_name_table): Deleted.
3583 (put_char_attribute): Deleted.
3584 (remove_char_attribute): Deleted.
3585 (struct char_attribute_alist_closure): New structure.
3586 (add_char_attribute_alist_mapper): New function.
3587 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3588 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3589 (Fget_char_attribute): Likewise.
3590 (Fput_char_attribute): Likewise.
3591 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3592 of `remove_char_attribute'.
3593 (Fdefine_char): Return character.
3594 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3595 and `Vcharacter_name_table'.
3596 (complex_vars_of_mule_charset): Likewise
3597 `Vchar_attribute_hash_table'.
3599 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3601 * character.h (CHARC_CHARSET): New macro.
3602 (CHARC_CHARSET_ID): New macro.
3603 (CHARC_CODE_POINT): New macro.
3604 (CHARC_COLUMNS): New macro.
3605 (CHARC_TO_CHAR): New inline function.
3606 (CHARC_EQ): New inline function.
3607 (CHARC_ASCII_EQ): New inline function.
3608 (CHARC_IS_SPACE): New inline function.
3609 (ASCII_TO_CHARC): New inline function.
3611 * char-ucs.h (encode_char_2): Deleted.
3612 (ENCODE_CHAR): Use `encode_char_1' again.
3613 (breakup_char_1): Likewise.
3614 (CHAR_TO_CHARC): New inline function.
3616 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3618 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3620 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3621 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3622 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3623 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3624 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3626 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3628 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3630 (x_output_display_block): Use `CHARC_CHARSET' and
3633 * redisplay-tty.c (tty_output_display_block): Use
3635 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3637 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3639 * insdel.c (find_charsets_in_charc_string): Use
3641 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3642 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3643 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3644 (convert_charc_string_into_malloced_string): Likewise.
3646 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3648 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3649 instead of <Emchar_dynarr *> for buf; use
3650 `convert_bufbyte_string_into_charc_dynarr' instead of
3651 `convert_bufbyte_string_into_emchar_dynarr'; use
3652 `find_charsets_in_charc_string' instead of
3653 `find_charsets_in_emchar_string'.
3656 - Include "character.h".
3657 (struct rune): New member `cglyph'; delete member `chr'.
3659 * redisplay.c (redisplay_text_width_charc_string): New function;
3660 delete `redisplay_text_width_emchar_string'.
3661 (rtw_charc_dynarr): New variable; renamed from
3662 `rtw_emchar_dynarr'.
3663 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3664 `rtw_emchar_dynarr'; use
3665 `convert_bufbyte_string_into_charc_dynarr' instead of
3666 `convert_bufbyte_string_into_emchar_dynarr'; use
3667 `redisplay_text_width_charc_string' instead of
3668 `redisplay_text_width_emchar_string'.
3669 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3670 instead of `rtw_emchar_dynarr'; use
3671 `convert_bufbyte_string_into_charc_dynarr' instead of
3672 `convert_bufbyte_string_into_emchar_dynarr'.
3673 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3674 `redisplay_text_width_charc_string' instead of
3675 `redisplay_text_width_emchar_string'.
3676 (create_text_block): Modify for <struct rune> change.
3677 (generate_formatted_string_db): Likewise.
3678 (create_string_text_block): Likewise.
3679 (pixel_to_glyph_translation): Likewise.
3681 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3682 instead of <const Emchar *>.
3683 (x_text_width): Likewise.
3684 (x_output_display_block): Use <Charc_dynarr *> instead
3685 <Emchar_dynarr *>; modify for <structure rune> change.
3686 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3689 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3690 <const Emchar *>; use `charc_string_displayed_columns' instead of
3691 `emchar_string_displayed_columns'.
3692 (tty_output_display_block): Use <Charc_dynarr *> instead of
3693 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3694 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3695 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3696 `tty_output_emchar_dynarr_dynarr'.
3697 (tty_output_charc_dynarr): New function; delete
3698 `tty_output_charc_dynarr'.
3700 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3701 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3702 <Emchar_dynarr *> for buf; use
3703 `convert_bufbyte_string_into_charc_dynarr' instead of
3704 `convert_bufbyte_string_into_emchar_dynarr'.
3706 * frame.c (title_string_charc_dynarr): New variable; renamed from
3707 `title_string_emchar_dynarr'.
3708 (generate_title_string): Use `title_string_charc_dynarr' instead
3709 of `title_string_emchar_dynarr'; use
3710 `convert_charc_string_into_malloced_string' instead of
3711 `convert_emchar_string_into_malloced_string'.
3712 (init_frame): Use `title_string_charc_dynarr' instead of
3713 `title_string_emchar_dynarr'.
3716 - Include "character.h".
3717 (struct console_methods): Use <const Charc *> instead of <const
3718 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3719 <Emchar_dynarr *> in output_string_method.
3721 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3724 * console-stream.c (stream_text_width): Use <const Charc *>
3725 instead of <const Emchar *>.
3727 * character.h (Charc_dynarr): New type.
3729 * char-ucs.h (structure Charc): New structure; define new type
3732 * char-lb.h (DECODE_CHAR): New inline function.
3733 (encode_char_1): New inline function.
3734 (ENCODE_CHAR): New macro.
3735 (structure Charc): New structure; define new type `Charc'.
3737 * char-1byte.h (Vcharset_control_1): New macro.
3738 (Vcharset_latin_iso8859_1): New macro.
3739 (DECODE_CHAR): New inline function.
3740 (encode_char_1): New inline function.
3741 (ENCODE_CHAR): New macro.
3742 (structure Charc): New structure; define new type `Charc'.
3744 * insdel.c (find_charsets_in_charc_string): New function; delete
3745 `find_charsets_in_emchar_string'.
3746 (charc_string_displayed_columns): New function; delete
3747 `emchar_string_displayed_columns'.
3748 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3749 `convert_bufbyte_string_into_emchar_dynarr'.
3750 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3751 `convert_charc_string_into_bufbyte_dynarr'.
3752 (convert_charc_string_into_malloced_string): New function; delete
3753 `convert_charc_string_into_malloced_string'.
3755 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3756 `find_charsets_in_emchar_string'.
3757 (charc_string_displayed_columns): New prototype; delete
3758 `emchar_string_displayed_columns'.
3759 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3760 `convert_charc_string_into_bufbyte_dynarr'.
3761 (convert_charc_string_into_malloced_string): New prototype; delete
3762 `convert_charc_string_into_malloced_string'.
3764 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3766 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3768 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3770 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3772 * char-ucs.h: Use <short> for <Charset_ID>.
3774 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3777 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3779 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3782 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3784 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3786 (Qmorohashi_daikanwa): New variable.
3787 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3788 for `morohashi-daikanwa' attribute.
3789 (Fget_char_attribute): Likewise.
3790 (Fput_char_attribute): Likewise.
3791 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3792 has the same value of `ideograph-daikanwa'.
3793 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3794 (vars_of_mule_charset): Setup
3795 `Vcharacter_morohashi_daikanwa_table'.
3797 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3799 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3801 (add_charset_to_list_mapper): Add `key' instead of
3802 `XCHARSET_NAME (value)' to return aliases.
3804 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3806 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3808 (Vcharacter_ideographic_strokes_table): New variable.
3809 (Qideographic_radical): New variable.
3810 (Qideographic_strokes): New variable.
3811 (Fchar_attribute_alist): Use
3812 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3813 attribute; use `Vcharacter_ideographic_strokes_table' for
3814 `ideographic-strokes' attribute.
3815 (Fget_char_attribute): Likewise.
3816 (Fput_char_attribute): Likewise.
3817 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3818 `ideographic-strokes'.
3819 (vars_of_mule_charset): Setup
3820 `Vcharacter_ideographic_radical_table' and
3821 `Vcharacter_ideographic_strokes_table'.
3823 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3825 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3826 (Qtotal_strokes): New variable.
3827 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3828 `total-strokes' attribute.
3829 (Fget_char_attribute): Likewise.
3830 (Fput_char_attribute): Likewise.
3831 (syms_of_mule_charset): Add new symbol `total-strokes'.
3832 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3834 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3836 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3837 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3839 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3840 `->decomposition' attribute.
3841 (Fput_char_attribute): Likewise.
3842 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3844 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3846 * mule-charset.c (decoding_table_check_elements): New function.
3847 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3849 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3851 * mule-charset.c (Fset_charset_mapping_table): Use
3852 `put_char_ccs_code_point'.
3854 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3856 * mule-charset.c (decoding_table_put_char): New inline function.
3857 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3859 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3861 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3862 (XCHARSET_BYTE_SIZE): New macro.
3863 (decoding_table_remove_char): New inline function.
3864 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3865 `decoding_table_remove_char'.
3866 (remove_char_ccs): Use `decoding_table_remove_char'.
3867 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3869 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3871 * mule-charset.c (Vcharacter_name_table): New variable.
3872 (Qname): New variable.
3873 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3875 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3876 `Vcharacter_name_table' for `name' attribute.
3877 (Fremove_char_attribute): Use function `remove_char_ccs'.
3878 (put_char_ccs_code_point): New function.
3879 (remove_char_ccs): New function.
3880 (syms_of_mule_charset): Add new symbol `name'.
3881 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3883 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3885 * mule-charset.c (make_byte_table): Add new argument `older'.
3886 (make_char_id_table): Likewise.
3887 (copy_char_id_table): Comment out because it is not used.
3888 (put_char_id_table): Modify for `make_byte_table'.
3889 (Fput_char_attribute): Make encoding_table as older object;
3890 inherit older bit of `Vcharacter_composition_table'.
3891 (mark_charset): Don't mark `cs->encoding_table'.
3892 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3893 normal object; make `Vcharacter_composition_table' as an older
3894 object; delete staticpro for `Vcharacter_composition_table'; make
3895 `Vcharacter_variant_table' as a normal object.
3897 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3898 (mark_object): Don't check older object in UTF-2000.
3900 * lrecord.h (struct lrecord_header): Add new member `older' in
3902 (set_lheader_implementation): Setup `SLI_header->older' in
3904 (set_lheader_older_implementation): New macro in UTF-2000.
3905 (OLDER_RECORD_P): New macro in UTF-2000.
3906 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3907 (alloc_older_lcrecord): New prototype in UTF-2000.
3908 (alloc_older_lcrecord_type): New macro in UTF-2000.
3910 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3912 * mule-charset.c (byte_table_description): Use
3913 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3914 (char_id_table_description): Delete bogus `, 1'.
3915 (Fget_char_attribute): Refer encoding_table of each coded-charset
3916 to get value of coded-charset attribute of a character.
3917 (Fput_char_attribute): Use `make_older_vector' instead of
3918 `make_vector'; use encoding_table of each coded-charset to store
3919 value of coded-charset attribute of a character.
3920 (Fremove_char_attribute): Use encoding_table of each coded-charset
3921 to store value of coded-charset attribute of a character.
3922 (mark_charset): Mark `cs->encoding_table'; don't mark
3923 `cs->decoding_table'.
3924 (charset_description): Add description of new member
3926 (make_charset): Initialize `encoding_table'.
3928 * char-ucs.h (struct Lisp_Charset): Add new member
3930 (CHARSET_ENCODING_TABLE): New macro.
3931 (XCHARSET_ENCODING_TABLE): New macro.
3932 (charset_code_point): New implementation.
3933 (encode_char_1): Likewise.
3935 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3936 (disksave_object_finalization_1): Call finalizers of
3937 `all_older_lcrecords' in UTF-2000.
3938 (make_older_vector): New function in UTF-2000.
3939 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3942 * lisp.h (make_older_vector): New prototype in UTF-2000.
3944 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3946 * lrecord.h (enum lrecord_type): Rename
3947 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3949 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3950 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3951 `get_char_code_table'.
3953 * mule-charset.c (mark_char_id_table): Renamed from
3954 `mark_char_code_table'.
3955 (char_id_table_equal): Renamed from `char_code_table_equal'.
3956 (char_id_table_hash): Renamed from `char_code_table_hash'.
3957 (make_char_id_table): Renamed from `make_char_code_table'.
3958 (copy_char_id_table): Renamed from `copy_char_code_table'.
3959 (get_char_id_table): Renamed from `get_char_code_table'.
3960 (put_char_id_table): Renamed from `put_char_code_table'.
3961 (to_char_id): Renamed from `to_char_code'.
3963 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3964 `Lisp_Char_Code_Table'.
3965 (char_id_table): Renamed from `char_code_table'.
3966 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3967 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3968 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3969 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3970 (get_char_id_table): Renamed from `get_char_code_table'.
3972 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3974 * lrecord.h (enum lrecord_type): Rename
3975 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3977 * mule-charset.c (mark_byte_table): Renamed from
3978 `mark_char_byte_table'.
3979 (byte_table_equal): Renamed from `char_byte_table_equal'.
3980 (byte_table_hash): Renamed from `byte_table_hash'.
3981 (make_byte_table): Renamed from `make_byte_table'.
3982 (copy_byte_table): Renamed from `copy_char_byte_table'.
3984 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3985 `Lisp_Char_Byte_Table'.
3986 (byte_table): Renamed from `char_byte_table'.
3987 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3988 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
3989 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
3990 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
3992 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3994 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
3995 (dfc_convert_to_internal_format): Likewise.
3997 * text-coding.c (Fcoding_system_canonical_name_p): New function.
3998 * text-coding.c (Fcoding_system_alias_p): New function.
3999 * text-coding.c (Fcoding_system_aliasee): New function.
4000 * text-coding.c (append_suffix_to_symbol): New function.
4001 * text-coding.c (dangling_coding_system_alias_p): New function.
4002 * text-coding.c (Ffind_coding_system):
4003 * text-coding.c (Fcopy_coding_system):
4004 * text-coding.c (encode_coding_no_conversion):
4005 * text-coding.c (syms_of_file_coding):
4006 * text-coding.c (vars_of_file_coding):
4007 Rewrite coding system alias code.
4008 Allow nested aliases, like symbolic links.
4009 Allow redefinition of coding system aliases.
4010 Prevent existence of dangling coding system aliases.
4011 Eliminate convert_to_external_format.
4012 Eliminate convert_to_internal_format.
4014 * text-coding.c: Change enum eol_type to eol_type_t.
4016 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4018 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4019 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4021 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4022 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4024 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4026 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4027 `ideograph-daikanwa'.
4029 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4030 (Vcharset_ucs_bmp): Likewise.
4031 (Vcharset_mojikyo): Add new extern variable definition.
4032 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4033 (Vcharset_latin_iso8859_3): Likewise.
4034 (Vcharset_latin_iso8859_4): Likewise.
4035 (Vcharset_latin_iso8859_9): Likewise.
4036 (Vcharset_latin_viscii_lower): Likewise.
4037 (Vcharset_latin_viscii_upper): Likewise.
4038 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4039 `mojikyo' code-point is used to decode.
4040 (encode_char_2): New function [to convert `mojikyo' code-point to
4041 Mojikyo font encoding].
4042 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4043 (breakup_char_1): Likewise.
4044 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4046 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4048 * text-coding.c (Fmake_coding_system): Add document about
4049 `disable-composition' property.
4051 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4053 * text-coding.c (Qdisable_composition): New variable; delete
4055 (Fmake_coding_system): Add new property `disable-composite';
4056 delete property `composite'.
4057 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4058 instead of `!CODING_SYSTEM_COMPOSITE'.
4059 (syms_of_file_coding): Add new symbol `disable-composition';
4060 delete symbol `composite'.
4062 * file-coding.h (struct Lisp_Coding_System): Add
4063 `disable_composition'; delete `enable_composition'.
4064 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4065 `CODING_SYSTEM_COMPOSITE'.
4066 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4067 `XCODING_SYSTEM_COMPOSITE'.
4069 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4071 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4074 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4076 * text-coding.c (Qcomposite): New variable.
4077 (Fmake_coding_system): Add new property `composite'.
4078 (struct decoding_stream): Add `combined_char_count',
4079 `combined_chars' and `combining_table' in UTF-2000.
4080 (COMPOSE_FLUSH_CHARS): New macro.
4081 (COMPOSE_ADD_CHAR): New macro.
4082 (reset_decoding_stream): Reset `str->combined_char_count' and
4083 `str->combining_table' in UTF-2000.
4084 (decode_coding_iso2022): Modify for character-decomposition.
4085 (syms_of_file_coding): Add new symbol `composite'.
4087 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4089 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4090 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4091 of `Vcharacter_composition_table' if `->decomposition' property
4093 (Qlatin_tcvn5712): New variable.
4094 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4095 (complex_vars_of_mule_charset): Add new coded-charset
4098 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4100 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4102 * file-coding.h (struct Lisp_Coding_System): Add
4103 `enable_composition'.
4104 (CODING_SYSTEM_COMPOSITE): New macro.
4105 (XCODING_SYSTEM_COMPOSITE): New macro.
4107 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4109 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4111 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4113 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4114 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4116 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4118 * mule-charset.c (Vcharset_mojikyo): New variable.
4119 (Fdefine_char): Don't use coded-charset which does not have
4120 non-builtin character range to allocate character-id.
4121 (Qmojikyo): New variable.
4122 (syms_of_mule_charset): Add new symbol `mojikyo'.
4123 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4125 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4126 (LEADING_BYTE_MOJIKYO): New macro.
4127 (MIN_CHAR_MOJIKYO): New macro.
4128 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4129 (MAX_CHAR_MOJIKYO): New macro.
4131 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4133 * mule-charset.c (remove_char_attribute): Fixed.
4135 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4137 * mule-charset.c (remove_char_attribute): New function.
4138 (Fremove_char_attribute): New function.
4139 (encode_builtin_char_1): Comment out builtin-support for
4140 greek-iso8859-7 and cyrillic-iso8859-5.
4141 (Fdecode_char): Check `code' is an integer.
4142 (syms_of_mule_charset): Add `remove-char-attribute'.
4143 (MIN_CHAR_GREEK): Deleted.
4144 (MAX_CHAR_GREEK): Likewise.
4145 (MIN_CHAR_CYRILLIC): Likewise.
4146 (MAX_CHAR_CYRILLIC): Likewise.
4147 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4148 MAX_CHAR_GREEK for `greek-iso8859-7'.
4150 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4151 (MAX_CHAR_GREEK): Likewise.
4152 (MIN_CHAR_CYRILLIC): Likewise.
4153 (MAX_CHAR_CYRILLIC): Likewise.
4155 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4157 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4158 format is used without `ucs' property.
4159 (Fdecode_char): Fix problem with GR representation.
4160 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4161 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4163 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4165 * mule-charset.c (make_builtin_char): New function.
4166 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4167 (Fset_charset_mapping_table): Modify for new representation of
4169 (Fdecode_char): New function.
4170 (syms_of_mule_charset): Add new builtin function `decode-char' in
4173 * char-ucs.h (make_builtin_char): New prototype.
4174 (DECODE_CHAR): New inline function.
4175 (MAKE_CHAR): Use `DECODE_CHAR'.
4177 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4179 * text-coding.c (parse_charset_conversion_specs): Use
4180 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4182 (iso2022_designate): Likewise.
4184 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4185 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4187 * mule-charset.c (Vcharset_ucs): New variable.
4188 (print_charset): Change design; use `CHARSET_CHARS' and
4189 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4190 (make_charset): Change signature to specify `chars' and
4191 `dimension' instead of `type'.
4192 (range_charset_code_point): Modify for 256^n-set.
4193 (encode_builtin_char_1): Encode as `ucs' in default.
4194 (Fmake_charset): Modify for `make_charset'.
4195 (Fmake_reverse_direction_charset): Likewise.
4196 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4198 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4201 * char-ucs.h (Vcharset_ucs): New variable.
4202 (LEADING_BYTE_UCS): New macro.
4203 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4204 and `chars' to `unsigned short' from `unsigned int'.
4205 (CHARSET_TYPE): Deleted.
4206 (XCHARSET_TYPE): Deleted.
4208 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4210 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4212 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4213 (ENCODE_CHAR): New macro.
4215 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4217 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4218 to 0.14 (Kawachi-Katakami).
4220 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4222 * text-coding.c (char_encode_shift_jis): Modify for
4223 `charset_code_point'.
4224 (char_encode_iso2022): Likewise.
4226 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4227 (integer) instead of list of <Lisp_Object>s (integers) as the
4228 format of code-point of a coded-charset.
4229 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4230 (encode_builtin_char_1): New function; delete
4231 `split_builtin_char'.
4232 (charset_code_point): Return <int> instead of <Lisp_Object>.
4233 (Fsplit_char): Don't use `SPLIT_CHAR'.
4235 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4236 prototype for `split_builtin_char'.
4237 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4238 (charset_code_point): Likewise.
4239 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4240 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4242 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4244 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4245 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4247 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4249 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4251 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4252 (MAX_CHAR_OBS_94x94): Deleted.
4254 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4256 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4258 * char-ucs.h (MAX_CHAR_BMP): New macro.
4260 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4262 * text-coding.c: Sync with r21-2-24.
4264 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4266 * file-coding.c: Modify for UTF-2000.
4268 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4270 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4273 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4275 * mule-charset.c (split_builtin_char): Delete builtin support for
4276 `katakana-jisx0201'.
4277 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4278 BMP area in builtin representation.
4280 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4281 `Vcharset_katakana_jisx0201'.
4283 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4285 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4286 (Qisolated): New variable.
4287 (Qinitial): New variable.
4288 (Qmedial): New variable.
4289 (Qfinal): New variable.
4290 (Qvertical): New variable.
4291 (Qsmall): New variable.
4292 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4293 `Qvertical' and `Qsmall'.
4294 (Qmojikyo_pj_[1 .. 21]): New variable.
4295 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4296 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4297 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4300 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4302 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4303 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4304 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4306 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4308 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4309 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4311 (Qjapanese_jisx0208_1990): New variable.
4312 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4313 (complex_vars_of_mule_charset): Add new coded-charset
4314 `japanese-jisx0208-1990'.
4316 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4317 (MIN_CHAR_JIS_X0208_1990): New macro.
4318 (MAX_CHAR_JIS_X0208_1990): New macro.
4320 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4322 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4323 coded-charset is not found.
4325 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4327 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4328 (Fdefine_char): Use `Fmake_char'.
4330 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4332 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4333 (Vcharset_hiragana_jisx0208): Deleted.
4334 (Vcharset_katakana_jisx0208): Deleted.
4335 (Qideograph_daikanwa): New variable.
4336 (Qhiragana_jisx0208): Deleted.
4337 (Qkatakana_jisx0208): Deleted.
4338 (split_builtin_char): Split `ideograph-daikanwa'.
4339 (Fsplit_char): New implementation for UTF-2000.
4340 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4341 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4342 (complex_vars_of_mule_charset): Add new coded-charset
4343 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4344 `katakana-jisx0208'.
4346 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4347 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4348 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4349 (MIN_CHAR_DAIKANWA): New macro.
4350 (MAX_CHAR_DAIKANWA): New macro.
4352 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4354 * data.c (Fstring_to_number): Don't recognize floating point if
4357 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4359 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4361 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4363 * mule-charset.c (Qsquare): New variable.
4364 (to_char_code): Add `Qsquare'.
4365 (syms_of_mule_charset): Add new symbol `square'.
4367 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4369 * mule-charset.c (Qcircle): New variable.
4370 (to_char_code): Add `Qcircle'.
4371 (syms_of_mule_charset): Add new symbol `circle'.
4373 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4375 * mule-charset.c (Qfont): New variable.
4376 (to_char_code): Add `Qfont'.
4377 (syms_of_mule_charset): Add new symbol `font'.
4379 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4381 * mule-charset.c (Qsub): New variable.
4382 (to_char_code): Add `Qsub'.
4383 (syms_of_mule_charset): Add new symbol `sub'.
4385 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4387 * mule-charset.c (Fput_char_attribute): Convert each element of
4388 VALUE to GL position if ATTRIBUTE is a GR-set,
4390 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4392 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4393 coded-charset is a GR-set.
4395 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4397 * mule-charset.c (Fput_char_attribute): Check each element of
4398 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4400 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4402 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4404 (Qethiopic_ucs): New variable in UTF-2000.
4405 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4406 (complex_vars_of_mule_charset): Add new coded-charset
4407 `ethiopic-ucs' in UTF-2000.
4409 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4410 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4412 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4414 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4416 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4418 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4421 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4423 * mule-charset.c (Vcharacter_variant_table): New variable.
4424 (Q_ucs): New variable.
4425 (Fchar_variants): New function.
4426 (Fput_char_attribute): Register `->ucs' value to
4427 `Vcharacter_variant_table'.
4428 (syms_of_mule_charset): Add new function `char-variants' and new
4430 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4432 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4434 * mule-charset.c (get_char_code_table): Allow negative character
4436 (put_char_code_table): Likewise.
4437 (Vcharacter_composition_table): New variable.
4438 (Q_decomposition): New variable.
4439 (Qwide): New variable.
4440 (Qnarrow): New variable.
4441 (Qcompat): New variable.
4442 (QnoBreak): New variable.
4443 (Qsuper): New variable.
4444 (Qfraction): New variable.
4445 (to_char_code): New function.
4446 (Fget_composite_char): New function.
4447 (Fput_char_attribute): Register `->decomposition' value to
4448 `Vcharacter_composition_table'.
4449 (syms_of_mule_charset): Add new function `get-composite-char', new
4450 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4451 `super' and `fraction'.
4452 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4454 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4456 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4457 character; copy the return value.
4459 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4461 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4463 * mule-charset.c (range_charset_code_point): Must use make_int.
4464 (split_builtin_char): New function.
4466 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4468 * mule-charset.c (char_byte_table): Change name from
4469 "char-code-table" to "char-byte-table".
4470 (mark_char_code_table): New function.
4471 (char_code_table_equal): New function.
4472 (char_code_table_hash): New function.
4473 (char_code_table_description): New constant.
4474 (char_code_table): New type.
4475 (make_char_code_table): New function.
4476 (copy_char_code_table): New function.
4477 (get_char_code_table): Modify for `char_code_table' type.
4478 (put_char_code_table): Likewise.
4479 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4482 * char-ucs.h (char_code_table): New type.
4483 (XCHAR_CODE_TABLE): New macro.
4484 (XSETCHAR_CODE_TABLE): New macro.
4485 (CHAR_CODE_TABLE_P): New macro.
4486 (GC_CHAR_CODE_TABLE_P): New macro.
4487 (struct Lisp_Char_Code_Table): New structure.
4489 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4491 * mule-charset.c (Fmake_charset): Setup byte_offset for
4494 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4496 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4499 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4501 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4504 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4506 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4507 charset, it is regarded as a charset.
4508 (put_char_attribute): New function in UTF-2000.
4509 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4510 charset, mapping-table of the charset is modified.
4511 (Fdefine_char): New function in UTF-2000.
4512 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4513 `Fput_char_attribute'.
4514 (syms_of_mule_charset): Add new function `define-char' and new
4515 symbol `ucs' in UTF-2000.
4516 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4518 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4520 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4521 non-UTF-2000 configuration.
4523 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4525 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4526 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4528 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4530 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4531 (Fset_charset_mapping_table): Likewise.
4533 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4534 (CHARSET_ENCODING_TABLE): Delete.
4535 (XCHARSET_ENCODING_TABLE): Delete.
4536 (charset_code_point): New interface.
4538 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4540 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4541 instead of `charset_get_byte1' and `charset_get_byte2'.
4543 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4544 (charset_get_byte2): Deleted.
4546 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4548 * char-ucs.h (SPLIT_CHAR): New inline function.
4549 (breakup_char_1): Use `SPLIT_CHAR'.
4551 * mule-charset.c (range_charset_code_point): New function.
4552 (charset_code_point): New function.
4554 * char-ucs.h (range_charset_code_point): New interface.
4555 (breakup_char_1): Use `range_charset_code_point'.
4557 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4559 * mule-charset.c (Fmake_charset): Delete unused local variable
4562 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4563 (breakup_char_1): Find a charset and code-point in
4564 `Vcharacter_attribute_table'.
4566 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4568 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4571 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4573 * mule-charset.c (Vcharacter_attribute_table): New variable.
4574 (Fchar_attribute_alist): New function.
4575 (Fget_char_attribute): New function.
4576 (Fput_char_attribute): New function.
4577 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4579 (syms_of_mule_charset): Add new function `char-attribute-alist',
4580 `get-char-attribute' and `put-char-attribute'.
4581 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4583 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4585 * mule-charset.c (Fmake_charset): Just use
4586 `get_unallocated_leading_byte'.
4588 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4589 sets; don't use final-byte based number for private sets.
4591 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4593 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4596 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4598 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4601 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4603 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4604 of `CHAR_LEADING_BYTE' in UTF-2000.
4606 * insdel.c (find_charsets_in_bufbyte_string): Use
4607 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4608 (find_charsets_in_emchar_string): Likewise.
4610 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4611 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4613 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4614 (CHAR_CHARSET_ID): New macro.
4616 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4618 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4619 charset-id - MIN_LEADING_BYTE.
4620 (put_char_table): Likewise.
4622 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4624 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4625 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4626 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4627 (CHARSET_ID_OFFSET): New macro.
4628 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4629 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4630 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4631 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4633 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4635 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4636 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4637 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4638 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4639 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4641 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4643 * mule-charset.c (next_allocated_leading_byte): New variable in
4645 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4646 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4647 (get_unallocated_leading_byte): Simply use
4648 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4649 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4652 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4653 (MAX_LEADING_BYTE_PRIVATE): New macro.
4654 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4655 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4657 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4659 * mule-charset.c (Fmake_charset): Allocate final-byte based
4660 charset-id for 94-set, 96-set and 94x94-set.
4662 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4664 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4666 (Fmake_charset): Likewise.
4667 (complex_vars_of_mule_charset): Modify the font registry of
4668 `ucs-bmp' not to match `Ethiopic-Unicode'.
4670 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4672 * mule-charset.c (complex_vars_of_mule_charset): Add font
4673 registory of `ucs-bmp'.
4675 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4677 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4678 coded-charsets in `default-coded-charset-priority-list' when
4679 breaking up a character.
4681 * mule-charset.c (Vcharset_latin_viscii): New variable.
4682 (Qlatin_viscii): New variable.
4683 (make_charset): Don't use `decoding_table'.
4684 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4686 (Fset_charset_mapping_table): New implementation.
4687 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4688 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4689 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4690 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4691 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4692 charset `latin_viscii'.
4694 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4695 (CHARSET_TYPE_94X94): Change to 1 from 2.
4696 (CHARSET_TYPE_96): Change to 2 from 1.
4697 (CHARSET_TYPE_128): New macro.
4698 (CHARSET_TYPE_128X128): Change to 5 from 4.
4699 (CHARSET_TYPE_256): New macro.
4700 (CHARSET_TYPE_256X256): Change to 7 from 5.
4701 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4703 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4705 * text-coding.c (char_encode_shift_jis): Refer
4706 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4707 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4709 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4710 (char_byte_table_equal): New function in UTF-2000.
4711 (char_byte_table_hash): New function in UTF-2000.
4712 (char_byte_table_description): New constant in UTF-2000.
4713 (char_byte_table): New type in UTF-2000.
4714 (make_char_byte_table): New function in UTF-2000.
4715 (copy_char_byte_table): New function in UTF-2000.
4716 (make_char_code_table): New macro in UTF-2000.
4717 (get_char_code_table): New function in UTF-2000.
4718 (put_char_code_table): New function in UTF-2000.
4719 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4720 (charset_description): Add setting in UTF-2000.
4721 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4722 `CHARSET_TO_BYTE1_TABLE(cs)'.
4723 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4724 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4725 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4726 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4727 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4728 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4729 `CHARSET_TO_BYTE2_TABLE(cs)'.
4731 * char-ucs.h (char_byte_table): New type.
4732 (XCHAR_BYTE_TABLE): New macro.
4733 (XSETCHAR_BYTE_TABLE): New macro.
4734 (CHAR_BYTE_TABLE_P): New macro.
4735 (GC_CHAR_BYTE_TABLE_P): New macro.
4736 (struct Lisp_Char_Byte_Table): New structure.
4737 (get_char_code_table): New interface.
4738 (Emchar_to_byte_table): Deleted.
4739 (get_byte_from_character_table): Deleted.
4740 (struct Lisp_Charset): Add `encoding_table'; delete
4741 `to_byte1_table' and `to_byte2_table'.
4742 (CHARSET_ENCODING_TABLE): New macro.
4743 (CHARSET_TO_BYTE1_TABLE): Deleted.
4744 (CHARSET_TO_BYTE2_TABLE): Deleted.
4745 (XCHARSET_ENCODING_TABLE): New macro.
4746 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4747 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4749 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4751 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4752 `vietnamese-viscii-*'.
4754 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4756 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4757 (Qvietnamese_viscii_upper): New variable.
4758 (Fdefine_charset_alias): New function.
4759 (syms_of_mule_charset): Add new function `define-charset-alias'.
4760 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4761 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4764 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4766 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4767 (MAX_CHAR_OBS_94x94): New macro.
4768 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4771 * mule-charset.c (put_byte_from_character_table): Change unit size
4773 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4775 (Fmake_reverse_direction_charset): Modify dummy argument of
4776 `make_charset' for non-UTF-2000 environment.
4778 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4780 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4782 * mule-charset.c (destroy_byte_from_character_table): New macro.
4783 (latin_jisx0201_to_ucs): Deleted.
4784 (latin_iso8859_2_to_ucs): Deleted.
4785 (latin_iso8859_3_to_ucs): Deleted.
4786 (latin_iso8859_4_to_ucs): Deleted.
4787 (latin_iso8859_9_to_ucs): Deleted.
4788 (latin_viscii_lower_to_ucs): Deleted.
4789 (latin_viscii_upper_to_ucs): Deleted.
4790 (mark_charset): Mark `cs->decoding_table'.
4791 (Fcharset_mapping_table): Fix DOC-string.
4792 (Fset_charset_mapping_table): New function.
4793 (syms_of_mule_charset): Add nwe function
4794 `set-charset-mapping-table'.
4795 (complex_vars_of_mule_charset): Don't setup and use
4798 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4800 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4803 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4805 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4806 (Vcharset_katakana_jisx0208): New variable.
4807 (Qhiragana_jisx0208): New variable.
4808 (Qkatakana_jisx0208): New variable.
4809 (make_charset): Add new argument `byte_offset'.
4810 (charset_get_byte1): Modify for new coded-charset definition; use
4811 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4812 `XCHARSET_BYTE_OFFSET'.
4813 (Fmake_charset): Modify for `make_charset'.
4814 (Fmake_reverse_direction_charset): Likewise.
4815 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4816 `katakana-jisx0208'.
4817 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4818 `.' in font registry of charset `katakana-jisx0201',
4819 `latin-jisx0201', `vietnamese-viscii-lower' and
4820 `vietnamese-viscii-upper'; modify DOC-string of charset
4821 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4822 registry of charset `japanese-jisx0208' not to use font for JIS
4823 X0208:1990; add new charset `hiragana-jisx0208' and
4824 `katakana-jisx0208'.
4826 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4827 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4828 (struct Lisp_Charset): Add `byte_offset'.
4829 (CHARSET_BYTE_OFFSET): New macro.
4830 (XCHARSET_UCS_MIN): New macro.
4831 (XCHARSET_UCS_MAX): New macro.
4832 (XCHARSET_CODE_OFFSET): New macro.
4833 (XCHARSET_BYTE_OFFSET): New macro.
4834 (MIN_CHAR_HIRAGANA): New macro.
4835 (MAX_CHAR_HIRAGANA): New macro.
4836 (MIN_CHAR_KATAKANA): New macro.
4837 (MAX_CHAR_KATAKANA): New macro.
4838 (MAKE_CHAR): Modify for new coded-charset definition; use
4839 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4840 `XCHARSET_BYTE_OFFSET'.
4842 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4844 * mule-charset.c (CHAR96): Deleted.
4845 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4847 (latin_iso8859_2_to_ucs): Likewise.
4848 (latin_iso8859_3_to_ucs): Likewise.
4849 (latin_iso8859_4_to_ucs): Likewise.
4850 (latin_iso8859_9_to_ucs): Likewise.
4851 (latin_viscii_lower_to_ucs): Likewise.
4852 (latin_viscii_upper_to_ucs): Likewise.
4853 (latin_tcvn5712_to_ucs): Commented out.
4854 (make_charset): Change type of argument `decoding_table' from
4855 <Emchar*> to <Lisp_Object> [vector of characters].
4856 (Fmake_charset): Modify for `make_charset'.
4857 (Fmake_reverse_direction_charset): Likewise.
4858 (Fcharset_mapping_table): New function in UTF-2000.
4859 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4861 (complex_vars_of_mule_charset): Modify for type change of
4862 `*_to_ucs'; modify for `make_charset'.
4864 * char-ucs.h (struct Lisp_Charset): Change type of
4865 `decoding_table' from <Emchar*> to <Lisp_Object>.
4866 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4868 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4870 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4871 error with non-UTF-2000-Mule.
4873 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4875 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4877 (Vcharset_chinese_cns11643_4): Likewise.
4878 (Vcharset_chinese_cns11643_5): Likewise.
4879 (Vcharset_chinese_cns11643_6): Likewise.
4880 (Vcharset_chinese_cns11643_7): Likewise.
4881 (Qchinese_cns11643_3): Likewise.
4882 (Qchinese_cns11643_4): Likewise.
4883 (Qchinese_cns11643_5): Likewise.
4884 (Qchinese_cns11643_6): Likewise.
4885 (Qchinese_cns11643_7): Likewise.
4886 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4887 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4888 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4889 (complex_vars_of_mule_charset): Likewise.
4891 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4893 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4895 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4896 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4898 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4900 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4902 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4903 (breakup_char_1): Likewise.
4905 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4906 one of them includes the specified character.
4908 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4910 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4912 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4914 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4916 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4918 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4919 definition for non-UTF-2000 Mule.
4920 (latin_iso8859_3_to_ucs): Likewise.
4921 (latin_iso8859_4_to_ucs): Likewise.
4922 (latin_iso8859_9_to_ucs): Likewise.
4923 (latin_jisx0201_to_ucs): Likewise.
4924 (MIN_CHAR_THAI): Likewise.
4925 (MAX_CHAR_THAI): Likewise.
4926 (MIN_CHAR_GREEK): Likewise.
4927 (MAX_CHAR_GREEK): Likewise.
4928 (MIN_CHAR_HEBREW): Likewise.
4929 (MAX_CHAR_HEBREW): Likewise.
4930 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4931 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4932 (MIN_CHAR_CYRILLIC): Likewise.
4933 (MAX_CHAR_CYRILLIC): Likewise.
4935 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4937 * char-ucs.h (breakup_char_1): Use
4938 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4939 thai-tis620 and katakana-jisx0201 area.
4941 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4943 * char-ucs.h (breakup_char_1): Use
4944 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4947 * text-coding.c (reset_encoding_stream): Fixed.
4948 (char_encode_ucs4): Delete `& 255'.
4950 * char-ucs.h (breakup_char_1): Use
4951 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4953 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4955 * file-coding.c (Fmake_coding_system): Don't set up
4956 `codesys->fixed.size'.
4957 (encode_coding_no_conversion): Don't refer
4958 `str->codesys->fixed.size'.
4960 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4962 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4963 (latin_a_char_to_byte1): Deleted.
4964 (latin_a_char_to_byte2): Deleted.
4966 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4968 * mule-charset.c (make_charset): Add new argument `ucs_min',
4969 `ucs_max' and `code_offset'.
4970 (charset_get_byte1): New implementation [delete specific charset
4971 depended implementations].
4972 (Fmake_charset): Modify for `make_charset'.
4973 (Fmake_reverse_direction_charset): Likewise.
4974 (complex_vars_of_mule_charset): Likewise.
4976 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4978 (CHARSET_UCS_MIN): New macro.
4979 (CHARSET_UCS_MAX): New macro.
4980 (CHARSET_CODE_OFFSET): New macro.
4981 (MAKE_CHAR): Delete charset depended definitions [except
4984 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4986 * char-ucs.h (breakup_char_1): Use
4987 `Vdefault_coded_charset_priority_list' for C0-Controls,
4988 Basic-Latin, C1-Controls and Latin-1-Supplement area.
4990 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4992 * char-ucs.h (charset_get_byte1): New function.
4993 (XCHARSET_GET_BYTE1): Deleted.
4994 (charset_get_byte2): New function.
4995 (XCHARSET_GET_BYTE2): Deleted.
4996 (Vdefault_coded_charset_priority_list): New external variable.
4997 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
4998 `Vdefault_preferred_coded_charset_list'.
5000 * mule-charset.c (charset_get_byte1): New function.
5001 (charset_get_byte2): New function.
5002 (Vdefault_coded_charset_priority_list): New variable.
5003 (vars_of_mule_charset): Add new variable
5004 `default-coded-charset-priority-list'.
5006 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5008 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5009 (XCHARSET_GET_BYTE2): New inline function.
5010 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5011 `XCHARSET_GET_BYTE2'.
5013 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5015 * mule-charset.c (make_charset): Initialize
5016 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5017 NULL if table is not defined.
5019 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5021 * text-coding.c (char_encode_shift_jis): Use
5022 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5023 `ucs_to_latin_jisx0201'.
5025 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5026 (ucs_to_latin_iso8859_2): Deleted.
5027 (ucs_to_latin_iso8859_3): Deleted.
5028 (ucs_to_latin_iso8859_4): Deleted.
5029 (ucs_to_latin_iso8859_9): Deleted.
5030 (ucs_to_latin_viscii_lower): Deleted.
5031 (ucs_to_latin_viscii_upper): Deleted.
5032 (ucs_to_latin_tcvn5712): Deleted.
5033 (make_charset): Add new argument `decoding_table'; set up
5034 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5035 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5036 `decoding_table' is defined in UTF-2000.
5037 (Fmake_charset): Modify for `make_charset'.
5038 (Fmake_reverse_direction_charset): Likewise.
5039 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5040 and `GENERATE_96_SET'.
5042 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5043 (ucs_to_latin_jisx0201): Deleted.
5044 (latin_iso8859_2_to_ucs): Deleted.
5045 (ucs_to_latin_iso8859_2): Deleted.
5046 (latin_iso8859_3_to_ucs): Deleted.
5047 (ucs_to_latin_iso8859_3): Deleted.
5048 (latin_iso8859_4_to_ucs): Deleted.
5049 (ucs_to_latin_iso8859_4): Deleted.
5050 (latin_iso8859_9_to_ucs): Deleted.
5051 (ucs_to_latin_iso8859_9): Deleted.
5052 (latin_viscii_lower_to_ucs): Deleted.
5053 (ucs_to_latin_viscii_lower): Deleted.
5054 (latin_viscii_upper_to_ucs): Deleted.
5055 (ucs_to_latin_viscii_upper): Deleted.
5056 (struct Lisp_Charset): Renamed `encoding_table' to
5057 `to_byte1_table'; add `to_byte2_table'.
5058 (CHARSET_DECODING_TABLE): New macro.
5059 (CHARSET_TO_BYTE1_TABLE): New macro.
5060 (CHARSET_TO_BYTE2_TABLE): New macro.
5061 (XCHARSET_DECODING_TABLE): New macro.
5062 (XCHARSET_TO_BYTE1_TABLE): New macro.
5063 (XCHARSET_TO_BYTE2_TABLE): New macro.
5064 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5066 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5067 don't use `ucs_to_*' tables.
5069 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5071 * text-coding.c (Fmake_coding_system): Don't set up
5072 `codesys->fixed.size'.
5073 (encode_coding_no_conversion): Use `if' instead of `switch'.
5075 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5077 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5079 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5080 (Fmake_charset): Modify for `make_charset'.
5081 (Fmake_reverse_direction_charset): Likewise.
5082 (complex_vars_of_mule_charset): Likewise.
5084 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5086 * text-coding.c (char_encode_shift_jis): Use table
5087 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5089 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5091 * text-coding.c (text_encode_generic): Use `if' instead of
5093 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5096 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5098 * text-coding.c (encode_coding_sjis): Deleted.
5099 (char_encode_shift_jis): New function.
5100 (char_finish_shift_jis): New function.
5101 (reset_encoding_stream): Set up `encode_char' and `finish' for
5102 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5103 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5104 (char_encode_utf8): Treat `eol_type'.
5106 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5108 * file-coding.c (decode_coding_iso2022): Use
5109 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5111 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5113 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5116 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5118 * char-lb.h (CHAR_COLUMNS): New macro.
5120 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5122 * text-coding.c (char_encode_ucs4): New function.
5123 (char_finish_ucs4): New function.
5124 (encode_coding_ucs4): Deleted.
5125 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5126 (text_encode_generic): Delete local variable `charset' and `half'.
5127 (ucs_to_mule_table): Deleted.
5128 (mule_to_ucs_table): Deleted.
5129 (Fset_ucs_char): Deleted.
5130 (ucs_to_char): Deleted.
5131 (Fucs_char): Deleted.
5132 (Fset_char_ucs): Deleted.
5133 (Fchar_ucs): Deleted.
5134 (decode_ucs4): Deleted.
5135 (mule_char_to_ucs4): Deleted.
5136 (encode_ucs4): Deleted.
5137 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5138 (decode_coding_utf8): Likewise.
5139 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5140 (char_encode_iso2022): Fixed.
5141 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5142 `Fset_char_ucs' and `Fchar_ucs'.
5143 (complex_vars_of_file_coding): Don't initialize
5144 `ucs_to_mule_table'.
5146 * objects-tty.c (tty_initialize_font_instance): Don't use
5149 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5152 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5153 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5155 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5156 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5157 (emchar_string_displayed_columns): Likewise.
5159 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5160 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5161 (string_column_at_point): Likewise.
5162 (Fmove_to_column): Likewise.
5164 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5165 `encoding_table' and `decoding_table'.
5166 (CHARSET_REP_BYTES): Deleted.
5167 (XCHARSET_REP_BYTES): Deleted.
5168 (XCHARSET_COLUMNS): Deleted.
5169 (CHAR_COLUMNS): New macro.
5170 (lookup_composite_char): Deleted unconditionally.
5171 (composite_char_string): Likewise.
5173 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5175 * char-ucs.h (Emchar_to_byte_table): New type.
5176 (get_byte_from_character_table): New function interface.
5177 (Vcharset_latin_jisx0201): New variable.
5178 (latin_jisx0201_to_ucs): New variable.
5179 (ucs_to_latin_jisx0201): New variable.
5180 (Vcharset_latin_iso8859_2): New variable.
5181 (latin_iso8859_2_to_ucs): New variable.
5182 (ucs_to_latin_iso8859_2): New variable.
5183 (Vcharset_latin_iso8859_3): New variable.
5184 (latin_iso8859_3_to_ucs): New variable.
5185 (ucs_to_latin_iso8859_3): New variable.
5186 (Vcharset_latin_iso8859_4): New variable.
5187 (latin_iso8859_4_to_ucs): New variable.
5188 (ucs_to_latin_iso8859_4): New variable.
5189 (Vcharset_latin_iso8859_9): New variable.
5190 (latin_iso8859_9_to_ucs): New variable.
5191 (ucs_to_latin_iso8859_9): New variable.
5192 (Vcharset_latin_viscii_lower): New variable.
5193 (latin_viscii_lower_to_ucs): New variable.
5194 (ucs_to_latin_viscii_lower): New variable.
5195 (Vcharset_latin_viscii_upper): New variable.
5196 (latin_viscii_upper_to_ucs): New variable.
5197 (ucs_to_latin_viscii_upper): New variable.
5198 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5199 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5200 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5201 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5202 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5203 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5204 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5205 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5206 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5207 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5209 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5210 (Vcharset_latin_viscii_upper): New variable.
5211 (make_byte_from_character_table): New function.
5212 (put_byte_from_character_table): New function.
5213 (get_byte_from_character_table): New function.
5214 (CHAR96): New macro.
5215 (ucs_to_latin_jisx0201): New variable.
5216 (latin_jisx0201_to_ucs): New variable.
5217 (ucs_to_latin_iso8859_2): New variable.
5218 (latin_iso8859_2_to_ucs): New variable.
5219 (ucs_to_latin_iso8859_3): New variable.
5220 (latin_iso8859_3_to_ucs): New variable.
5221 (ucs_to_latin_iso8859_4): New variable.
5222 (latin_iso8859_4_to_ucs): New variable.
5223 (ucs_to_latin_iso8859_9): New variable.
5224 (latin_iso8859_9_to_ucs): New variable.
5225 (ucs_to_latin_viscii_lower): New variable.
5226 (latin_viscii_lower_to_ucs): New variable.
5227 (ucs_to_latin_viscii_upper): New variable.
5228 (latin_viscii_upper_to_ucs): New variable.
5229 (ucs_to_latin_tcvn5712): New variable.
5230 (latin_tcvn5712_to_ucs): New variable.
5231 (Qlatin_viscii_lower): New variable.
5232 (Qlatin_viscii_upper): New variable.
5233 (syms_of_mule_charset): Set up new symbol
5234 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5235 (complex_vars_of_mule_charset): Set up new charset
5236 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5237 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5238 `ucs_to_<CHARSET>' tables.
5240 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5242 * text-coding.c: New file.
5244 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5246 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5248 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5249 (MAKE_CHAR): Modify for `ucs-bmp'.
5250 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5251 non-MULE characters of BMP.
5253 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5255 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5258 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5261 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5262 - Include character.h for `CHAR_ASCII_P'.
5264 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5266 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5267 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5269 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5270 (BYTE_C0_P): Likewise.
5271 (BYTE_C1_P): Likewise.
5272 (Lstream_get_emchar_1): Likewise.
5273 (Lstream_fput_emchar): Likewise.
5274 (Lstream_funget_emchar): Likewise.
5275 (copy_internal_to_external): Likewise.
5276 (copy_external_to_internal): Likewise.
5278 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5279 (BYTE_C0_P): Likewise.
5280 (BYTE_C1_P): Likewise.
5281 (Lstream_get_emchar_1): Likewise.
5282 (Lstream_fput_emchar): Likewise.
5283 (Lstream_funget_emchar): Likewise.
5284 (copy_internal_to_external): Likewise.
5285 (copy_external_to_internal): Likewise.
5287 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5288 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5290 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5291 (BYTE_ASCII_P): Moved to mb-1byte.h.
5293 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5295 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5297 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5298 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5299 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5300 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5301 (VALIDATE_CHARPTR_FORWARD): Likewise.
5302 (simple_charptr_emchar): Moved to mb-multibyte.h.
5303 (simple_set_charptr_emchar): Likewise.
5304 (simple_charptr_copy_char): Likewise.
5305 (non_ascii_charptr_emchar): Likewise.
5306 (non_ascii_set_charptr_emchar): Likewise.
5307 (non_ascii_charptr_copy_char): Likewise.
5308 (charptr_emchar): Moved to mb-*byte.h.
5309 (set_charptr_emchar): Likewise.
5310 (charptr_copy_char): Likewise.
5312 * mb-1byte.h, mb-multibyte.h: New files.
5314 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5316 * mb-utf-8.h (MULTIBYTE): New macro.
5317 (MAX_EMCHAR_LEN): Moved from buffer.h.
5318 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5320 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5322 * mb-lb.h, multibyte.h: New files.
5324 * char-1byte.h (Charset_ID): Moved from buffer.h.
5325 (MIN_LEADING_BYTE): Likewise.
5326 (LEADING_BYTE_ASCII): Likewise.
5327 (NUM_LEADING_BYTES): Likewise.
5328 (CHARSETP): Likewise.
5329 (CHARSET_BY_LEADING_BYTE): Likewise.
5330 (XCHARSET_LEADING_BYTE): Likewise.
5331 (XCHARSET_GRAPHIC): Likewise.
5332 (XCHARSET_COLUMNS): Likewise.
5333 (XCHARSET_DIMENSION): Likewise.
5334 (CHAR_CHARSET): Likewise.
5335 (CHAR_LEADING_BYTE): Likewise.
5336 (BREAKUP_CHAR): Likewise.
5337 (Vcharset_ascii): Likewise.
5339 * buffer.h: Include multibyte.h unconditionally.
5340 (VALID_CHARPTR_P): Moved to multibyte.h.
5341 (ASSERT_VALID_CHARPTR): Likewise.
5342 (REAL_INC_CHARPTR): Likewise.
5343 (REAL_INC_CHARBYTIND): Likewise.
5344 (REAL_DEC_CHARPTR): Likewise.
5345 (INC_CHARPTR): Likewise.
5346 (INC_CHARBYTIND): Likewise.
5347 (DEC_CHARPTR): Likewise.
5348 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5349 (VALIDATE_CHARPTR_FORWARD): Likewise.
5350 (charptr_n_addr): Likewise.
5351 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5352 (simple_charptr_emchar): Moved to multibyte.h.
5353 (simple_set_charptr_emchar): Likewise.
5354 (simple_charptr_copy_char): Likewise.
5355 (non_ascii_charptr_emchar): Likewise.
5356 (non_ascii_set_charptr_emchar): Likewise.
5357 (non_ascii_charptr_copy_char): Likewise.
5358 (charptr_emchar): Likewise.
5359 (set_charptr_emchar): Likewise.
5360 (charptr_copy_char): Likewise.
5361 (charptr_emchar_n): Likewise.
5362 (Charset_ID): Moved to char-1byte.h.
5363 (Vcharset_ascii): Likewise.
5364 (CHAR_CHARSET): Likewise.
5365 (CHAR_LEADING_BYTE): Likewise.
5366 (LEADING_BYTE_ASCII): Likewise.
5367 (NUM_LEADING_BYTES): Likewise.
5368 (MIN_LEADING_BYTE): Likewise.
5369 (CHARSETP): Likewise.
5370 (CHARSET_BY_LEADING_BYTE): Likewise.
5371 (XCHARSET_LEADING_BYTE): Likewise.
5372 (XCHARSET_GRAPHIC): Likewise.
5373 (XCHARSET_COLUMNS): Likewise.
5374 (XCHARSET_DIMENSION): Likewise.
5375 (BREAKUP_CHAR): Likewise.
5377 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5379 * character.h: Add document about interface for characters.
5381 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5382 (MAKE_CHAR): Delete comment about
5383 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5384 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5385 (BREAKUP_CHAR): Modify name of arguments.
5386 (CHAR_CHARSET): Modify name of argument.
5388 * buffer.h: Delete document about Emchar accessors.
5390 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5392 * character.h (CHAR_INTP): Moved from buffer.h
5393 (CHAR_OR_CHAR_INTP): Likewise.
5394 (XCHAR_OR_CHAR_INT): Likewise.
5395 (CHECK_CHAR_COERCE_INT): Likewise.
5397 * buffer.h (CHAR_INTP): Moved to character.h
5398 (CHAR_OR_CHAR_INTP): Likewise.
5399 (XCHAR_OR_CHAR_INT): Likewise.
5400 (CHECK_CHAR_COERCE_INT): Likewise.
5402 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5405 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5406 - Include char-1byte.h, char-lb.h or char-ucs.h.
5408 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5410 * buffer.h: Include character unconditionally.
5411 (valid_char_p): Moved to char-*.h.
5412 (non_ascii_valid_char_p): Moved to char-lb.h.
5414 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5416 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5418 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5419 in UTF-2000 because it is not ported yet and not to use
5420 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5421 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5422 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5424 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5425 (CHAR_ASCII_P): Moved from character.h.
5427 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5428 (CHAR_ASCII_P): Likewise.
5429 (CHAR_FIELD1_MASK): Deleted.
5430 (CHAR_FIELD2_MASK): Deleted.
5431 (CHAR_FIELD3_MASK): Deleted.
5432 (MAX_CHAR_BASIC_LATIN): New macro.
5433 (CHAR_FIELD1): Deleted.
5434 (CHAR_FIELD2_INTERNAL): Deleted.
5435 (CHAR_FIELD3_INTERNAL): Deleted.
5436 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5437 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5438 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5439 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5440 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5441 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5442 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5443 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5444 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5445 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5446 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5447 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5448 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5449 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5450 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5451 (MIN_CHAR_COMPOSITION): Deleted.
5452 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5453 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5455 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5457 * buffer.h: Include mb-utf-8.h in UTF-2000.
5459 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5461 * mb-utf-8.h: New file.
5463 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5465 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5468 * mule-charset.h, buffer.h (Charset_ID): New type.
5470 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5472 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5473 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5474 instead of `MULE_CHAR_PRIVATE_OFFSET',
5475 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5476 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5477 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5479 * character.h (Vcharset_japanese_jisx0212): New variable
5482 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5484 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5485 (charset_by_attributes): Delete array about direction.
5486 (latin_a_char_to_charset): New variable in UTF-2000.
5487 (latin_a_char_to_byte1): New variable in UTF-2000.
5488 (latin_a_char_to_byte2): New variable in UTF-2000.
5489 (Qucs_bmp): New variable.
5490 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5492 (next_allocated_2_byte_leading_byte): Likewise.
5493 (non_ascii_set_charptr_emchar): Likewise.
5494 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5495 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5496 `charset_by_attributes'.
5497 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5498 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5499 and `CHARSET_BY_LEADING_BYTE'.
5500 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5501 `utf-2000-version' to `vars_of_mule_charset'.
5502 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5503 define `leading-code-private-11' in UTF-2000; move setting of
5504 `utf-2000-version' from `syms_of_mule_charset'.
5505 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5508 * character.h (Charset_ID): New type.
5509 (LEADING_BYTE_UCS_BMP): New macro.
5510 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5511 (CHARSET_ID_OFFSET_94): New macro.
5512 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5513 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5514 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5516 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5517 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5518 (CHARSET_ID_OFFSET_96): New macro.
5519 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5520 CHARSET_ID_OFFSET_96 and final-byte.
5521 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5522 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5523 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5524 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5525 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5526 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5527 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5528 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5529 (LEADING_BYTE_THAI_TIS620): Likewise.
5530 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5531 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5532 (CHARSET_ID_OFFSET_94x94): New macro.
5533 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5534 CHARSET_ID_OFFSET_94x94 and final-byte.
5535 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5536 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5537 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5538 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5539 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5540 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5541 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5542 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5543 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5544 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5545 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5546 (CHARSET_TYPE_128X128): New macro.
5547 (CHARSET_TYPE_256X256): New macro.
5548 (XCHARSET_PRIVATE_P): Delete unconditionally.
5549 (charset_by_attributes): Delete array about direction.
5550 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5551 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5552 (MIN_CHAR_94): New macro.
5553 (MAX_CHAR_94): New macro.
5554 (MIN_CHAR_96): New macro.
5555 (MAX_CHAR_96): New macro.
5556 (MIN_CHAR_94x94): New macro.
5557 (MAX_CHAR_94x94): New macro.
5558 (MIN_CHAR_96x96): New macro.
5559 (MAX_CHAR_96x96): New macro.
5560 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5561 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5562 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5564 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5565 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5566 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5567 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5568 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5569 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5570 `XCHARSET_LEADING_BYTE' to make code-point.
5571 (latin_a_char_to_charset): New variable.
5572 (latin_a_char_to_byte1): New variable.
5573 (latin_a_char_to_byte2): New variable.
5574 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5575 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5576 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5578 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5579 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5580 (find_charsets_in_emchar_string): Likewise.
5581 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5583 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5585 (decode_coding_iso2022): Likewise.
5587 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5590 * redisplay.c (redisplay_text_width_emchar_string): Use
5591 `Charset_ID' instead of `unsigned char'.
5592 (redisplay_frame_text_width_string): Likewise.
5594 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5597 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5598 instead of `unsigned char'.
5599 (face_cachel_charset_font_metric_info): Likewise.
5601 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5602 (get_non_ascii_char_table_value): Likewise.
5603 (get_char_table): Likewise.
5604 (put_char_table): Likewise.
5605 (map_over_other_charset): Likewise.
5606 (map_char_table): Likewise.
5608 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5609 instead of `unsigned char'.
5611 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5613 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5614 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5616 * mule-charset.c (leading_code_private_11): Don't define in
5619 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5620 in UTF-2000 because it is not ported yet and not to use
5621 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5623 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5625 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5627 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5629 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5632 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5633 of unsigned char to store leading-byte.
5635 * chartab.c (get_non_ascii_char_table_value): Don't use
5636 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5638 * file-coding.c (encode_coding_big5): Delete bogus implementation
5641 * character.h (LEADING_BYTE_*): Delete definition for
5643 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5644 (LEADING_BYTE_PREFIX_P): Deleted.
5645 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5646 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5647 (BUFBYTE_LEADING_BYTE_P): Deleted.
5648 (CHARSET_PRIVATE_P): Deleted unconditionally.
5649 (rep_bytes_by_first_byte): Deleted unconditionally.
5650 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5651 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5652 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5653 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5654 (CHAR_FIELD2): Deleted.
5655 (CHAR_FIELD3): Deleted.
5656 (MAKE_CHAR): Delete definition for non-UTF-2000.
5657 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5658 (breakup_char_1): New implementation.
5659 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5660 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5662 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5664 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5667 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5669 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5670 (CHARSET_PRIVATE_P): Likewise.
5671 (XCHARSET_PRIVATE_P): Likewise.
5672 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5674 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5676 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5678 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5680 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5681 (NUM_LEADING_BYTES): Changed from 128 to 256.
5682 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5683 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5685 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5687 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5689 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5690 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5691 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5692 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5693 (Qchinese_cns11643_3): New variable in UTF2000.
5694 (Qchinese_cns11643_4): New variable in UTF2000.
5695 (Qchinese_cns11643_5): New variable in UTF2000.
5696 (Qchinese_cns11643_6): New variable in UTF2000.
5697 (Qchinese_cns11643_7): New variable in UTF2000.
5698 (syms_of_mule_charset): Define `chinese-cns11643-3',
5699 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5700 and `chinese-cns11643-7' in UTF2000.
5701 (vars_of_mule_charset): Initialize
5702 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5704 (complex_vars_of_mule_charset): Setup charset
5705 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5706 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5708 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5710 * mule-charset.c: Move setting for `leading-code-private-11' from
5711 `syms_of_mule_charset' to `vars_of_mule_charset'.
5713 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5715 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5716 and `NUM_LEADING_BYTES' in assert.
5718 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5720 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5722 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5723 `NUM_LEADING_BYTES' instead of 128.
5725 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5727 * mule-charset.h (charset_by_leading_byte): Use
5728 `NUM_LEADING_BYTES' instead of 128.
5729 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5731 * mule-charset.c (charset_by_leading_byte): Use
5732 `NUM_LEADING_BYTES' instead of 128.
5733 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5735 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5738 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5740 * mule-charset.c (syms_of_mule_charset): Update to
5743 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5745 * file-coding.c (encode_coding_sjis): New implementation for
5746 UTF2000. (decode_coding_sjis): Ditto.
5748 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5750 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5751 Don't define in UTF2000.
5753 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5756 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5757 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5760 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5762 * config.h.in (CHAR_IS_UCS4): New macro.
5764 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5765 conventional MULE representation.
5766 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5768 * mule-charset.h: Reverted to original.
5770 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5771 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5772 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5774 * character.h: New file.
5776 * file-coding.c (Fmake_coding_system): Set 1 to
5777 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5779 (encode_coding_no_conversion): New implementation for UTF2000.
5781 * file-coding.h (struct Lisp_Coding_System): Add new member
5784 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5786 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5787 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5788 (encode_coding_iso2022): New implementation for UTF2000.
5790 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5792 * mule-canna.c (c2mu): New implementation for UTF2000.
5795 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5797 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5799 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5801 * file-coding.c (reset_encoding_stream): Set 0 to
5802 `str->iso2022.current_char_boundary' in UTF2000.
5803 (encode_utf8): Don't define in UTF2000.
5804 (encode_coding_utf8): New implementation for UTF-8 representation
5806 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5808 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5810 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5812 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5814 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5816 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5818 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5819 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5820 as UTF-8 in UTF2000.
5821 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5822 (non_ascii_valid_char_p): Don't define in UTF2000.
5823 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5824 (Lstream_get_emchar_1): Likewise.
5825 (utf-2000-version): New variable in UTF2000.
5827 * lread.c (read_escape): Add new reader `u'.
5829 * insdel.c (three_to_one_table): Don't define in UTF2000.
5830 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5831 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5833 (bytind_to_bufpos_func): Likewise.
5834 (buffer_mule_signal_inserted_region): Likewise.
5835 (vars_of_insdel): Don't initialize `three_to_one_table'.
5836 (init_buffer_text): Use `buf->text->mule_size' instead of
5837 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5840 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5841 UTF-8 representation in UTF2000.
5842 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5843 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5844 (decode_coding_iso2022): Don't define local variable `lb' in
5845 UTF2000; don't use LEADING_BYTE in UTF2000; use
5846 `DECODE_ADD_UCS_CHAR' in UTF2000.
5847 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5849 * config.h.in (UTF2000): New macro.
5851 * buffer.h (struct buffer_text): Add new member `mule_size' and
5852 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5853 (valid_char_p): Return always 1 in UTF2000.
5854 (MAX_EMCHAR_LEN): 6 in UTF2000.
5855 (three_to_one_table): Don't define in UTF2000.
5856 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5858 (real_bytind_to_bufpos): Likewise.
5860 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5862 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5864 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5865 representation change.
5866 (Vutf_2000_version): New variable.
5867 (leading_code_private_11): New variable.
5868 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5869 `leading-code-private-11'.
5871 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5872 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5873 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5874 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5875 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5876 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5877 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5878 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5879 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5880 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5881 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5882 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5883 (MIN_CHAR_GREEK): New macro.
5884 (MAX_CHAR_GREEK): New macro.
5885 (MIN_CHAR_CYRILLIC): New macro.
5886 (MAX_CHAR_CYRILLIC): New macro.
5887 (MIN_CHAR_HEBREW): New macro.
5888 (MAX_CHAR_HEBREW): New macro.
5889 (MIN_CHAR_THAI): New macro.
5890 (MAX_CHAR_THAI): New macro.
5891 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5892 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5893 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5894 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5895 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5896 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5897 (CHAR_FIELD2): New inline function.
5898 (CHAR_FIELD3): New inline function.
5899 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5900 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5901 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5902 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5903 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5904 (MIN_CHAR_COMPOSITION): Likewise.
5905 (CHAR_LEADING_BYTE): Modified for character representation change.
5906 (MAKE_CHAR): Likewise.
5908 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5909 (Vcharset_greek_iso8859_7): Likewise.
5910 (Vcharset_cyrillic_iso8859_5): Likewise.
5911 (Vcharset_hebrew_iso8859_8): Likewise.
5912 (Vcharset_thai_tis620): Likewise.
5913 (Vcharset_katakana_jisx0201): Likewise.
5915 2007-10-07 Vin Shelton <acs@xemacs.org>
5917 * XEmacs 21.4.21 is released
5919 2007-08-14 Marcus Crestani <crestani@xemacs.org>
5921 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
5923 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
5925 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
5926 (png_instantiate): Initialize setjmp_buffer early, and avoid
5927 recursive entry to error handler.
5929 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
5931 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
5934 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
5936 * event-Xt.c (x_reset_modifier_mapping):
5937 * event-gtk.c (gtk_reset_modifier_mapping):
5938 Zero out the device's modifier map once we've freed it, to prevent
5939 a double free on a re-entrant call.
5941 2007-05-17 Vin Shelton <acs@xemacs.org>
5943 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
5944 64-bit linux. Patch from Hans de Graaff.
5946 2007-05-02 Vin Shelton <acs@xemacs.org>
5948 * dumper.c (pdump): Don't close pdump_fd (already closed by
5949 fclose() call. Patch from Steve Higham.
5950 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
5951 already closed. Patch inspired by Steve Higham.
5953 2007-05-01 Vin Shelton <acs@xemacs.org>
5955 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
5956 (mswindows_fstat): Ditto.
5957 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
5959 2007-02-08 Adrian Aichner <adrian@xemacs.org>
5961 * postgresql.c: Update Steve Baur's email address by his request.
5962 * postgresql.h: Ditto.
5964 2007-01-04 Vin Shelton <acs@xemacs.org>
5966 * fileio.c (check_writable): Check old-style readonly bit only for
5969 2006-12-25 Benson I. Margulies <benson@dchbk.us>
5971 * src/fileio.c (check_writable):
5972 Cope with the fact that the read-only attribute trumps Windows NTFS
5976 2006-12-09 Vin Shelton <acs@xemacs.org>
5978 * XEmacs 21.4.20 is released
5980 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
5982 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
5983 relocated the definitions to be used sooner in file.
5984 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
5985 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
5988 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
5990 * sound.c (init_native_sound):
5991 Only X11 and GTK devices can possibly not be on the console of the
5992 associated machine. Fixes a crash when init_native_sound is called
5993 on a msprinter device.
5995 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
5997 * buffer.c (buffer-file-name): Document invariant.
5998 (buffer-file-truename): Sync wording to buffer-file-name.
5999 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6002 2006-11-19 Benson Margulies <benson@dchbk.us>
6004 * fileio.c: Add code to use full Win32 API to check for write
6005 access. Win32 has the general design policy that you aren't
6006 supposed to ask this question, since security checks change
6007 depending on asynchronous processes. Nonetheless, there is a way,
6008 by acting as if we are a server doing interpretive access
6011 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6013 * bytecode.c: Use xnew_array instead of alloca.
6015 2006-07-04 Vin Shelton <acs@xemacs.org>
6017 * redisplay-msw.c: Fix tiny, but crucial typo.
6019 2006-06-22 Jerry James <james@xemacs.org>
6021 * EmacsShell-sub.c (ChangeManaged):
6022 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6024 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6025 checking if it is NULL. Also fix a memory leak.
6026 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6027 dereference it, not the other way around.
6028 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6030 * dumper.c (pdump_register_struct): Ditto.
6031 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6032 to (short) warnpath overflow warnpath.
6033 * extents.c (detach_all_extents): Call extent_list_delete_all with
6034 a non-NULL parameter only.
6035 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6036 NULL width and height.
6037 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6038 xic before checking if they are NULL.
6039 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6041 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6042 * nas.c (Err): Fix a memory leak.
6043 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6044 Don't create the buffer if there is nothing to do.
6045 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6046 * redisplay-output.c (redisplay_output_layout): Ditto.
6047 * redisplay-tty.c (tty_output_display_block): Ditto.
6048 * redisplay-x.c (x_output_display_block): Ditto.
6049 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6050 dereference instance->scrollbar_data if it is NULL.
6051 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6052 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6053 for sb->scrollbar_data.
6054 * sound.c (init_native_sound): Avoid a buffer overflow by
6055 allocating a buffer with the appropriate size.
6057 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6059 * EmacsShell-sub.c (RootGeometryManager):
6060 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6061 Based on a suggestion by Francois L'Archeveque.
6063 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6065 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6066 current values found in GNU Emacs.
6068 2006-03-17 Vin Shelton <acs@xemacs.org>
6070 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6071 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6073 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6074 'hex_initialized' because it conflicts with 'initialized' in
6077 2006-01-28 Vin Shelton <acs@xemacs.org>
6079 * XEmacs 21.4.19 is released
6081 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6083 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6085 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6087 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6090 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6092 * database.c: Suppress compiler warning under Cygwin.
6093 * database.c: Removed __FreeBSD__ check, should be handled by
6094 HAVE_U_xxx_T defines.
6096 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6098 * console.c (stuff_buffered_input): Compile body only if
6101 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6103 * callproc.c: #include sysdir.h, so that any appropriate Mule
6104 magic happens with the chdir() call when calling a subprocess.
6106 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6108 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6109 * mule-ccl.c: Check that a character set exists before using it
6110 to create a character.
6112 2005-12-06 Vin Shelton <acs@xemacs.org>
6114 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6117 2005-12-03 Vin Shelton <acs@xemacs.org>
6119 * XEmacs 21.4.18 is released
6121 2005-11-27 Kean Johnston <kean@armory.com>
6123 * redisplay-tty.c (set_tty_modes):
6124 (reset_tty_modes): disable auto-margins if the terminal supports
6126 (init_tty_for_redisplay): fix cursor shape.
6128 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6130 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6131 for control-1 characters properly, both when reading multibyte
6132 characters and writing them.
6134 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6136 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6137 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6138 were seeing with incremental selection transfer failing.
6140 2005-11-26 Vin Shelton <acs@xemacs.org>
6142 * callproc.c (Fold_call_process_internal): Create the buffer if it
6143 does not already exist. The original patch came from Ben Wing in
6144 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6146 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6148 * callproc.c: Process-related docstring improvements spurred by
6151 2005-11-25 Vin Shelton <acs@xemacs.org>
6153 * depend: Regenerated.
6155 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6157 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6158 says it clashes with a global with the same name.
6160 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6162 * sysdll.c (dll_open): Under MacOS X return NULL under the
6163 filename is NULL. Fixes problems finding local symbols under 10.4
6166 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6168 * config.h.in: New HAVE_U_INT*_T defines.
6170 * database.c: Only use u_int*_t typedefs if not already
6173 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6175 * src/process-unix.c (unix_open_network_stream): moved
6176 'portbuf' buffer out of an inner block as it is used in the
6177 entire function. With gcc4, the stack may get corrupted
6178 after leaving this block. This patches adjusts the size of
6179 the used buffer also; static '128' bytes are far too much
6180 currently and might not suffice for future architectures
6181 (e.g. for 512 bit ones ;)). Instead of, use only the really
6182 required space (max octets * ln(256)/ln(10) chars + space
6183 for '\0' and the sign)
6185 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6187 * callproc.c: Include sysdir.h, so any necessary Mule processing
6188 is done on the current directory name before starting a new
6191 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6193 * chartab.c (Fchar_table_p):
6194 (Fget_range_char_table):
6197 Describe range representation and fix typo.
6199 2005-02-12 Vin Shelton <acs@xemacs.org>
6201 * emacs.c (shut_down_emacs): Advise users to send email to the
6202 xemacs-beta list instead of crashes@xemacs.org.
6204 2005-02-03 David Evers <extsw@appliedgenerics.com>
6206 * process-unix.c (unix_send_process): Flush the last chunk, even
6207 when the pipe is blocked.
6209 2005-02-06 Vin Shelton <acs@xemacs.org>
6211 * XEmacs 21.4.17 is released
6213 2005-01-31 Ben Wing <ben@xemacs.org>
6216 Define assert_failed() always.
6218 Always define ABORT().
6220 2005-01-25 Ben Wing <ben@xemacs.org>
6223 * Makefile.in.in (%.o):
6224 Don't compile executable as Windows (-mwindows) under Cygwin.
6225 Semi-recent changes to Cygwin's executable-startup handling make
6226 it impossible to access the TTY this way.
6228 Don't use special linker file under Cygwin (cygwin.sc) except
6229 when non-PDUMP (even in this case it is highly questionable); you
6232 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6233 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6235 2005-01-29 Ben Wing <ben@xemacs.org>
6237 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6239 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6241 2005-01-29 Ben Wing <ben@xemacs.org>
6243 * bytecode.c (optimize_compiled_function):
6245 * print.c (long_to_string):
6246 Add casts to avoid warning.
6249 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6250 #### The better solution is to move the TIFF and JPEG code to
6253 * glyphs-msw.c (mswindows_xbm_instantiate):
6254 Define __STDC__ to avoid problems with compface.h.
6256 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6258 * EmacsShell-sub.c (ABORT):
6259 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6260 * EmacsShell-sub.c (RootGeometryManager):
6262 * EmacsShell.c (ABORT):
6263 * EmacsShell.c (EmacsShellUpdateSizeHints):
6264 * alloc.c (free_lcrecord):
6265 * alloca.c (i00afunc):
6266 * buffer.c (delete_from_buffer_alist):
6267 * buffer.c (MARKED_SLOT):
6268 * bytecode.c (execute_rare_opcode):
6269 * bytecode.c (optimize_byte_code):
6270 * bytecode.c (Ffetch_bytecode):
6271 * chartab.c (char_table_type_to_symbol):
6272 * chartab.c (Freset_char_table):
6273 * chartab.c (decode_char_table_range):
6274 * chartab.c (Fget_range_char_table):
6275 * chartab.c (check_valid_char_table_value):
6276 * chartab.c (map_char_table):
6277 * chartab.c (slow_map_char_table_fun):
6278 * chartab.c (chartab_instantiate):
6279 * cm.c (cmcheckmagic):
6280 * console-msw.c (DHEADER):
6281 * console.c (MARKED_SLOT):
6282 * data.c (finish_marking_weak_lists):
6283 * data.c (encode_weak_list_type):
6284 * debug.h (DASSERT):
6285 * device-gtk.c (gtk_init_device):
6286 * device-msw.c (mswindows_get_default_margin):
6287 * device-tty.c (tty_init_device):
6288 * device-x.c (get_device_from_display):
6289 * device-x.c (x_get_visual_depth):
6290 * doprnt.c (parse_doprnt_spec):
6291 * doprnt.c (get_doprnt_args):
6292 * dumper.c (pdump_get_indirect_count):
6293 * dumper.c (pdump_register_sub):
6294 * dumper.c (pdump_register_object):
6295 * dumper.c (pdump_register_struct):
6296 * dumper.c (pdump_dump_data):
6297 * dumper.c (pdump_reloc_one):
6298 * elhash.c (print_hash_table):
6299 * elhash.c (make_standard_lisp_hash_table):
6300 * elhash.c (hash_table_instantiate):
6302 * emacs.c (Fforce_debugging_signal):
6303 * emacs.c (sort_args):
6305 * emacs.c (assert_failed):
6306 * eval.c (throw_or_bomb_out):
6307 * eval.c (signal_1):
6310 * event-Xt.c (emacs_Xt_mapping_action):
6311 * event-Xt.c (Xt_process_to_emacs_event):
6313 * event-stream.c (check_event_stream_ok):
6314 * event-stream.c (Fadd_timeout):
6315 * event-stream.c (Fadd_async_timeout):
6316 * event-stream.c (Fdiscard_input):
6317 * event-stream.c (execute_internal_event):
6318 * event-stream.c (Frecent_keys):
6319 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6320 * event-stream.c (lookup_command_event):
6321 * event-unixoid.c (poll_fds_for_input):
6323 * events.c (mark_event):
6324 * events.c (event_equal):
6325 * events.c (event_hash):
6326 * events.c (Fmake_event):
6327 * events.c (Fdeallocate_event):
6328 * events.c (event_chain_find_previous):
6329 * events.c (event_to_character):
6330 * events.c (format_event_object):
6331 * events.c (Fevent_type):
6332 * events.c (event_pixel_translation):
6333 * events.c (Fevent_properties):
6334 * extents.c (extent_in_region_p):
6335 * extents.c (print_extent):
6336 * extents.c (process_extents_for_insertion_mapper):
6337 * extents.c (report_extent_modification_mapper):
6338 * extents.c (glyph_layout_to_symbol):
6339 * faces.c (face_validate):
6340 * file-coding.c (eol_type_to_symbol):
6341 * file-coding.c (subsidiary_coding_system):
6342 * file-coding.c (Fcoding_system_type):
6343 * file-coding.c (Fcoding_system_property):
6344 * file-coding.c (mule_decode):
6345 * file-coding.c (mule_encode):
6346 * file-coding.c (encode_coding_ucs4):
6347 * file-coding.c (encode_coding_utf8):
6348 * file-coding.c (parse_iso2022_esc):
6349 * file-coding.c (encode_coding_iso2022):
6354 * fns.c (Fbase64_encode_region):
6355 * fns.c (Fbase64_encode_string):
6356 * fns.c (Fbase64_decode_region):
6357 * fns.c (Fbase64_decode_string):
6358 * font-lock.c (find_context):
6359 * font-lock.c (context_to_symbol):
6360 * frame-gtk.c (gtk_set_frame_pointer):
6361 * frame-gtk.c (gtk_update_frame_external_traits):
6362 * frame-x.c (x_wm_mark_shell_size_user_specified):
6363 * frame-x.c (x_wm_mark_shell_position_user_specified):
6364 * frame-x.c (x_wm_set_shell_iconic_p):
6365 * frame-x.c (x_wm_set_cell_size):
6366 * frame-x.c (x_wm_set_variable_size):
6367 * frame-x.c (x_wm_store_class_hints):
6368 * frame-x.c (x_wm_maybe_store_wm_command):
6369 * frame-x.c (x_initialize_frame_size):
6370 * frame-x.c (x_update_frame_external_traits):
6372 * frame.c (delete_frame_internal):
6373 * frame.c (mouse_pixel_position_1):
6374 * frame.c (change_frame_size_1):
6375 * free-hook.c (check_free):
6376 * free-hook.c (check_realloc):
6377 * free-hook.c (note_block_input):
6378 * free-hook.c (log_gcpro):
6379 * gccache-gtk.c (gc_cache_lookup):
6380 * glyphs-eimage.c (tiff_memory_write):
6381 * glyphs-gtk.c (gtk_finalize_image_instance):
6382 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6383 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6384 * glyphs-gtk.c (gtk_xpm_instantiate):
6385 * glyphs-gtk.c (gtk_unmap_subwindow):
6386 * glyphs-gtk.c (gtk_map_subwindow):
6387 * glyphs-gtk.c (gtk_button_redisplay):
6389 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6390 * glyphs-x.c (init_image_instance_from_xbm_inline):
6391 * glyphs-x.c (extract_xpm_color_names):
6392 * glyphs-x.c (x_xpm_instantiate):
6393 * glyphs.c (get_image_instantiator_governing_domain):
6394 * glyphs.c (print_image_instance):
6395 * glyphs.c (image_instance_equal):
6396 * glyphs.c (image_instance_hash):
6397 * glyphs.c (encode_image_instance_type):
6398 * glyphs.c (make_image_instance_1):
6399 * glyphs.c (inherit_instantiate):
6400 * glyphs.c (image_instantiate):
6401 * glyphs.c (allocate_glyph):
6402 * glyphs.c (Fglyph_type):
6403 * glyphs.c (redisplay_subwindow):
6404 * glyphs.c (display_table_entry):
6405 * gtk-glue.c (xemacs_list_to_gtklist):
6406 * gtk-glue.c (xemacs_gtklist_to_list):
6407 * gtk-glue.c (xemacs_list_to_array):
6408 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6409 * gutter.c (gutter_was_visible):
6410 * gutter.c (get_gutter_coords):
6411 * input-method-xlib.c (get_XIM_input):
6412 * insdel.c (bufpos_to_bytind_func):
6413 * insdel.c (bytind_to_bufpos_func):
6414 * insdel.c (move_gap):
6415 * intl.c (x_get_composed_input):
6416 * keymap.c (keymap_lookup_directly):
6417 * keymap.c (keymap_delete_inverse_internal):
6418 * keymap.c (ensure_meta_prefix_char_keymapp):
6419 * keymap.c (accessible_keymaps_mapper_1):
6420 * keymap.c (where_is_recursive_mapper):
6423 * lread.c (read_atom):
6424 * lstream.c (Lstream_delete):
6425 * lstream.c (make_lisp_buffer_stream_1):
6426 * macros.c (pop_kbd_macro_event):
6427 * malloc.c (malloc):
6429 * marker.c (bi_marker_position):
6430 * marker.c (set_bi_marker_position):
6431 * menubar-gtk.c (menu_descriptor_to_widget_1):
6432 * menubar-msw.c (prune_menubar):
6433 * menubar-x.c (set_frame_menubar):
6434 * mule-charset.c (get_unallocated_leading_byte):
6435 * mule-charset.h (CHAR_LEADING_BYTE):
6436 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6437 * nt.c (init_environment):
6438 * nt.c (generate_inode_val):
6439 * ntproc.c (delete_child):
6440 * ntproc.c (_sys_read_ahead):
6441 * ntproc.c (create_child):
6442 * objects.c (color_instantiate):
6443 * objects.c (font_instantiate):
6444 * objects.c (face_boolean_instantiate):
6445 * print.c (printing_major_badness):
6446 * process-nt.c (nt_send_process):
6447 * process-unix.c (unix_send_process):
6448 * process.c (get_process):
6449 * ralloc.c (obtain):
6450 * ralloc.c (relinquish):
6451 * ralloc.c (relocate_blocs):
6452 * ralloc.c (resize_bloc):
6453 * ralloc.c (r_alloc_free):
6454 * ralloc.c (r_re_alloc):
6455 * ralloc.c (r_alloc_thaw):
6456 * ralloc.c (init_ralloc):
6457 * ralloc.c (Free_Addr_Block):
6458 * ralloc.c (r_alloc):
6459 * redisplay-gtk.c (gtk_output_display_block):
6460 * redisplay-msw.c (mswindows_output_display_block):
6461 * redisplay-output.c (get_next_display_block):
6462 * redisplay-output.c (get_cursor_size_and_location):
6463 * redisplay-output.c (redisplay_output_layout):
6464 * redisplay-output.c (redisplay_clear_region):
6465 * redisplay-tty.c (tty_output_display_block):
6466 * redisplay-x.c (x_output_display_block):
6467 * redisplay.c (add_propagation_runes):
6468 * redisplay.c (add_glyph_rune):
6469 * redisplay.c (create_text_block):
6470 * redisplay.c (add_margin_runes):
6471 * redisplay.c (create_left_glyph_block):
6472 * redisplay.c (create_right_glyph_block):
6473 * redisplay.c (create_string_text_block):
6474 * redisplay.c (regenerate_window):
6475 * redisplay.c (REGEN_INC_FIND_START_END):
6476 * redisplay.c (redisplay_frame):
6477 * redisplay.c (point_in_line_start_cache):
6480 * regex.c (re_compile_fastmap):
6481 * regex.c (re_match_2_internal):
6482 * regex.c (regerror):
6483 * scrollbar-gtk.c (gtk_scrollbar_loop):
6484 * scrollbar-gtk.c (scrollbar_cb):
6485 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6486 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6487 * scrollbar-x.c (x_update_scrollbar_instance_status):
6488 * scrollbar-x.c (x_scrollbar_loop):
6489 * scrollbar-x.c (x_update_frame_scrollbars):
6490 * search.c (search_command):
6491 * search.c (Fmatch_data):
6492 * select-x.c (motif_clipboard_cb):
6493 * signal.c (interrupt_signal):
6494 * specifier.c (specifier_add_spec):
6495 * specifier.c (specifier_instance_from_inst_list):
6496 * specifier.c (specifier_instance):
6498 * specifier.h (struct specifier_methods):
6499 * strftime.c (add_num_time_t):
6500 * sunplay.c (init_device):
6501 * symbols.c (Fsetplist):
6502 * symbols.c (do_symval_forwarding):
6503 * symbols.c (store_symval_forwarding):
6505 * symbols.c (Fbuilt_in_variable_type):
6506 * symbols.c (decode_magic_handler_type):
6507 * symbols.c (handler_type_from_function_symbol):
6508 * syntax.c (update_syntax_cache):
6509 * sysdep.c (init_baud_rate):
6510 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6511 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6512 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6513 * toolbar.c (get_toolbar_coords):
6514 * ui-gtk.c (build_gtk_boxed):
6515 * ui-gtk.c (describe_gtk_arg):
6516 * ui-gtk.c (gtk_type_to_lisp):
6517 * ui-gtk.c (lisp_to_gtk_type):
6518 * ui-gtk.c (lisp_to_gtk_ret_type):
6519 * ui-gtk.c (lisp_to_flag):
6520 * unexnt.c (read_in_bss):
6521 * unexnt.c (map_in_heap):
6522 * window.c (real_window):
6523 * window.c (window_display_lines):
6524 * window.c (window_display_buffer):
6525 * window.c (set_window_display_buffer):
6526 * window.c (window_modeline_height):
6527 * window.c (unshow_buffer):
6528 * window.c (window_loop):
6529 * window.c (Fget_lru_window):
6530 * window.c (Fsplit_window):
6531 * window.c (Fset_window_configuration):
6532 * window.c (saved_window_index):
6533 * xgccache.c (gc_cache_lookup):
6534 abort() -> ABORT(). Eliminate preprocessor games with abort()
6535 since it creates huge problems in VC7, solvable only by including
6536 massive amounts of files in every compile (and not worth it).
6540 Inclusion of process.h does not need to be before lisp.h any more.
6541 Move later and remove comment about abort().
6543 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6545 * regex.c (re_match_2_internal):
6546 Correctly initialize loop which clears uninitialized registers.
6548 2005-01-28 Vin Shelton <acs@xemacs.org>
6550 * sheap.c (more_static_core): Applied Ben's version of the long
6553 2005-01-24 Vin Shelton <acs@xemacs.org>
6555 * sheap.c (more_static_core): Reformatted printf string so
6556 gcc-3.3.3 will compile this on Cygwin.
6558 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6560 * console.c (function_key_map): Reference `key-binding'.
6562 * keymap.c (Vkey_translation_map): Improve docstring.
6564 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6566 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6567 * window.c (window_loop): [fix] Take into account
6568 `allow-deletion-of-last-visible-frame' variable.
6569 * window.c (replace-buffer-in-windows): Ditto.
6571 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6573 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6575 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6577 * event-gtk.c: Recognise AltGr as a valid modifier.
6579 2005-01-12 Ville Skyttä <scop@xemacs.org>
6581 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6583 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6585 Fix backreference bug caught by test suite.
6587 * regex.c (regex_compile):
6588 Make backref duplicate internal register.
6590 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6592 Documentation, code clarification, and warning suppression.
6594 * regex.c (regex_compile):
6596 (re_match_2_internal):
6597 Improve comments and avoid redundant braces. [Most of the big hunk
6598 at l. 4710 is indentation; use diff -w to see the real changes.]
6599 (alt_match_null_string_p):
6600 (common_op_match_null_string_p):
6601 Avoid shadowing global on Mac OS X 10.4, at least.
6603 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6605 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6606 introduced with shy groups fix). [Already applied, probably
6607 with the second "fix shy groups" patch of 2004-10-07.]
6609 2005-01-10 Steve Youngs <steve@sxemacs.org>
6611 From Andrey Slusar <anrays@gmail.com>:
6613 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6615 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6617 * Makefile (RECURSIVE_MAKE): Removed.
6618 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6619 handling parallel builds.
6621 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6623 * Makefile.in.in: Enable support for parallel builds.
6625 2005-01-09 Steve Youngs <steve@sxemacs.org>
6627 From Andrey Slusar <anrays@gmail.com>:
6629 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6630 FreeBSD version is >= 199701 _and_ < 600006.
6632 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6634 * scrollbar.c (compute_scrollbar_instance_usage):
6635 Only call device method compute_scrollbar_instance_usage() if it
6638 2004-12-05 Vin Shelton <acs@xemacs.org>
6640 * XEmacs 21.4.16 is released
6642 2004-12-04 Vin Shelton <acs@xemacs.org>
6644 * depend: Regenerated.
6646 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6648 * regex.c (re_match_2_internal): Map internal to external
6649 registers. Fixes bug identified by Steve Youngs 2004-09-30
6650 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6652 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6654 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6655 to fix a crash. Also, check the buffer is live and it
6656 really exists in buffer_list. If the buffer is not in the list,
6659 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6661 Fix shy groups by implementing recording of all groups for
6662 repetition and backtracking. Backport from 21.5.
6664 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6665 external_to_internal_register, external_to_internal_register_size,
6666 and update comments for re_nsub.
6668 * regex.c (re_opcode_t): Update comments.
6669 (print_compiled_pattern): Ouput external_to_internal_register,
6670 external_to_internal_register_size, and re_ngroups for debugging.
6671 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6672 (regex_compile): Update header comment.
6673 Ensure that all groups are recorded so that repeat matches and
6674 backtracking work correctly. Comment related warning for groups >
6676 (re_search_2): Construct map of API indexes (which count only
6677 nonshy groups) to internal register numbers, and keep it updated.
6679 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6681 * frame-gtk.c (gtk_make_frame_visible):
6682 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6683 show/hide. This is what X uses and is prevents previously hidden
6684 widgets from suddenly reappearing.
6685 * gtk-xemacs.c (gtk_xemacs_paint):
6686 * gtk-xemacs.c (gtk_xemacs_draw):
6687 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6689 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6690 size and location changes so that they can be seen before the next
6691 idle event. Without this rapid changes to scrollbar properties
6694 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6697 * console-gtk.h (struct gtk_frame):
6698 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6699 Add hash tables track tab_control callback data.
6700 Added #defines for GTK object data names.
6701 Declaration of gtk_widget_to_frame().
6702 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6703 * frame-gtk.c (gtk_widget_to_frame): New.
6704 * frame-gtk.c (gtk_create_widgets):
6705 * frame-gtk.c (allocate_gtk_frame_struct):
6706 * frame-gtk.c (gtk_mark_frame):
6707 Manage frame callbakc hash tables.
6708 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6709 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6710 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6712 * glyphs-gtk.c (gtk_widget_query_geometry): New
6713 * glyphs-gtk.c (gtk_register_gui_item): New
6714 * glyphs-gtk.c (gtk_add_tab_item): New
6715 * glyphs-gtk.c (gtk_tab_control_callback): New
6716 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6717 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6718 Use correct list when loading item.
6719 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6720 Register new methods.
6721 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6722 default size, for widgets.
6723 * gui-x.c: Improved comment.
6724 * menubar-gtk.c (__generic_button_callback): Use
6725 gtk_widget_to_frame instead of __get_channel.
6727 * ui-gtk.c: Use symbolic names for GTK object data.
6729 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6731 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6733 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6735 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6737 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6739 * malloc.c (morecore): siz is a long because in some architectures
6740 (eg ia-64) an int cannot hold the address range. Additional patch
6741 from the SuSe distribution.
6743 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6746 * malloc.c: lim_data is a long because in some architectures
6747 (eg ia-64) an int cannot hold the address range.
6748 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6749 instead of ulimit() because ulimit() always returns -1.
6751 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6753 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6755 2004-06-11 David Kastrup <dak@gnu.org>
6757 * search.c (match_limit): Don't flag an error if match-data
6758 exceeding the allocated search_regs.num_regs gets requested, just
6761 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6763 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6764 replace symbolic color entries with the real colors specified in
6765 xpm-color-symbols, before passing the XPM to gtk.
6766 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6767 instead of a GTK specific field, so that it is used in by generic
6770 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6772 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6773 coredump from deref of NULL ptr (ExtData)
6775 2004-04-19 Jerry James <james@xemacs.org>
6777 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6778 VALBITS to compute the location of the sign bit.
6779 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6780 of VALBITS with EMACS_INT_MAX.
6781 * events.c (Fevent_timestamp): Ditto.
6782 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6783 compute the halfway point to timestamp wraparound.
6784 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6785 EMACS_INT_MIN instead of using VALBITS.
6786 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6787 incorrect number with VALBITS.
6788 * fns.c (Frandom): Correct number of integer bits in docstring.
6789 Use INT_VALBITS instead of VALBITS to compute the denominator.
6790 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6791 build random numbers.
6793 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6795 * event-gtk.c (gtk_event_to_emacs_event):
6797 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6798 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6799 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6800 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6801 * menubar-gtk.c (__activate_menu):
6802 * menubar-gtk.c (convert_underscores):
6803 * menubar-gtk.c (remove_underscores):
6804 * menubar-gtk.c (menu_convert):
6805 * menubar-gtk.c (menu_descriptor_to_widget_1):
6806 * menubar-gtk.c (menu_descriptor_to_widget):
6807 * menubar-gtk.c (menu_can_reuse_widget):
6808 * menubar-gtk.c (menu_create_menubar):
6809 * menubar-gtk.c (gtk_popup_menu):
6810 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6811 Added support for Gtk menu bar and menu item mnemonics.
6813 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6815 * sysdll.c: (dll_function): Added support for finding symbols in
6816 Darwin shared libraries as well in Darwin bundles.
6817 * sysdll.c (image_for_address): New
6818 * sysdll.c (my_find_image): New
6819 * sysdll.c (search_linked_libs): New
6821 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6823 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6824 return to GTK requires a different API to marshalling data to use
6826 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6828 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6830 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6832 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6834 * glyphs.c (process_image_string_instantiator):
6835 (Fset_console_type_image_conversion_list):
6836 Stop GCC from warning about shadowing of `exp'.
6838 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6840 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6842 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6844 2004-02-03 Vin Shelton <acs@xemacs.org>
6846 * glyphs.c (image_instance_layout): Remove pointless assertion.
6847 * regex.c (regex_grow_registers): Return type is void.
6849 2004-02-02 Vin Shelton <acs@xemacs.org>
6851 * XEmacs 21.4.15 is released
6853 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6855 * device-x.c (x_error_handler): Don't call stderr_out
6857 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6859 * buffer.c (other-buffer): Clarify documentation of order of
6860 arguments for FSF Emacs.
6862 2003-10-11 Olivier Galibert <galibert@pobox.com>
6864 * window.c (Fdelete_window): Dirty the mirror structure _before_
6865 marking the window deleted.
6867 2003-09-15 Jerry James <james@xemacs.org>
6869 * event-msw.c (debug_mswin_messages): Conditionally compile
6870 messages missing from the Cygwin headers.
6872 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6874 * data.c (eq_with_ebola_notice): Fix typo in comment.
6875 (Ftrue_list_p): Improve docstring.
6877 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6879 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6881 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6883 * search.c (trivial_regexp_p): Regexps containing "\{" are
6884 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6885 Stefan Monnier for suggesting a diagnosis.
6887 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6889 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6891 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6893 * search.c (Fsearch_forward):
6895 Document negative count.
6897 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6899 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6901 2003-09-13 Martin Buchholz <martin@xemacs.org>
6903 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6905 2003-09-15 Vin Shelton <acs@xemacs.org>
6907 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6910 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6912 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6913 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6914 (re_match_2_internal): Use TRANSLATE instead of
6915 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6916 non-ASCII char case conversion.
6918 2003-09-08 Mike Sperber <mike@xemacs.org>
6920 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6921 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6923 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6925 * .gdbinit (pobj): fix printing of symbol name.
6927 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6929 * frame-x.c (x_layout_widgets): When resizing is about to cause
6930 frame size slip, mark it for redisplay.
6932 2003-08-18 Jerry James <james@xemacs.org>
6934 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6936 2003-09-03 Vin Shelton <acs@xemacs.org>
6938 * XEmacs 21.4.14 is released
6940 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6942 * config.h.in (REGEX_MALLOC): Make it configure'able.
6944 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6946 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6948 * sysdll.c (dll_init):
6949 * sysdll.c (dll_open):
6950 * sysdll.c (dll_close):
6951 * sysdll.c (dll_function):
6952 * sysdll.c (dll_variable):
6953 * sysdll.c (dll_error):
6954 Add support for loading bundles using Darwin/MacOSX
6957 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6959 * process.c (start-process-internal): Document coding systems.
6961 2003-07-30 Jerry James <james@xemacs.org>
6963 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6965 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6967 * event-msw.c (mswindows_enqueue_mouse_button_event):
6968 * event-msw.c (mswindows_wnd_proc):
6969 enqueue button event when scrollwheel event isn't handled by
6970 mswindows_handle_mousewheel_event, such as when the scrollbars
6973 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6975 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6977 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6979 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6981 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6983 * regex.c (re_match_2_internal): Fix matching degenerate word
6986 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6988 * XEmacs 21.4.13 is released
6990 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
6992 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
6993 * lisp.h (<inttypes.h>):
6994 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
6997 2003-03-15 Martin Buchholz <martin@xemacs.org>
6999 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7000 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7001 Result: "temacs can only be run in -batch mode."
7002 Fix: Check xemacs executable candidate for directory-ness.
7004 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7006 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7007 they conflict with <sys/types.h>.
7009 2003-02-14 Martin Buchholz <martin@xemacs.org>
7011 * database.c: Berkeley DB wants __STDC__ to be defined.
7013 2003-02-13 Martin Buchholz <martin@xemacs.org>
7015 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7017 2003-02-01 Martin Buchholz <martin@xemacs.org>
7019 * process-unix.c (unix_send_process): Fix C++ compile error.
7021 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7023 * Added .dylib as an acceptable shared library file extension
7024 * to support MacOSX.
7026 2003-02-01 Martin Buchholz <martin@xemacs.org>
7028 * EmacsFrameP.h (EmacsFramePart):
7029 Kludge to allow compiling with Motif1, but linking with Motif2.
7031 2003-01-28 Martin Buchholz <martin@xemacs.org>
7033 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7036 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7038 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7040 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7042 * sysdll.c: Included lisp.h to define needed alloca_array.
7044 2003-02-13 Martin Buchholz <martin@xemacs.org>
7046 Make XEmacs redisplay 10 times faster.
7047 If, that is, you're using a slow X connection and MoveOpaque.
7048 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7049 Use compress_motion = TRUE.
7050 * EmacsFrame.c (emacsFrameClassRec):
7051 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7052 * EmacsManager.c (emacsManagerClassRec):
7053 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7055 2003-01-30 Vin Shelton <acs@xemacs.org>
7057 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7059 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7061 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7062 Patch by Martin Buchholz.
7064 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7066 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7067 Thanks to icc for warning and Martin Buchholz for reporting.
7069 2003-01-29 Vin Shelton <acs@xemacs.org>
7071 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7073 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7074 remember to multiply by the element size.
7076 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7078 * XEmacs 21.4.12 "Portable Code" is released.
7080 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7082 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7083 * s/cygwin.sc: new linker file.
7085 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7087 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7089 * redisplay-x.c (x_output_string): Use X11-specified types.
7090 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7091 * emacs.c (__free_hook): Use typeof with Intel compiler.
7092 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7094 2003-01-08 Andy Piper <andy@xemacs.org>
7096 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7097 reserve size during unexec().
7099 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7101 * process-unix.c (unix_create_process): Don't let outchannel block.
7103 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7105 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7106 Needed for IsBadReadPtr().
7108 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7110 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7112 2002-12-14 Ben Wing <ben@xemacs.org>
7114 * callint.c: Declaration error.
7116 * dumper.c (pdump_load): Warning fix.
7117 * process.c: GCPRO error.
7118 * glyphs.c (unmap_subwindow):
7119 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7120 * event-stream.c (maybe_kbd_translate): Wrong argument to
7121 character_to_event().
7123 * alloc.c (garbage_collect_1):
7125 * emacs.c (debug_can_access_memory):
7126 * emacs.c (fatal_error_signal):
7127 * emacs.c (mswindows_handle_hardware_exceptions):
7130 * emacs.c (assert_failed):
7131 * emacs.c (syms_of_emacs):
7134 * print.c (std_handle_out_va):
7135 * print.c (write_string_to_stdio_stream):
7136 * print.c (write_fmt_string):
7137 * print.c (printing_badness):
7138 * print.c (printing_major_badness):
7139 * print.c (print_internal):
7140 * print.c (debug_print_no_newline):
7141 * print.c (debug_backtrace):
7142 Be more defensive in handling bad values when printing. Add code
7143 from trunk involving inhibit_non_essential_printing_operations.
7144 When going down or in debug_print(), don't do external conversion
7145 and such and try really, really hard when printing to avoid core
7146 dumping. Add force-debugging-signal, debug_break().
7148 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7150 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7151 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7153 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7155 * database.c: Fix open_database. Berkeley DB API has changed in
7156 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7158 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7160 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7162 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7164 * event-Xt.c (Xt_timeout):
7165 (Xt_timeout_callback):
7166 (emacs_Xt_add_timeout):
7167 (emacs_Xt_remove_timeout):
7168 (Xt_timeout_to_emacs_event):
7169 Turn completed_timeouts from a stack into a queue. Fixes
7170 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7172 2002-11-07 Wolfram Gloger <wg@malloc.de>
7174 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7175 * emacs.c (main): Assert that mmap'd allocation is disabled.
7177 2002-10-14 Andy Piper <andy@xemacs.org>
7179 * glyphs-widget.c (layout_query_geometry): add in fiddle
7180 factor. Include border text in width layout calculation.
7181 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7183 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7185 * XEmacs 21.4.10 "Military Intelligence" is released.
7187 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7189 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7190 using the NAS private array SoundFileInfo that no longer exists in
7191 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7192 and earlier. This is broken for some versions between 1.5a and
7195 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7197 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7199 * emacs.c (shut_down_emacs): Improve crash message.
7201 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7203 * file-coding.c (determine_real_coding_system): Check for coding
7204 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7205 shebangs and Python PEP 263.
7207 2002-10-08 Andy Piper <andy@xemacs.org>
7209 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7210 if static sizes haven't been set.
7212 2002-08-30 Mike Alexander <mta@arbortext.com>
7214 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7217 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7219 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7221 2002-09-20 Mike Sperber <mike@xemacs.org>
7223 (This partially gets back my patch from 2002-07-20 without the
7225 * callproc.c (child_setup): Remove Ben's comment noting confusion
7226 over the file descriptors >= 3: close_process_descs() doesn't
7227 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7228 * process-unix.c (unix_create_process): Call
7229 begin_dont_check_for_quit to inhibit unwanted interaction (and
7230 thus breaking of X event synchronicity) in the child.
7232 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7234 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7237 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7239 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7240 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7241 the xemacs process did not exit, but looped infinitely here. This
7244 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7246 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7247 (find_context): Improve comments.
7249 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7250 (re_match_2): An XCHAR_TABLE operation was missing.
7252 Many of the following changes were inspired by Andy Piper's (now
7253 obsolete) patch to make syntax-table text property lookup optional.
7257 * syntax.h (top level): Document semantics of syntax flags.
7258 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7259 * syntax.c, syntax.h (top level): Document syntax cache better in
7262 [Instrument syntax caching (temporary change)]
7264 * syntax.h (enum syntax_cache_statistics_functions, struct
7265 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7266 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7267 * syntax.c (scan_words, Fforward_comment, scan_lists,
7268 Fbackward_prefix_characters):
7269 * font-lock.c (find_context):
7270 Use them to instrument syntax caching.
7271 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7272 syntax_cache_statistics_function_names): New type and variables.
7273 * syntax.c (update_syntax_cache): Update and report statistics.
7275 [Major syntax cache optimizations]
7277 syntax.c (lookup_syntax_properties): Default off.
7279 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7280 * syntax.c (update_syntax_cache):
7281 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7283 [Minor syntax cache optimizations and code clarifications]
7285 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7286 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7287 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7288 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7289 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7290 (Code clarification.)
7292 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7293 scan_lists): Compute code from syncode, use Boolean macros instead
7294 of redundant masking operations. (Code clarification; any decent
7295 compiler can do this optimization.)
7297 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7300 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7301 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7302 use F*_single_property_change instead of F*_extent_change.
7303 Currently F*_single_property_change is _much_ less efficient.
7305 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7306 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7307 syntax_cache.object properly, don't leave Qt or Qnil.
7308 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7309 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7310 tests for Qt or Qnil.
7312 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7314 * redisplay.c (point_in_line_start_cache):
7315 * extents.c (print_extent_1):
7318 * extents.c (Fset_extent_property): Document `syntax-table' property.
7320 * extents.h (Fnext_single_property_change): EXFUN it.
7322 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7324 * search.c (clear_unused_search_regs): New static function.
7328 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7329 Minor clarifications in comments.
7331 * regex.c (re_match_2_internal): Ensure no stale submatches.
7333 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7335 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7337 2002-08-29 Jerry James <james@xemacs.org>
7339 * lisp.h: structrures -> structures.
7341 2002-06-03 Andy Piper <andy@xemacs.org>
7343 * frame.c (frame_conversion_internal): add conversion appropriate
7344 for setting frame dimensions in pixels.
7346 * console.h (struct console_methods): add device-specific widget
7349 * emacs.c (main_1): initialize glyph vars.
7351 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7352 (handle_focus_event_2): new function. Allow focus to
7353 be set to a particular window and widget.
7354 (enqueue_focus_event): new function. Create a
7355 synthetic focus event.
7356 (emacs_Xt_handle_magic_event): call
7357 handle_focus_event_2.
7359 * frame.c (Fset_frame_pixel_height): new function. Allow
7360 pixel-based sizing. Does the right thing on character-oriented
7362 (Fset_frame_pixel_width): ditto.
7363 (Fset_frame_pixel_size): ditto.
7364 (syms_of_frame): declare.
7366 * general-slots.h: add :vertically-justify and
7367 :horizontally-justify.
7369 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7370 (mswindows_widget_border_width): new function.
7371 (mswindows_combo_box_instantiate): set border widths.
7372 (console_type_create_glyphs_mswindows): declare.
7375 (check_valid_justification): allow vertical and horizontal
7377 (widget_border_width): new function. Call device methods.
7378 (widget_instance_border_width): ditto.
7379 (logical_unit_height): new function. Determine the height of a
7380 logical-unit. Logical units are intended to provide grid-like
7381 layout for subcontrols in a layout. If the layout is
7382 :vertically-justify top then subcontrols will be positioned on
7383 logical-unit boundaries, thus allowing adjacent subcontrols to
7385 (widget_logical_unit_height): ditto for widgets.
7386 (redisplay_widget): misc cleanup.
7387 (widget_spacing): new function. Call device specific
7388 methods. Intended to be the default gap between adjacent widgets.
7389 (widget_query_geometry): use new spacing functions to determine
7390 appropriate geometry.
7391 (initialize_widget_image_instance): initialize horizontal and
7392 vertical justification.
7393 (widget_instantiate): use logica-units where appropriate for
7394 sizing large widgets.
7395 (button_query_geometry): use widget_instance_border_width.
7396 (tree_view_query_geometry): ditto.
7397 (tab_control_query_geometry): ditto.
7398 (edit_field_query_geometry): new function.
7399 (layout_update): pick up :justify, :horizontally-justify and
7400 :vertically-justify none of which worked previously. :justify is
7401 used as a fallback for both horizontal and vertical justification.
7402 (layout_query_geometry): use logical units to size appropriately.
7403 (layout_layout): ditto.
7404 (Fwidget_logical_to_character_width): new function. Allow users to
7405 convert from logical units to characters so that frame sizes can
7406 be set appropriately.
7407 (Fwidget_logical_to_character_height): ditto.
7408 (syms_of_glyphs_widget): declare.
7409 (image_instantiator_edit_fields): add edit_field_query_geometry.
7410 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7411 :horizontally-justify.
7412 (specifier_vars_of_glyphs_widget): new function. Declare
7413 Vwidget_border_width which is not yet used.
7415 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7416 (x_widget_border_width): new function.
7417 (x_widget_instantiate): create a sensible name for widgets.
7418 (console_type_create_glyphs_x): declare x_widget_border_width.
7420 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7421 (struct Lisp_Image_Instance): add :vertically-justify and
7422 :horizontally-justify.
7423 (LAYOUT_JUSTIFY_TOP): new.
7424 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7425 (ROUND_UP): new macro. Round argument up to next integral
7428 * redisplay-output.c (redisplay_output_layout): misc formatting.
7430 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7432 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7434 * XEmacs 21.4.9 "Informed Management" is released.
7436 2002-08-19 Andy Piper <andy@xemacs.org>
7438 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7441 * realpath.c (xrealpath): normalize drive spec also so that dir
7442 sep chars are not mixed on cygwin.
7444 2002-08-06 Jerry James <james@xemacs.org>
7446 * window.c (Fsplit_window): Count only half of the divider width
7447 against the left window when splitting horizontally.
7449 2002-06-24 Andy Piper <andy@xemacs.org>
7451 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7452 toolbar was cleared.
7454 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7455 function. Split out from mswindows_output_frame_toolbars.
7456 (mswindows_output_frame_toolbars): move clear pieces to
7457 mswindows_output_frame_toolbars.
7459 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7460 out from gtk_output_frame_toolbars.
7461 (gtk_output_frame_toolbars): move clear pieces to
7462 gtk_clear_frame_toolbars.
7464 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7465 the frame is cleared. How this ever worked before is a mystery.
7466 (x_output_frame_toolbars): Only output toolbars.
7467 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7469 * gutter.c (update_gutter_geometry):
7470 Mark frame layout changed.
7471 (update_frame_gutter_geometry, update_frame_gutters):
7472 Respect frame_layout_changed.
7474 * console.h (struct console_methods): add
7475 clear_frame_toolbars_method.
7477 * redisplay.c (redisplay_frame): call
7478 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7480 * toolbar.h: declare update_frame_toolbars_geometry.
7482 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7483 out from update_frame_toolbars. Call clear_frame_toolbars.
7484 (update_frame_toolbars): only output, do not change geometry.
7486 * redisplay.c: add frame_layout_changed.
7488 * redisplay.h: add frame_layout_changed.
7489 (CLASS_RESET_CHANGED_FLAGS): set it.
7490 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7491 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7492 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7494 * device.h (struct device): add frame_layout_changed.
7495 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7497 * frame.h (struct frame): add frame_layout_changed.
7498 (MARK_FRAME_LAYOUT_CHANGED): new.
7500 2002-06-30 Mike Alexander <mta@arbortext.com>
7502 * event-msw.c (mswindows_need_event): Don't wait for a new message
7503 if the queue is not empty. Suggested by Paul Moore.
7505 2002-06-12 Andy Piper <andy@xemacs.org>
7507 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7508 for printing on accurately.
7510 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7512 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7513 WM_ACTIVATE message. Make sure that the frame is visible if the
7514 window is visible. This seemss to fix the problem where XEmacs
7515 appears to freeze after switching desktops with certain virtual
7517 (debug_output_mswin_message): Added code to output message
7518 parameters for WM_WINDOWPOSCHANGED,
7519 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7521 2002-05-25 Andy Piper <andy@xemacs.org>
7523 * select-x.c (vars_of_select_x): Fix docstring of
7524 x-selection-strict-motif-ownership
7526 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7528 * keymap.c (get_keymap):
7529 Add comment about do_autoload GCPROs own args.
7531 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7533 * bytecode.c (execute_optimized_program): check_opcode ifdef
7534 ERROR_CHECK_BYTE_CODE.
7536 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7538 Thanks to Ben Wing and Michael Sperber.
7540 * eval.c (Fcommand_execute):
7543 (Fmacroexpand_internal):
7544 (function_argcount):
7545 callint.c (Fcall_interactively):
7546 Add comment about do_autoload GCPROs own args.
7548 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7550 * eval.c (Ffuncall): Extra braces to placate GCC.
7552 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7554 * backtrace.h (grow_specpdl):
7556 * EmacsFrame.c (EmacsFrameSetValues):
7557 * eval.c (grow_specpdl):
7558 * ExternalShell.c (hack_event_masks_1):
7559 * glyphs-x.c (convert_EImage_to_XImage):
7560 (x_finalize_image_instance):
7561 * ralloc.c (page_size):
7563 * xgccache.c (gc_cache_hash):
7564 Fix unsigned comparison warnings.
7566 2002-07-29 Jerry James <james@xemacs.org>
7568 * lread.c (locate_file): Any nonnegative return value indicates
7569 success if MODE is nonnegative.
7571 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7573 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7576 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7578 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7580 * dumper.c (pdump_get_indirect_count):
7581 (pdump_scan_by_alignment):
7582 (pdump_dump_root_struct_ptrs):
7583 (pdump_dump_rtables):
7584 (pdump_dump_root_objects):
7586 * nas.c (WaveOpenDataForReading):
7587 * fns.c (print_bit_vector):
7588 * font-lock.c (SINGLE_SYNTAX_STYLE):
7589 * glyphs.c (check_for_ignored_expose):
7590 (find_matching_subwindow):
7592 * imgproc.c (get_histogram):
7593 * redisplay.c (point_in_line_start_cache):
7594 * redisplay-output.c (redisplay_unmap_subwindows):
7595 * symbols.c (defsymbol_massage_name_1):
7596 (defkeyword_massage_name):
7597 (deferror_massage_name_and_message):
7598 * redisplay-x.c (x_output_string):
7599 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7600 * frame.h (struct frame):
7601 * filelock.c (current_lock_owner):
7602 * doprnt.c (emacs_doprnt_1):
7603 * lisp.h (struct Lisp_Bit_Vector):
7607 2002-02-13 Ben Wing <ben@xemacs.org>
7609 * event-stream.c (reset_key_echo):
7610 * event-stream.c (reset_this_command_keys):
7611 * event-stream.c (execute_command_event):
7612 If console is dead as a result of C-x 5 0, then post-command stuff
7613 needs to be careful and do only non-console-specific stuff.
7615 2002-07-01 Mike Sperber <mike@xemacs.org>
7617 * process-unix.c (unix_send_process): Mark coding_outstream as
7618 non-open upon SIGPIPE.
7620 * event-stream.c (Fnext_event): Reorder switch cases to something
7623 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7625 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7626 Don't bogusly reinitialize ascii_character property.
7628 2002-07-08 Mike Sperber <mike@xemacs.org>
7630 * process.c (Fstart_process_internal): Do error checking before we
7631 fork off the child, so the child can't muck with the state of the
7634 2002-07-08 Mike Sperber <mike@xemacs.org>
7636 * ralloc.c (init_ralloc): Allocate properly for pdump.
7638 2002-06-12 Andy Piper <andy@xemacs.org>
7640 * glyphs.c (query_string_geometry): check the string.
7642 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7645 2002-06-17 Jerry James <james@xemacs.org>
7647 * sysdll.c: Remove RTLD_GLOBAL initialization.
7648 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7650 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7652 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7654 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7656 * sysdep.c (sys_rename): Make sys_rename work for the case where
7657 Windows rename sets errno to EACCES if target file exists.
7659 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7661 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7662 Fix detection of metric units to work on Win95
7664 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7666 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7668 2002-04-25 Andy Piper <andy@xemacs.org>
7670 * redisplay.c (create_text_block): Remove extra comment trailer.
7672 2002-04-24 Andy Piper <andy@xemacs.org>
7674 * redisplay.c (create_text_block): Don't actually add propagation
7675 data if the line ends after we have added a glyph.
7677 2002-04-22 Andy Piper <andy@xemacs.org>
7679 * extents.c (extent_fragment_update): check for glyphs we have
7680 previously displayed.
7681 * extents.c (print_extent_1): warning removal.
7682 * extents.h: change prototype.
7683 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7684 widths correctly for wide glyphs.
7685 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7686 * redisplay.c (prop_type): add PROP_GLYPH.
7687 * redisplay.c (struct prop_block): add glyph type
7688 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7689 to the propagation data.
7690 * redisplay.c (create_text_block): if there is a glyph in the
7691 propagation data use it to salt extent_fragment_update.
7692 * redisplay.c (create_string_text_block): ditto.
7694 2002-04-13 Nix <nix@esperi.demon.co.uk>
7696 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7697 * redisplay-output.c (compare_runes): Compare them.
7698 * redisplay.c: Update copyright date.
7699 * redisplay.c (pos_data): Add need_baseline_computation field.
7700 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7701 need_baseline_computation; zero yoffset. Set max_pixmap_height
7702 for all pixmaps, not just automatically positioned ones.
7703 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7704 * redisplay.c (calculate_baseline): New, compute textual baseline.
7705 * redisplay.c (add_glyph_rune): Call them.
7706 * redisplay.c (create_text_block): Likewise.
7707 * redisplay.c (create_overlay_glyph_block): Likewise.
7708 * redisplay.c (add_margin_runes): Likewise.
7709 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7711 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7712 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7713 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7714 * redisplay-msw.c (mswindows_output_string): Likewise.
7715 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7716 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7717 * redisplay-x.c (x_output_display_block): Likewise.
7719 2002-03-28 Ben Wing <ben@xemacs.org>
7721 * redisplay.c: Fixed bug in redisplay
7722 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7723 and down of the lines, since they're bigger than the line
7724 size. (It was seen most obviously when there's a horizontal scroll
7725 bar, e.g. do C-h a glyph or something like that.) The problem was
7726 that the glyph-contrib-p setting on glyphs was ignored even if it
7727 was set properly, which it wasn't until now.
7729 2002-04-24 Andy Piper <andy@xemacs.org>
7731 * lisp.h (Dynarr_end): Fix definition.
7733 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7735 * redisplay.c (mark_redisplay): Remove call to
7736 update_frame_window_mirror.
7738 2001-11-15 Andy Piper <andy@xemacs.org>
7740 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7743 2002-02-13 Andy Piper <andy@xemacs.org>
7745 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7746 we did in fact enqueue the XM_MAPFRAME event.
7748 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7750 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7751 to fix problem switching between virtual desktops under virtuawin
7752 virtual window manager.
7754 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7756 * event-msw.c: Typo fix.
7757 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7758 magic XM_MAPFRAME event has been sent.
7760 2001-11-23 Andy Piper <andy@xemacs.org>
7762 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7764 2001-11-21 Andy Piper <andy@xemacs.org>
7766 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7767 mouse events outside the frame.
7769 2002-03-20 Andy Piper <andy@xemacs.org>
7771 * menubar-msw.c (mswindows_popup_menu): warning removal.
7772 * dialog-msw.c (dialog_popped_down): ditto.
7774 2001-12-11 Andy Piper <andy@xemacs.org>
7776 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7777 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7779 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7780 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7781 * menubar-msw.c (mswindows_popup_menu): ditto.
7783 2001-10-29 Andy Piper <andy@xemacs.org>
7785 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7788 2002-01-03 Andy Piper <andy@xemacs.org>
7790 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7794 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7796 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7797 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7798 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7799 Detect and handle case where machine is set up for metric units
7801 2002-04-02 Andy Piper <andy@xemacs.org>
7803 * dired-msw.c (mswindows_get_files):
7804 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7805 completely handled by XEmacs. Suggested by Thomas Vogler
7806 <mail@thomas-vogler.de>.
7808 2001-11-14 Andy Piper <andy@xemacs.org>
7810 * nt.c (REG_ROOT): change registry key to XEmacs.
7812 2002-04-27 Andy Piper <andy@xemacs.org>
7814 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7816 2002-04-26 Andy Piper <andy@xemacs.org>
7818 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7821 2002-03-14 Mike Alexander <mta@arbortext.com>
7823 * event-msw.c (mswindows_unwait_process): New, remove process from
7825 * process-nt.c (nt_finalize_process_data): Call
7826 mswindows_unwait_process
7827 * console-msw.h: Declare mswindows_unwait_process
7829 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7831 * editfns.c (Fdecode_time):
7832 (Fformat_time_string):
7833 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7834 (make_time): Warning elimination (change arg name).
7836 2001-11-24 Andy Piper <andy@xemacs.org>
7838 * window.c (Fsplit_window): Doc return type.
7840 2002-04-01 Andy Piper <andy@xemacs.org>
7842 * emacs.c (Fkill_emacs): Only output message box in interactive
7845 2002-04-26 Andy Piper <andy@xemacs.org>
7847 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7850 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7852 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7855 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7857 * XEmacs 21.4.8 "Honest Recruiter" is released.
7859 2002-05-07 Nix <nix@esperi.demon.co.uk>
7861 Supersedes 2002-04-17 patch.
7863 * process.h (PROCESS_LIVE_P): Use the process status as
7864 evidence of health, not the state of the input stream.
7865 (PROCESS_READABLE_P): Say if the process is readable
7866 from. (It may be dead nonetheless.)
7867 (CHECK_READABLE_PROCESS): Test for that condition.
7869 * process.c (create_process): Use PROCESS_READABLE_P.
7870 (read_process_output, set_process_filter): Likewise.
7872 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7873 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7875 This code is #if 0'd, this is not the time to add new functions:
7877 * process.c (Fprocess_readable_p): Report readability status.
7878 * process.c (Qprocess_readable_p): New, associated symbol...
7879 * process.c (syms_of_process): ... initialize it.
7881 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7883 * XEmacs 21.4.7 "Economic Science" is released.
7885 2002-04-17 Nix <nix@esperi.demon.co.uk>
7887 * process.h (PROCESS_LIVE_P): Use the process status as
7888 evidence of health, not the state of the input stream.
7890 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7892 * sysdep.c (sys_siglist): change "signum" to "signal"
7894 2001-04-21 Martin Buchholz <martin@xemacs.org>
7896 * s/darwin.h: New file.
7897 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7899 2002-04-23 Andreas Jaeger <aj@suse.de>
7901 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7902 which use lib64 for 64-bit libs.
7903 (START_FILES): Likewise.
7905 2002-02-11 Mike Sperber <mike@xemacs.org>
7908 (x_IO_error_handler):
7909 (x_init_device): Temporarily keep device in static variable
7910 `device_being_initialized' so we can recover gracefully from
7911 internal XOpenDevice failure. (XOpenDevice is documented to
7912 return NULL on failure, but sometimes calls the IO error handler
7915 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7917 * dired.c (Ffile_name_all_completions): Change documentation --
7918 remove reference to completion-ignored-extensions.
7919 * dired.c (vars_of_dired): Change documentation for
7920 completion-ignored-extensions -- remove reference to
7921 file-name-all-completions.
7923 2002-03-06 Jerry James <james@xemacs.org>
7925 * emodules.c (emodules_load): Fix multiple loading of same module.
7927 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7928 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7929 RTLD_LAZY to avoid incorrect symbol binding when using nested
7930 shared libraries on Solaris.
7932 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7934 * fileio.c (Ffind_file_name_handler): Improve docstring.
7936 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7938 * fns.c (Fmapconcat): Improve docstring.
7940 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7942 * device-gtk.c: Add prototype for
7943 emacs_gtk_selection_clear_event_handle.
7944 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7945 selection. Setup signal handler for "selection_clear_event"
7946 (emacs_gtk_selection_clear_event_handle).
7948 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7949 other applications owning the clipboard (based on
7950 x_handle_selection_clear).
7952 2001-12-23 William M. Perry <wmperry@gnu.org>
7954 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7956 2002-01-04 Martin Buchholz <martin@xemacs.org>
7958 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7960 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7962 * XEmacs 21.4.6 "Common Lisp" is released.
7964 2001-12-16 Torsten Duwe <duwe@caldera.de>
7966 * search.c (Freplace_match): Add missing sub-expression functionality.
7968 * buffer.c (decode_buffer): Add a check for pointer type to
7969 decode_buffer, before gcc's CSE optimization reorders a
7970 dereference in front of the allow_string test.
7972 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7974 * window.c (window_loop): Fix bug that sometimes prevented
7975 window_loop() from iterating across multiple devices. Also, at
7976 Ben's request, changed infloop-detecting code to abort() instead
7977 of silently terminating window_loop().
7979 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7981 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7982 * editfns.c (make_time): New function.
7983 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7984 * lisp.h (make_time): Prototype and comment it.
7985 * dired.c (wasteful_word_to_lisp): Deprecate.
7986 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7988 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
7990 * fileio.c (auto_save_1): Use current coding system, not
7993 2001-11-13 Ben Wing <ben@xemacs.org>
7996 * window.c (window_truncation_on):
7997 * window.c (syms_of_window):
7998 truncate-partial-width-windows should respect the buffer being
7999 displayed, like other redisplay vars.
8001 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8003 * event-stream.c (Fread_key_sequence): save current buffer.
8005 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8007 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8009 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8011 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8013 2001-10-26 Mike Alexander <mta@arbortext.com>
8015 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8017 2001-10-25 Andy Piper <andy@xemacs.org>
8020 * dialog-msw.c (handle_directory_proc): new function.
8021 (handle_directory_dialog_box): new fucntion.
8022 (handle_file_dialog_box): use new directory dialog support.
8023 (mswindows_make_dialog_box_internal): ditto.
8024 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8026 (mswindows_find_frame): make global.
8027 * fileio.c (Fexpand_file_name): build fix.
8028 * general-slots.h: add Qdirectory.
8029 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8031 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8032 cygwin not leaving win32 paths unchanged.
8033 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8034 cygwin runtime to do path conversion.
8035 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8036 (syms_of_win32): add new function.
8037 * window.c (window_loop): build fix.
8039 2001-10-15 Andy Piper <andy@xemacs.org>
8041 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8043 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8045 * XEmacs 21.4.5 "Civil Service" is released.
8047 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8049 * glyphs-x.c: Force buffer-tab highlight update when moving the
8050 buffer, avoiding an ugly black border, used for keyboard focus
8051 indication, on a widget that can never have keyboard focus, the
8054 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8056 * process-unix.c (unix_open_multicast_group): Remove too much
8057 conversion between host and network byte order.
8059 2001-09-10 Nix <nix@esperi.demon.co.uk>
8061 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8062 before replacing them.
8064 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8067 * src/window.c (undedicate_windows): Use it.
8068 * src/window.h: Add prototype.
8070 2001-09-17 Ben Wing <ben@xemacs.org>
8072 * fileio.c (normalize_filename):
8073 * fileio.c (Fexpand_file_name):
8074 Fix various C++ compile errors in Andy's recent code.
8076 * callint.c (Fcall_interactively):
8077 * editfns.c (Ftemp_directory):
8078 * editfns.c (Fuser_full_name):
8079 * emacs.c (argmatch):
8080 * lread.c (locate_file_map_suffixes):
8081 * redisplay-x.c (x_ring_bell):
8082 Fix sign-compare warnings.
8084 2001-09-08 Andy Piper <andy@xemacs.org>
8086 * fileio.c (normalize_filename): copied from nt.c
8087 * (Ffile_name_directory): enable win32 paths under cygwin.
8088 * (Ffile_name_nondirectory): ditto.
8089 * (directory_file_name): ditto.
8090 * (Fexpand_file_name): ditto.
8091 * (Ffile_truename): ditto.
8092 * (Fsubstitute_in_file_name): ditto.
8093 * (Ffile_name_absolute_p): ditto.
8094 * (Ffile_readable_p): ditto.
8096 2001-09-08 Andy Piper <andy@xemacs.org>
8098 * device-msw.c (mswindows_finish_init_device): remove dde
8100 * device-msw.c (mswindows_init_dde): factor out from
8101 mswindows_finish_init_device()
8102 * device-msw.c (init_mswindows_very_early): new function
8103 initialize but don't enable dde.
8104 * emacs.c (main_1): call init_mswindows_very_early.
8106 * event-msw.c (mswindows_dde_callback): only execute when we are
8108 * symsinit.h: declare init_mswindows_very_early.
8110 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8112 [sjt: This has been in 21.5 for months with no complaints.]
8114 * console.h (struct console_methods): Added flags member.
8115 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8116 (CONMETH_IMPL_FLAG):
8117 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8118 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8120 * device.c (window_system_pixelated_geometry): Use the above macros.
8122 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8123 implememntation flag.
8124 * device.h (DEVICE_DISPLAY_P): Use it.
8126 * frame.c (delete_frame_internal): Use the above macro.
8128 * redisplay.c (redisplay_device): Use it.
8129 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8130 (redisplay_frame): Ditto.
8132 * device-msw.c (mswindows_device_implementation_flags): Removed.
8133 (msprinter_device_implementation_flags): Removed.
8134 (console_type_create_device_mswindows): Removed references to
8135 implementation_flags methods, set implementation flags here.
8136 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8138 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8139 (console_type_create_device_gtk): Removed method declaration.
8140 Added commented out statement which semantically matches the
8141 commented out statement in the above removed method.
8143 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8145 The attached patch fixes a few warnings.
8147 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8148 * src/frame-gtk.c: guard against GNOME calls in GTK only
8149 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8150 * src/select-gtk.c: prototype lisp_to_time
8152 2001-06-08 Ben Wing <ben@xemacs.org>
8154 ------ gc-in-window-procedure fixes ------
8157 * alloc.c (struct post_gc_action):
8158 * alloc.c (register_post_gc_action):
8159 * alloc.c (run_post_gc_actions):
8160 * alloc.c (garbage_collect_1):
8161 Create "post-gc actions", to avoid those dreaded "GC during window
8162 procedure" problems.
8165 Abort, clean and simple, when GC in window procedure. We want
8166 to flush these puppies out.
8169 * glyphs-msw.c (finalize_destroy_window):
8170 * glyphs-msw.c (mswindows_finalize_image_instance):
8171 Use a post-gc action when destroying subwindows.
8174 Declare register_post_gc_action().
8177 * scrollbar-msw.c (unshow_that_mofo):
8178 Use a post-gc action when unshowing scrollbar windows, if in gc.
8180 * redisplay.c (mark_redisplay):
8181 Add comment about the utter evilness of what's going down here.
8183 ------ cygwin setitimer fixes ------
8185 * Makefile.in.in (sheap_objs):
8186 * Makefile.in.in (profile_objs):
8187 * Makefile.in.in (objs):
8188 Compile profile.c only when HAVE_SETITIMER.
8190 * nt.c (mswindows_sigset):
8191 * nt.c (mswindows_sighold):
8192 * nt.c (mswindows_sigrelse):
8193 * nt.c (mswindows_sigpause):
8194 * nt.c (mswindows_raise):
8195 * nt.c (close_file_data):
8199 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8202 * profile.c (Fstart_profiling):
8203 * profile.c (Fstop_profiling):
8204 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8205 instead of just plain setitimer().
8208 * signal.c (set_one_shot_timer):
8210 Define qxe_setitimer() as an encapsulation around setitimer() --
8211 call setitimer() directly unless Cygwin or MS Win, in which case
8212 we use our simulated version in win32.c.
8215 * systime.h (struct itimerval):
8216 * systime.h (ITIMER_REAL):
8217 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8218 comment about "qxe" and the policy regarding encapsulation.
8221 * win32.c (setitimer_helper_proc):
8222 * win32.c (setitimer_helper_period):
8223 * win32.c (setitimer_helper):
8224 * win32.c (mswindows_setitimer):
8225 Move setitimer() emulation here, so Cygwin can use it.
8226 Rename a couple of functions and variables to be longer and more
8227 descriptive. In setitimer_helper_proc(), send the signal
8228 using either mswindows_raise() or (on Cygwin) kill(). If for
8229 some reason we are still getting lockups, we'll change the kill()
8230 to directly invoke the signal handlers.
8232 ------ windows shell fixes ------
8236 Comments about how these two files must die.
8238 * callproc.c (init_callproc):
8239 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8240 not just COMSPEC. (more correct and closer to FSF.) Don't
8241 force a value for SHELL into the environment. (Comments added
8242 to explain why not.)
8244 * nt.c (init_user_info):
8245 Don't shove a fabricated SHELL into the environment. See above.
8247 2001-06-01 Ben Wing <ben@xemacs.org>
8249 * Makefile.in.in (ldflags):
8250 eliminate that pesky "defaulting to 00401000" warning.
8254 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8256 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8257 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8259 2001-04-24 Jerry James <james@xemacs.org>
8261 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8264 2001-06-01 Ben Wing <ben@xemacs.org>
8266 * event-msw.c (debug_mswin_messages):
8267 conditionalize the messages that were causing compile errors.
8268 (if only macros could generate #ifdef statements ...)
8270 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8272 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8274 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8276 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8278 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8280 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8281 * process-unix.c (unix_canonicalize_host_name):
8282 sysdep.c (init_system_name):
8283 Use it to conditionally support IPv6 canonicalization.
8285 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8288 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8290 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8292 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8293 attempt is made to scroll when no scroll bar is available.
8295 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8297 * input-method-motif.c (XIM_delete_frame): New callback.
8298 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8299 got deleted from 21.4.3.)
8301 2001-06-01 Ben Wing <ben@xemacs.org>
8303 * nt.c (mswindows_utime):
8304 * nt.c (close_file_data):
8305 fix off-by-one-indirection error.
8307 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8309 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8310 because set_file_times() now takes Lisp_Object path, instead of
8312 * nt.c: Include buffer.h.
8313 * nt.c (convert_from_time_t): New.
8314 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8315 not set mtime correctly.
8316 * nt.h: Declare mswindows_utime().
8317 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8318 path, instead of char*.
8319 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8321 2001-05-30 Ben Wing <ben@xemacs.org>
8325 (Stephen, just take all event-msw.c patches. This includes
8326 the "iconify" fix below.)
8329 * event-msw.c (mswindows_dequeue_dispatch_event):
8330 * event-msw.c (assert):
8331 * event-msw.c (emacs_mswindows_quit_p):
8332 * event-msw.c (debug_mswin_messages):
8333 * event-msw.c (debug_output_mswin_message):
8334 * event-msw.c (vars_of_event_mswindows):
8335 Fix yet more problems with C-g handling.
8336 Implement debug-mswindows-events.
8338 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8340 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8342 2001-05-23 Ben Wing <ben@xemacs.org>
8344 * event-msw.c (winsock_writer):
8345 * event-msw.c (winsock_closer):
8346 prior kludgy code was clobbering the buffer, thinking it was
8347 "unused" space to store an unneeded return value; instead, use
8348 the variable we've already got staring us in the face.
8350 2001-05-17 Andy Piper <andy@xemacs.org>
8352 * sysfile.h: don't assume that file attributes are boolean
8354 2001-05-23 Ben Wing <ben@xemacs.org>
8356 * device-msw.c (msprinter_init_device):
8357 signal an error rather than crash with an unavailable network
8358 printer (from Mike Alexander).
8361 * event-msw.c (struct winsock_stream):
8362 * event-msw.c (winsock_writer):
8363 * event-msw.c (winsock_closer):
8364 * event-msw.c (make_winsock_stream_1):
8365 cleanup headers. fix (hopefully) an error with data corruption
8366 when sending to a network connection.
8368 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8369 to handle the ~user prefix by (a) always assuming we're referencing
8370 ourselves and not even verifying the user -- hence any file with
8371 a tilde as its first char is invalid! (b) if there wasn't a slash
8372 following the filename, the pointer was set *past* the end of
8373 file and we started reading from uninitialized memory. Now we
8374 simply treat these as files, always.
8376 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8378 2001-05-19 Ben Wing <ben@xemacs.org>
8380 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8383 * process-nt.c (vars_of_process_nt):
8384 remove unused mswindows-quote-process-args. rec for 21.4.
8386 2001-05-12 Ben Wing <ben@xemacs.org>
8388 * event-msw.c (mswindows_dde_callback):
8389 * event-msw.c (mswindows_wnd_proc):
8390 eliminate cygwin warnings.
8392 2001-05-06 Ben Wing <ben@xemacs.org>
8396 * device-msw.c (print_dialog_worker):
8397 * device-msw.c (mswindows_handle_print_dialog_box):
8398 * device-msw.c (syms_of_device_mswindows):
8399 * dialog-msw.c (mswindows_make_dialog_box_internal):
8401 implement printing the selection when it's selected.
8403 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8405 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8407 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8409 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8410 EMACS_INT is signed.
8412 2001-04-15 Michael Lausch <mla@1012surf.net>
8414 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8415 gtk_widget_request_size() to give scrollbar >0 width for
8418 2001-05-30 William M. Perry <wmperry@gnu.org>
8420 * event-gtk.c: Check for buttons as modifier keys.
8422 2001-05-25 Craig Lanning <CraigL@Knology.net>
8425 Properly find MinGW's <process.h> inside Cygwin's restructured
8426 include directories. Don't try to include <cygwin/version.h>
8427 since we are dropping support for MinGW in versions of Cygwin
8430 Drop support for MinGW in versions of Cygwin before b21.
8432 Properly find MinGW's <process.h> inside Cygwin's restructured
8433 include directories.
8435 Drop support for MinGW in versions of Cygwin before b21.
8437 Even though a.out.h is no longer detected by configure, allow
8438 MinGW to use it until we figure out how to do the job with Win32.
8440 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8442 * syntax.c (find_start_of_comment):
8443 Fix `unbalanced parentheses' bug when dealing with mixed comment
8444 styles in c++/java/etc. mode
8446 2001-05-29 Mike Alexander <mta@arbortext.com>
8448 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8449 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8451 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8453 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8455 2001-03-31 Mike Sperber <mike@xemacs.org>
8457 * search.c (Freplace_match): Support FSF-style specification of
8458 match subexpression when applied to a buffer.
8460 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8462 * event-stream.c (is_scrollbar_event): add missing semicolon
8464 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8466 * Makefile.in.in: Use TAR macro instead of hardcoding
8467 tar. Allows use of GNU tar instead of system tar
8469 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8471 * event-stream.c (is_scrollbar_event): add missing semicolon
8473 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8475 * XEmacs 21.4.3 "Academic Rigor" is released.
8477 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8479 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8481 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8483 * buffer.c (Vcase_fold_search): Remove obsolete
8484 comment about non ASCII case-fold-search. This
8485 bug has been fixed by case-table changes.
8487 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8489 * event-msw.c: Restore include of events-mod.h.
8491 2001-04-22 zhaoway <zw@debian.org>
8493 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8496 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8498 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8500 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8502 * mule-charset.c (Fmake_charset): Add missing else.
8504 2001-04-23 Ben Wing <ben@xemacs.org>
8506 * event-msw.c (FAKE_MOD_QUIT):
8507 * event-msw.c (mswindows_dequeue_dispatch_event):
8508 * event-msw.c (mswindows_wnd_proc):
8509 * event-msw.c (emacs_mswindows_quit_p):
8510 Get critical quit working.
8512 2001-05-05 Ben Wing <ben@xemacs.org>
8516 * device-msw.c (mswindows_get_default_margin):
8517 * frame-msw.c (mswindows_size_frame_internal):
8518 * frame-msw.c (msprinter_init_frame_1):
8519 * frame-msw.c (vars_of_frame_mswindows):
8520 Change top/bottom margin defaults to 0.5 inches.
8522 2001-05-01 Martin Buchholz <martin@xemacs.org>
8524 Fix link error with gcc 3.0 on Linux.
8525 * terminfo.c (UP): Remove.
8526 * terminfo.c (BC): Remove.
8527 * terminfo.c (PC): Remove.
8528 They weren't used, and in any case, these symbols should be
8529 defined in the *library*.
8531 2001-05-03 Martin Buchholz <martin@xemacs.org>
8533 * s/aix4.h: Fix crash with xlc -O3.
8534 Improve comment explaining how -O3 works.
8536 2001-04-15 Ben Wing <ben@xemacs.org>
8539 * event-stream.c (Fnext_event):
8540 * event-stream.c (is_scrollbar_event):
8541 * event-stream.c (execute_command_event):
8542 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8543 crash' problem. His fix introduces other problems. We filter
8544 out scrollbar events specifically, making them somewhat invisible
8545 to command-building, and not appearing in `this-command-keys'.
8546 More work is still needed (see comments in event-stream.c), but
8547 this fixes all the major problems.
8549 2001-04-20 Ben Wing <ben@xemacs.org>
8551 * .cvsignore: Added stuff for Windows.
8553 2001-04-28 Ben Wing <ben@xemacs.org>
8555 * buffer.c (Ferase_buffer):
8556 * editfns.c (buffer_insert1):
8557 * editfns.c (Finsert_before_markers):
8558 * editfns.c (Finsert_string):
8559 * editfns.c (Finsert_char):
8560 * editfns.c (Fdelete_region):
8561 * editfns.c (Fwiden):
8562 * editfns.c (Fnarrow_to_region):
8563 remove bogus lines setting zmacs_region_stays to 0.
8565 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8567 * process-unix.c (unix_open_network_stream): If connect() fails
8568 invalidate file descriptor after closing it.
8570 2001-03-08 Mike Alexander <mta@arbortext.com>
8572 * event-msw.c (mswindows_need_event_in_modal_loop):
8573 Don't dispatch a message if we didn't get one.
8574 (mswindows_need_event):
8575 Terminate the correct process when one exits instead of the first
8576 one on Vprocess_list and look for process termination when in
8577 mswindows_protect_modal_loop.
8579 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8581 * XEmacs 21.4.1 "Copyleft" is released.
8583 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8585 * input-method-motif.c (XIM_delete_frame): New callback.
8586 (XIM_init_frame): Register it.
8588 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8590 * XEmacs 21.4.0 "Solid Vapor" is released.
8592 2001-04-15 Ben Wing <ben@xemacs.org>
8594 * cmdloop.c (call_command_loop):
8595 Fix braino in bit-rotting code.
8597 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8599 * extents.c (Fset_extent_endpoints): Force creation of extent info
8600 in buffer_or_string.
8602 * extents.c (process_extents_for_insertion_mapper): Correctly
8603 check for open-open zero-length extents.
8605 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8607 * lisp.h: New typedefs Memory_count, Element_count.
8610 Sign-compare warning elimination: several unsigned -> signed.
8611 Based on work by Ben Wing <ben@xemacs.org>.
8613 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8615 * XEmacs 21.2.47 "Zephir" is released.
8617 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8619 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8621 2001-04-03 Mike Sperber <mike@xemacs.org>
8623 * search.c: Revert previous patch due because of release.
8625 2001-03-30 Ben Wing <ben@xemacs.org>
8628 Add missing killpg prototype.
8631 Add a comment about fixing problems when a new entry is added
8634 * frame-msw.c (mswindows_init_frame_1):
8635 Fix compile warnings.
8637 * menubar.c (vars_of_menubar):
8638 Provide `menu-accelerator-support' to indicate that we properly
8639 support %_ in menu specifications, so that package code can
8640 conditionalize on this (and remove %_ from menu specifications
8645 * scrollbar-msw.c (can_scroll):
8647 Fix handling of mouse wheel under Windows to follow standards --
8648 now scrolls window under pointer, not selected window.
8650 2001-03-31 Mike Sperber <mike@xemacs.org>
8652 * search.c (Freplace_match): Support FSF-style specification of
8653 match subexpression when applied to a buffer.
8655 2001-03-15 Martin Buchholz <martin@xemacs.org>
8657 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8658 function to modify KEYMAP, so map over a copy of the hash table.
8660 2001-03-21 Martin Buchholz <martin@xemacs.org>
8662 * XEmacs 21.2.46 "Urania" is released.
8664 2001-03-20 Dan Holmsand <dan@eyebee.com>
8666 * realpath.c (xrealpath): Make file-truename work with symlinks to
8667 /cygdrive paths on cygwin. Always lowercase drive-letters on
8669 (cygwin_readlink): Don't try to find canonical filename unless
8672 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8674 * ChangeLog: Log GTK merge.
8680 Revert gratuitous whitespace changes from GTK merge.
8682 * emacs.c: Document end of complex #ifdef @ l. 1495.
8685 2001-03-12 Andy Piper <andy@xemacs.org>
8687 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8688 have to do likewise.
8690 2001-03-12 Andy Piper <andy@xemacs.org>
8692 * sysdep.c: we only support mingw now.
8694 2001-03-09 Andy Piper <andy@xemacs.org>
8696 * unexcw.c (copy_executable_and_dump_data_section): making approx
8697 overrun a warning only.
8699 2001-03-10 William M. Perry <wmperry@aventail.com>
8701 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8702 satisfy Stephen's identical-after-cpp plea.
8704 2001-03-02 Ben Wing <ben@xemacs.org>
8707 * cmds.c (Fforward_char):
8711 Augment documentation of the most common motion commands to make
8712 note of the shifted-motion support.
8714 2001-03-02 Ben Wing <ben@xemacs.org>
8716 * nt.c (mswindows_fstat):
8717 * nt.c (mswindows_stat):
8718 * search.c (boyer_moore):
8719 Fix compile warnings under Windows.
8721 * sysdep.c (sys_readdir):
8722 Fix buggy filename-conversion code under Mule.
8724 2001-03-09 William M. Perry <wmperry@aventail.com>
8746 * redisplay-output.c:
8752 The Great GTK Merge.
8759 * emacs-widget-accessors.c:
8773 * native-gtk-toolbar.c:
8784 The Great GTK Merge: new files.
8786 2001-02-26 Ben Wing <ben@xemacs.org>
8788 Reapplied Lstream change.
8790 2001-02-26 Ben Wing <ben@xemacs.org>
8792 Undid the last change, since it is more controversial than I
8793 thought. It should be back in at some point soon.
8795 2001-02-25 Ben Wing <ben@xemacs.org>
8798 * callproc.c (Fold_call_process_internal):
8799 * event-msw.c (ntpipe_slurp_reader):
8800 * event-msw.c (ntpipe_shove_writer):
8801 * event-msw.c (winsock_reader):
8802 * event-msw.c (winsock_writer):
8804 * file-coding.c (detect_eol_type):
8805 * file-coding.c (detect_coding_type):
8806 * file-coding.c (determine_real_coding_system):
8807 * file-coding.c (Fdetect_coding_region):
8808 * file-coding.c (decoding_reader):
8809 * file-coding.c (decoding_writer):
8810 * file-coding.c (mule_decode):
8811 * file-coding.c (Fdecode_coding_region):
8812 * file-coding.c (encoding_reader):
8813 * file-coding.c (encoding_writer):
8814 * file-coding.c (mule_encode):
8815 * file-coding.c (Fencode_coding_region):
8816 * file-coding.c (detect_coding_sjis):
8817 * file-coding.c (decode_coding_sjis):
8818 * file-coding.c (encode_coding_sjis):
8819 * file-coding.c (detect_coding_big5):
8820 * file-coding.c (decode_coding_big5):
8821 * file-coding.c (encode_coding_big5):
8822 * file-coding.c (detect_coding_ucs4):
8823 * file-coding.c (decode_coding_ucs4):
8824 * file-coding.c (encode_coding_ucs4):
8825 * file-coding.c (detect_coding_utf8):
8826 * file-coding.c (decode_coding_utf8):
8827 * file-coding.c (encode_coding_utf8):
8828 * file-coding.c (detect_coding_iso2022):
8829 * file-coding.c (decode_coding_iso2022):
8830 * file-coding.c (encode_coding_iso2022):
8831 * file-coding.c (decode_coding_no_conversion):
8832 * file-coding.c (encode_coding_no_conversion):
8833 * glyphs-x.c (write_lisp_string_to_temp_file):
8834 * gpmevent.c (tty_get_foreign_selection):
8837 * lstream.c (Lstream_flush_out):
8838 * lstream.c (Lstream_adding):
8839 * lstream.c (Lstream_write_1):
8840 * lstream.c (Lstream_write):
8841 * lstream.c (Lstream_raw_read):
8842 * lstream.c (Lstream_read_more):
8843 * lstream.c (Lstream_read):
8844 * lstream.c (Lstream_unread):
8845 * lstream.c (Lstream_fputc):
8846 * lstream.c (stdio_reader):
8847 * lstream.c (stdio_writer):
8848 * lstream.c (filedesc_reader):
8849 * lstream.c (filedesc_writer):
8850 * lstream.c (lisp_string_reader):
8851 * lstream.c (struct fixed_buffer_stream):
8852 * lstream.c (make_fixed_buffer_input_stream):
8853 * lstream.c (make_fixed_buffer_output_stream):
8854 * lstream.c (fixed_buffer_reader):
8855 * lstream.c (fixed_buffer_writer):
8856 * lstream.c (struct resizing_buffer_stream):
8857 * lstream.c (resizing_buffer_writer):
8858 * lstream.c (dynarr_writer):
8859 * lstream.c (lisp_buffer_reader):
8860 * lstream.c (lisp_buffer_writer):
8862 * lstream.h (lstream_implementation):
8863 * lstream.h (struct lstream):
8865 * process-nt.c (nt_send_process):
8866 * process-unix.c (unix_send_process):
8868 Correct Lstream lossage due to mixing of signed and unsigned
8869 quantities. All Lstream uses of size_t and ssize_t are now a
8870 single signed data type Lstream_data_count. This fixes problems
8871 under Windows with sending large quantities of data to a process,
8872 and may well fix other subtle bugs.
8874 2001-02-23 Martin Buchholz <martin@xemacs.org>
8876 * XEmacs 21.2.45 "Thelxepeia" is released.
8878 2001-02-21 Martin Buchholz <martin@xemacs.org>
8880 * lisp-union.h (XSETINT):
8883 Reverse previous change of 2001-02-06.
8885 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8887 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8889 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8890 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8891 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8892 * regex.c (POS_AS_IN_BUFFER): removed
8893 * regex.c (re_search_2):
8894 * regex.c (re_match_2):
8895 Don't use an offset of 1 when calculating buffer positions, since
8896 `BI_BUF_BEGV' does it already.
8898 2001-02-18 Wim Dumon <wim@easics.be>
8900 * insdel.c (prepare_to_modify_buffer): Also check for
8901 supersession when clash-detection is enabled.
8903 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8905 * regex.c (re_match_2_internal):
8906 Convert temp characters from 'const unsigned char' to 're_char'.
8907 Fix crashing bug with extended characters under mule.
8908 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8909 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8910 font-lock, pdump, and new syntax-table code.
8911 * syntax.c (find_start_of_comment):
8912 (find_end_of_comment):
8914 Fix crashing bugs involving moving beyond end of buffer.
8915 * syntax.c (find_start_of_comment):
8916 Fixed logic to allow proper detection of cases where the same
8917 character is used to end both a two-char comment start and a
8918 two-char comment end sequence. Fixes `(forward-comment -1)'.
8919 * syntax.c (find_start_of_comment):
8920 Return position just past last comment-end character for all cases
8921 (previously was only done for two-char comment-end sequences).
8922 * syntax.c (forward-comment):
8923 Take value returned from `find_end_of_comment', rather than
8925 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8926 Properly deal with BUFFERP (syntax_cache.object)
8928 2001-02-17 Martin Buchholz <martin@xemacs.org>
8930 * alloc.c (Fgarbage_collect):
8931 * alloc.c (make_bit_vector_from_byte_vector):
8932 -Wsign-compare-correctness.
8934 2001-02-16 Martin Buchholz <martin@xemacs.org>
8936 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8937 (XSETCHAR): Likewise.
8938 (XSETOBJ): Likewise.
8940 2001-02-15 Martin Buchholz <martin@xemacs.org>
8942 * mule-canna.c (canna-func-delete_previous):
8943 Rename to canna-func-delete-previous.
8945 2001-02-14 Martin Buchholz <martin@xemacs.org>
8947 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8949 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8951 * font-lock.c (find_context): Fix C++ compile errors introduced by
8954 2001-02-13 Martin Buchholz <martin@xemacs.org>
8956 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8957 pragma, but earlier ones barf on the same pragma.
8959 2001-02-06 Mike Sperber <mike@xemacs.org>
8961 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8962 `configure-mule-lisp-directory'.
8964 2001-02-12 Martin Buchholz <martin@xemacs.org>
8966 Make sure dump-id.c is compiled in the same way as other .c's.
8967 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8968 * dump-id.h: Remove.
8969 * emacs.c: Move dump-id.h into dumper.h.
8970 * dumper.h: Move dump-id.h into dumper.h.
8972 Use standard .c.o rule for building dump-id.o.
8973 Remove preprocessor flags from link command.
8974 Add dump-id.o to ${otherobjs} if PDUMP.
8976 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8978 Port FSF 20.7 syntax table improvements.
8982 Fixups for new syntax table stuff.
8983 * dired.c: Include syntax.c.
8984 (Fdirectory_files): Initialize regex_match_object and
8986 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8987 and Fget_char_property.
8989 Use ported FSF 20.7 syntax table improvements.
8994 2001-02-09 Martin Buchholz <martin@xemacs.org>
8996 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
8997 Unixware's enum boolean from sys/types.h.
8999 2001-02-10 Martin Buchholz <martin@xemacs.org>
9001 Fix support for building with latest Purify.
9002 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9003 (PURIFY_FLAGS): Likewise.
9005 2001-02-09 Martin Buchholz <martin@xemacs.org>
9007 * fileio.c (lisp_string_set_file_times): New.
9008 * fileio.c (Fcopy_file): Use it.
9010 (copy-file filename non-ascii-filename t t)
9011 ==> No such file or directory, non-ascii-filename
9013 2001-02-10 Martin Buchholz <martin@xemacs.org>
9015 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9016 USHRT_MAX seems clearer than ~0 anyways.
9018 2001-02-09 Martin Buchholz <martin@xemacs.org>
9020 dumper improvements. Inspired by Olivier.
9021 * dumper.c (pdump_max_align): New.
9022 * dumper.c (pdump_add_entry): Use pdump_max_align.
9023 * dumper.c (pdump_get_entry_list): Likewise.
9024 * dumper.c (pdump_scan_by_alignment): Likewise.
9025 Don't iterate through unnecessary alignments.
9026 * dumper.c (pdump_file_get): No need to align result of malloc().
9027 * dumper.c (pdump_mallocadr): Remove.
9028 The result of malloc() is guaranteed to be maximally aligned.
9029 * dumper.c: s/elmt/elt/g;
9030 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9031 * dumper.c (pdump_alert_undump_object): Likewise.
9032 * dumper.c (pdump_align_table):
9033 Don't support alignments > 64.
9034 Store ALIGNOF's, not shift counts, in table.
9036 2001-02-09 Martin Buchholz <martin@xemacs.org>
9038 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9039 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9040 * systime.h: Use HAVE_UTIME.
9041 * sysdep.c (struct utimbuf): Remove.
9042 * sysdep.c (set_file_times): Prefer utime() to utimes().
9043 * config.h.in (HAVE_UTIME): New.
9044 * config.h.in (HAVE_UTIME_H): Remove.
9045 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9047 2001-02-09 Martin Buchholz <martin@xemacs.org>
9049 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9051 2001-02-08 Martin Buchholz <martin@xemacs.org>
9053 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9055 2001-02-08 Martin Buchholz <martin@xemacs.org>
9057 * XEmacs 21.2.44 "Thalia" is released.
9059 2001-02-06 Martin Buchholz <martin@xemacs.org>
9061 Fixes crashes in kill-emacs on some systems.
9062 * process-unix.c (unix_kill_child_process):
9063 It's OK for kill() to fail with ESRCH.
9065 2001-02-07 Martin Buchholz <martin@xemacs.org>
9067 Contortions to make .gdbinit tricks work on most systems.
9068 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9069 * alloc.c (dbg_valmask): Make non-const.
9070 * alloc.c (dbg_typemask): Make non-const.
9071 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9072 * alloc.c (dbg_valbits): Make non-const.
9073 * alloc.c (dbg_gctypebits): Make non-const.
9074 * .gdbinit (decode_object): Make it work with AIX cc.
9076 2001-02-06 Martin Buchholz <martin@xemacs.org>
9078 * elhash.c (make_general_lisp_hash_table):
9079 Use simpler and more efficient calloc to clear entries.
9081 2001-02-07 Martin Buchholz <martin@xemacs.org>
9083 * window.c (window_scroll): Work around an AIX C compiler bug.
9084 Fixes 'scroll-up' does nothing problem with xlC.
9086 2001-02-05 Martin Buchholz <martin@xemacs.org>
9088 * .gdbinit: Remove obsolete comment.
9090 2001-01-31 Mike Alexander <mta@arbortext.com>
9092 * select.c (Fown_selection_internal): Set owned_p for device
9095 2001-02-01 Martin Buchholz <martin@xemacs.org>
9098 "not" cannot be used as a macro name as it is an operator in C++
9099 * config.h.in: Stop #defining `not'.
9100 * chartab.c (check_category_char): not ==> not_p
9101 * chartab.h: Likewise.
9102 * regex.c (re_match_2_internal): Likewise.
9104 2001-02-02 Martin Buchholz <martin@xemacs.org>
9106 * lisp-disunion.h: Fix up comments.
9108 2001-01-31 Martin Buchholz <martin@xemacs.org>
9110 * keymap.c (define_key_check_and_coerce_keysym):
9112 Support mouse-6 and mouse-7 bindings in the obvious way.
9114 2001-02-01 Martin Buchholz <martin@xemacs.org>
9116 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9118 2001-01-30 Martin Buchholz <martin@xemacs.org>
9120 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9121 Previous patch missed DEFVAR_INT_MAGIC.
9122 Make sure future DEFVAR_foo use correct types.
9123 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9124 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9125 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9126 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9127 * (DEFVAR_INT): Likewise.
9128 * redisplay.c (vertical_clip): Should be of type Fixnum.
9129 * redisplay.c (horizontal_clip): Likewise.
9130 * lisp.h (dump_add_opaque_int): New.
9131 (dump_add_opaque_fixnum): New.
9133 2001-01-29 Andy Piper <andy@xemacs.org>
9135 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9136 since they can be eval'ed
9138 2001-01-29 Martin Buchholz <martin@xemacs.org>
9140 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9141 Oops, XEmacs redefines `class'. Use `typename' instead.
9143 2001-01-28 Martin Buchholz <martin@xemacs.org>
9145 * dumper.c: Fix C++ compile errors.
9147 2001-01-29 Martin Buchholz <martin@xemacs.org>
9149 * tparam.c: Use correct prototypes.
9151 2001-01-28 Martin Buchholz <martin@xemacs.org>
9153 * sysproc.h: #include util.h for NetBSD's openpty.
9155 2001-01-27 Martin Buchholz <martin@xemacs.org>
9157 More 64-bit correctness.
9158 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9159 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9161 This finally finishes the 64-bit SGI port.
9162 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9163 * symbols.c: Fix up comments and type casts.
9164 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9165 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9166 * symeval.h (Fixnum): New type.
9167 * symeval.h (symbol_value_type): Fix up comment.
9183 * mule-canna.c: A million DEFVAR_INTs here...
9184 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9197 s/int/Fixnum/g in DEFVAR_INT declarations.
9199 2001-01-26 Martin Buchholz <martin@xemacs.org>
9201 Port pdump to SGI alignment-sensitive environment.
9202 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9203 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9205 Define and use aligned reading and writing macros.
9206 Use buffered stdio instead of posix i/o for faster dumping.
9207 Eliminate kludgy 256 byte space for header.
9208 Read and write from dump file using structs for alignment safety.
9209 * dumper.c (pdump_align_stream): New.
9210 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9211 * dumper.c (PDUMP_READ_ALIGNED): New.
9212 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9213 * dumper.c (pdump_static_Lisp_Object): New struct.
9214 * dumper.c (pdump_static_pointer): New struct.
9215 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9216 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9217 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9218 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9220 * dumper.c (pdump_backtrace):
9221 * dumper.c (pdump_get_indirect_count):
9222 * dumper.c (pdump_register_object):
9223 * dumper.c (pdump_register_struct):
9224 * dumper.c (pdump_reloc_one):
9225 * dumper.c (pdump_scan_by_alignment):
9226 * dumper.c (pdump_dump_from_root_struct_ptrs):
9227 * dumper.c (pdump_dump_opaques):
9228 * dumper.c (pdump_dump_rtables):
9229 * dumper.c (pdump_dump_from_root_objects):
9231 * dumper.c (pdump_load_finish):
9232 Use aligned reading and writing.
9234 * dumper.c (pdump_free): Make static.
9235 * dumper.c (pdump_hFile): Likewise.
9236 * dumper.c (pdump_hMap): Likewise.
9238 2001-01-26 Martin Buchholz <martin@xemacs.org>
9240 * XEmacs 21.2.43 "Terspichore" is released.
9242 2001-01-25 Martin Buchholz <martin@xemacs.org>
9244 Type fiddling for window_config.saved_windows_count
9245 * window.c (struct window_config):
9246 Make saved_windows_count member unsigned.
9247 * window.c (sizeof_window_config_for_n_windows):
9248 Make parameter unsigned.
9249 * window.c (mark_window_config):
9250 * window.c (window_config_equal):
9251 * window.c (free_window_configuration):
9252 * window.c (Fset_window_configuration):
9253 * window.c (count_windows):
9254 * window.c (Fcurrent_window_configuration):
9255 * window.c (reinit_vars_of_window):
9256 Update all callers and users.
9258 2001-01-25 Martin Buchholz <martin@xemacs.org>
9260 Alignment correctness for flexible arrays.
9261 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9262 Make alignment-correct. Add interesting comments.
9263 * alloc.c (size_vector):
9264 * alloc.c (make_vector_internal):
9265 * alloc.c (make_bit_vector_internal):
9266 * alloc.c (sweep_bit_vectors_1):
9267 * fns.c (size_bit_vector):
9268 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9269 * window.c (sizeof_window_config_for_n_windows):
9270 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9272 2001-01-24 Martin Buchholz <martin@xemacs.org>
9274 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9276 2001-01-23 Andy Piper <andy@xemacs.org>
9278 * select.c (Fown_selection_internal): pass owned_p
9280 * select-msw.c (mswindows_own_selection): New Signature.
9282 * console.h (struct console_methods): add owned_p to
9285 * select-x.c (x_own_selection): pass owned_p
9286 (hack_motif_clipboard_selection): use owned_p
9287 (vars_of_select_x): new variable -
9288 x_selection_strict_motif_ownership.
9290 2001-01-23 Martin Buchholz <martin@xemacs.org>
9292 * specifier.h (specifier_data_offset): Remove pointless parens.
9293 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9295 2001-01-24 Martin Buchholz <martin@xemacs.org>
9297 Make Lisp_Object sizeof methods be alignment-correct.
9298 pdump must restore objects to the same alignment as the C compiler
9299 assumes. It really matters on SGIs.
9300 * lstream.c (aligned_sizeof_lstream): New.
9301 (sizeof_lstream): Use aligned_sizeof_lstream.
9302 (Lstream_new): Likewise.
9303 * opaque.c (aligned_sizeof_opaque): New.
9304 (sizeof_opaque): Use aligned_sizeof_opaque.
9305 (make_opaque): Likewise.
9306 * specifier.c (aligned_sizeof_specifier): New.
9307 (sizeof_specifier): Use aligned_sizeof_specifier.
9308 (make_specifier_internal): Likewise.
9310 2001-01-23 Martin Buchholz <martin@xemacs.org>
9312 * lstream.h (struct lstream): Use max_align_t for trailing data.
9313 * specifier.h (struct Lisp_Specifier): Likewise.
9315 2001-01-22 Martin Buchholz <martin@xemacs.org>
9317 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9318 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9319 (CCL_SUSPEND): Likewise.
9320 (CCL_INVALID_CMD): Likewise.
9321 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9322 (ccl_driver): Likewise.
9323 (CCL_WRITE_CHAR): Macro hygiene.
9324 (CCL_WRITE_STRING): Macro hygiene.
9326 2001-01-22 Martin Buchholz <martin@xemacs.org>
9328 Port "portable" dumper to SunOS 4 and HP-UX.
9329 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9330 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9331 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9333 2001-01-22 Martin Buchholz <martin@xemacs.org>
9335 * lisp.h (ALIGNOF): A better definition for C++.
9337 2001-01-20 Martin Buchholz <martin@xemacs.org>
9340 Fix printf warnings: int format, long int arg.
9341 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9342 (PUSH_FAILURE_POINT): Use correct printf formats.
9343 (POP_FAILURE_POINT): Use correct printf formats.
9344 Use do {...} while (0)
9346 2001-01-20 Martin Buchholz <martin@xemacs.org>
9348 * XEmacs 21.2.42 "Poseidon" is released.
9350 2001-01-20 Martin Buchholz <martin@xemacs.org>
9352 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9354 2001-01-19 Martin Buchholz <martin@xemacs.org>
9356 De-kludgify FIXED_TYPE free list frobbing.
9357 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9358 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9359 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9360 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9361 * alloc.c (LRECORD_FREE_P): New.
9362 * alloc.c (MARK_LRECORD_AS_FREE): New.
9363 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9364 * alloc.c (STRUCT_FREE_P): Deleted.
9365 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9366 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9367 * alloc.c (STRING_CHARS_FREE_P): New.
9368 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9369 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9370 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9371 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9372 * alloc.c (resize_string): Use new definitions.
9373 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9374 * alloc.c (verify_string_chars_integrity): Use new definitions.
9375 * alloc.c (compact_string_chars): Use new definitions.
9376 * alloc.c: Update monster comments.
9377 * lrecord.h (lrecord_type): Add some new lrecord types for
9380 2001-01-18 Martin Buchholz <martin@xemacs.org>
9382 Improve alignment hackery.
9383 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9384 (max_align_t): Moved from opaque.h - general purpose.
9385 (ALIGN_PTR): Use size_t, not long.
9386 * opaque.h (max_align_t): Move to lisp.h.
9388 2001-01-18 Norbert Koch <nk@LF.net>
9390 * gui.h: Fix and add prototypes to fix build problems.
9392 2001-01-18 Martin Buchholz <martin@xemacs.org>
9394 temacs is going away, so `dump-temacs' is now a bad name.
9395 * .dbxrc (dump-temacs): Rename to `dmp'.
9396 * .gdbinit (dump-temacs): Rename to `dmp'.
9398 2001-01-17 Andy Piper <andy@xemacs.org>
9400 * glyphs.c (print_image_instance): comment to make martin happy.
9402 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9405 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9407 (mswindows_tab_control_redisplay): warning suppression.
9409 * glyphs-widget.c (widget_update): re-write to cope with updated
9411 (widget_instantiate): use new gui_item functions.
9412 (tab_control_update): deleted.
9413 (progress_gauge_update): deleted.
9414 (image_instantiator_progress_guage): take out update reference.
9415 (image_instantiator_tree_view): ditto.
9416 (image_instantiator_tab_control): ditto.
9418 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9420 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9421 return whether anything was changed.
9422 (update_gui_item_keywords): as it sounds.
9424 * gui.h: declare widget_gui_parse_item_keywords.
9426 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9427 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9429 2001-01-17 Martin Buchholz <martin@xemacs.org>
9431 * XEmacs 21.2.41 "Polyhymnia" is released.
9433 2001-01-16 Didier Verna <didier@xemacs.org>
9435 * glyphs.c (image_instantiate): don't use fallbacks when
9436 instantiating a face's background pixmap by inheritance.
9438 2001-01-14 Mike Sperber <mike@xemacs.org>
9440 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9441 Conditionalize accordingly.
9443 2001-01-16 Martin Buchholz <martin@xemacs.org>
9445 * dumper.c (pdump_file_get): Fix a compiler warning.
9447 2001-01-15 Martin Buchholz <martin@xemacs.org>
9449 Make Purify happy when pdumping.
9450 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9451 iniitalizing all bits of new lisp object memory.
9452 * symbols.c (Fmake_local_variable): Likewise.
9453 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9454 * symbols.c (Fdefvaralias): Likewise.
9455 * mule-charset.c (vars_of_mule_charset): Likewise.
9457 2001-01-15 Martin Buchholz <martin@xemacs.org>
9458 Add the `-nd' flag when running pre-dump operations under the debugger.
9459 * .dbxrc (run-temacs): Add `-nd'.
9460 * .dbxrc (update-elc): Likewise.
9461 * .dbxrc (dump-temacs): Likewise.
9462 * .gdbinit (run-temacs): Likewise.
9463 * .gdbinit (check-temacs): Likewise.
9464 * .gdbinit (update-elc): Likewise.
9465 * .gdbinit (dump-temacs): Likewise.
9467 2001-01-14 Martin Buchholz <martin@xemacs.org>
9469 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9470 export OBJECT_MODE=64
9471 configure --pdump --use-union-type=no
9472 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9473 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9475 * miscplay.c (sndcnv8U_2mono):
9476 Avoid two uses of `++' in the same expression.
9477 Suppresses a GCC warning.
9479 2001-01-13 Martin Buchholz <martin@xemacs.org>
9481 Make sure future compilers don't miscompile alloc.c.
9483 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9484 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9486 2001-01-12 Martin Buchholz <martin@xemacs.org>
9488 * dumper.c: A little post-pdump-rename comment fixup.
9490 2001-01-09 Jerry James <james@eecs.ku.edu>
9492 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9494 2001-01-13 Martin Buchholz <martin@xemacs.org>
9496 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9500 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9503 replace_symbol pdump_wire_lists pdump_weak_object_chains
9504 replace_symbol pdump_wire_list dump_add_weak_object_chain
9506 replace_symbol pdump_wires pdump_root_objects
9507 replace_symbol pdump_wire dump_add_root_object
9509 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9510 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9512 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9513 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9514 replace_symbol dumpstructinfo pdump_root_struct_ptr
9515 replace_symbol dumpstruct dump_add_root_struct_ptr
9517 replace_symbol dumpopaque dump_add_opaque
9518 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9519 replace_symbol dumpopaqueinfos pdump_opaques
9520 replace_symbol dumpopaqueinfo pdump_opaque
9522 replace_symbol nb_structdump nb_root_struct_ptrs
9523 replace_symbol nb_opaquedump nb_opaques
9525 replace_symbol align_table pdump_align_table
9526 replace_symbol dump_header pdump_header
9528 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9529 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9532 2001-01-12 Martin Buchholz <martin@xemacs.org>
9534 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9535 optimizing bytecount_to_charcount().
9537 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9540 (HAVE_DLFCN_H): Removed.
9541 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9543 2001-01-06 Martin Buchholz <martin@xemacs.org>
9545 Portable dumper maintainability improvements.
9546 * alloc.c (staticpro):
9547 * alloc.c (staticpro_nodump):
9548 * alloc.c (garbage_collect_1):
9549 * alloc.c (reinit_alloc_once_early):
9550 * alloc.c (init_alloc_once_early):
9551 * alloc.c: Move dumper functions to alloc.c.
9552 * dumper.c (pdump_backtrace):
9553 * dumper.c (pdump_dump_structs):
9554 * dumper.c (pdump_dump_opaques):
9555 * dumper.c (pdump_dump_rtables):
9556 * dumper.c (pdump_dump_wired):
9558 * dumper.c (pdump_load_check):
9559 * dumper.c (pdump_load_finish):
9560 * dumper.c (pdump_file_unmap):
9561 * dumper.c (pdump_file_get):
9562 * dumper.c (pdump_resource_free):
9563 * dumper.c (pdump_resource_get):
9564 * dumper.c (pdump_file_free):
9565 * dumper.c (pdump_file_try):
9566 * dumper.c (pdump_load):
9567 Remove fixed size limits on staticpro(), staticpro_nodump(),
9568 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9569 Remove custom code for dumping lrecord_implementations_table - use
9571 Remove (most of the) custom code for dumping staticpros - dump it
9572 like any other dynarr.
9574 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9575 * dumper.c: Moved functions from alloc.c.
9576 * alloc.c (dumpstruct): Moved to dumper.c.
9577 * alloc.c (dumpopaque): Likewise.
9578 * alloc.c (pdump_wire): Likewise.
9579 * alloc.c (pdump_wire_list): Likewise.
9581 * lisp.h (Dynarr_sizeof): New.
9582 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9583 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9584 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9586 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9587 * lisp.h (dumpopaque): ditto.
9588 * lisp.h (pdump_wire): ditto.
9589 * lisp.h (pdump_wire_list): ditto.
9591 2001-01-09 Martin Buchholz <martin@xemacs.org>
9593 * make-src-depend (PrintPatternDeps):
9594 Use `sort' to make output independent of perl version.
9596 2001-01-08 Martin Buchholz <martin@xemacs.org>
9599 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9600 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9602 2001-01-03 Didier Verna <didier@xemacs.org>
9604 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9605 that `focus_frame' is alive before thinking of calling
9606 `redisplay_redraw_cursor' on it.
9608 2001-01-08 Martin Buchholz <martin@xemacs.org>
9610 * XEmacs 21.2.40 is released.
9612 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9614 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9616 2001-01-06 Martin Buchholz <martin@xemacs.org>
9618 * alloc.c (dbg_valmask): Make const.
9619 * alloc.c (dbg_typemask): Make const.
9620 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9621 * alloc.c (dbg_valbits): Make const.
9622 * alloc.c (dbg_gctypebits): Make const.
9624 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9626 * redisplay-x.c (x_bevel_area):
9627 redisplay.h (struct rune):
9628 Typo fixes in comments.
9630 2001-01-05 Andy Piper <andy@xemacs.org>
9632 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9635 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9637 2001-01-05 Martin Buchholz <martin@xemacs.org>
9639 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9641 * mule-ccl.c (stack_idx_of_map_multiple):
9642 Non const global data must not be initialized!
9643 Found by MIYASHITA Hisashi.
9645 2001-01-02 Andy Piper <andy@xemacs.org>
9647 * frame.c (change_frame_size): make sure frame size is always
9650 * glyphs.c (image_instance_layout): minor code reuse.
9652 * window.c (Fcurrent_window_configuration): revert previous
9655 2001-01-02 Martin Buchholz <martin@xemacs.org>
9658 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9660 2000-12-31 Andy Piper <andy@xemacs.org>
9662 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9663 when widget gets unmapped.
9665 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9666 function. Make sure widgets losing focus don't just drop it.
9667 (handle_focus_event_1): record the widget with focus.
9669 2000-12-31 Andy Piper <andy@xemacs.org>
9671 * window.c (allocate_window): use
9672 make_image_instance_cache_hash_table.
9673 (make_dummy_parent): ditto.
9674 (Fset_window_configuration): ditto.
9676 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9678 * glyphs.c (process_image_string_instantiator): use
9680 (get_image_instantiator_governing_domain): ditto.
9681 (normalize_image_instantiator): ditto.
9682 (instantiate_image_instantiator): ditto.
9683 (make_image_instance_1): ditto.
9684 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9685 (instantiator_eq_equal): new function for use with instance hash
9687 (instantiator_eq_hash): ditto.
9688 (make_image_instance_cache_hash_table): create a suitable hash
9689 table for storing image instances.
9691 * elhash.h (hash_table_weakness): new internal weakness type
9692 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9693 declare new functions.
9695 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9696 another weakness type for glyphs.
9697 (make_standard_lisp_hash_table): new function split out from
9698 make_general_lisp_hash_table.
9699 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9700 (hash_table_instantiate): ditto.
9701 (Fmake_hash_table): ditto.
9703 2000-12-31 Martin Buchholz <martin@xemacs.org>
9705 * XEmacs 21.2.39 is released.
9707 2000-12-29 Andy Piper <andy@xemacs.org>
9709 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9711 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9712 the frame has changed so that we pick up geometry changes such as
9715 2000-12-28 Andy Piper <andy@xemacs.org>
9717 * lastfile.c (my_ebss): make a char array so we can pad the
9718 bss. Fixes cygwin unexec.
9720 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9722 2000-12-26 Andy Piper <andy@xemacs.org>
9724 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9725 comments and try and be more precise about a non-/SIGIO world.
9726 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9729 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9730 we don't normalize to zero width or height.
9732 2000-12-24 Andy Piper <andy@xemacs.org>
9734 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9736 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9738 * s/sco5.h: SCO 5 has pty support.
9740 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9742 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9743 input-method-xlib.c contains whole contents of input-method-xfs.c,
9744 so we can use input-method-xlib.c's code for USE_XFONTSET
9746 * input-method-xfs.c: removed.
9748 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9750 * file-coding.h (enum coding_category_type): reorder enumerators to
9751 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9752 (now one greater than largest real coding_category_type enumerator).
9753 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9754 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9755 Fcoding_category_list, Fset_coding_priority_list,
9756 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9757 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9759 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9761 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9762 * redisplay-output.c (redisplay_output_window): Clear top of window
9763 when face is changed.
9764 * redisplay-x.c (x_redraw_exposed_window): Call
9765 redisplay_clear_top_of_window.
9766 * redisplay.h: Publish redisplay_clear_top_of_window.
9768 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9770 * buffer.c (Fkill_buffer): Map over all devices.
9771 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9772 (list_windows): New function.
9773 (list_all_windows): Ditto.
9774 (Freplace_buffer_in_windows): Use them.
9776 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9778 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9779 (Fopen_database): Use `db_create' instead of `db_open'.
9780 (syms_of_database): Initialize Qqueue.
9782 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9784 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9785 buffer_local_face_property.
9786 * buffer.h (struct buffer): New member buffer_local_face_property.
9787 * window.c (Fset_window_buffer): Mark window's face as changed
9788 when buffer has buffer local face.
9789 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9790 * objects.c (color_after_change): Set buffer_local_face_property
9791 when locale of face specifier is buffer.
9792 * objects.c (font_after_change): Ditto.
9793 * objects.c (face_boolean_after_change): Ditto.
9794 * glyphs.c (image_after_change): Ditto.
9796 2000-12-09 Dan Holmsand <dan@eyebee.com>
9798 * nt.c (mswindows_fstat): Report file permissions, volume serial
9799 number, etc. Code adapted from FSF Emacs 20.7.
9801 2000-12-09 Dan Holmsand <dan@eyebee.com>
9803 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9804 of stat when we don't have symbolic links, to make sure
9805 mswindows_stat is called on mswindows.
9807 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9809 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9811 2000-12-12 Martin Buchholz <martin@xemacs.org>
9813 * doprnt.c (emacs_doprnt_1): More printing fixes.
9814 Make printing of numbers compatible with libc and FSF Emacs.
9815 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9816 Use the system printf to do most of the hard work of formatting,
9817 instead of doprnt_1().
9818 Calculate memory to allocate for format string.
9819 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9820 (doprnt_1): Cleaner code and documentation.
9822 2000-12-01 Jerry James <james@eecs.ukans.edu>
9824 * Makefile.in.in: Use the loop variable to install headers.
9826 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9828 * window.c (Fsplit_window): Don't invalidate face cache.
9830 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9832 * minibuf.c (Fall_completions): Undo the previous change
9833 which removed checking elements start with space.
9835 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9837 * mule-canna.c: Didier suppression.
9839 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9841 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9842 (warning suppression). Add English comment translations.
9844 2000-12-05 Martin Buchholz <martin@xemacs.org>
9846 * unexelfsgi.c (unexec): Better test for mmap failure.
9848 2000-12-05 Martin Buchholz <martin@xemacs.org>
9850 * XEmacs 21.2.38 is released.
9852 2000-12-05 Martin Buchholz <martin@xemacs.org>
9854 * redisplay.c (bar-cursor): Make a user variable.
9856 * symsinit.h: Add init_postgresql_from_environment.
9858 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9860 * regex.c: Convert to clean C.
9862 2000-12-05 Dan Holmsand <dan@eyebee.com>
9865 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9867 (sys_readlink): renamed to system_readlink to avoid conflict with
9868 the other sys_readlink.
9870 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9872 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9874 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9876 * postgresql.c (init_postgresql_from_environment): new function.
9877 (vars_of_postgresql): Move code initializing Lisp variables out and
9878 into init_postgresql_from_environment.
9879 emacs.c (main_1): Call init_postgresql_from_environment if and only
9880 if running a dumped XEmacs.
9882 2000-08-31 Dan Holmsand <dan@eyebee.com>
9884 * buffer.c: Make find-file-compare-truenames default to true on
9887 * realpath.c (win32_abs_start):
9889 (win32_readlink): New functions.
9890 (xrealpath): Return really real filenames on windows.
9892 * fileio.c (Ffile_truename): Make file-truename work on windows.
9894 2000-11-29 Didier Verna <didier@xemacs.org>
9896 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9897 * faces.c (update_face_cachel_data): use it.
9898 * faces.c (add_face_cachel): use it. Complete background pixmap
9899 frobbing in face cache if `update_face_cachel_data' has not done so.
9901 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9903 * search.c (string_match_1): Don't set last_thing_searched
9906 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9908 * buffer.c: Include casetab.h
9909 (common_init_complex_vars_of_buffer): Use new case-table object.
9910 * buffer.h: Include casetab.h
9911 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9912 (DOWNCASE_TABLE_OF): Ditto.
9913 * bufslots.h: Remove char-tables and add case-table.
9914 * casetab.c: Include casetab.h
9915 (CASE_TABLE_P): Removed.
9916 (mark_case_table): New function.
9917 (allocate_case_table): New function.
9918 (Fcase_table_p): Use new case-table.
9919 (case_table_char): New function.
9920 (Fget_case_table): Ditto.
9921 (Fput_case_table): Ditto.
9922 (Fput_case_table_pair): Ditto.
9923 (Fcopy_case_table): Ditto.
9924 (Fcurrent_case_table): Return case-table.
9925 (Fstandard_case_table): Return case-table.
9926 (Fset_case_table): Fix doc-string.
9927 (set_case_table): Use case-table
9928 (syms_of_casetab): DEFSUBR new functions.
9929 (complex_vars_of_casetab): Set up standard case-table.
9930 * casetab.h: New file.
9931 * editfns.c: Include casetab.h
9932 (Fcompare_buffer_substrings): Use case-table.
9933 * inline.c: Include casetab.h
9934 * lisp.h: Remove bogus extern.
9935 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9936 * search.c: Include casetab.h
9937 (TRANSLATE_ASCII): Removed.
9938 (TRANSLATE): Unconditionally translate character.
9939 (looking_at_1): Use case-table.
9940 (string_match_1): Ditto.
9941 (fast_string_match): Ditto.
9942 (search_command): Ditto.
9943 (search_buffer): Separate boyer_moore. Check whether
9944 boyer_moore is possible.
9945 (simple_search): New function.
9946 (boyer_moore): Separated from search_buffer. Translate char.
9948 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9950 * regex.c (RE_TR_ASCII): Removed.
9951 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9952 (PATFETCH): Call PATFETCH_RAW.
9953 (PATFETCH_RAW): Fetch Emchar.
9954 (PATUNFETCH): Decrement charptr.
9955 (GET_BUFFER_SPACE): Rename b to buf_end.
9957 (BUF_PUSH_2): Ditto.
9958 (BUF_PUSH_3): Ditto.
9959 (EXTEND_BUFFER): Ditto.
9960 (SET_LIST_BIT): Ditto.
9961 (regex_compile): Ditto. Translate non ASCII char.
9962 (compile_range): Ditto.
9963 (re_search_2): Ditto.
9964 (re_match_2_internal): Compare Emchar.
9965 (bcmp_translate): Ditto.
9967 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9969 * lisp.h (basic char/int typedefs): comment improvement.
9971 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9973 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9974 unstomp inhibit_site_lisp. Improve comments.
9976 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9978 * mule-charset.c (Fcharset_property): improve type checking, comments.
9980 2000-11-28 Andy Piper <andy@xemacs.org>
9982 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9983 clipped display for windows in the gutter also.
9984 (redisplay_display_boxes_in_window_p): change semantics of return
9985 codes to be more intuitive.
9987 * gutter.h: declare display_boxes_in_gutter_p.
9989 * gutter.c (display_boxes_in_gutter_p): new function for
9992 2000-11-22 Andy Piper <andy@xemacs.org>
9994 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
9997 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
9999 * callproc.c (Fold_call_process_internal):
10000 * gpm.c (Freceive_gpm_event):
10001 (tty_get_foreign_selection): Might be just warning supression.
10002 * fileio.c (Fwrite_region_internal):
10003 (Fset_visited_file_modtime):
10004 * keymap.c (event_matches_key_specifier_p):
10005 Initialize GCPROed variable.
10007 * menubar-x.c (command_builder_find_menu_accelerator):
10008 Initialize before use.
10010 2000-11-23 Andy Piper <andy@xemacs.org>
10012 * unexcw.c (unexec): make the resulting executable executable.
10014 2000-11-21 Martin Buchholz <martin@xemacs.org>
10016 * doc.c (get_doc_string):
10017 Use size_t, not int, for result of XSTRING_LENGTH.
10019 * cmds.c (Fdelete_char):
10020 * cmds.c (Fpoint_at_eol):
10021 * cmds.c (Fself_insert_command):
10022 Use EMACS_INT, not int, for result of XINT.
10023 Someday, someone will want to insert more than 2**31 identical characters.
10025 * cmds.c (Fdelete_char):
10026 * cmds.c (Fdelete_backward_char):
10027 * syntax.c (Fforward_word):
10028 * syntax.c (Fforward_comment):
10029 Make COUNT argument optional, for consistency with forward-char et al.
10031 2000-11-22 Martin Buchholz <martin@xemacs.org>
10034 * print.c (long_to_string):
10035 Return a useful value: the pointer at end of data written.
10038 Use `static const char * const' for constant strings.
10039 (union printf_arg): Delete `i', `ui' members.
10042 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10043 Do all printf-ing via the `l' specifier.
10044 Use EMACS_INT instead of int.
10047 2000-11-20 Didier Verna <didier@xemacs.org>
10049 * faces.c (update_face_cachel_data): don't frob the background
10050 pixmap when the window is being created. The face is needed but
10051 does not exist yet.
10053 2000-11-20 Andy Piper <andy@xemacs.org>
10055 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10056 messing with a debug environment.
10058 2000-11-20 Martin Buchholz <martin@xemacs.org>
10060 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10062 2000-11-20 Martin Buchholz <martin@xemacs.org>
10064 * casetab.c (Fcase_table_p): Fix compile error and crash.
10066 2000-11-18 Philip Aston <philipa@mail.com>
10068 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10070 2000-11-18 Martin Buchholz <martin@xemacs.org>
10072 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10073 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10075 2000-11-17 Martin Buchholz <martin@xemacs.org>
10077 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10078 * unexelf.c: Use HAVE_ELF_H.
10079 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10080 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10081 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10082 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10084 So this is an unexelfsgi.c from a different line of development.
10086 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10088 * regex.c (RE_TR_ASCII): New function.
10089 (RE_TRANSLATE): Call it.
10091 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10093 * buffer.h (TRT_TABLE_OF): Remove assert.
10094 (IN_TRT_TABLE_DOMAIN): Removed.
10096 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10098 * free-hook.c (log_gcpro):
10099 (show_gcprohist): Add support for GCPRO5.
10101 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10103 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10105 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10107 * symeval.h: Declare flush_all_buffer_local_cache.
10109 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10110 (flush_buffer_local_cache): Added.
10111 (flush_all_buffer_local_cache): Added.
10113 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10115 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10116 (pdump_dump_data): Ditto.
10117 (pdump_reloc_one): Ditto.
10118 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10122 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10124 * buffer.c: Remove if 0'ed entry.
10125 * buffer.h: Rewrite TRT to use char-table.
10126 * bufslots.h: Remove mirror tables.
10127 * casetab.c: Remove mirror tables.
10128 (CASE_TABLE_P): New macro.
10129 (Fcase_table_p): Element of a case table is string or char-table.
10130 (make_mirror_trt_table): Removed.
10131 (set_case_table): Setup char-table from strings for backward
10133 * dired.c (Fdirectory_files):
10134 * dired-msw.c: (mswindows_get_files):
10135 * lisp.h: Change prototype of re_pattern_buffer.
10136 * regex.c: (RE_TRANSLATE): New macro.
10137 (TRANSLATE_P): Ditto.
10138 Change translate to type RE_TRANSLATE_TYPE.
10139 * regex.h: Define RE_TRANSLATE_TYPE
10140 * search.c (TRANSLATE): New macro.
10141 (TRANSLATE_ASCII): New macro.
10142 Translate table is changed to Lisp_Object.
10143 (signal_failure): Inhibit return.
10145 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10152 Do UNGCPRO before return.
10154 2000-11-14 Martin Buchholz <martin@xemacs.org>
10156 * XEmacs 21.2.37 is released.
10158 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10160 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10161 Add comments about discarded return value.
10163 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10166 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10168 2000-10-27 Andy Piper <andy@xemacs.org>
10170 * gutter.c (Fset_default_gutter_position): default left and right
10171 gutters to visible.
10172 (calculate_gutter_size): calculate resonable heuristic for left
10173 and right gutter sizes.
10174 (specifier_vars_of_gutter): change left and right gutter sizes to
10176 (calculate_gutter_size_from_display_lines): new function.
10177 (output_gutter): check for resizing on left and right gutters.
10178 (clear_gutter): don't special case top and left gutters.
10179 (specifier_vars_of_gutter): use new signature for
10180 set_specifier_caching.
10182 * glyphs-x.c (x_redisplay_widget): spelling fix.
10183 * glyphs.c (specifier_vars_of_glyphs):
10184 * menubar.c (specifier_vars_of_menubar):
10185 * redisplay.c (specifier_vars_of_redisplay):
10186 * toolbar.c (specifier_vars_of_toolbar):
10187 * window.c (specifier_vars_of_window):
10188 * scrollbar.c (specifier_vars_of_scrollbar):
10189 (complex_vars_of_scrollbar): use new signature for
10190 set_specifier_caching.
10192 * specifier.c (set_specifier_caching): include recompute flag.
10193 (recompute_one_cached_specifier_in_window): always recompute if
10195 (recompute_one_cached_specifier_in_frame): ditto.
10197 * specifier.h (struct specifier_caching): add recompute flag.
10199 2000-10-24 Andy Piper <andy@xemacs.org>
10201 * unexcw.c (copy_executable_and_dump_data_section): add new
10202 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10205 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10207 * console-x.h (x_device): New member modifier_release_time.
10208 * event-Xt.c (x_handle_sticky_modifiers):
10209 Bound interval modifier keys are sticky.
10210 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10211 * events.h: extern it.
10213 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10215 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10217 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10219 * event-stream.c (execute_command_event): Preserve current_events
10220 and the like when event is misc-user-event.
10221 Inhibit quit during the call to maybe_echo_keys.
10223 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10225 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10226 symlink when buffer is killed.
10227 (inhibit_clash_detection): New variable.
10229 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10231 * console.c (Fset_input_method): Trigger redisplay on tty.
10233 2000-11-07 Martin Buchholz <martin@xemacs.org>
10235 * process.c (Fprocess_status): Revert to previous behavior:
10236 (process-status "nosuchprocess") ==> nil
10238 2000-11-06 Martin Buchholz <martin@xemacs.org>
10240 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10241 Work around another GCC 2.95.2 optimizer bug.
10243 2000-11-02 Martin Buchholz <martin@xemacs.org>
10245 * process.c (Fget_process): Use LIST_LOOP_2.
10246 (kill_buffer_processes): Use LIST_LOOP_2.
10248 * minibuf.c (Fall_completions):
10249 Delete old non-functional code for FSF fourth argument.
10251 * frame.c (frame_matches_frame_spec):
10252 Renamed from `frame_matches_frametype'. Update all callers.
10253 (device_matches_device_spec):
10254 Renamed from 'device_matches_console_spec'. Update all callers.
10256 * doc.c (Fsubstitute_command_keys):
10257 Remove buffer overflow crash. Small code cleanups.
10259 * casetab.c (check_case_table): Simpler code.
10261 * window.c (Freplace_buffer_in_windows):
10262 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10263 (and similar implementation) as Fdelete_windows_on.
10264 Update all callers.
10266 * alloc.c (Fmake_list):
10267 * alloc.c (make_vector):
10268 * alloc.c (Fmake_vector):
10269 * alloc.c (make_bit_vector):
10270 * alloc.c (Fmake_bit_vector):
10271 * alloc.c (Fbit_vector):
10272 * alloc.c (Fmake_string):
10273 * alloc.c (Fpurecopy):
10274 * alloc.c (Fmemory_limit):
10276 * buffer.c (Fget_buffer):
10277 * buffer.c (Fkill_buffer):
10278 * buffer.c (complex_vars_of_buffer):
10279 * bytecode.c (Fcompiled_function_stack_depth):
10280 * callint.c (Fprefix_numeric_value):
10282 * event-stream.c (Fread_key_sequence):
10284 * casetab.c (Fcase_table_p):
10285 * casetab.c (check_case_table):
10286 * casetab.c (Fset_case_table):
10287 * casetab.c (Fset_standard_case_table):
10289 * chartab.c (Fchar_table_type):
10290 * chartab.c (Freset_char_table):
10291 * chartab.c (Fget_char_table):
10292 * chartab.c (Fget_range_char_table):
10293 * chartab.c (Fput_char_table):
10294 * chartab.c (Fmap_char_table):
10295 * chartab.c (Fcategory_table_p):
10296 * chartab.c (Fcheck_category_at):
10297 * chartab.c (Fchar_in_category_p):
10298 * chartab.c (Fcategory_table):
10299 * chartab.c (Fcopy_category_table):
10300 * chartab.c (Fset_category_table):
10301 * chartab.c (Fcategory_designator_p):
10302 * chartab.c (Fcategory_table_value_p):
10303 * cmds.c (Fdelete_char):
10304 * cmds.c (Fdelete_backward_char):
10305 * cmds.c (Fself_insert_command):
10306 * cmds.c (Fself_insert_internal):
10307 * console.c (Fvalid_console_type_p):
10308 * console.c (Fcdfw_console):
10309 * console.c (Fconsole_type):
10310 * console.c (Fconsole_name):
10311 * console.c (Fconsole_device_list):
10312 * console.c (Fconsole_on_window_system_p):
10315 * data.c (Fold_eq):
10316 * data.c (Fsubr_interactive):
10317 * data.c (Fchar_to_int):
10318 * data.c (Fint_to_char):
10319 * data.c (Fsetcar):
10320 * data.c (Fsetcdr):
10321 * data.c (Fnumber_to_string):
10322 * data.c (Fstring_to_number):
10324 * database.c (mark_database):
10325 * database.c (finalize_database):
10326 * database.c (Fdatabase_live_p):
10327 * database.c (Fdatabasep):
10328 * device-x.c (Fx_get_resource):
10329 * device.c (Fdfw_device):
10331 * dired.c (Ffile_name_completion):
10332 * dired.c (Ffile_name_all_completions):
10333 * dired.c (Fuser_name_completion):
10334 * dired.c (Fuser_name_completion_1):
10335 * dired.c (Fuser_name_all_completions):
10336 * doc.c (Fdocumentation):
10337 * doc.c (Fdocumentation_property):
10338 * doc.c (Fsubstitute_command_keys):
10340 * editfns.c (Fchar_to_string):
10341 * editfns.c (Fstring_to_char):
10342 * editfns.c (Ftemp_directory):
10343 * editfns.c (Finsert_char):
10344 * editfns.c (Fbuffer_substring_no_properties):
10345 * editfns.c (Fnarrow_to_region):
10346 * editfns.c (Fchar_equal):
10347 * editfns.c (Fchar_Equal):
10348 * editfns.c (Ftranspose_regions):
10349 * emacs.c (Fdump_emacs):
10351 * eval.c (Fcommand_execute):
10352 * eval.c (Fautoload):
10353 * eval.c (Fbacktrace):
10354 * eval.c (Fbacktrace_frame):
10356 * events.c (Fcopy_event):
10357 * events.c (Fcharacter_to_event):
10358 * events.c (Fevent_button):
10359 * events.c (Fevent_process):
10361 * extents.c (Fnext_extent_change):
10362 * extents.c (Fextent_property):
10363 * faces.c (Ffacep):
10364 * faces.c (Fmake_face):
10366 * file-coding.c (Fencode_shift_jis_char):
10367 * file-coding.c (Fencode_big5_char):
10368 * fileio.c (Ffile_name_directory):
10369 * fileio.c (Ffile_name_nondirectory):
10370 * fileio.c (Ffile_name_as_directory):
10371 * fileio.c (Fdirectory_file_name):
10372 * fileio.c (Ffile_truename):
10373 * fileio.c (Fsubstitute_in_file_name):
10374 * fileio.c (Ffile_modes):
10375 * fileio.c (Fset_file_modes):
10376 * fileio.c (Fset_default_file_modes):
10377 * fileio.c (Fverify_visited_file_modtime):
10378 * floatfns.c (Facos):
10379 * floatfns.c (Fasin):
10380 * floatfns.c (Fatan):
10381 * floatfns.c (Fcos):
10382 * floatfns.c (Fsin):
10383 * floatfns.c (Ftan):
10384 * floatfns.c (Fbessel_j0):
10385 * floatfns.c (Fbessel_j1):
10386 * floatfns.c (Fbessel_jn):
10387 * floatfns.c (Fbessel_y0):
10388 * floatfns.c (Fbessel_y1):
10389 * floatfns.c (Fbessel_yn):
10390 * floatfns.c (Ferf):
10391 * floatfns.c (Ferfc):
10392 * floatfns.c (Flog_gamma):
10393 * floatfns.c (Fexp):
10394 * floatfns.c (Fexpt):
10395 * floatfns.c (Flog):
10396 * floatfns.c (Flog10):
10397 * floatfns.c (Fsqrt):
10398 * floatfns.c (Fcube_root):
10399 * floatfns.c (Facosh):
10400 * floatfns.c (Fasinh):
10401 * floatfns.c (Fatanh):
10402 * floatfns.c (Fcosh):
10403 * floatfns.c (Fsinh):
10404 * floatfns.c (Ftanh):
10405 * floatfns.c (Fabs):
10406 * floatfns.c (Ffloat):
10407 * floatfns.c (Flogb):
10408 * floatfns.c (Fceiling):
10409 * floatfns.c (Ffloor):
10410 * floatfns.c (Fround):
10411 * floatfns.c (Ftruncate):
10412 * floatfns.c (Ffceiling):
10413 * floatfns.c (Fffloor):
10414 * floatfns.c (Ffround):
10415 * floatfns.c (Fftruncate):
10416 * fns.c (Fstring_equal):
10417 * fns.c (Fstring_lessp):
10420 * fns.c (vconcat2):
10421 * fns.c (vconcat3):
10422 * fns.c (Fsubstring):
10424 * fns.c (Fold_assoc):
10425 * fns.c (assoc_no_quit):
10427 * fns.c (Fold_assq):
10428 * fns.c (assq_no_quit):
10430 * fns.c (Fold_rassoc):
10432 * fns.c (Fold_rassq):
10433 * fns.c (rassq_no_quit):
10434 * fns.c (Fremassoc):
10435 * fns.c (remassoc_no_quit):
10436 * fns.c (Fremassq):
10437 * fns.c (remassq_no_quit):
10438 * fns.c (Fremrassoc):
10439 * fns.c (Fremrassq):
10440 * fns.c (remrassq_no_quit):
10442 * fns.c (Fplist_get):
10443 * fns.c (Fplist_put):
10444 * fns.c (Fplist_remprop):
10445 * fns.c (Fplist_member):
10446 * fns.c (Flax_plist_get):
10447 * fns.c (Flax_plist_put):
10448 * fns.c (Flax_plist_remprop):
10449 * fns.c (Flax_plist_member):
10451 * fns.c (Fold_equal):
10452 * fns.c (Frequire):
10453 * fns.c (Fbase64_encode_region):
10454 * fns.c (Fbase64_encode_string):
10455 * fns.c (Fbase64_decode_region):
10457 * frame.c (frame_matches_frame_spec):
10458 * frame.c (device_matches_device_spec):
10459 * frame.c (next_frame):
10460 * frame.c (previous_frame):
10461 * frame.c (Fnext_frame):
10462 * frame.c (Fprevious_frame):
10463 * frame.c (Fframe_property):
10464 * frame.c (Fset_frame_height):
10465 * frame.c (Fset_frame_size):
10469 * glyphs.c (decode_error_behavior_flag):
10470 * glyphs.c (Fmake_image_instance):
10471 * indent.c (Findent_to):
10472 * intl.c (Fignore_defer_gettext):
10473 * keymap.c (Fkeymapp):
10474 * keymap.c (Flookup_key):
10476 * lread.c (Fload_internal):
10477 * lread.c (Feval_buffer):
10478 * lread.c (Feval_region):
10479 * macros.c (Fexecute_kbd_macro):
10480 * marker.c (set_marker_internal):
10481 * marker.c (Fset_marker):
10482 * marker.c (set_marker_restricted):
10483 * marker.c (Fcopy_marker):
10484 * marker.c (noseeum_copy_marker):
10486 * menubar.c (Fpopup_menu):
10488 * mule-charset.c (Fcharset_name):
10489 * mule-charset.c (Fchar_charset):
10490 * mule-charset.c (Fchar_octet):
10491 * mule-charset.c (Fsplit_char):
10492 * mule-wnnfns.c (Fwnn_open):
10493 * mule-wnnfns.c (Fwnn_dict_comment):
10494 * mule-wnnfns.c (Fwnn_quit_henkan):
10495 * mule-wnnfns.c (Fwnn_word_toroku):
10496 * mule-wnnfns.c (Fwnn_word_sakujo):
10497 * mule-wnnfns.c (Fwnn_word_use):
10498 * mule-wnnfns.c (Fwnn_hindo_set):
10500 * objects.c (Fmake_color_instance):
10501 * objects.c (Fmake_font_instance):
10502 * print.c (Fwrite_char):
10504 * process.c (mark_process):
10505 * process.c (print_process):
10506 * process.c (get_process_from_usid):
10507 * process.c (Fprocessp):
10508 * process.c (Fprocess_live_p):
10509 * process.c (Fget_process):
10510 * process.c (Fget_buffer_process):
10511 * process.c (get_process):
10512 * process.c (Fprocess_id):
10513 * process.c (Fprocess_name):
10514 * process.c (Fprocess_command):
10515 * process.c (init_process_io_handles):
10516 * process.c (start_process_unwind):
10517 * process.c (Fstart_process_internal):
10518 * process.c (Fopen_multicast_group_internal):
10519 * process.c (Fset_process_window_size):
10520 * process.c (read_process_output):
10521 * process.c (send_process):
10522 * process.c (Fprocess_tty_name):
10523 * process.c (Fset_process_buffer):
10524 * process.c (Fprocess_buffer):
10525 * process.c (Fprocess_mark):
10526 * process.c (set_process_filter):
10527 * process.c (Fset_process_filter):
10528 * process.c (Fprocess_filter):
10529 * process.c (Fprocess_send_region):
10530 * process.c (Fprocess_send_string):
10531 * process.c (exec_sentinel):
10532 * process.c (Fset_process_sentinel):
10533 * process.c (Fprocess_sentinel):
10534 * process.c (status_notify):
10535 * process.c (Fprocess_status):
10536 * process.c (Fprocess_exit_status):
10537 * process.c (process_send_signal):
10538 * process.c (Fprocess_send_eof):
10539 * process.c (deactivate_process):
10540 * process.c (remove_process):
10541 * process.c (Fdelete_process):
10542 * process.c (kill_buffer_processes):
10543 * process.c (Fprocess_kill_without_query):
10544 * process.c (Fprocess_kill_without_query_p):
10546 * rangetab.c (Fget_range_table):
10547 * rangetab.c (Fput_range_table):
10548 * rangetab.c (Fremove_range_table):
10549 * rangetab.c (Fclear_range_table):
10551 * search.c (Fskip_chars_forward):
10552 * search.c (Fskip_chars_backward):
10553 * search.c (Fskip_syntax_forward):
10554 * search.c (Fskip_syntax_backward):
10555 * search.c (search_command):
10556 * search.c (Freplace_match):
10557 * search.c (Fregexp_quote):
10558 * select.c (Fown_selection_internal):
10559 * select.c (Fselection_owner_p):
10560 * select.c (Fselection_exists_p):
10561 * select.c (Fget_selection_internal):
10564 * symbols.c (Fintern):
10565 * symbols.c (Fintern_soft):
10566 * symbols.c (Funintern):
10567 * symbols.c (Fapropos_internal):
10568 * symbols.c (Fset_default):
10570 * syntax.c (Fsyntax_table_p):
10571 * syntax.c (Fcopy_syntax_table):
10572 * syntax.c (Fset_syntax_table):
10573 * syntax.c (Fchar_syntax):
10574 * syntax.c (syntax_match):
10575 * syntax.c (Fmatching_paren):
10576 * syntax.c (Fforward_word):
10577 * syntax.c (scan_lists):
10578 * syntax.c (Fscan_lists):
10579 * syntax.c (Fscan_sexps):
10580 * syntax.c (Fparse_partial_sexp):
10581 * toolbar.c (Fcheck_toolbar_button_syntax):
10584 * window.c (Fwindowp):
10585 * window.c (Fwindow_live_p):
10586 * window.c (Fwindow_point):
10587 * window.c (Fdelete_window):
10588 * window.c (Fnext_window):
10589 * window.c (Fprevious_window):
10590 * window.c (Fother_window):
10591 * window.c (window_loop):
10592 * window.c (Fget_lru_window):
10593 * window.c (Fsplit_window):
10594 * window.c (Fenlarge_window):
10595 * window.c (Fenlarge_window_pixels):
10596 * window.c (Fshrink_window):
10597 * window.c (Fshrink_window_pixels):
10598 * window.c (change_window_height):
10599 * window.c (Fwindow_configuration_p):
10600 * window.c (Fcurrent_window_configuration):
10602 * casefiddle.c (casify_object):
10603 * casefiddle.c (Fupcase):
10604 * casefiddle.c (Fdowncase):
10605 * casefiddle.c (Fcapitalize):
10606 * casefiddle.c (Fupcase_initials):
10607 * casefiddle.c (casify_region_internal):
10608 * casefiddle.c (casify_region):
10609 * casefiddle.c (Fupcase_region):
10610 * casefiddle.c (Fdowncase_region):
10611 * casefiddle.c (Fcapitalize_region):
10612 * casefiddle.c (Fupcase_initials_region):
10613 * casefiddle.c (Fupcase_word):
10614 * casefiddle.c (Fdowncase_word):
10615 * casefiddle.c (Fcapitalize_word):
10616 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10617 Replace 0 with '\0' when working with bytes.
10618 Replace initial "(" with "\(" in docstrings.
10620 2000-11-01 Martin Buchholz <martin@xemacs.org>
10622 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10624 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10626 2000-10-31 Martin Buchholz <martin@xemacs.org>
10628 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10630 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10632 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10635 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10637 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10638 (inhibit_auto_save_session): New variable.
10639 (vars_of_fileio): Declare and initialize them.
10640 * fileio.c (Fdo_auto_save): Don't create session file if
10641 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10643 2000-10-31 Martin Buchholz <martin@xemacs.org>
10645 * sgiplay.c (play_internal): C++ compilability.
10646 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10647 * callproc.c (Fold_call_process_internal):
10648 Remove unused vars `env', `first'.
10649 * scrollbar.c (update_scrollbar_instance):
10650 #### unused var `current_window'.
10651 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10652 etc. within #ifdef NOT_YET.
10653 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10654 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10655 * specifier.c (specifier_instance):
10656 #### unused var `tag'.
10657 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10659 2000-10-27 Martin Buchholz <martin@xemacs.org>
10661 * fns.c (Fbutlast):
10662 * fns.c (list_sort):
10663 * fns.c (Ffillarray):
10664 * fns.c (bytecode_nconc2):
10667 * fns.c (Fmapconcat):
10668 Be pedantically 64-bit correct. For the time when someone will
10669 want to have a list with length > 2**32.
10671 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10672 Work around MIPSpro compiler bug.
10674 * process-unix.c (unix_kill_child_process): Add snarky comment.
10675 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10677 * config.h.in: Oops, _getpt ==> _getpty
10679 2000-10-26 Martin Buchholz <martin@xemacs.org>
10683 Use void*, not char*, as return type of alloca().
10685 * alloc.c (free_marker): Side effect inside assert expression!
10687 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10689 * mule-charset.c (Fset_charset_ccl_program): To check
10690 if the given ccl program is valid, use setup_ccl_program()
10691 instead of CHECK_VECTOR().
10692 (Fmake_charset): Likewise.
10694 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10696 * faces.c (get_extent_fragment_face_cache_index):
10697 Fix cachel.merged_faces memory leak.
10699 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10701 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10702 Reset MSB of octets obtained by DECODE_SJIS
10703 because of the incompatibility with Emacs.
10704 (ccl_driver)<CCL_ENCODE_SJIS>:
10705 Set MSB of octets before passing them to
10706 ENCODE_SJIS because of the incompatibility
10709 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10711 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10712 (DECLARE_LRECORD): Undo the last change.
10713 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10715 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10717 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10718 the implementation to lrecord_implementations_table.
10720 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10722 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10723 initial value of `lrecord_type_##c_name' and
10724 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10725 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10726 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10727 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10728 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10730 2000-10-17 Martin Buchholz <martin@xemacs.org>
10732 * miscplay.c (sndcnv8S_2mono):
10733 (sndcnv2monounsigned):
10734 (sndcnvULaw_2linear):
10736 Remove implementation-defined behavior.
10738 2000-10-12 Martin Buchholz <martin@xemacs.org>
10740 * input-method-xlib.c: Warning suppression.
10742 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10744 * mule-ccl.c: Sync up with Emacs 21.0.90.
10745 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10747 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10749 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10750 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10751 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10752 leading char belongs to official 2-dimensional charset.
10753 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10754 write the given character as is. Otherwise,
10755 if it is a multibyte char, convert it by
10756 non_ascii_set_charptr_emchar, then write it.
10757 (CCL_WRITE_STRING): Likewise.
10758 (ccl_get_compiled_code): New function.
10759 (setup_ccl_program): When ccl_prog is invalid,
10761 (Fregister_code_conversion_map): New function.
10762 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10764 * mule-ccl.h: Sync up with Emacs 21.0.90.
10765 (Fregister_ccl_program): export it.
10767 * redisplay-msw.c (separate_textual_runs):
10768 If ccl program is not valid, don't do ccl conversion.
10770 * redisplay-x.c (separate_textual_runs): Ditto.
10772 * file-coding.c (Fmake_coding_system):
10773 When type is ccl and value is vector, register it
10774 with a proper symbol. And checks whether the
10775 given ccl program is valid.
10776 (mule_decode): When calling ccl_driver, if src indicates
10777 NULL pointer, set an empty string instead.
10778 (mule_encode): Likewise.
10780 2000-10-11 Martin Buchholz <martin@xemacs.org>
10782 The following large batch of changes gets us back to a state of
10783 C++ compilability. Extbyte is now a char, which means that
10784 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10786 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10788 * sound.c (Fplay_sound): Type correctness.
10790 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10791 (x_get_window_property): Type correctness.
10792 (receive_incremental_selection): unsigned char ==> Extbyte
10793 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10794 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10795 (Fx_store_cutbuffer_internal): Type correctness.
10797 * process-unix.c (try_to_initialize_subtty): Type correctness.
10799 * objects-x.c (x_print_color_instance): Type correctness.
10800 (x_print_font_instance): Type correctness.
10801 (x_list_fonts): SExtbyte ==> Extbyte.
10802 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10803 (x_find_charset_font): SExtbyte ==> Extbyte.
10804 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10805 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10806 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10807 Use bufbyte_strcmp.
10809 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10810 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10811 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10812 (BYTE_C0_P): Use bit ops for char-signedness safety.
10813 (BYTE_C1_P): Use bit ops for char-signedness safety.
10814 (CHARSET_BY_LEADING_BYTE):
10815 (CHARSET_BY_ATTRIBUTES):
10816 Always use inline function.
10817 Use type_checking_assert.
10820 * mule-charset.c (non_ascii_charptr_copy_char):
10821 Modify to work with both ASCII and non-ASCII characters.
10822 Improve docs and variable names.
10823 Replace over-clever fall-through switch with a simple loop.
10824 (Lstream_get_emchar_1):
10825 Replace over-clever fall-through switch with a simple loop.
10827 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10828 Warning suppression.
10830 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10831 the return value of Lstream_getc, which could be EOF as well.
10833 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10835 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10836 APIs can be used on Extbytes without casts. Risky!
10837 (SExtbyte): Remove.
10838 (UExtbyte): Remove.
10840 * input-method-xlib.c (XIM_init_device):
10841 Use Xlib.h instead of IntrinsicP.h.
10842 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10843 which will break in X11R7.
10844 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10845 to call XRegisterIMInstantiateCallback with correct types.
10847 * gui-x.c (button_item_to_widget_value): Type correctness.
10849 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10851 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10852 (xbm_instantiate_1): Type correctness.
10853 (BUILD_GLYPH_INST): Type correctness.
10855 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10858 (decode_coding_sjis):
10859 (decode_coding_big5):
10860 (decode_coding_ucs4):
10861 (decode_coding_utf8):
10862 (decode_coding_iso2022):
10863 (decode_coding_no_conversion):
10864 Make all decoding functions take an Extbyte * arg.
10865 (encode_coding_sjis):
10866 (encode_coding_big5):
10867 (encode_coding_ucs4):
10868 (encode_coding_utf8):
10869 (encode_coding_iso2022):
10870 (encode_coding_no_conversion):
10871 Make all encoding functions take a Bufbyte * arg.
10872 Use size_t instead of unsigned int for memory sizes.
10873 Only cast to unsigned char whenever dereferencing Extbyte *.
10875 * doc.c (unparesseuxify_doc_string): Type correctness.
10877 * console-x.c (split_up_display_spec):
10878 Rewrite without using details of internal string representation.
10879 (x_semi_canonicalize_device_connection): Type correctness.
10882 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10883 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10884 (HAVE_XFREE386): Removed.
10886 * buffer.h (DEC_CHARPTR): `const' correctness.
10887 (bufbyte_strcmp): New.
10888 (bufbyte_memcmp): New.
10890 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10892 * buffer.h (XCHAR_OR_CHAR_INT):
10893 Always use inline function.
10894 Remove redundant type checking assert() - XINT will abort quite nicely.
10896 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10898 * search.c (Freplace_match): Set newtext to an empty string.
10900 2000-10-10 Martin Buchholz <martin@xemacs.org>
10902 * s/decosf1-3.h: Remove #include of stropts.h
10903 * s/ptx.h: Remove #include of stropts.h
10904 * s/usg5-4.h: Remove #include of stropts.h
10907 Use stropts.h, not sys/stropts.h.
10908 Use strtio.h, not sys/strtio.h.
10910 2000-10-04 Martin Buchholz <martin@xemacs.org>
10912 * XEmacs 21.2.36 is released.
10914 2000-09-21 Andy Piper <andy@xemacs.org>
10916 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10917 changes still involve copying the widget tree.
10918 (update_widget_face): make sure a change is register in the widget
10919 tree. Call update_tab_widget_face appropriately.
10920 (update_tab_widget_face): ditto.
10921 (x_tab_control_redisplay): make sure non-structural changes still
10922 involve copying the widget tree.
10924 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10926 * lread.c (locate_file): Check the path element is non-nil.
10928 2000-10-02 Martin Buchholz <martin@xemacs.org>
10930 * lisp.h: Warning suppression for SCO compilers.
10932 * redisplay-tty.c (reset_tty_modes): Fix crash.
10933 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10935 2000-09-27 Martin Buchholz <martin@xemacs.org>
10937 Big signal/process handling overhaul. Bugs fixed:
10938 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10939 M-x comint-kill-subjob should work for both values nil and t of
10940 process-connection-type. It was broken on most platforms.
10941 Testing on Irix and Cygwin still needed. Other plaforms tested.
10942 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10943 * process-unix.c: Signal/Process handling overhaul.
10944 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10945 (allocate_pty): Use all available modern methods of allocating
10946 ptys, falling back to old style BSD allocation as a last resort.
10947 Use allegedly more secure Unix98 pty allocation by default.
10948 (allocate_pty_the_old_fashioned_way): New. the last resort.
10949 (unix_create_process): Push ptem, ldterm, ttcompat where
10950 available. Autoconfiscate.
10951 (try_to_initialize_subtty): New.
10952 (unix_kill_child_process): Proper signal handling for ptys on most
10953 platforms, using special knowledge of AIX, BSD, etc...
10954 (unix_create_process): Always disconnect_controlling_terminal() for
10955 subprocesses, whether using ptys or not.
10956 * process.h: Remove old getpt-dependent PTY code.
10957 * process.c (Fprocess_send_signal): New, obvious generic function.
10958 (decode_signal): New.
10959 (Finterrupt_process):
10963 (Fcontinue_process):
10964 (Fsignal_process): Use decode_signal.
10965 (process_send_signal):
10966 Many docstring corrections.
10967 Allow any signal to be sent to a process object.
10968 * config.h.in: Add symbols for big signal/process overhaul.
10969 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10970 * sysproc.h: Include process-related headers, where available:
10971 sys/stropts.h sys/strtio.h pty.h libutil.h
10979 Remove old S&M pty stuff.
10980 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10981 * systty.h: Simplify cpp hackery, improve comments.
10982 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10984 * editfns.c (Fformat_time_string):
10985 Be a little more paranoid with the return value of ctime.
10987 * fileio.c (check_executable):
10989 Use symbolic constants X_OK, W_OK.
10991 * console-x.c (split_up_display_spec): Fix a warning.
10993 2000-10-02 Martin Buchholz <martin@xemacs.org>
10995 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
10996 * ntproc.c (sys_spawnve): make_string ==> build_string
10997 Small clarity improvements.
10999 2000-09-30 Martin Buchholz <martin@xemacs.org>
11001 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11003 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11005 * config.h.in (HAVE_STRCASECMP): Remove.
11007 2000-09-29 Martin Buchholz <martin@xemacs.org>
11009 * redisplay-output.c (redisplay_output_pixmap):
11010 Cleaner and possibly more 64-bit correct code.
11012 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11014 * dumper.c (pdump_load_finish): move restoration of
11015 `noninteractive1' to emacs.c (main_1).
11016 * emacs.c (main_1): protect LISP-visible command-line flags
11019 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11021 * Makefile.in.in (versionclean): Use EXE_TARGET and
11022 DUMP_TARGET instead of literal program names.
11024 2000-09-20 Martin Buchholz <martin@xemacs.org>
11026 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11028 2000-09-19 Martin Buchholz <martin@xemacs.org>
11030 * *: Spelling mega-patch
11032 2000-09-19 Martin Buchholz <martin@xemacs.org>
11034 * fns.c (bad_bad_turtle):
11035 Delete "Eek!" comment, since we fixed the bug to which it refers.
11037 2000-09-16 Martin Buchholz <martin@xemacs.org>
11039 * alloca.c: Replace REGISTER with register.
11041 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11043 * file-coding.c (ucs_to_char): Use countof.
11045 2000-09-16 Martin Buchholz <martin@xemacs.org>
11047 * file-coding.c: (ucs_to_char):
11048 (complex_vars_of_file_coding):
11049 Use countof instead of sizeof.
11050 Use CHECK_NATNUM instead of CHECK_INT.
11052 * sysdep.c (strcasecmp): Remove.
11053 * device-x.c (ascii_strcasecmp): New.
11054 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11055 Avoid using non-standard non-portable strcasecmp.
11057 2000-09-16 Martin Buchholz <martin@xemacs.org>
11059 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11060 * font-lock.c: remove reference to emacsfns.h.
11061 * search.c: small doc improvement.
11062 * event-Xt.c: correct file names in comments.
11063 * console-x.h Correct file names in comments.
11064 * frame.c: Correct file names in comments.
11065 * event-stream.c: remove Energize from comments.
11067 2000-09-15 Martin Buchholz <martin@xemacs.org>
11069 * symeval.h (DEFERROR_STANDARD):
11072 (DEFSYMBOL_NO_DUMP):
11073 (DEFSYMBOL_MULTIWORD_PREDICATE):
11074 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11076 The construct &##name is not sensible C.
11077 Fixes compilation errors with Unixware native compiler.
11079 2000-09-14 Martin Buchholz <martin@xemacs.org>
11081 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11082 (next_frame_internal): Removed. We now just have next_frame.
11084 Write a simpler and cleaner one-pass algorithm.
11085 Remove called_from_delete_device arg and #ifdefed-out code.
11087 Renamed from prev_frame. Update callers.
11088 Cleaned up to have an analogous implementation to next_frame.
11089 (other_visible_frames_internal): Remove the
11090 called_from_delete_device bogus arg, and hence, remove this
11091 function. Just use other_visible_frames().
11093 * window.c (Fnext_window):
11094 Prettify docstring.
11095 Since next_frame() is guaranteed to return a frame, remove check
11096 for nil inserted in previous patch.
11097 (Fprevious_window):
11098 Prettify docstring.
11099 Make code look more like Fnext_window.
11101 Respect the `console' arg when iterating through windows.
11102 Fixes bug: (get-buffer-window buffer t device) not respecting
11104 This function needs more work, as others have pointed out.
11106 * frame.h: Rename prev_frame to previous_frame.
11107 device_matches_console_spec no longer takes a `frame' arg.
11112 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11113 From "Golubev I. N." <gin@mo.msk.ru>.
11115 * make-src-depend: Fix typo.
11117 2000-09-13 Martin Buchholz <martin@xemacs.org>
11119 * window.c (Fnext_window):
11120 next_frame() might return nil, not a frame.
11122 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11124 * frame.c (next_frame_internal):
11125 We've passed a frame if we've passed its device.
11127 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11128 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11130 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11132 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11133 Allow option to suppress accelerators in menu/dialog items.
11134 (populate_or_checksum_helper): Pass dialog title through above.
11136 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11138 * event-msw.c (mswindows_key_to_emacs_keysym):
11139 Add "pause" key, fix "menu" key.
11141 2000-09-09 Martin Buchholz <martin@xemacs.org>
11143 * eval.c (reinit_vars_of_eval):
11144 Increase max_lisp_eval_depth to 1000,
11145 required for thai-xtis.el to byte-compile under some circumstances.
11147 2000-09-04 Martin Buchholz <martin@xemacs.org>
11149 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11150 From Kenichi Handa.
11152 2000-09-01 Martin Buchholz <martin@xemacs.org>
11154 * make-src-depend: Make the generated Makefiles smaller.
11156 * s/hpux.h (SETUP_SLAVE_PTY):
11157 Provide a %d in the format string for the errno argument.
11159 * editfns.c (Ftemp_directory):
11161 Avoid buffer overrun on very long file name.
11163 * input-method-xlib.c (XIM_init_device):
11164 6th parameter of XRegisterIMInstantiateCallback has different
11165 pointer types on different OSes, so simply cast to (void *).
11167 * unexhp9k800.c: Warning fixes. Fiddly changes.
11169 * sysdll.c (dll_open):
11170 shl_load will hang hard if passed a NULL filename.
11171 Simply return NULL for compatibility with dlopen.
11172 * sysdll.c: Conform to XEmacs coding standards.
11174 * sysdep.c (get_pty_max_bytes):
11175 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11177 2000-08-31 Martin Buchholz <martin@xemacs.org>
11179 * tooltalk.c: Add #include <syssignal.h>
11181 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11183 * s/hpux.h: Don't use undefined function sigunblock().
11185 2000-08-31 Martin Buchholz <martin@xemacs.org>
11187 * config.h.in: Add HAVE_BALLOON_HELP.
11188 * emacs.c: Use HAVE_BALLOON_HELP.
11189 * Makefile.in.in (x_objs):
11190 Make Balloon Help conditional on finding shape.h.
11192 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11194 * syntax.c (regex_emacs_buffer_p): New variable.
11195 * syntax.h (regex_emacs_buffer_p): extern.
11196 * search.c (looking_at_1):
11198 (fast_string_match):
11199 (search_buffer): Set regex_emacs_buffer_p.
11200 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11201 when before_dot, at_dot, after_dot.
11203 2000-08-23 Andy Piper <andy@xemacs.org>
11205 * gui-x.c (popup_selection_callback): Only set action_occurred
11206 when we really have an image instance.
11207 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11209 2000-08-23 Andy Piper <andy@xemacs.org>
11211 * gui-msw.c (mswindows_handle_gui_wm_command): set
11213 * gui-x.c (popup_selection_callback): ditto.
11215 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11216 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11217 (struct Lisp_Image_Instance): add action_occurred flag.
11219 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11220 (image_instance_changed): ditto.
11221 (reset_frame_subwindow_instance_cache): only unmap windows - do
11222 not remove them from the cache also.
11224 * glyphs-widget.c (tab_control_update): better debug.
11225 (progress_gauge_update): ditto.
11226 (layout_update): ditto.
11227 (layout_instantiate): ditto.
11228 (tab_control_order_only_changed): cope with null pending items.
11230 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11231 debug. Force selection of an item when an action occurred. Cope
11232 with null pending_items.
11233 (mswindows_progress_gauge_redisplay): better debug.
11234 * glyphs-x.c (x_tab_control_redisplay): ditto.
11236 * redisplay.c (redisplay_frame): reset the frame cache if the
11239 * window.c (Fset_window_configuration): potentially re-enable
11241 (window_unmap_subwindows): need to finalize instances here since
11242 it is only used in mark_window_as_deleted.
11244 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11246 * nas.c (SndOpenDataForReading):
11247 nas.c (WaveOpenDataForReading):
11248 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11249 Somehow escaped from the 2000-08-14 patch.
11251 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11253 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11254 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11256 2000-08-21 Andy Piper <andy@xemacs.org>
11258 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11259 window if it is not already displayed.
11261 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11262 it is not already displayed.
11264 * window.c (Fset_window_configuration): don't reset the frame
11267 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11268 instances from the frame cache if we are actually finalizing them.
11269 (reset_frame_subwindow_instance_cache): reset frame cache only
11270 after unmapping everything.
11271 (map_subwindow): set displayed flag after mapping.
11273 2000-08-21 Martin Buchholz <martin@xemacs.org>
11275 * data.c (indirect_function):
11276 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11278 * eval.c (function_argcount):
11279 Use original function when signaling errors.
11281 2000-08-18 Andy Piper <andy@xemacs.org>
11283 * frame.c (delete_frame_internal): use new
11284 free_frame_subwindow_instances name.
11286 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11287 (add_tab_item): make return type correct.
11288 (mswindows_tab_control_instantiate): assert index of tab.
11289 (mswindows_tab_control_redisplay): Re-code to use
11290 gui_item_equal_sans_selected and gui_item_list_find_selected.
11292 * glyphs-widget.c (tab_control_update): Correct comment.
11294 * window.c (window_unmap_subwindows): use new
11295 unmap_subwindow_instance_cache_mapper.
11296 (window_unmap_subwindows_cache_mapper): deleted.
11297 (Fset_window_configuration): comparisons should now be with
11298 EQ. Preserve the subwindow instance cache across configuration
11300 (allocate_window): ditto.
11301 (make_dummy_parent): ditto.
11303 * glyphs.c (free_frame_subwindow_instances): rename from
11304 free_frame_subwindow_instance_cache. finalize all instances rather
11305 than just those in the display cache.
11306 (finalize_all_subwindow_instances): walk windows unmapping and
11307 finalizing subwindows.
11308 (unmap_subwindow_instance_cache_mapper): moved from
11309 window.c. Allow finalization as well as unmapping.
11311 * gui.c (gui_item_list_find_selected): new function.
11313 * gui.h (gui_item_list_find_selected): declare.
11315 * glyphs-x.c (x_tab_control_redisplay): pick tab
11316 explicitly. Re-code to use gui_item_equal_sans_selected and
11317 gui_item_list_find_selected.
11319 * glyphs-x.h: add lwlib-utils.h
11321 * buffer.c (Frecord_buffer): undo previous change.
11323 2000-08-09 Vin Shelton <acs@xemacs.org>
11325 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11326 possible. Create temporary files more securely. The patch was
11327 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11328 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11329 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11332 2000-08-07 Ben Wing <ben@xemacs.org>
11334 * getloadavg.c: remove duplicate (and windows-breaking)
11335 includes of fcntl.h and sys/file.h.
11337 * nt.c: remove duplicate getloadavg() definition.
11339 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11342 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11344 * eval.c (function_argcount): If function needs to be autoloaded
11345 actually use the loaded definition.
11348 2000-08-05 Ben Wing <ben@xemacs.org>
11350 * getloadavg.c: add prototype for getloadavg(). remove
11351 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11352 of the code). remove duplicate header includes.
11354 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11356 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11357 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11358 useful load average.
11360 * alloc.c (reinit_alloc_once_early): removed references to
11361 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11362 the lisp vars are the only things referencing the malloc_sbrk_*
11363 vars, and they were already if 0'd out. these vars only exist
11364 in the older malloc.c, which is basically unused, and they're
11365 only for informational purposes.
11367 * m\*.h: removed useless VIRT_ADDR_VARIES.
11369 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11371 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11373 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11374 color if the image is a mono pixmap.
11376 2000-07-30 Ben Wing <ben@xemacs.org>
11378 * Makefile.in.in (release):
11381 * buffer.c (directory_is_current_directory):
11382 * dired-msw.c (mswindows_get_files):
11384 * dired.c (Fdirectory_files):
11385 * dired.c (file_name_completion_stat):
11386 * dired.c (Ffile_attributes):
11387 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11388 preprocessor tricks, to avoid problems on some machines
11391 * callproc.c (egetenv): GC docs.
11394 * console-msw.h (struct mswindows_dialog_id):
11395 * lrecord.h (lrecord_type):
11396 New object for use with MSW dialogs.
11398 * console.h (struct console_methods):
11399 New enable/disable frame methods, for proper modal dialogs.
11401 * device-msw.c (msprinter_default_printer): Fix to follow
11402 proper Mule conventions.
11405 * device-msw.c (signal_open_printer_error):
11406 * device-msw.c (msprinter_init_device):
11407 * device-msw.c (ensure_not_printing):
11408 * device-msw.c (plist_get_margin):
11409 * device-msw.c (Fmsprinter_select_settings):
11410 * device-msw.c (finalize_devmode):
11411 * device-msw.c (Fmsprinter_settings_despecialize):
11412 * device-msw.c (signal_enum_priner_error):
11413 * extents.c (decode_extent):
11414 * extents.c (decode_map_extents_flags):
11415 * extents.c (decode_extent_at_flag):
11416 * extents.c (Fextent_at):
11417 * extents.c (Fextents_at):
11418 * extents.c (symbol_to_glyph_layout):
11419 [[[[2]]]] Use structured errors.
11422 * dialog-msw.c (mswindows_is_dialog_msg):
11423 * dialog-msw.c (mark_mswindows_dialog_id):
11424 * dialog-msw.c (dialog_proc):
11425 * dialog-msw.c (handle_question_dialog_box):
11426 * dialog-msw.c (syms_of_dialog_mswindows):
11427 Define new object to clean up marking; use it as a dialog identifier.
11428 Call new delete-dialog-box-hook.
11430 * dialog-x.c (dbox_selection_callback):
11431 * dialog-x.c (dbox_descriptor_to_widget_value):
11432 * dialog-x.c (x_make_dialog_box_internal):
11433 Call new delete-dialog-box-hook.
11437 * dialog.c (syms_of_dialog):
11438 * dialog.c (vars_of_dialog):
11439 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11442 * eval.c (signal_call_debugger):
11443 when noninteractive, output stack traces on the console instead
11444 of in a (never-seen) buffer.
11446 * eval.c (signal_type_error):
11447 * eval.c (invalid_argument_2):
11449 new funs for use w/structured errors.
11452 * event-Xt.c (x_to_emacs_keysym):
11453 * event-Xt.c (describe_event):
11454 * event-Xt.c (emacs_Xt_event_handler):
11455 * event-Xt.c (vars_of_event_Xt):
11457 * event-msw.c (mswindows_wnd_proc):
11458 * event-msw.c (vars_of_event_mswindows):
11459 rename {x,mswindows}-debug-events to debug-{}-events for
11460 consistency with other debug-foo variables.
11463 document next-event more clearly.
11465 * fileio.c (Ffile_name_directory):
11466 * fileio.c (Ffile_name_nondirectory):
11467 * fileio.c (Funhandled_file_name_directory):
11468 * fileio.c (file_name_as_directory):
11469 * fileio.c (Ffile_name_as_directory):
11470 * fileio.c (directory_file_name):
11471 * fileio.c (Fdirectory_file_name):
11472 * fileio.c (Fmake_temp_name):
11473 * fileio.c (Ffile_truename):
11474 * fileio.c (Fsubstitute_in_file_name):
11475 * fileio.c (expand_and_dir_to_file):
11476 * fileio.c (barf_or_query_if_file_exists):
11477 * fileio.c (check_executable):
11478 * fileio.c (Ffile_exists_p):
11479 * fileio.c (Ffile_writable_p):
11480 * fileio.c (Ffile_directory_p):
11481 * fileio.c (Ffile_regular_p):
11482 * fileio.c (Ffile_modes):
11483 * fileio.c (Ffile_newer_than_file_p):
11484 * fileio.c (Fverify_visited_file_modtime):
11485 * fileio.c (Fset_visited_file_modtime):
11486 * fileio.c (auto_save_1):
11491 * frame-msw.c (mswindows_init_frame_1):
11492 * frame-msw.c (mswindows_enable_frame):
11493 * frame-msw.c (error_frame_unsizable):
11494 * frame-msw.c (msprinter_init_frame_1):
11495 * frame-msw.c (msprinter_init_frame_3):
11496 * frame-msw.c (console_type_create_frame_mswindows):
11498 implement new enable/disable frame methods.
11501 * frame-x.c (x_enable_frame):
11502 * frame-x.c (console_type_create_frame_x):
11503 implement new enable/disable frame methods.
11506 * frame.c (Fdisable_frame):
11507 * frame.c (syms_of_frame):
11508 * frame.h (struct frame):
11509 implement new enable/disable frame methods/functions.
11514 * glyphs-msw.c (mswindows_widget_instantiate):
11515 comment that initial-focus should be implemented.
11518 * glyphs-widget.c (check_valid_instantiator):
11519 * glyphs-widget.c (check_valid_orientation):
11520 * glyphs-widget.c (check_valid_tab_orientation):
11521 * glyphs-widget.c (check_valid_justification):
11522 * glyphs-widget.c (check_valid_border):
11523 * glyphs-widget.c (check_valid_callback):
11524 * glyphs-widget.c (check_valid_int_or_function):
11525 * glyphs-widget.c (check_valid_string_or_vector):
11526 * glyphs-widget.c (check_valid_item_list_1):
11527 * glyphs-widget.c (widget_validate):
11528 * glyphs-widget.c (combo_box_validate):
11529 * glyphs-widget.c (widget_instantiate):
11530 * glyphs-widget.c (syms_of_glyphs_widget):
11531 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11532 * glyphs-widget.c (image_instantiator_combo_box):
11533 * glyphs-widget.c (image_instantiator_scrollbar):
11534 * glyphs-widget.c (image_instantiator_tab_control):
11535 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11537 support (unimplemented) keyword initial-focus.
11538 reindent long macros.
11540 * glyphs-x.c (x_redisplay_widget):
11541 * glyphs-x.c (x_button_instantiate):
11542 * glyphs-x.c (x_button_redisplay):
11543 * glyphs-x.c (x_progress_gauge_instantiate):
11544 * glyphs-x.c (x_edit_field_instantiate):
11545 * glyphs-x.c (x_combo_box_instantiate):
11546 * glyphs-x.c (x_tab_control_instantiate):
11547 * glyphs-x.c (x_label_instantiate):
11549 * gui-x.c (button_item_to_widget_value):
11550 * gui-x.c (gui_items_to_widget_values_1):
11551 * gui-x.c (gui_item_children_to_widget_values):
11552 * gui-x.c (gui_items_to_widget_values):
11554 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11555 add new flag to gui-parsing routines to indicate whether
11556 accelerator specs should be supported.
11558 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11560 * glyphs.h (struct Lisp_Image_Instance):
11561 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11562 add initial-focus flag.
11565 * gui.c (syms_of_gui):
11566 * gui.c (vars_of_gui):
11567 clean up menu-no-selection-hook.
11570 support delete-dialog-box-hook.
11572 * lread.c (Fload_internal):
11573 * lread.c (locate_file_in_directory_mapper):
11577 * lrecord.h (struct toolbar_button):
11578 * lrecord.h (syms_of_toolbar):
11579 document how to create a new object.
11581 * menubar-msw.c (mswindows_char_is_accelerator):
11582 may be called on frames w/o menus.
11584 * menubar.c (vars_of_menubar):
11585 clean up :filter docs.
11592 * process-nt.c (validate_signal_number):
11593 * process-nt.c (signal_cannot_launch):
11594 * process-nt.c (nt_create_process):
11595 * process-nt.c (nt_send_process):
11596 * process-nt.c (nt_kill_child_process):
11597 * process-nt.c (nt_open_network_stream):
11598 * process-nt.c (syms_of_process_nt):
11600 delete quote-handling. call new lisp code that does it better.
11602 * process-unix.c (connect_to_file_descriptor):
11603 * process-unix.c (allocate_pty):
11604 * process-unix.c (unix_send_process):
11605 * process-unix.c (unix_kill_child_process):
11606 * process-unix.c (unix_open_network_stream):
11607 * process-unix.c (unix_open_multicast_group):
11611 * process.c (Fstart_process_internal):
11612 (2). need to canonicalize process path even if absolute.
11614 * select-msw.c (symbol_to_ms_cf):
11615 * select-msw.c (ms_cf_to_symbol):
11616 * select-msw.c (cf_is_autofreed):
11617 * select-msw.c (mswindows_destroy_selection):
11619 * select.c (syms_of_select):
11621 support dibv5, fix bugs. (from Mike Alexander)
11623 * select.c (Fget_selection_internal):
11624 * select.c (select_convert_out):
11627 * sysdep.c (xemacs_stat):
11630 * sysdep.c (mkdir):
11631 * sysdep.c (rmdir):
11632 but keep original stat() here because we provide encapsulation
11636 * sysfile.h (fstat):
11637 remove stat garbage.
11640 fix X/MSW conflict.
11641 don't include tchar.h. it's inappropriate because it makes
11642 compile-time distinctions when we want runtime distinctions.
11643 (we provide our own tchar replacements)
11646 use default object printer for toolbar-button.
11649 make sure we don't encapsulate.
11651 * window.c (vars_of_window):
11652 emphasize that temp-buffer-show-hook is obsolete.
11654 2000-08-05 Martin Buchholz <martin@xemacs.org>
11656 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11657 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11659 * events.c (Fevent_timestamp_lessp):
11660 Not 64-bit clean. Use EMACS_INT, not int.
11662 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11664 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11665 unsigned int and changed the last enum to
11666 lrecord_type_last_built_in_type.
11667 (lrecord_implementations_table): changed prototype to know how
11668 long the array is supposed to be.
11669 (lrecord_type_count): new unsigned int to keep track of the
11670 current number of lisp lrecord types.
11671 (DEFINE_EXTERNAL_LRECORD):
11672 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11673 dynamic-modules to declare new lisp types. They are the same
11674 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11675 int for each new type, and increment lrecord_type_count by 1.
11677 * alloc.c (lrecord_implementations_table): Changed to reference
11678 lrecord_type_last_built_in_type for the size of the array.
11679 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11681 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11683 * glyphs.h (check_valid_item_list): Renamed from
11684 check_valid_item_list_1.
11686 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11688 * select.c (Qselect_coerce): New.
11689 * select.c (Vselection_coercion_alist): New.
11690 * select.c (syms_of_select): Declare.
11691 * select.c (get-selection-internal): Use it.
11692 Use the new select-coerce functionality.
11694 * select.c (select_coerce): New.
11695 * select.h (select_coerce): Declare.
11696 New function to coerce one type of data into another.
11698 2000-08-03 Martin Buchholz <martin@xemacs.org>
11700 * callproc.c (Fcall_process_internal):
11701 (Fcall_process_internal):
11702 * process-unix.c (unix_create_process):
11703 Save and restore the value of errno, so that error messages are accurate.
11705 2000-08-01 Martin Buchholz <martin@xemacs.org>
11707 * elhash.c (print_hash_table):
11708 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11709 Prettify docstrings and indentation.
11711 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11713 * window.c (Fwindow_pixel_edges): Subtract frame border and
11716 2000-07-31 Andy Piper <andy@xemacs.org>
11718 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11719 will acknowledge the change.
11721 * glyphs.h: declare tab_control_order_only_changed.
11723 * glyphs-x.c (x_tab_control_redisplay): use
11724 tab_control_order_only_changed.
11726 * glyphs-widget.c (tab_control_order_only_changed): new function.
11728 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11729 tab_control_order_only_changed.
11731 * gui.c (gui_item_equal_sans_selected): new function.
11732 (gui_item_equal): use it.
11734 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11735 :properties in favor of :items..
11737 * glyphs-widget.c (check_valid_item_list): rename from
11738 check_valid_item_list_1.
11739 (check_valid_item_list_1): renamed.
11740 (combo_box_validate): deprecate :properties in favor of :items.
11741 (widget_instantiate): ditto.
11742 (tab_control_update): ditto.
11743 (image_instantiator_combo_box): ditto.
11744 (image_instantiator_tree_view): ditto.
11745 (image_instantiator_tab_control): ditto.
11746 (layout_post_instantiate): remove dead code.
11748 * print.c (debug_print_no_newline): only write to debugger if in
11751 * elhash.c (Fmake_hash_table): update doc string.
11753 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11754 messages whilst in GC. This at least stops XEmacs crashing but has
11755 the potential for wierd behaviour.
11757 2000-07-31 Martin Buchholz <martin@xemacs.org>
11760 Make existence of s&m files optional.
11762 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11763 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11764 * s/gnu.h: Remove HAVE_GETLOADAVG.
11765 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11766 * s/sol2.h: Remove HAVE_GETLOADAVG.
11767 * lisp.h: Remove getloadavg() declaration.
11769 Include <sys/loadavg.h> if available.
11770 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11771 * config.h.in: Group together getloadavg()-related macros.
11772 Use only configure-time tests to detect getloadavg().
11774 2000-07-30 Martin Buchholz <martin@xemacs.org>
11776 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11778 2000-07-25 Andy Piper <andy@xemacs.org>
11780 * syswindows.h: add tchar.h for native builds.
11782 * frame.c (syms_of_frame): remove set-glyph-image.
11784 * general-slots.h: add Qset_glyph_image.
11786 * glyphs-widget.c (layout_update): add domain arg to
11788 (syms_of_glyphs_widget): remove set-glyph-image.
11790 2000-07-23 Ben Wing <ben@xemacs.org>
11792 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11795 2000-07-22 Andy Piper <andy@xemacs.org>
11797 * symsinit.h: add syms_of_win32().
11799 * gui-msw.c (syms_of_gui_mswindows): remove
11800 Fmswindows_shell_execute.
11801 (Fmswindows_shell_execute): moved to win32.c.
11803 * emacs.c (main_1): add syms_of_win32 ().
11805 * win32.c (init_potentially_nonexistent_functions): rewrite in
11806 compiler-friendly terms.
11807 (Fmswindows_shell_execute): move here from gui-msw.c.
11808 (syms_of_win32): new.
11810 * device-msw.c (Fmswindows_printer_list): clean up args to
11812 Don't include tchar under cygwin or mingw.
11813 (msprinter_default_printer): make cygwin-friendly.
11815 2000-07-21 Andy Piper <andy@xemacs.org>
11817 * glyphs-widget.c (image_instantiator_tree_view): use tab
11818 control's update function.
11819 (layout_property): new function. Retrieve items.
11821 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11822 function. Re-populate the tree view from the pending items.
11824 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11825 is designated the parent if the domain is an image instance. This
11826 is needed so that dirtiness can be cascade up the hierarchy and
11827 thus for layout children to be redisplayed correctly.
11828 (allocate_image_instance): rename glyph -> parent.
11830 * redisplay.h: change redisplay_output_layout signature.
11832 * redisplay-msw.c (mswindows_output_display_block): use domain
11835 * redisplay-x.c (x_output_display_block): use domain arg.
11837 2000-07-10 Andy Piper <andy@xemacs.org>
11839 * window.c (Fset_window_configuration): add comment.
11841 * redisplay-output.c (compare_runes):
11842 (redisplay_output_subwindow): redisplay rather than update subwindow.
11843 (redisplay_output_layout): ditto.
11845 * redisplay-msw.c (mswindows_frame_output_end):
11846 (mswindows_frame_output_end): make defer window pos optional.
11848 * lisp.h: add Flast.
11850 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11851 normalize method. Change update method to be for changed
11852 instantiators. Add redisplay method. Change signature of layout
11854 (struct Lisp_Image_Instance): add instantiator.
11855 (IMAGE_INSTANCE_INSTANTIATOR): new.
11856 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11857 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11858 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11861 (find_instantiator_differences): new function.
11862 (Fset_instantiator_property): new convenience function.
11863 (check_image_instance_structure): strictly check for vector
11865 (normalize_image_instantiator): make non-static.
11866 (instantiate_image_instantiator): pass on dest_mask and use new
11867 signatures for image_instance_layout and friends.
11868 (mark_image_instance): mark the instantiator. Mark the subwindow
11869 face not the widget face.
11870 (image_instance_equal): add instantiator.
11871 (image_instance_hash): ditto.
11872 (allocate_image_instance): ditto.
11873 (Fset_image_instance_property): removed.
11874 (Fimage_instance_file_name): ditto.
11875 (Fcolorize_image_instance): ditto.
11876 (image_instance_layout): add offsets to be set.
11877 (update_image_instance): new function. update an image instance
11878 from its changed instantiator.
11879 (inherit_normalize): add dest_mask.
11880 (xbm_normalize): ditto.
11881 (xface_normalize): ditto.
11882 (xpm_normalize): ditto.
11883 (text_update): set_property -> update.
11884 (image_instantiate): use the glyph identity as a hash key, not the
11886 (glyph_width): use new image_instance_layout signature.
11887 (glyph_ascent): ditto.
11888 (glyph_descent): ditto.
11889 (glyph_height): ditto.
11890 (glyph_query_geometry): ressurrect.
11891 (glyph_layout): ditto.
11892 (redisplay_subwindow): update -> redisplay.
11893 (syms_of_glyphs): add Fset_instantiator_property.
11894 (image_instantiator_format_create): set_property -> update.
11897 (autodetect_normalize): add dest_maks to signature.
11898 (x_redisplay_subwindow): update -> redisplay.
11899 (x_redisplay_widget): ditto.
11900 (x_button_redisplay): ditto.
11901 (x_progress_gauge_redisplay): ditto.
11902 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11904 (console_type_create_glyphs_x): update -> redisplay.
11905 (image_instantiator_format_create_glyphs_x): ditto.
11908 (check_valid_instantiator): disallow glyphs in the instantiator,
11909 they must now be vectors.
11910 (check_valid_instantiator_list): ditto.
11911 (glyph_instantiator_to_glyph): use internal symbol rather than
11913 (widget_update): renamed from widget_set_property. Call cascaded
11915 (redisplay_widget): renamed from update_widget.
11916 (widget_layout): image_instance_layout now takes position as well
11918 (widget_normalize): ditto.
11919 (widget_instantiate): ditto.
11920 (tab_control_query_geometry) ditto.:
11921 (tab_control_update): renamed from tab_control_set_property.
11922 (progress_gauge_update): set_property -> update.
11923 (layout_normalize): rewrite so that child instantiators are
11925 (layout_update): new function. Create glyphs from the normalized
11926 children and cope with any other layout keywords. We do not
11927 instantiate children here that will be take care of by
11928 redisplay_output_layout.
11929 (layout_instantiate): call layout_update and not much else.
11930 (layout_post_instantiate): not sure whether this is needed
11932 (layout_query_geometry): query glyph geometry rather than
11933 image_instance geometry.
11934 (layout_layout): set offsets from pass in parameters. Use glyph
11935 geometry and layout functions rather than image instance ones.
11936 (native_layout_layout): ditto.
11937 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11938 (image_instantiator_widget): set_property -> update.
11939 (image_instantiator_buttons): ditto.
11940 (image_instantiator_progress_guage): ditto.
11941 (image_instantiator_tab_control): ditto.
11942 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11943 (image_instantiator_layout): add update method.
11945 * glyphs-msw.c (bmp_normalize):
11946 (mswindows_resource_normalize): add dest_mask so that it can be
11947 proprogated by layout_normalize.
11948 (begin_defer_window_pos): make optional because it may not be the
11949 right thing to do and it introduces differences with X.
11950 (mswindows_unmap_subwindow): ditto.
11951 (mswindows_map_subwindow): ditto.
11952 (mswindows_redisplay_subwindow): renamed from
11953 mswindows_update_subwindow.
11954 (mswindows_redisplay_widget): ditto.
11955 (mswindows_button_redisplay): renamed from
11956 mswindows_button_update. Update is now what the instantiation
11957 function does for a changed instantiator.
11958 (mswindows_progress_gauge_instantiate): set the progress value
11959 here if appropriate.
11960 (mswindows_tab_control_redisplay): cope with re-ordering of the
11961 members of the tab widget by simply selecting the new top
11962 widget. This makes things appear ok if you click on a tab.
11963 (mswindows_combo_box_instantiate): image_instance_layout now takes
11964 position as well as size.
11965 (mswindows_progress_gauge_redisplay): renamed from
11966 mswindows_progress_gauge_update.
11967 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11968 (image_instantiator_format_create_glyphs_mswindows): ditto.
11970 * glyphs-eimage.c (jpeg_normalize):
11973 (tiff_normalize): add dest_mask so that it can be proprogated by
11977 (print_hash_table):
11978 (hash_table_weakness_validate):
11979 (decode_hash_table_weakness):
11980 (Fhash_table_weakness):
11981 (Fhash_table_type):
11982 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11984 * console.h (struct console_methods): move update_* to
11987 2000-07-20 Ben Wing <ben@xemacs.org>
11989 * *.[ch] (XSETOBJ): remove unused middle argument.
11990 lisp-disunion.h: correct wrap_object() to one argument.
11992 2000-07-15 Ben Wing <ben@xemacs.org>
11995 * s/cygwin32.h (CYGWIN_CONV_PATH):
11996 Add missing logb prototype for v1.1.
11997 Use post-b20 names and alias to pre-b20 names when pre-b20.
11999 * s/windowsnt.h: [5].
12001 2000-07-15 Ben Wing <ben@xemacs.org>
12003 * Makefile.in.in (x_objs):
12004 * Makefile.in.in (sheap_objs):
12005 * Makefile.in.in (objs):
12006 added win32.o, cosmetic cleanups.
12008 * alloc.c (Fmake_byte_code):
12009 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12010 etc. macros which declare their own args now.
12012 * alloc.c (syms_of_alloc):
12013 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12016 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12018 * buffer.c (Fget_file_buffer):
12019 Fixed GCPRO problem.
12021 * buffer.c (get_truename_buffer):
12022 Fixed comment about GC checking.
12024 * buffer.c (syms_of_buffer):
12025 Undeclared those dedicated frame funs.
12029 Define convenience macros for internal/external conversions.
12030 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12031 and Qenvironment_variable_encoding for cleaner code.
12034 Remove dedicated-frame; in lisp.
12036 * bytecode.c (funcall_compiled_function):
12039 * bytecode.c (syms_of_bytecode):
12043 * console-msw.c (mswindows_show_console): Rewrote.
12045 * console-msw.c (Fmswindows_debugging_output): New.
12046 Sends to OutputDebugString (special MSWin debugger interface).
12048 * console-msw.c (Fmswindows_message_box):
12049 Fixed stupid bugs so it works when called from kill-emacs.
12051 * console-msw.c (syms_of_console_mswindows):
12052 Declare Fmswindows_debugging_output.
12055 New MSWin prototypes.
12057 * console-msw.h (struct mswindows_frame):
12058 New entry last-click-mods for improved button-modifier support.
12060 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12061 New struct entry `popup' with corresponding accessor.
12064 * console-x.c (split_up_display_spec):
12065 * console-x.c (get_display_arg_connection):
12066 * console-x.c (x_semi_canonicalize_console_connection):
12067 * console-x.c (x_canonicalize_device_connection):
12068 [[[6]]]: Change char to more specific type.
12069 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12071 * console-x.c (x_semi_canonicalize_console_connection):
12072 * console-x.c (x_canonicalize_device_connection):
12073 [[[9]]]: Fix up error signalling to use new structured error system.
12076 [[[4]]]: Define codesys aliases:
12077 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12078 Qx_color_name_encoding, Qx_display_name_encoding.
12080 * console.h (struct console_methods):
12081 New method make_dialog_box_internal supersedes older
12082 popup_dialog_box method.
12085 Define many new errors, part of new structured errors.
12087 * data.c (init_errors_once_early):
12088 * data.c (syms_of_data):
12091 * device-msw.c (mswindows_init_device):
12092 [[[5]]]: Cleanup to support NT 3.51.
12094 * device-msw.c (decode_devmode): Cleanup.
12096 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12097 * device-msw.c (mswindows_handle_print_dialog_box):
12098 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12099 * device-msw.c (syms_of_device_mswindows):
12100 Delete the dialog box primitives recently introduced by Kirill and
12101 instead interface to general dialog box interface.
12104 * device-x.c (compute_x_app_name):
12105 * device-x.c (x_init_device):
12106 * device-x.c (Fx_valid_keysym_name_p):
12107 * device-x.c (Fx_set_font_path):
12111 * device.h (wrap_device): New.
12112 First of its kind; meant to replace XSETDEVICE.
12114 * dialog-msw.c: Many file-dialog symbols.
12116 * dialog-msw.c (mswindows_register_popup_frame): New.
12117 * dialog-msw.c (mswindows_is_dialog_msg): New.
12118 For supporting kbd traversal in dialog boxes.
12120 * dialog-msw.c (dialog_proc):
12121 Support hitting ESC in dialogs.
12123 * dialog-msw.c (struct):
12124 Common dialog box errors.
12126 * dialog-msw.c (handle_file_dialog_box): New.
12127 Add file dialog code.
12129 * dialog-msw.c (handle_question_dialog_box):
12130 Redo existing code to support new question dialog syntax.
12132 * dialog-msw.c (console_type_create_dialog_mswindows):
12133 We support new dialog console method.
12135 * dialog-msw.c (syms_of_dialog_mswindows):
12136 * dialog-msw.c (vars_of_dialog_mswindows):
12137 New file dialog symbols, vars.
12140 * dialog-x.c (maybe_run_dbox_text_callback):
12141 * dialog-x.c (dbox_descriptor_to_widget_value):
12142 * dialog-x.c (x_make_dialog_box_internal):
12143 * dialog-x.c (console_type_create_dialog_x):
12144 Mule-ize entire file.
12145 Redo to support question dialog syntax.
12149 * dialog.c (Fmake_dialog_box_internal):
12150 * dialog.c (syms_of_dialog):
12151 Kill old popup-dialog-box, replace with new primitive.
12152 Just call device method or signal error.
12154 * eldap.c (Fldap_open):
12155 * eldap.c (Fldap_search_basic):
12156 * eldap.c (Fldap_add):
12157 * eldap.c (Fldap_modify):
12162 * emacs.c (make_arg_list_1):
12163 * emacs.c (make_arg_list):
12164 Mule-ize call to dll_init().
12168 * emacs.c (make_argc_argv):
12169 * emacs.c (free_argc_argv):
12170 * emacs.c (init_cmdargs):
12171 * emacs.c (main_1):
12172 * emacs.c (Fkill_emacs):
12173 * emacs.c (Fdump_emacs):
12174 Update comments about what can be used in syms_* etc.
12175 Call init_win32() when necessary.
12176 Fix up MS Win dialog box in kill-buffer to actually work right.
12187 * eval.c (condition_case_3):
12189 * eval.c (function_argcount):
12190 * eval.c (funcall_lambda):
12193 * eval.c (type_error): New.
12194 * eval.c (maybe_type_error): New.
12195 * eval.c (continuable_type_error): New.
12196 * eval.c (maybe_continuable_type_error): New.
12197 * eval.c (type_error_with_frob): New.
12198 * eval.c (maybe_type_error_with_frob): New.
12199 * eval.c (continuable_type_error_with_frob): New.
12200 * eval.c (maybe_continuable_type_error_with_frob): New.
12201 New functions for use with structured errors.
12204 * event-Xt.c (x_event_to_emacs_event):
12205 Buttons are now modifiers too.
12207 * event-Xt.c (emacs_Xt_current_event_timestamp):
12208 Implement new event method.
12209 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12212 * event-msw.c (ntpipe_shove_writer): [5].
12213 * event-msw.c (mswindows_enqueue_mouse_button_event):
12214 * event-msw.c (mswindows_drain_windows_queue):
12215 * event-msw.c (mswindows_wnd_proc): [7].
12216 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12217 * event-msw.c (mswindows_modifier_state):
12218 Throughout: support new button modifiers.
12220 * event-msw.c (emacs_mswindows_current_event_timestamp):
12221 Implement new event method.
12222 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12225 * event-stream.c (event_stream_current_event_timestamp): New.
12226 * event-stream.c (maybe_kbd_translate): New functionality.
12227 * event-stream.c (vars_of_event_stream):
12228 Document new kbd-translate-table functionality.
12230 * event-stream.c (Fcurrent_event_timestamp): New.
12231 New primitive for use in fabricated events.
12232 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12234 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12237 * events.c (Fmake_event):
12238 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12242 * events.c (format_event_object): fix gcc warnings.
12244 * events.c (Fevent_timestamp): Document new primitives.
12246 * events.c (TIMESTAMP_HALFSPACE): New.
12248 * events.c (Fevent_timestamp_lessp): New. New primitive for
12249 comparing timestamps correctly (half-space algorithm).
12251 * events.c (Fevent_modifier_bits): Doc fix.
12253 * events.c (Fevent_modifiers): Major doc addition.
12254 * events.c (event_x_y_pixel_internal): Typo fix.
12255 * events.c (syms_of_events): Declare new primitives.
12258 Update long comment for button modifiers, timestamps.
12260 * events.h (struct event_stream):
12261 New current_event_timestamp method.
12264 * extents.c (extent_in_region_p):
12265 * extents.c (decode_extent):
12266 * extents.c (Fset_extent_parent):
12267 * extents.c (decode_map_extents_flags):
12271 * extents.c (struct extent_at_arg):
12272 * extents.c (decode_extent_at_flag):
12273 * extents.c (extent_at_mapper):
12274 * extents.c (extent_at_bytind):
12275 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12276 * extents.c (Fextents_at): New primitive. [9].
12277 * extents.c (symbol_to_glyph_layout): [9].
12278 Support new primitive `extents-at'.
12281 * extents.c (get_text_property_bytind):
12282 extent_at_bytind has another arg.
12285 * extents.c (syms_of_extents): New primitive.
12287 * file-coding.c (Fmake_coding_system): [1].
12288 * file-coding.c (subsidiary_coding_system): fix gcc warning
12289 * file-coding.c (syms_of_file_coding): [2].
12291 * fileio.c (Fexpand_file_name):
12292 * fileio.c (Fsysnetunam):
12293 * fileio.c (Ffile_exists_p):
12294 * fileio.c (Ffile_executable_p):
12295 * fileio.c (Fverify_visited_file_modtime):
12298 * fileio.c (syms_of_fileio): [2].
12300 * filelock.c (lock_file_1):
12301 * filelock.c (current_lock_owner):
12302 * filelock.c (lock_if_free):
12303 * filelock.c (lock_file):
12304 * filelock.c (unlock_file):
12307 * fns.c (concat): Fix gcc warning.
12310 * fns.c (Fold_member):
12312 * fns.c (Fold_memq):
12313 * fns.c (memq_no_quit):
12315 * fns.c (Fold_assoc):
12317 * fns.c (Fold_assq):
12318 * fns.c (assq_no_quit):
12320 * fns.c (Fold_rassoc):
12322 * fns.c (Fold_rassq):
12323 * fns.c (rassq_no_quit):
12325 * fns.c (Fold_delete):
12327 * fns.c (Fold_delq):
12328 * fns.c (delq_no_quit):
12329 * fns.c (Fremassoc):
12330 * fns.c (Fremassq):
12331 * fns.c (remassq_no_quit):
12332 * fns.c (Fremrassoc):
12333 * fns.c (Fremrassq):
12334 * fns.c (remrassq_no_quit):
12335 * fns.c (Freverse):
12339 * frame-msw.c (mswindows_init_frame_1):
12340 * frame-msw.c (mswindows_delete_frame):
12341 Register popups with dialog code so keyboard traversing works.
12343 * frame-tty.c (tty_raise_frame_no_select): [1].
12346 * frame-x.c (x_set_frame_text_value):
12347 * frame-x.c (x_set_frame_properties):
12348 * frame-x.c (x_create_widgets):
12352 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12354 * frame.h (wrap_frame): New.
12355 Macro like wrap_device.
12358 * general.c (SYMBOL):
12359 * general.c (syms_of_general):
12360 Major reorg. This is now just a wrapper and symbols themselves
12361 are listed in general-slots.h.
12363 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12364 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12366 * glyphs-msw.c (mswindows_native_layout_instantiate):
12367 Add DS_CONTROL so keyboard traversal will work.
12370 * glyphs-widget.c (syms_of_glyphs_widget):
12371 Move some symbols to general-slots.h.
12374 * glyphs-x.c (xbm_instantiate_1):
12375 * glyphs-x.c (x_xbm_instantiate):
12376 * glyphs-x.c (x_xface_instantiate):
12377 * glyphs-x.c (autodetect_instantiate):
12378 * glyphs-x.c (cursor_font_instantiate):
12379 * glyphs-x.c (x_update_widget):
12380 * glyphs-x.c (x_widget_instantiate):
12381 * glyphs.c (bitmap_to_lisp_data):
12382 * glyphs.c (pixmap_to_lisp_data):
12385 * glyphs.c (syms_of_glyphs):
12389 * gui-x.c (print_widget_value):
12390 * gui-x.c (menu_separator_style_and_to_external):
12391 * gui-x.c (add_accel_and_to_external):
12392 * gui-x.c (button_item_to_widget_value):
12393 * gui-x.c (gui_items_to_widget_values_1):
12394 * gui-x.c (gui_items_to_widget_values):
12395 * gui-x.c (syms_of_gui_x):
12396 * gui-x.c (vars_of_gui_x):
12397 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12401 Muleize, prototype changes matching gui-x.c.
12404 * gui.c (separator_string_p):
12405 * gui.c (gui_item_add_keyval_pair):
12406 * gui.c (make_gui_item_from_keywords_internal):
12407 * gui.c (signal_too_long_error):
12408 * gui.c (parse_gui_item_tree_item):
12409 * gui.c (syms_of_gui):
12410 * gui.c (vars_of_gui):
12412 menu-no-selection-hook moved here (used by MSWin).
12413 Move some symbols to general-slots.h.
12417 * insdel.c (get_buffer_pos_char):
12418 * insdel.c (get_buffer_range_char):
12421 * keymap.c (keymap_lookup_directly):
12422 * keymap.c (keymap_store):
12423 * keymap.c (ensure_meta_prefix_char_keymapp):
12424 * keymap.c (describe_map):
12426 Support new button modifiers.
12428 * lisp-disunion.h (wrap_object):
12429 * lisp-disunion.h (XSETOBJ):
12430 Rename make_obj to wrap_object.
12433 * lisp-union.h (make_int):
12434 * lisp-union.h (make_char):
12435 Support wrap_object.
12438 * lisp.h (LIST_LOOP):
12439 * lisp.h (EXTERNAL_LIST_LOOP):
12440 * lisp.h (LIST_LOOP_2):
12441 * lisp.h (EXTERNAL_LIST_LOOP_1):
12442 * lisp.h (EXTERNAL_LIST_LOOP_2):
12443 * lisp.h (EXTERNAL_LIST_LOOP_3):
12444 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12445 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12446 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12447 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12448 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12449 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12450 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12451 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12452 * lisp.h (struct Lisp_Symbol):
12453 * lisp.h (maybe_continuable_error_with_frob):
12454 Fix up section comments.
12455 Add new types for char to indicate usage.
12456 Delete symbols auto-generated from general-slots.h.
12457 Add prototypes for structured error functions.
12458 Add long comments describing looping macros and change interface
12459 so that lvalues are automatically declared.
12460 Add NO_DECLARE macro in case callers want to declare lvalues
12463 * lread.c (read_syntax_error):
12464 * lread.c (continuable_read_syntax_error):
12465 * lread.c (read_structure):
12466 * lread.c (sequence_reader):
12467 * lread.c (read_list_conser):
12468 * lread.c (read_compiled_function):
12469 Rename syntax_error and continuable_syntax_error to avoid clash
12470 with same-named structured error functions.
12472 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12473 * menubar-msw.c (populate_menu_add_item):
12474 * menubar-msw.c (populate_or_checksum_helper):
12479 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12480 Mule-ize whole file.
12482 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12484 * mule-charset.c (Fmake_charset):
12485 * mule-wnnfns.c (Fwnn_set_param):
12488 * ntproc.c (create_child):
12489 * ntproc.c (Fwin32_set_current_locale):
12490 Add comments portending doom.
12493 * objects-msw.c (old_font_enum_callback_2):
12494 * objects-msw.c (font_enum_callback_1):
12495 * objects-msw.c (mswindows_enumerate_fonts):
12499 * objects-x.c (allocate_nearest_color):
12500 * objects-x.c (x_parse_nearest_color):
12501 * objects-x.c (x_initialize_color_instance):
12502 * objects-x.c (x_print_color_instance):
12503 * objects-x.c (x_finalize_color_instance):
12504 * objects-x.c (x_valid_color_name_p):
12505 * objects-x.c (x_initialize_font_instance):
12506 * objects-x.c (x_print_font_instance):
12507 * objects-x.c (valid_x_font_name_p):
12508 * objects-x.c (truename_via_FONT_prop):
12509 * objects-x.c (truename_via_random_props):
12510 * objects-x.c (truename_via_XListFonts):
12511 * objects-x.c (x_font_truename):
12512 * objects-x.c (x_font_instance_truename):
12513 * objects-x.c (x_font_instance_properties):
12514 * objects-x.c (x_list_fonts):
12515 * objects-x.c (x_find_charset_font):
12516 Mule-ize entire file.
12523 * print.c (std_handle_out_external):
12524 * print.c (debug_print_no_newline):
12525 * print.c (syms_of_print):
12526 Output to all debugger kinds in debug-print.
12527 Fix console-output code under MSWin to actually work.
12529 * process-nt.c (send_signal):
12530 * process-nt.c (nt_create_process):
12531 Use newer Unicode macros.
12533 * process-unix.c (unix_create_process):
12534 * process-unix.c (unix_canonicalize_host_name):
12535 * process-unix.c (unix_open_network_stream):
12541 * search.c (syms_of_search):
12544 * select-msw.c (mswindows_destroy_selection):
12547 * select-x.c (symbol_to_x_atom):
12550 * select.c (syms_of_select):
12553 * sound.c (Fplay_sound_file):
12557 * specifier.c (decode_specifier_type):
12558 * specifier.c (Fvalid_specifier_locale_type_p):
12559 * specifier.c (check_valid_locale_or_locale_type):
12560 * specifier.c (decode_locale):
12561 * specifier.c (decode_locale_type):
12562 * specifier.c (decode_locale_list):
12563 * specifier.c (check_valid_domain):
12564 * specifier.c (decode_specifier_tag_set):
12565 * specifier.c (Fcanonicalize_tag_set):
12566 * specifier.c (Fdefine_specifier_tag):
12567 * specifier.c (Fspecifier_tag_predicate):
12568 * specifier.c (check_valid_inst_list):
12569 * specifier.c (check_valid_spec_list):
12570 * specifier.c (decode_how_to_add_specification):
12571 * specifier.c (check_modifiable_specifier):
12572 * specifier.c (specifier_add_spec):
12573 * specifier.c (boolean_validate):
12574 * specifier.c (display_table_validate):
12577 * specifier.c (syms_of_specifier):
12578 Move some symbols to general-slots.h.
12582 * symbols.c (Fmapatoms):
12583 * symbols.c (Fapropos_internal):
12586 * symbols.c (set_default_buffer_slot_variable):
12587 * symbols.c (set_default_console_slot_variable):
12590 * symbols.c (defsymbol_massage_name_1):
12591 * symbols.c (defkeyword_massage_name):
12592 * symbols.c (deferror_1):
12593 * symbols.c (deferror):
12594 * symbols.c (deferror_massage_name_and_message):
12596 * symeval.h (DEFSYMBOL):
12597 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12599 * symbols.c (syms_of_symbols):
12603 * symsinit.h (init_win32): New.
12604 Also new is syms_of_dialog_mswindows.
12607 Add new Unicode macros, missing Cygwin wide-char functions,
12608 convenience conversion macros for Qmswindows_tstr, macros for
12609 encapsulating required MSWin <-> Cygwin filename conversions,
12610 prototype for dynamically-extracted (not in NT 3.51) functions.
12615 * tooltalk.c (Fadd_tooltalk_message_arg):
12616 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12617 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12620 * tooltalk.c (syms_of_tooltalk):
12624 * unexnt.c (unexec):
12625 Fix up headers, declaration of unexec() to be more standard.
12627 2000-07-20 Martin Buchholz <martin@xemacs.org>
12629 * offix.h: Revert change to guard macros - they're used in offix.c!
12631 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12633 * lisp.h: Defsubred Fdelete.
12635 * console-msw.h: (msprinter_default_printer): Added.
12637 * console-msw.c (msprinter_canonicalize_console_connection):
12638 (msprinter_canonicalize_device_connection): Added.
12640 * device-msw.c (msprinter_default_printer):
12641 (Fmswingows_get_default_printer):
12642 (signal_enum_priner_error):
12643 (Fmswingows_printer_list): Added.
12645 2000-07-19 Martin Buchholz <martin@xemacs.org>
12647 * XEmacs 21.2.35 is released.
12649 2000-07-19 Martin Buchholz <martin@xemacs.org>
12651 * select-x.c (x_handle_selection_request):
12652 Text selected in xemacs and pasted into xterm failed to appear.
12653 Spelling fixes and cosmetic changes.
12655 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12657 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12658 XEmacs frame (fix for doubling chars in dialog boxes).
12660 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12662 * select.c (select_convert_in, select_convert_out):
12663 Don't call intern() every time.
12665 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12666 * select.c (vars_of_select): Initialise them.
12668 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12670 * select.c (selection-coercible-types): New.
12672 * select.c (own-selection-internal):
12673 * select.c (get-selection-internal):
12674 MULE bug fix - these should default to COMPOUND_TEXT and not
12675 STRING for MULE. I think.
12677 * select.c (select_convert_out): Use selection-coercible-types
12678 to find types that we can attempt to perform coercions on.
12680 2000-07-18 Martin Buchholz <martin@xemacs.org>
12684 Add coding: cookie to identify encoding.
12686 * mule-canna.c (CANNA_mode_keys): make static.
12687 Use proper prototypes, even for functions of no arguments.
12688 Remove external prototype for Fding().
12690 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12692 * select.c (syms_of_select): Add missing DEFSUBR.
12694 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12696 * select.c (get_selection_internal, own_selection_internal):
12697 Make the type default to STRING, rather than placing a nil type
12698 into Vselection_alist.
12700 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12702 * gpmevent.c (tty_selection_exists_p):
12703 * gpmevent.c (tty_own_selection):
12704 Updated parameter lists.
12706 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12708 * select.h (selection-alist): Removed declaration.
12710 * select.h (get_local_selection):
12711 * select.c (get_local_selection):
12714 * select.h (convert_selection): Removed declaration.
12715 * select.c (convert_selection): Removed.
12716 This function belongs in Lisp.
12718 * select.h (select_convert_in): Declare.
12719 * select.h (select_convert_out): Declare.
12720 * select.c (select_convert_in): New.
12721 * select.c (select_convert_out): New.
12722 New conversion functions for other files to call.
12724 * select.h (select_notify_buffer_kill): Declare.
12725 * select.c (select_notify_buffer_kill): New.
12726 New functions that get called from kill-buffer.
12728 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12729 X-specific lisp code.
12731 * select.h: Declare some of the lisp-visible functions for
12734 * select.c (clean_local_selection_data): Removed. This was
12735 a disgusting function, and previously should have been in
12736 select-x.c in any case. The functionality is now provided
12737 in select-convert-from-integer (select.el).
12739 * select.c (available-selection-types): Fixed stupidity where
12740 INTEGER and ATOM got added twice. Also add STRING when we see an
12743 * select.c (get-selection-internal): Removed symbol stripping. No
12744 longer causes conversion when data comes from the internal cache.
12746 * select.c (syms_of_select): Added new functions.
12748 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12749 error checking - previously this called abort!
12751 * select-x.c (x_own_selection): Changed comment.
12753 * select-x.c (x_handle_selection_request): Use select_convert_out.
12754 Don't mess with selection-alist; it's an internal variable of select.c.
12756 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12758 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12759 rather than messing with selection-alist.
12761 * select-msw.c (mswindows_get_foreign_selection):
12762 Use TO_INTERNAL_FORMAT rather than hacking.
12764 2000-07-14 Martin Buchholz <martin@xemacs.org>
12766 * process-unix.c (unix_open_multicast_group):
12767 (unix_open_multicast_group): Remove useless casts.
12769 2000-07-13 Martin Buchholz <martin@xemacs.org>
12771 * sound.c (Fplay_sound): Fix `unused variable' warning.
12773 * emacs.c (main): Use correct type for _environ on SCO5.
12775 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12777 * console.h (own_selection_method):
12778 * console.h (selection_exists_p_method):
12779 * console.h (available_selection_types_method): New.
12780 * console.h (register_selection_data_type_method): New.
12781 * console.h (selection_data_type_name): New.
12783 * console-msw.h (mswindows_destroy_selection): Declare it. New
12784 function & alist to track GlobalAlloc()'d handles that need
12785 releasing when the clipboard data gets replaced or emptied.
12787 * event-msw.c (mswindows_wnd_proc): Call it.
12789 * lisp.h, general.c (Qappend): New symbol representing a
12792 * select.c (own-selection-internal):
12793 * select.c (selection-exists-p):
12794 * select.c (available-selection-types): New.
12795 * select.c (register-selection-data-type): New.
12796 * select.c (selection-data-type-name): New. New functions to deal
12797 with device-specific selection data formats.
12798 * select.c (selection-converter-out-alist): Renamed.
12799 * select.c (selection-converter-in-alist): New.
12800 * select.c (selection-appender-alist): New. Added new alists.
12801 * select.c (syms_of_select, vars_of_select): Added new symbols &
12803 * select.c (get_local_selection): Split.
12804 * select.c: Removed spurious type checking - selections may now be
12805 of any type, not just strings.
12806 * select.c (own-selection-internal):
12808 * select.h, select.c (convert_selection): New. Created
12809 convert_selection() function based on get_local_selection().
12810 * select.h, select.c (QCF_*): New symbols representing mswindows
12812 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12813 symbols representing `how-to-add' modes.
12815 * select-msw.c (x_sym_p): New.
12816 * select-msw.c (symbol_to_ms_cf): New.
12817 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12818 symbols & clipboard formats. Can also handle string names.
12819 * select-msw.c (mswindows_own_selection):
12820 * select-msw.c (mswindows_selection_exists_p):
12821 Added `data-type' parameter. Use it.
12822 * select-msw.c (mswindows_available_selection_types): New.
12823 * select-msw.c (mswindows_register_selection_data_type): New.
12824 * select-msw.c (mswindows_selection_data_type_name): New.
12825 * select-msw.c (mswindows_own_selection):
12826 * select-msw.c (mswindows_get_foreign_selection):
12827 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12828 * select-msw.c (console_create_select_mswindows): Added new methods.
12829 * select-msw.c (mswindows_destroy_selection): New.
12830 * select-msw.c (Vhandle_alist): New list.
12831 * select-msw.c (mswindows_own_selection):
12833 * select-x.c (x_own_selection):
12834 * select-x.c (x_selection_exists_p):
12835 * select-x.c: Added some comments about maybe using new
12837 * select-x.c (x_own_selection):
12839 * specifier.c: Remove definition of Qappend (now in general.c)
12840 * specifier.c (syms_of_specifier): Remove Qappend.
12842 2000-07-12 Martin Buchholz <martin@xemacs.org>
12844 * config.h.in: Add socklen_t.
12846 * s/decosf4-0.h: No special compiler flags needed or desired.
12847 In particular, undefine _BSD for DEC OSF 4.0.
12849 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12851 * redisplay-msw.c (msprinter_frame_output_end): Added.
12852 (console_type_create_redisplay_mswindows): Referred the above.
12854 * frame.c (setup_frame_without_minibuffer): Do not create a
12855 default minibuffer frame on a printer device.
12857 * frame-msw.c (apply_dc_geometry): Added.
12858 (msprinter_start_page):
12859 (msprinter_init_frame_3):
12860 (msprinter_eject_page): Use it.
12862 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12863 and removed residual duplex and orientation properties.
12865 2000-07-11 Martin Buchholz <martin@xemacs.org>
12867 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12869 * unexalpha.c: Remove system prototypes from C sources!
12871 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12873 * eval.c: Remove references to M-x edit-options in DEFUNs for
12874 `defvar' and `defconst'.
12876 2000-07-09 Martin Buchholz <martin@xemacs.org>
12878 * config.h.in: Remove SMART_INCLUDE hackery.
12880 PostgreSQL hacking:
12881 * config.h.in: Don't use SMART_INCLUDE.
12883 * postgresql.h: Include libpq-fe.h here. Fix typo.
12884 * inline.c: Simply #include "postgresql.h"
12886 - Don't use SMART_INCLUDE
12887 - Use simply "const".
12888 - Use standard doc string conventions.
12889 - Use correct type for result of PQstatus.
12891 2000-07-09 Martin Buchholz <martin@xemacs.org>
12893 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12895 C++ compilation changes.
12896 * config.h.in (EXTERN_C): Define.
12897 * config.h.in (not): This is also a C++ keyword.
12898 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12899 * cm.c: Use EXTERN_C.
12900 * redisplay-tty.c: Use EXTERN_C.
12901 * sysdep.c: Use EXTERN_C. Remove Gould support.
12903 2000-07-09 Martin Buchholz <martin@xemacs.org>
12905 * general.c: Remove duplicate definition for Qfunction.
12907 2000-07-08 Ben Wing <ben@xemacs.org>
12909 * device-msw.c (msprinter_init_device):
12910 * device-msw.c (sync_printer_with_devmode):
12911 * device-msw.c (handle_devmode_changes):
12912 * device-msw.c (print_dialog_worker):
12913 * device-msw.c (Fmsprinter_apply_settings):
12914 * device-msw.c (hash_devmode):
12915 * device-msw.c (Fmsprinter_settings_despecialize):
12916 use Qmswindows_tstr, not Qctext.
12918 * vm-limit.c (check_memory_limits):
12919 avoid infinite loop printing warning messages.
12921 2000-07-05 Craig Lanning <lanning@scra.org>
12923 * Makefile.in.in: Add support for including the Windows resources
12924 when building with the cygwin and mingw targets.
12926 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12927 not set or not correct.
12928 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12929 (init_initial_directory): Don't try to use $PWD on the
12930 WIN32_NATIVE target.
12933 [[Add -mwindows to eliminate console window.]] not required --ben
12934 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12935 (MAIL_USE_POP): removed; now handled by configure.
12937 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12938 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12939 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12940 (MAIL_USE_POP): removed; now handled by configure.
12941 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12942 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12943 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12945 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12946 up from <winsock.h> via systime.h.
12947 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12948 (getpagesize): from Dan Holmsand, added.
12949 Added #endif which was left dangling by Ben's mega patch; added
12950 comment to help prevent this in the future.
12952 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12954 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12956 * console-msw.h (struct mswindows_device): Removed unnecessary
12957 cached device geometry values.
12958 Added update_tick and an accessor macro.
12959 (Lisp_Devmode): Added lrecord declaration.
12960 (struct msprinter_device): Contain devmode as a Lisp object.
12961 Added mswindows_get_selected_frame_hwnd();
12963 * console.h (struct console_methods): Indentation nitpicking.
12965 * device-msw.c (mswindows_init_device): Do not initialize geometry
12966 cache. Initialize update tick.
12967 (mswindows_device_system_metrics): Ask the device for its geometry.
12968 (global_free_2_maybe):
12969 (devmode_to_hglobal):
12970 (handle_printer_changes):
12971 (ensure_not_printing):
12972 (print_dialog_worker):
12973 (Fmsprinter_print_setup_dialog):
12974 (Fmsprinter_print_dialog):
12975 (plist_get_margin):
12976 (plist_set_margin):
12977 (Fmsprinter_page_setup_dialog): Added functions.
12978 (sync_printer_with_devmode):
12979 (handle_devmode_changes):
12980 (Fmsprinter_get_settings):
12981 (Fmsprinter_select_settings):
12982 (Fmsprinter_apply_settings):
12983 (allocate_devmode):
12984 (Fmsprinter_settings_copy):
12985 (Fmsprinter_settings_despecialize):
12987 (finalize_devmode):
12989 (hash_devmode): Added functions
12990 (syms_of_device_mswindows): Init devmode lrecord class.
12992 * device.h: Added an exfun for find-device.
12994 * event-msw.c (mswindows_wnd_proc): Do not update the cached
12995 geometry; although, recreate the device compatible DC.
12997 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
12998 (msprinter_init_frame_3):
12999 (msprinter_frame_property):
13000 (msprinter_internal_frame_property_p):
13001 (msprinter_frame_properties):
13002 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13003 print job properties (will move to device settings).
13005 * lisp.h: Added symbols.
13007 * general.c (syms_of_general): Declared them.
13009 * hash.c (string_hash): Added.
13011 * lrecord.h (lrecord_type): Added devmode lrecord type.
13013 2000-07-02 Mike Sperber <mike@xemacs.org>
13015 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13018 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13020 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13023 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13025 * data.c (Fstring_to_number): Don't recognize floating point if
13028 2000-06-22 Martin Buchholz <martin@xemacs.org>
13030 * glyphs-widget.c (tab_control_query_geometry):
13031 (widget_query_geometry):
13032 (button_query_geometry):
13033 * glyphs.c (text_query_geometry):
13034 Enforce type correctness.
13036 2000-06-18 Martin Buchholz <martin@xemacs.org>
13038 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13039 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13041 2000-06-17 Martin Buchholz <martin@xemacs.org>
13043 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13044 conflicts with gcc's fixincluded version of FOO.h.
13046 * glyphs.h (image_instance_geometry): Remove trailing `,'
13048 2000-06-08 Mike Alexander <mta@arbortext.com>
13050 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13051 (shove_thread): Don't write the same output twice
13052 (make_ntpipe_output_stream): Increase priority of shove thread
13053 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13055 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13058 2000-06-12 Ben Wing <ben@xemacs.org>
13060 * s\mingw32.h (sigset):
13061 * s\windowsnt.h (sigset):
13062 rename msw_ to mswindows_ for consistency with general convention.
13064 2000-06-12 Ben Wing <ben@xemacs.org>
13067 * console-msw.c (mswindows_get_console_hwnd):
13068 * console-msw.c (mswindows_ensure_console_allocated):
13069 * console-msw.c (mswindows_hide_console):
13070 * console-msw.c (mswindows_show_console):
13071 * console-msw.c (mswindows_ensure_console_buffered):
13072 * console-msw.c (mswindows_output_console_string):
13073 * console-msw.c (mswindows_windows9x_p):
13075 * device-msw.c (mswindows_get_workspace_coords):
13076 * device-msw.c (mswindows_device_system_metrics):
13077 * dialog-msw.c (mswindows_popup_dialog_box):
13078 * event-msw.c (mswindows_wnd_proc):
13079 * frame-msw.c (mswindows_size_frame_internal):
13080 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13081 * menubar-msw.c (displayable_menu_item):
13082 * menubar-msw.c (mswindows_char_is_accelerator):
13084 * nt.c (mswindows_sigset):
13085 * nt.c (mswindows_sigrelse):
13086 * nt.c (mswindows_sigpause):
13087 * nt.c (mswindows_raise):
13088 * nt.c (timer_proc):
13090 * ntproc.c (find_child_console):
13091 * ntproc.c (sys_kill):
13093 * print.c (std_handle_out_external):
13094 * process-nt.c (find_child_console):
13095 * process-nt.c (send_signal_the_95_way):
13096 * process-nt.c (ensure_console_window_exists):
13097 * process-nt.c (nt_create_process):
13099 rename msw_ to mswindows_ for consistency with general convention.
13103 include nt.h, not syswindows.h.
13105 * nt.c (mswindows_fstat):
13106 * nt.c (mswindows_stat):
13107 prefix mswindows_ instead of attempting to directly override the
13108 library functions. fix declarations.
13111 include syswindows.h. move some sysdep.h stuff here.
13114 include syswindows.h, not <windows.h>.
13122 * sysdep.c (sys_fstat):
13123 * sysdep.c (sys_stat):
13124 call mswindows versions when appropriate.
13127 move mswin decls to nt.h.
13130 add long comment describing appropriate use of the various windows
13133 2000-06-11 Ben Wing <ben@xemacs.org>
13135 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13137 2000-06-10 Ben Wing <ben@xemacs.org>
13139 * Makefile.in.in (release):
13140 Correction to make sure xemacs.exe always dumped when correct.
13144 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13146 * buffer.c (set_buffer_internal):
13147 [[[[2]]]]: Remove HAVE_FEP code.
13149 * buffer.c (init_initial_directory):
13153 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13157 * callproc.c (call_process_cleanup):
13158 * callproc.c (Fold_call_process_internal):
13159 * callproc.c (child_setup):
13160 * callproc.c (getenv_internal):
13161 * callproc.c (init_callproc):
13162 * callproc.c (vars_of_callproc):
13163 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13164 __CYGWIN32__ -> CYGWIN.
13165 DOS_NT -> WIN32_NATIVE.
13166 Remove MSDOS support/references, converting to WIN32_NATIVE
13168 __MINGW32__ -> MINGW.
13169 Fix windows.h includes.
13170 Remove bogus HAVE_NTGUI.
13176 mswindows_message_outputted added for use in allowing startup
13177 errors on the console to be seen.
13179 * console-msw.c (msw_ensure_console_allocated):
13180 * console-msw.c (msw_output_console_string):
13181 * console-msw.c (DHEADER):
13182 * console-msw.c (DOPAQUE_DATA):
13183 * console-msw.c (DEVENT):
13184 * console-msw.c (DCONS):
13185 * console-msw.c (DCONSCDR):
13186 * console-msw.c (DSTRING):
13187 * console-msw.c (DVECTOR):
13188 * console-msw.c (DSYMBOL):
13189 * console-msw.c (DSYMNAME):
13192 * console-stream.c (stream_init_console):
13193 Fix text/binary problems.
13196 * device-msw.c (mswindows_finish_init_device):
13197 * device-msw.c (mswindows_delete_device):
13200 * device.c (handle_asynch_device_change):
13204 * dgif_lib.c (DGifOpenFileName):
13205 * dgif_lib.c (DGifOpenFileHandle):
13206 * dgif_lib.c (DGifGetLine):
13207 * dgif_lib.c (DGifGetPixel):
13208 Added config.h/lisp.h, fix up includes.
13215 * dired.c (file_name_completion):
13216 * dired.c (Ffile_attributes):
13217 * dired.c (syms_of_dired):
13221 * dumper.c (pdump_file_unmap):
13222 * dumper.c (pdump_load):
13226 * editfns.c (Ftemp_directory):
13227 * editfns.c (user_login_name):
13228 * editfns.c (Fuser_real_login_name):
13229 * editfns.c (get_home_directory):
13232 * elhash.c (finish_marking_weak_hash_tables):
13233 [[[[5]]]]: Fix GCC warnings.
13236 * emacs.c (mswindows_handle_hardware_exceptions):
13237 * emacs.c (make_arg_list_1):
13238 * emacs.c (main_1):
13239 * emacs.c (Fkill_emacs):
13240 * emacs.c (Fdump_emacs):
13242 Fix problems with nested crashes, add long comment.
13244 * event-Xt.c (init_event_Xt_late):
13248 * event-msw.c (mswindows_dde_callback):
13249 * event-msw.c (mswindows_handle_sticky_modifiers):
13250 * event-msw.c (mswindows_wnd_proc):
13254 * events.c (character_to_event):
13258 * fileio.c (Ffile_name_directory):
13259 * fileio.c (Ffile_name_nondirectory):
13260 * fileio.c (directory_file_name):
13261 * fileio.c (Fexpand_file_name):
13262 * fileio.c (Fsubstitute_in_file_name):
13263 * fileio.c (Ffile_name_absolute_p):
13264 * fileio.c (check_executable):
13265 * fileio.c (Ffile_readable_p):
13266 * fileio.c (Ffile_accessible_directory_p):
13267 * fileio.c (Ffile_modes):
13268 * fileio.c (Funix_sync):
13269 * fileio.c (vars_of_fileio):
13272 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13274 Expand getdefdir defn.
13275 Fix bogus rename() comment.
13277 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13278 to use standard XEmacs include files, e.g. sysfile.h, rather
13279 than system-specific includes.
13285 * frame.c (vars_of_frame):
13289 * getloadavg.c (getloadavg):
13291 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13292 (We don't use it elsewhere in the code; just add a comment.)
13299 * glyphs-msw.c (mswindows_resource_instantiate):
13302 * glyphs-x.c (x_native_layout_instantiate):
13305 * gui-msw.c (Fmswindows_shell_execute):
13314 * lread.c (locate_file_in_directory_mapper):
13321 * mem-limits.h (get_lim_data):
13333 * nt.c (rva_to_section):
13334 * nt.c (mswindows_executable_type):
13336 Fix closedir() defn.
13339 [[[[8]]]]: *_OK defs moved to sysfile.h.
13348 * print.c (std_handle_out_external):
13352 * process-nt.c (nt_create_process):
13354 try to fix process quoting somewhat.
13356 * process-unix.c (unix_create_process):
13360 * process.c (vars_of_process):
13367 * realpath.c (xrealpath):
13370 * redisplay-tty.c (init_tty_for_redisplay):
13380 * sheap.c (more_static_core):
13381 * sheap.c (report_sheap_usage):
13385 * signal.c (alarm_signal):
13392 * strftime.c (zone_name):
13395 * symsinit.h (init_sunpro):
13399 commctrl.h not in Cygwin b20.1.
13402 * sysdep.c (endif):
13403 * sysdep.c (sys_subshell):
13404 * sysdep.c (init_baud_rate):
13405 * sysdep.c (emacs_get_tty):
13406 * sysdep.c (emacs_set_tty):
13407 * sysdep.c (tty_init_sys_modes_on_device):
13408 * sysdep.c (init_system_name):
13409 * sysdep.c (sys_open):
13410 * sysdep.c (interruptible_open):
13411 * sysdep.c (sys_fopen):
13412 * sysdep.c (sys_mkdir):
13413 * sysdep.c (sys_rename):
13414 * sysdep.c (get_process_times_1):
13421 * sysdir.h (DIRENTRY_NONEMPTY):
13424 * sysdll.c (dll_init):
13430 added text/binary defs.
13436 * sysproc.h (EDESTADDRREQ):
13437 * sysproc.h (poll_fds_for_input):
13454 Always define WIN32_LEAN_AND_MEAN.
13456 * unexcw.c (unexec):
13460 * unexec.c (copy_text_and_data):
13461 * unexec.c (adjust_lnnoptrs):
13465 * unexnt.c (_start):
13468 2000-06-07 Ben Wing <ben@xemacs.org>
13470 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13471 was used only as a model. We've long since extracted any useful
13472 logic or code out of this. (I just did an exhaustive search.)
13474 * s\msdos.h: Removed.
13476 * s\windows95.h: Removed.
13478 2000-06-10 Ben Wing <ben@xemacs.org>
13482 Don't use extern with fun defs.
13486 Remove nt\inc include.
13487 Remove getdisk, getdefdir. (The former is unused, the latter
13488 expanded in fileio.h.)
13491 * s\windowsnt.h (WIN32_NATIVE):
13492 * s\windowsnt.h (HAVE_STRCASECMP):
13494 Add long comment about preprocessor changes.
13495 Remove getdisk, getdefdir. (The former is unused, the latter
13496 expanded in fileio.h.)
13498 2000-06-10 Ben Wing <ben@xemacs.org>
13507 Remove bogus/unused NO_SOCK_SIGIO.
13509 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13511 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13514 2000-06-04 Mike Sperber <mike@xemacs.org>
13516 * casetab.c (set_case_table): For `set-standard-case-table',
13517 actually deposit the new case tables where the rest of XEmacs can
13520 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13522 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13524 2000-06-05 Ben Wing <ben@xemacs.org>
13526 * callproc.c (child_setup): Don't do close_load_descs() under
13527 MS Windows. Put in a comment explaining why.
13529 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13531 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13532 Toolkit shell" which breaks `kill-compilation' on Windows NT
13533 native, retaining STDERR handling improvements.
13535 2000-06-01 Andreas Jaeger <aj@suse.de>
13537 * s/s390.h: Support for S390, based on a patch by Martin
13538 Schwidefsky <schwidefsky@de.ibm.com>.
13540 2000-05-30 Andy Piper <andy@xemacs.org>
13542 * window.c (allocate_window):
13543 (make_dummy_parent):
13544 (Fset_window_configuration): use new hashtable type.
13546 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13547 (struct image_instantiator_methods):
13548 (struct Lisp_Image_Instance): make instance geometry signed.
13550 * glyphs.c (instantiate_image_instantiator):
13551 (image_instance_query_geometry):
13552 (image_instance_layout):
13553 (image_instance_layout):
13554 (query_string_geometry):
13555 (text_query_geometry):
13556 (image_instantiate):
13557 (image_instantiate):
13558 (cache_subwindow_instance_in_frame_maybe):
13559 (subwindow_query_geometry): make instance geometry signed.
13561 * glyphs-widget.c (widget_query_geometry):
13563 (button_query_geometry):
13564 (tree_view_query_geometry):
13565 (tab_control_query_geometry):
13566 (layout_query_geometry):
13568 (native_layout_layout): make instance geometry signed.
13570 2000-05-29 Olivier Galibert <galibert@pobox.com>
13572 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13575 * general.c (syms_of_general): Add Qfull_assoc symbol.
13577 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13579 (decode_weak_list_type): Decode full-assoc type.
13580 (encode_weak_list_type): Encode full-assoc type.
13581 (Fmake_weak_list): Update doc string.
13583 2000-05-30 Andy Piper <andy@xemacs.org>
13585 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13587 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13588 (decode_hash_table_weakness): ditto.
13589 (Fhash_table_weakness): ditto.
13590 (Fhash_table_type): ditto.
13591 (finish_marking_weak_hash_tables): ditto.
13592 (hash_table_weakness_validate): ditto.
13593 (syms_of_elhash): ditto.
13595 2000-05-28 Martin Buchholz <martin@xemacs.org>
13597 * XEmacs 21.2.34 is released.
13599 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13601 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13603 (updating_line_start_cache): Gone.
13604 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13605 generic code to force a minimum of 1 line laid out in the
13608 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13610 * glyphs.c (instantiate_image_instantiator): Check for initialized
13611 height & width no longer special cases IMAGE_NOTHING.
13612 (nothing_instantiate): Set height and width of instance.
13614 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13616 * unexelf.c (unexec): Search for ".data" section.
13617 Initialize new_data2_offset from old_data_index.
13618 Remove redundant check for ElfW.
13620 2000-05-23 Andy Piper <andy@xemacs.org>
13622 * glyphs.c (get_image_instantiator_governing_domain): allow more
13623 specific domains as the governing domain rather than expecting an
13624 exact match. This fixes problems with layouts.
13626 2000-05-22 Andy Piper <andy@xemacs.org>
13628 * redisplay-output.c (compare_runes): check for non-images
13630 * glyphs.c (set_glyph_dirty_p): ditto.
13631 (update_glyph_cachel_data): ditto.
13633 * glyphs-widget.c (layout_post_instantiate): ditto.
13634 (layout_post_instantiate): ditto.
13636 * event-msw.c (mswindows_wnd_proc): warning removal.
13638 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13640 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13642 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13644 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13646 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13647 (mswindows_executable_type): mingw32 now has enough headers for
13650 2000-05-20 Andy Piper <andy@xemacs.org>
13652 * console-msw.c (mswindows_output_last_error): ; -> ,
13654 2000-05-12 Andy Piper <andy@xemacs.org>
13656 * console-msw.c (FROB): compare ints with ints.
13658 2000-05-11 Andy Piper <andy@xemacs.org>
13660 * glyphs-x.c (x_finalize_image_instance): make minimal build
13663 2000-05-20 Ben Wing <ben@xemacs.org>
13666 * event-Xt.c (vars_of_event_Xt):
13667 move modifier-keys-are-sticky to event-stream.c.
13670 * event-msw.c (mswindows_enqueue_mouse_button_event):
13671 * event-msw.c (key_needs_default_processing_p):
13672 * event-msw.c (XEMSW_LCONTROL):
13673 * event-msw.c (mswindows_handle_sticky_modifiers):
13674 * event-msw.c (FROB):
13675 * event-msw.c (clear_sticky_modifiers):
13676 * event-msw.c (output_modifier_keyboard_state):
13677 * event-msw.c (output_alt_keyboard_state):
13678 * event-msw.c (mswindows_wnd_proc):
13679 * event-msw.c (mswindows_modifier_state):
13680 * event-msw.c (emacs_mswindows_handle_magic_event):
13681 implement sticky modifiers.
13684 * event-stream.c (vars_of_event_stream):
13685 move modifier-keys-are-sticky here.
13688 add CHECK_FUNCTION.
13691 implement map-range-table.
13694 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13696 * redisplay-tty.c (reset_tty_modes):
13697 (tty_redisplay_shutdown): Adjust argument type to
13698 tty_frame_output_end.
13700 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13702 * eval.c (Fbacktrace): Don't output a line with only right
13705 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13707 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13708 (Fpq_reset_poll): Ditto.
13710 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13712 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13714 2000-05-16 Ben Wing <ben@xemacs.org>
13717 * buffer.c (dfc_convert_to/from_internal_format):
13718 * buffer.c (reinit_vars_of_buffer):
13719 Fix conversion functions to allow reentrancy.
13722 * console-msw.c (mswindows_output_last_error):
13723 New fun, generally useful -- output a human-readable
13724 version of GetLastError() on the console.
13727 * console-msw.h (struct mswindows_frame):
13728 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13730 * console-stream.c (stream_output_begin):
13731 * console-stream.c (stream_output_end):
13732 * console-stream.c (stream_output_vertical_divider):
13733 * console-stream.c (stream_clear_region):
13734 * console-stream.c (stream_flash):
13735 * console-stream.c (console_type_create_stream):
13736 Delete blank stream methods, not needed.
13738 * console.h (struct console_methods):
13739 Split begin/end methods into window and frame.
13742 * event-msw.c (mswindows_handle_paint):
13743 * event-msw.c (output_alt_keyboard_state):
13744 * event-msw.c (mswindows_wnd_proc):
13745 * event-msw.c (vars_of_event_mswindows):
13746 Comment about problems with ignored-expose.
13747 Define mswindows-debug-events; not really implemented.
13749 * frame-msw.c (mswindows_init_frame_1):
13753 * glyphs-msw.c (begin_defer_window_pos):
13754 * glyphs-msw.c (mswindows_unmap_subwindow):
13755 * glyphs-msw.c (mswindows_map_subwindow):
13756 * glyphs-msw.c (mswindows_resize_subwindow):
13757 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13759 * glyphs.c (make_image_instance_1):
13762 * gutter.c (Fredisplay_gutter_area):
13763 Use new begin/end methods.
13765 * lisp.h (Dynarr_new2):
13769 * redisplay-msw.c (mswindows_frame_output_begin):
13770 * redisplay-msw.c (mswindows_frame_output_end):
13771 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13772 New begin/end methods -- handle DeferWindowPos.
13774 * redisplay-output.c (redisplay_move_cursor):
13775 * redisplay-output.c (redraw_cursor_in_window):
13776 * redisplay-output.c (redisplay_update_line):
13777 * redisplay-output.c (redisplay_output_window):
13778 New begin/end methods.
13781 * redisplay-tty.c (tty_frame_output_begin):
13782 * redisplay-tty.c (tty_frame_output_end):
13783 * redisplay-tty.c (console_type_create_redisplay_tty):
13784 New begin/end methods.
13787 * redisplay-x.c (x_window_output_begin):
13788 * redisplay-x.c (x_window_output_end):
13789 * redisplay-x.c (console_type_create_redisplay_x):
13790 New begin/end methods.
13792 * redisplay.c (redisplay_frame):
13793 * redisplay.c (Fredisplay_echo_area):
13794 New begin/end methods.
13795 use MAYBE_DEVMETH for clear_frame; it may not exist.
13797 * window.h (WINDOW_XFRAME):
13798 WINDOW_XFOO macros -- get locale and decode struct pointer.
13801 2000-05-12 Ben Wing <ben@xemacs.org>
13804 * emacs.c (ensure_no_quitting_from_now_on):
13805 * emacs.c (fatal_error_signal):
13806 * emacs.c (mswindows_handle_hardware_exceptions):
13808 * emacs.c (Fkill_emacs):
13809 * emacs.c (shut_down_emacs):
13810 * emacs.c (assert_failed):
13811 various improvements in fatal error handling.
13814 move preparing_for_armageddon to emacs.c.
13817 declare fatal_error_in_progress.
13820 * print.c (std_handle_out_external):
13821 * print.c (std_handle_out_va):
13822 * print.c (stderr_out):
13823 * print.c (stdout_out):
13824 use console under mswin when no standard output.
13825 don't do code conversion during fatal error.
13827 * scrollbar.c (Fscrollbar_page_up):
13828 * scrollbar.c (Fscrollbar_page_down):
13829 fix missing else. reindent.
13831 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13835 * glyphs.h (GLYPH_CACHEL_DESCENT):
13836 (GLYPH_CACHEL_DESCENT):
13837 (GLYPH_CACHEL_DESCENT):
13838 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13839 used in case these are inline functions.
13840 Use more absurd values to error check.
13842 include window.h for error check functions.
13844 2000-05-11 Ben Wing <ben@xemacs.org>
13846 * cmdloop.c (Freally_early_error_handler):
13847 Display message box under windows; otherwise, message will disappear
13848 before it can be viewed.
13851 * console-msw.c (Fmswindows_message_box):
13852 * console-msw.c (FROB):
13853 * console-msw.c (syms_of_console_mswindows):
13854 Define new fun `mswindows-message-box'.
13855 #### I will merge this into `popup-dialog-box'; just give me
13859 * general.c (syms_of_general):
13860 Some new symbols used in `mswindows-message-box'.
13863 * glyphs.c (Fset_image_instance_property):
13864 put warning in this fun.
13867 * glyphs.h (GLYPH_CACHEL_WIDTH):
13868 * glyphs.h (GLYPH_CACHEL_ASCENT):
13869 * glyphs.h (GLYPH_CACHEL):
13870 * glyphs.h (GLYPH_CACHEL_GLYPH):
13871 define error-checking versions to try to catch a bug i've seen --
13872 redisplay gets in an infinite loop because the glyph width of the
13873 continuation glyph is 65535.
13876 Extern message-box stuff.
13878 * window.c (allocate_window):
13879 * window.c (make_dummy_parent):
13880 * window.c (Fset_window_configuration):
13881 Use EQUAL not EQ for subwindow caches to make them work a bit
13882 better. (Something is still very broken.)
13885 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13887 * glyphs.c (image_instantiate): Suppress gcc warnings.
13888 (Fmake_image_instance): Fix doc string.
13889 * specifier.c (Fmake_specifier): Ditto.
13891 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13893 * paths.h.in (PATH_LOCK): Removed.
13894 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13895 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13897 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13899 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13900 Document (featurep '(and xemacs 21.02)).
13902 2000-05-09 Ben Wing <ben@xemacs.org>
13904 * buffer.c (complex_vars_of_buffer):
13905 update modeline-format doc.
13908 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13911 timeline of all released versions of Emacs, for use in creating
13912 authorship comments and in synching up.
13914 * glyphs-widget.c (image_instantiator_buttons):
13915 * glyphs-widget.c (image_instantiator_edit_fields):
13916 * glyphs-widget.c (image_instantiator_combo_box):
13917 * glyphs-widget.c (image_instantiator_scrollbar):
13918 * glyphs-widget.c (image_instantiator_progress_guage):
13919 * glyphs-widget.c (image_instantiator_tree_view):
13920 * glyphs-widget.c (image_instantiator_tab_control):
13921 * glyphs-widget.c (image_instantiator_labels):
13922 * glyphs-widget.c (image_instantiator_layout):
13923 * glyphs-widget.c (image_instantiator_native_layout):
13924 rename decode_domain method to governing_domain.
13927 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13928 * glyphs.c (add_entry_to_device_ii_format_list):
13929 make sure we don't put an entry more than once into the list.
13930 * glyphs.c (check_instance_cache_mapper):
13931 *************************************************************
13932 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13934 *************************************************************
13935 * glyphs.c (get_image_instantiator_governing_domain):
13936 clean up, expand on new concept of governing domain.
13937 * glyphs.c (instantiate_image_instantiator):
13938 * glyphs.c (allocate_image_instance):
13939 use governing_domain instead of cache_domain in naming.
13940 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13941 * glyphs.c (make_image_instance_1):
13942 * glyphs.c (Fmake_image_instance):
13943 allow for any domain (not just device), and process the
13944 governing domain correctly. very big doc fix.
13945 * glyphs.c (Fimage_instance_domain):
13946 new primitive, to retrieve the governing domain of an image instance.
13947 * glyphs.c (image_instantiate):
13948 use new governing_domain stuff. this fixes a crash you could get
13949 by instantiating certain widget glyphs in frame locales. (should
13950 signal an error instead of crashing.)
13951 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13952 * glyphs.c (Fglyphp): clean up doc.
13953 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13954 * glyphs.c (syms_of_glyphs):
13955 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13956 * glyphs.c (image_instantiator_format_create): add some comments about
13958 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13959 for current-display-table. (Apparently Hrjove implemented in 1998 a
13960 design I wrote up in 1996, but didn't update the doc string.)
13962 * glyphs.h: clean up a doc string.
13963 * glyphs.h (governing_domain):
13964 * glyphs.h (struct image_instantiator_methods):
13965 changes for governing_domain stuff.
13968 * gutter.c (Fgutter_specifier_p):
13969 * gutter.c (Fgutter_size_specifier_p):
13970 * gutter.c (Fgutter_visible_specifier_p):
13972 * objects.c (Fcolor_specifier_p):
13973 * objects.c (Ffont_specifier_p):
13974 * objects.c (Fface_boolean_specifier_p):
13975 doc strings moved to make-*-specifier.
13977 * redisplay.c (add_disp_table_entry_runes_1):
13978 * redisplay.c (generate_fstring_runes):
13979 * redisplay.c (screen):
13980 add random comments and doc strings.
13983 * specifier.c (Fmake_specifier):
13984 major overhaul of this doc string.
13986 * specifier.c (Fvalid_specifier_domain_p):
13987 comment about the bogosity of image instances being domains.
13988 * specifier.c (decode_domain):
13989 now non-static, used in glyphs.c.
13990 * specifier.c (specifier_instance):
13991 comment about the bogosity of image instances being domains.
13992 * specifier.c (Fgeneric_specifier_p):
13993 move doc string to make-generic-specifier.
13994 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
13998 * specifier.h (DOMAIN_FRAME):
13999 * specifier.h (DOMAIN_LIVE_P):
14000 * specifier.h (DOMAIN_XDEVICE):
14002 add comments about problems with these macros.
14003 prototype for decode_domain.
14006 * toolbar.c (Ftoolbar_specifier_p):
14007 move doc string to `make-toolbar-specifier'.
14009 * window.c (window_unmap_subwindows_cache_mapper):
14010 *************************************************************
14011 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14013 *************************************************************
14015 2000-05-09 Andy Piper <andy@xemacs.org>
14017 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14019 * window.c (Fset_window_configuration): reset the frame subwindow
14020 cache and re-initialize the window subwindow caches.
14022 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14024 2000-05-09 Ben Wing <ben@xemacs.org>
14026 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14029 2000-04-26 Mike Woolley <mike@bulsara.com>
14031 * ntheap.c: Changed recreate_heap to limit the amount reserved
14032 for the heap to that which is actually available. Also now
14033 displays a message box (with some dignostics) in the event that
14034 it still can't start.
14036 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14038 * callproc.c (Fold_call_process_internal): GCPRO path
14040 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14042 Patch by Bill Perry.
14044 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14045 back data instead of #ifdef.
14046 (Fscrollbar_page_down): ditto.
14048 2000-05-07 Ben Wing <ben@xemacs.org>
14051 Kludge for defining Qmswindows_tstr.
14054 * nt.c (open_input_file):
14055 * nt.c (open_output_file):
14056 * nt.c (rva_to_section):
14057 * nt.c (mswindows_executable_type):
14058 Move all memory-mapped-file routines here (some were in unexnt.c,
14059 which is bad because they are used by process-nt.c, and unexnt
14060 won't be around when portable dumping). Synched the above routines
14064 Removed ifdef'd out bogus code.
14065 Fixed some prototypes.
14067 * nt.h (file_data):
14068 * nt.h (OFFSET_TO_RVA):
14069 * nt.h (RVA_TO_OFFSET):
14070 * nt.h (RVA_TO_PTR):
14071 Moved the memory-mapped-file structures, macros and prototypes
14072 here, to parallel nt.c. ntheap.h should really be removed
14073 entirely, and it's a non-portable-dumper specific file.
14075 * ntheap.h (round_to_next):
14076 Moved the memory-mapped-file structures, macros and prototypes
14079 * ntproc.c (compare_env):
14080 Moved rva_to_section and mswindows_executable_type to nt.c.
14081 Moved compare_env to process-nt.c.
14082 ntproc.c will die, one day.
14084 * ntproc.c (sys_spawnve):
14085 Account for win32_ -> mswindows_.
14088 * process-nt.c (struct nt_process_data):
14089 * process-nt.c (ensure_console_window_exists):
14090 * process-nt.c (compare_env):
14091 * process-nt.c (nt_create_process):
14092 * process-nt.c (nt_kill_process_by_pid):
14093 * process-nt.c (syms_of_process_nt):
14094 * process-nt.c (vars_of_process_nt):
14095 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14096 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14097 changes). Eliminate our old `nt-quote-process-args' mechanism.
14098 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14099 Move compare_env here from ntproc.c.
14101 * process.c (Fprocess_send_region):
14102 Takes an optional fourth argument, BUFFER, which should fix some
14103 problems with call-process.
14106 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14109 Move ICC_BAR_CLASSES to syscommctrl.h.
14110 Add preliminary macros for MSWindows/Mule. More to come.
14113 * unexnt.c (unexec):
14114 open_output_file moved to nt.c.
14117 2000-05-05 Andy Piper <andy@xemacs.org>
14119 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14120 instance from the frame cache also since GC may catch up too late
14121 to make frame deletion sane.
14123 2000-05-04 Andy Piper <andy@xemacs.org>
14125 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14126 (x_finalize_image_instance): ungcpro on deletion.
14128 * glyphs.c (image_instantiator_format_create): give pointers a
14129 query geometry method so that the geometry is at least set.
14131 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14132 initialize layouts if using widgets.
14134 2000-05-03 Andy Piper <andy@xemacs.org>
14136 * nt.c: remove bogus reference to sysmmsystem.h
14138 * gui-x.c (popup_selection_callback): fix no selection abort.
14140 2000-05-02 Andy Piper <andy@xemacs.org>
14142 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14143 (mswindows_widget_instantiate): ditto.
14145 * glyphs-widget.c (initialize_widget_image_instance): initialize
14146 children correctly.
14147 (widget_instantiate): cope with children and items in the same
14150 * glyphs.c (mark_image_instance): cope with children as a first
14152 (image_instance_equal): ditto.
14153 (image_instance_hash): ditto.
14154 (image_instance_changed): ditto.
14156 2000-04-30 Andy Piper <andy@xemacs.org>
14158 * glyphs.c (subwindow_query_geometry): new function. Return some
14160 (subwindow_instantiate): don't assign dimensions if none have been
14162 (image_instantiator_format_create): add subwindow_query_geometry.
14163 (print_image_instance): cope with layouts as widgets.
14165 2000-04-29 Andy Piper <andy@xemacs.org>
14167 * frame.c (delete_frame_internal): call
14168 free_frame_subwindow_instance_cache so that all subwindows are
14169 finalized before their parent.
14170 (mark_frame): remove subwindow_cachels.
14171 (Fmake_frame): remove subwindow_cachel manipulation.
14172 (allocate_frame_core): subwindow_instance_cache is a weak list.
14173 (delete_frame_internal): set subwindow_instance_cache to nil.
14175 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14177 (mswindows_finalize_image_instance): use the device
14178 not the domain as the domain may have died already.
14180 * glyphs-x.c (x_finalize_image_instance): ditto.
14181 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14184 * redisplay-output.c (redisplay_unmap_subwindows): update for
14185 subwindow instance cache as a weak list.
14186 (redisplay_unmap_subwindows_maybe): ditto.
14187 (redisplay_unmap_subwindows_except_us): ditto.
14189 * glyphs.c (unmap_subwindow): error checking will check the domain
14190 so don't deal with it here. Don't use cachels anymore.
14191 (map_subwindow): ditto.
14192 (update_subwindow_cachel_data): remove old accessor names.
14193 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14194 (Fresize_subwindow): don't update cachel.
14195 (mark_subwindow_cachels):
14196 (update_subwindow_cachel_data):
14197 (add_subwindow_cachel):
14198 (get_subwindow_cachel_index):
14199 (update_subwindow_cachel):
14200 (reset_subwindow_cachels):
14201 (mark_subwindow_cachels_as_not_updated): deleted.
14202 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14203 subwindow instance to the frame cache.
14204 (find_matching_subwindow): update for subwindow instance cache as
14206 (update_widget_instances): ditto.
14207 (image_instance_type_to_mask):inlined.
14208 (free_frame_subwindow_instance_cache): new function. finalize all
14209 subwindows that are instantiated.
14211 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14212 of cachel information.
14213 (IMAGE_INSTANCE_DISPLAY_X):
14214 (IMAGE_INSTANCE_DISPLAY_Y):
14215 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14216 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14217 (XIMAGE_INSTANCE_DISPLAY_X):
14218 (XIMAGE_INSTANCE_DISPLAY_Y):
14219 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14220 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14221 remove subwindow_cachel structure and function references.
14222 (image_instance_type_to_mask): inline from glyphs.c
14224 * redisplay.c (redisplay_frame): remove subwindow_cachel
14227 * frame.h (struct frame): remove subwindow_cachels.
14228 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14230 * frameslots.h: add subwindow_instance_cache.
14232 * window.c (replace_window): check subwindow cache of replacement.
14233 (window_unmap_subwindows_cache_mapper):
14234 (window_unmap_subwindows): new functions. Unmap all subwindows
14235 cached on this window.
14236 (mark_window_as_deleted): unmap all subwindows.
14238 2000-04-27 Andy Piper <andy@xemacs.org>
14240 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14242 * glyphs-widget.c (widget_layout): return something.
14243 (layout_layout): return something. Fail if not initialized.
14244 (layout_query_geometry): ditto.
14245 (image_instantiator_native_layout): new function. Initialized the
14246 native layout type.
14247 (widget_instantiate): don't do layout stuff here.
14249 * glyphs.c (instantiate_image_instantiator): reorded calling or
14250 instantiate and post_instantiate with layout in between.
14251 (image_instance_layout): be more selective about deciding whether
14252 the layout has been done or not.
14254 * glyphs.h (struct image_instantiator_methods): return a value
14255 from layout_method.
14257 2000-04-26 Andy Piper <andy@xemacs.org>
14259 * glyphs.c (allocate_image_instance): make initial width and
14260 height unspecified. Set initialized to 0.
14262 * syscommctrl.h new file. Encapsulates commctrl.h.
14264 * syswindows.h new file. Encapsulates windows.h.
14266 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14268 * console-msw.h: ditto.
14270 * redisplay-tty.c (tty_output_display_block): remove layout references.
14272 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14273 window handle rather than just the frame.
14275 * glyphs.c (mark_image_instance): remove layout references.
14276 (print_image_instance): ditto.
14277 (image_instance_equal): ditto.
14278 (image_instance_hash): ditto.
14279 (decode_image_instance_type): ditto.
14280 (encode_image_instance_type): ditto.
14281 (image_instantiate): ditto.
14282 (allocate_glyph): ditto.
14283 (Fimage_instance_height): ditto.
14284 (Fimage_instance_width): ditto.
14285 (update_subwindow): ditto.
14287 * redisplay-x.c (x_output_display_block): recode for layouts as
14290 * redisplay-output.c (redisplay_output_layout): recode for layouts
14292 (compare_runes): remove layout references.
14294 * redisplay-msw.c (mswindows_output_display_block): recode for
14295 layouts as widgets.
14297 * glyphs-widget.c (image_instantiator_layout): remove
14298 layout_possible_dest_types.
14299 (layout_possible_dest_types): deleted.
14301 * glyphs.h (image_instance_type): remove layout references.
14302 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14303 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14304 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14306 2000-04-25 Andy Piper <andy@xemacs.org>
14308 * glyphs-widget.c (image_instantiator_buttons):
14309 (image_instantiator_edit_fields):
14310 (image_instantiator_combo_box):
14311 (image_instantiator_scrollbar):
14312 (image_instantiator_progress_guage):
14313 (image_instantiator_tree_view):
14314 (image_instantiator_tab_control):
14315 (image_instantiator_labels):
14316 (image_instantiator_layout): call default post_instantiate method.
14317 (widget_post_instantiate): new function. Simply lays out the
14320 * glyphs.h (struct image_instantiator_methods): add
14321 post_instantiate method.
14323 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14326 2000-04-23 Andy Piper <andy@xemacs.org>
14328 * glyphs.h (struct image_instantiator_methods): add
14329 decode_domain_method.
14330 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14331 derived from the domain.
14332 (IMAGE_INSTANCE_FRAME): new accessor.
14333 (XIMAGE_INSTANCE_FRAME): ditto.
14335 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14336 instead of _SUBWINDOW_FRAME.
14337 (finalize_image_instance): ditto.
14338 (Fimage_instance_foreground): ditto.
14339 (Fimage_instance_background): ditto.
14340 (image_instantiate): ditto.
14341 (update_subwindow_cachel): ditto.
14342 (update_subwindow): ditto.
14343 (unmap_subwindow): ditto.
14344 (map_subwindow): ditto
14345 (subwindow_instantiate): ditto.
14346 * glyphs-msw.c (mswindows_update_widget): ditto.
14347 (mswindows_progress_gauge_instantiate): ditto.
14348 (mswindows_tab_control_update): ditto.
14349 * glyphs-x.c (x_update_widget): ditto.
14350 (x_widget_instantiate): ditto.
14351 (x_tab_control_instantiate): ditto.
14352 (x_tab_control_update): ditto.
14353 * event-msw.c (mswindows_wnd_proc): ditto
14355 * glyphs-widget.c (image_instantiator_layout): use
14356 subwindow_decode_domain.
14357 (image_instantiator_buttons): ditto.
14358 (image_instantiator_edit_fields): ditto.
14359 (image_instantiator_combo_box): ditto.
14360 (image_instantiator_scrollbar): ditto.
14361 (image_instantiator_progress_guage): ditto.
14362 (image_instantiator_tree_view): ditto.
14363 (image_instantiator_tab_control): ditto.
14364 (image_instantiator_labels): ditto.
14365 (image_instantiator_layout): ditto.
14367 * glyphs.c: add instance error checking to many functions.
14368 (instantiate_image_instantiator): decode device from cache_domain.
14369 (image_instantiate): partially rewrite by using
14370 decode_image_instantiator_domain to determine what domain the
14371 instance needs to be cached in.
14372 (decode_image_instantiator_domain): new function. Determine what
14373 domain the image needs to be cached in.
14374 (check_window_subwindow_cache): new error checking function.
14375 (check_instance_cache_mapper): ditto.
14376 (check_image_instance_structure): ditto.
14377 (subwindow_decode_domain): new function. Encodes a window as a
14378 subwindow's cache domain.
14379 (image_instantiator_format_create): use it for text and
14382 2000-04-21 Andy Piper <andy@xemacs.org>
14384 * glyphs.c (image_instance_device): new function.
14385 (image_instance_frame): new function.
14386 (image_instance_window): new function.
14387 (image_instance_live_p): new function.
14389 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14392 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14393 (IMAGE_INSTANCE_DOMAIN): new accessor.
14394 (XIMAGE_INSTANCE_DOMAIN): ditto.
14396 * glyphs-x.c (x_finalize_image_instance): device->domain.
14398 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14399 (mswindows_finalize_image_instance): ditto.
14401 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14402 (gif_instantiate): ditto.
14403 (png_instantiate): ditto.
14404 (tiff_instantiate): ditto.
14406 * glyphs.c (instantiate_image_instantiator): use domain rather
14408 (mark_image_instance): device -> domain.
14409 (print_image_instance): ditto.
14410 (finalize_image_instance): ditto.
14411 (image_instance_equal): ditto.
14412 (allocate_image_instance): ditto.
14413 (Fcolorize_image_instance): ditto.
14414 (query_string_geometry): ditto.
14415 (image_instantiate): ditto
14416 (query_string_font): ditto.
14417 (image_instantiate): ditto.
14418 (update_subwindow): ditto.
14419 (unmap_subwindow): ditto.
14420 (map_subwindow): ditto.
14421 (subwindow_instantiate): ditto.
14423 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14424 (DOMAIN_FRAME): ditto.
14425 (DOMAIN_WINDOW): ditto.
14426 (DOMAIN_LIVE_P): ditto.
14427 (XDOMAIN_DEVICE): ditto.
14428 (XDOMAIN_FRAME): ditto.
14429 (XDOMAIN_WINDOW): ditto.
14431 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14432 a valid specifier domain.
14434 2000-04-19 Andy Piper <andy@xemacs.org>
14436 * glyphs-widget.c (syms_of_glyphs_widget): remove
14437 widget-callback-current-channel.
14438 (vars_of_glyphs_widget): ditto.
14441 * gui.c (get_gui_callback): revert to previous behaviour.
14443 2000-04-18 Andy Piper <andy@xemacs.org>
14445 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14446 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14447 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14449 * glyphs.c (image_instance_equal): add margin_width.
14450 (image_instance_hash): ditto.
14452 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14453 (layout_query_geometry): ditto.
14454 (layout_layout): ditto.
14455 (syms_of_glyphs_widget): add margin-width.
14456 (image_instantiator_layout): allow margin-width.
14458 * glyphs.c (update_widget_instances): make a normal function.
14459 (syms_of_glyphs): remove Qupdate_widget_instances.
14462 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14463 so that we don't corrupt ideas about the last event or
14464 command. Remove widget-callback-current-channel fiddling.
14465 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14467 2000-05-01 Martin Buchholz <martin@xemacs.org>
14469 * XEmacs 21.2.33 is released.
14471 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14473 * make-src-depend: Allow dots in header file name.
14475 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14477 * mule-charset.h (struct charset_lookup): Add
14478 next_allocated_1_byte_leading_byte and
14479 next_allocated_2_byte_leading_byte.
14480 * mule-charset.c: Move above two variables so that those values
14483 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14485 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14486 when string length is zero.
14487 (find_charsets_in_emchar_string): Ditto.
14489 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14491 * lisp.h: extern Qdialog and Qmenubar.
14493 * gui-x.c: added events.h.
14494 also fixed typo which made the file uncompilable.
14496 * general.c: Added Qmenubar and Qdialog
14498 2000-04-28 Ben Wing <ben@xemacs.org>
14500 * frame-msw.c (mswindows_init_frame_1):
14501 * frame-msw.c (mswindows_mark_frame):
14502 * event-msw.c (mswindows_enqueue_dispatch_event):
14504 * console-msw.h (struct mswindows_frame):
14505 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14506 there are now three hash tables for callbacks.
14507 mswindows_enqueue_dispatch_event is no longer static.
14509 * dialog-x.c (maybe_run_dbox_text_callback):
14510 * dialog-x.c (dbox_descriptor_to_widget_value):
14511 switch to new cons3 form for callbacks.
14513 * glyphs-msw.c (mswindows_register_gui_item):
14514 * glyphs-msw.c (mswindows_widget_instantiate):
14515 * glyphs-msw.c (add_tree_item):
14516 * glyphs-msw.c (add_tab_item):
14517 new image instance parameter, so it can be passed to callback-ex.
14518 respect :callback-ex as well as :callback.
14520 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14523 * glyphs.c (print_image_instance):
14524 prettify, e.g. now prints widget type.
14527 certain funs have new image instance parameter.
14530 * gui.c (get_gui_callback):
14531 * gui.c (gui_item_add_keyval_pair):
14532 * gui.c (gui_item_init):
14533 * gui.c (gui_add_item_keywords_to_plist):
14534 * gui.c (mark_gui_item):
14535 * gui.c (gui_item_hash):
14536 * gui.c (gui_item_equal):
14537 * gui.c (copy_gui_item):
14538 * gui.c (syms_of_gui):
14539 recognize callback-ex in a number of places.
14540 also, fix the annoying "can't get out of yes-no dialog" bug.
14543 * gui.h (struct Lisp_Gui_Item):
14544 recognize callback-ex in a number of places.
14546 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14547 new parameter in button_item_to_widget_value.
14549 * glyphs-x.c (x_update_widget):
14550 * glyphs-x.c (x_button_instantiate):
14551 * glyphs-x.c (x_button_update):
14552 * glyphs-x.c (x_progress_gauge_instantiate):
14553 * glyphs-x.c (x_edit_field_instantiate):
14554 * glyphs-x.c (x_combo_box_instantiate):
14555 * glyphs-x.c (x_tab_control_instantiate):
14556 * glyphs-x.c (x_label_instantiate):
14557 new image instance parameter in various places.
14560 * event-Xt.c (enqueue_Xt_dispatch_event):
14561 this fun gets exported.
14564 * gui-msw.c (mswindows_handle_gui_wm_command):
14565 handle both :callback and :callback-ex, and generate our own
14566 event because it's one of the callback-ex arguments.
14569 * gui-x.c (popup_selection_callback):
14570 handle both :callback and :callback-ex, and generate our own
14571 event because it's one of the callback-ex arguments.
14572 * gui-x.c (button_item_to_widget_value):
14573 * gui-x.c (gui_items_to_widget_values_1):
14574 * gui-x.c (gui_item_children_to_widget_values):
14575 * gui-x.c (gui_items_to_widget_values):
14576 new image instance parameter in various places.
14578 * fns.c (Freplace_list):
14579 fix small typo in doc string.
14582 declare enqueue_Xt_dispatch_event.
14584 2000-04-28 Ben Wing <ben@xemacs.org>
14587 * buffer.c (Frecord_buffer):
14588 * buffer.c (syms_of_buffer):
14589 delete record-buffer-hook.
14592 * fns.c (Freplace_list):
14593 * fns.c (syms_of_fns):
14594 new primitive replace-list.
14597 slot for old buffer-alist.
14600 exfun replace-list.
14603 * redisplay.c (redisplay_frame):
14604 * redisplay.c (syms_of_redisplay):
14605 * redisplay.c (vars_of_redisplay):
14606 new hook buffer-list-changed-hook.
14609 2000-04-27 Ben Wing <ben@xemacs.org>
14611 * extents.h: extern in_modeline_generation.
14613 * redisplay.c (generate_formatted_string_db): set
14614 in_modeline_generation.
14616 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14617 flags if in modeline generation. otherwise frame-modified-tick
14618 is ticked far too often.
14619 Declare in_modeline_generation.
14621 2000-04-26 Ben Wing <ben@xemacs.org>
14623 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14625 (vars_of_emacs): add quick-build as an error-checking option.
14626 A bit kludgy, but there doesn't seem much point in creating
14627 a real var for this.
14629 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14631 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14633 * redisplay.h (struct display_line): Add a new variable,
14636 * redisplay.c (create_text_block): Set dl->line_continuation if
14637 the line continues.
14638 (create_string_text_block): Ditto.
14639 (regenerate_window_incrementally): Use line_continuation instead
14640 of searching continuation glyph.
14641 (add_margin_runes): Call add_glyph_rune.
14642 (add_glyph_rune): Handle margin glyph.
14644 2000-04-20 Martin Buchholz <martin@xemacs.org>
14646 * filelock.c (fill_in_lock_file_name):
14648 Check for IS_ANY_SEP instead of '/'.
14650 Avoid generating gratuitous garbage. Call user_login_name() directly.
14651 Never check errno without first seeing that system call failed.
14652 (unlock_file): Add GCPRO.
14653 (Flock_buffer): Fix docstring.
14654 (Ffile_locked_p): Fix docstring. Add GCPRO.
14656 2000-04-19 Martin Buchholz <martin@xemacs.org>
14658 * sysdep.c (get_pty_max_bytes):
14659 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14660 strings longer than 252 bytes.
14662 * md5.c: Unconditionally include ANSI header <limits.h>
14664 * glyphs-x.c (convert_EImage_to_XImage):
14665 * lisp-union.h (union Lisp_Object):
14666 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14668 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14670 * filelock.c (current_lock_owner): Remove unused variable o, p.
14672 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14674 * callint.c: Remove multiply defined symbol Qlet
14675 (syms_of_callint): ditto.
14677 2000-04-14 Andy Piper <andy@xemacs.org>
14679 * general.c (syms_of_general): add last-command, this-command, let
14682 * lisp.h: declare various symbols.
14684 * glyphs.h: declare Qwidget_callback_current_channel;
14686 * glyphs-widget.c (syms_of_glyphs_widget): add
14687 Qgui_callback_current_channel.
14688 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14690 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14691 widget-callback-current-channel when invoking the interactive
14692 arg. Also bind last-command and next-command when invoking the
14694 * gui-x.c (popup_selection_callback): ditto.
14696 * gui.c (get_gui_callback): massage args so that we are always
14697 calling eval. This allows us to add our own variable bindings
14700 * glyphs-x.c (x_button_instantiate): use
14701 gui_items_to_widget_values since this is GC safe.
14702 (x_progress_gauge_instantiate): ditto.
14703 (x_edit_field_instantiate): ditto.
14704 (x_label_instantiate): ditto.
14706 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14707 (emacs_Xt_event_widget_focus_out): new function
14708 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14710 (emacs_Xt_event_add_widget_actions): new function. add focus
14711 functions as actions.
14712 (init_event_Xt_late): use it.
14714 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14716 * event-stream.c (Fdispatch_event): Doc fix.
14718 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14720 * postgresql.c: Remove all references to PQsetenv*.
14722 * postgresql.h: Remove references to PGsetenvHandler object.
14723 * lrecord.h (lrecord_type): Ditto.
14725 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14727 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14728 real_heigh and real_width members, and accessor macros for these.
14730 * glyphs-msw.c (init_image_instance_geometry): New function.
14731 (init_image_instance_from_dibitmap): Use it.
14732 (mswindows_resource_instantiate): Use it.
14733 (init_image_instance_from_xbm_inline): Use it.
14734 (mswindows_initialize_image_instance_mask): Use real bitmap
14736 (mswindows_create_resized_bitmap): Ditto.
14737 (mswindows_create_resized_mask): Ditto.
14739 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14740 and bitmap to their surface size.
14742 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14744 * process-unix.c (unix_send_process): Guard against process MIA
14745 after Faccept_process_output.
14747 2000-04-11 Ben Wing <ben@xemacs.org>
14749 * eval.c (unbind_to_hairy): fix brokenness introduced by
14750 nanosecond speed improvements.
14752 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14754 * sunplay.c (init_device): To play sounds correctly, the device
14755 apparently needs to be initialized at least once by XEmacs. Make
14758 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14760 * redisplay.c (add_margin_runes): Add text image glyph
14763 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14765 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14766 gcc is newer than 2.5.
14768 2000-04-06 Colin Rafferty <colin@xemacs.org>
14770 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14772 * fns.c (size_bit_vector):
14773 * alloc.c (size_vector):
14774 (make_vector_internal):
14775 (make_bit_vector_internal):
14776 (sweep_bit_vectors_1):
14777 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14779 2000-04-06 Andy Piper <andy@xemacs.org>
14781 * gmalloc.c (malloc): undo previous change.
14786 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14788 * line-number.c (buffer_line_number): Revert to former version.
14790 2000-04-06 Andy Piper <andy@xemacs.org>
14792 * gmalloc.c (malloc): add error checking.
14797 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14798 button_item_to_widget_value arg.
14800 * glyphs-x.c (x_button_instantiate): add extra
14801 button_item_to_widget_value arg.
14802 (x_progress_gauge_instantiate): ditto.
14803 (x_edit_field_instantiate): ditto.
14804 (x_label_instantiate): ditto.
14806 * gui-x.c (gui_items_to_widget_values_1): add extra
14807 button_item_to_widget_value arg.
14808 (button_item_to_widget_value): add extra menu_item_p arg.
14810 * gui-x.h: change signature of button_item_to_widget_value.
14812 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14813 button_item_to_widget_value arg.
14815 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14817 * buffer.h (struct buffer): auto_save_modified should be long.
14819 2000-04-05 Andy Piper <andy@xemacs.org>
14821 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14823 (button_query_geometry): give a little more room so that athena
14826 2000-04-05 Andy Piper <andy@xemacs.org>
14828 * faces.c (complex_vars_of_faces): The widget face should inherit
14829 the font of the gui-element face.
14831 2000-04-04 Andy Piper <andy@xemacs.org>
14833 * glyphs-x.c (x_button_update): new function. unconditionally
14834 update a button's state when the instance is dirty.
14835 (image_instantiator_format_create_glyphs_x): add x_button_update.
14836 (x_widget_instantiate): remove old resize cruft.
14838 2000-04-02 Andy Piper <andy@xemacs.org>
14840 * frame.c (change_frame_size_1): The introduction of gutters means
14841 that we need to allow 0 as a potential frame dimension.
14843 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14845 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14846 image glyph if allow_cursor.
14847 (add_hscroll_rune): Don't allow cursor to border glyph.
14848 (create_text_block): Ditto.
14850 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14851 text not in buffer.
14852 (redisplay_output_layout): Call ensure_face_cachel_complete for
14856 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14858 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14860 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14863 * redisplay-tty.c (tty_output_display_block): Delete the routine
14864 for text image glyph
14865 * redisplay-x.c (x_output_display_block): ditto
14866 * redisplay-msw.c (mswindows_output_display_block): ditto
14868 2000-02-02 Mike Alexander <mta@arbortext.com>
14870 Note: Some of these were committed by accident as part of other
14873 * regex.c (regex_compile): Avoid compiler warnings.
14875 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14877 * nt.h: Declare term_ntproc correctly.
14879 * nt.c: Remove incorrect declaration of get_home_directory which
14880 is declared correctly in lisp.h.
14882 * keymap.c (get_keyelt): Avoid compiler warnings.
14883 (raw_lookup_key_mapper): Avoid compiler warnings.
14885 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14887 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14889 * filemode.c (mode_string): Avoid compiler warnings.
14891 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14894 * events-mod.h: Undef some things that winuser.h defines differently.
14896 * data.c (Faset): Avoid compiler warnings.
14898 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14900 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14902 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14903 Fall through to simple beep on error.
14904 Replace "extern" by real header file.
14906 * linuxplay.c: Use nativesound.h
14907 (play_sound_data): Return error code. Be less verbose on error.
14909 * sunplay.c: Use nativesound.h
14910 (play_sound_data): Return error code. Be less verbose on error.
14912 * ntplay.c: Use nativesound.h
14913 (play_sound_data): Return fake error code
14915 * sgiplay.c: Use nativesound.h
14916 (play_sound_data): Return error code
14918 * hpplay.c: Use nativesound.h, partially implement
14919 new error code. Break compilation until finished.
14920 (play_sound_data): error code.
14922 * nativesound.h (play_sound_file):
14923 (play_sound_data): Prototype in new header.
14925 2000-03-31 Andy Piper <andy@xemacs.org>
14927 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14928 for toggle and radio buttons.
14929 (image_instantiator_buttons): use it.
14931 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14933 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14934 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14935 found. Scrollbar event probably belonged to some old config.
14937 2000-03-31 Andy Piper <andy@xemacs.org>
14939 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14941 (initialize_widget_image_instance): default layout to
14942 LAYOUT_HORIZONTAL rather than 0.
14943 (widget_instantiate): reverse the item list at the end rather than
14945 (layout_layout): re-code for the border text at the front of the
14946 item list rather than at the end.
14947 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14948 provided by the user.
14949 (widget_query_geometry): comment.
14951 2000-03-30 Andy Piper <andy@xemacs.org>
14953 * glyphs-widget.c (image_instantiator_layout): allow standard
14954 widget keywords in layouts.
14956 * gutter.c (output_gutter): cope with nil gutter contents.
14958 * frame.c (Fset_frame_properties): add gutter docs.
14960 2000-03-29 Andy Piper <andy@xemacs.org>
14962 * toolbar-msw.c (TBSTYLE_FLAT): add.
14963 (mswindows_output_toolbar): minor fiddling.
14965 2000-03-29 Andy Piper <andy@xemacs.org>
14967 * gutter.c (output_gutter): force gutter size recalculation if
14968 what we are trying to display won't fit.
14969 (update_gutter_geometry): new function. A per-gutter version of
14970 update_frame_gutter_geometry.
14971 (update_frame_gutter_geometry): use it.
14972 (redraw_exposed_gutter): add extra debugging output.
14974 2000-03-28 Mike Alexander <mta@arbortext.com>
14976 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14977 (pdump_file_unmap): Implement it on Windows
14978 (pdump_file_get): Save alocated handles for pdump_file_unmap
14980 2000-03-28 Andy Piper <andy@xemacs.org>
14982 * gui.c (get_gui_callback): treat Quit specially.
14984 2000-03-27 Andy Piper <andy@xemacs.org>
14986 * glyphs.c (image_instantiate): be careful to check in the same
14989 2000-03-27 Didier Verna <didier@xemacs.org>
14991 * config.h.in: define the proper SMART_INCLUDE macro.
14992 handle renaming of `foo_h_path' to `foo_h_file'.
14994 * database.c: ditto.
14998 * linuxplay.c: ditto.
15000 * terminfo.c: ditto.
15002 * tooltalk.h: ditto.
15004 2000-03-27 Andy Piper <andy@xemacs.org>
15006 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15007 gets updated whenever the face might have changed.
15009 2000-03-26 Mike Alexander <mta@arbortext.com>
15011 * dumper.c (pdump_resource_free): Fix the comment.
15013 2000-03-21 Olivier Galibert <galibert@pobox.com>
15015 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15017 2000-03-22 Mike Alexander <mta@arbortext.com>
15019 * dumper.c: Include Windows headers on Windows
15020 (pdump_resource_free): Add a body to the function
15021 (pdump_load): exe_name -> exe_path and add some comments.
15023 2000-03-25 Mike Alexander <mta@arbortext.com>
15025 * gui.c (copy_gui_item_tree): Return a value in all cases
15027 2000-03-21 Didier Verna <didier@xemacs.org>
15029 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15031 (SMART_INCLUDE): new macro.
15032 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15033 the proper location.
15035 * postgresql.c: use it.
15039 2000-03-24 Andy Piper <andy@xemacs.org>
15041 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15044 2000-03-24 Andy Piper <andy@xemacs.org>
15046 * redisplay-output.c (compare_runes): use image_instance_changed
15047 to detect changes. Do not depend on glyphs_changed, only depend on
15049 (redisplay_output_layout): add debug messages.
15050 (compare_runes): ditto.
15052 * glyphs.h: declare new functions.
15053 (struct Lisp_Image_Instance): remove percent and associated
15056 * gui.h: declare new copying functions.
15058 * gui.c (copy_gui_item_tree): new function.
15059 (copy_gui_item): new function.
15060 (gui_item_id_hash): revert to standard hash.
15061 (gui_item_hash): ditto.
15062 (gui_item_hash_internal): deleted.
15063 (mark_gui_item): mark value.
15064 (gui_item_add_keyval_pair): add value.
15065 (gui_item_init): ditto.
15066 (gui_add_item_keywords_to_plist): ditto.
15067 (gui_item_equal): ditto.
15068 (syms_of_gui): add Q_value.
15070 * glyphs-x.c (x_progress_gauge_update): use pending items and
15071 value for setting the state.
15072 (x_update_widget): don't set items from pending here.
15074 * glyphs-widget.c (update_widget): update items here.
15075 (progress_gauge_set_property): use items for storing value. Put
15076 new value in pending items.
15078 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15079 items for new value. Convert percent -> value.
15080 (mswindows_tab_control_update): don't update items here.
15082 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15083 (update_subwindow): ditto.
15084 (image_instance_changed): new function. Compare hash values and
15085 past and present widget items.
15086 (image_instantiate): We more careful about where we instantiate
15088 (image_instantiate): add error checking.
15090 * gutter.c (syms_of_gutter): use -hook.
15092 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15094 * console-tty.c (Fset_console_tty_input_coding_system): Use
15096 (Fset_console_tty_output_coding_system): Use Qterminal.
15097 (tty_init_console): Use Qkeyboard and Qterminal.
15099 2000-03-21 Ben Wing <ben@xemacs.org>
15101 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15102 From Mike Alexander <mta@arbortext.com>.
15104 2000-03-21 Ben Wing <ben@xemacs.org>
15106 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15107 process brokenness. Proper implementation to come.
15109 Rename call-process-internal to old-call-process-internal.
15110 New impl. in process.el.
15112 2000-03-21 Martin Buchholz <martin@xemacs.org>
15114 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15116 2000-03-20 Andy Piper <andy@xemacs.org>
15118 * glyphs.c (full_list_hash): make hashes of the same elements in
15119 different orders return different values.
15121 2000-03-20 Martin Buchholz <martin@xemacs.org>
15123 * XEmacs 21.2.32 is released.
15125 2000-03-20 Martin Buchholz <martin@xemacs.org>
15127 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15128 (DFC_MALLOC_USE_CONVERTED_DATA):
15129 Add aliasing-safe casts to allow use with char* or unsigned char*
15132 * eldap.c (Fldap_open):
15133 (Fldap_search_basic):
15136 Make C++-compilable.
15137 Make sure GCPRO'ed variables are initialized.
15138 Use temp variables to avoid repeated calls to Flength.
15140 2000-03-16 Martin Buchholz <martin@xemacs.org>
15143 Make sure PATH_MAX is always defined.
15144 Include limits.h for PATH_MAX.
15145 Deprecate use of MAXPATHLEN.
15147 2000-03-10 Martin Buchholz <martin@xemacs.org>
15149 * emacs.c: Add reinit_vars_of_fileio.
15150 * symsinit.h: Add reinit_vars_of_fileio.
15151 * fileio.c (reinit_vars_of_fileio): New.
15152 * fileio.c (Fmake_temp_name):
15153 Initialize temp_name random number from microseconds to make
15154 collisions even less likely. Initialize always at process startup
15155 time. (make-temp-name) used to return the same file name twice in
15157 Random stylistic fiddling.
15160 2000-03-20 Andy Piper <andy@xemacs.org>
15162 * glyphs.c (image_instantiate): allow text glyphs to be
15163 instantiated in the minibuffer window.
15165 2000-03-19 Andy Piper <andy@xemacs.org>
15167 * glyphs.c (image_instance_hash): be careful about which items we
15170 * glyphs-widget.c (tab_control_set_property): record into pending
15171 items rather than the actual items.
15173 * glyphs-x.c (x_update_widget): use pending items to update with.
15175 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15178 * glyphs.c (mark_image_instance): mark pending items.
15180 * window.c (Fset_window_configuration): record the buffer.
15181 (Fselect_window): totally revert previous change which breaks many
15184 2000-03-18 Andy Piper <andy@xemacs.org>
15186 * glyphs-msw.c (mswindows_tab_control_update): force selected
15189 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15190 window domain cache, otherwise we get inconsistencies at
15191 startup. There is something fishy at startup which can lead to the
15192 minibuffer being the selected window when the gutter content is
15195 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15197 (parse_gui_item_tree_children): ditto.
15198 (parse_gui_item_tree_item): ditto.
15200 * glyphs.c (Fupdate_widget_instances): return something.
15202 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15204 * window.c (Fselect_window): Undo 2000-03-17 change.
15206 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15208 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15209 against v7.0 libraries. Insta-coredump city until the postgres
15212 2000-03-17 Andy Piper <andy@xemacs.org>
15214 * faces.c (complex_vars_of_faces): don't give the widget face an
15215 inherited background pixmap.
15217 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15220 * event-stream.c (Fdispatch_non_command_events): return something.
15222 * gutter.c (output_gutter): use widget face.
15223 (clear_gutter): ditto.
15225 * NEWS: adjust again.
15227 * window.c (Fselect_window): make sure this runs to completion to
15228 avoid oddities with Fset_window_configuration.
15229 (Fcurrent_window_configuration): in general do not save the
15230 minibuffer as the selected window.
15232 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15234 2000-03-16 Olivier Galibert <galibert@pobox.com>
15236 * emacs.c (Frunning_temacs_p): Revert previous patch.
15237 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15239 2000-03-16 Andy Piper <andy@xemacs.org>
15241 * glyphs-x.c (x_tab_control_update): if no widget values then
15244 * NEWS: update for new features.
15246 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15247 synthetic event to the native system.
15248 (reinit_vars_of_event_Xt): set force_event_pending to
15249 emacs_Xt_force_event_pending.
15251 * events.h (struct event_stream): add force_event_pending.
15253 * specifier.c (recompute_one_cached_specifier_in_window): add
15256 * redisplay.c (redisplay_frame): don't call
15257 update_frame_subwindows. Reset subwindow cachels when
15258 subwindows_changed, removing this was an optimization too far.
15260 * redisplay-output.c (compare_runes): reorganize so that we catch
15261 glyph changes when we want them. Set optimize_output when this
15262 would help layouts.
15263 (redisplay_output_layout): remove frame_really_changed, use
15264 optimize_output instead.
15266 * redisplay-msw.c (mswindows_output_display_block): reset
15267 optimize_output after outputting a glyph.
15268 * redisplay-x.c (x_output_display_block): ditto.
15269 * redisplay-tty.c (tty_output_display_block): ditto.
15271 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15273 (gutter_specs_changed): do specific gutter positions.
15274 (top_gutter_specs_changed): new function. Only update the
15275 specified gutter specs.
15276 (bottom_gutter_specs_changed): ditto.
15277 (left_gutter_specs_changed): ditto.
15278 (right_gutter_specs_changed): ditto.
15280 * gui.c (gui_item_hash_internal): new function, does a real hash.
15281 (gui_item_id_hash): use it.
15282 (gui_item_hash): hash the eval'ed gui_item.
15284 * gui-x.c (popup_selection_callback): send an eval event to call
15285 Fupdate_widget_instances.
15287 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15288 to call Fupdate_widget_instances.
15290 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15291 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15293 * glyphs.c: (update_frame_subwindows): deleted.
15294 (Fupdate_widget_instances): new function for updating the dirty
15295 state of widgets that might have changed.
15296 (syms_of_glyphs): add Qupdate_widget_instances.
15297 (full_list_hash): hash a list completely.
15298 (image_instance_hash): use it for items and properties.
15300 * frame-msw.c (mswindows_size_frame_internal): remove unused
15303 * faces.h (struct face_cachel): fix comment.
15305 * event-stream.c (Fdispatch_non_command_events): new
15306 function. Process non-command events, forcing an event cycle
15308 (syms_of_event_stream): declare.
15309 (event_stream_force_event_pending): new function. Force an event
15310 on the native event queue so that an event cycle will occur next
15314 (struct ntpipe_shove_stream):
15315 (mswindows_enqueue_dispatch_event):
15316 (mswindows_dequeue_dispatch_event):
15317 (mswindows_cancel_dispatch_event):
15318 (mswindows_pump_outstanding_events):
15319 (mswindows_drain_windows_queue):
15320 (mswindows_handle_paint):
15321 (mswindows_wnd_proc):
15322 (mswindows_key_to_emacs_keysym):
15323 (get_process_input_waitable):
15324 (emacs_mswindows_delete_stream_pair): re-indent file.
15325 (mswindows_need_event): do not process further fds if the windows
15326 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15327 fixes the 100% cpu problem.
15328 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15330 2000-03-15 Olivier Galibert <galibert@pobox.com>
15336 * emacs.c: Moved dump file searching to dumper.c.
15337 (Frunning_temacs_p): Fixed.
15339 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15340 last_lrecord_type_index_assigned.
15342 2000-02-20 Olivier Galibert <galibert@pobox.com>
15344 * symsinit.h: Added reinit parameter to init_console_stream
15347 * lisp.h: Added file parameter to pdump_load declaration.
15349 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15350 support. Added dump file searching.
15352 * config.h.in: Added EMACS_PROGNAME.
15354 * console-stream.c (init_console_stream): Fix reinitialisation
15355 when running from temacs.
15357 * alloc.c (pdump): Add id support.
15358 (pdump_load): Add file parameter and signature/id support.
15360 * Makefile.in.in: Add full pdump support.
15362 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15364 * postgresql.c: Update documentation to reflect latest code
15366 (print_result): Show tuple counts in printed representation when
15368 (Fpq_put_nbytes): MULE-ize.
15369 (Fpq_get_line_async): Ditto.
15371 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15373 * postgresql.c (Fpq_lo_import): Fix return value.
15374 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15376 2000-03-13 Ben Wing <ben@xemacs.org>
15378 * alloc.c (pdump_load):
15379 Fix compile warning under mswin.
15381 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15383 * postgresql.c: Mule-ization, bug fixes.
15384 Use PG_CODING to encapsulate coding system name changes.
15385 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15386 (pg-coding-system): Create.
15388 (Fpq_conn_defaults): Mule-ize.
15389 (Fpq_connectdb): Mule-ize & bug fix.
15390 (Fpq_connect_start): Mule-ize.
15391 (Fpq_set_client_encoding): Mule-ize.
15392 (Fpq_finish): Document `DEAD' connection status.
15393 (Fpq_clear): Ditto.
15394 (Fpq_pgconn): Mule-ize.
15395 (Fpq_exec): Mule-ize & bug fix.
15396 (Fpq_send_query): Ditto.
15397 (Fpq_get_result): Ditto.
15398 (Fpq_res_status): Mule-ize.
15399 (Fpq_result_error_message): Mule-ize.
15400 (Fpq_ntuples): fix comments.
15401 (Fpq_fname): Mule-ize.
15402 (Fpq_fnumber): Mule-ize.
15403 (Fpq_ftype): fix comments.
15404 (Fpq_get_value): Mule-ize.
15405 (Fpq_cmd_status): Ditto.
15406 (Fpq_cmd_tuples): Ditto.
15407 (Fpq_oid_value): Ditto.
15408 (Fpq_notifies): Ditto.
15409 (Fpq_lo_import): Ditto.
15410 (Fpq_lo_export): Ditto.
15411 (Fpq_get_line): Ditto.
15412 (Fpq_put_line): Mule-ize and bug fix.
15413 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15415 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15417 * postgresql.c (vars_of_postgresql): Mule-ize.
15418 (Fpq_conn_defaults): Ditto.
15420 2000-03-12 Ben Wing <ben@xemacs.org>
15422 * alloc.c (Fmake_byte_code):
15423 * alloc.c (debug_string_purity_print):
15424 * alloc.c (pdump_backtrace):
15425 * alloc.c (pdump_get_indirect_count):
15426 * alloc.c (pdump_register_sub):
15427 * alloc.c (pdump_register_object):
15428 * alloc.c (pdump_register_struct):
15429 * alloc.c (pdump_dump_data):
15430 * alloc.c (pdump_reloc_one):
15434 * console-msw.c (GetConsoleHwnd):
15435 * console-msw.c (msw_hide_console):
15436 * console-msw.c (msw_show_console):
15437 * console-msw.c (msw_ensure_console_buffered):
15438 * console-msw.c (msw_output_console_string):
15439 * console-msw.c (console_type_create_mswindows):
15441 a) Added functions to manipulate the console window for use with
15444 b) Added support for writing text to the console, which is now
15445 used under Windows when xemacs is not being run non-interactively,
15446 to write text that would otherwise be destined for stdout because
15447 under these circumstances, text written to stdout tends to
15448 disappear and not be seen.
15452 * event-Xt.c (x_event_to_emacs_event):
15453 * event-Xt.c (describe_event_window):
15454 * events-mod.h (XEMACS_MOD_CONTROL):
15456 * events.c (Fmake_event):
15457 * events.c (character_to_event):
15458 * events.c (event_to_character):
15459 * events.c (format_event_object):
15460 * events.c (Fevent_modifiers):
15462 * events.h (struct key_data):
15463 * events.h (struct button_data):
15464 * events.h (struct misc_user_data):
15465 * frame-x.c (Fcde_start_drag_internal):
15466 * frame-x.c (Foffix_start_drag_internal):
15467 * gpmevent.c (Freceive_gpm_event):
15469 * keymap.c (bucky_sym_to_bucky_bit):
15470 * keymap.c (control_meta_superify):
15471 * keymap.c (make_key_description):
15472 * keymap.c (keymap_lookup_directly):
15473 * keymap.c (create_bucky_submap):
15474 * keymap.c (keymap_store):
15475 * keymap.c (define_key_check_and_coerce_keysym):
15476 * keymap.c (define_key_parser):
15477 * keymap.c (define_key_alternate_name):
15478 * keymap.c (Fdefine_key):
15479 * keymap.c (raw_lookup_key_mapper):
15480 * keymap.c (struct map_keymap_unsorted_closure):
15481 * keymap.c (map_keymap_unsorted_mapper):
15482 * keymap.c (map_keymap_sort_predicate):
15483 * keymap.c (map_keymap_sorted):
15484 * keymap.c (accessible_keymaps_mapper_1):
15485 * keymap.c (where_is_recursive_mapper):
15486 * keymap.c (describe_map_mapper):
15487 * keymap.c (describe_map_sort_predicate):
15488 * keymap.c (describe_map):
15489 * keymap.c (complex_vars_of_keymap):
15490 And a number of other files, the key modifier preprocessor
15491 constants that xemacs uses have names that conflict with constants
15492 defined under MS Windows for other purposes, so they were renamed
15493 to begin with the prefix XEMACS_. The variables that hold such
15494 modifiers were changed to consistently be of type int to fix
15495 various compile warnings.
15497 * console.c (complex_vars_of_console):
15500 * device-msw.c (mswindows_finish_init_device):
15501 * device-msw.c (msw_get_workspace_coords):
15502 * device-msw.c (mswindows_device_system_metrics):
15503 and various other files, added support for a new
15504 device property called offset-workspace which returns the position
15505 of the upper left corner of the workspace area and goes along with
15506 the existing size-workspace property.
15509 * dialog-msw.c (push_bufbyte_string_as_unicode):
15510 * dialog-msw.c (mswindows_popup_dialog_box):
15511 Added support for XEmacs-style accelerator specifications in
15512 button text. Note: I didn't add support for this under X Windows,
15513 and somebody needs to do this.
15516 * dialog.c (Fpopup_dialog_box):
15517 Documented the support for accelerators that was just mentioned.
15519 editfns.c (get_home_directory): Changed behavior under Windows
15520 when HOME not defined; former behavior was irretrievably broken.
15523 * emacs.c (main_1):
15525 * minibuf.c (clear_echo_area_internal):
15526 * minibuf.c (echo_area_append):
15528 * print.c (std_handle_out_external):
15529 * print.c (std_handle_out_va):
15531 * print.c (write_string_to_stdio_stream):
15532 * print.c (output_string):
15533 * print.c (debug_print):
15534 * print.c (debug_backtrace):
15535 * print.c (debug_short_backtrace):
15536 Cleaned up the code that prints text to stdout so that this can be
15537 changed to output into a console window instead under MS Windows,
15538 as described above.
15541 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15542 * eval.c (internal_catch):
15543 * eval.c (unwind_to_catch):
15544 * eval.c (throw_or_bomb_out):
15545 * eval.c (condition_case_1):
15546 * eval.c (signal_1):
15547 * eval.c (check_error_state_sanity):
15548 * eval.c (call_with_suspended_errors_1):
15549 * eval.c (call_with_suspended_errors):
15550 * eval.c (reinit_vars_of_eval):
15551 Added code to catch throw loops and check for a pesky bug that may
15555 * event-msw.c (key_needs_default_processing_p):
15556 * event-msw.c (mswindows_wnd_proc):
15557 * event-msw.c (mswindows_modifier_state):
15558 * event-msw.c (emacs_mswindows_quit_p):
15559 * event-msw.c (vars_of_event_mswindows):
15560 a) Added support for using the alt key to select menu items as is
15561 standard under MS Windows. This is controlled using the variable
15562 menu-accelerator-enabled, just like under X Windows. There is an
15563 option on the options menu to turn this support on. I really
15564 think that it should be on by default under Windows, but I'm not
15565 going to make this change yet.
15567 b) Added support for dynamic display size changes under Windows.
15570 * event-stream.c (maybe_echo_keys):
15571 * event-stream.c (Fnext_event):
15572 * event-stream.c (command_builder_find_leaf):
15573 * event-stream.c (lookup_command_event):
15574 * event-stream.c (execute_command_event):
15575 * event-stream.c (pre_command_hook):
15576 * event-stream.c (post_command_hook):
15577 * event-stream.c (syms_of_event_stream):
15578 * event-stream.c (vars_of_event_stream):
15579 * event-stream.c (complex_vars_of_event_stream):
15580 * events.h (struct command_builder):
15582 a) Tried to clean up a little bit the horribly written x-specific
15583 accelerator code that crept into this file. I moved this code
15584 into menubar-x.c where it belongs. I also needed to move the
15585 command builder structure into the file events.h because it is
15586 accessed directly by this accelerator code. What I didn't do, but
15587 which should be done at some point, is to properly abstract this
15588 code using device methods instead of the kludgy way that it
15589 currently hooks into the event code.
15591 b) Added the lisp variables this-command-properties and
15592 last-command- properties, which should be used to synchronize two
15593 adjacent commands in preference to playing games with the variable
15594 this-command, which is typically what happens.
15596 c) Added some slightly nasty code to hook into the lisp support
15597 for shifted- motion-key selection. This is actually necessary for
15598 somewhat complicated reasons, which are described in
15599 simple.el. (NB: I think the proper thing would be to have the code
15600 that calls the pre and post command hooks also call out to generic
15601 lisp functions in simple.el, where all built-in stuff could be
15602 added. I will think about this more.)
15604 * event-unixoid.c (poll_fds_for_input):
15605 * lread.c (readchar):
15606 * redisplay-tty.c (tty_clear_frame):
15607 * redisplay-x.c (x_get_gc):
15608 * signal.c (interrupt_signal):
15609 And a whole bunch of other files: fixed up places that printed
15610 directly to stderr to instead call the function stderr_out so that
15611 the changes I made under Windows work correctly.
15613 * filemode.c (mode_string):
15617 * frame-msw.c (mswindows_size_frame_internal):
15618 Fixed the computation of frame size and position to keep the frame
15619 within the workspace area, rather than within the physical
15620 dimensions of the screen, so that the frame doesn't overlap window
15621 manager decorations, such as the start menu and toolbar, typically
15622 at the bottom of the screen.
15624 * frame.c (vars_of_frame):
15625 Changed the default frame title format under MS Windows to consist
15626 of buffername-XEmacs, which is standard under MS Windows. I think
15627 it might be a good idea to change this everywhere because I think
15628 it is superior to the current frame title format, but this is the
15629 kind of change that is likely to cause some people to get annoyed,
15630 so I'm not making it.
15632 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15634 * gui-msw.c (mswindows_handle_gui_wm_command):
15635 Fixed compile warnings.
15638 * gui-x.c (strdup_and_add_accel):
15639 * gui-x.c (button_item_to_widget_value):
15641 Added code to automatically put an accelerator onto the beginning
15642 of menu items that don't have one as is now the standard, and is
15643 described more later. Also fixed things so that the menu item
15644 name can be an evaluated expression, again a new standard.
15647 * gui.c (gui_item_add_keyval_pair):
15648 * gui.c (make_gui_item_from_keywords_internal):
15649 * gui.c (gui_add_item_keywords_to_plist):
15650 * gui.c (gui_item_accelerator):
15651 * gui.c (gui_name_accelerator):
15652 * gui.c (gui_item_included_p):
15653 * gui.c (gui_item_display_flush_left):
15654 * gui.c (gui_item_display_flush_right):
15655 * gui.c (parse_gui_item_tree_item):
15656 * gui.c (parse_gui_item_tree_children):
15657 * gui.c (parse_gui_item_tree_list):
15658 Mule-ized. Cleanup. GCPRO addition.
15660 * line-number.c (buffer_line_number):
15662 * lisp.h (EMACS_INT_MAX):
15663 Added the manifest constant EMACS_INT_MIN corresponding to the
15664 existing constant EMACS_INT_MAX. This is partially to fix compile
15665 warnings under Windows, and partly for cleanliness.
15668 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15669 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15670 * menubar-msw.c (displayable_menu_item):
15671 * menubar-msw.c (populate_menu_add_item):
15672 * menubar-msw.c (populate_or_checksum_helper):
15673 * menubar-msw.c (populate_menu):
15674 * menubar-msw.c (update_frame_menubar_maybe):
15675 * menubar-msw.c (prune_menubar):
15676 * menubar-msw.c (msw_char_is_accelerator):
15677 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15678 * menubar-msw.c (mswindows_handle_wm_command):
15679 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15680 * menubar-msw.c (mswindows_handle_wm_initmenu):
15681 * menubar-msw.c (mswindows_update_frame_menubars):
15682 * menubar-msw.c (mswindows_free_frame_menubars):
15683 * menubar-msw.c (mswindows_popup_menu):
15684 Fixed a bug in handling accelerators where an extra character
15685 would be displayed in the menu item. Also generalized the
15686 function displayable_menu_item because it is now used by the
15687 dialog box code as well. And finally, added code in the functions
15688 that create the menubar to extract a list of accelerators for the
15689 top level menubar, which is used in the event code to determine
15690 whether a particular alt-key combination should be used to invoke
15691 a menu item, or should be passed through to access the standard
15692 XEmacs keymap binding for this key combination.
15694 Much needed GCPROing.
15697 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15698 * menubar-x.c (menu_item_descriptor_to_widget_value):
15699 * menubar-x.c (restore_in_menu_callback):
15700 * menubar-x.c (x_popup_menu):
15701 * menubar-x.c (menu_move_up):
15702 * menubar-x.c (menu_move_down):
15703 * menubar-x.c (menu_move_left):
15704 * menubar-x.c (menu_move_right):
15705 * menubar-x.c (menu_select_item):
15706 * menubar-x.c (command_builder_operate_menu_accelerator):
15707 * menubar-x.c (menu_accelerator_junk_on_error):
15708 * menubar-x.c (command_builder_find_menu_accelerator):
15709 * menubar-x.c (Faccelerate_menu):
15711 Moved a whole bunch of code here that was previously in
15712 event-stream.c as described above. There is also code connected
15713 to the new standard of adding an accelerator to the beginning of
15714 menu items that don't have one as described above and below.
15717 * menubar.c (menu_parse_submenu_keywords):
15718 * menubar.c (Fmenu_find_real_submenu):
15719 * menubar.c (Fnormalize_menu_item_name):
15720 * menubar.c (syms_of_menubar):
15721 * menubar.c (vars_of_menubar):
15722 * menubar.c (complex_vars_of_menubar):
15724 a) Cleaned up a bunch of documentation and improved it.
15726 b) XEmacs now automatically adds an accelerator onto the beginning
15727 of any menu items that don't have one. I did this because there
15728 will inevitably be some menu items on the main menubar that don't
15729 have accelerators on them because the package that adds that
15730 particular menu item hasn't yet been fixed up to have accelerators
15731 in them and it looked rather strange to have some items with and
15732 some items without accelerators, especially since even in items
15733 without accelerators, you can, at least under windows, still
15734 access the item through an accelerator corresponding to the first
15735 character in the item's name. If people don't like this behavior,
15736 I can add a variable to turn it off optionally, but I'm not sure
15737 this is a good idea because we really do need to have accelerators
15738 on all of the menu items, and if a package doesn't like the
15739 accelerators being put on the first character, then it should put
15740 the accelerators where they belong.
15742 c) I made a behavior change, which is that the descriptor that
15743 specifies the text of the menu item, which formerly was just a
15744 string, can now also be an evaluated expression. This makes this
15745 descriptor parallel with all of the others, which could also be
15746 evaluated expressions. This also obviates the need for the
15747 keyword :label, which was previously listed in the documentation
15748 as unimplemented, and which was for the same purpose.
15753 * ntproc.c (new_child):
15754 * ntproc.c (sys_spawnve):
15755 * ntproc.c (find_child_console):
15756 * ntproc.c (sys_kill):
15757 Fixed compile warnings. By the way, this file should really go
15758 away entirely, and this will happen as soon as Kirill makes his
15759 final round of process cleanups, which affect the function
15763 * process-nt.c (struct nt_process_data):
15764 * process-nt.c (find_process_from_pid):
15765 * process-nt.c (send_signal_the_nt_way):
15766 * process-nt.c (enable_child_signals):
15767 * process-nt.c (find_child_console):
15768 * process-nt.c (send_signal_the_95_way):
15769 * process-nt.c (nt_finalize_process_data):
15770 * process-nt.c (ensure_console_window_exists):
15771 * process-nt.c (nt_create_process):
15772 * process-nt.c (nt_kill_child_process):
15773 * process-nt.c (nt_kill_process_by_pid):
15774 * process-nt.c (nt_open_network_stream):
15775 * process-nt.c (vars_of_process_nt):
15776 Copied over code from Emacs 20.5 to correctly send signals to sub-
15777 processes under Windows 95. Also added code to automatically
15778 create and hide console window when a sub-process is created under
15779 Windows 95, which obviates the need for the separate runemacs.exe
15780 executable, and finally implemented some variables that were
15781 implemented in Emacs 20.5, but previously not in XEmacs. These
15782 include mswindows- start-process-share-console and
15783 mswindows-start-process-inherit-error-mode. (Both of these only
15784 apply to Windows 95.)
15786 * regex.c (regex_compile): Fixed a compile warning.
15789 * select-msw.c (mswindows_own_selection):
15790 * select-msw.c (mswindows_get_foreign_selection):
15791 * select-msw.c (mswindows_disown_selection):
15792 * select-msw.c (console_type_create_select_mswindows):
15793 * select-msw.c (syms_of_select_mswindows):
15794 Cleaned up the file and implemented the device method
15795 selection_exists_p, which had accidentally been left out. Also
15796 removed four lisp functions that were remnants from before the
15797 time when the selection code was properly device abstracted.
15798 These functions are no longer needed because there are generic
15799 equivalents, and because they were added recently and don't exist
15800 in FSF Emacs, I don't think there's any problem with just deleting
15804 * sysdep.c (sys_subshell):
15805 Fixed a compile warning, although in this case there's probably
15806 something wrong with this code, and it ought to be looked into
15807 more thoroughly by somebody who understands it.
15810 * window.c (Fwindow_text_area_height):
15811 * window.c (Fwindow_width):
15812 * window.c (Fwindow_full_width):
15813 * window.c (Fwindow_pixel_width):
15814 * window.c (debug_print_window):
15815 * window.c (syms_of_window):
15816 Added functions window-text-area-height and window-full-width,
15817 which are functions for returning various width and height
15818 characteristics of a window. (One of these functions is necessary
15819 for making the file dialog box work correctly, and the other one
15820 was added for completeness.) Also added a table to the
15821 documentation for window-height which describes the entire scheme
15822 for accessing width and height characteristics of a window.
15824 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15826 * nt.c (fstat): Added a comment for another problem with
15827 non-encapsulated [f]stat(), reported by Adrian Aichner
15828 <aichner@ecf.teradyne.com>.
15830 2000-03-11 Andy Piper <andy@xemacs.org>
15832 * window.c (make_dummy_parent): initialize subwindow instance
15834 (Fset_window_configuration): zero extent_modiff.
15836 2000-03-10 Andy Piper <andy@xemacs.org>
15838 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15839 more changes can be triggered.
15840 (Fredisplay_frame): ditto.
15841 (Fredraw_device): ditto.
15842 (Fredisplay_device): ditto.
15843 (redisplay_frame): make non-static.
15844 (redisplay_frame): call update_frame_gutter_geometry outside of
15847 * gutter.h: declare update_frame_gutter_geometry.
15849 * redisplay.h: declare redisplay_frame.
15851 * gutter.c (update_frame_gutter_geometry): move geometry changes
15852 in update_frame_gutters here. Geometry changes can only occur
15853 outside of redisplay.
15854 (update_frame_gutters): remove geometry change code.
15855 (Fredisplay_gutter_area): make sure that we are in display when we
15856 update and that we have flushed any size changes.
15858 2000-03-11 Andy Piper <andy@xemacs.org>
15860 * alloc.c (pdump_dump_data): remove i & count shadows.
15862 2000-02-27 Mike Alexander <mta@arbortext.com>
15864 * sysdep.h: Declare pdump_read_file
15866 * sysdep.c (pdump_read_file): New function
15868 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15871 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15873 * lrecord.h: add `lrecord_type_pgsetenv'.
15875 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15877 * symsinit.h: declare (vars|syms)_of* functions.
15878 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15880 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15882 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15884 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15887 * emacs.c (main_1): Call postgres initialization code.
15889 * postgresql.h: New file. PostgreSQL RDBMS support.
15890 * postgresql.c: New file.
15892 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15894 * redisplay-output.c (redisplay_output_display_block): Disable
15897 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15899 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15900 (Fcanna_henkan_next): Ditto.
15901 (Fcanna_bunsetu_henkou): Ditto.
15902 (Fcanna_henkan_kakutei): Ditto.
15903 (Fcanna_henkan_end): Ditto.
15904 (Fcanna_henkan_quit): Ditto.
15905 (Fcanna_henkan_next): Set retun value correctly.
15906 (c2mu): Use unsigned char instead of signed char.
15908 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15910 * emacs.c (main_1): Always call syms_of_gui.
15911 * inline.c: include gui.h
15913 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15915 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15916 converted to Lisp_Object.
15917 (Qtop_bottom): New variable.
15918 (syms_of_redisplay): Initialize it.
15919 * redisplay.h (Vvisible_bell): Ditto.
15920 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15921 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15922 only flash top and bottom.
15924 2000-03-08 Andy Piper <andy@xemacs.org>
15926 * buffer.c (Frename_buffer): record new buffer name the right way.
15928 2000-03-08 Andy Piper <andy@xemacs.org>
15930 * glyphs.c (update_subwindow): increase hash depth so that widget
15931 items get picked up properly.
15933 * redisplay-output.c (compare_runes): increase hash depth so that
15934 widget items get picked up properly.
15936 2000-03-08 Andy Piper <andy@xemacs.org>
15938 * gutter.c (output_gutter): add some debug.
15940 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15941 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15942 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15944 * redisplay-output.c (compare_runes): use display_hash to
15945 determine if glyphs really are not the same.
15947 * glyphs.c (update_subwindow): check display_hash to see if
15948 anything really needs to be updated. If not then do
15949 nothing. Record the display_hash after updating.
15950 (image_instance_equal): compare the image_instance face also.
15952 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15954 * redisplay.h: Fix comment style.
15956 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15958 * consle-msw.h (struct mswindows_frame):
15959 Added new member paint_pending to indicate whether a WM_PAINT
15960 magic event has been queued for this frame.
15962 * event-msw.c (mswindows_drain_windows_queue):
15963 Don't queue a WM_PAINT magic event if one is already queued.
15964 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15966 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15968 2000-03-07 Didier Verna <didier@xemacs.org>
15970 * dired.c: #include `regex.h' after `sysfile.h'.
15972 2000-03-06 Martin Buchholz <martin@xemacs.org>
15974 * sound.c (init_nas_sound): Fix compiler warning.
15976 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15978 (MARK_STRUCT_AS_FREE):
15979 (MARK_STRUCT_AS_NOT_FREE):
15980 Make `gcc -fstrict-aliasing' work properly.
15982 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15984 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15985 (mswindows_delete_device): Call CoUnnitialize().
15987 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
15989 2000-02-25 <CraigL@DyCon.com>
15991 * process-nt.c: MinGW now has <shellapi.h>, but still needs
15994 * sysdep.c: This extern declaration for environ prevents MinGW
15995 from finding the variable in CRTDLL.DLL.
15997 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
15999 (SHGFI_EXETYPE): ..
16000 (WM_MOUSEWHEEL): ..
16001 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16003 (MMRESULT): Removed, now defined in cygwin's windows headers.
16005 (uid_t,gid_t,pid_t,ssize_t): ..
16006 (_timeb): Removed, MinGW defines both _timeb and timeb.
16007 (HAVE_H_ERRNO): Added.
16008 (HAVE_TZNAME): Added, configure is not detecting this.
16010 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16012 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16013 * syntax.c (syntax_match): Use it.
16015 * cmds.c: Import auto-fill-chars from FSF Emacs.
16016 (Vauto_fill_chars): New variables.
16017 (internal_self_insert): Check Vauto_fill_chars.
16019 Declare auto-fill-chars as a Lisp variable and initialize it.
16021 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16023 * fileio.c (Fmake_symbolic_link):
16025 Run handlers even if local machine doesn't have symlinks.
16027 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16029 * event-msw.c (mswindows_drain_windows_queue):
16030 Don't generate paint magic events for non-XEmacs frames.
16032 2000-03-05 Andy Piper <andy@xemacs.org>
16034 * redisplay.c (redisplay_frame): generate_displayable_area and
16035 friends assumes that we are not in GC, we therefore have to make
16036 sure that this doesn't happen.
16038 * gutter.c (calculate_gutter_size): generate_displayable_area
16039 assumes that we are not in GC, we therefore have to make sure that
16040 this doesn't happen.
16042 2000-03-05 Martin Buchholz <martin@xemacs.org>
16044 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16046 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16048 * redisplay.c (regenerate_window): Make sure we set a sane value
16049 for end_pos even if we jump out of the loop.
16050 (regenerate_window): Answer Ben's question :-).
16051 (start_end_of_last_line): Add may_error argument.
16052 (start_of_last_line):
16053 (end_of_last_line): Pass may_error = 0.
16054 (end_of_last_line_may_error): New function.
16055 (pixel_to_glyph_translation): Use it, so we don't crash in
16058 2000-03-04 Andy Piper <andy@xemacs.org>
16060 * window.h (struct window): add gutter_extent_modiff.
16062 * window.c (allocate_window): zero out gutter_extent_modiff.
16064 * redisplay.h: declare sync_display_line_structs.
16066 * redisplay.c (add_glyph_rune): add a better comment.
16068 * redisplay-output.c (sync_display_line_structs): made non-static.
16069 (compare_runes): remove unneccesary glyph cachel access.
16071 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16073 * gutter.c (output_gutter): don't output the gutter if extent
16074 changes only involve extents in buffers. use 4 sets of display
16076 (gutter_extent_signal_changed_region_maybe): new function. Mark
16077 extents in gutters as changed.
16078 (update_frame_gutters): use 4 sets of display lines.
16079 (reset_gutter_display_lines): ditto.
16080 (free_frame_gutters): ditto.
16081 (redraw_exposed_gutter): force output of gutters.
16083 * frame.h (struct frame): add 4 sets of gutter display lines.
16085 * extents.c: (extent_changed_for_redisplay): signal changes to
16086 extents in strings in the gutter as well as extents in buffers.
16088 2000-03-02 Andy Piper <andy@xemacs.org>
16090 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16092 * frame.c (Fmake_frame): make sure the gutters get initialized
16093 after the frame is visible.
16094 (set_frame_selected_window): re-arrange compilation macros a
16096 (change_frame_size_1): mark gutters changed.
16098 * device.c (Fset_device_class): mark gutters changed.
16100 2000-03-01 Andy Piper <andy@xemacs.org>
16102 * window.c (window_top_frame_gutter_height): deleted.
16103 (window_bottom_frame_gutter_height): ditto.
16104 (window_left_frame_gutter_height): ditto.
16105 (window_right_frame_gutter_height): ditto.
16106 (window_top_gutter_height): don't use them.
16107 (window_bottom_gutter_height): ditto.
16108 (window_left_gutter_width): ditto.
16109 (window_right_gutter_width): ditto.
16110 (Fsplit_window): ditto.
16111 (Fwindow_pixel_edges): don't use border dimensions here.
16113 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16114 (update_scrollbar_instance): ditto.
16116 * redisplay.c (generate_modeline): don't take gutters into account.
16117 (generate_modeline): ditto.
16118 (redisplay_frame): small gutter display optimization.
16120 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16122 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16123 gutters into account.
16125 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16126 for window position and type.
16128 * gutter.c (get_gutter_coords): fix for frame gutters.
16129 (update_frame_gutters): update frame geometry if the gutters have
16131 (init_frame_gutters): record current gutter geometries.
16133 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16135 (mswindows_widget_instantiate): ditto.
16137 * frame.h (struct frame): add current_gutter_bounds.
16139 * frame.c (change_frame_size_1): position window and minibuffer
16140 appropriately taking into account the frame gutters.
16142 * frame-x.c: (x_initialize_frame_size): take into account the
16145 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16147 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16149 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16151 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16153 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16155 * file-coding.c (reset_decoding_stream): Clear previous
16156 detection state when autodetect.
16158 2000-02-29 Didier Verna <didier@xemacs.org>
16160 * extents.c (set_extent_glyph_1): don't require extents to be
16163 2000-02-27 Andy Piper <andy@xemacs.org>
16165 * gutter.c (Fset_default_gutter_position): don't default left and
16166 right gutter visibility to t.
16167 (Fset_default_gutter_position): run
16168 default-gutter-position-changed-hook.
16169 (syms_of_gutter): add default-gutter-position-changed-hook.
16171 2000-02-26 Andy Piper <andy@xemacs.org>
16173 * specifier.c (Fmake_specifier): add gutter references.
16175 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16177 * lisp.h: declare Fvalid_plist_p.
16179 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16181 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16182 well as its visibility so that it gets reconstructed.
16183 (construct_window_gutter_spec): new function. Construct a string
16184 to be displayed in the gutter from a plist of strings. Take care
16185 to only use elements that are declared as visible.
16186 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16188 (gutter_validate): allow plists of strings in the specifier.
16189 (gutter_specs_changed): construct the real_gutter from the gutter
16190 specs using construct_window_gutter_spec.
16191 (gutter_visible_validate): gutter-visible is a new specifier type.
16192 (Fgutter_visible_specifier_p): new function for the new specifier.
16193 (syms_of_gutter): declare gutter-visible and
16194 Fgutter_visible_specifier_p.
16195 (specifier_type_create_gutter): intitalize new gutter-visible
16197 (reinit_specifier_type_create_gutter): ditto.
16198 (specifier_vars_of_gutter): use new specifier type for gutter
16200 (init_frame_gutters): construct real_gutter correctly.
16201 (Fgutter_specifier_p): beef up documentation.
16202 (Fgutter_size_specifier_p): ditto.
16204 * winslots.h: add real_gutter slots.
16206 2000-02-25 Andy Piper <andy@xemacs.org>
16208 * device-msw.c: Be kind to older cygwin versions. From Raymond
16209 Toy <toy@rtp.ericsson.se>.
16211 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16212 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16214 2000-02-25 Martin Buchholz <martin@xemacs.org>
16216 * elhash.c (MARK_OBJ): Practice macro hygiene.
16218 2000-02-24 Martin Buchholz <martin@xemacs.org>
16220 * miscplay.c: s/__inline__/inline/g;
16221 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16222 (get_device_compdc): INLINE ==> static inline
16223 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16224 find -name '*.h' | \
16225 xargs global-replace \
16226 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16228 2000-02-25 Andy Piper <andy@xemacs.org>
16230 * window.c (window_top_frame_gutter_height): new function.
16231 (window_top_window_gutter_height): ditto.
16232 (window_top_gutter_height): use them.
16233 (window_bottom_frame_gutter_height): new function.
16234 (window_bottom_window_gutter_height): ditto.
16235 (window_bottom_gutter_height): use them.
16236 (window_left_window_gutter_width): new function.
16237 (window_left_frame_gutter_width): ditto.
16238 (window_left_gutter_width): use them.
16239 (window_right_window_gutter_width): new function.
16240 (window_right_frame_gutter_width): ditto.
16241 (window_right_gutter_width): use them.
16242 (window_pixel_height): new function. calulate window pixel height
16243 with frame gutter involvement.
16244 (Fsplit_window): calculate new sizes taking frame gutters into
16246 (window_char_height_to_pixel_height): don't include frame gutters.
16247 (window_char_height): use window_pixel_height.
16248 (window_pixheight): rename from window_pixel_height.
16249 (change_window_height): use it.
16250 (window_pixel_height_to_char_height): don't include frame gutters.
16251 (window_char_width_to_pixel_width): ditto.
16253 2000-02-25 Andy Piper <andy@xemacs.org>
16255 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16258 2000-02-24 Martin Buchholz <martin@xemacs.org>
16260 * alloc.c (staticpro):
16261 (staticpro_nodump):
16266 (compact_string_chars):
16267 (pdump_dump_wired):
16268 Convert: if (foo) abort(); ==> assert (! foo);
16270 * eldap.c (Fldap_search_basic):
16274 Fix compiler warnings, and possible crashes if (random) return
16275 value were to be used.
16277 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16279 * device-msw.c: Workaround ResetDC failure.
16281 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16282 applying a devmode.
16284 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16285 (mswindows_text_width): Do not start printer page.
16287 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16289 * glyphs-msw.c: Added image methods to msprinter console and
16290 msprinter-specific image instantiation.
16292 2000-02-20 Mike Alexander <mta@arbortext.com>
16294 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16295 to avoid crashes when selection-sets-clipboard is on
16296 (mswindows_own_selection): ditto
16298 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16301 * redisplay-msw.c (get_frame_dc):
16302 (get_frame_compdc):
16304 * device-msw.c (mswindows_init_device):
16305 (mswindows_delete_device):
16306 (msprinter_init_device):
16307 (msprinter_delete_device):
16308 * frame-msw.c (mswindows_init_frame_1):
16309 (mswindows_delete_frame):
16310 (msprinter_init_frame_3):
16311 (msprinter_delete_frame): Move compatible DC to device object from
16312 frame object, for both mswindows and msprinter. Only one at a time
16313 is needed, it is a real waste to have one per frame!
16315 2000-02-23 Andy Piper <andy@xemacs.org>
16317 * glyphs.c: add dynamic width and height elements.
16318 (image_instance_equal): ditto.
16320 * glyphs-widget.c (widget_query_geometry): calculate width and
16321 height dynamically if required.
16322 (initialize_widget_image_instance): initialize dynamic dimensions.
16323 (widget_instantiate): pick-up dynamic dimensions.
16325 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16326 dynamic determination. Add appropriate macros.
16328 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16330 (WINDOW_GUTTER_SIZE): ditto.
16331 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16333 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16335 (get_frame_dc): ditto.
16337 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16340 2000-02-23 Martin Buchholz <martin@xemacs.org>
16342 * XEmacs 21.2.31 is released.
16344 2000-02-22 Ben Wing <ben@xemacs.org>
16346 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16348 2000-02-22 Andy Piper <andy@xemacs.org>
16350 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16352 2000-02-21 Mike Sperber <mike@xemacs.org>
16356 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16359 2000-02-21 Mike Sperber <mike@xemacs.org>
16361 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16363 2000-02-21 Martin Buchholz <martin@xemacs.org>
16365 * XEmacs 21.2.30 is released.
16367 2000-02-20 Martin Buchholz <martin@xemacs.org>
16369 Performance hacking.
16371 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16372 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16373 * emacs.c (main_1):
16375 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16376 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16377 * symeval.h (DEFVAR_SYMVAL_FWD):
16378 * symbols.c (guts_of_unbound_marker):
16379 Make all c_readonly objects also lisp_readonly and marked for life.
16380 * lrecord.h (struct lrecord_implementation):
16381 Document flags better.
16382 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16383 * lrecord.h (DECLARE_LRECORD):
16384 * lrecord.h (XSETRECORD):
16385 * lrecord.h (RECORDP):
16386 * lrecord.h (RECORD_TYPEP):
16387 * lrecord.h (RECORD_MARKER): New.
16388 * lrecord.h (error_check_*):
16389 * lrecord.h (CONCHECK_NONRECORD):
16390 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16391 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16392 * lrecord.h (set_lheader_implementation):
16393 * lrecord.h (enum lrecord_type): New.
16394 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16395 * alloc.c (disksave_object_finalization_1):
16396 * alloc.c (mark_object):
16397 * alloc.c (lrecord_type_index):
16398 * alloc.c (tick_lcrecord_stats):
16399 * alloc.c (Fgarbage_collect):
16400 * alloc.c (init_alloc_once_early):
16401 * alloc.c (pdump_load):
16402 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16403 * alloc.c (lrecord_type_index): Delete.
16404 Make lisp object type indexes be constant.
16405 Makes (byte-compile) 5% faster.
16406 Put all marker functions into their own array.
16407 Makes (garbage-collect) 5% faster.
16408 Optimize SYMBOL_VALUE_MAGIC_P.
16409 Makes (byte-compile) 2-3% faster.
16410 * config.h.in (gc_checking_assert): New.
16411 * alloc.c: Use gc_checking_assert().
16412 * .dbxrc: Make compatible with new object type implementation.
16413 * .gdbinit: Make compatible with new object type implementation.
16414 * alloc.c: Delete all symbols defined only for debugging, such as
16415 Lisp_Type_Vector and lrecord_charset.
16417 2000-02-21 Andy Piper <andy@xemacs.org>
16419 * gui-msw.c (Fmswindows_shell_execute): fix file location
16422 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16423 unshowing so that set_window_buffer doesn't undo
16424 kill_buffer_hook's hard work.
16426 * glyphs-widget.c (tab_control_query_geometry): don't count the
16427 first item when calculating geometry.
16429 * glyphs.c (map_subwindow): remove redundant code.
16430 (update_frame_subwindows): be more circumspect about when to
16433 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16434 when items haven't changed. Update faces if faces have changed as
16435 well as just the widget face.
16436 (x_tab_control_update): Update faces if faces have changed as well
16437 as just the widget face.
16439 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16441 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16443 (build_syscolor_string): Use mswindows_color_to_string to try to
16445 (mswindows_device_system_metrics): Reverse the foreground and
16446 background colors so that they match the documentation.
16448 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16449 they match the default Windows palette.
16450 (mswindows_color_to_string): New function.
16452 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16454 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16456 2000-02-18 Olivier Galibert <galibert@pobox.com>
16458 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16459 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16461 * symbols.c (init_symbols_once_early): Removed obsolete
16462 DATA_SEG_BITS related kludge.
16463 (defvar_magic): Ditto.
16465 * malloc.c: Removed obsolete DATA_SEG_BITS
16467 * mem-limits.h: Ditto.
16469 * Makefile.in.in: Removed obsolete HAVE_SHM
16472 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16474 * device-msw.c (mswindows_delete_device): Free DDE string
16477 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16479 * keymap.c (get_keyelt):
16480 * unexnt.c (unexec):
16481 * vm-limit.c (memory_warnings):
16482 * ntheap.c (recreate_heap):
16483 * ntheap.h (UNINIT_PTR):
16484 * select-msw.c (Fmswindows_get_clipboard):
16485 (Fmswindows_set_clipboard):
16486 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16488 * menubar-msw.c (displayable_menu_item):
16490 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16491 * sysdep.c (sys_subshell):
16492 * process-nt.c (nt_create_process):
16493 * nt.c (normalize_filename):
16494 (dostounix_filename):
16495 (unixtodos_filename):
16496 * ntproc.c (win32_executable_type):
16497 * ntplay.c (play_sound_data_1):
16499 * editfns.c (get_home_directory):
16500 * event-msw.c (struct winsock_stream):
16501 (mswindows_dde_callback):
16502 * device-msw.c (msprinter_init_device):
16503 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16505 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16506 mswindows_clear_toolbar were swapped!
16508 * objects-msw.c:(colormap_t):
16510 * emacs.c (struct standard_args): Fixed const jumble.
16512 * glyphs-widget.c (update_widget): Fixed comparison notation.
16514 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16516 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16517 __declspec(noreturn) syntax.
16519 2000-02-19 Martin Buchholz <martin@xemacs.org>
16521 * eldap.c (Fldap_open):
16522 (Fldap_search_basic):
16525 Use new coding system conversion macros.
16527 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16529 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16531 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16533 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16534 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16536 * eldap.c (Qadd, Qreplace): New constant symbols
16537 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16538 interruptions by XEmacs signals
16539 Remove unnecessary calls to slow_down_interrupts and
16540 speed_up_interrupts
16541 (Fldap_search_basic): Renamed from Fldap_search_internal
16542 Added new optional parameter VERBOSE that triggers the
16543 display of progress messages
16544 Remove unnecessary calls to slow_down_interrupts and
16545 speed_up_interrupts
16546 LDAP result code analysis rewritten
16547 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16548 (syms_of_eldap): Define the new symbols and functions
16551 2000-02-17 Martin Buchholz <martin@xemacs.org>
16553 * realpath.c: Determine PATH_MAX maximally portably.
16555 * insdel.c (bytecount_to_charcount): Optimize.
16556 The function used to be optimized for entirely ASCII sequences.
16557 Now it is optimized for successive characters from the same
16558 charset. This also wins big for _mostly_ ASCII sequences.
16560 * fileio.c (Ffile_truename): convert return from realpath() using
16561 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16562 - Rewrite GCPROing slightly.
16564 * sysdep.c (sys_open): Do filename conversion, like all other
16565 sys_* functions. Fixes bug:
16566 (let ((file-name-coding-system 'iso-8859-2))
16567 (write-region x y latin2-name))
16568 ==> writes filename using internal encoding.
16570 2000-02-18 Martin Buchholz <martin@xemacs.org>
16572 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16573 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16574 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16575 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16576 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16577 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16578 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16579 (CONST_IF_NOT_DEBUG): Delete.
16580 * alloc.c (this_one_is_unmarkable): Delete.
16581 (mark_object): Don't check for this_one_is_unmarkable. Use the
16582 c_readonly flag instead.
16583 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16585 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16587 * event-msw.c (mswindows_drain_windows_queue):
16588 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16589 away redundant repaint events.
16591 2000-02-17 Andy Piper <andy@xemacs.org>
16593 * redisplay.h: declare mark_redisplay_structs.
16595 * redisplay.c (redisplay_window):
16596 (redisplay_frame): don't check subwindows_state_changed.
16597 (mark_redisplay): mark gutters here.
16599 * glyphs.c: (instantiate_image_instantiator): always layout if we
16600 haven't done so already.
16601 (allocate_image_instance): don't mark as dirty.
16602 (update_subwindow): bind inhibit_quit.
16604 * gutter.c (mark_gutters): new function.
16606 * glyphs-x.c (x_update_widget): Always resize to get round a
16609 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16610 breaking absolutely everything.
16612 * gutter.h: declare mark_gutters.
16614 2000-02-16 Martin Buchholz <martin@xemacs.org>
16616 * XEmacs 21.2.29 is released.
16618 2000-02-15 Olivier Galibert <galibert@pobox.com>
16620 * fns.c (size_bit_vector): Fix computation of the size.
16622 2000-02-15 Martin Buchholz <martin@xemacs.org>
16624 * *.[ch]: Change CONST to const globally.
16625 find -name '*.[ch]' | \
16626 xargs global-replace \
16627 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16628 - Remove vestigial references to CONST_IS_LOSING
16630 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16632 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16633 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16634 events instead of dispatching them directly.
16635 (mswindows_handle_paint): New function to do repainting.
16636 (mswindows_wnd_proc):
16637 (emacs_mswindows_handle_magic_event): Call above function.
16639 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16641 * objects-msw.c (mswindows_create_font_variant): Return the new
16643 (initialize_font_instance): Get font metrics from the underlined
16644 variant of the font to cope with the case where the underlined
16645 font has a bigger descent.
16647 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16649 * gui.c (gui_item_accelerator): Return the first underlined
16650 character in item name.
16652 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16654 * lisp.h: Added Qprinter.
16656 * general.c (syms_of_general): Initialized it.
16658 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16660 (get_frame_compdc): Made inline.
16662 * console.h (struct console_methods): Added eject_page method.
16664 * frame.h: Added FRAME_DISPLAY_P and friends.
16665 Aligned backslahes in many macros in more readable fashion.
16666 Added page_number to struct frame, and an accessor macro
16669 * defice.h: Added DEVICE_DISPLAY_P and friends.
16671 * device.c (Fdevice_printer_p): Used these.
16673 * frame.c (allocate_frame_core): Initialize page number.
16674 (Fprint_job_page_number):
16675 (Fprint_job_eject_page): Implemented.
16677 * frame-msw.c (msprinter_eject_page): Added method.
16678 (msprinter_start_page): Added.
16680 * window.c (Fwindow_truncated_p): Fixed docstring.
16681 (Fwindow_last_line_visible_height): Implemented.
16683 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16685 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16687 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16689 * syntax.c (scan_words): Always advance at least one character.
16691 2000-02-13 Andy Piper <andy@xemacs.org>
16693 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16694 to make sure the glyph is in the cachels.
16696 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16697 global image instance flag.
16698 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16699 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16701 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16702 (Fset_image_instance_property): mark layout as changed.
16703 (invalidate_glyph_geometry_maybe): mark layout as changed.
16704 (glyph_width): use new NEEDS_LAYOUT macro.
16705 (glyph_ascent): ditto.
16706 (glyph_descent): ditto.
16707 (glyph_height): ditto.
16708 (image_instance_layout): mark layout as clean after laying out.
16709 (update_subwindow): don't mark layout as clean here.
16711 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16712 should no longer be needed.
16714 * glyphs-x.c (x_update_widget): sanitize asserts.
16715 (x_finalize_image_instance): sanitize assignment to widgets.
16717 * glyphs-widget.c (widget_instantiate): don't need to clear the
16720 2000-02-13 Martin Buchholz <martin@xemacs.org>
16722 * sysdep.c (getcwd): Use standard prototype.
16723 * sysdep.h (getcwd): Use standard prototype.
16725 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16726 (sequence, start, end).
16727 Remove redundant type checking.
16728 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16729 view of `caller-protects') to avoid a crash where the real fix was
16732 2000-02-12 Martin Buchholz <martin@xemacs.org>
16734 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16736 * s/sol2.h: Remove feature macro initialization.
16738 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16739 (vector_hash): New. Code from internal_hash.
16741 Fix up allocation subsystem comments.
16743 * config.h.in: Add __EXTENSIONS__ for Solaris.
16745 * systime.h (EMACS_GETTIMEOFDAY): New.
16746 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16747 Remove Solaris-specific code.
16748 Use void* for the (ignored) second arg for gettimeofday().
16750 * elhash.c (hash_table_hash): Implement it, finally.
16751 * elhash.c: Use hashcode_t.
16753 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16754 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16756 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16757 * fns.c (size_bit_vector):
16758 * alloc.c (size_vector):
16759 (make_vector_internal):
16760 (make_bit_vector_internal):
16761 (sweep_bit_vectors_1):
16762 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16764 2000-02-10 Martin Buchholz <martin@xemacs.org>
16766 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16767 Include strings.h to avoid warnings for bzero and strcasecmp.
16769 2000-02-10 Olivier Galibert <galibert@pobox.com>
16771 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16772 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16774 * fns.c (size_bit_vector): New. Declare bit vectors as a
16777 2000-02-10 Olivier Galibert <galibert@pobox.com>
16779 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16780 use a value field instead.
16781 (symbol_value_forward_forward): Use value field.
16782 (DEFVAR_SYMVAL_FWD): Use value field.
16783 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16784 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16785 (DEFVAR_CONST_INT): Ditto.
16786 (DEFVAR_BOOL): Ditto.
16787 (DEFVAR_CONST_BOOL): Ditto.
16788 (DEFVAR_INT_MAGIC): Ditto.
16789 (DEFVAR_BOOL_MAGIC): Ditto.
16791 * symbols.c (guts_of_unbound_marker): Use value field.
16792 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16793 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16795 * lisp.h: Declare dumpopaque and noninteractive1.
16797 * alloc.c (dumpopaque): Added.
16798 (pdump_dump_opaquevec): Added.
16799 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16800 (pdump_load): Reload opaque data. Sync noninteractive1 with
16803 2000-02-10 Andy Piper <andy@xemacs.org>
16805 * glyphs.c (image_instance_layout): if the size changes, mark it
16808 * redisplay-output.c (redisplay_output_layout): Update the
16810 (redisplay_output_subwindow): ditto.
16812 * glyphs.c (update_subwindow): make sure we reset flags for
16813 layouts as well as everything else.
16815 * glyphs-widget.c (layout_layout): don't need to set the instances
16818 2000-02-09 Martin Buchholz <martin@xemacs.org>
16820 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16821 not HAVE_DLOPEN, which is a lower-level thing.
16823 * .cvsignore: Ignore gmon.out
16825 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16827 * .cvsignore: Ignore portable dumper xemacs.dmp file
16829 2000-02-09 Andy Piper <andy@xemacs.org>
16831 * redisplay-output.c (redisplay_output_layout): be more clever
16832 about when we output based on the changed flags.
16834 * glyphs.h (struct image_instantiator_methods): add update_method.
16835 (struct Lisp_Image_Instance): add changed flags. Declare new
16836 macros for manipulating them.
16838 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16839 (image_instance_parent_glyph): find an image_instance's parent
16840 glyph or image_instance.
16841 (image_instance_layout): mark the size as changed.
16842 (set_image_instance_dirty_p): new function. mark an image
16843 instance, plus all of its parents, as dirty.
16844 (Fset_image_instance_property): use it.
16845 (Fglyph_animated_timeout_handler): use it.
16846 (update_subwindow): call update_widget and device methods for
16847 update_subwindow. Mark all changed flags as clean.
16848 (Fresize_subwindow): mark size as changed.
16850 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16852 (x_update_subwindow): only resize subwindows here.
16853 (x_update_widget): new function. Update all changed properties of
16855 (x_resize_subwindow): deleted.
16856 (x_widget_set_property): deleted.
16857 (x_progress_gauge_set_property): deleted.
16858 (x_progress_gauge_update): new function. Implement recorded
16860 (x_tab_control_update): ditto.
16861 (x_tab_control_set_property): deleted.
16862 (console_type_create_glyphs_x): declare new functions.
16863 (image_instantiator_format_create_glyphs_x): ditto.
16865 * glyphs-widget.c (widget_set_property): mark text changed.
16866 (update_widget): new function. Update properties of a widget.
16867 (widget_instantiate): for layouts make sure we set their
16868 children's parent correctly.
16869 (tab_control_set_property): new function. Record changes that will
16870 take place under redisplay's control.
16871 (progress_gauge_set_property): ditto.
16872 (image_instantiator_progress_guage): declare new functions.
16873 (image_instantiator_tab_control): ditto.
16875 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16877 (mswindows_update_widget): new function. Update all properties on
16878 a widget that have changed.
16879 (mswindows_button_update): new function. Update a button's set
16881 (mswindows_tab_control_update): new function. Update the items in
16883 (mswindows_tab_control_set_property): deleted.
16884 (mswindows_progress_gauge_update): new function. Update the
16885 progress gauge's progress.
16886 (mswindows_widget_set_property): deleted. This is all done
16887 asynchronously now.
16888 (mswindows_progress_gauge_set_property): ditto.
16889 (console_type_create_glyphs_mswindows): declare new methods.
16890 (image_instantiator_format_create_glyphs_mswindows): ditto.
16892 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16893 (msprinter_set_frame_properties): ditto.
16895 * console.h (struct console_methods): Add update_widget_method.
16897 2000-02-09 Andy Piper <andy@xemacs.org>
16899 * gui-msw.c (Fmswindows_shell_execute): Make
16900 mswindows-shell-execute industrial strength.
16902 2000-02-08 Martin Buchholz <martin@xemacs.org>
16904 * lrecord.h: Make macro argument `props' match member function `plist'.
16907 * fns.c (Fremprop):
16908 * fns.c (Fobject_plist):
16911 Object property list frobbing cleanup.
16912 - Allow any lisp object (compared with `eq'), not just symbols, as
16913 keys in object plists.
16914 - Move symbol plist frobbing into symbols.c, where it belongs.
16915 - Move string plist frobbing into alloc.c, where it belongs.
16916 - Everything's an lrecord now, so no need to test for symbolp, etc.
16917 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16919 * extents.c: Reorder code to remove declarations.
16921 * frame.h (store_in_alist): Remove useless declaration.
16923 2000-02-07 Martin Buchholz <martin@xemacs.org>
16925 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16926 * config.h.in: Add HAVE_XCONVERTCASE.
16928 2000-02-07 Andy Piper <andy@xemacs.org>
16930 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16931 it breaks many things.
16933 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16935 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16936 actually can start a common comment type.
16937 * src/syntax.h (SYNTAX_END_P): ditto for end.
16939 2000-02-07 Martin Buchholz <martin@xemacs.org>
16941 * XEmacs 21.2.28 is released.
16943 2000-02-06 Martin Buchholz <martin@xemacs.org>
16945 * event-Xt.c (x_keysym_to_character): New.
16946 (maybe_define_x_key_as_self_inserting_character): New.
16947 (x_has_keysym): New.
16948 Auto-define all keys on the keyboard as self-insert-key.
16950 2000-02-02 Martin Buchholz <martin@xemacs.org>
16952 * menubar.c (vars_of_menubar): A small code simplification.
16954 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16957 * ExternalClient.c:
16958 * EmacsShell-sub.c:
16961 Use consistent style for specifying X resources.
16963 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16964 This makes (dontusethis-set-symbol-value-handler) actually usable.
16966 * lrecord.h (lrecord_decription_type):
16967 * alloc.c (pdump_register_sub):
16970 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16971 Comply with XEmacs coding style.
16972 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16973 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16975 * keymap.c (Faccessible_keymaps):
16976 Make (accessible-keymaps map "\C-h") do the Right Thing.
16977 Make (accessible-keymaps map []) do the Right Thing.
16978 Make (accessible-keymaps map "") do the Right Thing.
16979 (check_keymap_definition_loop): New function.
16980 (keymap_store_internal): Keep luser from shooting self in foot,
16981 via (define-key ctl-x-4-map "p" global-map).
16982 Remove fullness slot from struct Lisp_Keymap, since hash tables
16984 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16986 2000-01-30 Martin Buchholz <martin@xemacs.org>
16988 * redisplay.c (init_redisplay): Fix small memory leak.
16990 * elhash.c (pdump_reorganize_hash_table):
16991 Rename from reorganize_hash_table. Change prototype.
16992 Reuse the original memory for hentries. Save 100k.
16993 * alloc.c (PDUMP_READ): new macro.
16994 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
16995 * alloc.c: No need to #ifndef before #undef.
16997 * print.c: Allow debug_print() to print readably by modifying
16998 debug_print_readably. Use consistent variable names.
17000 * .dbxrc: Try to get things to work even if stopped in a function
17001 without source available by explicitly specifying source files.
17002 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17004 * unexnt.c (_start): Removed bogus code which caused loading heap
17005 from differrent executable file.
17006 Removed bogus assignment to _fmode, which caused inconsistencies.
17008 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17010 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17011 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17012 Do not preliminary `#define signal sigset'.
17014 * systime.h: Do not prototype environ on windows nt and cygwin,
17015 this conflicts with system header.
17017 * syssignal.h: Use correct define for WINDOWSNT
17019 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17020 with system header.
17022 * sysdep.c (near start of file): Fixed commentary and rearranged
17023 ifdefs in readable order.
17024 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17027 (end_of_data): Do not compile in if using PDUMP.
17029 * symsinit.h: Prototyped vars_of_nt().
17031 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17032 (find_child_console): Use it.
17033 (sys_kill): Use it.
17035 * ntheap.h: Do not extern os_subtype.
17037 * ntheap.c (cache_system_info): Do not cache unneeded:
17038 nt_major_version, nt_minor_version and os_subtype.
17039 (recreate_heap): Do not compile in when PDUMPing.
17041 * nt.c (geteuid and friends): Use the new varibale
17042 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17043 (init_user_info): Removed the above mentioned hackery.
17044 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17045 stat has been fixed in the C runtime.
17046 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17048 * file-coding.c (struct file_coding_dump): Do not define
17049 ucs_to_mule_table in the struct if not MULE.
17050 (struct struct lrecord_description fcd_description_1): Do not dump
17053 * emacs.c (main_1): Call vars_of_nt().
17054 (right before Fdump_emacs_data): Don't need lastfile if using both
17055 portabe dumper and system malloc.
17057 * alloc.c (Fmemory_limit): Conditionalized out.
17058 (pdump): Use OPEN_BINARY for the portable dump file.
17059 (pdump_load): Ditto.
17061 2000-02-02 Mike Alexander <mta@arbortext.com>
17063 * nt.c (convert_time): Set tm_isdst before calling mktime and
17064 avoid calling it at all if the compiler supports 64 bit integers.
17065 Also initialize utc_base_ft before using it.
17067 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17069 * frame.c (change_frame_size_1): Take f->internal_border_width
17070 into consideration when calculating the width of the frame.
17072 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17074 * window.c (frame_min_height):
17075 (frame_size_valid_p):
17076 (frame_pixsize_valid_p): Added.
17077 (check_frame_size): Generalized.
17079 * window.h: Prototyped the above.
17082 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17083 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17084 Deleted Vwin32_* and Vbinary_process_* unused variables.
17086 * device-msw.c (msprinter_init_device): Do not get printer font
17087 list; Added DEVMODE functions.
17089 * frame-msw.c: Added lots of printer code.
17091 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17094 * console-msw.h: Added more msprinter device private slots.
17096 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17098 * event-msw.c (key_needs_default_processing_p): Added.
17099 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17101 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17103 * glyphs.c (image_instance_layout): Mark image instance as clean
17105 (glyph_dirty_p): Removed redundant function.
17106 (invalidate_glyph_geometry_maybe): Added.
17107 (update_glyph_cachel_data): Call it.
17109 * glyphs.h: Prototyped it.
17111 * redisplay.c (add_glyph_rune): Call it.
17112 (redisplay_window): Reset glyphs cachels when frame faces have
17113 changed, thus forcing recomputation of built-in border glyphs.
17115 2000-01-30 Martin Buchholz <martin@xemacs.org>
17117 * Makefile.in.in: Make portable dumper and purify play well together.
17118 Add imperfect, but better than nothing, support for pdump.
17119 Remove xemacs.dmp when temacs is re-generated.
17120 Don't ignore errors when dumping xemacs.
17122 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17124 2000-01-28 Andy Piper <andy@xemacs.org>
17126 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17127 (setup_normal_frame): ditto.
17128 (setup_frame_without_minibuffer): ditto.
17129 (setup_minibuffer_frame): ditto.
17130 (delete_frame_internal): ditto.
17131 (Fmake_frame_invisible): ditto.
17132 (Ficonify_frame): ditto.
17134 * window.h: change Fset_window_buffer signature.
17136 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17137 (Fset_window_buffer): allow recording of buffer if the window is
17138 the selected window.
17139 (window_loop): Use new Fset_window signature.
17141 2000-01-23 Daniel Pittman <daniel@danann.net>
17143 * config.h.in: Added template for `HAVE_ATHENA_3D'
17145 2000-01-29 Andy Piper <andy@xemacs.org>
17147 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17149 * gutter.c (output_gutter): Don't output if the window isn't live.
17151 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17153 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17154 of 01/12/00: Moved SetFocus back here where it belongs.
17156 2000-01-23 Andy Piper <andy@xemacs.org>
17158 * s/cygwin32.h: declare printer things.
17160 2000-01-26 Andy Piper <andy@xemacs.org>
17162 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17165 2000-01-24 Andy Piper <andy@xemacs.org>
17167 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17168 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17170 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17172 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17174 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17176 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17177 (mswindows_output_display_block): Avoid local shadows.
17179 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17180 (mswindows_enqueue_mouse_button_event): ditto.
17181 (mswindows_handle_gui_wm_command): remove declaration.
17183 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17186 * console-msw.h: Avoid shadows.
17187 (mswindows_get_toolbar_button_text):
17188 (emacs_mswindows_create_stream_pair):
17189 (emacs_mswindows_delete_stream_pair):
17190 (mswindows_handle_toolbar_wm_command): declare.
17192 * device-msw.c (build_syscolor_string): Avoid shadows.
17194 2000-01-23 Andy Piper <andy@xemacs.org>
17196 * glyphs-widget.c (widget_instantiate): reverse the items for
17197 layouts so that children are in the expected order.
17199 2000-01-28 Martin Buchholz <martin@xemacs.org>
17201 * ralloc.c: safe_bcopy ==> memmove
17202 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17203 * s/msdos.h: Remove BCOPY macros.
17204 * insdel.c (gap_right): Remove BCOPY conditional code.
17205 * insdel.c (gap_left): Remove BCOPY conditional code.
17206 XEmacs demands a working ANSI C compiler - hence memmove.
17208 * regex.c (regex_compile): Remove accidental use of trigraphs.
17210 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17212 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17215 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17217 * event-msw.c (mswindows_drain_windows_queue): Added the
17219 (mswindows_need_event): Commented the call to
17220 mswindows_drain_windows_queue().
17221 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17224 * console-msw.h: Moved a few function prototypes here from
17227 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17228 parameter from unsigned short to unsigned long.
17229 (Fmswindows_shell_execute): Added return value.
17231 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17233 * sysdep.c (init_system_name):
17234 process-unix.c (unix_canonicalized_host_name):
17235 Don't call freeaddrinfo() if getaddrinfo() fails.
17237 * process-unix.c (unix_open_unix_network_stream):
17238 Moved the code to get a port # into address loop.
17240 2000-01-27 Martin Buchholz <martin@xemacs.org>
17242 * buffer.c (reinit_vars_of_buffer):
17243 The right place to initialize conversion_in_dynarr and
17244 conversion_out_dynarr.
17246 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17248 * process-unix.c (unix_canonicalize_host_name): Muleize.
17249 (unix_open_network_stream): Muleize.
17251 * buffer.h: Fix up prototypes for ralloc.c functions.
17253 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17254 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17255 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17256 instead of gethostbyname()
17257 * process-unix.c: In unix_canonicalize_host_name() and
17258 unix_open_network_stream(), add code to use getaddrinfo()
17259 instead of gethostbyname().
17261 2000-01-27 Daniel Pittman <daniel@danann.net>
17263 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17264 libs when built with flat Athena.
17266 2000-01-27 Martin Buchholz <martin@xemacs.org>
17268 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17269 Use coding standards for function prototypes.
17271 2000-01-25 Martin Buchholz <martin@xemacs.org>
17273 * dialog-msw.c (push_lisp_string_as_unicode):
17274 * doc.c (unparesseuxify_doc_string):
17275 * dired.c (Fuser_name_completion_1):
17276 * dired.c (Fuser_name_all_completions):
17277 * dired.c (free_user_cache):
17278 * dired.c (user_name_completion):
17279 * console-x.c (get_display_arg_connection):
17280 * minibuf.c (clear_echo_area_internal):
17281 * minibuf.c (echo_area_append):
17282 * eldap.c (Fldap_open):
17283 * eldap.c (Fldap_search_internal):
17284 * frame-x.c (x_set_frame_text_value):
17285 * frame-x.c (x_set_frame_properties):
17286 * frame-x.c (x_create_widgets):
17287 * redisplay-tty.c (term_get_fkeys_1):
17288 * objects-x.c (x_parse_nearest_color):
17289 * objects-x.c (x_valid_color_name_p):
17290 * objects-x.c (x_initialize_font_instance):
17291 * objects-x.c (x_list_fonts):
17292 * objects-x.c (x_find_charset_font):
17293 * tooltalk.c (Fadd_tooltalk_message_arg):
17294 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17295 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17296 * process-unix.c (unix_create_process):
17297 * ntproc.c (sys_spawnve):
17298 * sound.c (Fplay_sound_file):
17299 * sound.c (Fplay_sound):
17300 * buffer.c (init_initial_directory):
17301 * buffer.c (init_buffer):
17302 * editfns.c (init_editfns):
17303 * editfns.c (Ftemp_directory):
17304 * editfns.c (Fuser_full_name):
17305 * editfns.c (uncache_home_directory):
17306 * editfns.c (get_home_directory):
17307 * editfns.c (Fuser_home_directory):
17308 * editfns.c (Fformat_time_string):
17309 * editfns.c (Fcurrent_time_string):
17310 * gui-x.c (button_item_to_widget_value):
17311 * database.c (Fopen_database):
17312 * event-Xt.c (x_to_emacs_keysym):
17313 * event-Xt.c (x_event_to_emacs_event):
17314 * event-Xt.c (describe_event_window):
17315 * event-msw.c (mswindows_wnd_proc):
17316 * glyphs-eimage.c (jpeg_instantiate):
17317 * glyphs-eimage.c (gif_instantiate):
17318 * glyphs-eimage.c (png_instantiate):
17319 * glyphs-eimage.c (tiff_instantiate):
17320 * glyphs-x.c (xbm_instantiate_1):
17321 * glyphs-x.c (x_xbm_instantiate):
17322 * glyphs-x.c (x_xface_instantiate):
17323 * glyphs-x.c (autodetect_instantiate):
17324 * glyphs-x.c (cursor_font_instantiate):
17325 * glyphs-x.c (x_widget_instantiate):
17326 * glyphs-x.c (x_widget_set_property):
17327 * glyphs-x.c (x_widget_property):
17328 * glyphs-x.c (BUILD_GLYPH_INST):
17329 * print.c (write_string_to_stdio_stream):
17330 * print.c (output_string):
17331 * print.c (Falternate_debugging_output):
17332 * print.c (Fexternal_debugging_output):
17333 * glyphs-msw.c (extract_xpm_color_names):
17334 * glyphs-msw.c (mswindows_xpm_instantiate):
17335 * glyphs-msw.c (bmp_instantiate):
17336 * glyphs-msw.c (resource_name_to_resource):
17337 * glyphs-msw.c (mswindows_resource_instantiate):
17338 * glyphs-msw.c (xbm_instantiate_1):
17339 * glyphs-msw.c (mswindows_xbm_instantiate):
17340 * glyphs-msw.c (mswindows_xface_instantiate):
17341 * glyphs-msw.c (mswindows_widget_instantiate):
17342 * glyphs-msw.c (add_tree_item):
17343 * glyphs-msw.c (add_tab_item):
17344 * glyphs-msw.c (mswindows_combo_box_instantiate):
17345 * glyphs-msw.c (mswindows_widget_property):
17346 * glyphs-msw.c (mswindows_combo_box_property):
17347 * glyphs-msw.c (mswindows_widget_set_property):
17348 * console.c (stuff_buffered_input):
17349 * objects-msw.c (mswindows_initialize_color_instance):
17350 * objects-msw.c (mswindows_valid_color_name_p):
17351 * objects-msw.c (mswindows_list_fonts):
17352 * objects-msw.c (mswindows_font_instance_truename):
17353 * bytecode.c (optimize_compiled_function):
17354 * select-x.c (symbol_to_x_atom):
17355 * select-x.c (x_atom_to_symbol):
17356 * select-x.c (hack_motif_clipboard_selection):
17357 * select-x.c (selection_data_to_lisp_data):
17358 * select-x.c (lisp_data_to_selection_data):
17359 * select-x.c (Fx_get_cutbuffer_internal):
17360 * select-x.c (Fx_store_cutbuffer_internal):
17361 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17362 * buffer.h (TO_INTERNAL_FORMAT): New function.
17363 * emacs.c (make_arg_list_1):
17364 * emacs.c (make_argc_argv):
17365 * emacs.c (main_1):
17366 * emacs.c (Fdump_emacs):
17367 * emacs.c (split_string_by_emchar_1):
17372 * device-x.c (x_init_device):
17373 * device-x.c (Fx_valid_keysym_name_p):
17374 * device-x.c (Fx_get_font_path):
17375 * device-x.c (Fx_set_font_path):
17376 * glyphs.c (bitmap_to_lisp_data):
17377 * glyphs.c (pixmap_to_lisp_data):
17378 * alloc.c (make_ext_string): Use coding system arguments. Update
17380 * alloc.c (build_string):
17381 * callproc.c (child_setup):
17382 * callproc.c (init_callproc):
17383 * fileio.c (lisp_strerror):
17384 * fileio.c (directory_file_name):
17385 * fileio.c (Fexpand_file_name):
17386 * fileio.c (Ffile_truename):
17387 * fileio.c (Fsysnetunam):
17388 * fileio.c (Fdo_auto_save):
17389 * sysdep.c (sys_readdir):
17390 * tests.c: New file. Allow adding C tests.
17391 Replace GET_* macros with a more comprehensible and flexible
17392 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17394 Any coding system can be used to do format conversion.
17395 Eliminate enum external_data_format.
17396 Eliminate convert_to_external_format.
17397 Eliminate convert_to_internal_format.
17398 Make sure file-name, keyboard, terminal, and ctext are always
17399 defined as coding systems or aliases. Make
17400 file-name-coding-system, terminal-coding-system, and
17401 keyboard-coding-system magical variables that are equivalent to
17402 defining the corresponding coding system aliases.
17404 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17405 * file-coding.c (Fcoding_system_alias_p): New function.
17406 * file-coding.c (Fcoding_system_aliasee): New function.
17407 * file-coding.c (append_suffix_to_symbol): New function.
17408 * file-coding.c (dangling_coding_system_alias_p): New function.
17409 * file-coding.c (Ffind_coding_system):
17410 * file-coding.c (Fcopy_coding_system):
17411 * file-coding.c (encode_coding_no_conversion):
17412 * file-coding.c (syms_of_file_coding):
17413 * file-coding.c (vars_of_file_coding):
17414 Rewrite coding system alias code.
17415 Allow nested aliases, like symbolic links.
17416 Allow redefinition of coding system aliases.
17417 Prevent existence of dangling coding system aliases.
17419 * dired.c (Fuser_name_completion_1):
17420 * dired.c (Fuser_name_all_completions):
17421 A crash would happen if user did QUIT in the middle of building
17422 user_name_cache. Remove redundant code in mainline and unwind_protect.
17425 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17427 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17428 an unsigned char *. Update all callers.
17430 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17432 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17434 2000-01-25 Martin Buchholz <martin@xemacs.org>
17436 * elhash.c (hentry_description): Use more portable definition.
17437 (resize_hash_table): Initialize new hentries using
17438 xnew_array_and_zero, thereby simplifying the code.
17440 * mule-charset.c (make_charset): Make sure entire object is
17441 initialized, to avoid Purify warnings.
17443 * alloc.c (resize_string): Fix unlikely crash with big strings.
17445 2000-01-24 Martin Buchholz <martin@xemacs.org>
17447 * realpath.c (xrealpath):
17448 Don't call getwd().
17450 2000-01-25 Martin Buchholz <martin@xemacs.org>
17452 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17454 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17456 * unexelfsgi.c (unexec): Change the way we decide which segment
17457 should be extended.
17459 Assumption that .bss section should be outside the PT_LOADable
17460 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17461 it's present) is inside the 'data' segment. This would fail the
17462 test which was used to find a segment to grow and cover new
17463 heap. Instead of this assumption, I created another one - on IRIX
17464 the segment to grow should start below .bss and it's address
17465 should extent above the end of .bss. Once this segment is
17466 identified, it's grown to accommodate the new heap and new
17467 zero-length .bss section is added at the end of .data2.
17469 2000-01-25 Martin Buchholz <martin@xemacs.org>
17471 * eval.c (Feval): Wrong number of arguments should use original
17472 function, not the indirect_function version of it.
17474 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17476 * glyphs-x.c (x_button_instantiate): Don't add image if
17477 it is not a pixmap.
17478 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17481 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17483 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17485 (DEFVAR_INT_MAGIC): Ditto.
17486 (DEFVAR_BOOL_MAGIC): Ditto.
17487 * glyphs.h: Reindent backslash.
17489 2000-01-24 Martin Buchholz <martin@xemacs.org>
17491 * glyphs-widget.c (layout_query_geometry):
17492 (layout_layout): Use correct types for gheight, gwidth.
17494 2000-01-24 Martin Buchholz <martin@xemacs.org>
17496 * EmacsManager.c (QueryGeometry): Purified.
17498 2000-01-23 Martin Buchholz <martin@xemacs.org>
17500 * alloc.c (make_float): Make sure entire object is initialized, to
17501 avoid Purify warnings.
17502 (pdump_register_sub): Remove useless assignment.
17503 (pdump): Use xmalloc, not malloc.
17504 (pdump_load): Use xmalloc, not malloc.
17506 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17513 * sysdep.c: Removed redundant #include <windows.h>
17515 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17517 * frame.c (delete_frame_internal): Do not delete device when its
17518 implementation so declares.
17519 (delete_frame_internal): Set device selected frame to nil when
17520 last frame goes away.
17522 * device-msw.c (msprinter_device_system_metrics): Implemented.
17523 (mswindows_device_system_metrics): Added 'device-dpi property.
17525 * device.c: (Fdevice_printer_p): Added.
17526 Added 'offset-workspace device metric.
17528 * console.h (device_metrics): Declared DM_offset_workspace.
17530 2000-01-23 Martin Buchholz <martin@xemacs.org>
17532 * fileio.c (Ffile_truename): Remove pointless and confusing
17533 initialization of elen.
17535 * glyphs-widget.c: Compiler warning fixes.
17537 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17539 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17540 instead of a Lisp_Object as argument to make it consistent with
17541 the other LIVE_P macros.
17542 (CHECK_LIVE_PROCESS): New macro.
17544 * process.c: Declare Qprocess_live_p.
17545 (Fprocess_live_p): New function.
17546 (create_process): Use PROCESS_LIVE_P.
17547 (read_process_output): Ditto.
17548 (set_process_filter): Ditto.
17549 (Fdelete_process): Ditto.
17550 (kill_buffer_processes): Ditto
17551 (process_send_signal): Use CHECK_LIVE_PROCESS.
17552 (Fprocess_input_coding_system): Check whether process is still
17553 alive (fix PR#1061).
17554 (Fprocess_output_coding_system): Ditto.
17555 (Fprocess_coding_system): Ditto.
17556 (Fset_process_input_coding_system): Ditto.
17557 (Fset_process_output_coding_system): Ditto.
17559 2000-01-23 Andy Piper <andy@xemacs.org>
17561 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17564 * glyphs.c (mark_image_instance): take into account changed
17565 image_instance format.
17566 (image_instance_equal): ditto.
17567 (image_instance_hash): ditto.
17569 * glyphs-widget.c (widget_instantiate): Incorporate layout
17570 instantiation here. Delay layout of the layout until later.
17571 (layout_instantiate): deleted.
17572 (layout_query_geometry): new function. get the geometry of a
17574 (layout_layout): layout a layout dynamically.
17575 (image_instantiator_widget): New function - splitting up
17576 image_instantiator_format_create_glyphs_widget for netwinder
17578 (image_instantiator_buttons):
17579 (image_instantiator_edit_fields):
17580 (image_instantiator_combo_box):
17581 (image_instantiator_scrollbar):
17582 (image_instantiator_progress_guage):
17583 (image_instantiator_tree_view):
17584 (image_instantiator_tab_control):
17585 (image_instantiator_labels):
17586 (image_instantiator_layout): ditto.
17587 (image_instantiator_format_create_glyphs_widget): Call preceding
17590 2000-01-22 Martin Buchholz <martin@xemacs.org>
17592 * process.c (Fset_process_coding_system):
17593 * device-x.c (Fx_keysym_hash_table):
17596 * lstream.c (Lstream_write): Return documented value, not 0.
17598 * fileio.c (directory_file_name):
17599 (Fsubstitute_in_file_name):
17600 (Fsubstitute_insert_file_contents_internal):
17601 (Fwrite_region_internal):
17606 Remove vestigial APOLLO-conditional code.
17608 2000-01-21 Martin Buchholz <martin@xemacs.org>
17610 * getpagesize.h: Add guard macros.
17611 * libsst.h: Add guard macros.
17612 * libst.h: Add guard macros.
17613 * line-number.h: Add guard macros.
17614 * ndir.h: Add guard macros.
17615 * sysfloat.h: Add guard macros.
17616 * sysfile.h: Add guard macros.
17617 * sysproc.h: Add guard macros.
17618 * syswait.h: Add guard macros.
17619 * xintrinsic.h: Add guard macros.
17620 * xintrinsicp.h: Add guard macros.
17621 * xmmanager.h: Add guard macros.
17622 * xmmanagerp.h: Add guard macros.
17623 * xmprimitive.h: Add guard macros.
17624 * xmu.h: Add guard macros.
17625 * gpmevent.h: Add copyright statement. Add guard macros.
17626 * miscplay.h: Add guard macros.
17627 * *.h: Use consistent C-standards-approved guard macro names.
17629 * opaque.c (make_opaque): Switch parameter order.
17630 * opaque.h (make_opaque): Switch parameter order.
17631 Update all callers.
17632 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17634 * config.h.in (type_checking_assert): Added.
17635 (bufpos_checking_assert): Added.
17637 2000-01-21 Martin Buchholz <martin@xemacs.org>
17639 * alloc.c: Harmless pdump changes.
17641 - spell alignment correctly.
17642 * sysdep.c: Use countof()
17644 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17646 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17647 initially_selected_for_input() console method, default to 0.
17648 (semi_canonicalize_console_connection): Try to delegate to
17649 canonicalize_console_connection if no such console method.
17650 (canonicalize_console_connection): Vice versa.
17651 (print_console): Do not print nil connection.
17653 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17654 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17655 (XDEVIMPF_FRAMELESS_OK): Added.
17656 (CONSOLE_INHERITS_METHOD): Added.
17658 * console-msw.c (mswindows_canonicalize_console_connection):
17660 (mswindows_canonicalize_device_connection): Added.
17662 * console-msw.h (struct msprinter_device): Added this struct and
17664 (mswindows_device): Made fontlist a lisp object.
17666 * device.c (semi_canonicalize_device_connection): Try to delegate
17667 to canonicalize_device_connection if no such console method.
17668 (canonicalize_device_connection): Vice versa.
17669 (print_device): Do not print nil connection.
17671 * device-msw.c (mswindows_init_device): Call InitCommonControls
17673 (mswindows_delete_device): Removed fontlist deallocation.
17674 (mswindows_mark_device): Added.
17676 * events.c (event_equal): Added abort() at unreached code.
17677 (event_hash): Ditto.
17679 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17680 fallback tags of Windows devices.
17682 * general.c (syms_of_general): Initialized Qmsprinter.
17684 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17685 of fallback tags of Windows devices.
17687 * lisp.h: Declared Qmsprinter.
17689 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17691 (mswindows_list_fonts): Ditto.
17692 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17693 that it can be used by both mswindows and msprinter devices.
17694 (initialize_font_instance): Added.
17695 (mswindows_initialize_font_instance): Use it.
17696 (msprinter_initialize_font_instance): Added.
17698 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17699 and implementation flags check.
17700 (redisplay_without_hooks): Changed the call to the above.
17701 (Fredraw_device): Ditto.
17702 (Fredisplay_device): Ditto.
17704 * redisplay-msw.c (get_frame_dc): Implemented.
17705 (get_frame_compdc): Implemented.
17706 (many functions): Use the two functions above to get device
17707 contexts, ether for a window or a printer.
17709 2000-01-21 Olivier Galibert <galibert@pobox.com>
17711 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17712 initialization here.
17713 (init_symbols_once_early): Call it.
17714 * emacs.c (main_1): Call it.
17715 * symsinit.h: Declare it.
17717 2000-01-19 Olivier Galibert <galibert@pobox.com>
17719 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17721 (pdump_backtrace): Ditto.
17722 (pdump_register_object): Ditto. Cleanup use of the pointers.
17723 (pdump_get_entry): Abort if trying to register a null pointer.
17724 (pdump_dump_data): Cleanup types when relocating.
17725 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17726 (pdump_dump_rtables): Remove bad casts.
17727 (pdump_load): Cleanup relocation w.r.t union type. Use a
17728 Lisp_Object instead of a EMACS_INT for the hashtable
17731 2000-01-20 Martin Buchholz <martin@xemacs.org>
17733 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17735 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17737 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17739 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17741 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17743 * faces.h (FACE_STRIKETHRU_P): Added.
17745 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17748 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17749 (mswindows_set_dc_font): New function, aware of font variants,
17750 separated from mswindows_update_dc.
17752 * objects-msw.h (struct mswindows_font_instance_data): Added
17755 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17756 cached fonts and the data structure.
17757 (mswindows_initialize_font_instance): Added creation of font data
17759 (mswindows_print_font_instance): Print at least something.
17760 (mswindows_create_font_variant): Implemented.
17761 (mswindows_get_hfont): Implemented.
17763 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17765 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17766 prototyping problem with msvc.
17768 * emacs.c (main_1): added syms_of_gui_mswindows() call
17770 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17771 syms_of_gui_mswindows() function
17773 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17775 2000-01-18 Martin Buchholz <martin@xemacs.org>
17777 * XEmacs 21.2.27 is released.
17779 2000-01-18 Martin Buchholz <martin@xemacs.org>
17781 * glyphs-eimage.c (struct tiff_error_struct):
17783 (tiff_warning_func):
17784 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17789 * unexec.c: Remove vestigial Lucid C code.
17793 * libsst.c: Ansify.
17794 Remove declarations of errno and strerror().
17796 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17798 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17800 2000-01-16 Martin Buchholz <martin@xemacs.org>
17802 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17805 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17810 Change enum eol_type to eol_type_t.
17812 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17814 * gui.c (get_gui_callback): Check cons before accessing car.
17816 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17818 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17819 (XSETSPECIFIER_TYPE): Ditto.
17821 2000-01-17 Didier Verna <didier@xemacs.org>
17823 * redisplay.c (generate_fstring_runes): compute string size in
17824 characters, not bytes.
17826 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17828 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17830 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17832 * print.c (print_error_message): Call print_prepare().
17834 2000-01-14 Martin Buchholz <martin@xemacs.org>
17836 * .dbxrc: Renamed from dbxrc.
17838 * events.c (event_to_character):
17839 Use `assert (foo)' instead of `if (!foo) abort()'
17841 * .gdbinit (xtype): Add documentation.
17842 * .gdbinit (check-temacs): New function.
17843 * .gdbinit (check-xemacs): New function.
17844 * dbxrc (check-xemacs): New function.
17845 * dbxrc (check-xemacs): New function.
17847 2000-01-14 Andy Piper <andy@xemacs.org>
17849 * glyphs-widget.c (widget_query_geometry): Make sure that we
17850 calculate default dimensions correctly.
17852 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17854 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17856 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17857 pdump_wire'd variable.
17859 * emacs.c: (main_1): Conditionalized calls to
17860 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17862 2000-01-13 Martin Buchholz <martin@xemacs.org>
17864 * window.c (Fset_window_configuration):
17865 * sysdep.c (_start):
17866 * input-method-motif.c (res):
17867 * event-Xt.c (Xt_process_to_emacs_event):
17868 Simple compiler warning fixes.
17870 * bytecode.c (funcall_compiled_function): Use the original
17871 function symbol on the backtrace list in preference to the
17872 compiled_function object in error messages.
17874 2000-01-13 Andy Piper <andy@xemacs.org>
17876 * glyphs-x.c (update_widget_face): Make sure we update the widget
17877 background as well as foreground.
17879 2000-01-13 Andy Piper <andy@xemacs.org>
17881 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17882 fields to subwindow.
17883 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17884 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17885 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17886 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17888 * glyphs-widget.c (check_valid_tab_orientation): new function.
17889 (initialize_widget_image_instance): zero orientation and
17891 (widget_instantiate): pick up orientation.
17892 (tab_control_query_geometry): return appropriate values for
17895 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17896 appropriate creation flags for left, right and bottom tabs.
17898 * s/cygwin32.h: add tab definitions.
17900 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17902 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17903 frame upon hiding a subwindow.
17904 (mswindows_button_instantiate): Changed the push button style to
17906 (mswindows_button_instantiate): Removed button BS_NOTIFY
17908 (mswindows_button_instantiate): Removed redundant check for
17909 a disabled gui item.
17910 (mswindows_button_instantiate): Made use of WS_TABSTOP
17911 consistent: "operable" controls (edit, button, tree, scroll) have
17912 this style, "display-only" ones (static, progress gauge) do
17913 not. This style is currently ignored by XEmacs though. Also,
17914 removed the WS_EX_CONTROLPARENT style - it is not for children,
17915 it is for their parents!
17916 (mswindows_edit_field_instantiate): Ditto.
17917 (mswindows_progress_gauge_instantiate): Ditto.
17918 (mswindows_tree_view_instantiate): Ditto.
17919 (mswindows_tab_control_instantiate): Ditto.
17920 (mswindows_scrollbar_instantiate): Ditto.
17921 (mswindows_combo_box_instantiate): Ditto.
17922 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17923 style to the "clip" window.
17924 (mswindows_button_instantiate): Removed compilation warning by
17925 equally typing terms of the ?: operator.
17927 2000-01-12 Didier Verna <didier@xemacs.org>
17929 * redisplay.c (generate_fstring_runes): new parameter holding the
17930 last modeline-format extent.
17931 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17932 extent, fill the glyph block with it.
17933 (generate_fstring_runes): handle these parameters.
17934 (generate_formatted_string_db): ditto.
17936 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17937 glyphs'extents in the modeline.
17939 1999-01-11 Mike Woolley <mike@bulsara.com>
17941 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17942 256Mb, as a workaround for the non-starting problem many people
17945 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17947 * console-tty.c (Fset_console_tty_output_coding_system):
17948 Force redrawing tty frame.
17950 2000-01-10 Didier Verna <didier@xemacs.org>
17952 * redisplay.c (generate_fstring_runes): fix size computation bug.
17954 2000-01-09 William M. Perry <wmperry@aventail.com>
17956 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17958 2000-01-09 Andy Piper <andy@xemacs.org>
17960 * glyphs-msw.c: index -> i to avoid shadows.
17961 (xbm_create_bitmap_from_data): make static.
17962 (check_valid_string_or_int): deleted.
17963 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17965 * glyphs-x.c (x_update_subwindow): remove unused args.
17967 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17968 back pointer - this is done in allocate_image_instance.
17969 (query_string_font): return Qnil to make the compiler happy.
17970 (unmap_subwindow): set to ~0 to make the compiler happy.
17971 (glyph_query_geometry): comment out until used.
17972 (glyph_layout): ditto.
17974 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17976 * insdel.c (signal_after_change): Remove extraneous unbind_to().