1 2008-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3 * mule-charset.c (Qpartial): New variable in XEmacs CHISE.
4 (make_charset): Add new argument `partial'.
5 (Fmake_charset): Add new property 'partial in XEmacs CHISE.
6 (Fmake_reverse_direction_charset): Modify for `make_charset'.
7 (syms_of_mule_charset): Add new builtin symbol `partial' in XEmacs
9 (complex_vars_of_mule_charset): Modify for `make_charset'; specify
10 `=jis-x0208' as a partial coded-charset.
12 2008-08-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
14 * text-coding.c (decode_add_er_char): Fix problem when a character
15 represented by an entity-reference is not defined.
17 2008-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
19 * char-ucs.h, chartab.c, fns.c, mule-charset.c: Rename Qmap_* to
22 2007-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
24 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.24
27 2006-06-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
29 * concord.c (Fconcord_object_put): Add reversed links when FEATURE
30 is a relation feature.
32 2006-06-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
34 * chartab.c (syms_of_chartab): Define
35 `{<-|->}{subsumptive|denotational}' when HAVE_CONCORD is defined.
37 * chartab.h (Q_denotational): New extern when UTF2000 or
38 HAVE_CONCORD is defined.
39 (Q_denotational_from): Likewise.
40 (Q_subsumptive): Likewise.
41 (Q_subsumptive_from): Likewise.
43 2006-06-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
45 * concord.c (concord_object_put): New function.
46 (Fconcord_object_put): Use `concord_object_put'.
48 2006-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
50 * concord.c (Fconcord_define_object): New function.
51 (syms_of_concord): Add new builtin function
52 `concord-define-object'.
54 2006-05-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
56 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.23
59 2006-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
61 * concord.c: Add EXFUN for Fconcord_object_get.
62 (Vconcord_genre_object_hash_table): New variable.
63 (concord_genre_cache_get_object): New function.
64 (concord_genre_cache_put_object): New function.
65 (Fconcord_make_object): Use object cache; put object-ID into `=id'
67 (Fconcord_object_put): Call `concord_index_sync' after
68 `concord_index_strid_put_obj'.
69 (vars_of_concord): Setup Vconcord_genre_object_hash_table.
71 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
73 * concord.c (Fconcord_decode_object): Do GCPRO for
75 (func_for_each_object): Likewise; do GCPRO for
76 for_each_object_closure->function.
77 (Fconcord_foreach_object_in_feature): Use GCPRO4 for
78 for_each_object_closure->function, for_each_object_closure->genre,
79 for_each_object_closure->ds and for_each_object_closure->ret.
80 (concord_object_validate): Do GCPRO for Fconcord_make_object.
82 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
84 * concord.c: Add EXFUNs for Fconcord_decode_object and
86 (Fconcord_make_object): Change order of arguments.
87 (Fconcord_decode_object): Modify for Fconcord_make_object.
88 (func_for_each_object): Likewise.
89 (concord_object_validate): Likewise.
90 (concord_object_instantiate): Use GCPRO2 for `data' and `retval'.
92 2006-04-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
94 * concord.c (Fconcord_object_put): Setup index for `=FOO' feature.
96 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
98 * concord.c (Fconcord_decode_object): Try to use readable print
99 form as a key of Concord-index.
100 (Fconcord_object_get): Try to use readable print form as an ID of
102 (Fconcord_object_put): Try to use readable print form as an ID of
103 Concord-object and a feature value.
104 (Fconcord_object_spec): Try to use readable print form as an ID of
107 2006-04-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
109 * concord.c (print_concord_object): Support readable form.
111 2006-04-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
113 * emacs.c (main_1): Call `structure_type_create_concord' when
114 HAVE_CONCORD is defined.
116 * symsinit.h (structure_type_create_concord): New prototype.
118 * concord.c (Qconcord_object): New variable.
121 (Fconcord_ds_directory): Use <char*> instead of <unsigned char*>
123 (add_feature_to_list_mapper): Use <char*> instead of <unsigned
124 char*> for genre-name.
125 (Fconcord_feature_list): Likewise.
126 (Fconcord_make_object): Likewise.
127 (Fconcord_decode_object): Likewise; use <char*> instead of
128 <unsigned char*> for feature_name and strid.
129 (Fconcord_object_get): Use <char*> instead of <unsigned char*> for
130 c_obj and feature_name.
131 (Fconcord_object_put): Likewise; use <char*> instead of <unsigned
133 (struct closure_for_object_spec): Use <char*> instead of <unsigned
134 char*> for member `object_id'.
135 (add_feature_to_spec_mapper): Use <char*> instead of <unsigned
136 char*> for feature-name.
137 (Fconcord_object_spec): Use <char*> instead of <unsigned char*>
139 (func_for_each_object): Cast to avoid warnings.
140 (Fconcord_foreach_object_in_feature): Use <char*> instead of
141 <unsigned char*> for genre_name and feature_name.
142 (concord_name_validate): New function.
143 (concord_object_validate): Likewise.
144 (concord_object_instantiate): Likewise.
145 (syms_of_concord): Add new builtin symbols `concord-object',
147 (structure_type_create_concord): New function.
149 2006-04-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
151 * concord.c (Vconcord_ds_hash_table): New variable.
152 (Vconcord_genre_hash_table): New variable.
153 (Fconcord_open_ds): Use Vconcord_ds_hash_table.
154 (Fconcord_ds_directory): New function.
155 (Fconcord_assign_genre): New function.
156 (Fconcord_genre_directory): New function.
157 (Fconcord_genre_ds): New function.
158 (Fconcord_feature_list): Allow to omit `ds'.
159 (Fconcord_make_object): Likewise.
160 (Fconcord_decode_object): Likewise.
161 (Fconcord_foreach_object_in_feature): Likewise.
162 (syms_of_concord): Add new builtin function Fconcord_ds_directory,
163 Fconcord_assign_genre, Fconcord_genre_directory and
165 (vars_of_concord): Setup Vconcord_ds_hash_table and
166 Vconcord_genre_hash_table.
168 2006-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
170 * concord.c (struct closure_for_each_object): Add new member
172 (func_for_each_object): Setup the return value to
173 `for_each_object_closure->ret'.
174 (Fconcord_foreach_object_in_feature): If FUNCTION returns non-nil,
175 returns the value instead of Qt.
177 2005-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
179 * concord.c: New file.
181 2005-12-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
183 * lrecord.h (enum lrecord_type): Add `lrecord_type_concord_ds' and
184 `lrecord_type_concord_object'.
186 2005-09-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
188 * symsinit.h (syms_of_concord): New prototype.
189 (vars_of_concord): New prototype.
191 * emacs.c (main_1): Setup symbols and variable about concord if
192 HAVE_CONCORD is defined.
194 * config.h.in (HAVE_CONCORD): New macro.
196 2005-09-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
198 * chartab.c (Fput_char_attribute): For each character relation
199 feature `{<-|->}FOO', set up the reversed link `{->|<-}FOO'.
201 2005-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
203 * chartab.c (Fput_char_attribute): Use
204 `Fchar_refs_simplify_char_specs' for `=>decomposition' before
205 calling `put_char_composition'.
207 2005-08-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
209 * chartab.c (Q_halfwidth_of): New variable.
210 (put_char_composition): Return `<-halfwidth' instead of
211 `=decomposition' for compatibility mapping to single character
213 (Fput_char_attribute): Convert char-specs in value of
214 `{<-|->}halfwidth[^*]*' to characters and put reverse links.
215 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
217 (syms_of_chartab): Add new symbol `<-halfwidth'.
219 2005-08-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
221 * chartab.c (put_char_composition): Return
222 `<-formed@{isolated|initial|medial|final}' for compatibility
223 mapping to single character tagged
224 `{isolated|initial|medial|final}'.
226 2005-08-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
228 * chartab.c (Q_compat_of): Deleted.
229 (put_char_composition): Return `<-FOO' for compatibility mapping
230 to single character tagged `FOO'; use `Fsymbol_name (...)' instead
231 of `symbol_name (XSYMBOL(...))'.
232 (Fput_char_attribute): Convert char-specs in value of
233 `{<-|->}font[^*]*' to characters and put reverse links.
234 (Fsave_char_attribute_table): Don't refer Q_compat_of.
235 (syms_of_chartab): Delete builtin symbol `<-compat'.
237 2005-08-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
239 * chartab.c (Q_circled_of): New variable.
240 (put_char_composition): Return `<-circled' instead of
241 `=decomposition' for compatibility mapping to single character
243 (Fput_char_attribute): Convert char-specs in value of
244 `{<-|->}circled[^*]*' to characters and put reverse links.
245 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
247 (syms_of_chartab): Add new symbol `<-circled'.
249 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
251 * chartab.c (Qto_decomposition_at_circled): New variable.
252 (put_char_composition): Return `=>decomposition@circled' instead
253 of `=decomposition' for compatibility decomposition mapping tagged
255 (syms_of_chartab): Add new symbol `=>decomposition@circled'.
257 2005-08-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
259 * chartab.c (Q_subscript_of): New variable.
260 (put_char_composition): Return `<-subscript' instead of
261 `=decomposition' for compatibility mapping to single character
263 (Fput_char_attribute): Convert char-specs in value of
264 `{<-|->}subscript[^*]*' to characters and put reverse links.
265 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
267 (syms_of_chartab): Add new symbol `<-subscript'.
269 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
271 * chartab.c (Q_superscript_of): New variable.
272 (put_char_composition): Return `<-superscript' instead of
273 `=decomposition' for compatibility mapping to single character
275 (Fput_char_attribute): Convert char-specs in value of
276 `{<-|->}superscript[^*]*' to characters and put reverse links.
277 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
279 (syms_of_chartab): Add new symbol `<-superscript'.
281 2005-08-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
283 * chartab.c (Qto_decomposition_at_compat): Deleted.
284 (Qto_decomposition_at_superscript): New variable.
285 (put_char_composition): Use `=>decomposition@superscript' instead
286 of `=decomposition' for compatibility decomposition mapping tagged
288 (Fput_char_attribute): Fix condition about `put_char_composition'.
289 (syms_of_chartab): Delete builtin symbol `=>decomposition@compat';
290 add news symbol `=>decomposition@superscript'.
292 2005-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
294 * chartab.c (put_char_composition): Return `=>decomposition@FOO'
295 for compatibility decomposition mapping tagged FOO.
296 (Fput_char_attribute): Modify for `put_char_composition'.
298 2005-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
300 * chartab.c (Qto_decomposition_at_compat): New variable.
301 (Q_compat_of): Renamed from `Q_compatibility_of'.
302 (put_char_composition): Rename `Q_compatibility_of' to
303 `Q_compat_of'; return `=>decomposition@compat' for compatibility
304 decomposition mapping.
305 (Fsave_char_attribute_table): Rename `Q_compatibility_of' to
307 (syms_of_chartab): Add new symbol `=>decomposition@compat'; rename
308 `<-compatibility' to `<-compat'.
310 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
312 * chartab.c (Q_compatibility_of): New variable.
313 (put_char_composition): Use XCAR/XCDR instead of Fcar/Fcdr if an
314 object is proved to be a cons cell; return `<-compatibility' if
315 the first element of argument `value' is `compat'.
316 (Fput_char_attribute): Eliminate the first value if
317 `put_char_composition' returns `<-compatibility'.
318 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
319 for `<-compatibility'.
320 (syms_of_chartab): Add new symbol `<-compatibility'.
322 2005-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
324 * chartab.c (Q_canonical): New variable.
325 (put_char_composition): Return a feature name: return
326 `->canonical' if argument `value' specifies single character.
327 (Fput_char_attribute): Use `put_char_composition' to determine
328 feature name for `=decomposition' or `->denotational'.
329 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
331 (syms_of_chartab): Add new symbol `->canonical'.
333 2005-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
335 * chartab.c (Qmap_decomposition): New variable.
336 (Fput_char_attribute): Convert `->decomposition' to
338 (syms_of_chartab): Add new symbol `=decomposition'.
340 2005-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
342 * chartab.c (Fget_range_char_table): Fix serious problem when
345 2005-06-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
347 * chartab.c (char_table_get_db): Use `read_from_c_string'.
349 2005-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
351 * lread.c (read_from_c_string): New function.
353 * lisp.h (read_from_c_string): New prototype.
355 2005-05-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
357 * chartab.c (Fput_char_attribute): Convert char-specs in value of
358 `{<-|->}Oracle-Bones[^*]*' to characters and put reverse links.
359 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
360 for `{<-|->}Oracle-Bones[^*]*'.
362 2005-05-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
364 * mule.c (vars_of_mule): Update `xemacs-chise-version' to 0.22
367 2005-02-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
369 * text-coding.c (Qccs_priority_list): New variable in XEmacs
371 (Fmake_coding_system): Support new property `ccs-priority-list' in
373 (Fcoding_system_property): Likewise.
374 (char_encode_iso2022): Prefer CODING_SYSTEM_CCS_PRIORITY_LIST than
375 Vdefault_coded_charset_priority_list in XEmacs CHISE.
376 (syms_of_file_coding): Add builtin symbol `ccs-priority-list' in
378 (complex_vars_of_file_coding): Define new coding-system-property
379 `ccs-priority-list' in XEmacs CHISE.
381 * file-coding.h (XCODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
383 2004-12-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
385 * char-ucs.h (decoding_table_put_char): Moved to mule-charset.c;
386 changed to normal function.
387 (encode_char_2): Likewise.
389 * mule-charset.c (decoding_table_put_char): Copied from
390 char-ucs.h; changed to normal function.
391 (encode_char_2): Likewise.
393 2004-12-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
395 * char-ucs.h (Vdisplay_coded_charset_priority_use_inheritance):
397 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
398 (encode_char_2_search_children): New inline function.
399 (encode_char_2): Refer
400 `Vdisplay_coded_charset_priority_use_{inheritance|hierarchy_order}'
401 and use `encode_char_2_search_children'.
403 2004-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
406 (Vdisplay_coded_charset_priority_use_inheritance): New variable.
407 (Vdisplay_coded_charset_priority_use_hierarchy_order): Likewise.
408 (vars_of_mule_charset): Add new variable
409 `display-coded-charset-priority-use-inheritance' and
410 `display-coded-charset-priority-use-hierarchy-order'.
412 2004-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
414 * char-ucs.h (Q_subsumptive): New extern.
415 (Q_denotational): Likewise.
416 (encode_char_2): Search children specified by `->subsumptive' and
419 2004-11-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
421 * mule-charset.c (complex_vars_of_mule_charset): Modify the
422 X-registry of `ucs-bmp'.
424 2004-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
426 * chartab.c (char-variants): Refer `->subsumptive',
427 `->denotational' and `->identical' as same as `->ucs-unified'.
429 2004-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
431 * chartab.c (Fput_char_attribute): Convert char-specs in value of
432 `{<-|->}{fullwidth|halfwidth}[^*]*' to characters and put reverse
435 2004-09-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
437 * text-coding.c: Add EXFUN for `Fregexp_quote'.
438 (decode_add_er_char): Fix problem about infinite loop when a CCS
439 specified in `coded-charset-entity-reference-alist' is not
442 2004-09-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
444 * mule-charset.c (syms_of_mule_charset): Rename
445 `=jis-x0208-{1978|1983|1990}' to `=jis-x0208@{1978|1983|1990}'.
447 2004-08-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
449 * fns.c (simplify_char_spec): Don't allocate new character-object
450 if specified char_spec does not have any CCS-features.
452 * chartab.h: Add EXFUN for Fdefine_char.
454 * chartab.c: Delete EXFUN for Fdefine_char.
456 2004-08-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
458 * fns.c (simplify_char_spec): Use Fdefine_char instead of
459 Ffind_char for char-spec.
461 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
463 * lisp-disunion.h (XCHARVAL): Fix condition about
466 2004-07-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
468 * mule-charset.c (decode_builtin_char): Use <EMACS_INT> instead of
470 (Fdecode_builtin_char): Use <EMACS_INT> instead of <int> for code
471 point; use <Emchar> instead of <int> for character-id.
473 2004-07-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
475 * lisp-disunion.h (make_int): Cast the argument into <EMACS_INT>.
476 (make_char): Likewise.
477 (XCHARVAL): Don't use the inline function for UTF-2000 in 64 bit
479 (XCHARVAL[for UTF-2000 in 32 bit environment]): Use <Emchar>
480 instead of <int> as the type of return value; use <Lisp_Object>
481 instead of <Emchar> as the type of argument.
482 (XCHARVAL[macro version]): Cast the result into <Emchar>.
484 * syntax.h (SYNTAX_CODE_UNSAFE): Use <Lisp_Object> and <enum
485 syntaxcode> instead of <int>.
487 2004-07-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
489 * chartab.c (put_char_composition): Use DECODE_CHAR to get
490 character corresponding with UCS code point.
491 (Fput_char_attribute): Likewise.
493 * mule-charset.c (put_char_ccs_code_point): Don't omit a UCS
494 character in the UCS decoding-table if the char-id is not equal to
497 2004-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
499 * mule-charset.c (Fsave_charset_properties): Use `true-name' only
500 for aliases; write `description'; write
501 `mother-code-{min|max|offset|conversion}' if CHARSET_MAX_CODE is
504 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
506 * chartab.c (Fsave_char_attribute_table): Don't use
507 `save_charset_properties'.
509 * mule-charset.c (Fsave_charset_properties): Renamed from
510 `save_charset_properties' and changed to Lisp function again;
511 write property `type' as `CCS'; write properties `final-byte' and
512 `mother' if they exists.
513 (syms_of_mule_charset): Revive builtin function
514 `save-charset-properties' when HAVE_LIBCHISE is defined.
516 2004-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
518 * chartab.c (open_chise_data_source_maybe): Use Vdata_directory
519 instead of Vexec_directory.
520 (char_attribute_system_db_file): Likewise.
522 2004-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
524 * chartab.c (Fsave_char_attribute_table): Use
525 `save_charset_properties' for CCS features when HAVE_LIBCHISE is
528 * mule-charset.c (save_charset_properties): Renamed from
529 `Fsave_charset_properties'; changed to non-Lisp function.
530 (syms_of_mule_charset): Abolish builtin function
531 `save-charset-properties'.
533 2004-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
535 * mule-charset.c (Fsave_charset_properties): New function when
536 HAVE_LIBCHISE is defined.
537 (syms_of_mule_charset): Add new builtin function
538 `save-charset-properties' when HAVE_LIBCHISE is defined.
540 2004-06-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
542 * chartab.c (Fput_char_attribute): Convert char-specs in value of
543 `{<-|->}ancient[^*]*' to characters and put reverse links.
544 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
545 for `{<-|->}ancient[^*]*'.
547 2004-06-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
549 * chartab.c (Fput_char_attribute): Convert char-specs in value of
550 `{<-|->}original[^*]*' to characters and put reverse links.
551 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
552 for `{<-|->}original[^*]*'.
554 2004-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
556 * mule-canna.c (m2c): Fix problem with XEmacs CHISE.
558 2004-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
560 * mule-charset.c (Qsystem_char_id): New variable.
562 * chartab.c (Qsystem_char_id): Deleted even if HAVE_CHISE is
563 defined and HAVE_LIBCHISE_LIBCHISE is not defined.
565 2004-05-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
567 * chartab.c (Fput_char_attribute): When processing a reference of
568 a character, put into the end of the reversed reference of each
571 2004-05-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
573 * chartab.c (Q_same): Deleted.
574 (Q_same_of): Deleted.
575 (Fput_char_attribute): Use Fstring_match to find `{<-|->}same'.
576 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
578 (syms_of_chartab): Delete builtin symbol `{<-|->}same'.
580 2004-05-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
582 * chartab.c (Q_vulgar): Deleted.
583 (Q_vulgar_of): Deleted.
584 (Fput_char_attribute): Use Fstring_match to find `{<-|->}vulgar'.
585 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
587 (syms_of_chartab): Don't define `{<-|->}vulgar'.
589 2004-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
591 * chartab.c (Fput_char_attribute): Convert char-specs in value of
592 `{<-|->}wrong[^*]*' to characters and put reverse links.
593 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
594 for `{<-|->}wrong[^*]*'.
596 2004-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
598 * chartab.c (Q_vulgar): New variable.
599 (Q_vulgar_of): New variable.
600 (Fput_char_attribute): Convert char-specs in value of
601 `{->|<-}vulgar' to characters and put reverse links.
602 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
604 (syms_of_chartab): Add new symbols `{->|<-}vulgar'.
606 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
608 * text-coding.c (decode_add_er_char): Must to quote prefix string
611 2004-04-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
613 * mule-charset.c (put_char_ccs_code_point): Store characters of
614 =ucs whose code_points >= 0xF0000.
616 2004-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
618 * mule-charset.c (Vcharset_system_char_id): New variable in XEmacs
620 (syms_of_mule_charset): Add new symbol `system-char-id' in XEmacs
622 (complex_vars_of_mule_charset): Add new coded-charset
623 `system-char-id' in XEmacs CHISE; modify `=ucs' to eliminate
624 builtin characters over 0xEFFFF.
626 * chartab.c (syms_of_chartab): Don't define symbol
627 `system-char-id' in every case.
629 * char-ucs.h (Qsystem_char_id): New extern variable.
630 (LEADING_BYTE_SYSTEM_CHAR_ID): New macro.
632 2004-04-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
634 * text-coding.c (char_encode_utf8): Try to use entity-references
635 for U-000F0000 ... U-0010FFFF.
637 2004-04-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
639 * text-coding.c (ER_BUF_SIZE): New macro.
640 (struct decoding_stream): Use `ER_BUF_SIZE' to specify size of
642 (decode_add_er_char): Use `ER_BUF_SIZE' instead of 16.
643 (char_encode_as_entity_reference): Use `ER_BUF_SIZE'.
645 2004-03-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
647 * chartab.c (find_char_feature_in_family): New function.
648 (Fchar_feature): Use `find_char_feature_in_family' with
649 `->identical', `<-subsumptive' and `<-denotational'.
651 2004-03-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
653 * text-coding.c (char_encode_as_entity_reference): Allow prefix
654 within 8 characters; fix infinite loop.
656 2004-03-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
658 * chartab.c (Q_same): New variable.
659 (Q_same_of): New variable.
660 (Fput_char_attribute): Convert char-specs in value of
661 `{->|<-}same' to characters and put reverse links.
662 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
664 (syms_of_chartab): Add new symbols `{->|<-}same'.
666 2004-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
668 * chartab.c (Q_component): New variable.
669 (Q_component_of): Likewise.
670 (Fput_char_attribute): Convert char-specs in value of
671 `{->|<-}ideographic-component-forms' to characters and put reverse
673 (syms_of_chartab): Add new symbols
674 `{->|<-}ideographic-component-forms'.
676 2004-02-24 MORIOKA Tomohiko <tomo@m17n.org>
678 * chartab.c (Q_identical): New variable.
679 (Q_identical_from): New variable.
680 (Fchar_feature): Regard `->identical' as a feature to find
682 (Fput_char_attribute): Add reversed link for `{->|<-}identical'.
683 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
684 for `{->|<-}identical'.
685 (syms_of_chartab): Add new symbols `{->|<-}identical'.
687 2004-02-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
689 * char-ucs.h (encode_char_2): New inline function.
690 (CHAR_TO_CHARC): Use `encode_char_2' instead of `encode_char_1'.
692 2004-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
694 * chartab.c (Fput_char_attribute): Convert char-specs to
695 characters in value of `ideographic-structure'.
696 (Fsave_char_attribute_table): Use `Fchar_refs_simplify_char_specs'
697 for `{<-|->}simplified(@...)'.
698 (Fdefine_char): Try to use predefined character's id.
700 2004-02-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
702 * fns.c (simplify_char_spec): Try to convert builtin chars to
705 2004-02-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
707 * chartab.c (Fput_char_attribute): Convert char-specs in value of
708 `<-simplified[^*]*' to characters and put reverse links.
710 2004-02-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
712 * chartab.c (Q_subsumptive): Renamed from Q_unified.
713 (Q_subsumptive_from): Renamed from Q_unified_from.
714 (Fchar_feature): Use `Q_subsumptive_from' instead of
716 (Fput_char_attribute): Likewise; Use `Q_subsumptive' instead of
718 (syms_of_chartab): Rename `->unified' to `->subsumptive' and
719 `<-unified' to `<-subsumptive'.
721 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
723 * chartab.c (Fchar_feature): Check `<-denotational' to avoid
724 inheritance itself; fix typo; stop recursive search if cyclic
725 inheritance is found.
727 2004-02-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
729 * chartab.c (Q_denotational): New variable.
730 (Q_denotational_from): New variable.
731 (Fchar_feature): Refer `<-denotational' as same as `<-unified'.
732 (put_char_attribute): New function.
733 (Fput_char_attribute): Use `put_char_attribute'; regard
734 `->denotational' and `<-denotational' as same as `->unified' and
736 (syms_of_chartab): Add new symbols `->denotational' and
739 2004-02-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
741 * chartab.c (Fget_composite_char): Use `Fchar_feature' instead of
742 `Fget_char_attribute'.
743 (Fchar_variants): Likewise.
744 (get_char_table): Likewise.
745 (Fchar_feature): New function.
746 (put_char_composition): Use `Fchar_feature' instead of
747 `Fget_char_attribute'.
748 (Fput_char_attribute): Likewise; don't put the target character
749 into its `->unified' value.
750 (syms_of_chartab): Add new builtin function `char-feature'.
752 2004-01-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
754 * text-coding.c (COMPOSE_ADD_CHAR): Use `Fchar_feature' instead of
755 `Fget_char_attribute'.
756 (char_encode_utf8): Likewise.
758 * chartab.h: Add an EXFUN for `Fchar_feature'.
760 2004-01-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
762 * chartab.c (Vnext_defined_char_id): New variable.
763 (Fput_char_attribute): Accept characters in `->unified'.
764 (Fdefine_char): Refer and update Vnext_defined_char_id to allocate
765 new characters which are not related with builtin char-id ranges.
766 (vars_of_chartab): Add new variable `next-defined-char-id'.
768 2004-01-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
770 * chartab.c (Q_unified): New variable.
771 (Q_unified_from): New variable.
772 (Fput_char_attribute): Add code for `->unified'.
773 (syms_of_chartab): Add new symbols `->unified' and `<-unified' in
776 2003-11-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
778 * mule-charset.c (decode_ccs_conversion): New function.
779 (decode_defined_char): Use `decode_ccs_conversion'.
780 (decode_builtin_char): Likewise.
782 2003-11-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
784 * char-ucs.h: Change some charset-ids of private coded-charsets.
786 2003-11-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
788 * text-coding.c (decode_add_er_char): Modify for `DECODE_CHAR'.
789 (char_encode_as_entity_reference): Likewise.
790 (decode_coding_big5): Modify for `decode_defined_char' and
792 (decode_coding_utf8): Modify for `decode_defined_char'; modify to
793 avoid compiler warning.
794 (decode_coding_iso2022): Modify for `DECODE_CHAR'.
796 * mule-charset.c (decode_defined_char): Add new argument
797 `without_inheritance'.
798 (Fdecode_char): Add new optional argument `without_inheritance'.
799 (Fdecode_builtin_char): Modify for `Fdecode_char'.
801 * fns.c (ids_format_unit): Modify for `Fdecode_char'.
802 (simplify_char_spec): Likewise.
804 * chartab.h (Fdecode_char): Modify number of arguments of EXFUN
807 * chartab.c (put_char_table): Modify for `DECODE_CHAR'.
808 (map_char_table): Likewise.
809 (Fdefine_char): Use `Fdecode_char' without inheritance.
810 (Ffind_char): Modify for `Fdecode_char'.
812 * character.h (CHARC_TO_CHAR): Modify for `DECODE_CHAR'.
814 * char-ucs.h (decode_defined_char): Add new argument
815 `without_inheritance'.
816 (DECODE_CHAR): Likewise.
817 (MAKE_CHAR): Modify for `DECODE_CHAR'.
819 2003-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
821 * chartab.c (Vchise_system_db_directory): New variable.
822 (vars_of_chartab): Add new variable `chise-system-db-directory'.
824 2003-10-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
826 * chartab.c: EXFUN `Fmount_char_attribute_table'.
827 (print_chartab_range): Don't define when `UTF2000' is defined.
828 (open_chise_data_source_maybe): Specify 0 instead of DB_HASH for
831 2003-10-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
833 * chartab.c (Fchar_attribute_list): When HAVE_LIBCHISE is defined
834 and optional argument `rehash' is specified, call
835 `open_chise_data_source_maybe' before
836 `chise_ds_foreach_char_feature_name' is called.
838 2003-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
840 * chartab.c (char_attribute_list_reset_map_func): New function
841 when HAVE_LIBCHISE is defined.
842 (Fchar_attribute_list): Add new optional argument `rehash' when
843 HAVE_LIBCHISE is defined.
844 (open_chise_data_source_maybe): Use "chise-db" instead of
846 (char_attribute_system_db_file): Likewise.
847 (Fload_char_attribute_table): Use
848 `chise_feature_foreach_char_with_value' instead of
849 `chise_char_feature_value_iterate'.
851 2003-10-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
853 * chartab.c (Vchise_db_directory): New variable.
854 (vars_of_chartab): Add new built-in variable `chise-db-directory'.
856 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
858 * mule-charset.c (Freset_charset_mapping_table): Use HAVE_LIBCHISE
859 instead of HAVE_CHISE to specify using with libchise.
861 * config.h.in (HAVE_CHISE_CLIENT): Deleted.
863 * chartab.h: Don't use HAVE_CHISE_CLIENT.
865 * chartab.c (Qsystem_char_id): Don't define when HAVE_CHISE is not
866 defined or HAVE_LIBCHISE_LIBCHISE is defined.
867 (char_attribute_system_db_file): Don't define when HAVE_LIBCHISE
869 (Freset_char_attribute_table): Use HAVE_LIBCHISE instead of
870 HAVE_CHISE to specify using with libchise.
871 (syms_of_chartab): Don't define symbol `system-char-id' when
872 HAVE_CHISE is not defined or HAVE_LIBCHISE_LIBCHISE is defined.
874 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
876 * mule-charset.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
877 specify CHISE DB support.
878 (Freset_charset_mapping_table): Use `chise_ccs_setup_db' instead
879 of `char_attribute_system_db_file' to check feature DB file.
881 * chartab.h, casetab.c, char-ucs.h: Use HAVE_CHISE instead of
882 HAVE_CHISE_CLIENT to specify CHISE DB support.
884 * chartab.c: Use HAVE_CHISE instead of HAVE_CHISE_CLIENT to
885 specify CHISE DB support.
886 (open_chise_data_source_maybe): Don't define when HAVE_LIBCHISE is
888 (Freset_char_attribute_table): Use `chise_feature_setup_db'
889 instead of `char_attribute_system_db_file' to check feature DB
892 2003-10-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
894 * mule.c (vars_of_mule): Use `HAVE_CHISE' instead of `CHISE' and
897 2003-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
899 * mule-charset.c: Use HAVE_LIBCHISE instead of CHISE.
900 (Fsave_charset_mapping_table): Don't use
901 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
903 * config.h.in (HAVE_CHISE): Renamed from `CHISE'.
904 (HAVE_LIBCHISE): New macro.
906 * chartab.h: Use HAVE_LIBCHISE instead of CHISE.
908 * chartab.c: Use HAVE_LIBCHISE instead of CHISE.
909 (Fsave_char_attribute_table): Don't use
910 `char_attribute_system_db_file' when HAVE_LIBCHISE is defined.
912 2003-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
914 * chartab.c (save_uint8_byte_table): Use libchise when CHISE is
916 (save_uint16_byte_table): Likewise.
917 (save_byte_table): Likewise.
918 (char_table_get_db): Use `chise_ds_load_char_feature_value'
919 instead of `chise_char_load_feature_value'.
920 (Fsave_char_attribute_table): Use libchise when CHISE is defined.
922 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
924 * chartab.h (struct Lisp_Char_Table): Delete member
925 `feature_table' if CHISE is defined.
927 * chartab.c (Fmake_char_table): Don't refer `ct->feature_table'.
928 (Fcopy_char_table): Likewise.
929 (char_table_open_db_maybe): Likewise.
930 (char_table_close_db_maybe): Likewise.
931 (char_table_get_db): Likewise.
932 (Fmount_char_attribute_table): Likewise.
933 (Fload_char_attribute_table): Likewise.
935 2003-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
937 * mule-charset.c (load_char_decoding_entry_maybe): Use
938 `chise_ds_decode_char' instead of `chise_ds_get_ccs' and
941 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
943 * chartab.c (open_chise_data_source_maybe): Use `CHISE_DS_open'
944 instead of `chise_open_data_source'.
945 (Fclose_char_data_source): Use `CHISE_DS_close' instead of
948 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
950 * chartab.c (char_table_open_db_maybe): Use `chise_ds_get_feature'
951 instead of `chise_ds_open_feature_table'.
952 (char_table_close_db_maybe): Don't use `chise_ft_close'.
954 2003-10-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
956 * mule-charset.c (Fsave_charset_mapping_table): Use
957 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; use
958 `chise_ccs_set_decoded_char' instead of `chise_ccst_put_char'; use
959 `chise_ccs_sync' instead of `chise_ccst_close'.
960 (load_char_decoding_entry_maybe): Modify for `chise_ds_get_ccs'.
962 * chartab.c (open_chise_data_source_maybe): Modify for
963 `chise_open_data_source'.
964 (char_table_open_db_maybe): Modify for
965 `chise_ds_open_feature_table'.
967 2003-08-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
969 * mule-charset.c (load_char_decoding_entry_maybe): Use
970 `chise_ds_get_ccs' instead of `chise_ds_open_ccs_table'; don't use
973 2003-08-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
975 * mule-charset.c (Fsave_charset_mapping_table): Use
976 `chise_ds_open_ccs_table', `chise_ccst_put_char' and
977 `chise_ccst_close' instead of `chise_ds_open_decoding_table',
978 `chise_dt_put_char' and `chise_dt_close'.
979 (load_char_decoding_entry_maybe): Use `chise_ds_open_ccs_table',
980 `chise_ccs_decode' and `chise_ccst_close' instead of
981 `chise_ds_open_decoding_table', `chise_dt_get_char' and
984 * chartab.c (char_table_get_db): Use
985 `chise_char_load_feature_value' instead of `chise_ft_get_value'.
986 (load_char_attribute_table_map_func): Modify for
987 `chise_char_feature_value_iterate'.
988 (Fload_char_attribute_table): Use
989 `chise_char_feature_value_iterate' instead of `chise_ft_iterate'.
991 2003-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
993 * text-coding.c (COMPOSE_ADD_CHAR): Fixed.
995 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
997 * chartab.c (put_char_table): Modify for inherited coded-charsets
1000 2003-08-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1002 * chartab.c (Fput_char_table_map_function): Fixed.
1003 (word_boundary_p): Don't check charset in XEmacs CHISE.
1005 2003-08-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1007 * mule-charset.c (Fsave_charset_mapping_table): Use
1008 `open_chise_data_source_maybe'; use `chise_ds_open_decoding_table'
1009 instead of `chise_open_decoding_table'; refer
1010 `default_chise_data_source'; use `chise_dt_close' instead of
1011 `chise_close_decoding_table'.
1012 (load_char_decoding_entry_maybe): Likewise.
1014 * chartab.c (default_chise_data_source): New variable when `CHISE'
1016 (Fcopy_char_table): `ct->ds' is deleted.
1017 (open_chise_data_source_maybe): New function.
1018 (Fclose_char_data_source): New function.
1019 (char_table_open_db_maybe): Use `open_chise_data_source_maybe';
1020 use `chise_ds_open_feature_table' instead of
1021 `chise_open_feature_table'.
1022 (char_table_close_db_maybe): Use `chise_ft_close' instead of
1023 `chise_close_feature_table'; `cit->ds' is deleted.
1024 (syms_of_chartab): Add new builtin function
1025 `close-char-data-source' when `HAVE_CHISE_CLIENT' is defined.
1027 * chartab.h (default_chise_data_source): New extern variable.
1028 (open_chise_data_source_maybe): New prototype.
1029 (struct Lisp_Char_Table): Delete `ds'.
1031 2003-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1033 * mule-charset.c (Fsave_charset_mapping_table): Use libchise when
1036 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1038 * chartab.c (char_table_open_db_maybe): Defined even if `CHISE' is
1039 not defined; add code for non-libchise setting.
1040 (char_table_close_db_maybe): Likewise.
1041 (char_table_get_db): New function when `HAVE_CHISE_CLIENT' is
1043 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'
1044 even if `CHISE' is not defined.
1045 (Freset_char_attribute_table): Likewise.
1046 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1047 `char_table_close_db_maybe' even if `CHISE' is not defined; use
1048 `char_table_get_db'.
1049 (Fload_char_attribute_table): Use `char_table_open_db_maybe' and
1050 `char_table_close_db_maybe' even if `CHISE' is not defined.
1052 2003-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1054 * chartab.c (char_table_open_db_maybe): New function.
1055 (char_table_close_db_maybe): New function.
1056 (Fclose_char_attribute_table): Use `char_table_close_db_maybe'.
1057 (Freset_char_attribute_table): Likewise.
1058 (load_char_attribute_maybe): Use `char_table_open_db_maybe' and
1059 `char_table_close_db_maybe'.
1060 (Fload_char_attribute_table): Likewise.
1062 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1064 * chartab.c: Don't include <chise.h> because it is included in
1066 (Fmake_char_table): Initialize `ct->feature_table' when `CHISE' is
1068 (Fcopy_char_table): Copy `ct->ds' and `ct->feature_table' when
1070 (Fmount_char_attribute_table): Initialize `ct->feature_table' when
1072 (Fclose_char_attribute_table): Close `ct->feature_table' and
1073 `ct->ds' when `CHISE' is defined.
1074 (Freset_char_attribute_table): Likewise.
1075 (load_char_attribute_maybe): Use `cit->ds' and
1076 `cit->feature_table' when `CHISE' is defined.
1077 (Fload_char_attribute_table): Likewise.
1079 * chartab.h: Include <chise.h> when `CHISE' is defined.
1080 (struct Lisp_Char_Table): Add new member `ds' and `feature_table'
1081 when `CHISE' is defined.
1083 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1085 * chartab.c (mark_char_table): Member `db' is deleted when `CHISE'
1087 (char_table_description): Likewise.
1088 (Fmake_char_table): Likewise.
1089 (Fcopy_char_table): Likewise.
1090 (Fmount_char_attribute_table): Likewise.
1091 (Fclose_char_attribute_table): Likewise.
1092 (Freset_char_attribute_table): Likewise.
1093 (load_char_attribute_maybe): Likewise.
1094 (Fload_char_attribute_table): Likewise.
1096 * chartab.h (struct Lisp_Char_Table): Delete `db' when `CHISE' is
1099 2003-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1101 * chartab.c (load_char_attribute_table_map_func): New function
1102 when CHISE is defined.
1103 (Qload_char_attribute_table_map_function): Don't define when CHISE
1105 (Fload_char_attribute_table_map_function): Likewise.
1106 (Fload_char_attribute_table): Use libchise when `CHISE' is
1108 (syms_of_chartab): Don't define
1109 `load-char-attribute-table-map-function' when CHISE is defined.
1111 2003-08-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1113 * chartab.c: Include <chise.h> when `CHISE' is defined.
1114 (load_char_attribute_maybe): Use libchise when `CHISE' is defined.
1116 2003-07-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1118 * mule-charset.c (charset_code_point): Fix problem when searching
1119 in mother CCS fails with `defined_only' mode.
1121 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1123 * chartab.c (Q_ucs_unified): Renamed from `Q_ucs_variants'.
1124 (Fchar_variants): Rename `Q_ucs_variants' to `Q_ucs_unified'.
1125 (put_char_composition): Likewise.
1126 (Fput_char_attribute): Likewise.
1127 (syms_of_chartab): Rename `->ucs-variants' to `->ucs-unified'.
1129 2003-06-29 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1131 * chartab.c (Q_ucs): Deleted.
1132 (Fput_char_attribute): Don't refer `->ucs'.
1133 (Fdefine_char): Likewise.
1134 (Ffind_char): Likewise.
1135 (syms_of_chartab): Delete `->ucs'.
1137 2003-04-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1139 * mule-charset.c (Qmap_cns11643_2): Renamed from
1140 `Qchinese_cns11643_2'.
1141 (syms_of_mule_charset): Add new symbol `=cns11643-2' instead of
1142 `chinese-cns11643-2'.
1143 (complex_vars_of_mule_charset): Rename `chinese-cns11643-2' to
1146 2003-04-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1148 * mule-charset.c (Qmap_cns11643_1): Renamed from
1149 `Qchinese_cns11643_1'.
1150 (syms_of_mule_charset): Add new symbol `=cns11643-1' instead of
1151 `chinese-cns11643-1'.
1152 (complex_vars_of_mule_charset): Rename `chinese-cns11643-1' to
1155 2003-04-24 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1157 * mule-charset.c (Qmap_gb12345): Renamed from `Qchinese_gb12345'.
1158 (syms_of_mule_charset): Add new symbol `=gb12345' instead of
1160 (complex_vars_of_mule_charset): Rename `chinese-gb12345' to
1163 2003-04-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1165 * mule-charset.c (Qmap_gb2312): Renamed from `Qchinese_gb2312'.
1166 (syms_of_mule_charset): Add new symbol `=gb2312' instead of
1168 (complex_vars_of_mule_charset): Rename `chinese-gb2312' to
1171 2003-04-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1173 * mule-charset.c (Qmap_big5): Renamed from `Qchinese_big5'.
1174 (syms_of_mule_charset): Add new symbol `=big5' instead of
1176 (complex_vars_of_mule_charset): Rename `chinese-big5' to `=big5'.
1178 2003-04-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1180 * mule-charset.c (Qmap_ks_x1001): Renamed from `Qkorean_ksc5601'.
1181 (syms_of_mule_charset): Add new symbol `=ks-x1001' instead of
1183 (complex_vars_of_mule_charset): Rename `korean-ksc5601' to
1186 2003-04-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1188 * mule-charset.c (Qmap_jis_x0212): Renamed from
1189 `Qjapanese_jisx0212'.
1190 (syms_of_mule_charset): Add new symbol `=jis-x0212' instead of
1191 `japanese-jisx0212'.
1192 (complex_vars_of_mule_charset): Rename `japanese-jisx0212' to
1195 2003-04-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1197 * mule-charset.c (Qmap_jis_x0208_1983): Renamed from
1198 `Qjapanese_jisx0208'.
1199 (syms_of_mule_charset): Add new symbol `=jis-x0208-1983' instead
1200 of `japanese-jisx0208'.
1201 (complex_vars_of_mule_charset): Rename `japanese-jisx0208' to
1204 2003-04-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1206 * mule-charset.c (Qmap_jis_x0208_1978): Renamed from
1207 `Qjapanese_jisx0208_1978'.
1208 (syms_of_mule_charset): Add new symbol `=jis-x0208-1978' instead
1209 of `japanese-jisx0208-1978'.
1210 (complex_vars_of_mule_charset): Rename `japanese-jisx0208-1978' to
1213 2003-04-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1215 * chartab.c (decode_char_table_range): CHARTAB_RANGE_DEFAULT is
1216 only for XEmacs CHISE.
1218 2003-04-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1220 * char-ucs.h: Compact non-ISO-IR charset-ids.
1221 (LEADING_BYTE_UCS): Changed to -177.
1222 (LEADING_BYTE_CONTROL_1): Changed to -77.
1223 (LEADING_BYTE_UCS_BMP): Changed to -176.
1224 (LEADING_BYTE_JAPANESE_JISX0208_1990): Changed to -168.
1226 2003-04-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1228 * mule-charset.c (Qiso_ir): New variable.
1229 (Fmake_charset): Recognise new property `iso-ir'.
1230 (syms_of_mule_charset): Add new symbol `iso-ir'.
1232 2003-04-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1234 * char-ucs.h: Change charset-id of ISO-IR sets from ISO-IR-number
1235 n to -n; charset-id of non ISO-IR sets are changed to positive
1238 2003-03-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1240 * text-coding.c (decode_add_er_char): Use XUINT instead of XINT
1241 for &MCS-XXXXXXXX; values.
1243 2003-03-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1245 * mule.c (Vxemacs_chise_version): Renamed from
1246 `Vutf_2000_version'.
1247 (vars_of_mule): Add new variable `xemacs-chise-version'; define
1248 `utf-2000-version' as an alias for `xemacs-chise-version'.
1250 2003-03-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1252 * mule-charset.c: Include <chise.h> when `CHISE' is defined.
1253 (load_char_decoding_entry_maybe): Use libchise when `CHISE' is
1256 * config.h.in (CHISE): New macro.
1258 2003-03-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1260 * mule-charset.c (put_char_ccs_code_point): Refer `=ucs' instead
1262 (Qmap_ucs): New variable.
1263 (syms_of_mule_charset): Add new symbol `=ucs'.
1264 (complex_vars_of_mule_charset): Rename `ucs' to `=ucs'.
1266 * fns.c (ids_format_unit): Refer `=ucs' instead of `ucs'.
1267 (simplify_char_spec): Likewise.
1269 * chartab.c (Fdefine_char): Refer `=ucs' as same as `ucs'.
1271 * char-ucs.h (Qmap_ucs): New extern variable.
1273 2003-03-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1275 * mule-charset.c (Qmap_jis_x0208): Renamed from `Qjis_x0208'.
1276 (Qmap_jis_x0208_1990): Renamed from `Qjapanese_jisx0208_1990';
1277 don't define it when UTF2000 is not defined.
1278 (syms_of_mule_charset): Modify for `Qmap_jis_x0208'; rename
1279 `japanese-jisx0208-1990' to `=jis-x0208-1990'; don't define it
1280 when UTF2000 is not defined.
1281 (complex_vars_of_mule_charset): Modify for `Qmap_jis_x0208';
1282 rename `japanese-jisx0208-1990' to `=jis-x0208-1990'.
1284 2003-03-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1286 * char-ucs.h (LEADING_BYTE_UCS_GB): Deleted.
1288 * mule-charset.c (Vcharset_ucs_gb): Deleted.
1290 (syms_of_mule_charset): Delete `ucs-gb'.
1291 (complex_vars_of_mule_charset): Likewise.
1293 2003-03-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1295 * char-ucs.h (LEADING_BYTE_UCS_CNS): Deleted.
1297 * mule-charset.c (Vcharset_ucs_cns): Deleted.
1298 (Qucs_cns): Deleted.
1299 (syms_of_mule_charset): Delete `ucs-cns'.
1300 (complex_vars_of_mule_charset): Likewise.
1302 2003-03-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1304 * char-ucs.h (LEADING_BYTE_UCS_JIS): Deleted.
1306 * mule-charset.c (Vcharset_ucs_jis): Deleted.
1307 (Qucs_jis): Deleted.
1308 (syms_of_mule_charset): Delete `ucs-jis'.
1309 (complex_vars_of_mule_charset): Likewise.
1311 2003-03-02 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1313 * char-ucs.h (LEADING_BYTE_UCS_KS): Deleted.
1315 * mule-charset.c (Vcharset_ucs_ks): Deleted.
1317 (syms_of_mule_charset): Delete `ucs-ks'.
1318 (complex_vars_of_mule_charset): Likewise.
1320 2003-03-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1322 * mule-charset.c (Vcharset_ideograph_daikanwa_2): Deleted.
1323 (Qideograph_daikanwa_2): Deleted.
1324 (syms_of_mule_charset): Delete `ideograph-daikanwa-2'.
1325 (complex_vars_of_mule_charset): Likewise.
1327 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): Deleted.
1328 (LEADING_BYTE_DAIKANWA_1): Deleted.
1329 (LEADING_BYTE_DAIKANWA_2): Deleted.
1330 (MIN_CHAR_DAIKANWA): Deleted.
1331 (MAX_CHAR_DAIKANWA): Deleted.
1333 2003-02-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1335 * char-ucs.h (LEADING_BYTE_DAIKANWA_3): Deleted.
1336 (LEADING_BYTE_HANZIKU_{1..12}): Deleted.
1337 ({MIN|MAX}_CHAR_HANZIKU_{1..12}): Deleted.
1339 * mule-charset.c (Vcharset_ideograph_hanziku_{1..12}): Deleted.
1340 (Vcharset_ideograph_daikanwa): Deleted.
1341 (Qideograph_hanziku_{1..12}): Deleted.
1342 (Qideograph_daikanwa): Deleted.
1343 (encode_builtin_char_1): Don't use {MIN|MAX}_CHAR_DAIKANWA and
1344 Vcharset_ideograph_daikanwa.
1345 (syms_of_mule_charset): Delete `ideograph-daikanwa' and
1346 `ideograph-hanziku-{1..12}'.
1347 (complex_vars_of_mule_charset): Likewise.
1349 2003-02-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1351 * char-ucs.h (LEADING_BYTE_GT_PJ_{1..11}): Deleted.
1353 * mule-charset.c (Vcharset_ideograph_gt_pj_{1..11}): Deleted.
1354 (Qideograph_gt_pj_{1..11}): Deleted.
1355 (syms_of_mule_charset): Delete `ideograph-gt-pj-{1..11}'.
1356 (complex_vars_of_mule_charset): Likewise.
1358 2003-02-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1360 * mule-charset.c (Vcharset_ucs_big5): Deleted.
1361 (Vcharset_ideograph_gt): Deleted.
1362 (Qucs_big5): Deleted.
1363 (Qideograph_gt): Deleted.
1364 (syms_of_mule_charset): Delete symbol `ucs-big5' and
1366 (complex_vars_of_mule_charset): Delete coded-charset `ucs-big5'
1369 * char-ucs.h (LEADING_BYTE_UCS_BIG5): Deleted.
1370 (LEADING_BYTE_GT): Deleted.
1371 (MIN_CHAR_GT): Deleted.
1372 (MAX_CHAR_GT): Deleted.
1374 2003-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1376 * chartab.c (Fput_char_attribute): Canonicalise charset-aliases.
1378 2003-01-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1380 * chartab.c (save_uint8_byte_table): Add new argument `filter'.
1381 (save_uint16_byte_table): Likewise.
1382 (save_byte_table): Likewise; convert values by it.
1383 (Fput_char_attribute): Don't use `char-refs-simplify-char-specs'
1384 for `ideographic-structure'.
1385 (Fsave_char_attribute_table): Use `char-refs-simplify-char-specs'
1386 as the filter for `ideographic-structure'.
1388 2003-01-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1390 * chartab.c (put_char_composition): New function.
1391 (Fput_char_attribute): Use `put_char_composition'; use
1392 `Fchar_refs_simplify_char_specs' for `ideographic-structure'.
1394 * fns.c (simplify_char_spec): New function.
1395 (char_ref_simplify_spec): New function.
1396 (Fchar_refs_simplify_char_specs): New function.
1397 (syms_of_fns): Add new builtin function
1398 `char-refs-simplify-char-specs'.
1400 2003-01-05 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1402 * mule-charset.c (Vcharset_ideograph_cbeta): Deleted.
1403 (Qideograph_cbeta): Deleted.
1404 (syms_of_mule_charset): Don't define `ideograph-cbeta'.
1405 (complex_vars_of_mule_charset): Likewise.
1407 * char-ucs.h (LEADING_BYTE_CBETA): Deleted.
1408 (MIN_CHAR_CBETA): Comment out.
1409 (MAX_CHAR_CBETA): Likewise.
1411 2002-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1413 * mule-charset.c, chartab.h, casetab.c, char-ucs.h, chartab.c: Use
1414 `HAVE_CHISE_CLIENT' instead of `HAVE_DATABASE' to indicate the
1415 CHISE client feature.
1417 2002-12-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1419 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.20.
1421 2002-12-19 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1423 * mule-charset.c (charset_lookup_description_1): Use
1424 `NUM_LEADING_BYTES' in UTF-2000.
1426 2002-12-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1428 * char-ucs.h (GC_CHARSETP): Deleted.
1430 2002-12-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1432 * char-ucs.h (MAX_CHAR_GT): Updated.
1434 2002-12-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1436 * text-coding.c: Sync with XEmacs 21.4.10.
1438 2002-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1440 * mule-charset.c (Vcharset_china3_jef): Deleted.
1441 (Qchina3_jef): Deleted.
1442 (syms_of_mule_charset): Don't define `china3-jef'.
1443 (complex_vars_of_mule_charset): Likewise.
1445 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Deleted.
1446 (MIN_CHAR_CHINA3_JEF): Comment out.
1447 (MAX_CHAR_CHINA3_JEF): Comment out.
1449 2002-11-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1451 * mule-charset.c (Vcharset_ucs_gb): New variable.
1452 (Qucs_gb): New variable.
1453 (syms_of_mule_charset): Add new symbol `ucs-gb'.
1454 (complex_vars_of_mule_charset): Add new coded-charset `ucs-gb'.
1456 * char-ucs.h (LEADING_BYTE_UCS_GB): New macro.
1458 2002-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1460 * mule-charset.c (charset_code_point): if a coded-charset has a
1461 final-byte, don't inherit the builtin range of the mother CCS.
1463 2002-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1465 * mule-charset.c (charset_code_point): Fix problem about
1468 2002-11-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1470 * mule-charset.c (decode_builtin_char): Reorganized.
1472 2002-10-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1474 * text-coding.c (char_encode_as_entity_reference): Modify for
1475 `charset_code_point'.
1476 (char_encode_shift_jis): Likewise.
1477 (char_encode_big5): Likewise.
1478 (char_encode_utf8): Likewise.
1479 (char_encode_iso2022): Likewise.
1481 * mule-charset.c (charset_code_point): Add new argument
1483 (Fencode_char): Add new optional argument `defined_only'.
1485 * chartab.c (put_char_table): Modify for `charset_code_point'.
1487 * char-ucs.h (charset_code_point): Add new argument
1489 (encode_char_1): Modify for `charset_code_point'.
1491 2002-10-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1493 * mule-charset.c (complex_vars_of_mule_charset): Don't specify
1494 `MIN_CHAR_THAI' and `MAX_CHAR_THAI' for `thai-tis620'.
1496 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1498 * mule-charset.c (Vcharset_jis_x0208): New variable in UTF-2000.
1499 (Qjis_x0208): Likewise.
1500 (decode_builtin_char): Prefer XCHARSET_MAX_CODE(charset) than
1501 XCHARSET_FINAL(charset).
1502 (charset_code_point): Modify condition for final-byte based
1504 (syms_of_mule_charset): Add new symbol `=jis-x0208' in UTF-2000.
1505 (complex_vars_of_mule_charset): Add new coded-charset `=jis-x0208'
1506 in UTF-2000; specify `=jis-x0208' as the mother of
1507 `japanese-jisx0208-1978', `japanese-jisx0208' and
1508 `japanese-jisx0208-1990' in UTF-2000.
1510 2002-10-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1512 * char-ucs.h (LEADING_BYTE_JIS_X0208): New macro.
1514 2002-10-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1516 * text-coding.c (decode_coding_utf16): Support UTF-16.
1517 (char_encode_utf16): Fixed.
1519 2002-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1521 * text-coding.c (Qutf16): New variable in MULE.
1522 (Fmake_coding_system): Accept `utf-16' as `type' in MULE.
1523 (Fcoding_system_type): Add `utf-16' in MULE.
1524 (struct detection_state): Add a structure for utf16 in MULE.
1525 (detect_coding_type): Setup st->utf16.mask in MULE.
1526 (mule_decode): Use `decode_coding_utf16' for `CODESYS_UTF16' in
1528 (reset_encoding_stream): Use `char_encode_utf16' and
1529 `char_finish_utf16' for `CODESYS_UTF16' in MULE.
1530 (detect_coding_utf16): New function [incomplete].
1531 (decode_coding_utf16): New function [support only UCS-2].
1532 (char_encode_utf16): New function.
1533 (char_finish_utf16): New function.
1534 (syms_of_file_coding): Add new symbol `utf-16'; setup
1535 `coding_category_symbol[CODING_CATEGORY_UTF16]'.
1537 * file-coding.h (enum coding_system_type): Add `CODESYS_UTF16' in
1539 (enum coding_category_type): Add `CODING_CATEGORY_UTF16' in MULE.
1540 (CODING_CATEGORY_UTF16_MASK): New macro in MULE.
1542 2002-10-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1544 * chartab.c (put_char_table): When a charset is specified as a
1545 range in UTF-2000, don't support builtin characters.
1547 2002-09-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1549 * mule-charset.c (decode_defined_char): Don't refer external
1550 database if Qunbound or Qnil are found.
1551 (Fsave_charset_mapping_table): Don't define it if
1552 HAVE_CHISE_CLIENT is not defined.
1553 (Freset_charset_mapping_table): New function.
1554 (load_char_decoding_entry_maybe): Store Qnil if a character is not
1555 found in external database.
1556 (syms_of_mule_charset): Don't define `save-charset-mapping-table'
1557 if HAVE_CHISE_CLIENT is not defined; add new builtin function
1558 `reset-charset-mapping-table' if HAVE_CHISE_CLIENT is defined.
1560 2002-09-18 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1562 * text-coding.c (decode_coding_utf8): Check CCS is specified or
1565 2002-08-26 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1567 * chartab.h: Add extern declarations for Qdowncase, Qflippedcase,
1568 Q_lowercase, Q_uppercase in UTF-2000.
1570 * chartab.c (get_char_table): Add special code for the standard
1571 case table to use character attribute `->downcase' and
1572 `->uppercase' for case operations in UTF-2000.
1574 * casetab.c (Qflippedcase): New variable in UTF-2000.
1575 (Q_lowercase): Likewise.
1576 (Q_uppercase): Likewise.
1577 (syms_of_casetab): Add new symbols `flippedcase', `->lowercase'
1578 and `->uppercase' in UTF-2000.
1579 (complex_vars_of_casetab): Assign attribute name `downcase' to
1580 downcase and CANON table of Vstandard_case_table in UTF-2000;
1581 assign attribute name `flippedcase' to upcase and EQV table of
1582 Vstandard_case_table in UTF-2000.
1584 2002-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1586 * text-coding.c (decode_add_er_char): Support isolated-chars.
1587 (char_encode_as_entity_reference): Likewise.
1589 2002-08-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1591 * emacs.c (Vutf_2000_lisp_directory): New variable.
1592 (Vconfigure_utf_2000_lisp_directory): Likewise.
1593 (complex_vars_of_emacs): Add new variable
1594 `utf-2000-lisp-directory' and `configure-utf-2000-lisp-directory'.
1596 2002-08-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1598 * char-ucs.h (DECODE_CHAR): Delete special code for
1599 `chinese-big5-1' and `chinese-big5-2'.
1601 * mule-charset.c (Qbig5_1): New variable in UTF-2000.
1602 (Qbig5_2): Likewise.
1603 (decode_defined_char): Support CONVERSION_BIG5_1 and
1605 (decode_builtin_char): Likewise.
1606 (charset_code_point): Likewise.
1607 (Fmake_charset): Accept `big5-1' and `big5-2' as a value of
1608 'conversion in UTF-2000.
1609 (syms_of_mule_charset): Add new symbol `big5-1' and `big5-2'.
1610 (complex_vars_of_mule_charset): Define `chinese-big5-1' and
1611 `chinese-big5-2' as children of `chinese-big5'.
1613 * char-ucs.h (CONVERSION_BIG5_1): New macro.
1614 (CONVERSION_BIG5_2): New macro.
1616 2002-08-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1618 * text-coding.c (char_encode_big5): Support entity-reference.
1620 2002-08-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1622 * text-coding.c (char_encode_as_entity_reference): New function.
1623 (char_encode_utf8): Use `char_encode_as_entity_reference'.
1625 2002-08-09 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1627 * text-coding.c (decode_coding_big5): Support entity-reference
1630 2002-08-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1632 * text-coding.c (allocate_coding_system): Initialize initial
1633 charsets for CODESYS_UTF8.
1634 (Fmake_coding_system): Accept charset-g0, charset-g1 and
1635 charset-g2 for CODESYS_UTF8.
1636 (decode_coding_utf8): Use charset-g0.
1637 (char_encode_utf8): Use charset-g0; use charset-g1 and charset-g2
1638 to force variants to map to UCS.
1640 2002-07-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1642 * text-coding.c (Qutf_8_mcs): New variable.
1643 (syms_of_file_coding): Add new symbol `utf-8-mcs' in UTF-2000.
1644 (complex_vars_of_file_coding): Define coding-system `utf-8-mcs'
1645 instead of `utf-8' in UTF-2000.
1647 2002-07-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1649 * mule-charset.c (charset_code_point): If CHARSET_CONVERSION is
1650 CONVERSION_IDENTICAL, identical conversion is used even if a CCS
1651 is ISO-2022 style; instead of it, CONVERSION_94, CONVERSION_96,
1652 CONVERSION_94x94, CONVERSION_96x96, CONVERSION_94x94x94,
1653 CONVERSION_96x96x96, CONVERSION_94x94x94x94 and
1654 CONVERSION_96x96x96x96 are introduced.
1655 (complex_vars_of_mule_charset): Specify CONVERSION_96 instead of
1656 CONVERSION_IDENTICAL for thai-tis620; Specify CONVERSION_94x94
1657 instead of CONVERSION_IDENTICAL for japanese-jisx0208-1990.
1659 * char-ucs.h (CONVERSION_94): New macro.
1660 (CONVERSION_96): New macro.
1661 (CONVERSION_94x94): New macro.
1662 (CONVERSION_96x96): New macro.
1663 (CONVERSION_94x94x94): New macro.
1664 (CONVERSION_96x96x96): New macro.
1665 (CONVERSION_94x94x94x60): New macro.
1666 (CONVERSION_94x94x94x94): New macro.
1667 (CONVERSION_96x96x96x96): New macro.
1669 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1671 * chartab.c (Vcharacter_variant_table): Deleted.
1672 (Fchar_variants): Use character-attribute `->ucs-variants' instead
1673 of `Vcharacter_variant_table'.
1674 (Fput_char_attribute): Likewise.
1675 (vars_of_chartab): Don't setup `Vcharacter_variant_table'.
1676 (complex_vars_of_chartab): Likewise.
1678 2002-07-17 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1680 * lisp.h: Add an EXFUN for `Fchar_ref_p'.
1682 * fns.c (Qideographic_structure): New variable.
1683 (Qkeyword_char): New variable.
1684 (ids_format_unit): New function.
1685 (Fideographic_structure_to_ids): New function.
1686 (syms_of_fns): Add new symbols `ideographic-structure' and
1687 `:char'; add new builtin function `ideographic-structure-to-ids'.
1689 * data.c (Fchar_ref_p): New function.
1690 (syms_of_data): Add new builtin function `char-ref-p'.
1692 * chartab.h: Add an EXFUN for `Ffind_char'.
1694 2002-07-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1696 * text-coding.c (Vcharacter_composition_table): Deleted.
1697 (COMPOSE_ADD_CHAR): Use the implementation for external-DB support
1700 * chartab.c: Add EXFUN for `Fmap_char_attribute' in every
1702 (Vcharacter_composition_table): Deleted.
1703 (Fget_composite_char): Use the implementation for external-DB
1704 support in every UTF-2000.
1705 (Fput_char_attribute): Likewise.
1706 (char_attribute_system_db_file): Don't define if external-DB
1707 feature is not available.
1708 (Fsave_char_attribute_table): Likewise.
1709 (Fmount_char_attribute_table): Likewise.
1710 (Fclose_char_attribute_table): Likewise.
1711 (Freset_char_attribute_table): Likewise.
1712 (Fload_char_attribute_table): Likewise.
1713 (syms_of_chartab): Don't define `save-char-attribute-table',
1714 `mount-char-attribute-table', `reset-char-attribute-table',
1715 `close-char-attribute-table' and `load-char-attribute-table' if
1716 external-DB feature is not available.
1717 (vars_of_chartab): Don't setup `Vcharacter_composition_table'.
1719 2002-07-15 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1721 * text-coding.c (Qcomposition): Add extern if external-DB feature
1723 (Vcharacter_composition_table): Don't add extern if external-DB
1724 feature is supported.
1725 (COMPOSE_ADD_CHAR): Modify for new data-representation of
1726 character composition rule if external-DB feature is supported.
1728 * chartab.c (Vcharacter_composition_table): Don't define if
1729 external-DB feature is supported.
1730 (Qcomposition): New variable.
1731 (Fget_composite_char): New implementation for external-DB support.
1732 (Fput_char_attribute): Use `composition' property of each
1733 character instead of `Vcharacter_composition_table' to store
1734 character-composition rules if external-DB feature is supported.
1735 (syms_of_chartab): Add new symbol `composition'.
1736 (vars_of_chartab): Don't setup `Vcharacter_composition_table' if
1737 external-DB feature is supported.
1739 2002-07-14 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1741 * chartab.c (Vchar_db_stingy_mode): New variable.
1742 (load_char_attribute_maybe): Close database if
1743 Vchar_db_stingy_mode is not NIL.
1744 (Fload_char_attribute_table_map_function): Use
1745 `get_char_id_table_0' instead of `get_char_id_table'.
1746 (vars_of_chartab): Add new variable `char-db-stingy-mode'.
1748 * chartab.h (get_char_id_table_0): New inline function.
1749 (get_char_id_table): Use `get_char_id_table_0'.
1751 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1753 * text-coding.c (decode_coding_utf8): Use `COMPOSE_FLUSH_CHARS'
1754 and `COMPOSE_ADD_CHAR'.
1755 (decode_coding_iso2022): Use `decode_flush_er_chars'.
1757 2002-07-07 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1759 * text-coding.c (COMPOSE_FLUSH_CHARS): Use `decode_add_er_char'
1760 instead of `DECODE_ADD_UCS_CHAR'.
1761 (COMPOSE_ADD_CHAR): Likewise.
1763 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1765 * text-coding.c (decode_flush_er_chars): New inline function.
1766 (decode_add_er_char): New function.
1767 (decode_coding_utf8): Use `decode_flush_er_chars' and
1768 `decode_add_er_char'.
1770 2002-07-06 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1772 * text-coding.c (decode_coding_utf8): Flush for er_buf must be
1773 done before `decode_output_utf8_partial_char'.
1775 * mule-charset.c (complex_vars_of_mule_charset): Specify
1776 `Vcharset_ucs' as the mother of `Vcharset_ucs_cns',
1777 `Vcharset_ucs_ks' and `Vcharset_ucs_big5'.
1779 2002-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1781 * mule-charset.c (decode_defined_char): New function; search
1783 (decode_builtin_char): Don't search mother if
1784 XCHARSET_MAX_CODE(charset) == 0.
1785 (charset_code_point): Search mother if XCHARSET_MAX_CODE(charset)
1786 == 0 even if code >= XCHARSET_MAX_CODE(charset).
1787 (Fdecode_char): Use `decode_defined_char' instead of
1788 `DECODE_DEFINED_CHAR'.
1789 (complex_vars_of_mule_charset): Specify `Vcharset_ucs' as the
1790 mother of `Vcharset_ucs_jis'.
1792 * text-coding.c (decode_coding_big5): Use `decode_defined_char'
1793 instead of `DECODE_DEFINED_CHAR'.
1795 * char-ucs.h (decode_defined_char): Renamed from
1796 `DECODE_DEFINED_CHAR'; changed to normal function.
1797 (DECODE_CHAR): Use `decode_defined_char' instead of
1798 `DECODE_DEFINED_CHAR'.
1800 * lisp.h: Add `EXFUN' for `Fstring_to_number'.
1802 2002-07-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1804 * char-ucs.h: Add `extern' for `Vcharset_ucs'.
1806 * text-coding.c (Vcoded_charset_entity_reference_alist): New
1808 (Quse_entity_reference): New variable.
1812 (coding_system_description): Add description for
1813 `ccs_priority_list'.
1814 (mark_coding_system): Mark `ccs_priority_list' in UTF-2000.
1815 (allocate_coding_system): Initialize `ccs_priority_list' in
1817 (Fmake_coding_system): Add description about
1818 'use-entity-reference; setup CODING_SYSTEM_USE_ENTITY_REFERENCE
1820 (Fcoding_system_property): Accept `disable-composition' and
1821 `use-entity-reference' in UTF-2000.
1822 (struct decoding_stream): Add new member `er_counter' and `er_buf'
1824 (reset_decoding_stream): Initialize `str->er_counter' in UTF-2000.
1825 (decode_coding_utf8): Decode entity-reference if
1826 CODING_SYSTEM_USE_ENTITY_REFERENCE (str->codesys).
1827 (char_encode_utf8): Encode non-Unicode characters as
1828 entity-references if CODING_SYSTEM_USE_ENTITY_REFERENCE
1830 (syms_of_file_coding): Add new symbols `use-entity-reference',
1832 (vars_of_file_coding): Add new variable
1833 `coded-charset-entity-reference-alist'.
1834 (complex_vars_of_file_coding): Declare `disable-composition' and
1835 `use-entity-reference' to be coding-system-properties in UTF-2000.
1837 * file-coding.h (struct Lisp_Coding_System): Add new member
1838 `use_entity_reference' and `ccs_priority_list'.
1839 (CODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1840 (CODING_SYSTEM_CCS_PRIORITY_LIST): New macro.
1841 (XCODING_SYSTEM_USE_ENTITY_REFERENCE): New macro.
1843 2002-07-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1845 * chartab.c (save_uint8_byte_table): Don't clear the table.
1846 (save_uint16_byte_table): Likewise.
1847 (save_byte_table): Likewise.
1848 (Fmount_char_attribute_table): New function.
1849 (syms_of_chartab): Add new builtin function
1850 `mount-char-attribute-table'.
1852 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1854 * mule-charset.c (Fsave_charset_mapping_table): Open database as
1856 (load_char_decoding_entry_maybe): Open database as read-only mode.
1858 * chartab.c (Fsave_char_attribute_table): Don't share `ct->db';
1859 open database as "w+" mode.
1860 (load_char_attribute_maybe): Open database as read-only mode.
1861 (Fload_char_attribute_table): Likewise.
1863 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1865 * chartab.c (mark_char_table): Don't refer `ct->db_file'.
1866 (char_table_description): Delete member `db_file'.
1867 (Fmake_char_table): Don't refer `ct->db_file'.
1868 (Fcopy_char_table): Likewise.
1869 (Fsave_char_attribute_table): Likewise.
1870 (Fclose_char_attribute_table): Likewise.
1871 (Freset_char_attribute_table): Likewise.
1872 (load_char_attribute_maybe): Likewise.
1873 (Fload_char_attribute_table): Likewise.
1875 * chartab.h (struct Lisp_Char_Table): Delete member `db_file'.
1877 2002-07-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1879 * chartab.c: Add an EXFUN for `Fmap_char_attribute'.
1880 (Fsave_char_attribute_table): Don't check `ct->db_file' if
1882 (load_char_attribute_maybe): Likewise.
1883 (Fload_char_attribute_table): Likewise.
1885 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1887 * chartab.c (Fclose_char_attribute_table): Set Qnil on
1888 `ct->db_file' unconditionally.
1890 2002-07-01 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1892 * chartab.c (mark_char_table): Mark `ct->db_file' and `ct->db' in
1894 (char_table_description): Add description for `db_file' and `db'
1896 (Fmake_char_table): Initialize `ct->db_file' and `ct->db' in
1898 (Fcopy_char_table): Copy `ct->db_file' and `ct->db' in UTF-2000.
1899 (Fsave_char_attribute_table): Use `ct->db_file' and `ct->db'.
1900 (Fclose_char_attribute_table): New function.
1901 (Freset_char_attribute_table): Reset `ct->db_file' and `ct->db'.
1902 (load_char_attribute_maybe): Change interface; use `cit->db_file'
1904 (Fload_char_attribute_table): Use `ct->db_file' and `ct->db'.
1905 (syms_of_chartab): Add new builtin function
1906 `Fclose_char_attribute_table'.
1908 2002-06-28 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1910 * chartab.h (struct Lisp_Char_Table): Add new member `db_file' and
1912 (load_char_attribute_maybe): Change interface.
1913 (get_char_id_table): Modify for `load_char_attribute_maybe'.
1915 2002-06-27 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1917 * database.h: Add an EXFUN for `Fdatabase_live_p'.
1919 2002-04-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1921 * mule-charset.c (decode_builtin_char): Use `decode_builtin_char'
1922 instead of `DECODE_CHAR' for mother; don't use special code for
1923 chinese-big5 to use code space of chinese-big5-1 and
1925 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' and
1926 `MAX_CHAR_BIG5_CDP' for chinese-big5.
1928 * char-ucs.h (MIN_CHAR_BIG5_CDP): Revival.
1929 (MAX_CHAR_BIG5_CDP): Revival.
1931 2002-04-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1933 * mule-charset.c (complex_vars_of_mule_charset): Use "big5-0" as
1934 the XLFD registry-encoding name of `chinese-big5'.
1936 2002-04-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1938 * mule-charset.c (Vcharset_chinese_big5_cdp): Deleted.
1939 (Qchinese_big5_cdp): Deleted.
1940 (syms_of_mule_charset): Delete symbol `chinese-big5-cdp'.
1941 (complex_vars_of_mule_charset): Delete coded-charset
1944 * char-ucs.h (CHARSET_ID_OFFSET): Deleted.
1945 (LEADING_BYTE_*): Use `MIN_LEADING_BYTE + n' instead of
1946 `CHARSET_ID_OFFSET - n' for private CCS.
1947 (LEADING_BYTE_CHINESE_BIG5_CDP): Deleted.
1948 (MIN_LEADING_BYTE_PRIVATE): Use `(MIN_LEADING_BYTE + 97)' instead
1949 of `MIN_LEADING_BYTE'.
1950 (MAX_LEADING_BYTE_PRIVATE): Use `-1' instead of
1951 `(CHARSET_ID_OFFSET - 97)'.
1952 (MIN_CHAR_BIG5_CDP): Deleted.
1953 (MAX_CHAR_BIG5_CDP): Deleted.
1955 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1957 * mule.c (vars_of_mule): Update `utf-2000-version' to 0.19.
1959 2002-03-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
1961 * mule.c (Vutf_2000_version): New variable [moved from chartab.c].
1962 (vars_of_mule): Add new variable `utf-2000-version' [moved from
1965 * chartab.c (Vutf_2000_version): Moved to mule.c.
1966 (vars_of_chartab): Move code about `utf-2000-version' into mule.c.
1968 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1970 * mule-charset.c (load_char_decoding_entry_maybe): Don't define it
1971 when HAVE_CHISE_CLIENT is not defined.
1973 * mule.c (vars_of_mule): Provide feature `chise' when
1974 HAVE_CHISE_CLIENT is defined.
1976 2002-03-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1978 * config.h.in (UTF2000): Add comment.
1979 (HAVE_CHISE_CLIENT): New macro.
1981 2002-02-25 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1983 * chartab.c (Fchar_variants): Check Vcharacter_variant_table is
1985 (Fput_char_attribute): Likewise.
1986 (char_attribute_system_db_file): Encode file-name of attribute.
1987 (vars_of_chartab): Set Qunbound into Vcharacter_variant_table as
1990 2002-02-13 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
1992 * mule-charset.c (put_char_ccs_code_point): Delete unused codes.
1993 (Fsave_charset_mapping_table): Use
1994 `char_attribute_system_db_file'.
1995 (load_char_decoding_entry_maybe): Likewise.
1997 * chartab.h (Qsystem_char_id): New external variable.
1998 (char_attribute_system_db_file): New prototype.
2000 * chartab.c (Qsystem_char_id): New variable in UTF-2000.
2001 (char_attribute_system_db_file): New function.
2002 (Fsave_char_attribute_table): Use `char_attribute_system_db_file'.
2003 (Freset_char_attribute_table): Likewise.
2004 (load_char_attribute_maybe): Likewise.
2005 (Fload_char_attribute_table): Likewise.
2006 (syms_of_chartab): Add new symbol `system-char-id'.
2008 2002-02-12 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2010 * char-ucs.h (DECODE_DEFINED_CHAR): Don't check
2011 `XCHARSET_GRAPHIC(ccs)'.
2013 2002-02-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2015 * mule-charset.c (Fsave_charset_mapping_table): Fixed.
2017 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2019 * chartab.c (Q_ucs_variants): New variable.
2020 (syms_of_chartab): Add new symbol `->ucs-variants'.
2021 (complex_vars_of_chartab): Set `Vcharacter_variant_table' on
2022 `Vchar_attribute_hash_table' as the value of `->ucs-variants'; set
2023 `->ucs-variants' on `XCHAR_TABLE_NAME (Vcharacter_variant_table)'.
2025 * mule-charset.c (load_char_decoding_entry_maybe): New function.
2027 * char-ucs.h (load_char_decoding_entry_maybe): New prototype when
2028 `HAVE_DATABASE' is defined.
2029 (DECODE_DEFINED_CHAR): Use `load_char_decoding_entry_maybe' when
2030 `HAVE_DATABASE' is defined.
2032 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2034 * chartab.c (Fsave_char_attribute_table): Don't clear internal
2036 (Freset_char_attribute_table): New function.
2037 (syms_of_chartab): Add new builtin function
2038 `reset-char-attribute-table'.
2040 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2042 * chartab.c (load_char_attribute_maybe): Don't make directories.
2044 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2046 * char-ucs.h: Add EXFUN for `Fmake_directory_internal'.
2048 * mule-charset.c (put_char_ccs_code_point): Don't prepare a vector
2051 2002-02-11 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2053 * mule-charset.c (Fsave_charset_mapping_table): Use
2054 `XCHARSET_BYTE_SIZE' instead of `XCHARSET_CHARS'.
2056 * char-ucs.h (put_ccs_octet_table): Use `XCHARSET_BYTE_SIZE'
2057 instead of `XCHARSET_CHARS'.
2059 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2061 * mule-charset.c (CHARSET_BYTE_SIZE): Moved to char-ucs.h.
2062 (XCHARSET_BYTE_SIZE): Likewise.
2064 * char-ucs.h (CHARSET_BYTE_SIZE): New inline function [moved from
2066 (XCHARSET_BYTE_SIZE): Likewise.
2068 2002-02-10 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2070 * chartab.c (Fput_char_attribute): Use exec-directory instead of
2071 data-directory to store database.
2072 (Fsave_char_attribute_table): Likewise.
2073 (load_char_attribute_maybe): Likewise.
2074 (Fload_char_attribute_table): Likewise.
2076 2002-02-08 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2078 * mule-charset.c (Fsave_charset_mapping_table): New function.
2079 (syms_of_mule_charset): Add new builtin function
2080 `save-charset-mapping-table'.
2082 2002-02-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2084 * char-ucs.h (decoding_table_check_elements): Delete prototype.
2085 (get_ccs_octet_table): New inline function.
2086 (put_ccs_octet_table): Likewise.
2087 (decoding_table_put_char): Use `get_ccs_octet_table' and
2088 `put_ccs_octet_table'.
2089 (decoding_table_remove_char): Use `decoding_table_put_char'.
2090 (DECODE_DEFINED_CHAR): Use `get_ccs_octet_table'.
2092 * mule-charset.c (remove_char_ccs): Store Qunbound instead of Qnil
2093 into encoding_table.
2094 (make_charset): Use Qunbound instead Qnil as initial value of
2097 2002-02-04 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2099 * chartab.c (map_over_uint8_byte_table): Set Qunbound if an
2100 element is Qunloaded.
2101 (map_over_uint16_byte_table): Likewise.
2102 (map_over_byte_table): Likewise.
2103 (map_char_table): Likewise for CHARTAB_RANGE_ALL in UTF-2000; when
2104 CHARTAB_RANGE_CHARSET is specified in UTF-2000 with external
2105 database support, load encoding-table of the specified
2106 coded-charset if it is not loaded yet.
2107 (save_uint8_byte_table): New function of UTF-2000 with external
2109 (save_uint16_byte_table): Likewise.
2110 (save_byte_table): Likewise.
2111 (Fput_char_attribute): Don't store value into external database
2112 even if the external database feature is supported in UTF-2000;
2113 set `attribute' as name of char-table if the external database
2114 feature is supported.
2115 (Fsave_char_attribute_table): New function in UTF-2000.
2116 (syms_of_chartab): Add new builtin function
2117 `save-char-attribute-table' in UTF-2000.
2119 2002-02-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2121 * chartab.c (char_attribute_table_to_put): New variable in
2123 (Qput_char_table_map_function): Likewise.
2124 (value_to_put): Likewise.
2125 (Fput_char_table_map_function): New function in UTF-2000.
2126 (put_char_table): Use `Fmap_char_attribute' for
2127 CHARTAB_RANGE_CHARSET in UTF-2000.
2128 (Fput_char_attribute): Store symbol instead of string in
2129 `XCHAR_TABLE_NAME (table)'.
2130 (load_char_attribute_maybe): Likewise.
2131 (syms_of_chartab): Add new symbol/function
2132 `put-char-table-map-function'.
2134 2002-01-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2136 * database.h: Add new EXFUN for `Fmap_database'.
2138 * database.c (Fmap_database): Renamed from `Fmapdatabase'.
2139 (syms_of_database): Likewise.
2141 * chartab.h (struct Lisp_Char_Table): Add new member `unloaded' in
2143 (CHAR_TABLE_UNLOADED): New macro of UTF-2000.
2144 (XCHAR_TABLE_UNLOADED): Likewise.
2146 * chartab.c (fill_char_table): Initialize `ct->unloaded'.
2147 (Fput_char_attribute): Set XCHAR_TABLE_UNLOADED(table) if
2148 HAVE_DATABASE is defined.
2149 (char_attribute_table_to_load): New variable of UTF-2000 with
2150 external database support.
2151 (Qload_char_attribute_table_map_function): Likewise.
2152 (Fload_char_attribute_table_map_function): New function of
2153 UTF-2000 with external database support.
2154 (Fload_char_attribute_table): New function of UTF-2000.
2155 (Fmap_char_attribute): Call Fload_char_attribute_table if
2156 CHAR_TABLE_UNLOADED(ct) is set when HAVE_DATABASE is defined.
2157 (syms_of_chartab): Add new symbol and function
2158 `load-char-attribute-table-map-function' in UTF-2000 with external
2159 database support; add new function `load-char-attribute-table' in
2162 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2164 * chartab.h (load_char_attribute_maybe): New prototype for
2165 UTF-2000 with DATABASE support.
2166 (get_char_id_table): Use `load_char_attribute_maybe' if
2167 HAVE_DATABASE is defined.
2169 * chartab.c (load_char_attribute_maybe): New function in UTF-2000
2170 with DATABASE support.
2172 2002-01-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2174 * chartab.c (Fput_char_attribute): Use S-expression as key of
2177 * chartab.h (get_char_id_table): Use S-expression as key of
2180 2002-01-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2182 * chartab.c (map_over_uint8_byte_table): Add new argument `root';
2183 if an element is not loaded, load the corresponding attributes
2184 from an external database.
2185 (map_over_uint16_byte_table): Likewise.
2186 (map_over_byte_table): Likewise.
2187 (map_char_table): Modify for `map_over_uint8_byte_table',
2188 `map_over_uint16_byte_table' and `map_over_byte_table'; if an
2189 element is not loaded, load the corresponding attributes from an
2191 (Fput_char_attribute): Change initial values to Qunloaded.
2193 * chartab.h (get_char_id_table): If a character attribute is not
2194 loaded and the attribute value is not found in an external
2195 database, store Qunbound as the attribute value.
2197 2002-01-22 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2199 * chartab.c (BT_UINT8_unloaded): New macro.
2200 (UINT8_VALUE_P): Accept Qunloaded.
2201 (UINT8_ENCODE): Likewise.
2202 (UINT8_DECODE): Likewise.
2203 (BT_UINT16_unloaded): New macro.
2204 (UINT16_VALUE_P): Accept Qunloaded.
2205 (UINT16_ENCODE): Likewise.
2206 (UINT16_DECODE): Likewise.
2207 (UINT8_TO_UINT16): Convert BT_UINT8_unloaded into
2209 (mark_char_table): Mark `ct->name' in UTF-2000.
2210 (char_table_description): Add `name' in UTF-2000.
2211 (Fmake_char_table): Initialize `ct->name'.
2212 (Fcopy_char_table): Copy `ct->name'.
2213 (Fput_char_attribute): Store value into an external database if
2214 HAVE_DATABASE is defined.
2216 * chartab.h (struct Lisp_Char_Table): Add new member `name' in
2218 (CHAR_TABLE_NAME): New macro in UTF-2000.
2219 (XCHAR_TABLE_NAME): New macro in UTF-2000.
2220 (get_char_id_table): Try to read an external database if Qunloaded
2221 is stored in a table.
2223 * symbols.c (init_symbols_once_early): Assign '#<unloaded> into
2226 2002-01-21 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2228 * database.h: Add EXFUN definitions for Fopen_database,
2229 Fput_database, Fget_database and Fclose_database.
2231 * data.c (Qunloaded): New variable in UTF-2000.
2233 * lisp.h (Qunloaded): New variable in UTF-2000.
2235 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2237 * mule-charset.c (put_char_ccs_code_point): Modify for
2238 `decoding_table_remove_char' and `decoding_table_put_char'.
2239 (remove_char_ccs): Modify for `decoding_table_remove_char'.
2241 * char-ucs.h (decoding_table_remove_char): Change arguments to
2242 hide decoding_table vector.
2243 (decoding_table_put_char): Likewise.
2245 2002-01-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2247 * mule-charset.c (decoding_table_remove_char): Moved to
2249 (decoding_table_put_char): Likewise.
2251 * char-ucs.h (decoding_table_check_elements): New prototype [moved
2252 from mule-charset.c].
2253 (decoding_table_remove_char): New inline function [moved from
2255 (decoding_table_put_char): Likewise.
2257 2002-01-03 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2259 * mule-charset.c (Fmake_charset): Modify DOC-string for UTF-2000
2262 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2264 * mule-charset.c (decode_builtin_char): Support mother charsets.
2266 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2268 * mule-charset.c (Q94x94x60): New variable.
2269 (charset_code_point): Support conversion `94x94x60'.
2270 (Fmake_charset): Likewise.
2271 (syms_of_mule_charset): Add new symbol `94x94x60'.
2273 * char-ucs.h (CONVERSION_94x94x60): New macro.
2275 2001-12-31 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2277 * mule-charset.c (charset_code_point): Unify code about
2280 2001-12-30 MORIOKA Tomohiko <tomo@mousai.as.wakwak.ne.jp>
2282 * mule-charset.c (charset_code_point): Merge code about builtin
2283 characters into code about mother charsets; don't use
2284 `range_charset_code_point'.
2285 (range_charset_code_point): Deleted.
2287 2001-12-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2289 * mule-charset.c (Qcode_offset): New variable.
2290 (Fmake_charset): Use `XUINT' to get value of `min-code' and
2291 `max-code'; accept new property `code-offset'.
2292 (syms_of_mule_charset): Add new symbol `code-offset'.
2294 2001-12-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2296 * mule-charset.c (range_charset_code_point): Fixed.
2298 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2300 * mule-charset.c (decode_builtin_char): Change semantics of
2301 code-offset of coded-charset.
2302 (charset_code_point): Likewise.
2303 (range_charset_code_point): Likewise.
2304 (complex_vars_of_mule_charset): Modify for the change.
2306 2001-12-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2308 * mule-charset.c (Fencode_char): Reverse arguments.
2310 * mule-charset.c (charset_code_point): Fixed.
2312 2001-12-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2314 * mule-charset.c (Vcharset_mojikyo): Deleted.
2315 (Vcharset_mojikyo_2022_1): Deleted.
2316 (Vcharset_mojikyo_pj_{1..21}): Deleted.
2317 (Qmin_code): New variable in UTF-2000.
2318 (Qmax_code): Likewise.
2319 (Qmother): Likewise.
2320 (Qconversion): Likewise.
2322 (Qmojikyo): Deleted.
2323 (Qmojikyo_2022_1): Deleted.
2324 (Qmojikyo_pj_{1..22}): Deleted.
2325 (mark_charset): Mark `cs->mother'.
2326 (charset_description): Add description for `mother'.
2327 (make_charset): Rename `ucs_{min|max}' to `{min|max}_code'; add
2328 new arguments `mother' and `conversion'; use
2329 `CHARSET_{MIN|MAX}_CODE' instead of `CHARSET_UCS_{MIN|MAX}'.
2330 (charset_code_point): Moved from char-ucs.h; support `mother'
2332 (range_charset_code_point): use `CHARSET_{MIN|MAX}_CODE' instead
2333 of `CHARSET_UCS_{MIN|MAX}'; delete hard code for `mojikyo-2022-1'.
2334 (Fmake_charset): Allow 3 and 4 as the value of `dimension' in
2335 UTF-2000; allow 128 and 256 as the value of `chars' in UTF-2000;
2336 allow 2 as the value of `graphic' in UTF-2000; add new properties
2337 `min-code', `max-code', `mother', `conversion' in UTF-2000; don't
2338 require `final' in UTF-2000; modify for `make_charset'.
2339 (Fmake_reverse_direction_charset): use `CHARSET_{MIN|MAX}_CODE'
2340 instead of `CHARSET_UCS_{MIN|MAX}'; modify for `make_charset'.
2341 (Fcharset_property): Support `mother', `min-code' and `max-code'.
2342 (Fencode_char): New function.
2343 (syms_of_mule_charset): Add new builtin function `encode-char' in
2344 UTF-2000; add new symbols `min-code', `max-code', `mother',
2345 `conversion' and `94x60'; delete symbols `mojikyo',
2346 `mojikyo-2022-1' and `mojikyo-pj-{1..21}'.
2347 (complex_vars_of_mule_charset): Modify for `make_charset' change;
2348 delete coded-charsets `mojikyo', `mojikyo-2022-1' and
2349 `mojikyo-pj-{1..21}'; delete `DEF_MOJIKYO_PJ'.
2351 * chartab.c (Fdefine_char): Use `XCHARSET_MAX_CODE' instead of
2352 `XCHARSET_UCS_MAX'; regard `chinese-big5' as a base CCS.
2354 * char-ucs.h (Vcharset_mojikyo): Deleted.
2355 (Vcharset_mojikyo_2022_1): Deleted.
2356 (LEADING_BYTE_MOJIKYO): Deleted.
2357 (LEADING_BYTE_MOJIKYO_2022_1): Deleted.
2358 (LEADING_BYTE_MOJIKYO_2022_2): Deleted.
2359 (LEADING_BYTE_MOJIKYO_PJ_{1 .. 21}): Deleted.
2360 (struct Lisp_Charset): Rename `ucs_{min|max}' to `{min|max}_code';
2361 add new member `mother'; add new member `conversion'.
2362 (CHARSET_MIN_CODE): Renamed from `CHARSET_UCS_MIN'.
2363 (CHARSET_MAX_CODE): Renamed from `CHARSET_UCS_MAX'.
2364 (CHARSET_MOTHER): New macro.
2365 (CHARSET_CONVERSION): New macro.
2366 (CONVERSION_IDENTICAL): New macro.
2367 (CONVERSION_94x60): New macro.
2368 (XCHARSET_MIN_CODE): Renamed from `CHARSET_MIN_CODE'.
2369 (XCHARSET_MAX_CODE): Renamed from `CHARSET_MAX_CODE'.
2370 (XCHARSET_MOTHER): New macro.
2371 (XCHARSET_CONVERSION): New macro.
2372 (MIN_CHAR_MOJIKYO): Deleted.
2373 (MAX_CHAR_MOJIKYO): Deleted.
2374 (DECODE_MOJIKYO_2022): Deleted.
2375 (DECODE_CHAR): Delete hard code for builtin Mojikyo characters.
2376 (charset_code_point): Changed to non-inline function.
2377 (encode_char_1): Use `charset_code_point'.
2378 (CHAR_TO_CHARC): Delete hard code for Mojikyo characters.
2380 2001-12-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2382 * lread.c (read_compiled_function): Fix prototype.
2383 (read_vector): Likewise.
2385 2001-12-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2387 * lrecord.h (struct lrecord_header): Delete `older'.
2388 (set_lheader_implementation): Delete code for `older'.
2389 (set_lheader_older_implementation): Deleted.
2390 (enum lrecord_type): Delete `lrecord_type_char_id_table'.
2391 (OLDER_RECORD_P): Deleted.
2392 (OLDER_RECORD_HEADER_P): Deleted.
2393 (alloc_older_lcrecord): Deleted.
2394 (alloc_older_lcrecord_type): Deleted.
2396 * alloc.c (all_older_lcrecords): Deleted.
2397 (alloc_older_lcrecord): Deleted.
2398 (disksave_object_finalization_1): Delete code for older objects.
2399 (mark_object): Don't use `OLDER_RECORD_HEADER_P'.
2400 (reinit_alloc_once_early): Don't initialize `all_older_lcrecords'.
2402 2001-12-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2404 * mule-charset.c (decoding_table_put_char): Use `make_vector'
2405 instead of `make_older_vector'.
2406 (put_char_ccs_code_point): Likewise.
2407 (mark_charset): Mark `cs->decoding_table'.
2408 (Fset_charset_mapping_table): Don't use `make_vector_newer'.
2410 * lisp.h (make_older_vector): Deleted.
2411 (make_vector_newer): Deleted.
2413 * config.h.in (HAVE_GGC): Deleted.
2415 * alloc.c (make_older_vector): Deleted.
2416 (make_vector_newer_1): Deleted.
2417 (make_vector_newer): Deleted.
2419 2001-12-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2421 * mule-charset.c (Vcharset_ideograph_daikanwa_2): New variable.
2422 (Qideograph_daikanwa_2): New variable.
2423 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa-2'.
2424 (complex_vars_of_mule_charset): Add new coded-charset
2425 `ideograph-daikanwa-2'; use `LEADING_BYTE_DAIKANWA_3' instead of
2426 `LEADING_BYTE_DAIKANWA'.
2428 * char-ucs.h (LEADING_BYTE_DAIKANWA_0): New macro.
2429 (LEADING_BYTE_DAIKANWA_1): New macro.
2430 (LEADING_BYTE_DAIKANWA_2): New macro.
2431 (LEADING_BYTE_DAIKANWA_3): Renamed from `LEADING_BYTE_DAIKANWA'.
2433 2001-12-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2435 * mule-charset.c (complex_vars_of_mule_charset): Change
2436 DOC-strings and registry of `ideograph-daikanwa'; now it indicates
2437 the second revised version.
2439 2001-12-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2441 * mule-charset.c (Vcharset_ucs_smp): New variable.
2442 (Vcharset_ucs_sip): New variable.
2443 (Qucs_smp): New variable.
2444 (Qucs_sip): New variable.
2445 (encode_builtin_char_1): Treat MIN_CHAR_{SMP|SIP} to
2446 MAX_CHAR_{SMP|SIP} as `ucs-{smp|sip}'.
2447 (syms_of_mule_charset): Add new symbols `ucs-smp' and `ucs-sip'.
2448 (complex_vars_of_mule_charset): Modify middle-DOC and registry of
2449 `ucs-bmp'; add new coded-charset `ucs-smp' and `ucs-sip'; change
2450 charset width of `ucs-cns', `ucs-jis', `ucs-ks' and `ucs-big5'.
2452 * char-ucs.h (LEADING_BYTE_UCS_SMP): New macro.
2453 (LEADING_BYTE_UCS_SIP): New macro.
2454 (MIN_CHAR_SMP): New macro.
2455 (MAX_CHAR_SMP): New macro.
2456 (MIN_CHAR_SIP): New macro.
2457 (MAX_CHAR_SIP): New macro.
2459 2001-11-30 Yoshiki Hayashi <yoshiki@xemacs.org>
2461 * dumper.c (PDUMP_HASH_SIZE): Increase the size of hash table when
2464 2001-11-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2466 * mule-charset.c (put_char_ccs_code_point): Return canonicalized
2467 value; don't store value into `encoding_table' of `Lisp_Charset'.
2468 (mark_charset): `encoding_table' was deleted.
2469 (charset_description): Likewise.
2470 (make_charset): Likewise.
2471 (Fset_charset_mapping_table): Use `Fput_char_attribute' instead of
2472 `put_char_ccs_code_point'.
2474 * chartab.h (Fput_char_attribute): New EXFUN.
2476 * chartab.c (Fchar_attribute_alist): Name space of CCS-attributes
2477 is unified with normal symbol space.
2478 (Fget_char_attribute): Likewise.
2479 (Fput_char_attribute): Likewise; behavior of
2480 `put_char_ccs_code_point' is changed.
2482 * char-ucs.h: Include "elhash.h".
2483 (Vchar_attribute_hash_table): New external variable.
2484 (struct Lisp_Charset): Delete `encoding_table'.
2485 (CHARSET_ENCODING_TABLE): New implementation; refer
2486 `Vchar_attribute_hash_table' instead of `encoding_table' of struct
2489 2001-11-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2491 * mule-charset.c (Fcharset_property): Return Qnil if CHARSET_FINAL
2494 2001-11-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2496 * text-coding.c (char_encode_big5): Prefer charset-g1 than
2499 2001-11-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2501 * chartab.c (uint8_byte_table_description): New constant.
2502 (uint8-byte-table): Use `uint8_byte_table_description'.
2503 (uint16_byte_table_description): New constant.
2504 (uint16-byte-table): Use `uint16_byte_table_description'.
2506 2001-10-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2508 * mule-charset.c (complex_vars_of_mule_charset): Don't use builtin
2509 range MIN_CHAR_BIG5_CDP .. MAX_CHAR_BIG5_CDP.
2511 2001-10-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2513 * mule-charset.c (Vcharset_ucs_ks): New variable.
2514 (Qucs_ks): New variable.
2515 (syms_of_mule_charset): Add new symbol `ucs-ks'.
2516 (complex_vars_of_mule_charset): Add new coded-charset `ucs-ks'.
2518 * char-ucs.h (LEADING_BYTE_UCS_KS): New macro.
2520 2001-10-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2522 * chartab.h (Fmake_char): New EXFUN; moved from chartab.c.
2523 (Fdecode_char): Likewise.
2525 * chartab.c: Move EXFUN for Fmake_char and Fdecode_char into
2527 (Fdefine_char): Modify for Fdecode_char.
2528 (Ffind_char): Likewise.
2530 * mule-charset.c (Fdecode_char): Add new optional argument
2532 (Fdecode_builtin_char): Modify for `Fdecode_char'.
2534 2001-10-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2536 * text-coding.c (mark_coding_system): Mark initial-charset-g0 and
2537 -g1 of CODESYS_BIG5 in XEmacs UTF-2000.
2538 (allocate_coding_system): Initialize initial-charsets of
2539 CODESYS_BIG5 in XEmacs UTF-2000.
2540 (Fmake_coding_system): Accept `charset-g0' and `charset-g1' for
2541 CODESYS_BIG5 in XEmacs UTF-2000.
2542 (decode_coding_big5): Use initial-charset-g0 and -g1 of
2543 CODESYS_BIG5 in XEmacs UTF-2000; use `DECODE_DEFINED_CHAR'.
2545 * mule-charset.c (Vcharset_ideograph_hanziku_{1 .. 12}): New
2547 (Qideograph_hanziku_{1 .. 12}): Likewise.
2548 (syms_of_mule_charset): Add new symbols `ideograph-hanziku-{1
2550 (complex_vars_of_mule_charset): Use `MIN_CHAR_BIG5_CDP' to
2551 `MAX_CHAR_BIG5_CDP' for `chinese-big5'; add news coded-charsets
2552 `ideograph-hanziku-{1 .. 12}'.
2554 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x200.
2555 (LEADING_BYTE_HANZIKU_{1 .. 12}): New macros.
2556 ({MIN|MAX}_CHAR_BIG5_CDP): New macros.
2557 ({MIN|MAX}_CHAR_HANZIKU_{1 .. 12}): New macros.
2558 (DECODE_DEFINED_CHAR): New inline function.
2559 (DECODE_CHAR): Use `DECODE_DEFINED_CHAR'.
2561 2001-10-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2563 * mule-charset.c (Vcharset_china3_jef): Renamed from
2564 `Vcharset_japanese_jef_china3'.
2565 (Qchina3_jef): Renamed from `Qjapanese_jef_china3'.
2566 (encode_builtin_char_1): Rename `{MIN|MAX}_CHAR_CHINA3_JEF' from
2567 `{MIN|MAX}_CHAR_JEF_CHINA3'..
2568 (syms_of_mule_charset): Rename `china3-jef' from
2569 `japanese-jef-china3'.
2570 (complex_vars_of_mule_charset): Likewise; rename
2571 `LEADING_BYTE_CHINA3_JEF' from `LEADING_BYTE_JEF_CHINA3'.
2573 * char-ucs.h (LEADING_BYTE_CHINA3_JEF): Renamed from
2574 `LEADING_BYTE_JEF_CHINA3'.
2575 (MIN_CHAR_CHINA3_JEF): Renamed from `MIN_CHAR_JEF_CHINA3'.
2576 (MAX_CHAR_CHINA3_JEF): Renamed from `MAX_CHAR_JEF_CHINA3'.
2578 2001-10-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2580 * mule-charset.c (encode_builtin_char_1): Comment out special code
2581 for MIN_CHAR_MOJIKYO_0 ... MAX_CHAR_MOJIKYO_0.
2583 * char-ucs.h (MIN_CHAR_MOJIKYO_0): Comment out.
2584 (MAX_CHAR_MOJIKYO_0): Comment out.
2585 (MIN_CHAR_CBETA): Changed to 0x00E20000.
2586 (MAX_CHAR_CBETA): Changed to 0x00E2FFFF.
2587 (MIN_CHAR_JEF_CHINA3): Changed to 0x00E80000.
2588 (MAX_CHAR_JEF_CHINA3): Changed to 0x00E8FFFF.
2590 2001-10-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2592 * mule-charset.c (Vcharset_ideograph_cbeta): New variable.
2593 (Qideograph_cbeta): New variable.
2594 (encode_builtin_char_1): Comment out special code for
2595 coded-charset `mojikyo' and `japanese-jef-china3'.
2596 (syms_of_mule_charset): Add new symbol `ideograph-cbeta'.
2597 (complex_vars_of_mule_charset): Add new coded-charset
2600 * char-ucs.h (LEADING_BYTE_CBETA): New macro.
2601 (MIN_CHAR_CBETA): New macro.
2602 (MAX_CHAR_CBETA): New macro.
2604 2001-10-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2606 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x100.
2607 (LEADING_BYTE_JEF_CHINA3): New macro.
2608 (MIN_CHAR_JEF_CHINA3): New macro.
2609 (MAX_CHAR_JEF_CHINA3): Likewise.
2610 (DECODE_CHAR): Fixed.
2612 2001-10-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2614 * mule-charset.c (Vcharset_japanese_jef_china3): New variable.
2615 (Qjapanese_jef_china3): New variable.
2616 (encode_builtin_char_1): Support `japanese-jef-china3'.
2617 (syms_of_mule_charset): Add new symbol `japanese-jef-china3'.
2618 (complex_vars_of_mule_charset): Add new coded-charset
2619 `japanese-jef-china3'.
2621 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2623 * chartab.c (XCHARSET_CELL_RANGE): New inline function.
2624 (decode_char_table_range): Use `XCHARSET_CELL_RANGE'; accept 94^3,
2625 94^4, 96^3, 96^4, 128^n and 256^n set.
2626 (put_char_table): Use `XCHARSET_CELL_RANGE'.
2627 (map_char_table): Likewise.
2629 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2631 * chartab.c (get_char_table): Use `get_char_id_table' in XEmacs
2634 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2636 * chartab.h (get_char_id_table): New inline function.
2638 * chartab.c (get_char_id_table): Moved to chartab.h as an inline
2641 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2643 * chartab.h (decode_char_table_range): New prototype in XEmacs
2645 (put_char_id_table): New inline function in XEmacs UTF-2000.
2647 * chartab.c (put_char_id_table): Moved to chartab.h as an inline
2649 (decode_char_table_range): Delete static declaration in XEmacs
2652 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2654 * chartab.c (put_char_id_table): Use `put_char_table'.
2656 2001-09-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2658 * chartab.c (map_over_uint8_byte_table): Delete argument `ccs'.
2659 (map_over_uint16_byte_table): Likewise.
2660 (map_over_byte_table): Likewise.
2661 (map_char_table): Modify for `map_over_uint8_byte_table',
2662 `map_over_uint16_byte_table' and `map_over_byte_table' in XEmacs
2665 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2667 * chartab.c (struct map_char_table_for_charset_arg): New
2669 (map_char_table_for_charset_fun): New function.
2670 (map_char_table): Use `map_char_table' for encoding_table of
2673 2001-09-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2675 * chartab.c (map_char_table): Check a character is found in
2676 range->charset instead of non default value is defined in
2677 char-table when range is CHARTAB_RANGE_ROW.
2679 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2681 * chartab.c (map_char_id_table): Deleted.
2682 (Fmap_char_attribute): Use `map_char_table' instead of
2683 `map_char_id_table'.
2685 2001-09-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2687 * syntax.h (SYNTAX_CODE_UNSAFE): New implementation in XEmacs
2689 (update_syntax_table): Deleted in XEmacs UTF-2000.
2691 * syntax.c (find_defun_start): Use `syntax_table' instead of
2692 `mirror_syntax_table' in XEmacs UTF-2000.
2693 (Fset_syntax_table): Don't use `mirror_syntax_table' in XEmacs
2695 (Fchar_syntax): Use `syntax_table' instead of `mirror_table' in
2697 (Fmatching_paren): Likewise.
2698 (scan_words): Use `syntax_table' instead of `mirror_syntax_table'
2700 (find_start_of_comment): Likewise.
2701 (find_end_of_comment): Likewise.
2702 (Fforward_comment): Likewise.
2703 (scan_lists): Likewise.
2704 (char_quoted): Likewise.
2705 (Fbackward_prefix_chars): Likewise.
2706 (scan_sexps_forward): Likewise.
2707 (update_just_this_syntax_table): Deleted in XEmacs UTF-2000.
2708 (update_syntax_table): Likewise.
2710 * search.c (skip_chars): Use `syntax_table' instead of
2711 `mirror_syntax_table' in XEmacs UTF-2000.
2712 (wordify): Likewise.
2713 (Freplace_match): Likewise.
2715 * regex.c (re_compile_fastmap): Use `syntax_table' instead of
2716 `mirror_syntax_table' in XEmacs UTF-2000.
2717 (WORDCHAR_P_UNSAFE): Likewise.
2718 (re_match_2_internal): Likewise.
2720 * font-lock.c (find_context): Use `buf->syntax_table' instead of
2721 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2723 * cmds.c (internal_self_insert): Use `buf->syntax_table' instead
2724 of `buf->mirror_syntax_table' in XEmacs UTF-2000.
2726 * chartab.h (struct Lisp_Char_Table): Delete `mirror_table' in
2729 * chartab.c (mark_char_table): Don't mark `mirror_table' in XEmacs
2731 (print_char_table): Print `default_value' in XEmacs UTF-2000.
2732 (char_table_description): Delete `mirror_table' in XEmacs
2734 (fill_char_table): Don't call `update_syntax_table' in XEmacs
2736 (Fmake_char_table): Don't use `mirror_table' in XEmacs UTF-2000.
2737 (Fcopy_char_table): Likewise.
2738 (put_char_table): Don't call `update_syntax_table' in XEmacs
2741 * casefiddle.c (casify_object): Use `buf->syntax_table' instead of
2742 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2743 (casify_region_internal): Likewise.
2745 * bufslots.h: Delete `mirror_syntax_table' in XEmacs UTF-2000.
2747 * buffer.c (common_init_complex_vars_of_buffer): Don't use
2748 `mirror_syntax_table' in XEmacs UTF-2000.
2750 * abbrev.c (abbrev_match): Use `buf->syntax_table' instead of
2751 `buf->mirror_syntax_table' in XEmacs UTF-2000.
2752 (Fexpand_abbrev): Likewise.
2754 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2756 * chartab.c (vars_of_chartab): Update `utf-2000-version' to 0.18.
2758 2001-09-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2760 * chartab.c (map_over_uint8_byte_table): Cancel temporary hack.
2761 (map_over_uint16_byte_table): Likewise.
2762 (map_over_byte_table): Likewise.
2763 (get_char_id_table): Refer `cit->default_value'.
2764 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2765 (map_char_id_table): Use `1 << 30' instead of `1 << 24' as number
2766 of character-id ranges.
2767 (mark_char_table): Mark `ct->default_value'.
2768 (char_table_description): Add `default_value'.
2769 (fill_char_table): Use `default_value'.
2770 (decode_char_table_range): Decode `nil' as
2771 `CHARTAB_RANGE_DEFAULT'.
2772 (get_char_id_table): Refer `cit->default_value'.
2773 (put_char_id_table): Support `CHARTAB_RANGE_DEFAULT'.
2774 (map_char_table): Support `CHARTAB_RANGE_DEFAULT'; cancel
2775 temporary hack; check value of char-table is bound or not.
2776 (slow_map_char_table_fun): Support `CHARTAB_RANGE_DEFAULT'.
2778 * chartab.h (struct Lisp_Char_Table): Add new member
2779 `default_value' in XEmacs UTF-2000.
2780 (CHAR_TABLE_VALUE_UNSAFE): Use `default_value'.
2781 (enum chartab_range_type): Add `CHARTAB_RANGE_DEFAULT' in XEmacs
2784 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2786 * chartab.h (Lisp_Char_ID_Table): Deleted.
2788 * chartab.c (char_table_description): Fix typo.
2789 (Fmap_char_attribute): Use `Lisp_Char_Table' instead of
2790 `Lisp_Char_ID_Table'.
2792 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2794 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_TABLEP' instead of
2797 * mule-charset.c (remove_char_ccs): Use `CHAR_TABLEP' instead of
2800 * chartab.h (XCHAR_ID_TABLE): Deleted.
2801 (XSETCHAR_ID_TABLE): Deleted.
2802 (CHAR_ID_TABLE_P): Deleted.
2804 * chartab.c (put_char_id_table): Use `CHAR_TABLEP' instead of
2806 (Fget_composite_char): Likewise.
2807 (put_char_table): Likewise.
2808 (add_char_attribute_alist_mapper): Fixed.
2809 (Fchar_attribute_alist): Use `CHAR_TABLEP' instead of
2811 (Fget_char_attribute): Likewise.
2812 (Fget_char_attribute): Likewise.
2813 (Fmap_char_attribute): Likewise.
2815 * char-ucs.h (charset_code_point): Use `CHAR_TABLEP' instead of
2817 (encode_char_1): Likewise.
2819 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2821 * text-coding.c (COMPOSE_ADD_CHAR): Use `XCHAR_TABLE' instead of
2824 * mule-charset.c (put_char_ccs_code_point): Use `XCHAR_TABLE'
2825 instead of `XCHAR_ID_TABLE'.
2826 (remove_char_ccs): Likewise.
2828 * chartab.c (put_char_id_table): Use `XCHAR_TABLE' instead of
2830 (Fget_composite_char): Likewise.
2831 (Fchar_variants): Likewise.
2832 (put_char_table): Likewise.
2833 (add_char_attribute_alist_mapper): Likewise.
2834 (Fchar_attribute_alist): Likewise.
2835 (Fget_char_attribute): Likewise.
2836 (Fput_char_attribute): Likewise.
2837 (Fmap_char_attribute): Likewise.
2838 (Fmap_char_attribute): Likewise.
2840 * char-ucs.h (charset_code_point): Use `XCHAR_TABLE' instead of
2842 (encode_char_1): Likewise.
2844 2001-09-03 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2846 * chartab.c (map_char_id_table): Use `Lisp_Char_Table' instead of
2847 `Lisp_Char_ID_Table'.
2848 (mark_char_id_table): Deleted.
2849 (print_char_id_table): Likewise.
2850 (char_id_table_equal): Likewise.
2851 (char_id_table_hash): Likewise.
2852 (char_id_table_description): Likewise.
2853 (char_id_table): Likewise.
2854 (make_char_id_table): Use `Fmake_char_table' and
2856 (get_char_id_table): Use `Lisp_Char_Table' instead of
2857 `Lisp_Char_ID_Table'.
2858 (put_char_id_table): Likewise.
2859 (Fput_char_attribute): Use `XCHAR_TABLE' instead of
2861 (Fremove_char_attribute): Likewise.
2862 (syms_of_chartab): Don't define type `char-id-table'.
2864 * chartab.h (struct Lisp_Char_ID_Table): Deleted.
2865 (char_id_table): Likewise.
2866 (GC_CHAR_ID_TABLE_P): Likewise.
2867 (Lisp_Char_ID_Table): Use structure `Lisp_Char_Table'.
2868 (XCHAR_ID_TABLE): Use `XCHAR_TABLE'.
2869 (XSETCHAR_ID_TABLE): Use `XSETCHAR_TABLE'.
2870 (CHAR_ID_TABLE_P): Use `CHAR_TABLEP'.
2871 (get_char_id_table): Use `Lisp_Char_Table' instead of
2872 `Lisp_Char_ID_Table'.
2873 (put_char_id_table_0): Likewise.
2874 (put_char_id_table): Likewise.
2876 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2878 * chartab.h: Lisp_Byte_Table related codes are moved from
2881 * char-ucs.h: Move Lisp_Byte_Table related codes to chartab.h.
2883 2001-09-02 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2885 * chartab.h: Don't include "chartab.h".
2886 (struct Lisp_Char_ID_Table): Moved from char-ucs.h.
2887 (Lisp_Char_ID_Table): Likewise.
2888 (char_id_table): Likewise.
2889 (XCHAR_ID_TABLE): Likewise.
2890 (XSETCHAR_ID_TABLE): Likewise.
2891 (CHAR_ID_TABLE_P): Likewise.
2892 (GC_CHAR_ID_TABLE_P): Likewise.
2893 (get_char_id_table): Likewise.
2895 * char-ucs.h: Include "chartab.h".
2896 (struct Lisp_Char_ID_Table): Moved to chartab.h.
2897 (Lisp_Char_ID_Table): Likewise.
2898 (char_id_table): Likewise.
2899 (XCHAR_ID_TABLE): Likewise.
2900 (XSETCHAR_ID_TABLE): Likewise.
2901 (CHAR_ID_TABLE_P): Likewise.
2902 (GC_CHAR_ID_TABLE_P): Likewise.
2903 (get_char_id_table): Likewise.
2905 2001-09-01 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
2907 * chartab.c (copy_uint8_byte_table): New function.
2908 (copy_uint16_byte_table): New function.
2909 (copy_byte_table): New function.
2910 (map_over_uint8_byte_table): Modify to avoid huge numbers of
2912 (map_over_uint16_byte_table): Likewise.
2913 (map_over_byte_table): Likewise.
2914 (get_byte_table): Move prototype to chartab.h.
2915 (put_byte_table): Likewise.
2916 (put_char_id_table_0): Moved to chartab.h.
2917 (mark_char_table_entry): Don't define in XEmacs UTF-2000.
2918 (char_table_entry_equal): Likewise.
2919 (char_table_entry_hash): Likewise.
2920 (char_table_entry_description): Likewise.
2921 (char_table_entry): Likewise.
2922 (make_char_table_entry): Likewise.
2923 (copy_char_table_entry): Likewise.
2924 (get_non_ascii_char_table_value): Likewise.
2925 (map_over_charset_ascii): Likewise.
2926 (map_over_charset_control_1): Likewise.
2927 (map_over_charset_row): Likewise.
2928 (map_over_other_charset): Likewise.
2929 (mark_char_table): Modify for new structure in XEmacs UTF-2000.
2930 (print_char_table): Likewise.
2931 (char_table_equal): Likewise.
2932 (char_table_hash): Likewise.
2933 (char_table_description): Likewise.
2934 (fill_char_table): Likewise.
2935 (Fcopy_char_table): Likewise.
2936 (get_char_table): Likewise.
2937 (Fget_range_char_table): Likewise.
2938 (put_char_table): Likewise.
2939 (map_char_table): Likewise.
2940 (syms_of_chartab): Don't define `char_table_entry' in XEmacs
2943 2001-08-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2945 * cmds.c (vars_of_cmds): Use `put_char_id_table_0' for
2946 `Vauto_fill_chars' in XEmacs UTF-2000.
2948 * chartab.h (get_byte_table): New prototype [moved from
2950 (put_byte_table): Likewise [moved from chartab.c].
2951 (put_char_id_table_0): New inline function [moved from chartab.c].
2952 (struct Lisp_Char_Table_Entry): Don't define in XEmacs UTF-2000.
2953 (Lisp_Char_Table_Entry): Likewise.
2954 (char_table_entry): Likewise.
2955 (XCHAR_TABLE_ENTRY): Likewise.
2956 (XSETCHAR_TABLE_ENTRY): Likewise.
2957 (CHAR_TABLE_ENTRYP): Likewise.
2958 (CHECK_CHAR_TABLE_ENTRY): Likewise.
2959 (NUM_ASCII_CHARS): Likewise.
2960 (struct Lisp_Char_Table): New implementation in XEmacs UTF-2000.
2961 (CHAR_TABLE_VALUE_UNSAFE): Likewise.
2963 2001-08-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2965 * chartab.c (get_char_id_table): Change interface.
2966 (put_char_id_table_0): New function.
2967 (put_char_id_table): Change interface; new implementation.
2968 (Fget_composite_char): Modify for interface change of
2969 `get_char_id_table'.
2970 (Fchar_variants): Likewise.
2971 (add_char_attribute_alist_mapper): Likewise.
2972 (Fchar_attribute_alist): Likewise.
2973 (Fget_char_attribute): Likewise.
2974 (Fput_char_attribute): Allow coded-charset or [CODED-CHARSET ROW]
2975 as same as character as the first argument like `put-char-table';
2976 modify for interface change of `put_char_id_table'.
2977 (Fremove_char_attribute): Modify for interface change of
2978 `put_char_id_table'.
2980 2001-08-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2982 * text-coding.c: Sync up with XEmacs 21.2.41.
2983 (COMPOSE_ADD_CHAR): Modify for interface change of
2984 `get_char_id_table'.
2986 * mule-charset.c (put_char_ccs_code_point): Modify for interface
2987 change of `put_char_id_table'.
2988 (remove_char_ccs): Likewise.
2990 * chartab.h (put_char_id_table): Change interface.
2992 * char-ucs.h (get_char_id_table): Change interface.
2993 (charset_code_point): Modify for interface change of
2994 `get_char_id_table'.
2995 (encode_char_1): Likewise.
2997 2001-08-19 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
2999 * chartab.c (map_over_uint8_byte_table): Change arguments; add new
3001 (map_over_uint16_byte_table): Likewise.
3002 (map_over_byte_table): Likewise.
3003 (map_char_id_table): Add new argument `range' like
3005 (Fmap_char_attribute): Add new argument `range' like
3008 2001-08-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3010 * chartab.c (map_over_uint8_byte_table): Change interface of
3011 mapping function to use struct chartab_range instead of Emchar.
3012 (map_over_uint16_byte_table): Likewise.
3013 (map_over_byte_table): Likewise.
3014 (map_char_id_table): Likewise.
3015 (struct slow_map_char_id_table_arg): Deleted.
3016 (slow_map_char_id_table_fun): Deleted.
3017 (Fmap_char_attribute): Use struct `slow_map_char_table_arg' and
3018 function `slow_map_char_table_fun' instead of struct
3019 `slow_map_char_id_table_arg' and function
3020 `slow_map_char_id_table_fun'.
3022 2001-08-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3024 * mule-charset.c: Move char-it-table related codes to chartab.c.
3025 (Vutf_2000_version): Moved to chartab.c.
3026 (Fdefine_char): Likewise.
3027 (Ffind_char): Likewise.
3028 (syms_of_mule_charset): Move types `uint8-byte-table',
3029 `uint16-byte-table', `byte-table' and `char-id-table' to
3030 chartab.c; move functions `char_attribute_list,
3031 `find_char_attribute_table, `char_attribute_alist,
3032 `get_char_attribute, `put_char_attribute, `remove_char_attribute,
3033 `map_char_attribute, `define_char, `find_char, `char_variants and
3034 `get_composite_char to chartab.c; move symbols `=>ucs',
3035 `->decomposition', `compat', `isolated', `initial', `medial',
3036 `final', `vertical', `noBreak', `fraction', `super', `sub',
3037 `circle', `square', `wide', `narrow', `small' and `font' to
3039 (vars_of_mule_charset): Move `utf-2000-version' to chartab.c; move
3040 setting codes for `Vcharacter_composition_table' and
3041 `Vcharacter_variant_table' to chartab.c.
3042 (complex_vars_of_mule_charset): Move setting code for
3043 `Vchar_attribute_hash_table' to chartab.c.
3045 * chartab.h: Include "char-ucs.h" if --with-utf-2000 is specified.
3046 (make_char_id_table): New prototype.
3047 (put_char_id_table): Likewise.
3048 (Fget_char_attribute): Likewise.
3050 * chartab.c: Move char-id-table related code from mule-charset.c.
3051 (Vutf_2000_version): Moved from mule-charset.c.
3053 * char-ucs.h (Qucs): New external variable.
3054 (put_char_ccs_code_point): New prototype.
3055 (remove_char_ccs): Likewise.
3057 2001-08-14 MORIOKA Tomohiko <tomo@mousai.mahoroba.ne.jp>
3059 * mule-charset.c (Vcharset_ucs_jis): New variable.
3060 (Qucs_jis): Likewise.
3061 (syms_of_mule_charset): Add new symbol `ucs-jis'.
3062 (complex_vars_of_mule_charset): Add new coded-charset `ucs-jis'.
3064 * char-ucs.h (LEADING_BYTE_UCS_JIS): New macro.
3066 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3068 * mule-charset.c (map_over_uint8_byte_table): New function.
3069 (map_over_uint16_byte_table): Likewise.
3070 (map_over_byte_table): Likewise.
3071 (map_char_id_table): Likewise.
3072 (slow_map_char_id_table_fun): Likewise.
3073 (Fmap_char_attribute): Likewise.
3074 (syms_of_mule_charset): Add new function `map-char-attribute'.
3076 2001-08-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3078 * mule-charset.c (Ffind_char): New function in XEmacs UTF-2000.
3079 (syms_of_mule_charset): Add new function `find-char'.
3081 2001-08-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3083 * mule-charset.c (Vcharset_chinese_big5_cdp): New variable in
3085 (Qchinese_big5_cdp): New variable in XEmacs UTF-2000.
3086 (syms_of_mule_charset): Add new symbol `chinese-big5-cdp' in
3088 (complex_vars_of_mule_charset): Add new coded-charset
3089 `chinese-big5-cdp' in XEmacs UTF-2000; change registry of
3090 `ideograph-gt-pj-*'.
3092 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5_CDP): New macro.
3094 2001-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3096 * mule-charset.c (encode_builtin_char_1): Purge codes about
3097 {MIN|MAX}_CHAR_{GREEK|CYRILLIC}; comment out code about
3098 {MIN|MAX}_CHAR_HEBREW.
3099 (complex_vars_of_mule_charset): Comment out {MIN|MAX}_CHAR_HEBREW;
3100 don't use {MIN|MAX}_CHAR_HEBREW to define `hebrew-iso8859-8'.
3102 * char-ucs.h (MIN_CHAR_GREEK): Purged.
3103 (MAX_CHAR_GREEK): Purged.
3104 (MIN_CHAR_CYRILLIC): Purged.
3105 (MAX_CHAR_CYRILLIC): Purged.
3106 (MIN_CHAR_HEBREW): Commented out.
3107 (MAX_CHAR_HEBREW): Likewise.
3109 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3111 * mule-charset.c (Qto_ucs): New variable.
3112 (Fput_char_attribute): Treat `=>ucs' as same as `->ucs'.
3113 (Fdefine_char): Likewise.
3114 (syms_of_mule_charset): Add new symbol `=>ucs'.
3116 2001-07-23 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3118 * mule-charset.c (Fdecode_char): Fixed.
3120 2001-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3122 * mule-charset.c (complex_vars_of_mule_charset): Modify registry
3123 of latin-tcvn5712 to accept "tcvn5712.1993-1" as same as
3126 2001-07-21 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3128 * mule-charset.c (Vcharset_ucs_big5): New variable.
3129 (Qucs_big5): Likewise.
3130 (syms_of_mule_charset): Add new symbol `ucs-big5'.
3131 (complex_vars_of_mule_charset): Add new coded-charset `ucs-big5'.
3133 * char-ucs.h (LEADING_BYTE_UCS_BIG5): New macro.
3135 2001-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3137 * mule-charset.c (decode_builtin_char): Check Big5 code range
3138 which can be mapped to `chinese-big5-1' and `chinese-big5-2'.
3140 2001-07-15 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3142 * mule-charset.c (Vcharset_chinese_gb12345): New variable.
3143 (Qchinese_gb12345): Likewise.
3144 (Fdecode_builtin_char): Fixed.
3145 (syms_of_mule_charset): Add `chinese-gb12345'.
3146 (complex_vars_of_mule_charset): Add coded-charset
3149 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x70.
3150 (LEADING_BYTE_CHINESE_GB12345): New macro.
3152 2001-07-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3154 * mule-charset.c (Fdecode_builtin_char): Use `latin-viscii-lower'
3155 and `latin-viscii-upper' for `latin-viscii'.
3157 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3159 * mule-charset.c (Fdecode_builtin_char): Comment out
3160 regularization code for ISO-IR GR representation.
3162 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3164 * mule-charset.c (decode_builtin_char): New function; renamed from
3165 `make_builtin_char'; return -1 instead of signal.
3166 (Fdecode_builtin_char): Use `decode_builtin_char'.
3168 * char-ucs.h (decode_builtin_char): New prototype; renamed from
3169 `make_builtin_char'.
3170 (DECODE_CHAR): Use `decode_builtin_char' instead of
3171 `make_builtin_char'; use mapping table of `chinese-big5' for
3172 `chinese-big5-{1,2}'.
3174 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3176 * text-coding.c (char_encode_big5): New function.
3177 (char_finish_big5): Likewise.
3178 (reset_encoding_stream): Use `char_encode_big5' and
3179 `char_finish_big5' for CODESYS_BIG5.
3180 (mule_encode): Don't use `encode_coding_big5'.
3181 (encode_coding_big5): Deleted.
3183 2001-07-11 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3185 * text-coding.c (BYTE_BIG5_TWO_BYTE_1_P): Support private area
3186 0x81- in XEmacs UTF-2000.
3187 (detect_coding_big5): Likewise.
3189 2001-07-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3191 * mule-charset.c (Fdefine_char): Don't use a CCS property to
3192 generate character-id if the CCS property does not have
3193 corresponding predefined character.
3194 (make_builtin_char): Return -1 if corresponding predefined
3195 character is not found.
3196 (Fdecode_char): Return nil if corresponding character is not
3198 (complex_vars_of_mule_charset): Change `ucs-cns' to 256^3-set and
3199 don't map to builtin ucs space.
3201 2001-07-06 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3203 * char-ucs.h (MAX_LEADING_BYTE_PRIVATE): Fixed.
3204 (MAX_CHAR_GT): Changed to `(MIN_CHAR_GT + 66773)'.
3206 2001-07-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3208 * mule-charset.c (Vcharset_ideograph_gt): New variable.
3209 (Vcharset_ideograph_gt_pj_{1..11}): Likewise.
3210 (Qideograph_gt): Likewise.
3211 (Qideograph_gt_pj_{1..11}): Likewise.
3212 (syms_of_mule_charset): Add `ideograph-gt', `ideograph-gt-pj-1',
3213 `ideograph-gt-pj-2', ..., `ideograph-gt-pj-10' and
3214 `ideograph-gt-pj-11'.
3215 (complex_vars_of_mule_charset): Add coded-charset `ideograph-gt',
3216 `ideograph-gt-pj-1', `ideograph-gt-pj-2', ...,
3217 `ideograph-gt-pj-10' and `ideograph-gt-pj-11'.
3219 * char-ucs.h (LEADING_BYTE_GT): New macro.
3220 (LEADING_BYTE_GT_PJ_{1..11}): Likewise.
3221 (MIN_CHAR_GT): Likewise.
3222 (MAX_CHAR_GT): Likewise.
3224 2001-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3226 * lisp-disunion.h (XCHARVAL): New implementation for UTF-2000 to
3227 support U-60000000 .. U-7FFFFFFF with 32 bits architecture.
3229 * doprnt.c (unsigned_int_converters): Add `c'.
3230 (emacs_doprnt_1): Use `XUINT' for unsigned integers.
3232 * char-ucs.h (MIN_CHAR_DAIKANWA): Don't refer `MIN_CHAR_MOJIKYO'.
3233 (MAX_CHAR_DAIKANWA): Refer `MIN_CHAR_DAIKANWA' instead of
3235 (MIN_CHAR_MOJIKYO_0): New macro; refer `MIN_CHAR_DAIKANWA'.
3236 (MAX_CHAR_MOJIKYO_0): New macro.
3237 (MIN_CHAR_MOJIKYO): Changed to 0x60000000.
3239 2001-06-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3241 * mule-charset.c (Fdefine_char): Delete cemented out code.
3242 (encode_builtin_char_1): Modify for new allocation of builtin
3245 * lisp-disunion.h (XCHARVAL): Cast the argument into EMACS_UINT.
3247 2001-06-04 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3249 * mule-charset.c (Vcharset_ucs_cns): New variable.
3250 (Qucs_cns): New variable.
3251 (syms_of_mule_charset): Add new symbol `ucs-cns'.
3252 (complex_vars_of_mule_charset): Add new coded-charset `ucs-cns'.
3254 2001-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3256 * char-ucs.h (LEADING_BYTE_UCS_CNS): New macro.
3258 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3260 * search.c (search_buffer): Make `charset_base_code' as
3261 character-id >> 6 to eliminate the corresponding last byte in
3262 UTF-8 representation [I'm not sure it is right thing].
3263 (boyer_moore): Likewise.
3265 2000-12-09 MORIOKA Tomohiko <tomo@m17n.org>
3267 * emacs.c (vars_of_emacs): Convert XEMACS_CODENAME to internal
3268 representation in MULE.
3270 2000-11-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3272 * text-coding.c (Fmake_coding_system): Use
3273 `EXTERNAL_PROPERTY_LIST_LOOP_3' instead of
3274 `EXTERNAL_PROPERTY_LIST_LOOP'.
3276 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3278 * text-coding.c (decode_output_utf8_partial_char): New function.
3279 (decode_coding_utf8): Use `decode_output_utf8_partial_char'.
3281 2000-11-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3283 * text-coding.c (decode_coding_utf8): Output original byte
3284 sequence if it is broken; change order of conditions.
3286 * mb-utf-8.h (REP_BYTES_BY_FIRST_BYTE): Use Bufbyte; reverse order
3289 * mb-multibyte.h (BYTE_ASCII_P):
3290 Use bit ops for char-signedness safety.
3291 (BYTE_C0_P): Use bit ops for char-signedness safety.
3292 (BYTE_C1_P): Use bit ops for char-signedness safety.
3294 * character.h: (XCHAR_OR_CHAR_INT):
3295 Always use inline function.
3296 Remove redundant type checking assert() - XINT will abort quite
3299 2000-11-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3301 * text-coding.c: (Fencode_shift_jis_char):
3302 (Fencode_big5_char):
3303 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
3304 Replace 0 with '\0' when working with bytes.
3305 Replace initial "(" with "\(" in docstrings.
3307 (Fmake_coding_system):
3308 When type is ccl and value is vector, register it with a proper
3309 symbol. And checks whether the given ccl program is valid.
3310 (mule_decode): When calling ccl_driver, if src indicates
3311 NULL pointer, set an empty string instead.
3312 (mule_encode): Likewise.
3315 (detect_coding_sjis):
3316 (decode_coding_sjis):
3317 (detect_coding_big5):
3318 (decode_coding_big5):
3319 (detect_coding_ucs4):
3320 (decode_coding_ucs4):
3321 (detect_coding_utf8):
3322 (decode_coding_utf8):
3323 (detect_coding_iso2022):
3324 (decode_coding_iso2022):
3325 (decode_coding_no_conversion):
3327 Make all detecting and decoding functions take an Extbyte * arg.
3328 (text_encode_generic):
3329 (encode_coding_big5):
3330 (encode_coding_no_conversion):
3332 Make all encoding functions take a Bufbyte * arg.
3333 Use size_t instead of unsigned int for memory sizes.
3334 Only cast to unsigned char whenever dereferencing Extbyte *.
3336 (struct lrecord_description fcd_description_1): Use countof.
3337 (complex_vars_of_file_coding):
3338 Use countof instead of sizeof.
3339 Use CHECK_NATNUM instead of CHECK_INT.
3341 2000-11-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3343 * mule-charset.c (Fget_char_attribute): Add new optional argument
3345 (put_char_ccs_code_point): Modify for `Fget_char_attribute'.
3346 (remove_char_ccs): Likewise.
3348 2000-10-05 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3350 * text-coding.c (char_encode_shift_jis): New implementation in
3352 (decode_coding_big5): Use `DECODE_CHAR (Vcharset_chinese_big5,
3355 * mule-charset.c (Vcharset_chinese_big5): New variable in
3357 (Qchinese_big5): New variable in UTF-2000.
3358 (BIG5_SAME_ROW): New macro in UTF-2000.
3359 (make_builtin_char): Use builtin characters of
3360 `Vcharset_chinese_big5_1' and `Vcharset_chinese_big5_2' as builtin
3361 characters of `Vcharset_chinese_big5'.
3362 (syms_of_mule_charset): Add new symbol `chinese-big5' in UTF-2000.
3363 (complex_vars_of_mule_charset): Add new coded-charset
3364 `chinese-big5' in UTF-2000.
3366 * char-ucs.h (LEADING_BYTE_CHINESE_BIG5): New macro.
3367 (Vcharset_chinese_big5): New external variable declaration.
3368 (Vcharset_japanese_jisx0208_1990): Likewise.
3370 2000-07-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3372 * mule-charset.c (expand_uint8_byte_table_to_uint16): New
3374 (put_byte_table): Use `expand_uint8_byte_table_to_uint16'.
3376 2000-07-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3378 * mule-charset.c (complex_vars_of_mule_charset): Define new macro
3379 `DEF_MOJIKYO_PJ' in UTF-2000; use `DEF_MOJIKYO_PJ' to define
3380 `mojikyo-pj-*'; add "MojikyoPJ-*" to charset-registry of
3383 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3385 * text-coding.c (decode_coding_big5): Modify for UTF-2000.
3387 2000-07-24 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3389 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3392 2000-07-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3394 * file-coding.c (ucs_to_char): Don't use `CHARSET_TYPE_*'; modify
3395 for `CHARSET_BY_ATTRIBUTES'.
3396 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3397 `CHARSET_BY_ATTRIBUTES'.
3399 * text-coding.c (struct decoding_stream): Rename member `CH' to
3401 (reset_decoding_stream): Use `str->cpos' instead of `str->ch'.
3402 (decode_coding_sjis): Likewise.
3403 (decode_coding_big5): Likewise.
3404 (decode_coding_ucs4): Likewise.
3405 (decode_coding_utf8): Likewise.
3406 (parse_iso2022_esc): Don't use `CHARSET_TYPE_*'; modify for
3407 `CHARSET_BY_ATTRIBUTES'.
3408 (decode_coding_iso2022): Use `str->cpos' instead of `str->ch'; use
3409 `str->counter'; decode 3, 4 bytes sets.
3410 (char_encode_iso2022): Don't use `BREAKUP_CHAR'; encode 3, 4 bytes
3412 (decode_coding_no_conversion): Use `str->cpos' instead of
3415 * mule-charset.c (Vcharset_mojikyo_2022_1): New variable.
3416 (Qmojikyo_2022_1): New variable.
3417 (make_charset): Don't use `CHARSET_TYPE_*'.
3418 (range_charset_code_point): Support coded-charset
3420 (encode_builtin_char_1): Modify for `CHARSET_BY_ATTRIBUTES'.
3421 (Fmake_charset): Don't use `CHARSET_TYPE_*'; modify for
3422 `CHARSET_BY_ATTRIBUTES'.
3423 (Fcharset_from_attributes): Don't use `CHARSET_TYPE_*'; modify for
3424 `CHARSET_BY_ATTRIBUTES'.
3425 (syms_of_mule_charset): Add new symbol `mojikyo-2022-1'.
3426 (complex_vars_of_mule_charset): Add new coded-charset
3429 * mule-charset.h (CHARSET_BY_ATTRIBUTES): New implementation and
3430 interface; changed to inline function.
3432 * char-ucs.h (Vcharset_mojikyo_2022_1): New variable.
3433 (LEADING_BYTE_MOJIKYO_2022_1): New macro.
3434 (LEADING_BYTE_MOJIKYO_2022_2): New macro.
3435 (CHARSET_TYPE_94): Deleted.
3436 (CHARSET_TYPE_94X94): Deleted.
3437 (CHARSET_TYPE_96): Deleted.
3438 (CHARSET_TYPE_96X96): Deleted.
3439 (CHARSET_TYPE_128): Deleted.
3440 (CHARSET_TYPE_128X128): Deleted.
3441 (CHARSET_TYPE_256): Deleted.
3442 (CHARSET_TYPE_256X256): Deleted.
3443 (CHARSET_BY_ATTRIBUTES): New implementation and interface; changed
3445 (DECODE_MOJIKYO_2022): New inline function.
3446 (DECODE_CHAR): Use `DECODE_MOJIKYO_2022'; decode
3447 `Vcharset_mojikyo_2022_1'.
3449 2000-07-18 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3451 * mule-charset.c (byte_table_same_value_p): Use `internal_equal'
3453 (put_byte_table): Likewise.
3454 (char_id_table_equal): Use `get_byte_table' [new implementation].
3456 2000-07-17 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3458 * mule-charset.c: Include <limits.h> in UTF-2000.
3459 (BT_UINT8_MIN): New macro in UTF-2000.
3460 (BT_UINT8_MAX): New macro in UTF-2000.
3461 (BT_UINT8_t): New macro in UTF-2000.
3462 (BT_UINT8_nil): New macro in UTF-2000.
3463 (BT_UINT8_unbound): New macro in UTF-2000.
3464 (INT_UINT8_P): New inline function in UTF-2000.
3465 (UINT8_VALUE_P): New inline function in UTF-2000.
3466 (UINT8_ENCODE): New inline function in UTF-2000.
3467 (UINT8_DECODE): New inline function in UTF-2000.
3468 (mark_uint8_byte_table): New function in UTF-2000.
3469 (print_uint8_byte_table): New function in UTF-2000.
3470 (uint8_byte_table_equal): New function in UTF-2000.
3471 (uint8_byte_table_hash): New function in UTF-2000.
3472 (make_uint8_byte_table): New function in UTF-2000.
3473 (uint8_byte_table_same_value_p): New function in UTF-2000.
3474 (BT_UINT16_MIN): New macro in UTF-2000.
3475 (BT_UINT16_MAX): New macro in UTF-2000.
3476 (BT_UINT16_t): New macro in UTF-2000.
3477 (BT_UINT16_nil): New macro in UTF-2000.
3478 (BT_UINT16_unbound): New macro in UTF-2000.
3479 (INT_UINT16_P): New inline function in UTF-2000.
3480 (UINT16_VALUE_P): New inline function in UTF-2000.
3481 (UINT16_ENCODE): New inline function in UTF-2000.
3482 (UINT16_DECODE): New inline function in UTF-2000.
3483 (UINT8_TO_UINT16): New inline function in UTF-2000.
3484 (mark_uint16_byte_table): New function in UTF-2000.
3485 (print_uint16_byte_table): New function in UTF-2000.
3486 (uint16_byte_table_equal): New function in UTF-2000.
3487 (uint16_byte_table_hash): New function in UTF-2000.
3488 (make_uint16_byte_table): New function in UTF-2000.
3489 (uint16_byte_table_same_value_p): New function in UTF-2000.
3490 (print_byte_table): New function in UTF-2000.
3491 (byte-table): Use `print_byte_table' as printer.
3492 (make_byte_table): Delete second argument `older'.
3493 (byte_table_same_value_p): New function in UTF-2000.
3494 (copy_byte_table): Deleted.
3495 (get_byte_table): New function in UTF-2000.
3496 (put_byte_table): New function in UTF-2000.
3497 (print_char_id_table): New function in UTF-2000.
3498 (char-id-table): Use `print_char_id_table' as printer.
3499 (make_char_id_table): Delete second argument `older'.
3500 (get_char_id_table): Use `get_byte_table [new implementation].
3501 (put_char_id_table): Use `get_byte_table and `put_byte_table' [new
3503 (Ffind_char_attribute_table): New function in UTF-2000.
3504 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
3505 (syms_of_mule_charset): Add LRECORD_IMPLEMENTATION
3506 `uint8_byte_table' and `uint16_byte_table' in UTF-2000.
3507 (syms_of_mule_charset): Add new function
3508 `find-char-attribute-table' in UTF-2000.
3510 * lrecord.h (enum lrecord_type): Add
3511 `lrecord_type_uint16_byte_table' and
3512 `lrecord_type_uint8_byte_table'.
3514 * char-ucs.h (struct Lisp_Uint8_Byte_Table): New structure.
3515 (Lisp_Uint8_Byte_Table): New type.
3516 (XUINT8_BYTE_TABLE): New macro.
3517 (XSETUINT8_BYTE_TABLE): New macro.
3518 (UINT8_BYTE_TABLE_P): New macro.
3519 (GC_UINT8_BYTE_TABLE_P): New macro.
3520 (struct Lisp_Uint16_Byte_Table): New structure.
3521 (Lisp_Uint16_Byte_Table): New type.
3522 (XUINT16_BYTE_TABLE): New macro.
3523 (XSETUINT16_BYTE_TABLE): New macro.
3524 (UINT16_BYTE_TABLE_P): New macro.
3525 (GC_UINT16_BYTE_TABLE_P): New macro.
3527 2000-07-13 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3529 * mule-charset.c (Vcharacter_ideographic_radical_table): Deleted.
3530 (Vcharacter_ideographic_strokes_table): Deleted.
3531 (Vcharacter_total_strokes_table): Deleted.
3532 (Vcharacter_morohashi_daikanwa_table): Deleted.
3533 (Vcharacter_decomposition_table): Deleted.
3534 (Qname): Deleted because it is duplicated.
3535 (Qideographic_radical): Deleted.
3536 (Qideographic_strokes): Deleted.
3537 (Qtotal_strokes): Deleted.
3538 (Qmorohashi_daikanwa): Deleted.
3539 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' for
3540 `ideographic-radical', `ideographic-strokes', `total-strokes',
3541 `morohashi-daikanwa' and `->decomposition'.
3542 (Fget_char_attribute): Likewise.
3543 (Fput_char_attribute): Likewise; use `make-vector' instead of
3544 `make_older_vector' for `->decomposition' value.
3545 (Fdefine_char): Comment out code to check `morohashi-daikanwa' and
3546 `ideograph-daikanwa'.
3547 (syms_of_mule_charset): Delete builtin symbols `name',
3548 `ideographic-radical', `ideographic-strokes', `total-strokes' and
3549 `morohashi-daikanwa'.
3550 (vars_of_mule_charset): Don't setup
3551 `Vcharacter_ideographic_radical_table',
3552 `Vcharacter_ideographic_strokes_table',
3553 `Vcharacter_total_strokes_table',
3554 `Vcharacter_morohashi_daikanwa_table' and
3555 `Vcharacter_decomposition_table'.
3557 2000-06-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3559 * alloc.c: Use `HAVE_GGC' instead of `UTF2000' for
3560 `make_older_vector', `make_vector_newer_1' and
3561 `make_vector_newer'.
3563 * lisp.h: Use `HAVE_GGC' instead of `UTF2000' for
3564 `make_older_vector' and `make_vector_newer'.
3566 * config.h.in (HAVE_GGC): New macro.
3568 2000-06-16 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3570 * mule-charset.c (struct char_attribute_list_closure): New
3571 structure in UTF-2000.
3572 (add_char_attribute_to_list_mapper): New function in UTF-2000.
3573 (Fchar_attribute_list): Likewise.
3574 (Fset_charset_mapping_table): Use `make_vector_newer'.
3575 (Fdecode_builtin_char): New function in UTF-2000.
3576 (syms_of_mule_charset): Add new function `char-attribute-list' and
3577 `decode-builtin-char' in UTF-2000.
3579 * lisp.h (make_vector_newer): New prototype.
3581 * alloc.c (make_vector_newer_1): New function.
3582 (make_vector_newer): New function.
3584 2000-06-14 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3586 * char-ucs.h (MAX_CHAR_DAIKANWA): Changed to `(MIN_CHAR_MOJIKYO +
3589 2000-06-12 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3591 * mule-charset.c (Vchar_attribute_hash_table): New variable.
3592 (Vcharacter_attribute_table): Deleted.
3593 (Vcharacter_name_table): Deleted.
3594 (put_char_attribute): Deleted.
3595 (remove_char_attribute): Deleted.
3596 (struct char_attribute_alist_closure): New structure.
3597 (add_char_attribute_alist_mapper): New function.
3598 (Fchar_attribute_alist): Use `Vchar_attribute_hash_table' instead
3599 of `Vcharacter_attribute_table' and `Vcharacter_name_table'.
3600 (Fget_char_attribute): Likewise.
3601 (Fput_char_attribute): Likewise.
3602 (Fremove_char_attribute): Use `Vchar_attribute_hash_table' instead
3603 of `remove_char_attribute'.
3604 (Fdefine_char): Return character.
3605 (vars_of_mule_charset): Don't setup `Vcharacter_attribute_table'
3606 and `Vcharacter_name_table'.
3607 (complex_vars_of_mule_charset): Likewise
3608 `Vchar_attribute_hash_table'.
3610 2000-06-10 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3612 * character.h (CHARC_CHARSET): New macro.
3613 (CHARC_CHARSET_ID): New macro.
3614 (CHARC_CODE_POINT): New macro.
3615 (CHARC_COLUMNS): New macro.
3616 (CHARC_TO_CHAR): New inline function.
3617 (CHARC_EQ): New inline function.
3618 (CHARC_ASCII_EQ): New inline function.
3619 (CHARC_IS_SPACE): New inline function.
3620 (ASCII_TO_CHARC): New inline function.
3622 * char-ucs.h (encode_char_2): Deleted.
3623 (ENCODE_CHAR): Use `encode_char_1' again.
3624 (breakup_char_1): Likewise.
3625 (CHAR_TO_CHARC): New inline function.
3627 * char-lb.h, char-1byte.h (CHAR_TO_CHARC): New inline function.
3629 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3631 * redisplay.c (add_emchar_rune): Use `ASCII_TO_CHARC',
3632 `CHAR_TO_CHARC' and `CHARC_CHARSET'.
3633 (create_text_block): Use `CHARC_ASCII_EQ' and `CHARC_IS_SPACE'.
3634 (generate_formatted_string_db): Use `CHARC_TO_CHAR'.
3635 (create_string_text_block): Use `CHARC_ASCII_EQ' and
3637 (pixel_to_glyph_translation): Use `CHARC_ASCII_EQ'.
3639 * redisplay-x.c (separate_textual_runs): Use `CHARC_CHARSET' and
3641 (x_output_display_block): Use `CHARC_CHARSET' and
3644 * redisplay-tty.c (tty_output_display_block): Use
3646 (tty_output_display_block): Likewise; use `ASCII_TO_CHARC'.
3648 * redisplay-output.c (compare_runes): Use `CHARC_EQ'.
3650 * insdel.c (find_charsets_in_charc_string): Use
3652 (charc_string_displayed_columns): Use `CHARC_COLUMNS'.
3653 (convert_bufbyte_string_into_charc_dynarr): Use `CHAR_TO_CHARC'.
3654 (convert_charc_string_into_bufbyte_dynarr): Use `CHARC_TO_CHAR'.
3655 (convert_charc_string_into_malloced_string): Likewise.
3657 2000-06-09 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3659 * toolbar-x.c (x_output_toolbar_button): Use <Charc_dynarr *>
3660 instead of <Emchar_dynarr *> for buf; use
3661 `convert_bufbyte_string_into_charc_dynarr' instead of
3662 `convert_bufbyte_string_into_emchar_dynarr'; use
3663 `find_charsets_in_charc_string' instead of
3664 `find_charsets_in_emchar_string'.
3667 - Include "character.h".
3668 (struct rune): New member `cglyph'; delete member `chr'.
3670 * redisplay.c (redisplay_text_width_charc_string): New function;
3671 delete `redisplay_text_width_emchar_string'.
3672 (rtw_charc_dynarr): New variable; renamed from
3673 `rtw_emchar_dynarr'.
3674 (redisplay_text_width_string): Use `rtw_charc_dynarr' instead of
3675 `rtw_emchar_dynarr'; use
3676 `convert_bufbyte_string_into_charc_dynarr' instead of
3677 `convert_bufbyte_string_into_emchar_dynarr'; use
3678 `redisplay_text_width_charc_string' instead of
3679 `redisplay_text_width_emchar_string'.
3680 (redisplay_frame_text_width_string): Use `rtw_charc_dynarr'
3681 instead of `rtw_emchar_dynarr'; use
3682 `convert_bufbyte_string_into_charc_dynarr' instead of
3683 `convert_bufbyte_string_into_emchar_dynarr'.
3684 (add_emchar_rune): Add <Charc> instead of <Emchar>; use
3685 `redisplay_text_width_charc_string' instead of
3686 `redisplay_text_width_emchar_string'.
3687 (create_text_block): Modify for <struct rune> change.
3688 (generate_formatted_string_db): Likewise.
3689 (create_string_text_block): Likewise.
3690 (pixel_to_glyph_translation): Likewise.
3692 * redisplay-x.c (separate_textual_runs): Use <const Charc *>
3693 instead of <const Emchar *>.
3694 (x_text_width): Likewise.
3695 (x_output_display_block): Use <Charc_dynarr *> instead
3696 <Emchar_dynarr *>; modify for <structure rune> change.
3697 (x_output_string): Use <Charc_dynarr *> instead of <Emchar_dynarr
3700 * redisplay-tty.c (tty_text_width): Use <const Charc *> instead of
3701 <const Emchar *>; use `charc_string_displayed_columns' instead of
3702 `emchar_string_displayed_columns'.
3703 (tty_output_display_block): Use <Charc_dynarr *> instead of
3704 <Emchar_dynarr *> for buf; modify for <structure rune> change; use
3705 `tty_output_charc_dynarr' instead of `tty_output_emchar_dynarr'.
3706 (tty_output_charc_dynarr_dynarr): New variable; renamed from
3707 `tty_output_emchar_dynarr_dynarr'.
3708 (tty_output_charc_dynarr): New function; delete
3709 `tty_output_charc_dynarr'.
3711 * redisplay-output.c (compare_runes): Modify for `struct rune'.
3712 (redisplay_output_layout): Use <Charc_dynarr *> instead of
3713 <Emchar_dynarr *> for buf; use
3714 `convert_bufbyte_string_into_charc_dynarr' instead of
3715 `convert_bufbyte_string_into_emchar_dynarr'.
3717 * frame.c (title_string_charc_dynarr): New variable; renamed from
3718 `title_string_emchar_dynarr'.
3719 (generate_title_string): Use `title_string_charc_dynarr' instead
3720 of `title_string_emchar_dynarr'; use
3721 `convert_charc_string_into_malloced_string' instead of
3722 `convert_emchar_string_into_malloced_string'.
3723 (init_frame): Use `title_string_charc_dynarr' instead of
3724 `title_string_emchar_dynarr'.
3727 - Include "character.h".
3728 (struct console_methods): Use <const Charc *> instead of <const
3729 Emchar *> in `text_width_method'; use <Charc_dynarr *> instead of
3730 <Emchar_dynarr *> in output_string_method.
3732 * console-x.h (x_output_string): Use <Charc_dynarr *> instead of
3735 * console-stream.c (stream_text_width): Use <const Charc *>
3736 instead of <const Emchar *>.
3738 * character.h (Charc_dynarr): New type.
3740 * char-ucs.h (structure Charc): New structure; define new type
3743 * char-lb.h (DECODE_CHAR): New inline function.
3744 (encode_char_1): New inline function.
3745 (ENCODE_CHAR): New macro.
3746 (structure Charc): New structure; define new type `Charc'.
3748 * char-1byte.h (Vcharset_control_1): New macro.
3749 (Vcharset_latin_iso8859_1): New macro.
3750 (DECODE_CHAR): New inline function.
3751 (encode_char_1): New inline function.
3752 (ENCODE_CHAR): New macro.
3753 (structure Charc): New structure; define new type `Charc'.
3755 * insdel.c (find_charsets_in_charc_string): New function; delete
3756 `find_charsets_in_emchar_string'.
3757 (charc_string_displayed_columns): New function; delete
3758 `emchar_string_displayed_columns'.
3759 (convert_bufbyte_string_into_charc_dynarr): New function; delete
3760 `convert_bufbyte_string_into_emchar_dynarr'.
3761 (convert_charc_string_into_bufbyte_dynarr): New function; delete
3762 `convert_charc_string_into_bufbyte_dynarr'.
3763 (convert_charc_string_into_malloced_string): New function; delete
3764 `convert_charc_string_into_malloced_string'.
3766 * buffer.h (find_charsets_in_charc_string): New prototype; delete
3767 `find_charsets_in_emchar_string'.
3768 (charc_string_displayed_columns): New prototype; delete
3769 `emchar_string_displayed_columns'.
3770 (convert_charc_string_into_bufbyte_dynarr): New prototype; delete
3771 `convert_charc_string_into_bufbyte_dynarr'.
3772 (convert_charc_string_into_malloced_string): New prototype; delete
3773 `convert_charc_string_into_malloced_string'.
3775 2000-06-08 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3777 * select-x.c (Fx_store_cutbuffer_internal): Modify for UTF-2000.
3779 2000-06-07 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3781 * chartab.h (get_non_ascii_char_table_value): Use <Charset_ID>.
3783 * char-ucs.h: Use <short> for <Charset_ID>.
3785 * mule-charset.h, char-1byte.h: Use <unsigned char> for
3788 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3790 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
3793 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3795 * mule-charset.c (Vcharacter_morohashi_daikanwa_table): New
3797 (Qmorohashi_daikanwa): New variable.
3798 (Fchar_attribute_alist): Use `Vcharacter_morohashi_daikanwa_table'
3799 for `morohashi-daikanwa' attribute.
3800 (Fget_char_attribute): Likewise.
3801 (Fput_char_attribute): Likewise.
3802 (Fdefine_char): Don't setup `morohashi-daikanwa' attribute if it
3803 has the same value of `ideograph-daikanwa'.
3804 (syms_of_mule_charset): Add new symbol `morohashi-daikanwa'.
3805 (vars_of_mule_charset): Setup
3806 `Vcharacter_morohashi_daikanwa_table'.
3808 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3810 * mule-charset.c (Fchar_attribute_alist): Add coded-charset
3812 (add_charset_to_list_mapper): Add `key' instead of
3813 `XCHARSET_NAME (value)' to return aliases.
3815 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3817 * mule-charset.c (Vcharacter_ideographic_radical_table): New
3819 (Vcharacter_ideographic_strokes_table): New variable.
3820 (Qideographic_radical): New variable.
3821 (Qideographic_strokes): New variable.
3822 (Fchar_attribute_alist): Use
3823 `Vcharacter_ideographic_radical_table' for `ideographic-radical'
3824 attribute; use `Vcharacter_ideographic_strokes_table' for
3825 `ideographic-strokes' attribute.
3826 (Fget_char_attribute): Likewise.
3827 (Fput_char_attribute): Likewise.
3828 (syms_of_mule_charset): Add new symbol `ideographic-radical' and
3829 `ideographic-strokes'.
3830 (vars_of_mule_charset): Setup
3831 `Vcharacter_ideographic_radical_table' and
3832 `Vcharacter_ideographic_strokes_table'.
3834 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3836 * mule-charset.c (Vcharacter_total_strokes_table): New variable.
3837 (Qtotal_strokes): New variable.
3838 (Fchar_attribute_alist): Use `Vcharacter_total_strokes_table' for
3839 `total-strokes' attribute.
3840 (Fget_char_attribute): Likewise.
3841 (Fput_char_attribute): Likewise.
3842 (syms_of_mule_charset): Add new symbol `total-strokes'.
3843 (vars_of_mule_charset): Setup `Vcharacter_total_strokes_table'.
3845 2000-06-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3847 * mule-charset.c (Vcharacter_decomposition_table): New variable.
3848 (Fchar_attribute_alist): Add `name' and `->decomposition' if they
3850 (Fget_char_attribute): Use `Vcharacter_decomposition_table' for
3851 `->decomposition' attribute.
3852 (Fput_char_attribute): Likewise.
3853 (vars_of_mule_charset): Setup `Vcharacter_decomposition_table'.
3855 2000-06-01 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3857 * mule-charset.c (decoding_table_check_elements): New function.
3858 (Fset_charset_mapping_table): Use `decoding_table_check_elements'.
3860 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3862 * mule-charset.c (Fset_charset_mapping_table): Use
3863 `put_char_ccs_code_point'.
3865 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3867 * mule-charset.c (decoding_table_put_char): New inline function.
3868 (put_char_ccs_code_point): Use `decoding_table_put_char'.
3870 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3872 * mule-charset.c (CHARSET_BYTE_SIZE): New inline function.
3873 (XCHARSET_BYTE_SIZE): New macro.
3874 (decoding_table_remove_char): New inline function.
3875 (put_char_ccs_code_point): Use `XCHARSET_BYTE_SIZE'; use
3876 `decoding_table_remove_char'.
3877 (remove_char_ccs): Use `decoding_table_remove_char'.
3878 (Fset_charset_mapping_table): Use `CHARSET_BYTE_SIZE'.
3880 2000-05-31 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3882 * mule-charset.c (Vcharacter_name_table): New variable.
3883 (Qname): New variable.
3884 (Fget_char_attribute): Use `Vcharacter_name_table' for `name'
3886 (Fput_char_attribute): Use function `put_char_ccs_code_point'; use
3887 `Vcharacter_name_table' for `name' attribute.
3888 (Fremove_char_attribute): Use function `remove_char_ccs'.
3889 (put_char_ccs_code_point): New function.
3890 (remove_char_ccs): New function.
3891 (syms_of_mule_charset): Add new symbol `name'.
3892 (vars_of_mule_charset): Setup `Vcharacter_name_table'.
3894 2000-05-30 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3896 * mule-charset.c (make_byte_table): Add new argument `older'.
3897 (make_char_id_table): Likewise.
3898 (copy_char_id_table): Comment out because it is not used.
3899 (put_char_id_table): Modify for `make_byte_table'.
3900 (Fput_char_attribute): Make encoding_table as older object;
3901 inherit older bit of `Vcharacter_composition_table'.
3902 (mark_charset): Don't mark `cs->encoding_table'.
3903 (vars_of_mule_charset): Make `Vcharacter_attribute_table' as a
3904 normal object; make `Vcharacter_composition_table' as an older
3905 object; delete staticpro for `Vcharacter_composition_table'; make
3906 `Vcharacter_variant_table' as a normal object.
3908 * alloc.c (alloc_older_lcrecord): New function in UTF-2000.
3909 (mark_object): Don't check older object in UTF-2000.
3911 * lrecord.h (struct lrecord_header): Add new member `older' in
3913 (set_lheader_implementation): Setup `SLI_header->older' in
3915 (set_lheader_older_implementation): New macro in UTF-2000.
3916 (OLDER_RECORD_P): New macro in UTF-2000.
3917 (OLDER_RECORD_HEADER_P): New macro in UTF-2000.
3918 (alloc_older_lcrecord): New prototype in UTF-2000.
3919 (alloc_older_lcrecord_type): New macro in UTF-2000.
3921 2000-05-29 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3923 * mule-charset.c (byte_table_description): Use
3924 `XD_LISP_OBJECT_ARRAY' instead of `XD_LISP_OBJECT'.
3925 (char_id_table_description): Delete bogus `, 1'.
3926 (Fget_char_attribute): Refer encoding_table of each coded-charset
3927 to get value of coded-charset attribute of a character.
3928 (Fput_char_attribute): Use `make_older_vector' instead of
3929 `make_vector'; use encoding_table of each coded-charset to store
3930 value of coded-charset attribute of a character.
3931 (Fremove_char_attribute): Use encoding_table of each coded-charset
3932 to store value of coded-charset attribute of a character.
3933 (mark_charset): Mark `cs->encoding_table'; don't mark
3934 `cs->decoding_table'.
3935 (charset_description): Add description of new member
3937 (make_charset): Initialize `encoding_table'.
3939 * char-ucs.h (struct Lisp_Charset): Add new member
3941 (CHARSET_ENCODING_TABLE): New macro.
3942 (XCHARSET_ENCODING_TABLE): New macro.
3943 (charset_code_point): New implementation.
3944 (encode_char_1): Likewise.
3946 * alloc.c (all_older_lcrecords): New variable in UTF-2000.
3947 (disksave_object_finalization_1): Call finalizers of
3948 `all_older_lcrecords' in UTF-2000.
3949 (make_older_vector): New function in UTF-2000.
3950 (reinit_alloc_once_early): Initialize `all_older_lcrecords' in
3953 * lisp.h (make_older_vector): New prototype in UTF-2000.
3955 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3957 * lrecord.h (enum lrecord_type): Rename
3958 `lrecord_type_char_code_table' to `lrecord_type_char_id_table'.
3960 * text-coding.c (COMPOSE_ADD_CHAR): Use `CHAR_ID_TABLE_P' and
3961 `get_char_id_table' instead of `CHAR_CODE_TABLE_P' and
3962 `get_char_code_table'.
3964 * mule-charset.c (mark_char_id_table): Renamed from
3965 `mark_char_code_table'.
3966 (char_id_table_equal): Renamed from `char_code_table_equal'.
3967 (char_id_table_hash): Renamed from `char_code_table_hash'.
3968 (make_char_id_table): Renamed from `make_char_code_table'.
3969 (copy_char_id_table): Renamed from `copy_char_code_table'.
3970 (get_char_id_table): Renamed from `get_char_code_table'.
3971 (put_char_id_table): Renamed from `put_char_code_table'.
3972 (to_char_id): Renamed from `to_char_code'.
3974 * char-ucs.h (struct Lisp_Char_ID_Table): Renamed from
3975 `Lisp_Char_Code_Table'.
3976 (char_id_table): Renamed from `char_code_table'.
3977 (XCHAR_ID_TABLE): Renamed from `XCHAR_CODE_TABLE'.
3978 (XSETCHAR_ID_TABLE): Renamed from `XSETCHAR_CODE_TABLE'.
3979 (CHAR_ID_TABLE_P): Renamed from `CHAR_CODE_TABLE_P'.
3980 (GC_CHAR_ID_TABLE_P): Renamed from `GC_CHAR_CODE_TABLE_P'.
3981 (get_char_id_table): Renamed from `get_char_code_table'.
3983 2000-05-22 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
3985 * lrecord.h (enum lrecord_type): Rename
3986 `lrecord_type_char_byte_table' to `lrecord_type_byte_table'.
3988 * mule-charset.c (mark_byte_table): Renamed from
3989 `mark_char_byte_table'.
3990 (byte_table_equal): Renamed from `char_byte_table_equal'.
3991 (byte_table_hash): Renamed from `byte_table_hash'.
3992 (make_byte_table): Renamed from `make_byte_table'.
3993 (copy_byte_table): Renamed from `copy_char_byte_table'.
3995 * char-ucs.h (struct Lisp_Byte_Table): Renamed from
3996 `Lisp_Char_Byte_Table'.
3997 (byte_table): Renamed from `char_byte_table'.
3998 (XBYTE_TABLE): Renamed from `XCHAR_BYTE_TABLE'.
3999 (XSETBYTE_TABLE): Renamed from `XSET_CHAR_BYTE_TABLE'.
4000 (BYTE_TABLE_P): Renamed from `XBYTE_TABLE_P'.
4001 (GC_BYTE_TABLE_P): Renamed from `GC_CHAR_BYTE_TABLE_P'.
4003 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4005 * buffer.c (dfc_convert_to_external_format): Modify for UTF-2000.
4006 (dfc_convert_to_internal_format): Likewise.
4008 * text-coding.c (Fcoding_system_canonical_name_p): New function.
4009 * text-coding.c (Fcoding_system_alias_p): New function.
4010 * text-coding.c (Fcoding_system_aliasee): New function.
4011 * text-coding.c (append_suffix_to_symbol): New function.
4012 * text-coding.c (dangling_coding_system_alias_p): New function.
4013 * text-coding.c (Ffind_coding_system):
4014 * text-coding.c (Fcopy_coding_system):
4015 * text-coding.c (encode_coding_no_conversion):
4016 * text-coding.c (syms_of_file_coding):
4017 * text-coding.c (vars_of_file_coding):
4018 Rewrite coding system alias code.
4019 Allow nested aliases, like symbolic links.
4020 Allow redefinition of coding system aliases.
4021 Prevent existence of dangling coding system aliases.
4022 Eliminate convert_to_external_format.
4023 Eliminate convert_to_internal_format.
4025 * text-coding.c: Change enum eol_type to eol_type_t.
4027 2000-05-02 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4029 * mule-charset.c (encode_builtin_char_1): Limit builtin-code-range
4030 of `mojikyo' to MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4032 * char-ucs.h (MAX_CHAR_MOJIKYO): Limit builtin-code-range to
4033 MIN_CHAR_MOJIKYO + 94 * 60 * 22.
4035 2000-04-28 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4037 * mule-charset.c (encode_builtin_char_1): Use `mojikyo' instead of
4038 `ideograph-daikanwa'.
4040 * char-ucs.h (Vcharset_ucs): Deleted because it is not used.
4041 (Vcharset_ucs_bmp): Likewise.
4042 (Vcharset_mojikyo): Add new extern variable definition.
4043 (Vcharset_latin_iso8859_2): Deleted because it is not used.
4044 (Vcharset_latin_iso8859_3): Likewise.
4045 (Vcharset_latin_iso8859_4): Likewise.
4046 (Vcharset_latin_iso8859_9): Likewise.
4047 (Vcharset_latin_viscii_lower): Likewise.
4048 (Vcharset_latin_viscii_upper): Likewise.
4049 (DECODE_CHAR): If charset is `mojikyo-pj-N', corresponding
4050 `mojikyo' code-point is used to decode.
4051 (encode_char_2): New function [to convert `mojikyo' code-point to
4052 Mojikyo font encoding].
4053 (ENCODE_CHAR): Use `encode_char_2' instead of `encode_code_1'.
4054 (breakup_char_1): Likewise.
4055 (CHAR_CHARSET): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR'.
4057 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4059 * text-coding.c (Fmake_coding_system): Add document about
4060 `disable-composition' property.
4062 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4064 * text-coding.c (Qdisable_composition): New variable; delete
4066 (Fmake_coding_system): Add new property `disable-composite';
4067 delete property `composite'.
4068 (COMPOSE_ADD_CHAR): Use `CODING_SYSTEM_DISABLE_COMPOSITION'
4069 instead of `!CODING_SYSTEM_COMPOSITE'.
4070 (syms_of_file_coding): Add new symbol `disable-composition';
4071 delete symbol `composite'.
4073 * file-coding.h (struct Lisp_Coding_System): Add
4074 `disable_composition'; delete `enable_composition'.
4075 (CODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4076 `CODING_SYSTEM_COMPOSITE'.
4077 (XCODING_SYSTEM_DISABLE_COMPOSITION): New macro; delete
4078 `XCODING_SYSTEM_COMPOSITE'.
4080 2000-04-27 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4082 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4085 2000-04-26 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4087 * text-coding.c (Qcomposite): New variable.
4088 (Fmake_coding_system): Add new property `composite'.
4089 (struct decoding_stream): Add `combined_char_count',
4090 `combined_chars' and `combining_table' in UTF-2000.
4091 (COMPOSE_FLUSH_CHARS): New macro.
4092 (COMPOSE_ADD_CHAR): New macro.
4093 (reset_decoding_stream): Reset `str->combined_char_count' and
4094 `str->combining_table' in UTF-2000.
4095 (decode_coding_iso2022): Modify for character-decomposition.
4096 (syms_of_file_coding): Add new symbol `composite'.
4098 2000-04-25 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4100 * mule-charset.c (Vcharset_latin_tcvn5712): New variable.
4101 (Fput_char_attribute): Set up `Vcharacter_variant_table' instead
4102 of `Vcharacter_composition_table' if `->decomposition' property
4104 (Qlatin_tcvn5712): New variable.
4105 (syms_of_mule_charset): Add new symbol `latin-tcvn5712'.
4106 (complex_vars_of_mule_charset): Add new coded-charset
4109 * char-ucs.h (LEADING_BYTE_LATIN_TCVN5712): New macro.
4111 2000-04-20 MORIOKA Tomohiko <tomo@kanji.zinbun.kyoto-u.ac.jp>
4113 * file-coding.h (struct Lisp_Coding_System): Add
4114 `enable_composition'.
4115 (CODING_SYSTEM_COMPOSITE): New macro.
4116 (XCODING_SYSTEM_COMPOSITE): New macro.
4118 2000-03-17 MORIOKA Tomohiko <tomo@m17n.org>
4120 * mule-canna.c (c2mu): Fix problem with UTF-2000.
4122 2000-03-16 MORIOKA Tomohiko <tomo@m17n.org>
4124 * mule-charset.c (Fput_char_attribute): Don't make mapping-table
4125 if ATTRIBUTE is `ucs' and character-id of CHARACTER = VALUE.
4127 2000-02-24 MORIOKA Tomohiko <tomo@m17n.org>
4129 * mule-charset.c (Vcharset_mojikyo): New variable.
4130 (Fdefine_char): Don't use coded-charset which does not have
4131 non-builtin character range to allocate character-id.
4132 (Qmojikyo): New variable.
4133 (syms_of_mule_charset): Add new symbol `mojikyo'.
4134 (complex_vars_of_mule_charset): Add new coded-charset `mojikyo'.
4136 * char-ucs.h (LEADING_BYTE_DAIKANWA_EKANJI): New macro.
4137 (LEADING_BYTE_MOJIKYO): New macro.
4138 (MIN_CHAR_MOJIKYO): New macro.
4139 (MIN_CHAR_DAIKANWA): Use `MIN_CHAR_MOJIKYO'.
4140 (MAX_CHAR_MOJIKYO): New macro.
4142 2000-02-12 MORIOKA Tomohiko <tomo@m17n.org>
4144 * mule-charset.c (remove_char_attribute): Fixed.
4146 2000-02-08 MORIOKA Tomohiko <tomo@m17n.org>
4148 * mule-charset.c (remove_char_attribute): New function.
4149 (Fremove_char_attribute): New function.
4150 (encode_builtin_char_1): Comment out builtin-support for
4151 greek-iso8859-7 and cyrillic-iso8859-5.
4152 (Fdecode_char): Check `code' is an integer.
4153 (syms_of_mule_charset): Add `remove-char-attribute'.
4154 (MIN_CHAR_GREEK): Deleted.
4155 (MAX_CHAR_GREEK): Likewise.
4156 (MIN_CHAR_CYRILLIC): Likewise.
4157 (MAX_CHAR_CYRILLIC): Likewise.
4158 (complex_vars_of_mule_charset): Don't use MIN_CHAR_GREEK and
4159 MAX_CHAR_GREEK for `greek-iso8859-7'.
4161 * char-ucs.h (MIN_CHAR_GREEK): Comment out.
4162 (MAX_CHAR_GREEK): Likewise.
4163 (MIN_CHAR_CYRILLIC): Likewise.
4164 (MAX_CHAR_CYRILLIC): Likewise.
4166 2000-02-02 MORIOKA Tomohiko <tomo@m17n.org>
4168 * mule-charset.c (Fdefine_char): Fix problem when new code-point
4169 format is used without `ucs' property.
4170 (Fdecode_char): Fix problem with GR representation.
4171 (complex_vars_of_mule_charset): Don't use `MIN_CHAR_CYRILLIC' and
4172 `MAX_CHAR_CYRILLIC' as range of builtin `cyrillic-iso8859-5'.
4174 2000-01-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4176 * mule-charset.c (make_builtin_char): New function.
4177 (encode_builtin_char_1): Check ISO-2022-charset is defined or not.
4178 (Fset_charset_mapping_table): Modify for new representation of
4180 (Fdecode_char): New function.
4181 (syms_of_mule_charset): Add new builtin function `decode-char' in
4184 * char-ucs.h (make_builtin_char): New prototype.
4185 (DECODE_CHAR): New inline function.
4186 (MAKE_CHAR): Use `DECODE_CHAR'.
4188 2000-01-28 MORIOKA Tomohiko <tomo@m17n.org>
4190 * text-coding.c (parse_charset_conversion_specs): Use
4191 `XCHARSET_CHARS' and `XCHARSET_DIMENSION' instead of
4193 (iso2022_designate): Likewise.
4195 * chartab.c (decode_char_table_range): Use `XCHARSET_CHARS' and
4196 `XCHARSET_DIMENSION' instead of `XCHARSET_TYPE'.
4198 * mule-charset.c (Vcharset_ucs): New variable.
4199 (print_charset): Change design; use `CHARSET_CHARS' and
4200 `CHARSET_DIMENSION' instead of `CHARSET_TYPE'.
4201 (make_charset): Change signature to specify `chars' and
4202 `dimension' instead of `type'.
4203 (range_charset_code_point): Modify for 256^n-set.
4204 (encode_builtin_char_1): Encode as `ucs' in default.
4205 (Fmake_charset): Modify for `make_charset'.
4206 (Fmake_reverse_direction_charset): Likewise.
4207 (Fsplit_char): Use `ENCODE_CHAR' instead of `BREAKUP_CHAR' in
4209 (complex_vars_of_mule_charset): Add coded-charset `ucs'; modify
4212 * char-ucs.h (Vcharset_ucs): New variable.
4213 (LEADING_BYTE_UCS): New macro.
4214 (struct Lisp_Charset): Delete `type'; change type of `dimension'
4215 and `chars' to `unsigned short' from `unsigned int'.
4216 (CHARSET_TYPE): Deleted.
4217 (XCHARSET_TYPE): Deleted.
4219 2000-01-27 MORIOKA Tomohiko <tomo@m17n.org>
4221 * mule-charset.c (charset_code_point): Moved to char-ucs.h.
4223 * char-ucs.h (charset_code_point): Moved from mule-charset.c.
4224 (ENCODE_CHAR): New macro.
4226 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4228 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4229 to 0.14 (Kawachi-Katakami).
4231 2000-01-26 MORIOKA Tomohiko <tomo@etl.go.jp>
4233 * text-coding.c (char_encode_shift_jis): Modify for
4234 `charset_code_point'.
4235 (char_encode_iso2022): Likewise.
4237 * mule-charset.c (Fput_char_attribute): Use <Lisp_Object>
4238 (integer) instead of list of <Lisp_Object>s (integers) as the
4239 format of code-point of a coded-charset.
4240 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4241 (encode_builtin_char_1): New function; delete
4242 `split_builtin_char'.
4243 (charset_code_point): Return <int> instead of <Lisp_Object>.
4244 (Fsplit_char): Don't use `SPLIT_CHAR'.
4246 * char-ucs.h (encode_builtin_char_1): New prototype; delete
4247 prototype for `split_builtin_char'.
4248 (range_charset_code_point): Return <int> instead of <Lisp_Object>.
4249 (charset_code_point): Likewise.
4250 (encode_char_1): New inline function; delete `SPLIT_CHAR'.
4251 (breakup_char_1): Use `encode_char_1' instead of `SPLIT_CHAR'.
4253 2000-01-20 MORIOKA Tomohiko <tomo@m17n.org>
4255 * mule-charset.c (complex_vars_of_mule_charset): Don't define
4256 `japanese-jisx0208-1990' in non-UTF-2000 Mule.
4258 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4260 * mule-charset.c (split_builtin_char): Don't support OBS_94x94.
4262 * char-ucs.h (MIN_CHAR_OBS_94x94): Deleted.
4263 (MAX_CHAR_OBS_94x94): Deleted.
4265 2000-01-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4267 * mule-charset.c (split_builtin_char): Use `MAX_CHAR_BMP'.
4269 * char-ucs.h (MAX_CHAR_BMP): New macro.
4271 2000-01-10 MORIOKA Tomohiko <tomo@etl.go.jp>
4273 * text-coding.c: Sync with r21-2-24.
4275 2000-01-08 MORIOKA Tomohiko <tomo@etl.go.jp>
4277 * file-coding.c: Modify for UTF-2000.
4279 2000-01-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4281 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4284 2000-01-15 MORIOKA Tomohiko <tomo@etl.go.jp>
4286 * mule-charset.c (split_builtin_char): Delete builtin support for
4287 `katakana-jisx0201'.
4288 (complex_vars_of_mule_charset): Don't map `katakana-jisx0201' to
4289 BMP area in builtin representation.
4291 * char-ucs.h (MAKE_CHAR): Delete builtin support for
4292 `Vcharset_katakana_jisx0201'.
4294 1999-12-24 MORIOKA Tomohiko <tomo@etl.go.jp>
4296 * mule-charset.c (Vcharset_mojikyo_pj_[1 .. 21]): New variable.
4297 (Qisolated): New variable.
4298 (Qinitial): New variable.
4299 (Qmedial): New variable.
4300 (Qfinal): New variable.
4301 (Qvertical): New variable.
4302 (Qsmall): New variable.
4303 (to_char_code): Use `Qisolated', `Qinitial', `Qmedial', `Qfinal',
4304 `Qvertical' and `Qsmall'.
4305 (Qmojikyo_pj_[1 .. 21]): New variable.
4306 (syms_of_mule_charset): Add new symbols `isolated', `initial',
4307 `medial', `final', `vertical', `small' and `mojikyo-pj-[1 .. 21]'.
4308 (complex_vars_of_mule_charset): Add new charset `mojikyo-pj-[1
4311 1999-11-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4313 * char-ucs.h (MIN_LEADING_BYTE): Changed to -0x60.
4314 (LEADING_BYTE_MOJIKYO_PJ_[1 .. 21]): New macros.
4315 (MAX_LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 32)'.
4317 1999-11-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4319 * mule-charset.c (Vcharset_japanese_jisx0208_1990): New variable.
4320 (Fdefine_char): Use Group 00 Plane 10 for non-coded variants of
4322 (Qjapanese_jisx0208_1990): New variable.
4323 (syms_of_mule_charset): Add new symbol `Qjapanese_jisx0208_1990'.
4324 (complex_vars_of_mule_charset): Add new coded-charset
4325 `japanese-jisx0208-1990'.
4327 * char-ucs.h (LEADING_BYTE_JAPANESE_JISX0208_1990): New macro.
4328 (MIN_CHAR_JIS_X0208_1990): New macro.
4329 (MAX_CHAR_JIS_X0208_1990): New macro.
4331 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4333 * text-coding.c (char_encode_iso2022): Output `~' if ISO 2022
4334 coded-charset is not found.
4336 1999-11-16 MORIOKA Tomohiko <tomo@urania.m17n.org>
4338 * mule-charset.c (Fget_char_attribute): Forgot to `CHECK_CHAR'.
4339 (Fdefine_char): Use `Fmake_char'.
4341 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4343 * mule-charset.c (Vcharset_ideograph_daikanwa): New variable.
4344 (Vcharset_hiragana_jisx0208): Deleted.
4345 (Vcharset_katakana_jisx0208): Deleted.
4346 (Qideograph_daikanwa): New variable.
4347 (Qhiragana_jisx0208): Deleted.
4348 (Qkatakana_jisx0208): Deleted.
4349 (split_builtin_char): Split `ideograph-daikanwa'.
4350 (Fsplit_char): New implementation for UTF-2000.
4351 (syms_of_mule_charset): Add new symbol `ideograph-daikanwa';
4352 delete symbol `hiragana-jisx0208' and `katakana-jisx0208'.
4353 (complex_vars_of_mule_charset): Add new coded-charset
4354 `ideograph-daikanwa'; delete coded-charset `hiragana-jisx0208' and
4355 `katakana-jisx0208'.
4357 * char-ucs.h (LEADING_BYTE_DAIKANWA): New macro.
4358 (LEADING_BYTE_HIRAGANA_JISX0208): Deleted.
4359 (LEADING_BYTE_KATAKANA_JISX0208): Deleted.
4360 (MIN_CHAR_DAIKANWA): New macro.
4361 (MAX_CHAR_DAIKANWA): New macro.
4363 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4365 * data.c (Fstring_to_number): Don't recognize floating point if
4368 1999-11-15 MORIOKA Tomohiko <tomo@urania.m17n.org>
4370 * mule-charset.c (Fput_char_attribute): Forgot to `CHECK_CHAR'.
4372 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4374 * mule-charset.c (Qsquare): New variable.
4375 (to_char_code): Add `Qsquare'.
4376 (syms_of_mule_charset): Add new symbol `square'.
4378 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4380 * mule-charset.c (Qcircle): New variable.
4381 (to_char_code): Add `Qcircle'.
4382 (syms_of_mule_charset): Add new symbol `circle'.
4384 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4386 * mule-charset.c (Qfont): New variable.
4387 (to_char_code): Add `Qfont'.
4388 (syms_of_mule_charset): Add new symbol `font'.
4390 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4392 * mule-charset.c (Qsub): New variable.
4393 (to_char_code): Add `Qsub'.
4394 (syms_of_mule_charset): Add new symbol `sub'.
4396 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4398 * mule-charset.c (Fput_char_attribute): Convert each element of
4399 VALUE to GL position if ATTRIBUTE is a GR-set,
4401 1999-11-14 MORIOKA Tomohiko <tomo@urania.m17n.org>
4403 * mule-charset.c (Fput_char_attribute): Allow GR code-point if a
4404 coded-charset is a GR-set.
4406 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4408 * mule-charset.c (Fput_char_attribute): Check each element of
4409 VALUE is a byte if ATTRIBUTE is a coded-charset or its name.
4411 1999-11-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4413 * mule-charset.c (Vcharset_ethiopic_ucs): New variable in
4415 (Qethiopic_ucs): New variable in UTF-2000.
4416 (syms_of_mule_charset): Add new symbol `ethiopic-ucs' in UTF-2000.
4417 (complex_vars_of_mule_charset): Add new coded-charset
4418 `ethiopic-ucs' in UTF-2000.
4420 * char-ucs.h (LEADING_BYTE_ETHIOPIC_UCS): New macro.
4421 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4423 (LEADING_BYTE_KATAKANA_JISX0208): Changed to `(CHARSET_ID_OFFSET -
4425 (LEADING_BYTE_PRIVATE): Changed to `(CHARSET_ID_OFFSET - 11)'.
4427 1999-11-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4429 * mule-charset.c (Fset_charset_mapping_table): Fix problem with
4432 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4434 * mule-charset.c (Vcharacter_variant_table): New variable.
4435 (Q_ucs): New variable.
4436 (Fchar_variants): New function.
4437 (Fput_char_attribute): Register `->ucs' value to
4438 `Vcharacter_variant_table'.
4439 (syms_of_mule_charset): Add new function `char-variants' and new
4441 (vars_of_mule_charset): Setup `Vcharacter_variant_table'.
4443 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4445 * mule-charset.c (get_char_code_table): Allow negative character
4447 (put_char_code_table): Likewise.
4448 (Vcharacter_composition_table): New variable.
4449 (Q_decomposition): New variable.
4450 (Qwide): New variable.
4451 (Qnarrow): New variable.
4452 (Qcompat): New variable.
4453 (QnoBreak): New variable.
4454 (Qsuper): New variable.
4455 (Qfraction): New variable.
4456 (to_char_code): New function.
4457 (Fget_composite_char): New function.
4458 (Fput_char_attribute): Register `->decomposition' value to
4459 `Vcharacter_composition_table'.
4460 (syms_of_mule_charset): Add new function `get-composite-char', new
4461 symbol `->decomposition', `wide', `narrow', `compat', `noBreak',
4462 `super' and `fraction'.
4463 (vars_of_mule_charset): Setup `Vcharacter_composition_table'.
4465 1999-11-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
4467 * mule-charset.c (Fchar_attribute_alist): Check the argument is a
4468 character; copy the return value.
4470 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4472 * char-ucs.h (SPLIT_CHAR): Use `split_builtin_char'.
4474 * mule-charset.c (range_charset_code_point): Must use make_int.
4475 (split_builtin_char): New function.
4477 1999-11-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4479 * mule-charset.c (char_byte_table): Change name from
4480 "char-code-table" to "char-byte-table".
4481 (mark_char_code_table): New function.
4482 (char_code_table_equal): New function.
4483 (char_code_table_hash): New function.
4484 (char_code_table_description): New constant.
4485 (char_code_table): New type.
4486 (make_char_code_table): New function.
4487 (copy_char_code_table): New function.
4488 (get_char_code_table): Modify for `char_code_table' type.
4489 (put_char_code_table): Likewise.
4490 (vars_of_mule_charset): Update `utf-2000-version' to 0.12
4493 * char-ucs.h (char_code_table): New type.
4494 (XCHAR_CODE_TABLE): New macro.
4495 (XSETCHAR_CODE_TABLE): New macro.
4496 (CHAR_CODE_TABLE_P): New macro.
4497 (GC_CHAR_CODE_TABLE_P): New macro.
4498 (struct Lisp_Char_Code_Table): New structure.
4500 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4502 * mule-charset.c (Fmake_charset): Setup byte_offset for
4505 1999-11-09 MORIOKA Tomohiko <tomo@urania.m17n.org>
4507 * mule-charset.c (Fdefine_char): Fix problem with non-UCS
4510 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4512 * char-ucs.h (SPLIT_CHAR): Don't make new cell if a charset slot
4515 1999-11-09 MORIOKA Tomohiko <tomo@etl.go.jp>
4517 * mule-charset.c (Fget_char_attribute): If ATTRIBUTE is a name of
4518 charset, it is regarded as a charset.
4519 (put_char_attribute): New function in UTF-2000.
4520 (Fput_char_attribute): If ATTRIBUTE is a charset or a name of
4521 charset, mapping-table of the charset is modified.
4522 (Fdefine_char): New function in UTF-2000.
4523 (Fset_charset_mapping_table): Use `put_char_attribute' instead of
4524 `Fput_char_attribute'.
4525 (syms_of_mule_charset): Add new function `define-char' and new
4526 symbol `ucs' in UTF-2000.
4527 (vars_of_mule_charset): Update `utf-2000-version' to 0.11 (Shiki).
4529 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4531 * mule-charset.c (Fcharset_name): Define `byte_offset' in
4532 non-UTF-2000 configuration.
4534 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4536 * text-coding.c (char_encode_shift_jis): Use `charset_code_point'
4537 not to use `XCHARSET_ENCODING_TABLE (Vcharset_latin_jisx0201)'.
4539 * mule-charset.c (mark_charset): `cs->encoding_table' has been
4541 (make_charset): Don't use `CHARSET_ENCODING_TABLE(cs)'.
4542 (Fset_charset_mapping_table): Likewise.
4544 * char-ucs.h (struct Lisp_Charset): Delete `encoding_table'.
4545 (CHARSET_ENCODING_TABLE): Delete.
4546 (XCHARSET_ENCODING_TABLE): Delete.
4547 (charset_code_point): New interface.
4549 1999-10-29 MORIOKA Tomohiko <tomo@etl.go.jp>
4551 * text-coding.c (char_encode_iso2022): Use `charset_code_point'
4552 instead of `charset_get_byte1' and `charset_get_byte2'.
4554 * mule-charset.c, char-ucs.h (charset_get_byte1): Deleted.
4555 (charset_get_byte2): Deleted.
4557 1999-10-28 MORIOKA Tomohiko <tomo@etl.go.jp>
4559 * char-ucs.h (SPLIT_CHAR): New inline function.
4560 (breakup_char_1): Use `SPLIT_CHAR'.
4562 * mule-charset.c (range_charset_code_point): New function.
4563 (charset_code_point): New function.
4565 * char-ucs.h (range_charset_code_point): New interface.
4566 (breakup_char_1): Use `range_charset_code_point'.
4568 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4570 * mule-charset.c (Fmake_charset): Delete unused local variable
4573 * char-ucs.h (Vcharacter_attribute_table): New extern variable.
4574 (breakup_char_1): Find a charset and code-point in
4575 `Vcharacter_attribute_table'.
4577 1999-10-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4579 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4582 1999-10-25 MORIOKA Tomohiko <tomo@etl.go.jp>
4584 * mule-charset.c (Vcharacter_attribute_table): New variable.
4585 (Fchar_attribute_alist): New function.
4586 (Fget_char_attribute): New function.
4587 (Fput_char_attribute): New function.
4588 (Fset_charset_mapping_table): Setup `Vcharacter_attribute_table'
4590 (syms_of_mule_charset): Add new function `char-attribute-alist',
4591 `get-char-attribute' and `put-char-attribute'.
4592 (vars_of_mule_charset): Setup `Vcharacter_attribute_table'.
4594 1999-10-19 MORIOKA Tomohiko <tomo@etl.go.jp>
4596 * mule-charset.c (Fmake_charset): Just use
4597 `get_unallocated_leading_byte'.
4599 * char-ucs.h (LEADING_BYTE_*): Use ISO-IR numbers for official
4600 sets; don't use final-byte based number for private sets.
4602 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4604 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
4607 1999-10-12 MORIOKA Tomohiko <tomo@etl.go.jp>
4609 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
4612 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4614 * regex.c (compile_extended_range): Use `CHAR_CHARSET_ID' instead
4615 of `CHAR_LEADING_BYTE' in UTF-2000.
4617 * insdel.c (find_charsets_in_bufbyte_string): Use
4618 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4619 (find_charsets_in_emchar_string): Likewise.
4621 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use
4622 `CHAR_CHARSET_ID' instead of `CHAR_LEADING_BYTE' in UTF-2000.
4624 * char-ucs.h (CHAR_LEADING_BYTE): Deleted.
4625 (CHAR_CHARSET_ID): New macro.
4627 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4629 * chartab.c (get_char_table): Don't use type `Charset_ID' for
4630 charset-id - MIN_LEADING_BYTE.
4631 (put_char_table): Likewise.
4633 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4635 * char-ucs.h (MIN_LEADING_BYTE): Changed to `-0x40'.
4636 (NUM_LEADING_BYTES): Changed to (80 * 3 - MIN_LEADING_BYTE).
4637 (CHARSET_LEADING_BYTE): Don't cast by `Bufbyte'.
4638 (CHARSET_ID_OFFSET): New macro.
4639 (LEADING_BYTE_CONTROL_1): Changed to (CHARSET_ID_OFFSET - 1).
4640 (LEADING_BYTE_UCS_BMP): Changed to (CHARSET_ID_OFFSET - 2).
4641 (LEADING_BYTE_LATIN_VISCII): Changed to (CHARSET_ID_OFFSET - 3).
4642 (LEADING_BYTE_HIRAGANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4644 (LEADING_BYTE_KATAKANA_JISX0208): Changed to (CHARSET_ID_OFFSET -
4646 (MIN_LEADING_BYTE_PRIVATE): Changed to `MIN_LEADING_BYTE'.
4647 (MAX_LEADING_BYTE_PRIVATE): Changed to (CHARSET_ID_OFFSET - 6).
4648 (CHARSET_ID_OFFSET_94): Changed to (CHARSET_ID_OFFSET - '0').
4649 (CHARSET_ID_OFFSET_96): Changed to (CHARSET_ID_OFFSET_94 + 80).
4650 (CHARSET_ID_OFFSET_94x94): Changed to (CHARSET_ID_OFFSET_96 + 80).
4652 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4654 * mule-charset.c (next_allocated_leading_byte): New variable in
4656 (next_allocated_1_byte_leading_byte): Don't define in UTF-2000.
4657 (next_allocated_2_byte_leading_byte): Don't define in UTF-2000.
4658 (get_unallocated_leading_byte): Simply use
4659 `next_allocated_leading_byte' [ignore dimension] in UTF-2000.
4660 (vars_of_mule_charset): Setup `next_allocated_leading_byte' in
4663 * char-ucs.h (MIN_LEADING_BYTE_PRIVATE): New macro.
4664 (MAX_LEADING_BYTE_PRIVATE): New macro.
4665 (MIN_LEADING_BYTE_OFFICIAL_2): Deleted.
4666 (MAX_LEADING_BYTE_OFFICIAL_2): Deleted.
4668 1999-10-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
4670 * mule-charset.c (Fmake_charset): Allocate final-byte based
4671 charset-id for 94-set, 96-set and 94x94-set.
4673 1999-10-11 MORIOKA Tomohiko <tomo@etl.go.jp>
4675 * mule-charset.c (char_byte_table_equal): Fill braces to avoid
4677 (Fmake_charset): Likewise.
4678 (complex_vars_of_mule_charset): Modify the font registry of
4679 `ucs-bmp' not to match `Ethiopic-Unicode'.
4681 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4683 * mule-charset.c (complex_vars_of_mule_charset): Add font
4684 registory of `ucs-bmp'.
4686 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4688 * text-coding.c (char_encode_iso2022): Ignore non-ISO-2022
4689 coded-charsets in `default-coded-charset-priority-list' when
4690 breaking up a character.
4692 * mule-charset.c (Vcharset_latin_viscii): New variable.
4693 (Qlatin_viscii): New variable.
4694 (make_charset): Don't use `decoding_table'.
4695 (Fmake_charset): Regard graphic = 2 as 256^n-set; setup
4697 (Fset_charset_mapping_table): New implementation.
4698 (syms_of_mule_charset): Add new symbol `latin-viscii'.
4699 (complex_vars_of_mule_charset): Set `graphic' attribute of charset
4700 `ucs-bmp' and `latin_viscii' to 2; change font registry of charset
4701 `latin-viscii-lower' to "MULEVISCII-LOWER"; change font registry
4702 of charset `latin-viscii-upper' to "MULEVISCII-UPPER"; add new
4703 charset `latin_viscii'.
4705 * char-ucs.h (LEADING_BYTE_LATIN_VISCII): New macro.
4706 (CHARSET_TYPE_94X94): Change to 1 from 2.
4707 (CHARSET_TYPE_96): Change to 2 from 1.
4708 (CHARSET_TYPE_128): New macro.
4709 (CHARSET_TYPE_128X128): Change to 5 from 4.
4710 (CHARSET_TYPE_256): New macro.
4711 (CHARSET_TYPE_256X256): Change to 7 from 5.
4712 (MAKE_CHAR): Use `XCHARSET_BYTE_OFFSET(charset)'.
4714 1999-10-10 MORIOKA Tomohiko <tomo@urania.m17n.org>
4716 * text-coding.c (char_encode_shift_jis): Refer
4717 `XCHARSET_ENCODING_TABLE(Vcharset_latin_jisx0201)' instead of
4718 `XCHARSET_TO_BYTE1_TABLE(Vcharset_latin_jisx0201)'.
4720 * mule-charset.c (mark_char_byte_table): New function in UTF-2000.
4721 (char_byte_table_equal): New function in UTF-2000.
4722 (char_byte_table_hash): New function in UTF-2000.
4723 (char_byte_table_description): New constant in UTF-2000.
4724 (char_byte_table): New type in UTF-2000.
4725 (make_char_byte_table): New function in UTF-2000.
4726 (copy_char_byte_table): New function in UTF-2000.
4727 (make_char_code_table): New macro in UTF-2000.
4728 (get_char_code_table): New function in UTF-2000.
4729 (put_char_code_table): New function in UTF-2000.
4730 (mark_charset): Mark `cs->encoding_table' in UTF-2000.
4731 (charset_description): Add setting in UTF-2000.
4732 (make_charset): Setup `CHARSET_ENCODING_TABLE(cs)' instead of
4733 `CHARSET_TO_BYTE1_TABLE(cs)'.
4734 (charset_get_byte1): Refer `XCHARSET_ENCODING_TABLE(charset)'
4735 instead of `XCHARSET_TO_BYTE1_TABLE(charset)'.
4736 (charset_get_byte2): Refer `XCHARSET_ENCODING_TABLE(charset)'
4737 instead of `XCHARSET_TO_BYTE2_TABLE(charset)'.
4738 (Fset_charset_mapping_table): Setup `CHARSET_ENCODING_TABLE(cs)'
4739 instead of `CHARSET_TO_BYTE1_TABLE(cs)' and
4740 `CHARSET_TO_BYTE2_TABLE(cs)'.
4742 * char-ucs.h (char_byte_table): New type.
4743 (XCHAR_BYTE_TABLE): New macro.
4744 (XSETCHAR_BYTE_TABLE): New macro.
4745 (CHAR_BYTE_TABLE_P): New macro.
4746 (GC_CHAR_BYTE_TABLE_P): New macro.
4747 (struct Lisp_Char_Byte_Table): New structure.
4748 (get_char_code_table): New interface.
4749 (Emchar_to_byte_table): Deleted.
4750 (get_byte_from_character_table): Deleted.
4751 (struct Lisp_Charset): Add `encoding_table'; delete
4752 `to_byte1_table' and `to_byte2_table'.
4753 (CHARSET_ENCODING_TABLE): New macro.
4754 (CHARSET_TO_BYTE1_TABLE): Deleted.
4755 (CHARSET_TO_BYTE2_TABLE): Deleted.
4756 (XCHARSET_ENCODING_TABLE): New macro.
4757 (XCHARSET_TO_BYTE1_TABLE): Deleted.
4758 (XCHARSET_TO_BYTE2_TABLE): Deleted.
4760 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4762 * mule-charset.c (syms_of_mule_charset): Delete charset alias
4763 `vietnamese-viscii-*'.
4765 1999-10-07 MORIOKA Tomohiko <tomo@etl.go.jp>
4767 * mule-charset.c (Qvietnamese_viscii_lower): New variable.
4768 (Qvietnamese_viscii_upper): New variable.
4769 (Fdefine_charset_alias): New function.
4770 (syms_of_mule_charset): Add new function `define-charset-alias'.
4771 (syms_of_mule_charset): Rename charset `vietnamese-viscii-*' to
4772 `latin-viscii-*'; define `vietnamese-viscii-*' as aliases for
4775 1999-10-04 MORIOKA Tomohiko <tomo@etl.go.jp>
4777 * char-ucs.h (MIN_CHAR_OBS_94x94): New macro.
4778 (MAX_CHAR_OBS_94x94): New macro.
4779 (breakup_char_1): Support obsolete XEmacs-UCS private code space
4782 * mule-charset.c (put_byte_from_character_table): Change unit size
4784 (mark_charset): Don't mark `cs->decoding_table' if `UTF2000' is
4786 (Fmake_reverse_direction_charset): Modify dummy argument of
4787 `make_charset' for non-UTF-2000 environment.
4789 1999-10-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
4791 * char-ucs.h (MAKE_CHAR): Allow nested decoding-table.
4793 * mule-charset.c (destroy_byte_from_character_table): New macro.
4794 (latin_jisx0201_to_ucs): Deleted.
4795 (latin_iso8859_2_to_ucs): Deleted.
4796 (latin_iso8859_3_to_ucs): Deleted.
4797 (latin_iso8859_4_to_ucs): Deleted.
4798 (latin_iso8859_9_to_ucs): Deleted.
4799 (latin_viscii_lower_to_ucs): Deleted.
4800 (latin_viscii_upper_to_ucs): Deleted.
4801 (mark_charset): Mark `cs->decoding_table'.
4802 (Fcharset_mapping_table): Fix DOC-string.
4803 (Fset_charset_mapping_table): New function.
4804 (syms_of_mule_charset): Add nwe function
4805 `set-charset-mapping-table'.
4806 (complex_vars_of_mule_charset): Don't setup and use
4809 1999-10-01 MORIOKA Tomohiko <tomo@urania.m17n.org>
4811 * char-ucs.h (MAKE_CHAR): Check the result for range-represented
4814 1999-09-30 MORIOKA Tomohiko <tomo@urania.m17n.org>
4816 * mule-charset.c (Vcharset_hiragana_jisx0208): New variable.
4817 (Vcharset_katakana_jisx0208): New variable.
4818 (Qhiragana_jisx0208): New variable.
4819 (Qkatakana_jisx0208): New variable.
4820 (make_charset): Add new argument `byte_offset'.
4821 (charset_get_byte1): Modify for new coded-charset definition; use
4822 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4823 `XCHARSET_BYTE_OFFSET'.
4824 (Fmake_charset): Modify for `make_charset'.
4825 (Fmake_reverse_direction_charset): Likewise.
4826 (syms_of_mule_charset): Add new symbols `hiragana-jisx0208' and
4827 `katakana-jisx0208'.
4828 (complex_vars_of_mule_charset): Modify for `make_charset'; quote
4829 `.' in font registry of charset `katakana-jisx0201',
4830 `latin-jisx0201', `vietnamese-viscii-lower' and
4831 `vietnamese-viscii-upper'; modify DOC-string of charset
4832 `japanese-jisx0208-1978' and `japanese-jisx0208'; modify font
4833 registry of charset `japanese-jisx0208' not to use font for JIS
4834 X0208:1990; add new charset `hiragana-jisx0208' and
4835 `katakana-jisx0208'.
4837 * char-ucs.h (LEADING_BYTE_HIRAGANA_JISX0208): New macro.
4838 (LEADING_BYTE_KATAKANA_JISX0208): New macro.
4839 (struct Lisp_Charset): Add `byte_offset'.
4840 (CHARSET_BYTE_OFFSET): New macro.
4841 (XCHARSET_UCS_MIN): New macro.
4842 (XCHARSET_UCS_MAX): New macro.
4843 (XCHARSET_CODE_OFFSET): New macro.
4844 (XCHARSET_BYTE_OFFSET): New macro.
4845 (MIN_CHAR_HIRAGANA): New macro.
4846 (MAX_CHAR_HIRAGANA): New macro.
4847 (MIN_CHAR_KATAKANA): New macro.
4848 (MAX_CHAR_KATAKANA): New macro.
4849 (MAKE_CHAR): Modify for new coded-charset definition; use
4850 `XCHARSET_UCS_MIN', `XCHARSET_UCS_MAX', `XCHARSET_CODE_OFFSET' and
4851 `XCHARSET_BYTE_OFFSET'.
4853 1999-09-27 MORIOKA Tomohiko <tomo@etl.go.jp>
4855 * mule-charset.c (CHAR96): Deleted.
4856 (latin_jisx0201_to_ucs): Type is changed from array of <Emchar> to
4858 (latin_iso8859_2_to_ucs): Likewise.
4859 (latin_iso8859_3_to_ucs): Likewise.
4860 (latin_iso8859_4_to_ucs): Likewise.
4861 (latin_iso8859_9_to_ucs): Likewise.
4862 (latin_viscii_lower_to_ucs): Likewise.
4863 (latin_viscii_upper_to_ucs): Likewise.
4864 (latin_tcvn5712_to_ucs): Commented out.
4865 (make_charset): Change type of argument `decoding_table' from
4866 <Emchar*> to <Lisp_Object> [vector of characters].
4867 (Fmake_charset): Modify for `make_charset'.
4868 (Fmake_reverse_direction_charset): Likewise.
4869 (Fcharset_mapping_table): New function in UTF-2000.
4870 (syms_of_mule_charset): Setup `Fcharset_mapping_table' in
4872 (complex_vars_of_mule_charset): Modify for type change of
4873 `*_to_ucs'; modify for `make_charset'.
4875 * char-ucs.h (struct Lisp_Charset): Change type of
4876 `decoding_table' from <Emchar*> to <Lisp_Object>.
4877 (MAKE_CHAR): Modify for new specification of `decoding_table'.
4879 1999-09-23 MORIOKA Tomohiko <tomo@etl.go.jp>
4881 * mule-charset.c (Fmake_reverse_direction_charset): Fix compile
4882 error with non-UTF-2000-Mule.
4884 1999-09-21 MORIOKA Tomohiko <tomo@etl.go.jp>
4886 * mule-charset.c (Vcharset_chinese_cns11643_3): Deleted [defined
4888 (Vcharset_chinese_cns11643_4): Likewise.
4889 (Vcharset_chinese_cns11643_5): Likewise.
4890 (Vcharset_chinese_cns11643_6): Likewise.
4891 (Vcharset_chinese_cns11643_7): Likewise.
4892 (Qchinese_cns11643_3): Likewise.
4893 (Qchinese_cns11643_4): Likewise.
4894 (Qchinese_cns11643_5): Likewise.
4895 (Qchinese_cns11643_6): Likewise.
4896 (Qchinese_cns11643_7): Likewise.
4897 (syms_of_mule_charset): Move definitions for `chinese-cns11643-3',
4898 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
4899 and `chinese-cns11643-7' to lisp/mule/chinese.el.
4900 (complex_vars_of_mule_charset): Likewise.
4902 1999-09-18 MORIOKA Tomohiko <tomo@etl.go.jp>
4904 * mule-charset.c (charset_get_byte1): Fix bug about 94- and
4906 (Fmake_reverse_direction_charset): Inherit CHARSET_DECODING_TABLE,
4907 CHARSET_UCS_MIN, CHARSET_UCS_MAX and CHARSET_CODE_OFFSET.
4909 1999-09-17 MORIOKA Tomohiko <tomo@etl.go.jp>
4911 * char-ucs.h (MIN_CHAR_HALFWIDTH_KATAKANA): Changed to 0xFF61 from
4913 (MAKE_CHAR): Change offset for katakana-jisx0201 to 33 from 0x20.
4914 (breakup_char_1): Likewise.
4916 * text-coding.c (char_encode_iso2022): Keep designated charsets if
4917 one of them includes the specified character.
4919 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4921 * mule-charset.c: Update `utf-2000-version' to 0.8 (Kami).
4923 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4925 * char-ucs.h (MAKE_CHAR): Fix problem in 2-dimension charset.
4927 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4929 * mule-charset.c (latin_iso8859_2_to_ucs NULL): Add pseudo
4930 definition for non-UTF-2000 Mule.
4931 (latin_iso8859_3_to_ucs): Likewise.
4932 (latin_iso8859_4_to_ucs): Likewise.
4933 (latin_iso8859_9_to_ucs): Likewise.
4934 (latin_jisx0201_to_ucs): Likewise.
4935 (MIN_CHAR_THAI): Likewise.
4936 (MAX_CHAR_THAI): Likewise.
4937 (MIN_CHAR_GREEK): Likewise.
4938 (MAX_CHAR_GREEK): Likewise.
4939 (MIN_CHAR_HEBREW): Likewise.
4940 (MAX_CHAR_HEBREW): Likewise.
4941 (MIN_CHAR_HALFWIDTH_KATAKANA): Likewise.
4942 (MAX_CHAR_HALFWIDTH_KATAKANA): Likewise.
4943 (MIN_CHAR_CYRILLIC): Likewise.
4944 (MAX_CHAR_CYRILLIC): Likewise.
4946 1999-09-14 MORIOKA Tomohiko <tomo@etl.go.jp>
4948 * char-ucs.h (breakup_char_1): Use
4949 `Vdefault_coded_charset_priority_list' for hebrew-iso8859-8,
4950 thai-tis620 and katakana-jisx0201 area.
4952 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4954 * char-ucs.h (breakup_char_1): Use
4955 `Vdefault_coded_charset_priority_list' for cyrillic-iso8859-5
4958 * text-coding.c (reset_encoding_stream): Fixed.
4959 (char_encode_ucs4): Delete `& 255'.
4961 * char-ucs.h (breakup_char_1): Use
4962 `Vdefault_coded_charset_priority_list' for greek-iso8859-7 area.
4964 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4966 * file-coding.c (Fmake_coding_system): Don't set up
4967 `codesys->fixed.size'.
4968 (encode_coding_no_conversion): Don't refer
4969 `str->codesys->fixed.size'.
4971 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4973 * mule-charset.c, char-ucs.h (latin_a_char_to_charset): Deleted.
4974 (latin_a_char_to_byte1): Deleted.
4975 (latin_a_char_to_byte2): Deleted.
4977 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
4979 * mule-charset.c (make_charset): Add new argument `ucs_min',
4980 `ucs_max' and `code_offset'.
4981 (charset_get_byte1): New implementation [delete specific charset
4982 depended implementations].
4983 (Fmake_charset): Modify for `make_charset'.
4984 (Fmake_reverse_direction_charset): Likewise.
4985 (complex_vars_of_mule_charset): Likewise.
4987 * char-ucs.h (struct Lisp_Charset): Add `ucs_min', `ucs_max' and
4989 (CHARSET_UCS_MIN): New macro.
4990 (CHARSET_UCS_MAX): New macro.
4991 (CHARSET_CODE_OFFSET): New macro.
4992 (MAKE_CHAR): Delete charset depended definitions [except
4995 1999-09-13 MORIOKA Tomohiko <tomo@etl.go.jp>
4997 * char-ucs.h (breakup_char_1): Use
4998 `Vdefault_coded_charset_priority_list' for C0-Controls,
4999 Basic-Latin, C1-Controls and Latin-1-Supplement area.
5001 1999-09-13 MORIOKA Tomohiko <tomo@urania.m17n.org>
5003 * char-ucs.h (charset_get_byte1): New function.
5004 (XCHARSET_GET_BYTE1): Deleted.
5005 (charset_get_byte2): New function.
5006 (XCHARSET_GET_BYTE2): Deleted.
5007 (Vdefault_coded_charset_priority_list): New external variable.
5008 (breakup_char_1): Use `charset_get_byte1', `charset_get_byte2' and
5009 `Vdefault_preferred_coded_charset_list'.
5011 * mule-charset.c (charset_get_byte1): New function.
5012 (charset_get_byte2): New function.
5013 (Vdefault_coded_charset_priority_list): New variable.
5014 (vars_of_mule_charset): Add new variable
5015 `default-coded-charset-priority-list'.
5017 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5019 * char-ucs.h (XCHARSET_GET_BYTE1): New inline function.
5020 (XCHARSET_GET_BYTE2): New inline function.
5021 (breakup_char_1): Use `XCHARSET_GET_BYTE1' and
5022 `XCHARSET_GET_BYTE2'.
5024 1999-09-12 MORIOKA Tomohiko <tomo@urania.m17n.org>
5026 * mule-charset.c (make_charset): Initialize
5027 `CHARSET_TO_BYTE1_TABLE(cs)' and `CHARSET_TO_BYTE2_TABLE(cs)' by
5028 NULL if table is not defined.
5030 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5032 * text-coding.c (char_encode_shift_jis): Use
5033 `XCHARSET_TO_BYTE1_TABLE' for `Vcharset_latin_jisx0201' instead of
5034 `ucs_to_latin_jisx0201'.
5036 * mule-charset.c (ucs_to_latin_jisx0201): Deleted.
5037 (ucs_to_latin_iso8859_2): Deleted.
5038 (ucs_to_latin_iso8859_3): Deleted.
5039 (ucs_to_latin_iso8859_4): Deleted.
5040 (ucs_to_latin_iso8859_9): Deleted.
5041 (ucs_to_latin_viscii_lower): Deleted.
5042 (ucs_to_latin_viscii_upper): Deleted.
5043 (ucs_to_latin_tcvn5712): Deleted.
5044 (make_charset): Add new argument `decoding_table'; set up
5045 `CHARSET_DECODING_TABLE(cs)' in UTF-2000; set up
5046 `CHARSET_TO_BYTE1_TABLE(cs)' for 94-set and 96-set if
5047 `decoding_table' is defined in UTF-2000.
5048 (Fmake_charset): Modify for `make_charset'.
5049 (Fmake_reverse_direction_charset): Likewise.
5050 (complex_vars_of_mule_charset): Likewise; delete `GENERATE_94_SET'
5051 and `GENERATE_96_SET'.
5053 * char-ucs.h (latin_jisx0201_to_ucs): Deleted.
5054 (ucs_to_latin_jisx0201): Deleted.
5055 (latin_iso8859_2_to_ucs): Deleted.
5056 (ucs_to_latin_iso8859_2): Deleted.
5057 (latin_iso8859_3_to_ucs): Deleted.
5058 (ucs_to_latin_iso8859_3): Deleted.
5059 (latin_iso8859_4_to_ucs): Deleted.
5060 (ucs_to_latin_iso8859_4): Deleted.
5061 (latin_iso8859_9_to_ucs): Deleted.
5062 (ucs_to_latin_iso8859_9): Deleted.
5063 (latin_viscii_lower_to_ucs): Deleted.
5064 (ucs_to_latin_viscii_lower): Deleted.
5065 (latin_viscii_upper_to_ucs): Deleted.
5066 (ucs_to_latin_viscii_upper): Deleted.
5067 (struct Lisp_Charset): Renamed `encoding_table' to
5068 `to_byte1_table'; add `to_byte2_table'.
5069 (CHARSET_DECODING_TABLE): New macro.
5070 (CHARSET_TO_BYTE1_TABLE): New macro.
5071 (CHARSET_TO_BYTE2_TABLE): New macro.
5072 (XCHARSET_DECODING_TABLE): New macro.
5073 (XCHARSET_TO_BYTE1_TABLE): New macro.
5074 (XCHARSET_TO_BYTE2_TABLE): New macro.
5075 (MAKE_CHAR): Use `XCHARSET_DECODING_TABLE'; don't use `*_to_ucs'
5077 (breakup_char_1): Use `XCHARSET_TO_BYTE1_TABLE' if it is defined;
5078 don't use `ucs_to_*' tables.
5080 1999-09-11 MORIOKA Tomohiko <tomo@urania.m17n.org>
5082 * text-coding.c (Fmake_coding_system): Don't set up
5083 `codesys->fixed.size'.
5084 (encode_coding_no_conversion): Use `if' instead of `switch'.
5086 * file-coding.h (struct Lisp_Coding_System): Delete `fixed.size'.
5088 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5090 * mule-charset.c (make_charset): Delete argument `rep_bytes'.
5091 (Fmake_charset): Modify for `make_charset'.
5092 (Fmake_reverse_direction_charset): Likewise.
5093 (complex_vars_of_mule_charset): Likewise.
5095 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5097 * text-coding.c (char_encode_shift_jis): Use table
5098 `ucs_to_latin_jisx0201' and BREAKUP_CHAR.
5100 1999-09-11 MORIOKA Tomohiko <tomo@etl.go.jp>
5102 * text-coding.c (text_encode_generic): Use `if' instead of
5104 (decode_coding_sjis): Use `MAKE_CHAR' and `DECODE_ADD_UCS_CHAR' to
5107 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5109 * text-coding.c (encode_coding_sjis): Deleted.
5110 (char_encode_shift_jis): New function.
5111 (char_finish_shift_jis): New function.
5112 (reset_encoding_stream): Set up `encode_char' and `finish' for
5113 `CODESYS_UCS4' and `CODESYS_SHIFT_JIS'.
5114 (mule_encode): Use generic encoder for `CODESYS_SHIFT_JIS'.
5115 (char_encode_utf8): Treat `eol_type'.
5117 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5119 * file-coding.c (decode_coding_iso2022): Use
5120 `DECODE_ADD_UCS_CHAR'; don't use `XCHARSET_REP_BYTES'.
5122 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5124 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5127 1999-09-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5129 * char-lb.h (CHAR_COLUMNS): New macro.
5131 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5133 * text-coding.c (char_encode_ucs4): New function.
5134 (char_finish_ucs4): New function.
5135 (encode_coding_ucs4): Deleted.
5136 (mule_encode): Use generic encoder for `CODESYS_UCS4'.
5137 (text_encode_generic): Delete local variable `charset' and `half'.
5138 (ucs_to_mule_table): Deleted.
5139 (mule_to_ucs_table): Deleted.
5140 (Fset_ucs_char): Deleted.
5141 (ucs_to_char): Deleted.
5142 (Fucs_char): Deleted.
5143 (Fset_char_ucs): Deleted.
5144 (Fchar_ucs): Deleted.
5145 (decode_ucs4): Deleted.
5146 (mule_char_to_ucs4): Deleted.
5147 (encode_ucs4): Deleted.
5148 (decode_coding_ucs4): Use `DECODE_ADD_UCS_CHAR'.
5149 (decode_coding_utf8): Likewise.
5150 (decode_coding_iso2022): Likewise; don't use `XCHARSET_REP_BYTES'.
5151 (char_encode_iso2022): Fixed.
5152 (syms_of_file_coding): Delete `Fset_ucs_char', `Fucs_char',
5153 `Fset_char_ucs' and `Fchar_ucs'.
5154 (complex_vars_of_file_coding): Don't initialize
5155 `ucs_to_mule_table'.
5157 * objects-tty.c (tty_initialize_font_instance): Don't use
5160 * mule-charset.c (make_charset): Don't set up CHARSET_REP_BYTES in
5163 * redisplay-tty.c (tty_output_display_block): Use `CHAR_COLUMNS'
5164 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5166 * insdel.c (bufbyte_string_displayed_columns): Use `CHAR_COLUMNS'
5167 instead of `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5168 (emchar_string_displayed_columns): Likewise.
5170 * indent.c (column_at_point): Use `CHAR_COLUMNS' instead of
5171 `XCHARSET_COLUMNS' and `CHAR_CHARSET'.
5172 (string_column_at_point): Likewise.
5173 (Fmove_to_column): Likewise.
5175 * char-ucs.h (struct Lisp_Charset): Delete `rep_bytes'; add
5176 `encoding_table' and `decoding_table'.
5177 (CHARSET_REP_BYTES): Deleted.
5178 (XCHARSET_REP_BYTES): Deleted.
5179 (XCHARSET_COLUMNS): Deleted.
5180 (CHAR_COLUMNS): New macro.
5181 (lookup_composite_char): Deleted unconditionally.
5182 (composite_char_string): Likewise.
5184 1999-09-09 MORIOKA Tomohiko <tomo@etl.go.jp>
5186 * char-ucs.h (Emchar_to_byte_table): New type.
5187 (get_byte_from_character_table): New function interface.
5188 (Vcharset_latin_jisx0201): New variable.
5189 (latin_jisx0201_to_ucs): New variable.
5190 (ucs_to_latin_jisx0201): New variable.
5191 (Vcharset_latin_iso8859_2): New variable.
5192 (latin_iso8859_2_to_ucs): New variable.
5193 (ucs_to_latin_iso8859_2): New variable.
5194 (Vcharset_latin_iso8859_3): New variable.
5195 (latin_iso8859_3_to_ucs): New variable.
5196 (ucs_to_latin_iso8859_3): New variable.
5197 (Vcharset_latin_iso8859_4): New variable.
5198 (latin_iso8859_4_to_ucs): New variable.
5199 (ucs_to_latin_iso8859_4): New variable.
5200 (Vcharset_latin_iso8859_9): New variable.
5201 (latin_iso8859_9_to_ucs): New variable.
5202 (ucs_to_latin_iso8859_9): New variable.
5203 (Vcharset_latin_viscii_lower): New variable.
5204 (latin_viscii_lower_to_ucs): New variable.
5205 (ucs_to_latin_viscii_lower): New variable.
5206 (Vcharset_latin_viscii_upper): New variable.
5207 (latin_viscii_upper_to_ucs): New variable.
5208 (ucs_to_latin_viscii_upper): New variable.
5209 (CHARSET_ID_OFFSET_94): Changed from 0x60 to 0x55.
5210 (LEADING_BYTE_LATIN_VISCII_LOWER): New macro.
5211 (LEADING_BYTE_LATIN_VISCII_UPPER): New macro.
5212 (MAKE_CHAR): Map `latin-iso8859-2', `latin-iso8859-3',
5213 `latin-iso8859-4', `latin-iso8859-9', `latin-jisx0201',
5214 `vietnamese-viscii-lower' and `vietnamese-viscii-upper' to BMP.
5215 (breakup_char_1): Use `ucs_to_latin_iso8859_2',
5216 `ucs_to_latin_iso8859_3', `ucs_to_latin_iso8859_4',
5217 `ucs_to_latin_iso8859_9', `ucs_to_latin_viscii_lower',
5218 `ucs_to_latin_viscii_upper' and `ucs_to_latin_jisx0201' tables.
5220 * mule-charset.c (Vcharset_latin_viscii_lower): New variable.
5221 (Vcharset_latin_viscii_upper): New variable.
5222 (make_byte_from_character_table): New function.
5223 (put_byte_from_character_table): New function.
5224 (get_byte_from_character_table): New function.
5225 (CHAR96): New macro.
5226 (ucs_to_latin_jisx0201): New variable.
5227 (latin_jisx0201_to_ucs): New variable.
5228 (ucs_to_latin_iso8859_2): New variable.
5229 (latin_iso8859_2_to_ucs): New variable.
5230 (ucs_to_latin_iso8859_3): New variable.
5231 (latin_iso8859_3_to_ucs): New variable.
5232 (ucs_to_latin_iso8859_4): New variable.
5233 (latin_iso8859_4_to_ucs): New variable.
5234 (ucs_to_latin_iso8859_9): New variable.
5235 (latin_iso8859_9_to_ucs): New variable.
5236 (ucs_to_latin_viscii_lower): New variable.
5237 (latin_viscii_lower_to_ucs): New variable.
5238 (ucs_to_latin_viscii_upper): New variable.
5239 (latin_viscii_upper_to_ucs): New variable.
5240 (ucs_to_latin_tcvn5712): New variable.
5241 (latin_tcvn5712_to_ucs): New variable.
5242 (Qlatin_viscii_lower): New variable.
5243 (Qlatin_viscii_upper): New variable.
5244 (syms_of_mule_charset): Set up new symbol
5245 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'.
5246 (complex_vars_of_mule_charset): Set up new charset
5247 `vietnamese-viscii-lower' and `vietnamese-viscii-upper'; new macro
5248 `GENERATE_94_SET' and `GENERATE_96_SET'; use them to generate
5249 `ucs_to_<CHARSET>' tables.
5251 1999-09-08 MORIOKA Tomohiko <tomo@etl.go.jp>
5253 * text-coding.c: New file.
5255 1999-09-07 MORIOKA Tomohiko <tomo@etl.go.jp>
5257 * mule-charset.c (Fmake_char): Fix problem of 256-set.
5259 * char-ucs.h (Vcharset_ucs_bmp): New variable.
5260 (MAKE_CHAR): Modify for `ucs-bmp'.
5261 (breakup_char_1): Return `ucs-bmp' and code point of BMP for
5262 non-MULE characters of BMP.
5264 1999-09-06 MORIOKA Tomohiko <tomo@etl.go.jp>
5266 * mule-charset.c (vars_of_mule_charset): Update `utf-2000-version'
5269 1999-09-05 MORIOKA Tomohiko <tomo@urania.m17n.org>
5272 - Include multibyte.h instead of character.h for `BYTE_ASCII_P'.
5273 - Include character.h for `CHAR_ASCII_P'.
5275 * mb-multibyte.h (CHAR_MULTIBYTE_P): Moved from mule-charset.h.
5277 * mule-charset.h (CHAR_MULTIBYTE_P): Moved to mb-multibyte.h.
5278 (CHAR_ASCII_P): Don't use `CHAR_MULTIBYTE_P'.
5280 * mb-multibyte.h (BYTE_ASCII_P): Moved from char-ucs.h.
5281 (BYTE_C0_P): Likewise.
5282 (BYTE_C1_P): Likewise.
5283 (Lstream_get_emchar_1): Likewise.
5284 (Lstream_fput_emchar): Likewise.
5285 (Lstream_funget_emchar): Likewise.
5286 (copy_internal_to_external): Likewise.
5287 (copy_external_to_internal): Likewise.
5289 * char-ucs.h (BYTE_ASCII_P): Moved to mb-multibyte.h.
5290 (BYTE_C0_P): Likewise.
5291 (BYTE_C1_P): Likewise.
5292 (Lstream_get_emchar_1): Likewise.
5293 (Lstream_fput_emchar): Likewise.
5294 (Lstream_funget_emchar): Likewise.
5295 (copy_internal_to_external): Likewise.
5296 (copy_external_to_internal): Likewise.
5298 * mb-1byte.h (BYTE_ASCII_P): Moved from buffer.h.
5299 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5301 * buffer.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-1byte.h.
5302 (BYTE_ASCII_P): Moved to mb-1byte.h.
5304 1999-09-04 MORIOKA Tomohiko <tomo@urania.m17n.org>
5306 * mb-utf-8.h, mb-lb.h: Include mb-multibyte.h.
5308 * multibyte.h: Include mb-1byte.h in unibyte-XEmacs.
5309 (MAX_EMCHAR_LEN): Moved to mb-1byte.h.
5310 (VALID_CHARPTR_P): Moved to mb-*byte.h.
5311 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5312 (VALIDATE_CHARPTR_FORWARD): Likewise.
5313 (simple_charptr_emchar): Moved to mb-multibyte.h.
5314 (simple_set_charptr_emchar): Likewise.
5315 (simple_charptr_copy_char): Likewise.
5316 (non_ascii_charptr_emchar): Likewise.
5317 (non_ascii_set_charptr_emchar): Likewise.
5318 (non_ascii_charptr_copy_char): Likewise.
5319 (charptr_emchar): Moved to mb-*byte.h.
5320 (set_charptr_emchar): Likewise.
5321 (charptr_copy_char): Likewise.
5323 * mb-1byte.h, mb-multibyte.h: New files.
5325 1999-09-03 MORIOKA Tomohiko <tomo@urania.m17n.org>
5327 * mb-utf-8.h (MULTIBYTE): New macro.
5328 (MAX_EMCHAR_LEN): Moved from buffer.h.
5329 (REP_BYTES_BY_FIRST_BYTE): Moved from char-ucs.h.
5331 * char-ucs.h (REP_BYTES_BY_FIRST_BYTE): Moved to mb-utf-8.h.
5333 * mb-lb.h, multibyte.h: New files.
5335 * char-1byte.h (Charset_ID): Moved from buffer.h.
5336 (MIN_LEADING_BYTE): Likewise.
5337 (LEADING_BYTE_ASCII): Likewise.
5338 (NUM_LEADING_BYTES): Likewise.
5339 (CHARSETP): Likewise.
5340 (CHARSET_BY_LEADING_BYTE): Likewise.
5341 (XCHARSET_LEADING_BYTE): Likewise.
5342 (XCHARSET_GRAPHIC): Likewise.
5343 (XCHARSET_COLUMNS): Likewise.
5344 (XCHARSET_DIMENSION): Likewise.
5345 (CHAR_CHARSET): Likewise.
5346 (CHAR_LEADING_BYTE): Likewise.
5347 (BREAKUP_CHAR): Likewise.
5348 (Vcharset_ascii): Likewise.
5350 * buffer.h: Include multibyte.h unconditionally.
5351 (VALID_CHARPTR_P): Moved to multibyte.h.
5352 (ASSERT_VALID_CHARPTR): Likewise.
5353 (REAL_INC_CHARPTR): Likewise.
5354 (REAL_INC_CHARBYTIND): Likewise.
5355 (REAL_DEC_CHARPTR): Likewise.
5356 (INC_CHARPTR): Likewise.
5357 (INC_CHARBYTIND): Likewise.
5358 (DEC_CHARPTR): Likewise.
5359 (VALIDATE_CHARPTR_BACKWARD): Likewise.
5360 (VALIDATE_CHARPTR_FORWARD): Likewise.
5361 (charptr_n_addr): Likewise.
5362 (MAX_EMCHAR_LEN): Moved to mb-*.h.
5363 (simple_charptr_emchar): Moved to multibyte.h.
5364 (simple_set_charptr_emchar): Likewise.
5365 (simple_charptr_copy_char): Likewise.
5366 (non_ascii_charptr_emchar): Likewise.
5367 (non_ascii_set_charptr_emchar): Likewise.
5368 (non_ascii_charptr_copy_char): Likewise.
5369 (charptr_emchar): Likewise.
5370 (set_charptr_emchar): Likewise.
5371 (charptr_copy_char): Likewise.
5372 (charptr_emchar_n): Likewise.
5373 (Charset_ID): Moved to char-1byte.h.
5374 (Vcharset_ascii): Likewise.
5375 (CHAR_CHARSET): Likewise.
5376 (CHAR_LEADING_BYTE): Likewise.
5377 (LEADING_BYTE_ASCII): Likewise.
5378 (NUM_LEADING_BYTES): Likewise.
5379 (MIN_LEADING_BYTE): Likewise.
5380 (CHARSETP): Likewise.
5381 (CHARSET_BY_LEADING_BYTE): Likewise.
5382 (XCHARSET_LEADING_BYTE): Likewise.
5383 (XCHARSET_GRAPHIC): Likewise.
5384 (XCHARSET_COLUMNS): Likewise.
5385 (XCHARSET_DIMENSION): Likewise.
5386 (BREAKUP_CHAR): Likewise.
5388 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5390 * character.h: Add document about interface for characters.
5392 * char-ucs.h (CHAR_ASCII_P): Modify name of argument.
5393 (MAKE_CHAR): Delete comment about
5394 `FIELD2_TO_OFFICIAL_LEADING_BYTE' and
5395 `FIELD2_TO_PRIVATE_LEADING_BYTE'.
5396 (BREAKUP_CHAR): Modify name of arguments.
5397 (CHAR_CHARSET): Modify name of argument.
5399 * buffer.h: Delete document about Emchar accessors.
5401 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5403 * character.h (CHAR_INTP): Moved from buffer.h
5404 (CHAR_OR_CHAR_INTP): Likewise.
5405 (XCHAR_OR_CHAR_INT): Likewise.
5406 (CHECK_CHAR_COERCE_INT): Likewise.
5408 * buffer.h (CHAR_INTP): Moved to character.h
5409 (CHAR_OR_CHAR_INTP): Likewise.
5410 (XCHAR_OR_CHAR_INT): Likewise.
5411 (CHECK_CHAR_COERCE_INT): Likewise.
5413 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5416 - Move definitions about UCS-2000 (UCS-4) to char-ucs.h.
5417 - Include char-1byte.h, char-lb.h or char-ucs.h.
5419 * mb-utf-8.h (CHAR_ASCII_P): Moved to char-ucs.h.
5421 * buffer.h: Include character unconditionally.
5422 (valid_char_p): Moved to char-*.h.
5423 (non_ascii_valid_char_p): Moved to char-lb.h.
5425 * char-1byte.h, char-lb.h, char-ucs.h: New files.
5427 1999-09-02 MORIOKA Tomohiko <tomo@urania.m17n.org>
5429 * mule-ccl.c (ccl_driver): Don't define `CCL_WriteMultibyteChar2'
5430 in UTF-2000 because it is not ported yet and not to use
5431 `FIELD2_TO_OFFICIAL_LEADING_BYTE', `MIN_LEADING_BYTE_OFFICIAL_2',
5432 `FIELD1_TO_OFFICIAL_LEADING_BYTE' and
5433 `FIELD1_TO_PRIVATE_LEADING_BYTE'.
5435 * mb-utf-8.h (CHAR_MULTIBYTE_P): Moved from character.h.
5436 (CHAR_ASCII_P): Moved from character.h.
5438 * character.h (CHAR_MULTIBYTE_P): Moved to mb-utf-8.h.
5439 (CHAR_ASCII_P): Likewise.
5440 (CHAR_FIELD1_MASK): Deleted.
5441 (CHAR_FIELD2_MASK): Deleted.
5442 (CHAR_FIELD3_MASK): Deleted.
5443 (MAX_CHAR_BASIC_LATIN): New macro.
5444 (CHAR_FIELD1): Deleted.
5445 (CHAR_FIELD2_INTERNAL): Deleted.
5446 (CHAR_FIELD3_INTERNAL): Deleted.
5447 (FIELD1_TO_PRIVATE_LEADING_BYTE): Deleted.
5448 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Deleted.
5449 (FIELD2_TO_PRIVATE_LEADING_BYTE): Deleted.
5450 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Deleted.
5451 (MIN_CHAR_FIELD1_OFFICIAL): Deleted.
5452 (MAX_CHAR_FIELD1_OFFICIAL): Deleted.
5453 (MIN_CHAR_FIELD2_PRIVATE): Deleted.
5454 (MAX_CHAR_FIELD2_PRIVATE): Deleted.
5455 (MIN_CHAR_FIELD1_PRIVATE): Deleted.
5456 (MAX_CHAR_FIELD1_PRIVATE): Deleted.
5457 (MULE_CHAR_PRIVATE_OFFSET): Deleted.
5458 (MIN_CHAR_PRIVATE_TYPE9N): Deleted.
5459 (MAX_CHAR_PRIVATE_TYPE9N): Deleted.
5460 (MIN_CHAR_PRIVATE_TYPE9NX9N): Deleted.
5461 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Deleted.
5462 (MIN_CHAR_COMPOSITION): Deleted.
5463 (breakup_char_1): Use `MAX_CHAR_BASIC_LATIN' instead of
5464 `CHAR_ASCII_P'; use `0x7f' instead of `CHAR_FIELD3_INTERNAL'.
5466 1999-09-02 MORIOKA Tomohiko <tomo@m17n.org>
5468 * buffer.h: Include mb-utf-8.h in UTF-2000.
5470 * character.h (BUFBYTE_FIRST_BYTE_P): Moved to mb-utf-8.h.
5472 * mb-utf-8.h: New file.
5474 1999-09-02 MORIOKA Tomohiko <tomo@etl.go.jp>
5476 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use `Charset_ID'
5479 * mule-charset.h, buffer.h (Charset_ID): New type.
5481 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5483 * mule-canna.c (c2mu): Use `MAKE_CHAR',
5484 `Vcharset_japanese_jisx0212' and `Vcharset_japanese_jisx0208'
5485 instead of `MULE_CHAR_PRIVATE_OFFSET',
5486 `LEADING_BYTE_JAPANESE_JISX0212', `LEADING_BYTE_JAPANESE_JISX0208'
5487 and `FIELD1_TO_OFFICIAL_LEADING_BYTE'.
5488 (m2c): Use `BREAKUP_CHAR' and `XCHARSET_FINAL'.
5490 * character.h (Vcharset_japanese_jisx0212): New variable
5493 1999-09-01 MORIOKA Tomohiko <tomo@etl.go.jp>
5495 * mule-charset.c (Vcharset_ucs_bmp): New variable in UTF-2000.
5496 (charset_by_attributes): Delete array about direction.
5497 (latin_a_char_to_charset): New variable in UTF-2000.
5498 (latin_a_char_to_byte1): New variable in UTF-2000.
5499 (latin_a_char_to_byte2): New variable in UTF-2000.
5500 (Qucs_bmp): New variable.
5501 (next_allocated_1_byte_leading_byte): Use `Charset_ID' instead of
5503 (next_allocated_2_byte_leading_byte): Likewise.
5504 (non_ascii_set_charptr_emchar): Likewise.
5505 (make_charset): Likewise; add `CHARSET_TYPE_128X128' and
5506 `CHARSET_TYPE_256X256' in UTF-2000; modify for
5507 `charset_by_attributes'.
5508 (get_unallocated_leading_byte): Use `Charset_ID' instead of `int'.
5509 (char-charset): Use `CHAR_CHARSET' instead of `CHAR_LEADING_BYTE'
5510 and `CHARSET_BY_LEADING_BYTE'.
5511 (syms_of_mule_charset): Set up `ucs-bmp'; move setting of
5512 `utf-2000-version' to `vars_of_mule_charset'.
5513 (vars_of_mule_charset): Modify for `charset_by_attributes'; don't
5514 define `leading-code-private-11' in UTF-2000; move setting of
5515 `utf-2000-version' from `syms_of_mule_charset'.
5516 (complex_vars_of_mule_charset): Set up charset `ucs-bmp' in
5519 * character.h (Charset_ID): New type.
5520 (LEADING_BYTE_UCS_BMP): New macro.
5521 (LEADING_BYTE_CONTROL_1): Changed from 0x8F to 0x81.
5522 (CHARSET_ID_OFFSET_94): New macro.
5523 (MIN_CHARSET_ID_PRIVATE_94): New macro.
5524 (MAX_CHARSET_ID_PRIVATE_94): New macro.
5525 (LEADING_BYTE_ASCII): Changed to use CHARSET_ID_OFFSET_94 and
5527 (LEADING_BYTE_KATAKANA_JISX0201): Likewise.
5528 (LEADING_BYTE_LATIN_JISX0201): Likewise.
5529 (CHARSET_ID_OFFSET_96): New macro.
5530 (LEADING_BYTE_LATIN_ISO8859_1): Changed to use
5531 CHARSET_ID_OFFSET_96 and final-byte.
5532 (LEADING_BYTE_LATIN_ISO8859_2): Likewise.
5533 (LEADING_BYTE_LATIN_ISO8859_3): Likewise.
5534 (LEADING_BYTE_LATIN_ISO8859_4): Likewise.
5535 (LEADING_BYTE_GREEK_ISO8859_7): Likewise.
5536 (LEADING_BYTE_ARABIC_ISO8859_6): Likewise.
5537 (LEADING_BYTE_HEBREW_ISO8859_8): Likewise.
5538 (LEADING_BYTE_CYRILLIC_ISO8859_5): Likewise.
5539 (LEADING_BYTE_LATIN_ISO8859_9): Likewise.
5540 (LEADING_BYTE_THAI_TIS620): Likewise.
5541 (MIN_LEADING_BYTE_PRIVATE_1): Changed from 0x0D0 to 0xD0.
5542 (MAX_LEADING_BYTE_PRIVATE_1): Changed from 0x11f to 0xDF.
5543 (CHARSET_ID_OFFSET_94x94): New macro.
5544 (LEADING_BYTE_CHINESE_BIG5_1): Changed to use
5545 CHARSET_ID_OFFSET_94x94 and final-byte.
5546 (LEADING_BYTE_CHINESE_BIG5_2): Likewise.
5547 (MIN_LEADING_BYTE_PRIVATE_2): Likewise.
5548 (MAX_LEADING_BYTE_PRIVATE_2): Likewise.
5549 (LEADING_BYTE_JAPANESE_JISX0208_1978): Likewise.
5550 (LEADING_BYTE_CHINESE_GB2312): Likewise.
5551 (LEADING_BYTE_JAPANESE_JISX0208): Likewise.
5552 (LEADING_BYTE_KOREAN_KSC5601): Likewise.
5553 (LEADING_BYTE_JAPANESE_JISX0212): Likewise.
5554 (LEADING_BYTE_CHINESE_CCITT_GB): Likewise.
5555 (LEADING_BYTE_CHINESE_CNS11643_*): Likewise.
5556 (LEADING_BYTE_KOREAN_KPS9566): Likewise.
5557 (CHARSET_TYPE_128X128): New macro.
5558 (CHARSET_TYPE_256X256): New macro.
5559 (XCHARSET_PRIVATE_P): Delete unconditionally.
5560 (charset_by_attributes): Delete array about direction.
5561 (CHARSET_BY_LEADING_BYTE): Use `Charset_ID' instead of `int'.
5562 (CHARSET_BY_ATTRIBUTES): Modify for `charset_by_attributes'.
5563 (MIN_CHAR_94): New macro.
5564 (MAX_CHAR_94): New macro.
5565 (MIN_CHAR_96): New macro.
5566 (MAX_CHAR_96): New macro.
5567 (MIN_CHAR_94x94): New macro.
5568 (MAX_CHAR_94x94): New macro.
5569 (MIN_CHAR_96x96): New macro.
5570 (MAX_CHAR_96x96): New macro.
5571 (FIELD1_TO_PRIVATE_LEADING_BYTE): Use `CHARSET_ID_OFFSET_94x94'.
5572 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5573 (FIELD2_TO_PRIVATE_LEADING_BYTE): Use `(MIN_LEADING_BYTE_PRIVATE_1
5575 (FIELD2_TO_OFFICIAL_LEADING_BYTE): Use `LEADING_BYTE_ASCII'.
5576 (MIN_CHAR_FIELD2_OFFICIAL): Deleted.
5577 (MAX_CHAR_FIELD2_OFFICIAL): Deleted.
5578 (MIN_CHAR_OFFICIAL_TYPE9N): Deleted.
5579 (MAX_CHAR_PRIVATE_TYPE9N): Changed.
5580 (MAKE_CHAR): Use `XCHARSET_FINAL' instead of
5581 `XCHARSET_LEADING_BYTE' to make code-point.
5582 (latin_a_char_to_charset): New variable.
5583 (latin_a_char_to_byte1): New variable.
5584 (latin_a_char_to_byte2): New variable.
5585 (breakup_char_1): Use `latin_a_char_to_{charset|byte1|byte2}' for
5586 Latin Extended-A; use `CHARSET_BY_ATTRIBUTES' instead of
5587 `CHARSET_BY_LEADING_BYTE' to get charset for ISO-2022 characters.
5589 * insdel.c (find_charsets_in_bufbyte_string): Use `Charset_ID'
5590 instead of `unsigned char'; use `MIN_LEADING_BYTE' instead of 128.
5591 (find_charsets_in_emchar_string): Likewise.
5592 (vars_of_insdel): Don't define local variable `i' in UTF-2000.
5594 * file-coding.c (Fdecode_big5_char): Use `Charset_ID' instead of
5596 (decode_coding_iso2022): Likewise.
5598 * toolbar-x.c (x_output_toolbar_button): Use `Charset_ID' instead
5601 * redisplay.c (redisplay_text_width_emchar_string): Use
5602 `Charset_ID' instead of `unsigned char'.
5603 (redisplay_frame_text_width_string): Likewise.
5605 * glyphs.c (glyph_height_internal): Use `Charset_ID' instead of
5608 * faces.h, faces.c (ensure_face_cachel_complete): Use `Charset_ID'
5609 instead of `unsigned char'.
5610 (face_cachel_charset_font_metric_info): Likewise.
5612 * chartab.c (print_char_table): Use `Charset_ID' instead of `int'.
5613 (get_non_ascii_char_table_value): Likewise.
5614 (get_char_table): Likewise.
5615 (put_char_table): Likewise.
5616 (map_over_other_charset): Likewise.
5617 (map_char_table): Likewise.
5619 * buffer.h (find_charsets_in_bufbyte_string): Use `Charset_ID'
5620 instead of `unsigned char'.
5622 1999-08-31 MORIOKA Tomohiko <tomo@etl.go.jp>
5624 * character.h (PRE_LEADING_BYTE_PRIVATE_1): Deleted.
5625 (PRE_LEADING_BYTE_PRIVATE_2): Deleted.
5627 * mule-charset.c (leading_code_private_11): Don't define in
5630 * mule-ccl.c (ccl_driver): Don't define `CCL_ReadMultibyteChar2'
5631 in UTF-2000 because it is not ported yet and not to use
5632 `PRE_LEADING_BYTE_PRIVATE_1' and `PRE_LEADING_BYTE_PRIVATE_2'.
5634 1999-08-30 MORIOKA Tomohiko <tomo@etl.go.jp>
5636 * character.h (LEADING_BYTE_COMPOSITE): Deleted.
5638 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5640 * regex.c (re_compile_fastmap): Don't use `LEADING_BYTE_PREFIX_P'
5643 * chartab.h (CHAR_TABLE_NON_ASCII_VALUE_UNSAFE): Use int instead
5644 of unsigned char to store leading-byte.
5646 * chartab.c (get_non_ascii_char_table_value): Don't use
5647 `BREAKUP_CHAR_1_UNSAFE' in UTF-2000.
5649 * file-coding.c (encode_coding_big5): Delete bogus implementation
5652 * character.h (LEADING_BYTE_*): Delete definition for
5654 (LEADING_BYTE_PRIVATE_P): Deleted unconditionally.
5655 (LEADING_BYTE_PREFIX_P): Deleted.
5656 (PRIVATE_LEADING_BYTE_PREFIX): Deleted.
5657 (BUFBYTE_FIRST_BYTE_P): Delete definition for non-UTF-2000.
5658 (BUFBYTE_LEADING_BYTE_P): Deleted.
5659 (CHARSET_PRIVATE_P): Deleted unconditionally.
5660 (rep_bytes_by_first_byte): Deleted unconditionally.
5661 (REP_BYTES_BY_FIRST_BYTE): Delete definition for non-UTF-2000.
5662 (FIELD1_TO_PRIVATE_LEADING_BYTE): Likewise.
5663 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Likewise.
5664 (FIELD2_TO_PRIVATE_LEADING_BYTE): Likewise.
5665 (CHAR_FIELD2): Deleted.
5666 (CHAR_FIELD3): Deleted.
5667 (MAKE_CHAR): Delete definition for non-UTF-2000.
5668 (BREAKUP_CHAR_1_UNSAFE): Deleted.
5669 (breakup_char_1): New implementation.
5670 (CHAR_CHARSET): Use `BREAKUP_CHAR'.
5671 (CHAR_LEADING_BYTE): Use `CHAR_CHARSET'.
5673 1999-08-29 MORIOKA Tomohiko <tomo@etl.go.jp>
5675 * character.h (REP_BYTES_BY_FIRST_BYTE): Change order of
5678 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5680 * character.h (LEADING_BYTE_PRIVATE_P): Don't define in UTF2000.
5681 (CHARSET_PRIVATE_P): Likewise.
5682 (XCHARSET_PRIVATE_P): Likewise.
5683 (MAKE_CHAR): Don't use XCHARSET_PRIVATE_P in UTF2000.
5685 * file-coding.c (encode_coding_ucs4): Delete bogus implement in
5687 (decode_coding_iso2022): Don't use XCHARSET_PRIVATE_P in UTF2000.
5689 1999-08-28 MORIOKA Tomohiko <tomo@etl.go.jp>
5691 * character.h (LEADING_BYTE_*): Changed in UTF2000.
5692 (NUM_LEADING_BYTES): Changed from 128 to 256.
5693 (FIELD1_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5694 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Change value to 0x80 in
5696 (FIELD2_TO_PRIVATE_LEADING_BYTE): Change value to 0x80 in UTF2000.
5698 * mule-charset.c (Vcharset_chinese_cns11643_3): New variable in
5700 (Vcharset_chinese_cns11643_4): New variable in UTF2000.
5701 (Vcharset_chinese_cns11643_5): New variable in UTF2000.
5702 (Vcharset_chinese_cns11643_6): New variable in UTF2000.
5703 (Vcharset_chinese_cns11643_7): New variable in UTF2000.
5704 (Qchinese_cns11643_3): New variable in UTF2000.
5705 (Qchinese_cns11643_4): New variable in UTF2000.
5706 (Qchinese_cns11643_5): New variable in UTF2000.
5707 (Qchinese_cns11643_6): New variable in UTF2000.
5708 (Qchinese_cns11643_7): New variable in UTF2000.
5709 (syms_of_mule_charset): Define `chinese-cns11643-3',
5710 `chinese-cns11643-4', `chinese-cns11643-5', `chinese-cns11643-6'
5711 and `chinese-cns11643-7' in UTF2000.
5712 (vars_of_mule_charset): Initialize
5713 next_allocated_2_byte_leading_byte by LEADING_BYTE_CHINESE_BIG5_2
5715 (complex_vars_of_mule_charset): Setup charset
5716 `chinese-cns11643-3', `chinese-cns11643-4', `chinese-cns11643-5',
5717 `chinese-cns11643-6' and `chinese-cns11643-7' in UTF2000.
5719 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5721 * mule-charset.c: Move setting for `leading-code-private-11' from
5722 `syms_of_mule_charset' to `vars_of_mule_charset'.
5724 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5726 * mule-charset.h (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE'
5727 and `NUM_LEADING_BYTES' in assert.
5729 1999-08-27 MORIOKA Tomohiko <tomo@etl.go.jp>
5731 * character.h (charset_by_leading_byte): Use `NUM_LEADING_BYTES'
5733 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' and
5734 `NUM_LEADING_BYTES' instead of 128.
5736 1999-08-26 MORIOKA Tomohiko <tomo@etl.go.jp>
5738 * mule-charset.h (charset_by_leading_byte): Use
5739 `NUM_LEADING_BYTES' instead of 128.
5740 (CHARSET_BY_LEADING_BYTE): Use `MIN_LEADING_BYTE' instead of 128.
5742 * mule-charset.c (charset_by_leading_byte): Use
5743 `NUM_LEADING_BYTES' instead of 128.
5744 (make_charset): Use `MIN_LEADING_BYTE' instead of 128.
5746 * faces.h (FACE_CACHEL_FONT): Use `MIN_LEADING_BYTE' instead of
5749 1999-08-25 MORIOKA Tomohiko <tomo@etl.go.jp>
5751 * mule-charset.c (syms_of_mule_charset): Update to
5754 1999-07-13 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
5756 * file-coding.c (encode_coding_sjis): New implementation for
5757 UTF2000. (decode_coding_sjis): Ditto.
5759 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5761 * mule-charset.c, character.h (Bytecount rep_bytes_by_first_byte):
5762 Don't define in UTF2000.
5764 * character.h: Include mule-charset.h if CHAR_IS_UCS4 is not
5767 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5768 mule-ccl.c, lstream.h, buffer.h: Include character.h in every
5771 1999-06-17 MORIOKA Tomohiko <tomo@etl.go.jp>
5773 * config.h.in (CHAR_IS_UCS4): New macro.
5775 * mule-charset.c (rep_bytes_by_first_byte): Modify for
5776 conventional MULE representation.
5777 (syms_of_mule_charset): Update to 0.3 (Imamiya).
5779 * mule-charset.h: Reverted to original.
5781 * redisplay-msw.c, objects-tty.c, objects-msw.c, mule-wnnfns.c,
5782 mule-ccl.c, lstream.h, buffer.h: Use "character.h" instead of
5783 "mule-charset.h" if CHAR_IS_UCS4 is defined.
5785 * character.h: New file.
5787 * file-coding.c (Fmake_coding_system): Set 1 to
5788 `codesys->fixed.size' if TYPE is `no-conversion' and UTF2000 is
5790 (encode_coding_no_conversion): New implementation for UTF2000.
5792 * file-coding.h (struct Lisp_Coding_System): Add new member
5795 1999-06-16 MORIOKA Tomohiko <tomo@etl.go.jp>
5797 * file-coding.c (decode_coding_iso2022): Code-point arguments of
5798 `MAKE_CHAR' must be smaller than 0x80 in UTF2000.
5799 (encode_coding_iso2022): New implementation for UTF2000.
5801 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5803 * mule-canna.c (c2mu): New implementation for UTF2000.
5806 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5808 * file-coding.c (encode_coding_no_conversion): Modify for UTF2000.
5810 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5812 * file-coding.c (reset_encoding_stream): Set 0 to
5813 `str->iso2022.current_char_boundary' in UTF2000.
5814 (encode_utf8): Don't define in UTF2000.
5815 (encode_coding_utf8): New implementation for UTF-8 representation
5817 (complex_vars_of_file_coding): Define coding-system `utf-8'.
5819 1999-06-15 MORIOKA Tomohiko <tomo@etl.go.jp>
5821 * mule.c (vars_of_mule): Provide `utf-2000' in UTF2000.
5823 * mule-charset.h (BUFBYTE_FIRST_BYTE_P): Modify for UTF-8 in
5825 (REP_BYTES_BY_FIRST_BYTE): Likewise.
5827 * buffer.h (non_ascii_valid_char_p): Don't define in UTF2000.
5829 * mule-charset.c (non_ascii_set_charptr_emchar): Don't define
5830 local variables `lb', `c1', `c2' and `charset' in UTF2000; encode
5831 as UTF-8 in UTF2000.
5832 (non_ascii_charptr_emchar): Decode as UTF-8 in UTF2000.
5833 (non_ascii_valid_char_p): Don't define in UTF2000.
5834 (non_ascii_charptr_copy_char): Add case 5 and 6 in UTF2000.
5835 (Lstream_get_emchar_1): Likewise.
5836 (utf-2000-version): New variable in UTF2000.
5838 * lread.c (read_escape): Add new reader `u'.
5840 * insdel.c (three_to_one_table): Don't define in UTF2000.
5841 (bufpos_to_bytind_func): Use `buf->text->mule_size' instead of
5842 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5844 (bytind_to_bufpos_func): Likewise.
5845 (buffer_mule_signal_inserted_region): Likewise.
5846 (vars_of_insdel): Don't initialize `three_to_one_table'.
5847 (init_buffer_text): Use `buf->text->mule_size' instead of
5848 `buf->text->mule_shifter' and `buf->text->mule_three_p' in
5851 * file-coding.c (DECODE_ADD_BINARY_CHAR): New implementation for
5852 UTF-8 representation in UTF2000.
5853 (DECODE_ADD_UCS_CHAR): New macro in UTF2000.
5854 (decode_ucs4): Use `DECODE_ADD_UCS_CHAR' in UTF2000.
5855 (decode_coding_iso2022): Don't define local variable `lb' in
5856 UTF2000; don't use LEADING_BYTE in UTF2000; use
5857 `DECODE_ADD_UCS_CHAR' in UTF2000.
5858 (convert_to_external_format): Decode as UTF-8 in UTF2000.
5860 * config.h.in (UTF2000): New macro.
5862 * buffer.h (struct buffer_text): Add new member `mule_size' and
5863 don't add `mule_shifter' and `mule_three_p' in UTF2000.
5864 (valid_char_p): Return always 1 in UTF2000.
5865 (MAX_EMCHAR_LEN): 6 in UTF2000.
5866 (three_to_one_table): Don't define in UTF2000.
5867 (real_bufpos_to_bytind): Modify for UTF-8 representation in
5869 (real_bytind_to_bufpos): Likewise.
5871 * alloc.c (Fmake_string): Add case 5 and 6 for UTF2000.
5873 1999-06-10 MORIOKA Tomohiko <tomo@etl.go.jp>
5875 * mule-charset.c (rep_bytes_by_first_byte): Modified for character
5876 representation change.
5877 (Vutf_2000_version): New variable.
5878 (leading_code_private_11): New variable.
5879 (syms_of_mule_charset): Add new variables `utf-2000-version' and
5880 `leading-code-private-11'.
5882 * mule-charset.h (LEADING_BYTE_CHINESE_CCITT_GB): New macro.
5883 (LEADING_BYTE_CHINESE_BIG5_1): Changed to 0x96 temporally.
5884 (LEADING_BYTE_CHINESE_CNS11643_1): Changed to 0x97.
5885 (LEADING_BYTE_CHINESE_CNS11643_2): Changed to 0x98.
5886 (LEADING_BYTE_CHINESE_CNS11643_3): New macro.
5887 (LEADING_BYTE_CHINESE_CNS11643_4): Likewise.
5888 (LEADING_BYTE_CHINESE_CNS11643_5): Likewise.
5889 (LEADING_BYTE_CHINESE_CNS11643_6): Likewise.
5890 (LEADING_BYTE_CHINESE_CNS11643_7): Likewise [but not used].
5891 (LEADING_BYTE_CHINESE_BIG5_2): Changed to 0x9D temporally.
5892 (LEADING_BYTE_KOREAN_KPS9566): New macro [but not used].
5893 (CHAR_FIELD1_MASK): Changed to (0x7F << 14).
5894 (MIN_CHAR_GREEK): New macro.
5895 (MAX_CHAR_GREEK): New macro.
5896 (MIN_CHAR_CYRILLIC): New macro.
5897 (MAX_CHAR_CYRILLIC): New macro.
5898 (MIN_CHAR_HEBREW): New macro.
5899 (MAX_CHAR_HEBREW): New macro.
5900 (MIN_CHAR_THAI): New macro.
5901 (MAX_CHAR_THAI): New macro.
5902 (MIN_CHAR_HALFWIDTH_KATAKANA): New macro.
5903 (MAX_CHAR_HALFWIDTH_KATAKANA): New macro.
5904 (CHAR_FIELD2_INTERNAL): New macro [renamed from `CHAR_FIELD2'.
5905 (CHAR_FIELD3_INTERNAL): New macro [renamed from `CHAR_FIELD3'.
5906 (FIELD1_TO_PRIVATE_LEADING_BYTE): Changed to 0xc0.
5907 (FIELD1_TO_OFFICIAL_LEADING_BYTE): Changed to 0x50.
5908 (CHAR_FIELD2): New inline function.
5909 (CHAR_FIELD3): New inline function.
5910 (MULE_CHAR_PRIVATE_OFFSET): New macro.
5911 (MIN_CHAR_OFFICIAL_TYPE9N): Shifted to `MULE_CHAR_PRIVATE_OFFSET'.
5912 (MIN_CHAR_PRIVATE_TYPE9N): Likewise.
5913 (MIN_CHAR_PRIVATE_TYPE9NX9N): Likewise.
5914 (MIN_CHAR_OFFICIAL_TYPE9NX9N): Likewise.
5915 (MIN_CHAR_COMPOSITION): Likewise.
5916 (CHAR_LEADING_BYTE): Modified for character representation change.
5917 (MAKE_CHAR): Likewise.
5919 * lisp.h (Vcharset_latin_iso8859_1): New variable.
5920 (Vcharset_greek_iso8859_7): Likewise.
5921 (Vcharset_cyrillic_iso8859_5): Likewise.
5922 (Vcharset_hebrew_iso8859_8): Likewise.
5923 (Vcharset_thai_tis620): Likewise.
5924 (Vcharset_katakana_jisx0201): Likewise.
5926 2007-10-07 Vin Shelton <acs@xemacs.org>
5928 * XEmacs 21.4.21 is released
5930 2007-08-14 Marcus Crestani <crestani@xemacs.org>
5932 * s/sol2.h: Fix for GCC lossage not needed with SunOS 5.10.
5934 2007-02-17 Stephen J. Turnbull <stephen@xemacs.org>
5936 * glyphs-eimage.c (png_instantiate_unwind): Avoid recursion.
5937 (png_instantiate): Initialize setjmp_buffer early, and avoid
5938 recursive entry to error handler.
5940 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org>
5942 * linuxplay.c (linux_play_data_or_file): More 64-bit tweaking, and
5945 2007-05-12 Aidan Kehoe <kehoea@parhasard.net>
5947 * event-Xt.c (x_reset_modifier_mapping):
5948 * event-gtk.c (gtk_reset_modifier_mapping):
5949 Zero out the device's modifier map once we've freed it, to prevent
5950 a double free on a re-entrant call.
5952 2007-05-17 Vin Shelton <acs@xemacs.org>
5954 * linuxplay.c (linux_play_data_or_file): Fix playing sound on
5955 64-bit linux. Patch from Hans de Graaff.
5957 2007-05-02 Vin Shelton <acs@xemacs.org>
5959 * dumper.c (pdump): Don't close pdump_fd (already closed by
5960 fclose() call. Patch from Steve Higham.
5961 * callproc.c (Fold_call_process_internal): Don't close fd1 if it's
5962 already closed. Patch inspired by Steve Higham.
5964 2007-05-01 Vin Shelton <acs@xemacs.org>
5966 * nt.c (mswindows_stat): Tie _S_IEXEC permission to read access.
5967 (mswindows_fstat): Ditto.
5968 * sysfile.h: Under Windows, define X_OK to be the same as R_OK.
5970 2007-02-08 Adrian Aichner <adrian@xemacs.org>
5972 * postgresql.c: Update Steve Baur's email address by his request.
5973 * postgresql.h: Ditto.
5975 2007-01-04 Vin Shelton <acs@xemacs.org>
5977 * fileio.c (check_writable): Check old-style readonly bit only for
5980 2006-12-25 Benson I. Margulies <benson@dchbk.us>
5982 * src/fileio.c (check_writable):
5983 Cope with the fact that the read-only attribute trumps Windows NTFS
5987 2006-12-09 Vin Shelton <acs@xemacs.org>
5989 * XEmacs 21.4.20 is released
5991 2006-12-08 Nelson Ferreira <njsf@sxemacs.org>
5993 * src/fns.c (XMALLOC_OR_ALLOCA,free_malloced_ptr,XMALLOC_UNBIND):
5994 relocated the definitions to be used sooner in file.
5995 (concat,plists_differ,mapcar1,Fmapconcat,Fmapcar): Use
5996 XMALLOC_OR_ALLOCA macro instead of alloca to prevent stack
5999 2006-11-29 Aidan Kehoe <kehoea@parhasard.net>
6001 * sound.c (init_native_sound):
6002 Only X11 and GTK devices can possibly not be on the console of the
6003 associated machine. Fixes a crash when init_native_sound is called
6004 on a msprinter device.
6006 2006-11-14 Stephen J. Turnbull <stephen@xemacs.org>
6008 * buffer.c (buffer-file-name): Document invariant.
6009 (buffer-file-truename): Sync wording to buffer-file-name.
6010 Thanks to Nelson Ferreira <nelson.ferreira@ieee.org> for report
6013 2006-11-19 Benson Margulies <benson@dchbk.us>
6015 * fileio.c: Add code to use full Win32 API to check for write
6016 access. Win32 has the general design policy that you aren't
6017 supposed to ask this question, since security checks change
6018 depending on asynchronous processes. Nonetheless, there is a way,
6019 by acting as if we are a server doing interpretive access
6022 2006-07-31 Aidan Kehoe <kehoea@parhasard.net>
6024 * bytecode.c: Use xnew_array instead of alloca.
6026 2006-07-04 Vin Shelton <acs@xemacs.org>
6028 * redisplay-msw.c: Fix tiny, but crucial typo.
6030 2006-06-22 Jerry James <james@xemacs.org>
6032 * EmacsShell-sub.c (ChangeManaged):
6033 * device-x.c (x_IO_error_handler): Do not dereference d if it is
6035 * dgif_lib.c (DGifCloseFile): Do not dereference GifFile before
6036 checking if it is NULL. Also fix a memory leak.
6037 * dialog-x.c (dbox_selection_callback): Ensure f is non-NULL, then
6038 dereference it, not the other way around.
6039 * dumper.c (pdump_register_object): Fix off-by-one array bounds
6041 * dumper.c (pdump_register_struct): Ditto.
6042 * editfns.c (Ftemp_directory): Don't let a copy from (long) path
6043 to (short) warnpath overflow warnpath.
6044 * extents.c (detach_all_extents): Call extent_list_delete_all with
6045 a non-NULL parameter only.
6046 * glyphs-widget.c (widget_query_geometry): Guard against possibly
6047 NULL width and height.
6048 * input-method-xlib.c (XIM_SetGeometry): Do not dereference f or
6049 xic before checking if they are NULL.
6050 * keymap.c (where_is_recursive_mapper): Don't throw away the newly
6052 * md5.c (Fmd5): Check whether Lstream_read encountered an error.
6053 * nas.c (Err): Fix a memory leak.
6054 * redisplay-gtk.c (gtk_output_display_block): Fix a Dynarr leak.
6055 Don't create the buffer if there is nothing to do.
6056 * redisplay-msw.c (mswindows_output_display_block): Ditto.
6057 * redisplay-output.c (redisplay_output_layout): Ditto.
6058 * redisplay-tty.c (tty_output_display_block): Ditto.
6059 * redisplay-x.c (x_output_display_block): Ditto.
6060 * scrollbar-gtk.c (gtk_free_scrollbar_instance): Do not
6061 dereference instance->scrollbar_data if it is NULL.
6062 * scrollbar-x.c (x_free_scrollbar_instance): Ditto.
6063 * scrollbar-msw.c (mswindows_free_scrollbar_instance): Ditto, but
6064 for sb->scrollbar_data.
6065 * sound.c (init_native_sound): Avoid a buffer overflow by
6066 allocating a buffer with the appropriate size.
6068 2006-05-08 Stephen J. Turnbull <stephen@xemacs.org>
6070 * EmacsShell-sub.c (RootGeometryManager):
6071 Change garbage to useful messages under DEBUG_GEOMETRY_MANAGEMENT.
6072 Based on a suggestion by Francois L'Archeveque.
6074 2006-03-21 Malcolm Purvis <malcolmp@xemacs.org>
6076 * regex.c: Bump INIT_FAILURE_ALLOC and re_max_failures to the
6077 current values found in GNU Emacs.
6079 2006-03-17 Vin Shelton <acs@xemacs.org>
6081 * dialog-msw.c (handle_directory_dialog_box): Don't declare
6082 Q_title here. LOCAL_FILE_FORMAT_TO_TSTR requires an lvalue.
6084 * glyphs-msw.c (read_bitmap_data): change 'initialized' to
6085 'hex_initialized' because it conflicts with 'initialized' in
6088 2006-01-28 Vin Shelton <acs@xemacs.org>
6090 * XEmacs 21.4.19 is released
6092 2006-01-20 Rick Rankin <rrankin1424-xemacs@yahoo.com>
6094 * sysdir.h: Workaround missing d_ino field from 'struct dirent'.
6096 2005-12-24 Aidan Kehoe <kehoea@parhasard.net>
6098 * objects-gtk.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from
6101 2005-12-05 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6103 * database.c: Suppress compiler warning under Cygwin.
6104 * database.c: Removed __FreeBSD__ check, should be handled by
6105 HAVE_U_xxx_T defines.
6107 2005-12-18 Malcolm Purvis <malcolmp@xemacs.org>
6109 * console.c (stuff_buffered_input): Compile body only if
6112 2005-05-10 Aidan Kehoe <kehoea@parhasard.net>
6114 * callproc.c: #include sysdir.h, so that any appropriate Mule
6115 magic happens with the chdir() call when calling a subprocess.
6117 2005-12-06 Aidan Kehoe <kehoea@parhasard.net>
6119 * mule-ccl.c (POSSIBLE_LEADING_BYTE_P): Add.
6120 * mule-ccl.c: Check that a character set exists before using it
6121 to create a character.
6123 2005-12-06 Vin Shelton <acs@xemacs.org>
6125 * objects-x.c (MAX_FONT_COUNT): Increase MAX_FONT_COUNT from 5000
6128 2005-12-03 Vin Shelton <acs@xemacs.org>
6130 * XEmacs 21.4.18 is released
6132 2005-11-27 Kean Johnston <kean@armory.com>
6134 * redisplay-tty.c (set_tty_modes):
6135 (reset_tty_modes): disable auto-margins if the terminal supports
6137 (init_tty_for_redisplay): fix cursor shape.
6139 2005-04-05 Aidan Kehoe <kehoea@parhasard.net>
6141 * mule-ccl.c (ccl_driver): Calculate the charset and position code
6142 for control-1 characters properly, both when reading multibyte
6143 characters and writing them.
6145 2005-03-12 Aidan Kehoe <kehoea@parhasard.net>
6147 * config.h.in: Make HAVE_XTREGISTERDRAWABLE available.
6148 * select-x.c (x_reply_selection_request): Use it; fix the bug we
6149 were seeing with incremental selection transfer failing.
6151 2005-11-26 Vin Shelton <acs@xemacs.org>
6153 * callproc.c (Fold_call_process_internal): Create the buffer if it
6154 does not already exist. The original patch came from Ben Wing in
6155 http://list-archive.xemacs.org/xemacs-patches/200205/msg00117.html
6157 2002-05-13 Adrian Aichner <adrian@xemacs.org>
6159 * callproc.c: Process-related docstring improvements spurred by
6162 2005-11-25 Vin Shelton <acs@xemacs.org>
6164 * depend: Regenerated.
6166 2005-07-11 Malcolm Purvis <malcolmp@xemacs.org>
6168 * glyphs-gtk.c: Rename a local static variable because gcc 4.0
6169 says it clashes with a global with the same name.
6171 2005-07-11 Atanu Ghosh <atanu@icsi.berkeley.edu>
6173 * sysdll.c (dll_open): Under MacOS X return NULL under the
6174 filename is NULL. Fixes problems finding local symbols under 10.4
6177 2005-11-15 Dr. Volker Zell <Dr.Volker.Zell@oracle.com>
6179 * config.h.in: New HAVE_U_INT*_T defines.
6181 * database.c: Only use u_int*_t typedefs if not already
6184 2005-04-07 15:08 Enrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>
6186 * src/process-unix.c (unix_open_network_stream): moved
6187 'portbuf' buffer out of an inner block as it is used in the
6188 entire function. With gcc4, the stack may get corrupted
6189 after leaving this block. This patches adjusts the size of
6190 the used buffer also; static '128' bytes are far too much
6191 currently and might not suffice for future architectures
6192 (e.g. for 512 bit ones ;)). Instead of, use only the really
6193 required space (max octets * ln(256)/ln(10) chars + space
6194 for '\0' and the sign)
6196 2005-04-08 Aidan Kehoe <kehoea@parhasard.net>
6198 * callproc.c: Include sysdir.h, so any necessary Mule processing
6199 is done on the current directory name before starting a new
6202 2005-04-06 Stephen J. Turnbull <stephen@xemacs.org>
6204 * chartab.c (Fchar_table_p):
6205 (Fget_range_char_table):
6208 Describe range representation and fix typo.
6210 2005-02-12 Vin Shelton <acs@xemacs.org>
6212 * emacs.c (shut_down_emacs): Advise users to send email to the
6213 xemacs-beta list instead of crashes@xemacs.org.
6215 2005-02-03 David Evers <extsw@appliedgenerics.com>
6217 * process-unix.c (unix_send_process): Flush the last chunk, even
6218 when the pipe is blocked.
6220 2005-02-06 Vin Shelton <acs@xemacs.org>
6222 * XEmacs 21.4.17 is released
6224 2005-01-31 Ben Wing <ben@xemacs.org>
6227 Define assert_failed() always.
6229 Always define ABORT().
6231 2005-01-25 Ben Wing <ben@xemacs.org>
6234 * Makefile.in.in (%.o):
6235 Don't compile executable as Windows (-mwindows) under Cygwin.
6236 Semi-recent changes to Cygwin's executable-startup handling make
6237 it impossible to access the TTY this way.
6239 Don't use special linker file under Cygwin (cygwin.sc) except
6240 when non-PDUMP (even in this case it is highly questionable); you
6243 1 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening input console handle after exec, errno 13, Win32 error 5
6244 5820 [main] temacs 1364 fhandler_console::fixup_after_exec: error opening output console handle after exec, errno 13, Win32 error 5
6246 2005-01-29 Ben Wing <ben@xemacs.org>
6248 Port this: 2003-08-14 Stephen J. Turnbull <stephen@xemacs.org>
6250 * mule-charset.c (get_unallocated_leading_byte): Compiler quietus.
6252 2005-01-29 Ben Wing <ben@xemacs.org>
6254 * bytecode.c (optimize_compiled_function):
6256 * print.c (long_to_string):
6257 Add casts to avoid warning.
6260 Some really nasty hacks to allow TIFF and JPEG to both be compiled.
6261 #### The better solution is to move the TIFF and JPEG code to
6264 * glyphs-msw.c (mswindows_xbm_instantiate):
6265 Define __STDC__ to avoid problems with compface.h.
6267 * EmacsFrame.c (EmacsFrameRecomputeCellSize):
6269 * EmacsShell-sub.c (ABORT):
6270 * EmacsShell-sub.c (SuperClassRootGeometryManager):
6271 * EmacsShell-sub.c (RootGeometryManager):
6273 * EmacsShell.c (ABORT):
6274 * EmacsShell.c (EmacsShellUpdateSizeHints):
6275 * alloc.c (free_lcrecord):
6276 * alloca.c (i00afunc):
6277 * buffer.c (delete_from_buffer_alist):
6278 * buffer.c (MARKED_SLOT):
6279 * bytecode.c (execute_rare_opcode):
6280 * bytecode.c (optimize_byte_code):
6281 * bytecode.c (Ffetch_bytecode):
6282 * chartab.c (char_table_type_to_symbol):
6283 * chartab.c (Freset_char_table):
6284 * chartab.c (decode_char_table_range):
6285 * chartab.c (Fget_range_char_table):
6286 * chartab.c (check_valid_char_table_value):
6287 * chartab.c (map_char_table):
6288 * chartab.c (slow_map_char_table_fun):
6289 * chartab.c (chartab_instantiate):
6290 * cm.c (cmcheckmagic):
6291 * console-msw.c (DHEADER):
6292 * console.c (MARKED_SLOT):
6293 * data.c (finish_marking_weak_lists):
6294 * data.c (encode_weak_list_type):
6295 * debug.h (DASSERT):
6296 * device-gtk.c (gtk_init_device):
6297 * device-msw.c (mswindows_get_default_margin):
6298 * device-tty.c (tty_init_device):
6299 * device-x.c (get_device_from_display):
6300 * device-x.c (x_get_visual_depth):
6301 * doprnt.c (parse_doprnt_spec):
6302 * doprnt.c (get_doprnt_args):
6303 * dumper.c (pdump_get_indirect_count):
6304 * dumper.c (pdump_register_sub):
6305 * dumper.c (pdump_register_object):
6306 * dumper.c (pdump_register_struct):
6307 * dumper.c (pdump_dump_data):
6308 * dumper.c (pdump_reloc_one):
6309 * elhash.c (print_hash_table):
6310 * elhash.c (make_standard_lisp_hash_table):
6311 * elhash.c (hash_table_instantiate):
6313 * emacs.c (Fforce_debugging_signal):
6314 * emacs.c (sort_args):
6316 * emacs.c (assert_failed):
6317 * eval.c (throw_or_bomb_out):
6318 * eval.c (signal_1):
6321 * event-Xt.c (emacs_Xt_mapping_action):
6322 * event-Xt.c (Xt_process_to_emacs_event):
6324 * event-stream.c (check_event_stream_ok):
6325 * event-stream.c (Fadd_timeout):
6326 * event-stream.c (Fadd_async_timeout):
6327 * event-stream.c (Fdiscard_input):
6328 * event-stream.c (execute_internal_event):
6329 * event-stream.c (Frecent_keys):
6330 * event-stream.c (extract_this_command_keys_nth_mouse_event):
6331 * event-stream.c (lookup_command_event):
6332 * event-unixoid.c (poll_fds_for_input):
6334 * events.c (mark_event):
6335 * events.c (event_equal):
6336 * events.c (event_hash):
6337 * events.c (Fmake_event):
6338 * events.c (Fdeallocate_event):
6339 * events.c (event_chain_find_previous):
6340 * events.c (event_to_character):
6341 * events.c (format_event_object):
6342 * events.c (Fevent_type):
6343 * events.c (event_pixel_translation):
6344 * events.c (Fevent_properties):
6345 * extents.c (extent_in_region_p):
6346 * extents.c (print_extent):
6347 * extents.c (process_extents_for_insertion_mapper):
6348 * extents.c (report_extent_modification_mapper):
6349 * extents.c (glyph_layout_to_symbol):
6350 * faces.c (face_validate):
6351 * file-coding.c (eol_type_to_symbol):
6352 * file-coding.c (subsidiary_coding_system):
6353 * file-coding.c (Fcoding_system_type):
6354 * file-coding.c (Fcoding_system_property):
6355 * file-coding.c (mule_decode):
6356 * file-coding.c (mule_encode):
6357 * file-coding.c (encode_coding_ucs4):
6358 * file-coding.c (encode_coding_utf8):
6359 * file-coding.c (parse_iso2022_esc):
6360 * file-coding.c (encode_coding_iso2022):
6365 * fns.c (Fbase64_encode_region):
6366 * fns.c (Fbase64_encode_string):
6367 * fns.c (Fbase64_decode_region):
6368 * fns.c (Fbase64_decode_string):
6369 * font-lock.c (find_context):
6370 * font-lock.c (context_to_symbol):
6371 * frame-gtk.c (gtk_set_frame_pointer):
6372 * frame-gtk.c (gtk_update_frame_external_traits):
6373 * frame-x.c (x_wm_mark_shell_size_user_specified):
6374 * frame-x.c (x_wm_mark_shell_position_user_specified):
6375 * frame-x.c (x_wm_set_shell_iconic_p):
6376 * frame-x.c (x_wm_set_cell_size):
6377 * frame-x.c (x_wm_set_variable_size):
6378 * frame-x.c (x_wm_store_class_hints):
6379 * frame-x.c (x_wm_maybe_store_wm_command):
6380 * frame-x.c (x_initialize_frame_size):
6381 * frame-x.c (x_update_frame_external_traits):
6383 * frame.c (delete_frame_internal):
6384 * frame.c (mouse_pixel_position_1):
6385 * frame.c (change_frame_size_1):
6386 * free-hook.c (check_free):
6387 * free-hook.c (check_realloc):
6388 * free-hook.c (note_block_input):
6389 * free-hook.c (log_gcpro):
6390 * gccache-gtk.c (gc_cache_lookup):
6391 * glyphs-eimage.c (tiff_memory_write):
6392 * glyphs-gtk.c (gtk_finalize_image_instance):
6393 * glyphs-gtk.c (init_image_instance_from_gdk_pixmap):
6394 * glyphs-gtk.c (init_image_instance_from_xbm_inline):
6395 * glyphs-gtk.c (gtk_xpm_instantiate):
6396 * glyphs-gtk.c (gtk_unmap_subwindow):
6397 * glyphs-gtk.c (gtk_map_subwindow):
6398 * glyphs-gtk.c (gtk_button_redisplay):
6400 * glyphs-msw.c (init_image_instance_from_xbm_inline):
6401 * glyphs-x.c (init_image_instance_from_xbm_inline):
6402 * glyphs-x.c (extract_xpm_color_names):
6403 * glyphs-x.c (x_xpm_instantiate):
6404 * glyphs.c (get_image_instantiator_governing_domain):
6405 * glyphs.c (print_image_instance):
6406 * glyphs.c (image_instance_equal):
6407 * glyphs.c (image_instance_hash):
6408 * glyphs.c (encode_image_instance_type):
6409 * glyphs.c (make_image_instance_1):
6410 * glyphs.c (inherit_instantiate):
6411 * glyphs.c (image_instantiate):
6412 * glyphs.c (allocate_glyph):
6413 * glyphs.c (Fglyph_type):
6414 * glyphs.c (redisplay_subwindow):
6415 * glyphs.c (display_table_entry):
6416 * gtk-glue.c (xemacs_list_to_gtklist):
6417 * gtk-glue.c (xemacs_gtklist_to_list):
6418 * gtk-glue.c (xemacs_list_to_array):
6419 * gutter.c (SET_GUTTER_WAS_VISIBLE_FLAG):
6420 * gutter.c (gutter_was_visible):
6421 * gutter.c (get_gutter_coords):
6422 * input-method-xlib.c (get_XIM_input):
6423 * insdel.c (bufpos_to_bytind_func):
6424 * insdel.c (bytind_to_bufpos_func):
6425 * insdel.c (move_gap):
6426 * intl.c (x_get_composed_input):
6427 * keymap.c (keymap_lookup_directly):
6428 * keymap.c (keymap_delete_inverse_internal):
6429 * keymap.c (ensure_meta_prefix_char_keymapp):
6430 * keymap.c (accessible_keymaps_mapper_1):
6431 * keymap.c (where_is_recursive_mapper):
6434 * lread.c (read_atom):
6435 * lstream.c (Lstream_delete):
6436 * lstream.c (make_lisp_buffer_stream_1):
6437 * macros.c (pop_kbd_macro_event):
6438 * malloc.c (malloc):
6440 * marker.c (bi_marker_position):
6441 * marker.c (set_bi_marker_position):
6442 * menubar-gtk.c (menu_descriptor_to_widget_1):
6443 * menubar-msw.c (prune_menubar):
6444 * menubar-x.c (set_frame_menubar):
6445 * mule-charset.c (get_unallocated_leading_byte):
6446 * mule-charset.h (CHAR_LEADING_BYTE):
6447 * native-gtk-toolbar.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6448 * nt.c (init_environment):
6449 * nt.c (generate_inode_val):
6450 * ntproc.c (delete_child):
6451 * ntproc.c (_sys_read_ahead):
6452 * ntproc.c (create_child):
6453 * objects.c (color_instantiate):
6454 * objects.c (font_instantiate):
6455 * objects.c (face_boolean_instantiate):
6456 * print.c (printing_major_badness):
6457 * process-nt.c (nt_send_process):
6458 * process-unix.c (unix_send_process):
6459 * process.c (get_process):
6460 * ralloc.c (obtain):
6461 * ralloc.c (relinquish):
6462 * ralloc.c (relocate_blocs):
6463 * ralloc.c (resize_bloc):
6464 * ralloc.c (r_alloc_free):
6465 * ralloc.c (r_re_alloc):
6466 * ralloc.c (r_alloc_thaw):
6467 * ralloc.c (init_ralloc):
6468 * ralloc.c (Free_Addr_Block):
6469 * ralloc.c (r_alloc):
6470 * redisplay-gtk.c (gtk_output_display_block):
6471 * redisplay-msw.c (mswindows_output_display_block):
6472 * redisplay-output.c (get_next_display_block):
6473 * redisplay-output.c (get_cursor_size_and_location):
6474 * redisplay-output.c (redisplay_output_layout):
6475 * redisplay-output.c (redisplay_clear_region):
6476 * redisplay-tty.c (tty_output_display_block):
6477 * redisplay-x.c (x_output_display_block):
6478 * redisplay.c (add_propagation_runes):
6479 * redisplay.c (add_glyph_rune):
6480 * redisplay.c (create_text_block):
6481 * redisplay.c (add_margin_runes):
6482 * redisplay.c (create_left_glyph_block):
6483 * redisplay.c (create_right_glyph_block):
6484 * redisplay.c (create_string_text_block):
6485 * redisplay.c (regenerate_window):
6486 * redisplay.c (REGEN_INC_FIND_START_END):
6487 * redisplay.c (redisplay_frame):
6488 * redisplay.c (point_in_line_start_cache):
6491 * regex.c (re_compile_fastmap):
6492 * regex.c (re_match_2_internal):
6493 * regex.c (regerror):
6494 * scrollbar-gtk.c (gtk_scrollbar_loop):
6495 * scrollbar-gtk.c (scrollbar_cb):
6496 * scrollbar-gtk.c (gtk_update_frame_scrollbars):
6497 * scrollbar-msw.c (mswindows_handle_scrollbar_event):
6498 * scrollbar-x.c (x_update_scrollbar_instance_status):
6499 * scrollbar-x.c (x_scrollbar_loop):
6500 * scrollbar-x.c (x_update_frame_scrollbars):
6501 * search.c (search_command):
6502 * search.c (Fmatch_data):
6503 * select-x.c (motif_clipboard_cb):
6504 * signal.c (interrupt_signal):
6505 * specifier.c (specifier_add_spec):
6506 * specifier.c (specifier_instance_from_inst_list):
6507 * specifier.c (specifier_instance):
6509 * specifier.h (struct specifier_methods):
6510 * strftime.c (add_num_time_t):
6511 * sunplay.c (init_device):
6512 * symbols.c (Fsetplist):
6513 * symbols.c (do_symval_forwarding):
6514 * symbols.c (store_symval_forwarding):
6516 * symbols.c (Fbuilt_in_variable_type):
6517 * symbols.c (decode_magic_handler_type):
6518 * symbols.c (handler_type_from_function_symbol):
6519 * syntax.c (update_syntax_cache):
6520 * sysdep.c (init_baud_rate):
6521 * toolbar-gtk.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6522 * toolbar-msw.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6523 * toolbar-x.c (SET_TOOLBAR_WAS_VISIBLE_FLAG):
6524 * toolbar.c (get_toolbar_coords):
6525 * ui-gtk.c (build_gtk_boxed):
6526 * ui-gtk.c (describe_gtk_arg):
6527 * ui-gtk.c (gtk_type_to_lisp):
6528 * ui-gtk.c (lisp_to_gtk_type):
6529 * ui-gtk.c (lisp_to_gtk_ret_type):
6530 * ui-gtk.c (lisp_to_flag):
6531 * unexnt.c (read_in_bss):
6532 * unexnt.c (map_in_heap):
6533 * window.c (real_window):
6534 * window.c (window_display_lines):
6535 * window.c (window_display_buffer):
6536 * window.c (set_window_display_buffer):
6537 * window.c (window_modeline_height):
6538 * window.c (unshow_buffer):
6539 * window.c (window_loop):
6540 * window.c (Fget_lru_window):
6541 * window.c (Fsplit_window):
6542 * window.c (Fset_window_configuration):
6543 * window.c (saved_window_index):
6544 * xgccache.c (gc_cache_lookup):
6545 abort() -> ABORT(). Eliminate preprocessor games with abort()
6546 since it creates huge problems in VC7, solvable only by including
6547 massive amounts of files in every compile (and not worth it).
6551 Inclusion of process.h does not need to be before lisp.h any more.
6552 Move later and remove comment about abort().
6554 2005-01-26 Arnaud Giersch <arnaud.giersch@free.fr>
6556 * regex.c (re_match_2_internal):
6557 Correctly initialize loop which clears uninitialized registers.
6559 2005-01-28 Vin Shelton <acs@xemacs.org>
6561 * sheap.c (more_static_core): Applied Ben's version of the long
6564 2005-01-24 Vin Shelton <acs@xemacs.org>
6566 * sheap.c (more_static_core): Reformatted printf string so
6567 gcc-3.3.3 will compile this on Cygwin.
6569 2004-02-22 Stephen J. Turnbull <stephen@xemacs.org>
6571 * console.c (function_key_map): Reference `key-binding'.
6573 * keymap.c (Vkey_translation_map): Improve docstring.
6575 2004-03-30 Zajcev Evgeny <zevlg@yandex.ru>
6577 * window.c: Declare `allow_deletion_of_last_visible_frame' extern.
6578 * window.c (window_loop): [fix] Take into account
6579 `allow-deletion-of-last-visible-frame' variable.
6580 * window.c (replace-buffer-in-windows): Ditto.
6582 2004-12-15 Stephen J. Turnbull <stephen@xemacs.org>
6584 * EmacsManager.c (EmacsManagerChangeSize): Respect XtGeometryNo.
6586 2005-01-20 Malcolm Purvis <malcolmp@xemacs.org>
6588 * event-gtk.c: Recognise AltGr as a valid modifier.
6590 2005-01-12 Ville Skyttä <scop@xemacs.org>
6592 * console-x.h: #include X11/keysym.h before xintrinsic.h.
6594 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6596 Fix backreference bug caught by test suite.
6598 * regex.c (regex_compile):
6599 Make backref duplicate internal register.
6601 2005-01-13 Stephen J. Turnbull <stephen@xemacs.org>
6603 Documentation, code clarification, and warning suppression.
6605 * regex.c (regex_compile):
6607 (re_match_2_internal):
6608 Improve comments and avoid redundant braces. [Most of the big hunk
6609 at l. 4710 is indentation; use diff -w to see the real changes.]
6610 (alt_match_null_string_p):
6611 (common_op_match_null_string_p):
6612 Avoid shadowing global on Mac OS X 10.4, at least.
6614 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6616 * regex.c (regcomp): Fix "unsigned comparison" warning (maybe
6617 introduced with shy groups fix). [Already applied, probably
6618 with the second "fix shy groups" patch of 2004-10-07.]
6620 2005-01-10 Steve Youngs <steve@sxemacs.org>
6622 From Andrey Slusar <anrays@gmail.com>:
6624 * unexelf.c: define `Elfw(type)' for FreeBSD alpha and amd64.
6626 2004-11-21 Malcolm Purvis <malcolmp@xemacs.org>
6628 * Makefile (RECURSIVE_MAKE): Removed.
6629 * Makefile (RECURSIVE_MAKE_ARGS): New. The new method for
6630 handling parallel builds.
6632 2004-09-08 Malcolm Purvis <malcolmp@xemacs.org>
6634 * Makefile.in.in: Enable support for parallel builds.
6636 2005-01-09 Steve Youngs <steve@sxemacs.org>
6638 From Andrey Slusar <anrays@gmail.com>:
6640 * s/freebsd.h (LIBS_SYSTEM): Only set to "-lutil -lxpg4" if
6641 FreeBSD version is >= 199701 _and_ < 600006.
6643 2005-01-06 Zajcev Evgeny <zevlg@yandex.ru>
6645 * scrollbar.c (compute_scrollbar_instance_usage):
6646 Only call device method compute_scrollbar_instance_usage() if it
6649 2004-12-05 Vin Shelton <acs@xemacs.org>
6651 * XEmacs 21.4.16 is released
6653 2004-12-04 Vin Shelton <acs@xemacs.org>
6655 * depend: Regenerated.
6657 2004-10-07 Stephen J. Turnbull <stephen@xemacs.org>
6659 * regex.c (re_match_2_internal): Map internal to external
6660 registers. Fixes bug identified by Steve Youngs 2004-09-30
6661 <microsoft-free.87ekkjhj7t.fsf@youngs.au.com>.
6663 2004-09-02 Yoshiki Hayashi <yoshiki@xemacs.org>
6665 * buffer.c (Frecord_buffer): Make sure the argument is buffer
6666 to fix a crash. Also, check the buffer is live and it
6667 really exists in buffer_list. If the buffer is not in the list,
6670 2004-09-08 Stephen J. Turnbull <stephen@xemacs.org>
6672 Fix shy groups by implementing recording of all groups for
6673 repetition and backtracking. Backport from 21.5.
6675 * regex.h (struct re_pattern_buffer): Add members re_ngroups,
6676 external_to_internal_register, external_to_internal_register_size,
6677 and update comments for re_nsub.
6679 * regex.c (re_opcode_t): Update comments.
6680 (print_compiled_pattern): Ouput external_to_internal_register,
6681 external_to_internal_register_size, and re_ngroups for debugging.
6682 (INIT_REG_TRANSLATE_SIZE): New manifest constant.
6683 (regex_compile): Update header comment.
6684 Ensure that all groups are recorded so that repeat matches and
6685 backtracking work correctly. Comment related warning for groups >
6687 (re_search_2): Construct map of API indexes (which count only
6688 nonshy groups) to internal register numbers, and keep it updated.
6690 2004-07-27 Malcolm Purvis <malcolmp@xemacs.org>
6692 * frame-gtk.c (gtk_make_frame_visible):
6693 * frame-gtk.c (gtk_make_frame_invisible): Use map/unmap instead of
6694 show/hide. This is what X uses and is prevents previously hidden
6695 widgets from suddenly reappearing.
6696 * gtk-xemacs.c (gtk_xemacs_paint):
6697 * gtk-xemacs.c (gtk_xemacs_draw):
6698 * gtk-xemacs.c (gtk_xemacs_expose): Only operate if the widget is
6700 * scrollbar-gtk.c (gtk_update_scrollbar_instance_status): Force
6701 size and location changes so that they can be seen before the next
6702 idle event. Without this rapid changes to scrollbar properties
6705 2004-07-02 Malcolm Purvis <malcolmp@xemacs.org>
6708 * console-gtk.h (struct gtk_frame):
6709 * console-gtk.h (FRAME_GTK_WIDGET_INSTANCE_HASH_TABLE):
6710 Add hash tables track tab_control callback data.
6711 Added #defines for GTK object data names.
6712 Declaration of gtk_widget_to_frame().
6713 * event-gtk.c (enqueue_gtk_dispatch_event) No longer static:
6714 * frame-gtk.c (gtk_widget_to_frame): New.
6715 * frame-gtk.c (gtk_create_widgets):
6716 * frame-gtk.c (allocate_gtk_frame_struct):
6717 * frame-gtk.c (gtk_mark_frame):
6718 Manage frame callbakc hash tables.
6719 * glyphs-gtk.c (gtk_map_subwindow): Fix size and moving bugs.
6720 * glyphs-gtk.c (gtk_redisplay_widget): Use correct size for widgets.
6721 * glyphs-gtk.c (gtk_widget_instantiate_1): Force reconsideration
6723 * glyphs-gtk.c (gtk_widget_query_geometry): New
6724 * glyphs-gtk.c (gtk_register_gui_item): New
6725 * glyphs-gtk.c (gtk_add_tab_item): New
6726 * glyphs-gtk.c (gtk_tab_control_callback): New
6727 * glyphs-gtk.c (gtk_tab_control_instantiate): New
6728 * glyphs-gtk.c (gtk_tab_control_redisplay): Set notebook page.
6729 Use correct list when loading item.
6730 * glyphs-gtk.c (image_instantiator_format_create_glyphs_gtk):
6731 Register new methods.
6732 * gtk-xemacs.c (gtk_xemacs_size_allocate): Use XEmacs size, not
6733 default size, for widgets.
6734 * gui-x.c: Improved comment.
6735 * menubar-gtk.c (__generic_button_callback): Use
6736 gtk_widget_to_frame instead of __get_channel.
6738 * ui-gtk.c: Use symbolic names for GTK object data.
6740 2004-06-23 Ilya N. Golubev <gin@mo.msk.ru>
6742 * s/usg5-4.h (NSIG): Define only inside emacs binary.
6744 2002-03-04 Stephen J. Turnbull <stephen@xemacs.org>
6746 * fileio.c (Fwrite_region_internal): Document use of start == Qnil.
6748 2004-06-16 Malcolm Purvis <malcolmp@xemacs.org>
6750 * malloc.c (morecore): siz is a long because in some architectures
6751 (eg ia-64) an int cannot hold the address range. Additional patch
6752 from the SuSe distribution.
6754 2004-06-13 Malcolm Purvis <malcolmp@xemacs.org>
6757 * malloc.c: lim_data is a long because in some architectures
6758 (eg ia-64) an int cannot hold the address range.
6759 * mem-limits.h: lim-data is a long. Linux uses getrlimit()
6760 instead of ulimit() because ulimit() always returns -1.
6762 2004-06-09 Stephen J. Turnbull <stephen@xemacs.org>
6764 * search.c: Reenable an ansync semaphore. Remove bogus comments.
6766 2004-06-11 David Kastrup <dak@gnu.org>
6768 * search.c (match_limit): Don't flag an error if match-data
6769 exceeding the allocated search_regs.num_regs gets requested, just
6772 2003-07-21 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6774 * glyphs-gtk.c (gtk_xpm_instantiate): Rewrite the XPM data to
6775 replace symbolic color entries with the real colors specified in
6776 xpm-color-symbols, before passing the XPM to gtk.
6777 * glyphs-gtk.h: Use the generic pixmap_image_instance.mask for masks,
6778 instead of a GTK specific field, so that it is used in by generic
6781 2004-05-05 Chuck Hines <chuck.hines@baesystems.com>
6783 * dgif_lib.c (DGifSlurp): Changed do-while to while to stop
6784 coredump from deref of NULL ptr (ExtData)
6786 2004-04-19 Jerry James <james@xemacs.org>
6788 * data.c (sign_extend_lisp_int): Use INT_VALBITS instead of
6789 VALBITS to compute the location of the sign bit.
6790 * event-stream.c (Fcurrent_event_timestamp): Replace incorrect use
6791 of VALBITS with EMACS_INT_MAX.
6792 * events.c (Fevent_timestamp): Ditto.
6793 * events.c (TIMESTAMP_HALFSPACE): Change VALBITS to INT_VALBITS to
6794 compute the halfway point to timestamp wraparound.
6795 * floatfns.c (float_to_int): Compare against EMACS_INT_MAX and
6796 EMACS_INT_MIN instead of using VALBITS.
6797 * floatfns.c (Flogb): Use EMACS_INT_MIN instead of building an
6798 incorrect number with VALBITS.
6799 * fns.c (Frandom): Correct number of integer bits in docstring.
6800 Use INT_VALBITS instead of VALBITS to compute the denominator.
6801 * sysdep.c (get_random): Use INT_VALBITS instead of VALBITS to
6802 build random numbers.
6804 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6806 * event-gtk.c (gtk_event_to_emacs_event):
6808 * menubar-gtk.c (gtk_xemacs_menubar_class_init):
6809 * menubar-gtk.c (gtk_xemacs_menubar_size_request):
6810 * menubar-gtk.c (gtk_xemacs_accel_label_get_type):
6811 * menubar-gtk.c (gtk_xemacs_set_accel_keys):
6812 * menubar-gtk.c (__activate_menu):
6813 * menubar-gtk.c (convert_underscores):
6814 * menubar-gtk.c (remove_underscores):
6815 * menubar-gtk.c (menu_convert):
6816 * menubar-gtk.c (menu_descriptor_to_widget_1):
6817 * menubar-gtk.c (menu_descriptor_to_widget):
6818 * menubar-gtk.c (menu_can_reuse_widget):
6819 * menubar-gtk.c (menu_create_menubar):
6820 * menubar-gtk.c (gtk_popup_menu):
6821 * menubar-gtk.c (Fgtk_build_xemacs_menu):
6822 Added support for Gtk menu bar and menu item mnemonics.
6824 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6826 * sysdll.c: (dll_function): Added support for finding symbols in
6827 Darwin shared libraries as well in Darwin bundles.
6828 * sysdll.c (image_for_address): New
6829 * sysdll.c (my_find_image): New
6830 * sysdll.c (search_linked_libs): New
6832 2004-03-23 Malcolm Purvis <malcolmpurvis@optushome.com.au>
6834 * ui-gtk.c (__internal_callback_marshal): Marshalling data to
6835 return to GTK requires a different API to marshalling data to use
6837 * ui-gtk.c (lisp_to_gtk_ret_type): New.
6839 2004-03-08 Lutz Euler <lutz.euler@freenet.de>
6841 * lstream.c (Lstream_pseudo_close): Fix test for LSTREAM_FL_IS_OPEN.
6843 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6845 * glyphs.c (process_image_string_instantiator):
6846 (Fset_console_type_image_conversion_list):
6847 Stop GCC from warning about shadowing of `exp'.
6849 * redisplay-x.c (x_output_string): Fix unsigned lossage.
6851 2004-02-19 Stephen J. Turnbull <stephen@xemacs.org>
6853 * regex.c (re_match_2_internal): Shut up GCC about syn1, syn2.
6855 2004-02-03 Vin Shelton <acs@xemacs.org>
6857 * glyphs.c (image_instance_layout): Remove pointless assertion.
6858 * regex.c (regex_grow_registers): Return type is void.
6860 2004-02-02 Vin Shelton <acs@xemacs.org>
6862 * XEmacs 21.4.15 is released
6864 2004-01-30 Glynn Clements <glynn.clements@virgin.net>
6866 * device-x.c (x_error_handler): Don't call stderr_out
6868 2003-11-07 Katsumi Yamaoka <yamaoka@jpl.org>
6870 * buffer.c (other-buffer): Clarify documentation of order of
6871 arguments for FSF Emacs.
6873 2003-10-11 Olivier Galibert <galibert@pobox.com>
6875 * window.c (Fdelete_window): Dirty the mirror structure _before_
6876 marking the window deleted.
6878 2003-09-15 Jerry James <james@xemacs.org>
6880 * event-msw.c (debug_mswin_messages): Conditionally compile
6881 messages missing from the Cygwin headers.
6883 2003-06-16 Stephen J. Turnbull <stephen@xemacs.org>
6885 * data.c (eq_with_ebola_notice): Fix typo in comment.
6886 (Ftrue_list_p): Improve docstring.
6888 2003-10-13 Stephen J. Turnbull <stephen@xemacs.org>
6890 * frame-x.c (x_update_frame_external_traits): Fix XtSetArg idiom.
6892 2003-09-27 Stephen J. Turnbull <stephen@xemacs.org>
6894 * search.c (trivial_regexp_p): Regexps containing "\{" are
6895 nontrivial. Thanks to Manfred Bartz for reporting the bug and
6896 Stefan Monnier for suggesting a diagnosis.
6898 2003-09-25 Stephen J. Turnbull <stephen@xemacs.org>
6900 * elhash.c (make-hash-table): Clarify use of :test #'equal.
6902 2003-09-12 Stephen J. Turnbull <stephen@xemacs.org>
6904 * search.c (Fsearch_forward):
6906 Document negative count.
6908 2003-09-13 Stephen J. Turnbull <stephen@xemacs.org>
6910 * regex.c (re_max_failures): Bump to 20000 for REGEX_MALLOC, too.
6912 2003-09-13 Martin Buchholz <martin@xemacs.org>
6914 * s/sol2.h: Use OS_RELEASE=os_release_major*100+os_release_minor
6916 2003-09-15 Vin Shelton <acs@xemacs.org>
6918 * .gdbinit (pobj): Remove Ilya's fix that was only intended for
6921 2003-09-12 Yoshiki Hayashi <yoshiki@xemacs.org>
6923 * regex.c (TRANSLATE_EXTENDED_UNSAFE): Remove.
6924 (re_search_2): Match the first byte of Bufbyte, not Emchar.
6925 (re_match_2_internal): Use TRANSLATE instead of
6926 TRANSLATE_EXTENDED_UNSAFE. The latter was a hack to bypass
6927 non-ASCII char case conversion.
6929 2003-09-08 Mike Sperber <mike@xemacs.org>
6931 * symbols.c (Fvariable_binding_locus): Add, as per suggestion from
6932 RMS at: http://article.gmane.org/gmane.emacs.pretest.bugs/1010
6934 2003-06-14 Ilya N. Golubev <gin@mo.msk.ru>
6936 * .gdbinit (pobj): fix printing of symbol name.
6938 2003-08-01 Ilya N. Golubev <gin@mo.msk.ru>
6940 * frame-x.c (x_layout_widgets): When resizing is about to cause
6941 frame size slip, mark it for redisplay.
6943 2003-08-18 Jerry James <james@xemacs.org>
6945 * opaque.h: Remove unused (X)OPAQUE_MARKFUN definitions.
6947 2003-09-03 Vin Shelton <acs@xemacs.org>
6949 * XEmacs 21.4.14 is released
6951 2003-08-15 Stephen J. Turnbull <stephen@xemacs.org>
6953 * config.h.in (REGEX_MALLOC): Make it configure'able.
6955 2003-08-14 Andrew Begel <abegel@CS.Berkeley.EDU>
6957 * config.h.in: Add HAVE_DYLD to indicate Darwin/MacOSX dynamic
6959 * sysdll.c (dll_init):
6960 * sysdll.c (dll_open):
6961 * sysdll.c (dll_close):
6962 * sysdll.c (dll_function):
6963 * sysdll.c (dll_variable):
6964 * sysdll.c (dll_error):
6965 Add support for loading bundles using Darwin/MacOSX
6968 2003-08-12 Stephen J. Turnbull <stephen@xemacs.org>
6970 * process.c (start-process-internal): Document coding systems.
6972 2003-07-30 Jerry James <james@xemacs.org>
6974 * sysdll.c: configure sets HAVE_DLD_INIT, not HAVE_INIT_DLD.
6976 2003-07-31 René Kyllingstad <listmailxemacs@kyllingstad.com>
6978 * event-msw.c (mswindows_enqueue_mouse_button_event):
6979 * event-msw.c (mswindows_wnd_proc):
6980 enqueue button event when scrollwheel event isn't handled by
6981 mswindows_handle_mousewheel_event, such as when the scrollbars
6984 2003-07-29 Stephen J. Turnbull <stephen@xemacs.org>
6986 * EmacsFrame.c (emacsFrameClassRec): Motif groks not XtCompress*.
6988 2003-03-24 Stephen J. Turnbull <stephen@xemacs.org>
6990 * database.c (Fopen_database): Don't use DB_AUTO_COMMIT.
6992 2003-03-21 Stephen J. Turnbull <stephen@xemacs.org>
6994 * regex.c (re_match_2_internal): Fix matching degenerate word
6997 2003-05-25 XEmacs Build Bot <builds@cvs.xemacs.org>
6999 * XEmacs 21.4.13 is released
7001 2003-03-20 Stephen J. Turnbull <stephen@xemacs.org>
7003 * config.h.in (INTPTR_T_IN_CYGWIN_TYPES_H):
7004 * lisp.h (<inttypes.h>):
7005 Cygwin defines these types in <cygwin/types.h>. Don't duplicate
7008 2003-03-15 Martin Buchholz <martin@xemacs.org>
7010 * dumper.c (pdump_load): Pdump'ed XEmacs can't find its .dmp file.
7011 Scenario: Prepend ~/bin to PATH; then `mkdir ~/bin/xemacs'
7012 Result: "temacs can only be run in -batch mode."
7013 Fix: Check xemacs executable candidate for directory-ness.
7015 2003-03-03 Robert Pluim <rpluim@bigfoot.com>
7017 * database.c: Don't use the u_int8_t etc typedefs on FreeBSD,
7018 they conflict with <sys/types.h>.
7020 2003-02-14 Martin Buchholz <martin@xemacs.org>
7022 * database.c: Berkeley DB wants __STDC__ to be defined.
7024 2003-02-13 Martin Buchholz <martin@xemacs.org>
7026 * EmacsFrame.c: Use symbolic name `NotUseful' in lieu of `0'.
7028 2003-02-01 Martin Buchholz <martin@xemacs.org>
7030 * process-unix.c (unix_send_process): Fix C++ compile error.
7032 2003-02-25 Andrew Begel <abegel@cs.berkeley.edu>
7034 * Added .dylib as an acceptable shared library file extension
7035 * to support MacOSX.
7037 2003-02-01 Martin Buchholz <martin@xemacs.org>
7039 * EmacsFrameP.h (EmacsFramePart):
7040 Kludge to allow compiling with Motif1, but linking with Motif2.
7042 2003-01-28 Martin Buchholz <martin@xemacs.org>
7044 * config.h.in (_ALL_SOURCE): Guard against multiple definition.
7047 2003-02-23 Stephen J. Turnbull <stephen@xemacs.org>
7049 * config.h.in (DLSYM_NEEDS_UNDERSCORE): Define on darwin.
7051 2003-02-06 Andrew Begel <abegel@CS.Berkeley.EDU>
7053 * sysdll.c: Included lisp.h to define needed alloca_array.
7055 2003-02-13 Martin Buchholz <martin@xemacs.org>
7057 Make XEmacs redisplay 10 times faster.
7058 If, that is, you're using a slow X connection and MoveOpaque.
7059 Use compress_exposure = XtExposeCompressMaximal | XtExposeNoRegion.
7060 Use compress_motion = TRUE.
7061 * EmacsFrame.c (emacsFrameClassRec):
7062 * EmacsShell-sub.c (EMACS_SHELL_CLASS_REC):
7063 * EmacsManager.c (emacsManagerClassRec):
7064 * xintrinsicp.h: Make sure XtExposeNoRegion is defined.
7066 2003-01-30 Vin Shelton <acs@xemacs.org>
7068 * s/linux.h (ORDINARY_LINK): define ORDINARY_LINK for linux.
7070 2003-01-17 Stephen J. Turnbull <stephen@xemacs.org>
7072 * glyphs-eimage.c (tiff_memory_seek): Lobotomize unsigned typedef.
7073 Patch by Martin Buchholz.
7075 2003-01-16 Stephen J. Turnbull <stephen@xemacs.org>
7077 * glyphs-eimage.c (tiff_instantiate): Fix unsigned comparison.
7078 Thanks to icc for warning and Martin Buchholz for reporting.
7080 2003-01-29 Vin Shelton <acs@xemacs.org>
7082 Patch courtesy of Andrew Begel <abegel@cs.berkeley.edu>
7084 * dynarr.c (Dynarr_realloc): memcpy copies number of bytes, so
7085 remember to multiply by the element size.
7087 2003-01-15 Stephen J. Turnbull <stephen@xemacs.org>
7089 * XEmacs 21.4.12 "Portable Code" is released.
7091 2003-01-14 Sergey Okhapkin <sos@prospect.com.ru>
7093 * Makefile.in.in (ldflags): re-order sections for gcc 3.2.
7094 * s/cygwin.sc: new linker file.
7096 2003-01-14 Stephen J. Turnbull <stephen@xemacs.org>
7098 Build fixes courtesy Martin Buchholz <martin@xemacs.org>:
7100 * redisplay-x.c (x_output_string): Use X11-specified types.
7101 * syntax.c, syntax.h (SYNTAX_CODE): Use enum syntaxcode, not int.
7102 * emacs.c (__free_hook): Use typeof with Intel compiler.
7103 * config.h.in (alloca.h): Quick safe hack to please Intel compiler.
7105 2003-01-08 Andy Piper <andy@xemacs.org>
7107 * unexcw.c (copy_executable_and_dump_data_section): Set the stack
7108 reserve size during unexec().
7110 2003-01-07 Daiki Ueno <daiki@xemacs.org>
7112 * process-unix.c (unix_create_process): Don't let outchannel block.
7114 2003-01-05 Rick Rankin <rick_rankin@yahoo.com>
7116 * emacs.c: Include "syswindows.h" when compiling under Cygwin.
7117 Needed for IsBadReadPtr().
7119 2003-01-03 Stephen J. Turnbull <stephen@xemacs.org>
7121 * XEmacs 21.4.11 "Native Windows TTY Support" is released.
7123 2002-12-14 Ben Wing <ben@xemacs.org>
7125 * callint.c: Declaration error.
7127 * dumper.c (pdump_load): Warning fix.
7128 * process.c: GCPRO error.
7129 * glyphs.c (unmap_subwindow):
7130 * glyphs.c (map_subwindow): Parenthesizing errors with ! and &&.
7131 * event-stream.c (maybe_kbd_translate): Wrong argument to
7132 character_to_event().
7134 * alloc.c (garbage_collect_1):
7136 * emacs.c (debug_can_access_memory):
7137 * emacs.c (fatal_error_signal):
7138 * emacs.c (mswindows_handle_hardware_exceptions):
7141 * emacs.c (assert_failed):
7142 * emacs.c (syms_of_emacs):
7145 * print.c (std_handle_out_va):
7146 * print.c (write_string_to_stdio_stream):
7147 * print.c (write_fmt_string):
7148 * print.c (printing_badness):
7149 * print.c (printing_major_badness):
7150 * print.c (print_internal):
7151 * print.c (debug_print_no_newline):
7152 * print.c (debug_backtrace):
7153 Be more defensive in handling bad values when printing. Add code
7154 from trunk involving inhibit_non_essential_printing_operations.
7155 When going down or in debug_print(), don't do external conversion
7156 and such and try really, really hard when printing to avoid core
7157 dumping. Add force-debugging-signal, debug_break().
7159 2002-12-12 Stephen J. Turnbull <stephen@xemacs.org>
7161 * dumper.c (pdump_load): Include sysdep.h; retry with truename.
7162 Analysis and original patch by Vin Shelton <acs@xemacs.org>.
7164 2002-12-02 Greg Allen <greg_allen@westlb-systems.co.uk>
7166 * database.c: Fix open_database. Berkeley DB API has changed in
7167 4.1. see: http://www.sleepycat.com/docs/ref/upgrade.4.1/fop.html
7169 2002-11-26 Stephen J. Turnbull <stephen@xemacs.org>
7171 * specifier.c (Fvalid_specifier_type_p): Typo in comment.
7173 2002-11-13 Stephen J. Turnbull <stephen@xemacs.org>
7175 * event-Xt.c (Xt_timeout):
7176 (Xt_timeout_callback):
7177 (emacs_Xt_add_timeout):
7178 (emacs_Xt_remove_timeout):
7179 (Xt_timeout_to_emacs_event):
7180 Turn completed_timeouts from a stack into a queue. Fixes
7181 deadlocks <15829.21626.171573.994716@sinisa.nasamreza.org>.
7183 2002-11-07 Wolfram Gloger <wg@malloc.de>
7185 * alloc.c (reinit_alloc_once_early): Disable mmap in Doug Lea malloc.
7186 * emacs.c (main): Assert that mmap'd allocation is disabled.
7188 2002-10-14 Andy Piper <andy@xemacs.org>
7190 * glyphs-widget.c (layout_query_geometry): add in fiddle
7191 factor. Include border text in width layout calculation.
7192 (layout_layout): use BORDER_FIDDLE_FACTOR instead of 10.
7194 2002-11-02 Stephen J. Turnbull <stephen@xemacs.org>
7196 * XEmacs 21.4.10 "Military Intelligence" is released.
7198 2002-10-17 Raymond Toy <toy@rtp.ericsson.se>
7200 * nas.c: Update for NAS 1.6 and later, from Jon Trulson. Was
7201 using the NAS private array SoundFileInfo that no longer exists in
7202 NAS 1.6 and later. Preserve backward compatibility with NAS 1.5a
7203 and earlier. This is broken for some versions between 1.5a and
7206 2002-10-10 Stephen J. Turnbull <stephen@xemacs.org>
7208 * realpath.c (win32_readlink): Try to fix truename of wildcard bug.
7210 * emacs.c (shut_down_emacs): Improve crash message.
7212 2002-10-09 Stephen J. Turnbull <stephen@xemacs.org>
7214 * file-coding.c (determine_real_coding_system): Check for coding
7215 cookie in first LINES_TO_CHECK lines (currently 2). Cater to
7216 shebangs and Python PEP 263.
7218 2002-10-08 Andy Piper <andy@xemacs.org>
7220 * glyphs-widget.c (layout_query_geometry): only resize dynamically
7221 if static sizes haven't been set.
7223 2002-08-30 Mike Alexander <mta@arbortext.com>
7225 * event-msw.c (winsock_closer): Use closesocket, not CloseHandle
7228 2002-10-03 Stephen J. Turnbull <stephen@xemacs.org>
7230 * callproc.c (child_setup): 21.4 doesn't have retry_close.
7232 2002-09-20 Mike Sperber <mike@xemacs.org>
7234 (This partially gets back my patch from 2002-07-20 without the
7236 * callproc.c (child_setup): Remove Ben's comment noting confusion
7237 over the file descriptors >= 3: close_process_descs() doesn't
7238 close those. Fix fd range to go up to MAXDESC-1 instead of 64.
7239 * process-unix.c (unix_create_process): Call
7240 begin_dont_check_for_quit to inhibit unwanted interaction (and
7241 thus breaking of X event synchronicity) in the child.
7243 2002-09-26 Golubev I. N. <gin@mo.msk.ru>
7245 * frame-x.c (x_delete_frame): do not call XtDisplay on a destroyed
7248 2002-08-20 Ben Sigelman <bhsigelm@cs.brown.edu>
7250 * event-Xt.c (drain_X_queue): loop over while(XEventsQueued())
7251 instead of while(XtAppPending()&XtIMXEvent). Upon a gdm logout,
7252 the xemacs process did not exit, but looped infinitely here. This
7255 2002-09-28 Stephen J. Turnbull <stephen@xemacs.org>
7257 * font-lock.c (SYNTAX_START_STYLE, SYNTAX_END_STYLE): Quiet GCC.
7258 (find_context): Improve comments.
7260 * regex.c (re_compile_fastmap): Gratuitous #ifdef comment fixes.
7261 (re_match_2): An XCHAR_TABLE operation was missing.
7263 Many of the following changes were inspired by Andy Piper's (now
7264 obsolete) patch to make syntax-table text property lookup optional.
7268 * syntax.h (top level): Document semantics of syntax flags.
7269 * syntax.c (comstr_start, Fforward_comment): Improve comments.
7270 * syntax.c, syntax.h (top level): Document syntax cache better in
7273 [Instrument syntax caching (temporary change)]
7275 * syntax.h (enum syntax_cache_statistics_functions, struct
7276 syntax_cache_statistics, SCS_STATISTICS_SET_FUNCTION,
7277 SYNTAX_CACHE_STATISTICS_COUNT_INIT): New types and macros.
7278 * syntax.c (scan_words, Fforward_comment, scan_lists,
7279 Fbackward_prefix_characters):
7280 * font-lock.c (find_context):
7281 Use them to instrument syntax caching.
7282 * syntax.c (struct syntax_cache_statistics, scs_statistics,
7283 syntax_cache_statistics_function_names): New type and variables.
7284 * syntax.c (update_syntax_cache): Update and report statistics.
7286 [Major syntax cache optimizations]
7288 syntax.c (lookup_syntax_properties): Default off.
7290 * syntax.h (UPDATE_SYNTAX_INTERNAL): New, implements UPDATE_SYNTAX*.
7291 * syntax.c (update_syntax_cache):
7292 Move init test from update_syntax_cache to UPDATE_SYNTAX_INTERNAL.
7294 [Minor syntax cache optimizations and code clarifications]
7296 * syntax.h (SYNTAX_COMMENT_BITS, SYNTAX_START_P, SYNTAX_END_P,
7297 SYNTAX_STYLES_MATCH_START_P, SYNTAX_STYLES_MATCH_1CHAR_P,
7298 SYNTAX_STYLES_MATCH_END_P, STYLE_FOUND_1CHAR_P, STYLE_FOUND_P,
7299 SYNTAX_COMMENT_MASK_END, SYNTAX_COMMENT_MASK_START,
7300 SYNTAX_COMMENT_1CHAR_MASK): Remove redundant argument `table'.
7301 (Code clarification.)
7303 * syntax.c (scan_words, find_end_of_comment, scan_sexps_forward,
7304 scan_lists): Compute code from syncode, use Boolean macros instead
7305 of redundant masking operations. (Code clarification; any decent
7306 compiler can do this optimization.)
7308 * syntax.c (scan_lists): Rearrange switches (case Sstring_fence)
7311 * syntax.h, syntax.c (NEXT_SINGLE_PROPERTY_CHANGE,
7312 PREVIOUS_SINGLE_PROPERTY_CHANGE, update_syntax_cache): Conditionally
7313 use F*_single_property_change instead of F*_extent_change.
7314 Currently F*_single_property_change is _much_ less efficient.
7316 * dired.c (Fdirectory_files): Qt not valid in syntax_cache.object.
7317 * syntax.h (SETUP_SYNTAX_CACHE_FOR_OBJECT): Initialize
7318 syntax_cache.object properly, don't leave Qt or Qnil.
7319 (SYNTAX_CACHE_BYTE_TO_CHAR): Use SETUP_SYNTAX_CACHE_FOR_OBJECT.
7320 * syntax.c (update_syntax_cache): Use BUFFERP and STRINGP, not
7321 tests for Qt or Qnil.
7323 2002-09-21 Stephen J. Turnbull <stephen@xemacs.org>
7325 * redisplay.c (point_in_line_start_cache):
7326 * extents.c (print_extent_1):
7329 * extents.c (Fset_extent_property): Document `syntax-table' property.
7331 * extents.h (Fnext_single_property_change): EXFUN it.
7333 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7335 * search.c (clear_unused_search_regs): New static function.
7339 Use it. Fixes "stale match data" bug reported by Martin Stjernholm.
7340 Minor clarifications in comments.
7342 * regex.c (re_match_2_internal): Ensure no stale submatches.
7344 2002-09-09 Stephen J. Turnbull <stephen@xemacs.org>
7346 * event-Xt.c (enqueue_focus_event): Add missing prototype.
7348 2002-08-29 Jerry James <james@xemacs.org>
7350 * lisp.h: structrures -> structures.
7352 2002-06-03 Andy Piper <andy@xemacs.org>
7354 * frame.c (frame_conversion_internal): add conversion appropriate
7355 for setting frame dimensions in pixels.
7357 * console.h (struct console_methods): add device-specific widget
7360 * emacs.c (main_1): initialize glyph vars.
7362 * event-Xt.c (handle_focus_event_1): call handle_focus_event_2
7363 (handle_focus_event_2): new function. Allow focus to
7364 be set to a particular window and widget.
7365 (enqueue_focus_event): new function. Create a
7366 synthetic focus event.
7367 (emacs_Xt_handle_magic_event): call
7368 handle_focus_event_2.
7370 * frame.c (Fset_frame_pixel_height): new function. Allow
7371 pixel-based sizing. Does the right thing on character-oriented
7373 (Fset_frame_pixel_width): ditto.
7374 (Fset_frame_pixel_size): ditto.
7375 (syms_of_frame): declare.
7377 * general-slots.h: add :vertically-justify and
7378 :horizontally-justify.
7380 * glyphs-msw.c (xbm_create_bitmap_from_data): warning fix.
7381 (mswindows_widget_border_width): new function.
7382 (mswindows_combo_box_instantiate): set border widths.
7383 (console_type_create_glyphs_mswindows): declare.
7386 (check_valid_justification): allow vertical and horizontal
7388 (widget_border_width): new function. Call device methods.
7389 (widget_instance_border_width): ditto.
7390 (logical_unit_height): new function. Determine the height of a
7391 logical-unit. Logical units are intended to provide grid-like
7392 layout for subcontrols in a layout. If the layout is
7393 :vertically-justify top then subcontrols will be positioned on
7394 logical-unit boundaries, thus allowing adjacent subcontrols to
7396 (widget_logical_unit_height): ditto for widgets.
7397 (redisplay_widget): misc cleanup.
7398 (widget_spacing): new function. Call device specific
7399 methods. Intended to be the default gap between adjacent widgets.
7400 (widget_query_geometry): use new spacing functions to determine
7401 appropriate geometry.
7402 (initialize_widget_image_instance): initialize horizontal and
7403 vertical justification.
7404 (widget_instantiate): use logica-units where appropriate for
7405 sizing large widgets.
7406 (button_query_geometry): use widget_instance_border_width.
7407 (tree_view_query_geometry): ditto.
7408 (tab_control_query_geometry): ditto.
7409 (edit_field_query_geometry): new function.
7410 (layout_update): pick up :justify, :horizontally-justify and
7411 :vertically-justify none of which worked previously. :justify is
7412 used as a fallback for both horizontal and vertical justification.
7413 (layout_query_geometry): use logical units to size appropriately.
7414 (layout_layout): ditto.
7415 (Fwidget_logical_to_character_width): new function. Allow users to
7416 convert from logical units to characters so that frame sizes can
7417 be set appropriately.
7418 (Fwidget_logical_to_character_height): ditto.
7419 (syms_of_glyphs_widget): declare.
7420 (image_instantiator_edit_fields): add edit_field_query_geometry.
7421 (VALID_LAYOUT_KEYWORDS): declare :vertically-justify and
7422 :horizontally-justify.
7423 (specifier_vars_of_glyphs_widget): new function. Declare
7424 Vwidget_border_width which is not yet used.
7426 * glyphs-x.c (x_map_subwindow): enqueue appropriate focus events.
7427 (x_widget_border_width): new function.
7428 (x_widget_instantiate): create a sensible name for widgets.
7429 (console_type_create_glyphs_x): declare x_widget_border_width.
7431 * glyphs.h (DEFAULT_WIDGET_BORDER_WIDTH): new macro.
7432 (struct Lisp_Image_Instance): add :vertically-justify and
7433 :horizontally-justify.
7434 (LAYOUT_JUSTIFY_TOP): new.
7435 (IMAGE_INSTANCE_SUBWINDOW_H_JUSTIFY): new.
7436 (ROUND_UP): new macro. Round argument up to next integral
7439 * redisplay-output.c (redisplay_output_layout): misc formatting.
7441 * symsinit.h: declare specifier_vars_of_glyphs_widget.
7443 2002-08-23 Stephen J. Turnbull <stephen@xemacs.org>
7445 * XEmacs 21.4.9 "Informed Management" is released.
7447 2002-08-19 Andy Piper <andy@xemacs.org>
7449 * fileio.c (Ffile_truename): on cygwin using win32 normalize to
7452 * realpath.c (xrealpath): normalize drive spec also so that dir
7453 sep chars are not mixed on cygwin.
7455 2002-08-06 Jerry James <james@xemacs.org>
7457 * window.c (Fsplit_window): Count only half of the divider width
7458 against the left window when splitting horizontally.
7460 2002-06-24 Andy Piper <andy@xemacs.org>
7462 * toolbar-gtk.c (GTK_OUTPUT_BUTTONS_LOOP): output button if whole
7463 toolbar was cleared.
7465 * toolbar-msw.c (mswindows_clear_frame_toolbars): new
7466 function. Split out from mswindows_output_frame_toolbars.
7467 (mswindows_output_frame_toolbars): move clear pieces to
7468 mswindows_output_frame_toolbars.
7470 * toolbar-gtk.c (gtk_clear_frame_toolbars): new function. Split
7471 out from gtk_output_frame_toolbars.
7472 (gtk_output_frame_toolbars): move clear pieces to
7473 gtk_clear_frame_toolbars.
7475 * toolbar-x.c (X_OUTPUT_BUTTONS_LOOP): always output buttons when
7476 the frame is cleared. How this ever worked before is a mystery.
7477 (x_output_frame_toolbars): Only output toolbars.
7478 (x_clear_frame_toolbars): new. Clear previous toolbar locations.
7480 * gutter.c (update_gutter_geometry):
7481 Mark frame layout changed.
7482 (update_frame_gutter_geometry, update_frame_gutters):
7483 Respect frame_layout_changed.
7485 * console.h (struct console_methods): add
7486 clear_frame_toolbars_method.
7488 * redisplay.c (redisplay_frame): call
7489 update_frame_toolbars_geometry and re-order update_frame_toolbars.
7491 * toolbar.h: declare update_frame_toolbars_geometry.
7493 * toolbar.c (update_frame_toolbars_geometry): new function. Split
7494 out from update_frame_toolbars. Call clear_frame_toolbars.
7495 (update_frame_toolbars): only output, do not change geometry.
7497 * redisplay.c: add frame_layout_changed.
7499 * redisplay.h: add frame_layout_changed.
7500 (CLASS_RESET_CHANGED_FLAGS): set it.
7501 (GLOBAL_RESET_CHANGED_FLAGS): ditto.
7502 (CLASS_REDISPLAY_FLAGS_CHANGEDP): test it.
7503 (GLOBAL_REDISPLAY_FLAGS_CHANGEDP): ditto.
7505 * device.h (struct device): add frame_layout_changed.
7506 (MARK_DEVICE_FRAME_LAYOUT_CHANGED): new.
7508 * frame.h (struct frame): add frame_layout_changed.
7509 (MARK_FRAME_LAYOUT_CHANGED): new.
7511 2002-06-30 Mike Alexander <mta@arbortext.com>
7513 * event-msw.c (mswindows_need_event): Don't wait for a new message
7514 if the queue is not empty. Suggested by Paul Moore.
7516 2002-06-12 Andy Piper <andy@xemacs.org>
7518 * frame-msw.c (msprinter_init_frame_3): calculate the frame size
7519 for printing on accurately.
7521 2002-06-09 Rick Rankin <rick_rankin@yahoo.com>
7523 * event-msw.c (mswindows_wnd_proc): Add a handler for the
7524 WM_ACTIVATE message. Make sure that the frame is visible if the
7525 window is visible. This seemss to fix the problem where XEmacs
7526 appears to freeze after switching desktops with certain virtual
7528 (debug_output_mswin_message): Added code to output message
7529 parameters for WM_WINDOWPOSCHANGED,
7530 WM_WINDOWPOSCHANGING, WM_MOVE, and WM_SIZE messages.
7532 2002-05-25 Andy Piper <andy@xemacs.org>
7534 * select-x.c (vars_of_select_x): Fix docstring of
7535 x-selection-strict-motif-ownership
7537 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7539 * keymap.c (get_keymap):
7540 Add comment about do_autoload GCPROs own args.
7542 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7544 * bytecode.c (execute_optimized_program): check_opcode ifdef
7545 ERROR_CHECK_BYTE_CODE.
7547 2002-08-14 Stephen J. Turnbull <stephen@xemacs.org>
7549 Thanks to Ben Wing and Michael Sperber.
7551 * eval.c (Fcommand_execute):
7554 (Fmacroexpand_internal):
7555 (function_argcount):
7556 callint.c (Fcall_interactively):
7557 Add comment about do_autoload GCPROs own args.
7559 * (do_autoload): GCPRO both args as well as local Lisp_Object.
7561 * eval.c (Ffuncall): Extra braces to placate GCC.
7563 2002-08-10 Stephen J. Turnbull <stephen@xemacs.org>
7565 * backtrace.h (grow_specpdl):
7567 * EmacsFrame.c (EmacsFrameSetValues):
7568 * eval.c (grow_specpdl):
7569 * ExternalShell.c (hack_event_masks_1):
7570 * glyphs-x.c (convert_EImage_to_XImage):
7571 (x_finalize_image_instance):
7572 * ralloc.c (page_size):
7574 * xgccache.c (gc_cache_hash):
7575 Fix unsigned comparison warnings.
7577 2002-07-29 Jerry James <james@xemacs.org>
7579 * lread.c (locate_file): Any nonnegative return value indicates
7580 success if MODE is nonnegative.
7582 2002-08-03 Brian A Palmer <bpalmer@rescomp.Stanford.EDU>
7584 * emacs.c (Fsplit_string_by_char): Make 2nd arg SEPCHAR a required
7587 2002-07-17 Stephen J. Turnbull <stephen@xemacs.org>
7589 * process-unix.c (unix_send_process): #ifdef the coding_stream member.
7591 * dumper.c (pdump_get_indirect_count):
7592 (pdump_scan_by_alignment):
7593 (pdump_dump_root_struct_ptrs):
7594 (pdump_dump_rtables):
7595 (pdump_dump_root_objects):
7597 * nas.c (WaveOpenDataForReading):
7598 * fns.c (print_bit_vector):
7599 * font-lock.c (SINGLE_SYNTAX_STYLE):
7600 * glyphs.c (check_for_ignored_expose):
7601 (find_matching_subwindow):
7603 * imgproc.c (get_histogram):
7604 * redisplay.c (point_in_line_start_cache):
7605 * redisplay-output.c (redisplay_unmap_subwindows):
7606 * symbols.c (defsymbol_massage_name_1):
7607 (defkeyword_massage_name):
7608 (deferror_massage_name_and_message):
7609 * redisplay-x.c (x_output_string):
7610 * emacs.c (run_temacs_argv_size, run_temacs_args_size):
7611 * frame.h (struct frame):
7612 * filelock.c (current_lock_owner):
7613 * doprnt.c (emacs_doprnt_1):
7614 * lisp.h (struct Lisp_Bit_Vector):
7618 2002-02-13 Ben Wing <ben@xemacs.org>
7620 * event-stream.c (reset_key_echo):
7621 * event-stream.c (reset_this_command_keys):
7622 * event-stream.c (execute_command_event):
7623 If console is dead as a result of C-x 5 0, then post-command stuff
7624 needs to be careful and do only non-console-specific stuff.
7626 2002-07-01 Mike Sperber <mike@xemacs.org>
7628 * process-unix.c (unix_send_process): Mark coding_outstream as
7629 non-open upon SIGPIPE.
7631 * event-stream.c (Fnext_event): Reorder switch cases to something
7634 2001-08-13 Dmitry Astapov <adept@umc.com.ua>
7636 * event-Xt.c (maybe_define_x_key_as_self_inserting_character):
7637 Don't bogusly reinitialize ascii_character property.
7639 2002-07-08 Mike Sperber <mike@xemacs.org>
7641 * process.c (Fstart_process_internal): Do error checking before we
7642 fork off the child, so the child can't muck with the state of the
7645 2002-07-08 Mike Sperber <mike@xemacs.org>
7647 * ralloc.c (init_ralloc): Allocate properly for pdump.
7649 2002-06-12 Andy Piper <andy@xemacs.org>
7651 * glyphs.c (query_string_geometry): check the string.
7653 * glyphs-widget.c (widget_logical_unit_height): cope with nil
7656 2002-06-17 Jerry James <james@xemacs.org>
7658 * sysdll.c: Remove RTLD_GLOBAL initialization.
7659 * sysdll.c (dll_open): Do not use RTLD_GLOBAL.
7661 2002-06-25 Stephen J. Turnbull <stephen@xemacs.org>
7663 * search.c (skip_chars): Port Ben's crash fix and efficiency patch.
7665 2002-05-16 Mathias Grimmberger <mgri@zaphod.sax.de>
7667 * sysdep.c (sys_rename): Make sys_rename work for the case where
7668 Windows rename sets errno to EACCES if target file exists.
7670 2002-05-21 Jonathan Harris <jonathan@xemacs.org>
7672 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7673 Fix detection of metric units to work on Win95
7675 2002-05-21 Stephen J. Turnbull <stephen@xemacs.org>
7677 * syswindows.h: #define LOCALE_RETURN_NUMBER. Why, I don't know.
7679 2002-04-25 Andy Piper <andy@xemacs.org>
7681 * redisplay.c (create_text_block): Remove extra comment trailer.
7683 2002-04-24 Andy Piper <andy@xemacs.org>
7685 * redisplay.c (create_text_block): Don't actually add propagation
7686 data if the line ends after we have added a glyph.
7688 2002-04-22 Andy Piper <andy@xemacs.org>
7690 * extents.c (extent_fragment_update): check for glyphs we have
7691 previously displayed.
7692 * extents.c (print_extent_1): warning removal.
7693 * extents.h: change prototype.
7694 * redisplay-output.c (redisplay_normalize_glyph_area): calculate
7695 widths correctly for wide glyphs.
7696 * redisplay.c (position_redisplay_data_type): add end_glyph_width.
7697 * redisplay.c (prop_type): add PROP_GLYPH.
7698 * redisplay.c (struct prop_block): add glyph type
7699 * redisplay.c (add_glyph_rune): when adding part of a glyph add it
7700 to the propagation data.
7701 * redisplay.c (create_text_block): if there is a glyph in the
7702 propagation data use it to salt extent_fragment_update.
7703 * redisplay.c (create_string_text_block): ditto.
7705 2002-04-13 Nix <nix@esperi.demon.co.uk>
7707 * redisplay.h (struct rune): Add ascent, descent, and yoffset fields.
7708 * redisplay-output.c (compare_runes): Compare them.
7709 * redisplay.c: Update copyright date.
7710 * redisplay.c (pos_data): Add need_baseline_computation field.
7711 * redisplay.c (add_glyph_rune): Update ascent, descent, and
7712 need_baseline_computation; zero yoffset. Set max_pixmap_height
7713 for all pixmaps, not just automatically positioned ones.
7714 * redisplay.c (calculate_yoffset): New, compute yoffset values.
7715 * redisplay.c (calculate_baseline): New, compute textual baseline.
7716 * redisplay.c (add_glyph_rune): Call them.
7717 * redisplay.c (create_text_block): Likewise.
7718 * redisplay.c (create_overlay_glyph_block): Likewise.
7719 * redisplay.c (add_margin_runes): Likewise.
7720 * redisplay.c (create_string_text_block): Likewise. Fix tabdamage.
7722 * redisplay.h: (redisplay_calculate_display_boxes): Change prototype.
7723 * redisplay-output.c (redisplay_calculate_display_boxes): Use yoffset.
7724 * redisplay-msw.c (mswindows_output_blank): Pass 0 as yoffset.
7725 * redisplay-msw.c (mswindows_output_string): Likewise.
7726 * redisplay-msw.c (mswindows_output_display_block): Pass yoffset.
7727 * redisplay-gtk.c (gtk_output_display_block): Likewise.
7728 * redisplay-x.c (x_output_display_block): Likewise.
7730 2002-03-28 Ben Wing <ben@xemacs.org>
7732 * redisplay.c: Fixed bug in redisplay
7733 w.r.t. hscroll/truncation/continuation glyphs causing jumping up
7734 and down of the lines, since they're bigger than the line
7735 size. (It was seen most obviously when there's a horizontal scroll
7736 bar, e.g. do C-h a glyph or something like that.) The problem was
7737 that the glyph-contrib-p setting on glyphs was ignored even if it
7738 was set properly, which it wasn't until now.
7740 2002-04-24 Andy Piper <andy@xemacs.org>
7742 * lisp.h (Dynarr_end): Fix definition.
7744 2002-02-06 Adrian Aichner <adrian@xemacs.org>
7746 * redisplay.c (mark_redisplay): Remove call to
7747 update_frame_window_mirror.
7749 2001-11-15 Andy Piper <andy@xemacs.org>
7751 * win32.c (Fmswindows_shell_execute): fix handling of URL's under
7754 2002-02-13 Andy Piper <andy@xemacs.org>
7756 * event-msw.c (mswindows_wnd_proc): only mark the frame visible if
7757 we did in fact enqueue the XM_MAPFRAME event.
7759 2002-01-15 Adrian Aichner <adrian@xemacs.org>
7761 * event-msw.c (mswindows_wnd_proc): Add handling of WM_SHOWWINDOW
7762 to fix problem switching between virtual desktops under virtuawin
7763 virtual window manager.
7765 2001-07-30 Adrian Aichner <adrian@xemacs.org>
7767 * event-msw.c: Typo fix.
7768 * event-msw.c (mswindows_wnd_proc): Set FRAME_VISIBLE_P after
7769 magic XM_MAPFRAME event has been sent.
7771 2001-11-23 Andy Piper <andy@xemacs.org>
7773 * event-msw.c (mswindows_wnd_proc): Don't pump mousewheel events.
7775 2001-11-21 Andy Piper <andy@xemacs.org>
7777 * scrollbar-msw.c (mswindows_handle_mousewheel_event): cope with
7778 mouse events outside the frame.
7780 2002-03-20 Andy Piper <andy@xemacs.org>
7782 * menubar-msw.c (mswindows_popup_menu): warning removal.
7783 * dialog-msw.c (dialog_popped_down): ditto.
7785 2001-12-11 Andy Piper <andy@xemacs.org>
7787 * dialog-msw.c (dialog_popped_down): new function. unset popup_up_p.
7788 * dialog-msw.c (mswindows_make_dialog_box_internal): set
7790 * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): ditto.
7791 * menubar-msw.c (mswindows_handle_wm_command): ditto.
7792 * menubar-msw.c (mswindows_popup_menu): ditto.
7794 2001-10-29 Andy Piper <andy@xemacs.org>
7796 * dialog-msw.c (handle_directory_dialog_box): quit if the user
7799 2002-01-03 Andy Piper <andy@xemacs.org>
7801 * realpath.c (ABS_LENGTH): dtrt for cygwin systems using drive
7805 2002-03-29 Jonathan Harris <jonathan@xemacs.org>
7807 * device-msw.c (plist_get_margin): Add arg specifying mm or inches
7808 * device-msw.c (plist_set_margin): Fix multiplicand used for mm
7809 * device-msw.c (mswindows_handle_page_setup_dialog_box):
7810 Detect and handle case where machine is set up for metric units
7812 2002-04-02 Andy Piper <andy@xemacs.org>
7814 * dired-msw.c (mswindows_get_files):
7815 * nt.c (mswindows_stat): SetErrorMode() so that file errors are
7816 completely handled by XEmacs. Suggested by Thomas Vogler
7817 <mail@thomas-vogler.de>.
7819 2001-11-14 Andy Piper <andy@xemacs.org>
7821 * nt.c (REG_ROOT): change registry key to XEmacs.
7823 2002-04-27 Andy Piper <andy@xemacs.org>
7825 * glyphs-msw.c (mswindows_widget_instantiate): remove dead-code.
7827 2002-04-26 Andy Piper <andy@xemacs.org>
7829 * glyphs-msw.c (mswindows_map_subwindow): observe :initial-focus
7832 2002-03-14 Mike Alexander <mta@arbortext.com>
7834 * event-msw.c (mswindows_unwait_process): New, remove process from
7836 * process-nt.c (nt_finalize_process_data): Call
7837 mswindows_unwait_process
7838 * console-msw.h: Declare mswindows_unwait_process
7840 2002-05-14 Stephen J. Turnbull <stephen@xemacs.org>
7842 * editfns.c (Fdecode_time):
7843 (Fformat_time_string):
7844 Check for invalid time. Thanks to Nick Pakoulin <npak@ispras.ru>.
7845 (make_time): Warning elimination (change arg name).
7847 2001-11-24 Andy Piper <andy@xemacs.org>
7849 * window.c (Fsplit_window): Doc return type.
7851 2002-04-01 Andy Piper <andy@xemacs.org>
7853 * emacs.c (Fkill_emacs): Only output message box in interactive
7856 2002-04-26 Andy Piper <andy@xemacs.org>
7858 * config.h.in: pull in 21.5.x change to stop alloca warnings under
7861 2002-03-18 Gregory Steuck <greg-xemacs-patch@nest.cx>
7863 * unexelf.c: Use ELFSIZE or define from _LP64 to indicate a 64
7866 2002-05-09 Stephen J. Turnbull <stephen@xemacs.org>
7868 * XEmacs 21.4.8 "Honest Recruiter" is released.
7870 2002-05-07 Nix <nix@esperi.demon.co.uk>
7872 Supersedes 2002-04-17 patch.
7874 * process.h (PROCESS_LIVE_P): Use the process status as
7875 evidence of health, not the state of the input stream.
7876 (PROCESS_READABLE_P): Say if the process is readable
7877 from. (It may be dead nonetheless.)
7878 (CHECK_READABLE_PROCESS): Test for that condition.
7880 * process.c (create_process): Use PROCESS_READABLE_P.
7881 (read_process_output, set_process_filter): Likewise.
7883 * process.c (Fprocess_input_coding_system): Use CHECK_READABLE_PROCESS.
7884 (Fset_process_input_coding_system, Fprocess_coding_system): Likewise.
7886 This code is #if 0'd, this is not the time to add new functions:
7888 * process.c (Fprocess_readable_p): Report readability status.
7889 * process.c (Qprocess_readable_p): New, associated symbol...
7890 * process.c (syms_of_process): ... initialize it.
7892 2002-05-04 Stephen J. Turnbull <stephen@xemacs.org>
7894 * XEmacs 21.4.7 "Economic Science" is released.
7896 2002-04-17 Nix <nix@esperi.demon.co.uk>
7898 * process.h (PROCESS_LIVE_P): Use the process status as
7899 evidence of health, not the state of the input stream.
7901 2002-04-30 Charles G. Waldman <cgw@xemacs.org>
7903 * sysdep.c (sys_siglist): change "signum" to "signal"
7905 2001-04-21 Martin Buchholz <martin@xemacs.org>
7907 * s/darwin.h: New file.
7908 Thanks to Greg Parker <gparker@cs.stanford.edu>.
7910 2002-04-23 Andreas Jaeger <aj@suse.de>
7912 * s/linux.h (LIB_STANDARD): Define correctly for x86-64 and s390x
7913 which use lib64 for 64-bit libs.
7914 (START_FILES): Likewise.
7916 2002-02-11 Mike Sperber <mike@xemacs.org>
7919 (x_IO_error_handler):
7920 (x_init_device): Temporarily keep device in static variable
7921 `device_being_initialized' so we can recover gracefully from
7922 internal XOpenDevice failure. (XOpenDevice is documented to
7923 return NULL on failure, but sometimes calls the IO error handler
7926 2002-01-31 John H. Palmieri <palmieri@math.washington.edu>
7928 * dired.c (Ffile_name_all_completions): Change documentation --
7929 remove reference to completion-ignored-extensions.
7930 * dired.c (vars_of_dired): Change documentation for
7931 completion-ignored-extensions -- remove reference to
7932 file-name-all-completions.
7934 2002-03-06 Jerry James <james@xemacs.org>
7936 * emodules.c (emodules_load): Fix multiple loading of same module.
7938 2002-01-25 Andrew Begel <abegel@cs.berkeley.edu>
7939 * sysdll.c (dll_open): Changed to use RTLD_NOW instead of
7940 RTLD_LAZY to avoid incorrect symbol binding when using nested
7941 shared libraries on Solaris.
7943 2002-02-12 Stephen J. Turnbull <stephen@xemacs.org>
7945 * fileio.c (Ffind_file_name_handler): Improve docstring.
7947 2002-01-20 Stephen J. Turnbull <stephen@xemacs.org>
7949 * fns.c (Fmapconcat): Improve docstring.
7951 2002-01-03 Eric Gillespie, Jr. <epg@pretzelnet.org>
7953 * device-gtk.c: Add prototype for
7954 emacs_gtk_selection_clear_event_handle.
7955 (gtk_init_device): Call gtk_selection_add_target for CLIPBOARD
7956 selection. Setup signal handler for "selection_clear_event"
7957 (emacs_gtk_selection_clear_event_handle).
7959 * select-gtk.c (emacs_gtk_selection_clear_event_handle): Handle
7960 other applications owning the clipboard (based on
7961 x_handle_selection_clear).
7963 2001-12-23 William M. Perry <wmperry@gnu.org>
7965 * menubar-gtk.c (gtk_popup_menu) Add sanity checks, fix crash.
7967 2002-01-04 Martin Buchholz <martin@xemacs.org>
7969 * keymap.c (define_key_alternate_name): Parenthesize EQ.
7971 2001-12-17 Stephen J. Turnbull <stephen@xemacs.org>
7973 * XEmacs 21.4.6 "Common Lisp" is released.
7975 2001-12-16 Torsten Duwe <duwe@caldera.de>
7977 * search.c (Freplace_match): Add missing sub-expression functionality.
7979 * buffer.c (decode_buffer): Add a check for pointer type to
7980 decode_buffer, before gcc's CSE optimization reorders a
7981 dereference in front of the allow_string test.
7983 2001-11-16 Darryl Okahata <darrylo@xemacs.org>
7985 * window.c (window_loop): Fix bug that sometimes prevented
7986 window_loop() from iterating across multiple devices. Also, at
7987 Ben's request, changed infloop-detecting code to abort() instead
7988 of silently terminating window_loop().
7990 2001-11-21 Stephen J. Turnbull <stephen@xemacs.org>
7992 Based on analysis and patch by Simon Josefson <jas@extundo.com>.
7993 * editfns.c (make_time): New function.
7994 (Fencode_time): Use it instead of wasteful_word_to_lisp.
7995 * lisp.h (make_time): Prototype and comment it.
7996 * dired.c (wasteful_word_to_lisp): Deprecate.
7997 (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
7999 2001-10-31 Kyle Jones <kyle_jones@wonderworks.com>
8001 * fileio.c (auto_save_1): Use current coding system, not
8004 2001-11-13 Ben Wing <ben@xemacs.org>
8007 * window.c (window_truncation_on):
8008 * window.c (syms_of_window):
8009 truncate-partial-width-windows should respect the buffer being
8010 displayed, like other redisplay vars.
8012 2001-11-13 Hirokazu FUKUI <hfukui@sannet.ne.jp>
8014 * event-stream.c (Fread_key_sequence): save current buffer.
8016 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8018 * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
8020 2001-10-29 Andrew Begel <abegel@eecs.berkeley.edu>
8022 * alloc.c (lcrecord_stats): Add space for types defined in modules.
8024 2001-10-26 Mike Alexander <mta@arbortext.com>
8026 * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
8028 2001-10-25 Andy Piper <andy@xemacs.org>
8031 * dialog-msw.c (handle_directory_proc): new function.
8032 (handle_directory_dialog_box): new fucntion.
8033 (handle_file_dialog_box): use new directory dialog support.
8034 (mswindows_make_dialog_box_internal): ditto.
8035 * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
8037 (mswindows_find_frame): make global.
8038 * fileio.c (Fexpand_file_name): build fix.
8039 * general-slots.h: add Qdirectory.
8040 * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
8042 * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
8043 cygwin not leaving win32 paths unchanged.
8044 * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
8045 cygwin runtime to do path conversion.
8046 (Fmswindows_shell_execute): fix cygwin handling of URLs.
8047 (syms_of_win32): add new function.
8048 * window.c (window_loop): build fix.
8050 2001-10-15 Andy Piper <andy@xemacs.org>
8052 (Fmswindows_shell_execute): fix handling of URL's under cygwin.
8054 2001-10-23 Stephen J. Turnbull <stephen@xemacs.org>
8056 * XEmacs 21.4.5 "Civil Service" is released.
8058 2001-04-08 Danny Colascione <qtmstr@optonline.net>
8060 * glyphs-x.c: Force buffer-tab highlight update when moving the
8061 buffer, avoiding an ugly black border, used for keyboard focus
8062 indication, on a widget that can never have keyboard focus, the
8065 2001-08-30 Daiki Ueno <ueno@unixuser.org>
8067 * process-unix.c (unix_open_multicast_group): Remove too much
8068 conversion between host and network byte order.
8070 2001-09-10 Nix <nix@esperi.demon.co.uk>
8072 * src/buffer.c (kill_buffer): Undedicate windows showing BUF
8073 before replacing them.
8075 * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
8078 * src/window.c (undedicate_windows): Use it.
8079 * src/window.h: Add prototype.
8081 2001-09-17 Ben Wing <ben@xemacs.org>
8083 * fileio.c (normalize_filename):
8084 * fileio.c (Fexpand_file_name):
8085 Fix various C++ compile errors in Andy's recent code.
8087 * callint.c (Fcall_interactively):
8088 * editfns.c (Ftemp_directory):
8089 * editfns.c (Fuser_full_name):
8090 * emacs.c (argmatch):
8091 * lread.c (locate_file_map_suffixes):
8092 * redisplay-x.c (x_ring_bell):
8093 Fix sign-compare warnings.
8095 2001-09-08 Andy Piper <andy@xemacs.org>
8097 * fileio.c (normalize_filename): copied from nt.c
8098 * (Ffile_name_directory): enable win32 paths under cygwin.
8099 * (Ffile_name_nondirectory): ditto.
8100 * (directory_file_name): ditto.
8101 * (Fexpand_file_name): ditto.
8102 * (Ffile_truename): ditto.
8103 * (Fsubstitute_in_file_name): ditto.
8104 * (Ffile_name_absolute_p): ditto.
8105 * (Ffile_readable_p): ditto.
8107 2001-09-08 Andy Piper <andy@xemacs.org>
8109 * device-msw.c (mswindows_finish_init_device): remove dde
8111 * device-msw.c (mswindows_init_dde): factor out from
8112 mswindows_finish_init_device()
8113 * device-msw.c (init_mswindows_very_early): new function
8114 initialize but don't enable dde.
8115 * emacs.c (main_1): call init_mswindows_very_early.
8117 * event-msw.c (mswindows_dde_callback): only execute when we are
8119 * symsinit.h: declare init_mswindows_very_early.
8121 2001-05-02 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8123 [sjt: This has been in 21.5 for months with no complaints.]
8125 * console.h (struct console_methods): Added flags member.
8126 (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
8127 (CONMETH_IMPL_FLAG):
8128 (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
8129 Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8131 * device.c (window_system_pixelated_geometry): Use the above macros.
8133 * device.h (DEVICE_IMPL_FLAG): Macro to check a device
8134 implememntation flag.
8135 * device.h (DEVICE_DISPLAY_P): Use it.
8137 * frame.c (delete_frame_internal): Use the above macro.
8139 * redisplay.c (redisplay_device): Use it.
8140 (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
8141 (redisplay_frame): Ditto.
8143 * device-msw.c (mswindows_device_implementation_flags): Removed.
8144 (msprinter_device_implementation_flags): Removed.
8145 (console_type_create_device_mswindows): Removed references to
8146 implementation_flags methods, set implementation flags here.
8147 (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
8149 * device-gtk.c (gtk_device_implementation_flags): Removed method.
8150 (console_type_create_device_gtk): Removed method declaration.
8151 Added commented out statement which semantically matches the
8152 commented out statement in the above removed method.
8154 2001-04-14 Gordon Sadler <gbsadler1@lcisp.com>
8156 The attached patch fixes a few warnings.
8158 * src/emacs.c: prototype console_type_create_select_gtk for GTK only
8159 * src/frame-gtk.c: guard against GNOME calls in GTK only
8160 * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
8161 * src/select-gtk.c: prototype lisp_to_time
8163 2001-06-08 Ben Wing <ben@xemacs.org>
8165 ------ gc-in-window-procedure fixes ------
8168 * alloc.c (struct post_gc_action):
8169 * alloc.c (register_post_gc_action):
8170 * alloc.c (run_post_gc_actions):
8171 * alloc.c (garbage_collect_1):
8172 Create "post-gc actions", to avoid those dreaded "GC during window
8173 procedure" problems.
8176 Abort, clean and simple, when GC in window procedure. We want
8177 to flush these puppies out.
8180 * glyphs-msw.c (finalize_destroy_window):
8181 * glyphs-msw.c (mswindows_finalize_image_instance):
8182 Use a post-gc action when destroying subwindows.
8185 Declare register_post_gc_action().
8188 * scrollbar-msw.c (unshow_that_mofo):
8189 Use a post-gc action when unshowing scrollbar windows, if in gc.
8191 * redisplay.c (mark_redisplay):
8192 Add comment about the utter evilness of what's going down here.
8194 ------ cygwin setitimer fixes ------
8196 * Makefile.in.in (sheap_objs):
8197 * Makefile.in.in (profile_objs):
8198 * Makefile.in.in (objs):
8199 Compile profile.c only when HAVE_SETITIMER.
8201 * nt.c (mswindows_sigset):
8202 * nt.c (mswindows_sighold):
8203 * nt.c (mswindows_sigrelse):
8204 * nt.c (mswindows_sigpause):
8205 * nt.c (mswindows_raise):
8206 * nt.c (close_file_data):
8210 Move setitimer() emulation to win32.c, because Cygwin needs it too.
8213 * profile.c (Fstart_profiling):
8214 * profile.c (Fstop_profiling):
8215 Make sure we don't compile if no setitimer(). Use qxe_setitimer()
8216 instead of just plain setitimer().
8219 * signal.c (set_one_shot_timer):
8221 Define qxe_setitimer() as an encapsulation around setitimer() --
8222 call setitimer() directly unless Cygwin or MS Win, in which case
8223 we use our simulated version in win32.c.
8226 * systime.h (struct itimerval):
8227 * systime.h (ITIMER_REAL):
8228 Prototype mswindows_setitimer() and qxe_setitimer(). Long
8229 comment about "qxe" and the policy regarding encapsulation.
8232 * win32.c (setitimer_helper_proc):
8233 * win32.c (setitimer_helper_period):
8234 * win32.c (setitimer_helper):
8235 * win32.c (mswindows_setitimer):
8236 Move setitimer() emulation here, so Cygwin can use it.
8237 Rename a couple of functions and variables to be longer and more
8238 descriptive. In setitimer_helper_proc(), send the signal
8239 using either mswindows_raise() or (on Cygwin) kill(). If for
8240 some reason we are still getting lockups, we'll change the kill()
8241 to directly invoke the signal handlers.
8243 ------ windows shell fixes ------
8247 Comments about how these two files must die.
8249 * callproc.c (init_callproc):
8250 On MS Windows, init shell-file-name from SHELL, then COMSPEC,
8251 not just COMSPEC. (more correct and closer to FSF.) Don't
8252 force a value for SHELL into the environment. (Comments added
8253 to explain why not.)
8255 * nt.c (init_user_info):
8256 Don't shove a fabricated SHELL into the environment. See above.
8258 2001-06-01 Ben Wing <ben@xemacs.org>
8260 * Makefile.in.in (ldflags):
8261 eliminate that pesky "defaulting to 00401000" warning.
8265 2001-06-15 Golubev I. N. <gin@mo.msk.ru>
8267 * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
8268 * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
8270 2001-04-24 Jerry James <james@xemacs.org>
8272 * faces.h: pass parameters to Fadd_spec_to_specifier in the
8275 2001-06-01 Ben Wing <ben@xemacs.org>
8277 * event-msw.c (debug_mswin_messages):
8278 conditionalize the messages that were causing compile errors.
8279 (if only macros could generate #ifdef statements ...)
8281 2001-07-28 Stephen J. Turnbull <stephen@xemacs.org>
8283 * XEmacs 21.4.4 "Artificial Intelligence" is released.
8285 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8287 * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
8289 2001-07-22 Stephen J. Turnbull <stephen@xemacs.org>
8291 * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
8292 * process-unix.c (unix_canonicalize_host_name):
8293 sysdep.c (init_system_name):
8294 Use it to conditionally support IPv6 canonicalization.
8296 2001-05-31 Paul Stodghill <stodghil@cs.cornell.edu>
8299 Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
8301 2001-05-19 Paul Krause <paulkrause1@mediaone.net>
8303 * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
8304 attempt is made to scroll when no scroll bar is available.
8306 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8308 * input-method-motif.c (XIM_delete_frame): New callback.
8309 (XIM_init_frame): Register it. (Reapplied by SJT, it somehow
8310 got deleted from 21.4.3.)
8312 2001-06-01 Ben Wing <ben@xemacs.org>
8314 * nt.c (mswindows_utime):
8315 * nt.c (close_file_data):
8316 fix off-by-one-indirection error.
8318 2001-05-29 Adrian Aichner <adrian@xemacs.org>
8320 * fileio.c: Include nt.h. Remove lisp_string_set_file_times()
8321 because set_file_times() now takes Lisp_Object path, instead of
8323 * nt.c: Include buffer.h.
8324 * nt.c (convert_from_time_t): New.
8325 * nt.c (mswindows_utime): New. Use utime, since SetFileTime does
8326 not set mtime correctly.
8327 * nt.h: Declare mswindows_utime().
8328 * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
8329 path, instead of char*.
8330 * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
8332 2001-05-30 Ben Wing <ben@xemacs.org>
8336 (Stephen, just take all event-msw.c patches. This includes
8337 the "iconify" fix below.)
8340 * event-msw.c (mswindows_dequeue_dispatch_event):
8341 * event-msw.c (assert):
8342 * event-msw.c (emacs_mswindows_quit_p):
8343 * event-msw.c (debug_mswin_messages):
8344 * event-msw.c (debug_output_mswin_message):
8345 * event-msw.c (vars_of_event_mswindows):
8346 Fix yet more problems with C-g handling.
8347 Implement debug-mswindows-events.
8349 2001-05-24 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
8351 * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
8353 2001-05-23 Ben Wing <ben@xemacs.org>
8355 * event-msw.c (winsock_writer):
8356 * event-msw.c (winsock_closer):
8357 prior kludgy code was clobbering the buffer, thinking it was
8358 "unused" space to store an unneeded return value; instead, use
8359 the variable we've already got staring us in the face.
8361 2001-05-17 Andy Piper <andy@xemacs.org>
8363 * sysfile.h: don't assume that file attributes are boolean
8365 2001-05-23 Ben Wing <ben@xemacs.org>
8367 * device-msw.c (msprinter_init_device):
8368 signal an error rather than crash with an unavailable network
8369 printer (from Mike Alexander).
8372 * event-msw.c (struct winsock_stream):
8373 * event-msw.c (winsock_writer):
8374 * event-msw.c (winsock_closer):
8375 * event-msw.c (make_winsock_stream_1):
8376 cleanup headers. fix (hopefully) an error with data corruption
8377 when sending to a network connection.
8379 * fileio.c (Fexpand_file_name): Fix evil code that attempts
8380 to handle the ~user prefix by (a) always assuming we're referencing
8381 ourselves and not even verifying the user -- hence any file with
8382 a tilde as its first char is invalid! (b) if there wasn't a slash
8383 following the filename, the pointer was set *past* the end of
8384 file and we started reading from uninitialized memory. Now we
8385 simply treat these as files, always.
8387 * buffer.c (common_init_complex_vars_of_buffer): comment change.
8389 2001-05-19 Ben Wing <ben@xemacs.org>
8391 * eval.c: doc comment about gcpro'ing in record_unwind_protect.
8394 * process-nt.c (vars_of_process_nt):
8395 remove unused mswindows-quote-process-args. rec for 21.4.
8397 2001-05-12 Ben Wing <ben@xemacs.org>
8399 * event-msw.c (mswindows_dde_callback):
8400 * event-msw.c (mswindows_wnd_proc):
8401 eliminate cygwin warnings.
8403 2001-05-06 Ben Wing <ben@xemacs.org>
8407 * device-msw.c (print_dialog_worker):
8408 * device-msw.c (mswindows_handle_print_dialog_box):
8409 * device-msw.c (syms_of_device_mswindows):
8410 * dialog-msw.c (mswindows_make_dialog_box_internal):
8412 implement printing the selection when it's selected.
8414 2001-05-20 Drazen Kacar <dave@arsdigita.com>
8416 * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
8418 2001-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
8420 * lisp.h (EMACS_INT_MAX): This should be one bit less since
8421 EMACS_INT is signed.
8423 2001-04-15 Michael Lausch <mla@1012surf.net>
8425 * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
8426 gtk_widget_request_size() to give scrollbar >0 width for
8429 2001-05-30 William M. Perry <wmperry@gnu.org>
8431 * event-gtk.c: Check for buttons as modifier keys.
8433 2001-05-25 Craig Lanning <CraigL@Knology.net>
8436 Properly find MinGW's <process.h> inside Cygwin's restructured
8437 include directories. Don't try to include <cygwin/version.h>
8438 since we are dropping support for MinGW in versions of Cygwin
8441 Drop support for MinGW in versions of Cygwin before b21.
8443 Properly find MinGW's <process.h> inside Cygwin's restructured
8444 include directories.
8446 Drop support for MinGW in versions of Cygwin before b21.
8448 Even though a.out.h is no longer detected by configure, allow
8449 MinGW to use it until we figure out how to do the job with Win32.
8451 2001-07-11 Matt Tucker <tuck@whistlingfish.net>
8453 * syntax.c (find_start_of_comment):
8454 Fix `unbalanced parentheses' bug when dealing with mixed comment
8455 styles in c++/java/etc. mode
8457 2001-05-29 Mike Alexander <mta@arbortext.com>
8459 * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
8460 FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
8462 2001-05-17 Andrew Begel <abegel@eecs.berkeley.edu>
8464 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
8466 2001-03-31 Mike Sperber <mike@xemacs.org>
8468 * search.c (Freplace_match): Support FSF-style specification of
8469 match subexpression when applied to a buffer.
8471 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8473 * event-stream.c (is_scrollbar_event): add missing semicolon
8475 2001-05-22 Isaac Hollander <ysh@mindspring.com>
8477 * Makefile.in.in: Use TAR macro instead of hardcoding
8478 tar. Allows use of GNU tar instead of system tar
8480 2001-05-27 Karl M. Hegbloom <karlheg@hegbloom.net>
8482 * event-stream.c (is_scrollbar_event): add missing semicolon
8484 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8486 * XEmacs 21.4.3 "Academic Rigor" is released.
8488 2001-05-17 Stephen J. Turnbull <stephen@xemacs.org>
8490 * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
8492 2001-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
8494 * buffer.c (Vcase_fold_search): Remove obsolete
8495 comment about non ASCII case-fold-search. This
8496 bug has been fixed by case-table changes.
8498 2001-05-11 Stephen J. Turnbull <stephen@xemacs.org>
8500 * event-msw.c: Restore include of events-mod.h.
8502 2001-04-22 zhaoway <zw@debian.org>
8504 * event-stream.c (is_scrollbar_event): Noop returning 0 if
8507 2001-05-10 Stephen J. Turnbull <stephen@xemacs.org>
8509 * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
8511 2001-05-08 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp>
8513 * mule-charset.c (Fmake_charset): Add missing else.
8515 2001-04-23 Ben Wing <ben@xemacs.org>
8517 * event-msw.c (FAKE_MOD_QUIT):
8518 * event-msw.c (mswindows_dequeue_dispatch_event):
8519 * event-msw.c (mswindows_wnd_proc):
8520 * event-msw.c (emacs_mswindows_quit_p):
8521 Get critical quit working.
8523 2001-05-05 Ben Wing <ben@xemacs.org>
8527 * device-msw.c (mswindows_get_default_margin):
8528 * frame-msw.c (mswindows_size_frame_internal):
8529 * frame-msw.c (msprinter_init_frame_1):
8530 * frame-msw.c (vars_of_frame_mswindows):
8531 Change top/bottom margin defaults to 0.5 inches.
8533 2001-05-01 Martin Buchholz <martin@xemacs.org>
8535 Fix link error with gcc 3.0 on Linux.
8536 * terminfo.c (UP): Remove.
8537 * terminfo.c (BC): Remove.
8538 * terminfo.c (PC): Remove.
8539 They weren't used, and in any case, these symbols should be
8540 defined in the *library*.
8542 2001-05-03 Martin Buchholz <martin@xemacs.org>
8544 * s/aix4.h: Fix crash with xlc -O3.
8545 Improve comment explaining how -O3 works.
8547 2001-04-15 Ben Wing <ben@xemacs.org>
8550 * event-stream.c (Fnext_event):
8551 * event-stream.c (is_scrollbar_event):
8552 * event-stream.c (execute_command_event):
8553 Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
8554 crash' problem. His fix introduces other problems. We filter
8555 out scrollbar events specifically, making them somewhat invisible
8556 to command-building, and not appearing in `this-command-keys'.
8557 More work is still needed (see comments in event-stream.c), but
8558 this fixes all the major problems.
8560 2001-04-20 Ben Wing <ben@xemacs.org>
8562 * .cvsignore: Added stuff for Windows.
8564 2001-04-28 Ben Wing <ben@xemacs.org>
8566 * buffer.c (Ferase_buffer):
8567 * editfns.c (buffer_insert1):
8568 * editfns.c (Finsert_before_markers):
8569 * editfns.c (Finsert_string):
8570 * editfns.c (Finsert_char):
8571 * editfns.c (Fdelete_region):
8572 * editfns.c (Fwiden):
8573 * editfns.c (Fnarrow_to_region):
8574 remove bogus lines setting zmacs_region_stays to 0.
8576 2001-04-15 Gunnar Evermann <ge204@eng.cam.ac.uk>
8578 * process-unix.c (unix_open_network_stream): If connect() fails
8579 invalidate file descriptor after closing it.
8581 2001-03-08 Mike Alexander <mta@arbortext.com>
8583 * event-msw.c (mswindows_need_event_in_modal_loop):
8584 Don't dispatch a message if we didn't get one.
8585 (mswindows_need_event):
8586 Terminate the correct process when one exits instead of the first
8587 one on Vprocess_list and look for process termination when in
8588 mswindows_protect_modal_loop.
8590 2001-04-19 Stephen J. Turnbull <stephen@xemacs.org>
8592 * XEmacs 21.4.1 "Copyleft" is released.
8594 2001-04-19 Glynn Clements <glynn.clements@virgin.net>
8596 * input-method-motif.c (XIM_delete_frame): New callback.
8597 (XIM_init_frame): Register it.
8599 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8601 * XEmacs 21.4.0 "Solid Vapor" is released.
8603 2001-04-15 Ben Wing <ben@xemacs.org>
8605 * cmdloop.c (call_command_loop):
8606 Fix braino in bit-rotting code.
8608 2001-04-07 Hrvoje Niksic <hniksic@arsdigita.com>
8610 * extents.c (Fset_extent_endpoints): Force creation of extent info
8611 in buffer_or_string.
8613 * extents.c (process_extents_for_insertion_mapper): Correctly
8614 check for open-open zero-length extents.
8616 2001-04-16 Stephen J. Turnbull <stephen@xemacs.org>
8618 * lisp.h: New typedefs Memory_count, Element_count.
8621 Sign-compare warning elimination: several unsigned -> signed.
8622 Based on work by Ben Wing <ben@xemacs.org>.
8624 2001-04-14 Stephen J. Turnbull <stephen@xemacs.org>
8626 * XEmacs 21.2.47 "Zephir" is released.
8628 2001-04-02 Jan Vroonhof <jan@xemacs.org>
8630 * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
8632 2001-04-03 Mike Sperber <mike@xemacs.org>
8634 * search.c: Revert previous patch due because of release.
8636 2001-03-30 Ben Wing <ben@xemacs.org>
8639 Add missing killpg prototype.
8642 Add a comment about fixing problems when a new entry is added
8645 * frame-msw.c (mswindows_init_frame_1):
8646 Fix compile warnings.
8648 * menubar.c (vars_of_menubar):
8649 Provide `menu-accelerator-support' to indicate that we properly
8650 support %_ in menu specifications, so that package code can
8651 conditionalize on this (and remove %_ from menu specifications
8656 * scrollbar-msw.c (can_scroll):
8658 Fix handling of mouse wheel under Windows to follow standards --
8659 now scrolls window under pointer, not selected window.
8661 2001-03-31 Mike Sperber <mike@xemacs.org>
8663 * search.c (Freplace_match): Support FSF-style specification of
8664 match subexpression when applied to a buffer.
8666 2001-03-15 Martin Buchholz <martin@xemacs.org>
8668 * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
8669 function to modify KEYMAP, so map over a copy of the hash table.
8671 2001-03-21 Martin Buchholz <martin@xemacs.org>
8673 * XEmacs 21.2.46 "Urania" is released.
8675 2001-03-20 Dan Holmsand <dan@eyebee.com>
8677 * realpath.c (xrealpath): Make file-truename work with symlinks to
8678 /cygdrive paths on cygwin. Always lowercase drive-letters on
8680 (cygwin_readlink): Don't try to find canonical filename unless
8683 2001-03-15 Stephen J. Turnbull <stephen@xemacs.org>
8685 * ChangeLog: Log GTK merge.
8691 Revert gratuitous whitespace changes from GTK merge.
8693 * emacs.c: Document end of complex #ifdef @ l. 1495.
8696 2001-03-12 Andy Piper <andy@xemacs.org>
8698 * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
8699 have to do likewise.
8701 2001-03-12 Andy Piper <andy@xemacs.org>
8703 * sysdep.c: we only support mingw now.
8705 2001-03-09 Andy Piper <andy@xemacs.org>
8707 * unexcw.c (copy_executable_and_dump_data_section): making approx
8708 overrun a warning only.
8710 2001-03-10 William M. Perry <wmperry@aventail.com>
8712 * faces.c (complex_vars_of_faces): Rewrote the font mucking to
8713 satisfy Stephen's identical-after-cpp plea.
8715 2001-03-02 Ben Wing <ben@xemacs.org>
8718 * cmds.c (Fforward_char):
8722 Augment documentation of the most common motion commands to make
8723 note of the shifted-motion support.
8725 2001-03-02 Ben Wing <ben@xemacs.org>
8727 * nt.c (mswindows_fstat):
8728 * nt.c (mswindows_stat):
8729 * search.c (boyer_moore):
8730 Fix compile warnings under Windows.
8732 * sysdep.c (sys_readdir):
8733 Fix buggy filename-conversion code under Mule.
8735 2001-03-09 William M. Perry <wmperry@aventail.com>
8757 * redisplay-output.c:
8763 The Great GTK Merge.
8770 * emacs-widget-accessors.c:
8784 * native-gtk-toolbar.c:
8795 The Great GTK Merge: new files.
8797 2001-02-26 Ben Wing <ben@xemacs.org>
8799 Reapplied Lstream change.
8801 2001-02-26 Ben Wing <ben@xemacs.org>
8803 Undid the last change, since it is more controversial than I
8804 thought. It should be back in at some point soon.
8806 2001-02-25 Ben Wing <ben@xemacs.org>
8809 * callproc.c (Fold_call_process_internal):
8810 * event-msw.c (ntpipe_slurp_reader):
8811 * event-msw.c (ntpipe_shove_writer):
8812 * event-msw.c (winsock_reader):
8813 * event-msw.c (winsock_writer):
8815 * file-coding.c (detect_eol_type):
8816 * file-coding.c (detect_coding_type):
8817 * file-coding.c (determine_real_coding_system):
8818 * file-coding.c (Fdetect_coding_region):
8819 * file-coding.c (decoding_reader):
8820 * file-coding.c (decoding_writer):
8821 * file-coding.c (mule_decode):
8822 * file-coding.c (Fdecode_coding_region):
8823 * file-coding.c (encoding_reader):
8824 * file-coding.c (encoding_writer):
8825 * file-coding.c (mule_encode):
8826 * file-coding.c (Fencode_coding_region):
8827 * file-coding.c (detect_coding_sjis):
8828 * file-coding.c (decode_coding_sjis):
8829 * file-coding.c (encode_coding_sjis):
8830 * file-coding.c (detect_coding_big5):
8831 * file-coding.c (decode_coding_big5):
8832 * file-coding.c (encode_coding_big5):
8833 * file-coding.c (detect_coding_ucs4):
8834 * file-coding.c (decode_coding_ucs4):
8835 * file-coding.c (encode_coding_ucs4):
8836 * file-coding.c (detect_coding_utf8):
8837 * file-coding.c (decode_coding_utf8):
8838 * file-coding.c (encode_coding_utf8):
8839 * file-coding.c (detect_coding_iso2022):
8840 * file-coding.c (decode_coding_iso2022):
8841 * file-coding.c (encode_coding_iso2022):
8842 * file-coding.c (decode_coding_no_conversion):
8843 * file-coding.c (encode_coding_no_conversion):
8844 * glyphs-x.c (write_lisp_string_to_temp_file):
8845 * gpmevent.c (tty_get_foreign_selection):
8848 * lstream.c (Lstream_flush_out):
8849 * lstream.c (Lstream_adding):
8850 * lstream.c (Lstream_write_1):
8851 * lstream.c (Lstream_write):
8852 * lstream.c (Lstream_raw_read):
8853 * lstream.c (Lstream_read_more):
8854 * lstream.c (Lstream_read):
8855 * lstream.c (Lstream_unread):
8856 * lstream.c (Lstream_fputc):
8857 * lstream.c (stdio_reader):
8858 * lstream.c (stdio_writer):
8859 * lstream.c (filedesc_reader):
8860 * lstream.c (filedesc_writer):
8861 * lstream.c (lisp_string_reader):
8862 * lstream.c (struct fixed_buffer_stream):
8863 * lstream.c (make_fixed_buffer_input_stream):
8864 * lstream.c (make_fixed_buffer_output_stream):
8865 * lstream.c (fixed_buffer_reader):
8866 * lstream.c (fixed_buffer_writer):
8867 * lstream.c (struct resizing_buffer_stream):
8868 * lstream.c (resizing_buffer_writer):
8869 * lstream.c (dynarr_writer):
8870 * lstream.c (lisp_buffer_reader):
8871 * lstream.c (lisp_buffer_writer):
8873 * lstream.h (lstream_implementation):
8874 * lstream.h (struct lstream):
8876 * process-nt.c (nt_send_process):
8877 * process-unix.c (unix_send_process):
8879 Correct Lstream lossage due to mixing of signed and unsigned
8880 quantities. All Lstream uses of size_t and ssize_t are now a
8881 single signed data type Lstream_data_count. This fixes problems
8882 under Windows with sending large quantities of data to a process,
8883 and may well fix other subtle bugs.
8885 2001-02-23 Martin Buchholz <martin@xemacs.org>
8887 * XEmacs 21.2.45 "Thelxepeia" is released.
8889 2001-02-21 Martin Buchholz <martin@xemacs.org>
8891 * lisp-union.h (XSETINT):
8894 Reverse previous change of 2001-02-06.
8896 2001-02-20 Matt Tucker <tuck@whistlingfish.net>
8898 Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
8900 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8901 * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
8902 Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
8903 * regex.c (POS_AS_IN_BUFFER): removed
8904 * regex.c (re_search_2):
8905 * regex.c (re_match_2):
8906 Don't use an offset of 1 when calculating buffer positions, since
8907 `BI_BUF_BEGV' does it already.
8909 2001-02-18 Wim Dumon <wim@easics.be>
8911 * insdel.c (prepare_to_modify_buffer): Also check for
8912 supersession when clash-detection is enabled.
8914 2001-02-17 Matt Tucker <tuck@whistlingfish.net>
8916 * regex.c (re_match_2_internal):
8917 Convert temp characters from 'const unsigned char' to 're_char'.
8918 Fix crashing bug with extended characters under mule.
8919 * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
8920 syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
8921 font-lock, pdump, and new syntax-table code.
8922 * syntax.c (find_start_of_comment):
8923 (find_end_of_comment):
8925 Fix crashing bugs involving moving beyond end of buffer.
8926 * syntax.c (find_start_of_comment):
8927 Fixed logic to allow proper detection of cases where the same
8928 character is used to end both a two-char comment start and a
8929 two-char comment end sequence. Fixes `(forward-comment -1)'.
8930 * syntax.c (find_start_of_comment):
8931 Return position just past last comment-end character for all cases
8932 (previously was only done for two-char comment-end sequences).
8933 * syntax.c (forward-comment):
8934 Take value returned from `find_end_of_comment', rather than
8936 * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
8937 Properly deal with BUFFERP (syntax_cache.object)
8939 2001-02-17 Martin Buchholz <martin@xemacs.org>
8941 * alloc.c (Fgarbage_collect):
8942 * alloc.c (make_bit_vector_from_byte_vector):
8943 -Wsign-compare-correctness.
8945 2001-02-16 Martin Buchholz <martin@xemacs.org>
8947 * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
8948 (XSETCHAR): Likewise.
8949 (XSETOBJ): Likewise.
8951 2001-02-15 Martin Buchholz <martin@xemacs.org>
8953 * mule-canna.c (canna-func-delete_previous):
8954 Rename to canna-func-delete-previous.
8956 2001-02-14 Martin Buchholz <martin@xemacs.org>
8958 * mule-ccl.c (ccl_driver): Warning suppression. Use countof.
8960 2001-02-13 Matt Tucker <tuck@whistlingfish.net>
8962 * font-lock.c (find_context): Fix C++ compile errors introduced by
8965 2001-02-13 Martin Buchholz <martin@xemacs.org>
8967 * s/aix4.h: Later versions of IBM C compiler need a bug workaround
8968 pragma, but earlier ones barf on the same pragma.
8970 2001-02-06 Mike Sperber <mike@xemacs.org>
8972 * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
8973 `configure-mule-lisp-directory'.
8975 2001-02-12 Martin Buchholz <martin@xemacs.org>
8977 Make sure dump-id.c is compiled in the same way as other .c's.
8978 Fixes pdump compilation failure with HP's cc, which defaults to K&R.
8979 * dump-id.h: Remove.
8980 * emacs.c: Move dump-id.h into dumper.h.
8981 * dumper.h: Move dump-id.h into dumper.h.
8983 Use standard .c.o rule for building dump-id.o.
8984 Remove preprocessor flags from link command.
8985 Add dump-id.o to ${otherobjs} if PDUMP.
8987 2001-02-07 Matt Tucker <tuck@whistlingfish.net>
8989 Port FSF 20.7 syntax table improvements.
8993 Fixups for new syntax table stuff.
8994 * dired.c: Include syntax.c.
8995 (Fdirectory_files): Initialize regex_match_object and
8997 * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
8998 and Fget_char_property.
9000 Use ported FSF 20.7 syntax table improvements.
9005 2001-02-09 Martin Buchholz <martin@xemacs.org>
9007 * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
9008 Unixware's enum boolean from sys/types.h.
9010 2001-02-10 Martin Buchholz <martin@xemacs.org>
9012 Fix support for building with latest Purify.
9013 * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
9014 (PURIFY_FLAGS): Likewise.
9016 2001-02-09 Martin Buchholz <martin@xemacs.org>
9018 * fileio.c (lisp_string_set_file_times): New.
9019 * fileio.c (Fcopy_file): Use it.
9021 (copy-file filename non-ascii-filename t t)
9022 ==> No such file or directory, non-ascii-filename
9024 2001-02-10 Martin Buchholz <martin@xemacs.org>
9026 * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
9027 USHRT_MAX seems clearer than ~0 anyways.
9029 2001-02-09 Martin Buchholz <martin@xemacs.org>
9031 dumper improvements. Inspired by Olivier.
9032 * dumper.c (pdump_max_align): New.
9033 * dumper.c (pdump_add_entry): Use pdump_max_align.
9034 * dumper.c (pdump_get_entry_list): Likewise.
9035 * dumper.c (pdump_scan_by_alignment): Likewise.
9036 Don't iterate through unnecessary alignments.
9037 * dumper.c (pdump_file_get): No need to align result of malloc().
9038 * dumper.c (pdump_mallocadr): Remove.
9039 The result of malloc() is guaranteed to be maximally aligned.
9040 * dumper.c: s/elmt/elt/g;
9041 * dumper.c (pdump_object_table): Allocate dynamically, not statically.
9042 * dumper.c (pdump_alert_undump_object): Likewise.
9043 * dumper.c (pdump_align_table):
9044 Don't support alignments > 64.
9045 Store ALIGNOF's, not shift counts, in table.
9047 2001-02-09 Martin Buchholz <martin@xemacs.org>
9049 * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
9050 * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
9051 * systime.h: Use HAVE_UTIME.
9052 * sysdep.c (struct utimbuf): Remove.
9053 * sysdep.c (set_file_times): Prefer utime() to utimes().
9054 * config.h.in (HAVE_UTIME): New.
9055 * config.h.in (HAVE_UTIME_H): Remove.
9056 * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
9058 2001-02-09 Martin Buchholz <martin@xemacs.org>
9060 * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
9062 2001-02-08 Martin Buchholz <martin@xemacs.org>
9064 * s/irix6-0.h: Use the standard system memmove, not bcopy.
9066 2001-02-08 Martin Buchholz <martin@xemacs.org>
9068 * XEmacs 21.2.44 "Thalia" is released.
9070 2001-02-06 Martin Buchholz <martin@xemacs.org>
9072 Fixes crashes in kill-emacs on some systems.
9073 * process-unix.c (unix_kill_child_process):
9074 It's OK for kill() to fail with ESRCH.
9076 2001-02-07 Martin Buchholz <martin@xemacs.org>
9078 Contortions to make .gdbinit tricks work on most systems.
9079 * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
9080 * alloc.c (dbg_valmask): Make non-const.
9081 * alloc.c (dbg_typemask): Make non-const.
9082 * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
9083 * alloc.c (dbg_valbits): Make non-const.
9084 * alloc.c (dbg_gctypebits): Make non-const.
9085 * .gdbinit (decode_object): Make it work with AIX cc.
9087 2001-02-06 Martin Buchholz <martin@xemacs.org>
9089 * elhash.c (make_general_lisp_hash_table):
9090 Use simpler and more efficient calloc to clear entries.
9092 2001-02-07 Martin Buchholz <martin@xemacs.org>
9094 * window.c (window_scroll): Work around an AIX C compiler bug.
9095 Fixes 'scroll-up' does nothing problem with xlC.
9097 2001-02-05 Martin Buchholz <martin@xemacs.org>
9099 * .gdbinit: Remove obsolete comment.
9101 2001-01-31 Mike Alexander <mta@arbortext.com>
9103 * select.c (Fown_selection_internal): Set owned_p for device
9106 2001-02-01 Martin Buchholz <martin@xemacs.org>
9109 "not" cannot be used as a macro name as it is an operator in C++
9110 * config.h.in: Stop #defining `not'.
9111 * chartab.c (check_category_char): not ==> not_p
9112 * chartab.h: Likewise.
9113 * regex.c (re_match_2_internal): Likewise.
9115 2001-02-02 Martin Buchholz <martin@xemacs.org>
9117 * lisp-disunion.h: Fix up comments.
9119 2001-01-31 Martin Buchholz <martin@xemacs.org>
9121 * keymap.c (define_key_check_and_coerce_keysym):
9123 Support mouse-6 and mouse-7 bindings in the obvious way.
9125 2001-02-01 Martin Buchholz <martin@xemacs.org>
9127 * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
9129 2001-01-30 Martin Buchholz <martin@xemacs.org>
9131 Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
9132 Previous patch missed DEFVAR_INT_MAGIC.
9133 Make sure future DEFVAR_foo use correct types.
9134 * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
9135 * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
9136 * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
9137 * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
9138 * (DEFVAR_INT): Likewise.
9139 * redisplay.c (vertical_clip): Should be of type Fixnum.
9140 * redisplay.c (horizontal_clip): Likewise.
9141 * lisp.h (dump_add_opaque_int): New.
9142 (dump_add_opaque_fixnum): New.
9144 2001-01-29 Andy Piper <andy@xemacs.org>
9146 * glyphs-widget.c (check_valid_int_or_function): allow symbols
9147 since they can be eval'ed
9149 2001-01-29 Martin Buchholz <martin@xemacs.org>
9151 * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
9152 Oops, XEmacs redefines `class'. Use `typename' instead.
9154 2001-01-28 Martin Buchholz <martin@xemacs.org>
9156 * dumper.c: Fix C++ compile errors.
9158 2001-01-29 Martin Buchholz <martin@xemacs.org>
9160 * tparam.c: Use correct prototypes.
9162 2001-01-28 Martin Buchholz <martin@xemacs.org>
9164 * sysproc.h: #include util.h for NetBSD's openpty.
9166 2001-01-27 Martin Buchholz <martin@xemacs.org>
9168 More 64-bit correctness.
9169 The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
9170 Use a typedef `fixnum' for the type used for DEFVAR_INT.
9172 This finally finishes the 64-bit SGI port.
9173 Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
9174 * symbols.c: Fix up comments and type casts.
9175 * symbols.c (do_symval_forwarding): s/int/Fixnum/g
9176 * symbols.c (store_symval_forwarding): s/int/Fixnum/g
9177 * symeval.h (Fixnum): New type.
9178 * symeval.h (symbol_value_type): Fix up comment.
9194 * mule-canna.c: A million DEFVAR_INTs here...
9195 * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
9208 s/int/Fixnum/g in DEFVAR_INT declarations.
9210 2001-01-26 Martin Buchholz <martin@xemacs.org>
9212 Port pdump to SGI alignment-sensitive environment.
9213 Lisp Object sizeof methods now return aligned sizes. Rely on that.
9214 Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
9216 Define and use aligned reading and writing macros.
9217 Use buffered stdio instead of posix i/o for faster dumping.
9218 Eliminate kludgy 256 byte space for header.
9219 Read and write from dump file using structs for alignment safety.
9220 * dumper.c (pdump_align_stream): New.
9221 * dumper.c (PDUMP_ALIGN_OUTPUT): New.
9222 * dumper.c (PDUMP_READ_ALIGNED): New.
9223 * dumper.c (PDUMP_WRITE_ALIGNED): New.
9224 * dumper.c (pdump_static_Lisp_Object): New struct.
9225 * dumper.c (pdump_static_pointer): New struct.
9226 * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
9227 * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
9228 * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
9229 * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
9231 * dumper.c (pdump_backtrace):
9232 * dumper.c (pdump_get_indirect_count):
9233 * dumper.c (pdump_register_object):
9234 * dumper.c (pdump_register_struct):
9235 * dumper.c (pdump_reloc_one):
9236 * dumper.c (pdump_scan_by_alignment):
9237 * dumper.c (pdump_dump_from_root_struct_ptrs):
9238 * dumper.c (pdump_dump_opaques):
9239 * dumper.c (pdump_dump_rtables):
9240 * dumper.c (pdump_dump_from_root_objects):
9242 * dumper.c (pdump_load_finish):
9243 Use aligned reading and writing.
9245 * dumper.c (pdump_free): Make static.
9246 * dumper.c (pdump_hFile): Likewise.
9247 * dumper.c (pdump_hMap): Likewise.
9249 2001-01-26 Martin Buchholz <martin@xemacs.org>
9251 * XEmacs 21.2.43 "Terspichore" is released.
9253 2001-01-25 Martin Buchholz <martin@xemacs.org>
9255 Type fiddling for window_config.saved_windows_count
9256 * window.c (struct window_config):
9257 Make saved_windows_count member unsigned.
9258 * window.c (sizeof_window_config_for_n_windows):
9259 Make parameter unsigned.
9260 * window.c (mark_window_config):
9261 * window.c (window_config_equal):
9262 * window.c (free_window_configuration):
9263 * window.c (Fset_window_configuration):
9264 * window.c (count_windows):
9265 * window.c (Fcurrent_window_configuration):
9266 * window.c (reinit_vars_of_window):
9267 Update all callers and users.
9269 2001-01-25 Martin Buchholz <martin@xemacs.org>
9271 Alignment correctness for flexible arrays.
9272 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
9273 Make alignment-correct. Add interesting comments.
9274 * alloc.c (size_vector):
9275 * alloc.c (make_vector_internal):
9276 * alloc.c (make_bit_vector_internal):
9277 * alloc.c (sweep_bit_vectors_1):
9278 * fns.c (size_bit_vector):
9279 Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
9280 * window.c (sizeof_window_config_for_n_windows):
9281 Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
9283 2001-01-24 Martin Buchholz <martin@xemacs.org>
9285 * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
9287 2001-01-23 Andy Piper <andy@xemacs.org>
9289 * select.c (Fown_selection_internal): pass owned_p
9291 * select-msw.c (mswindows_own_selection): New Signature.
9293 * console.h (struct console_methods): add owned_p to
9296 * select-x.c (x_own_selection): pass owned_p
9297 (hack_motif_clipboard_selection): use owned_p
9298 (vars_of_select_x): new variable -
9299 x_selection_strict_motif_ownership.
9301 2001-01-23 Martin Buchholz <martin@xemacs.org>
9303 * specifier.h (specifier_data_offset): Remove pointless parens.
9304 * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
9306 2001-01-24 Martin Buchholz <martin@xemacs.org>
9308 Make Lisp_Object sizeof methods be alignment-correct.
9309 pdump must restore objects to the same alignment as the C compiler
9310 assumes. It really matters on SGIs.
9311 * lstream.c (aligned_sizeof_lstream): New.
9312 (sizeof_lstream): Use aligned_sizeof_lstream.
9313 (Lstream_new): Likewise.
9314 * opaque.c (aligned_sizeof_opaque): New.
9315 (sizeof_opaque): Use aligned_sizeof_opaque.
9316 (make_opaque): Likewise.
9317 * specifier.c (aligned_sizeof_specifier): New.
9318 (sizeof_specifier): Use aligned_sizeof_specifier.
9319 (make_specifier_internal): Likewise.
9321 2001-01-23 Martin Buchholz <martin@xemacs.org>
9323 * lstream.h (struct lstream): Use max_align_t for trailing data.
9324 * specifier.h (struct Lisp_Specifier): Likewise.
9326 2001-01-22 Martin Buchholz <martin@xemacs.org>
9328 * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
9329 (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
9330 (CCL_SUSPEND): Likewise.
9331 (CCL_INVALID_CMD): Likewise.
9332 (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
9333 (ccl_driver): Likewise.
9334 (CCL_WRITE_CHAR): Macro hygiene.
9335 (CCL_WRITE_STRING): Macro hygiene.
9337 2001-01-22 Martin Buchholz <martin@xemacs.org>
9339 Port "portable" dumper to SunOS 4 and HP-UX.
9340 * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
9341 * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
9342 * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
9344 2001-01-22 Martin Buchholz <martin@xemacs.org>
9346 * lisp.h (ALIGNOF): A better definition for C++.
9348 2001-01-20 Martin Buchholz <martin@xemacs.org>
9351 Fix printf warnings: int format, long int arg.
9352 * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
9353 (PUSH_FAILURE_POINT): Use correct printf formats.
9354 (POP_FAILURE_POINT): Use correct printf formats.
9355 Use do {...} while (0)
9357 2001-01-20 Martin Buchholz <martin@xemacs.org>
9359 * XEmacs 21.2.42 "Poseidon" is released.
9361 2001-01-20 Martin Buchholz <martin@xemacs.org>
9363 * console-x.h: typo fix du jour. Remove #if 0'ed code.
9365 2001-01-19 Martin Buchholz <martin@xemacs.org>
9367 De-kludgify FIXED_TYPE free list frobbing.
9368 Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
9369 * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
9370 * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
9371 * alloc.c (Lisp_Free): New pseudo lisp object definition.
9372 * alloc.c (LRECORD_FREE_P): New.
9373 * alloc.c (MARK_LRECORD_AS_FREE): New.
9374 * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
9375 * alloc.c (STRUCT_FREE_P): Deleted.
9376 * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
9377 * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
9378 * alloc.c (STRING_CHARS_FREE_P): New.
9379 * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
9380 * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
9381 * alloc.c (FREE_FIXED_TYPE): Use new definitions.
9382 * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
9383 * alloc.c (resize_string): Use new definitions.
9384 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
9385 * alloc.c (verify_string_chars_integrity): Use new definitions.
9386 * alloc.c (compact_string_chars): Use new definitions.
9387 * alloc.c: Update monster comments.
9388 * lrecord.h (lrecord_type): Add some new lrecord types for
9391 2001-01-18 Martin Buchholz <martin@xemacs.org>
9393 Improve alignment hackery.
9394 * lisp.h (ALIGNOF): Better definition for the non-gcc case.
9395 (max_align_t): Moved from opaque.h - general purpose.
9396 (ALIGN_PTR): Use size_t, not long.
9397 * opaque.h (max_align_t): Move to lisp.h.
9399 2001-01-18 Norbert Koch <nk@LF.net>
9401 * gui.h: Fix and add prototypes to fix build problems.
9403 2001-01-18 Martin Buchholz <martin@xemacs.org>
9405 temacs is going away, so `dump-temacs' is now a bad name.
9406 * .dbxrc (dump-temacs): Rename to `dmp'.
9407 * .gdbinit (dump-temacs): Rename to `dmp'.
9409 2001-01-17 Andy Piper <andy@xemacs.org>
9411 * glyphs.c (print_image_instance): comment to make martin happy.
9413 * glyphs-x.c (x_redisplay_widget): update faces after a frame
9416 * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
9418 (mswindows_tab_control_redisplay): warning suppression.
9420 * glyphs-widget.c (widget_update): re-write to cope with updated
9422 (widget_instantiate): use new gui_item functions.
9423 (tab_control_update): deleted.
9424 (progress_gauge_update): deleted.
9425 (image_instantiator_progress_guage): take out update reference.
9426 (image_instantiator_tree_view): ditto.
9427 (image_instantiator_tab_control): ditto.
9429 * gui.c (widget_gui_parse_item_keywords): new function. Do things
9431 (gui_item_add_keyval_pair): re-write to cope with descriptors and
9432 return whether anything was changed.
9433 (update_gui_item_keywords): as it sounds.
9435 * gui.h: declare widget_gui_parse_item_keywords.
9437 * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
9438 (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
9440 2001-01-17 Martin Buchholz <martin@xemacs.org>
9442 * XEmacs 21.2.41 "Polyhymnia" is released.
9444 2001-01-16 Didier Verna <didier@xemacs.org>
9446 * glyphs.c (image_instantiate): don't use fallbacks when
9447 instantiating a face's background pixmap by inheritance.
9449 2001-01-14 Mike Sperber <mike@xemacs.org>
9451 * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
9452 Conditionalize accordingly.
9454 2001-01-16 Martin Buchholz <martin@xemacs.org>
9456 * dumper.c (pdump_file_get): Fix a compiler warning.
9458 2001-01-15 Martin Buchholz <martin@xemacs.org>
9460 Make Purify happy when pdumping.
9461 * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
9462 iniitalizing all bits of new lisp object memory.
9463 * symbols.c (Fmake_local_variable): Likewise.
9464 * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
9465 * symbols.c (Fdefvaralias): Likewise.
9466 * mule-charset.c (vars_of_mule_charset): Likewise.
9468 2001-01-15 Martin Buchholz <martin@xemacs.org>
9469 Add the `-nd' flag when running pre-dump operations under the debugger.
9470 * .dbxrc (run-temacs): Add `-nd'.
9471 * .dbxrc (update-elc): Likewise.
9472 * .dbxrc (dump-temacs): Likewise.
9473 * .gdbinit (run-temacs): Likewise.
9474 * .gdbinit (check-temacs): Likewise.
9475 * .gdbinit (update-elc): Likewise.
9476 * .gdbinit (dump-temacs): Likewise.
9478 2001-01-14 Martin Buchholz <martin@xemacs.org>
9480 Allow building 64-bit executables on AIX with GNU malloc, e.g.
9481 export OBJECT_MODE=64
9482 configure --pdump --use-union-type=no
9483 * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
9484 * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
9486 * miscplay.c (sndcnv8U_2mono):
9487 Avoid two uses of `++' in the same expression.
9488 Suppresses a GCC warning.
9490 2001-01-13 Martin Buchholz <martin@xemacs.org>
9492 Make sure future compilers don't miscompile alloc.c.
9494 (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
9495 (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
9497 2001-01-12 Martin Buchholz <martin@xemacs.org>
9499 * dumper.c: A little post-pdump-rename comment fixup.
9501 2001-01-09 Jerry James <james@eecs.ku.edu>
9503 * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
9505 2001-01-13 Martin Buchholz <martin@xemacs.org>
9507 * *.[ch]: Globally rename symbols using the following `pdump-rename'
9511 (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
9514 replace_symbol pdump_wire_lists pdump_weak_object_chains
9515 replace_symbol pdump_wire_list dump_add_weak_object_chain
9517 replace_symbol pdump_wires pdump_root_objects
9518 replace_symbol pdump_wire dump_add_root_object
9520 replace_symbol pdump_dump_wired pdump_dump_from_root_objects
9521 replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
9523 replace_symbol dumpstructinfos pdump_root_struct_ptrs
9524 replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
9525 replace_symbol dumpstructinfo pdump_root_struct_ptr
9526 replace_symbol dumpstruct dump_add_root_struct_ptr
9528 replace_symbol dumpopaque dump_add_opaque
9529 replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
9530 replace_symbol dumpopaqueinfos pdump_opaques
9531 replace_symbol dumpopaqueinfo pdump_opaque
9533 replace_symbol nb_structdump nb_root_struct_ptrs
9534 replace_symbol nb_opaquedump nb_opaques
9536 replace_symbol align_table pdump_align_table
9537 replace_symbol dump_header pdump_header
9539 replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
9540 replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
9543 2001-01-12 Martin Buchholz <martin@xemacs.org>
9545 * s/aix4.h: Keep the C for AIX compiler from overaggressively
9546 optimizing bytecount_to_charcount().
9548 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9551 (HAVE_DLFCN_H): Removed.
9552 * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
9554 2001-01-06 Martin Buchholz <martin@xemacs.org>
9556 Portable dumper maintainability improvements.
9557 * alloc.c (staticpro):
9558 * alloc.c (staticpro_nodump):
9559 * alloc.c (garbage_collect_1):
9560 * alloc.c (reinit_alloc_once_early):
9561 * alloc.c (init_alloc_once_early):
9562 * alloc.c: Move dumper functions to alloc.c.
9563 * dumper.c (pdump_backtrace):
9564 * dumper.c (pdump_dump_structs):
9565 * dumper.c (pdump_dump_opaques):
9566 * dumper.c (pdump_dump_rtables):
9567 * dumper.c (pdump_dump_wired):
9569 * dumper.c (pdump_load_check):
9570 * dumper.c (pdump_load_finish):
9571 * dumper.c (pdump_file_unmap):
9572 * dumper.c (pdump_file_get):
9573 * dumper.c (pdump_resource_free):
9574 * dumper.c (pdump_resource_get):
9575 * dumper.c (pdump_file_free):
9576 * dumper.c (pdump_file_try):
9577 * dumper.c (pdump_load):
9578 Remove fixed size limits on staticpro(), staticpro_nodump(),
9579 dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
9580 Remove custom code for dumping lrecord_implementations_table - use
9582 Remove (most of the) custom code for dumping staticpros - dump it
9583 like any other dynarr.
9585 * alloc.h: Removed. No longer useful, since dumper now more self-contained.
9586 * dumper.c: Moved functions from alloc.c.
9587 * alloc.c (dumpstruct): Moved to dumper.c.
9588 * alloc.c (dumpopaque): Likewise.
9589 * alloc.c (pdump_wire): Likewise.
9590 * alloc.c (pdump_wire_list): Likewise.
9592 * lisp.h (Dynarr_sizeof): New.
9593 * lisp.h (Dynarr_begin): New. Very slightly C++oid.
9594 * lisp.h (Dynarr_end): New. Very slightly C++oid.
9595 * lisp.h (Lisp_Object_ptr_dynarr): New. For staticpros.
9597 * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
9598 * lisp.h (dumpopaque): ditto.
9599 * lisp.h (pdump_wire): ditto.
9600 * lisp.h (pdump_wire_list): ditto.
9602 2001-01-09 Martin Buchholz <martin@xemacs.org>
9604 * make-src-depend (PrintPatternDeps):
9605 Use `sort' to make output independent of perl version.
9607 2001-01-08 Martin Buchholz <martin@xemacs.org>
9610 * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
9611 * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
9613 2001-01-03 Didier Verna <didier@xemacs.org>
9615 * event-stream.c (emacs_handle_focus_change_preliminary): ensure
9616 that `focus_frame' is alive before thinking of calling
9617 `redisplay_redraw_cursor' on it.
9619 2001-01-08 Martin Buchholz <martin@xemacs.org>
9621 * XEmacs 21.2.40 is released.
9623 2001-01-06 Golubev I. N. <gin@mo.msk.ru>
9625 * regex.c: Replace PREFETCH with REGEX_PREFETCH.
9627 2001-01-06 Martin Buchholz <martin@xemacs.org>
9629 * alloc.c (dbg_valmask): Make const.
9630 * alloc.c (dbg_typemask): Make const.
9631 * alloc.c (dbg_USE_UNION_TYPE): Make const.
9632 * alloc.c (dbg_valbits): Make const.
9633 * alloc.c (dbg_gctypebits): Make const.
9635 2001-01-06 Stephen J. Turnbull <stephen@xemacs.org>
9637 * redisplay-x.c (x_bevel_area):
9638 redisplay.h (struct rune):
9639 Typo fixes in comments.
9641 2001-01-05 Andy Piper <andy@xemacs.org>
9643 * glyphs-x.c (x_redisplay_widget): use size changed for offset
9646 * menubar.c (menubar_visible_p_changed): don't mark frame changed.
9648 2001-01-05 Martin Buchholz <martin@xemacs.org>
9650 * alloc.c (pure-bytes-used): Remove unused mendacious variable.
9652 * mule-ccl.c (stack_idx_of_map_multiple):
9653 Non const global data must not be initialized!
9654 Found by MIYASHITA Hisashi.
9656 2001-01-02 Andy Piper <andy@xemacs.org>
9658 * frame.c (change_frame_size): make sure frame size is always
9661 * glyphs.c (image_instance_layout): minor code reuse.
9663 * window.c (Fcurrent_window_configuration): revert previous
9666 2001-01-02 Martin Buchholz <martin@xemacs.org>
9669 * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
9671 2000-12-31 Andy Piper <andy@xemacs.org>
9673 * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
9674 when widget gets unmapped.
9676 * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
9677 function. Make sure widgets losing focus don't just drop it.
9678 (handle_focus_event_1): record the widget with focus.
9680 2000-12-31 Andy Piper <andy@xemacs.org>
9682 * window.c (allocate_window): use
9683 make_image_instance_cache_hash_table.
9684 (make_dummy_parent): ditto.
9685 (Fset_window_configuration): ditto.
9687 * glyphs.h (INSTANTIATOR_TYPE): new macro. declare new functions.
9689 * glyphs.c (process_image_string_instantiator): use
9691 (get_image_instantiator_governing_domain): ditto.
9692 (normalize_image_instantiator): ditto.
9693 (instantiate_image_instantiator): ditto.
9694 (make_image_instance_1): ditto.
9695 (image_instantiate): ditto. Key on glyph *and* instantiator type.
9696 (instantiator_eq_equal): new function for use with instance hash
9698 (instantiator_eq_hash): ditto.
9699 (make_image_instance_cache_hash_table): create a suitable hash
9700 table for storing image instances.
9702 * elhash.h (hash_table_weakness): new internal weakness type
9703 HASH_TABLE_KEY_CAR_VALUE_WEAK.
9704 declare new functions.
9706 * elhash.c (finish_marking_weak_hash_tables): introduce yet
9707 another weakness type for glyphs.
9708 (make_standard_lisp_hash_table): new function split out from
9709 make_general_lisp_hash_table.
9710 (make_lisp_hash_table): call make_standard_lisp_hash_table.
9711 (hash_table_instantiate): ditto.
9712 (Fmake_hash_table): ditto.
9714 2000-12-31 Martin Buchholz <martin@xemacs.org>
9716 * XEmacs 21.2.39 is released.
9718 2000-12-29 Andy Piper <andy@xemacs.org>
9720 * menubar.c (menubar_visible_p_changed): signal the frame changed.
9722 * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if
9723 the frame has changed so that we pick up geometry changes such as
9726 2000-12-28 Andy Piper <andy@xemacs.org>
9728 * lastfile.c (my_ebss): make a char array so we can pad the
9729 bss. Fixes cygwin unexec.
9731 * unexcw.c: invert BROKEN_GDB to NO_DEBUG.
9733 2000-12-26 Andy Piper <andy@xemacs.org>
9735 * event-Xt.c (emacs_Xt_force_event_pending): add some verbose
9736 comments and try and be more precise about a non-/SIGIO world.
9737 (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non
9740 * redisplay-output.c (redisplay_normalize_glyph_area): make sure
9741 we don't normalize to zero width or height.
9743 2000-12-24 Andy Piper <andy@xemacs.org>
9745 * Makefile.in.in (ldflags): add -mwindows when appropriate.
9747 2000-08-18 Golubev I. N. <gin@mo.msk.ru>
9749 * s/sco5.h: SCO 5 has pty support.
9751 2000-07-20 Kazuyuki IENAGA <ienaga@xemacs.org>
9753 * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET.
9754 input-method-xlib.c contains whole contents of input-method-xfs.c,
9755 so we can use input-method-xlib.c's code for USE_XFONTSET
9757 * input-method-xfs.c: removed.
9759 2000-12-20 Stephen Turnbull <stephen@xemacs.org>
9761 * file-coding.h (enum coding_category_type): reorder enumerators to
9762 make autodetection safer. Make CODING_CATEGORY_LAST an enumerator
9763 (now one greater than largest real coding_category_type enumerator).
9764 * file-coding.c (coding_category_symbol, coding_category_by_priority,
9765 coding_category_system, fcd_descriptihon_1, decode_coding_category,
9766 Fcoding_category_list, Fset_coding_priority_list,
9767 Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region,
9768 vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST.
9770 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9772 * redisplay-output.c (redisplay_clear_top_of_window): Remove static.
9773 * redisplay-output.c (redisplay_output_window): Clear top of window
9774 when face is changed.
9775 * redisplay-x.c (x_redraw_exposed_window): Call
9776 redisplay_clear_top_of_window.
9777 * redisplay.h: Publish redisplay_clear_top_of_window.
9779 2000-12-18 Yoshiki Hayashi <yoshiki@xemacs.org>
9781 * buffer.c (Fkill_buffer): Map over all devices.
9782 * window.c (window_loop): Remove UNSHOW_BUFFER code.
9783 (list_windows): New function.
9784 (list_all_windows): Ditto.
9785 (Freplace_buffer_in_windows): Use them.
9787 2000-02-02 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
9789 * database.c (berkdb_subtype): Recognize new subtype `queue'.
9790 (Fopen_database): Use `db_create' instead of `db_open'.
9791 (syms_of_database): Initialize Qqueue.
9793 2000-12-13 Yoshiki Hayashi <yoshiki@xemacs.org>
9795 * buffer.c (common_init_complex_vars_of_buffer): Initialize
9796 buffer_local_face_property.
9797 * buffer.h (struct buffer): New member buffer_local_face_property.
9798 * window.c (Fset_window_buffer): Mark window's face as changed
9799 when buffer has buffer local face.
9800 * window.h (MARK_WINDOW_FACES_CHANGED): New macro.
9801 * objects.c (color_after_change): Set buffer_local_face_property
9802 when locale of face specifier is buffer.
9803 * objects.c (font_after_change): Ditto.
9804 * objects.c (face_boolean_after_change): Ditto.
9805 * glyphs.c (image_after_change): Ditto.
9807 2000-12-09 Dan Holmsand <dan@eyebee.com>
9809 * nt.c (mswindows_fstat): Report file permissions, volume serial
9810 number, etc. Code adapted from FSF Emacs 20.7.
9812 2000-12-09 Dan Holmsand <dan@eyebee.com>
9814 * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead
9815 of stat when we don't have symbolic links, to make sure
9816 mswindows_stat is called on mswindows.
9818 2000-12-12 Yoshiki Hayashi <yoshiki@xemacs.org>
9820 * alloca.c: Define malloc to xmalloc only when built with XEmacs.
9822 2000-12-12 Martin Buchholz <martin@xemacs.org>
9824 * doprnt.c (emacs_doprnt_1): More printing fixes.
9825 Make printing of numbers compatible with libc and FSF Emacs.
9826 BUG was: (format "%6.3f" 1.2) ==>"1.200000"
9827 Use the system printf to do most of the hard work of formatting,
9828 instead of doprnt_1().
9829 Calculate memory to allocate for format string.
9830 Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14)
9831 (doprnt_1): Cleaner code and documentation.
9833 2000-12-01 Jerry James <james@eecs.ukans.edu>
9835 * Makefile.in.in: Use the loop variable to install headers.
9837 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9839 * window.c (Fsplit_window): Don't invalidate face cache.
9841 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9843 * minibuf.c (Fall_completions): Undo the previous change
9844 which removed checking elements start with space.
9846 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9848 * mule-canna.c: Didier suppression.
9850 2000-12-06 Stephen Turnbull <stephen@xemacs.org>
9852 * mule-canna.c: rename static unsigned char buf[] to key_buffer
9853 (warning suppression). Add English comment translations.
9855 2000-12-05 Martin Buchholz <martin@xemacs.org>
9857 * unexelfsgi.c (unexec): Better test for mmap failure.
9859 2000-12-05 Martin Buchholz <martin@xemacs.org>
9861 * XEmacs 21.2.38 is released.
9863 2000-12-05 Martin Buchholz <martin@xemacs.org>
9865 * redisplay.c (bar-cursor): Make a user variable.
9867 * symsinit.h: Add init_postgresql_from_environment.
9869 2000-12-04 Yoshiki Hayashi <yoshiki@xemacs.org>
9871 * regex.c: Convert to clean C.
9873 2000-12-05 Dan Holmsand <dan@eyebee.com>
9876 Don't #include sysfile.h. Revert to duplicating PATH_MAX
9878 (sys_readlink): renamed to system_readlink to avoid conflict with
9879 the other sys_readlink.
9881 2000-12-04 Hiroaki Abe <h-abe@pc.highway.ne.jp>
9883 * dumper.c (pdump_file_get): Correct uses of pdump_fd.
9885 2000-12-04 Stephen J. Turnbull <stephen@xemacs.org>
9887 * postgresql.c (init_postgresql_from_environment): new function.
9888 (vars_of_postgresql): Move code initializing Lisp variables out and
9889 into init_postgresql_from_environment.
9890 emacs.c (main_1): Call init_postgresql_from_environment if and only
9891 if running a dumped XEmacs.
9893 2000-08-31 Dan Holmsand <dan@eyebee.com>
9895 * buffer.c: Make find-file-compare-truenames default to true on
9898 * realpath.c (win32_abs_start):
9900 (win32_readlink): New functions.
9901 (xrealpath): Return really real filenames on windows.
9903 * fileio.c (Ffile_truename): Make file-truename work on windows.
9905 2000-11-29 Didier Verna <didier@xemacs.org>
9907 * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro.
9908 * faces.c (update_face_cachel_data): use it.
9909 * faces.c (add_face_cachel): use it. Complete background pixmap
9910 frobbing in face cache if `update_face_cachel_data' has not done so.
9912 2000-11-29 Yoshiki Hayashi <yoshiki@xemacs.org>
9914 * search.c (string_match_1): Don't set last_thing_searched
9917 2000-11-27 Yoshiki Hayashi <yoshiki@xemacs.org>
9919 * buffer.c: Include casetab.h
9920 (common_init_complex_vars_of_buffer): Use new case-table object.
9921 * buffer.h: Include casetab.h
9922 * buffer.h (MAKE_TRT_TABLE): Use generic char-table.
9923 (DOWNCASE_TABLE_OF): Ditto.
9924 * bufslots.h: Remove char-tables and add case-table.
9925 * casetab.c: Include casetab.h
9926 (CASE_TABLE_P): Removed.
9927 (mark_case_table): New function.
9928 (allocate_case_table): New function.
9929 (Fcase_table_p): Use new case-table.
9930 (case_table_char): New function.
9931 (Fget_case_table): Ditto.
9932 (Fput_case_table): Ditto.
9933 (Fput_case_table_pair): Ditto.
9934 (Fcopy_case_table): Ditto.
9935 (Fcurrent_case_table): Return case-table.
9936 (Fstandard_case_table): Return case-table.
9937 (Fset_case_table): Fix doc-string.
9938 (set_case_table): Use case-table
9939 (syms_of_casetab): DEFSUBR new functions.
9940 (complex_vars_of_casetab): Set up standard case-table.
9941 * casetab.h: New file.
9942 * editfns.c: Include casetab.h
9943 (Fcompare_buffer_substrings): Use case-table.
9944 * inline.c: Include casetab.h
9945 * lisp.h: Remove bogus extern.
9946 * lrecord.h (lrecord_type): Add lrecord_type_case_table.
9947 * search.c: Include casetab.h
9948 (TRANSLATE_ASCII): Removed.
9949 (TRANSLATE): Unconditionally translate character.
9950 (looking_at_1): Use case-table.
9951 (string_match_1): Ditto.
9952 (fast_string_match): Ditto.
9953 (search_command): Ditto.
9954 (search_buffer): Separate boyer_moore. Check whether
9955 boyer_moore is possible.
9956 (simple_search): New function.
9957 (boyer_moore): Separated from search_buffer. Translate char.
9959 2000-11-24 Yoshiki Hayashi <yoshiki@xemacs.org>
9961 * regex.c (RE_TR_ASCII): Removed.
9962 (RE_TRANSLATE): Unconditionally use TRT_TABLE.
9963 (PATFETCH): Call PATFETCH_RAW.
9964 (PATFETCH_RAW): Fetch Emchar.
9965 (PATUNFETCH): Decrement charptr.
9966 (GET_BUFFER_SPACE): Rename b to buf_end.
9968 (BUF_PUSH_2): Ditto.
9969 (BUF_PUSH_3): Ditto.
9970 (EXTEND_BUFFER): Ditto.
9971 (SET_LIST_BIT): Ditto.
9972 (regex_compile): Ditto. Translate non ASCII char.
9973 (compile_range): Ditto.
9974 (re_search_2): Ditto.
9975 (re_match_2_internal): Compare Emchar.
9976 (bcmp_translate): Ditto.
9978 2000-11-29 Stephen J. Turnbull <turnbull@xemacs.org>
9980 * lisp.h (basic char/int typedefs): comment improvement.
9982 2000-11-24 Stephen J. Turnbull <turnbull@xemacs.org>
9984 * emacs.c (main_1): unconditional pdump unstomping; don't save and
9985 unstomp inhibit_site_lisp. Improve comments.
9987 2000-11-22 Stephen J. Turnbull <turnbull@xemacs.org>
9989 * mule-charset.c (Fcharset_property): improve type checking, comments.
9991 2000-11-28 Andy Piper <andy@xemacs.org>
9993 * redisplay-output.c (redisplay_output_subwindow): make sure we do
9994 clipped display for windows in the gutter also.
9995 (redisplay_display_boxes_in_window_p): change semantics of return
9996 codes to be more intuitive.
9998 * gutter.h: declare display_boxes_in_gutter_p.
10000 * gutter.c (display_boxes_in_gutter_p): new function for
10003 2000-11-22 Andy Piper <andy@xemacs.org>
10005 * glyphs-x.c (image_instantiator_format_create_glyphs_x): change
10008 2000-11-21 Yoshiki Hayashi <yoshiki@xemacs.org>
10010 * callproc.c (Fold_call_process_internal):
10011 * gpm.c (Freceive_gpm_event):
10012 (tty_get_foreign_selection): Might be just warning supression.
10013 * fileio.c (Fwrite_region_internal):
10014 (Fset_visited_file_modtime):
10015 * keymap.c (event_matches_key_specifier_p):
10016 Initialize GCPROed variable.
10018 * menubar-x.c (command_builder_find_menu_accelerator):
10019 Initialize before use.
10021 2000-11-23 Andy Piper <andy@xemacs.org>
10023 * unexcw.c (unexec): make the resulting executable executable.
10025 2000-11-21 Martin Buchholz <martin@xemacs.org>
10027 * doc.c (get_doc_string):
10028 Use size_t, not int, for result of XSTRING_LENGTH.
10030 * cmds.c (Fdelete_char):
10031 * cmds.c (Fpoint_at_eol):
10032 * cmds.c (Fself_insert_command):
10033 Use EMACS_INT, not int, for result of XINT.
10034 Someday, someone will want to insert more than 2**31 identical characters.
10036 * cmds.c (Fdelete_char):
10037 * cmds.c (Fdelete_backward_char):
10038 * syntax.c (Fforward_word):
10039 * syntax.c (Fforward_comment):
10040 Make COUNT argument optional, for consistency with forward-char et al.
10042 2000-11-22 Martin Buchholz <martin@xemacs.org>
10045 * print.c (long_to_string):
10046 Return a useful value: the pointer at end of data written.
10049 Use `static const char * const' for constant strings.
10050 (union printf_arg): Delete `i', `ui' members.
10053 Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1"
10054 Do all printf-ing via the `l' specifier.
10055 Use EMACS_INT instead of int.
10058 2000-11-20 Didier Verna <didier@xemacs.org>
10060 * faces.c (update_face_cachel_data): don't frob the background
10061 pixmap when the window is being created. The face is needed but
10062 does not exist yet.
10064 2000-11-20 Andy Piper <andy@xemacs.org>
10066 * unexcw.c (copy_executable_and_dump_data_section): Only do bss
10067 messing with a debug environment.
10069 2000-11-20 Martin Buchholz <martin@xemacs.org>
10071 * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype.
10073 2000-11-20 Martin Buchholz <martin@xemacs.org>
10075 * casetab.c (Fcase_table_p): Fix compile error and crash.
10077 2000-11-18 Philip Aston <philipa@mail.com>
10079 * s/cygwin32.h: Cygwin has SVR4-like pty support.
10081 2000-11-18 Martin Buchholz <martin@xemacs.org>
10083 * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'.
10084 * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars!
10086 2000-11-17 Martin Buchholz <martin@xemacs.org>
10088 * config.h.in: Define HAVE_ELF_H if elf.h exists.
10089 * unexelf.c: Use HAVE_ELF_H.
10090 * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working.
10091 I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it.
10092 Max Matveev <makc@sgi.com> removed non-SGI-relevant parts and tested.
10093 Greg Harrington <greg_harrington@hotmail.com> provided a machine
10095 So this is an unexelfsgi.c from a different line of development.
10097 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10099 * regex.c (RE_TR_ASCII): New function.
10100 (RE_TRANSLATE): Call it.
10102 2000-11-16 Yoshiki Hayashi <yoshiki@xemacs.org>
10104 * buffer.h (TRT_TABLE_OF): Remove assert.
10105 (IN_TRT_TABLE_DOMAIN): Removed.
10107 2000-11-16 Gunnar Evermann <ge204@eng.cam.ac.uk>
10109 * free-hook.c (log_gcpro):
10110 (show_gcprohist): Add support for GCPRO5.
10112 2000-11-08 Stephen J. Turnbull <stephen@xemacs.org>
10114 * emacs.c (main_1): Improve -sd error message when --pdump=no.
10116 2000-11-16 Olivier Galibert <galibert@xemacs.org>
10118 * symeval.h: Declare flush_all_buffer_local_cache.
10120 * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs.
10121 (flush_buffer_local_cache): Added.
10122 (flush_all_buffer_local_cache): Added.
10124 * lrecord.h: Remove unused XD_LO_RESET_NIL.
10126 * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL.
10127 (pdump_dump_data): Ditto.
10128 (pdump_reloc_one): Ditto.
10129 (pdump): Remove unused pdump_qnil. Flush buffer local caches
10133 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10135 * buffer.c: Remove if 0'ed entry.
10136 * buffer.h: Rewrite TRT to use char-table.
10137 * bufslots.h: Remove mirror tables.
10138 * casetab.c: Remove mirror tables.
10139 (CASE_TABLE_P): New macro.
10140 (Fcase_table_p): Element of a case table is string or char-table.
10141 (make_mirror_trt_table): Removed.
10142 (set_case_table): Setup char-table from strings for backward
10144 * dired.c (Fdirectory_files):
10145 * dired-msw.c: (mswindows_get_files):
10146 * lisp.h: Change prototype of re_pattern_buffer.
10147 * regex.c: (RE_TRANSLATE): New macro.
10148 (TRANSLATE_P): Ditto.
10149 Change translate to type RE_TRANSLATE_TYPE.
10150 * regex.h: Define RE_TRANSLATE_TYPE
10151 * search.c (TRANSLATE): New macro.
10152 (TRANSLATE_ASCII): New macro.
10153 Translate table is changed to Lisp_Object.
10154 (signal_failure): Inhibit return.
10156 2000-11-14 Yoshiki Hayashi <yoshiki@xemacs.org>
10163 Do UNGCPRO before return.
10165 2000-11-14 Martin Buchholz <martin@xemacs.org>
10167 * XEmacs 21.2.37 is released.
10169 2000-11-13 Yoshiki Hayashi <yoshiki@xemacs.org>
10171 * fileio.c (Finsert_file_contents_internal): UNGCPRO before return.
10172 Add comments about discarded return value.
10174 2000-11-09 Yoshiki Hayashi <yoshiki@xemacs.org>
10177 * event-stream.c: Fix comments. Remove some #if 0'ed part.
10179 2000-10-27 Andy Piper <andy@xemacs.org>
10181 * gutter.c (Fset_default_gutter_position): default left and right
10182 gutters to visible.
10183 (calculate_gutter_size): calculate resonable heuristic for left
10184 and right gutter sizes.
10185 (specifier_vars_of_gutter): change left and right gutter sizes to
10187 (calculate_gutter_size_from_display_lines): new function.
10188 (output_gutter): check for resizing on left and right gutters.
10189 (clear_gutter): don't special case top and left gutters.
10190 (specifier_vars_of_gutter): use new signature for
10191 set_specifier_caching.
10193 * glyphs-x.c (x_redisplay_widget): spelling fix.
10194 * glyphs.c (specifier_vars_of_glyphs):
10195 * menubar.c (specifier_vars_of_menubar):
10196 * redisplay.c (specifier_vars_of_redisplay):
10197 * toolbar.c (specifier_vars_of_toolbar):
10198 * window.c (specifier_vars_of_window):
10199 * scrollbar.c (specifier_vars_of_scrollbar):
10200 (complex_vars_of_scrollbar): use new signature for
10201 set_specifier_caching.
10203 * specifier.c (set_specifier_caching): include recompute flag.
10204 (recompute_one_cached_specifier_in_window): always recompute if
10206 (recompute_one_cached_specifier_in_frame): ditto.
10208 * specifier.h (struct specifier_caching): add recompute flag.
10210 2000-10-24 Andy Piper <andy@xemacs.org>
10212 * unexcw.c (copy_executable_and_dump_data_section): add new
10213 BSS_PAD_SIZE so that we can re-instate a mini-bss. This keeps gdb
10216 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10218 * console-x.h (x_device): New member modifier_release_time.
10219 * event-Xt.c (x_handle_sticky_modifiers):
10220 Bound interval modifier keys are sticky.
10221 * event-stream.c (Vmodifier_keys_sticky_time): New variable.
10222 * events.h: extern it.
10224 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10226 * cmdloop.c (Fcommand_loop_1): Just add C-g to event queue.
10228 2000-11-06 Yoshiki Hayashi <yoshiki@xemacs.org>
10230 * event-stream.c (execute_command_event): Preserve current_events
10231 and the like when event is misc-user-event.
10232 Inhibit quit during the call to maybe_echo_keys.
10234 2000-10-31 Yoshiki Hayashi <yoshiki@xemacs.org>
10236 * filelock.c (lock_buffer): Cope with kill-buffer. Don't create a
10237 symlink when buffer is killed.
10238 (inhibit_clash_detection): New variable.
10240 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10242 * console.c (Fset_input_method): Trigger redisplay on tty.
10244 2000-11-07 Martin Buchholz <martin@xemacs.org>
10246 * process.c (Fprocess_status): Revert to previous behavior:
10247 (process-status "nosuchprocess") ==> nil
10249 2000-11-06 Martin Buchholz <martin@xemacs.org>
10251 * mule-charset.h (CHARSET_BY_LEADING_BYTE):
10252 Work around another GCC 2.95.2 optimizer bug.
10254 2000-11-02 Martin Buchholz <martin@xemacs.org>
10256 * process.c (Fget_process): Use LIST_LOOP_2.
10257 (kill_buffer_processes): Use LIST_LOOP_2.
10259 * minibuf.c (Fall_completions):
10260 Delete old non-functional code for FSF fourth argument.
10262 * frame.c (frame_matches_frame_spec):
10263 Renamed from `frame_matches_frametype'. Update all callers.
10264 (device_matches_device_spec):
10265 Renamed from 'device_matches_console_spec'. Update all callers.
10267 * doc.c (Fsubstitute_command_keys):
10268 Remove buffer overflow crash. Small code cleanups.
10270 * casetab.c (check_case_table): Simpler code.
10272 * window.c (Freplace_buffer_in_windows):
10273 Give this the same WHICH-FRAMES and WHICH-DEVICES parameters
10274 (and similar implementation) as Fdelete_windows_on.
10275 Update all callers.
10277 * alloc.c (Fmake_list):
10278 * alloc.c (make_vector):
10279 * alloc.c (Fmake_vector):
10280 * alloc.c (make_bit_vector):
10281 * alloc.c (Fmake_bit_vector):
10282 * alloc.c (Fbit_vector):
10283 * alloc.c (Fmake_string):
10284 * alloc.c (Fpurecopy):
10285 * alloc.c (Fmemory_limit):
10287 * buffer.c (Fget_buffer):
10288 * buffer.c (Fkill_buffer):
10289 * buffer.c (complex_vars_of_buffer):
10290 * bytecode.c (Fcompiled_function_stack_depth):
10291 * callint.c (Fprefix_numeric_value):
10293 * event-stream.c (Fread_key_sequence):
10295 * casetab.c (Fcase_table_p):
10296 * casetab.c (check_case_table):
10297 * casetab.c (Fset_case_table):
10298 * casetab.c (Fset_standard_case_table):
10300 * chartab.c (Fchar_table_type):
10301 * chartab.c (Freset_char_table):
10302 * chartab.c (Fget_char_table):
10303 * chartab.c (Fget_range_char_table):
10304 * chartab.c (Fput_char_table):
10305 * chartab.c (Fmap_char_table):
10306 * chartab.c (Fcategory_table_p):
10307 * chartab.c (Fcheck_category_at):
10308 * chartab.c (Fchar_in_category_p):
10309 * chartab.c (Fcategory_table):
10310 * chartab.c (Fcopy_category_table):
10311 * chartab.c (Fset_category_table):
10312 * chartab.c (Fcategory_designator_p):
10313 * chartab.c (Fcategory_table_value_p):
10314 * cmds.c (Fdelete_char):
10315 * cmds.c (Fdelete_backward_char):
10316 * cmds.c (Fself_insert_command):
10317 * cmds.c (Fself_insert_internal):
10318 * console.c (Fvalid_console_type_p):
10319 * console.c (Fcdfw_console):
10320 * console.c (Fconsole_type):
10321 * console.c (Fconsole_name):
10322 * console.c (Fconsole_device_list):
10323 * console.c (Fconsole_on_window_system_p):
10326 * data.c (Fold_eq):
10327 * data.c (Fsubr_interactive):
10328 * data.c (Fchar_to_int):
10329 * data.c (Fint_to_char):
10330 * data.c (Fsetcar):
10331 * data.c (Fsetcdr):
10332 * data.c (Fnumber_to_string):
10333 * data.c (Fstring_to_number):
10335 * database.c (mark_database):
10336 * database.c (finalize_database):
10337 * database.c (Fdatabase_live_p):
10338 * database.c (Fdatabasep):
10339 * device-x.c (Fx_get_resource):
10340 * device.c (Fdfw_device):
10342 * dired.c (Ffile_name_completion):
10343 * dired.c (Ffile_name_all_completions):
10344 * dired.c (Fuser_name_completion):
10345 * dired.c (Fuser_name_completion_1):
10346 * dired.c (Fuser_name_all_completions):
10347 * doc.c (Fdocumentation):
10348 * doc.c (Fdocumentation_property):
10349 * doc.c (Fsubstitute_command_keys):
10351 * editfns.c (Fchar_to_string):
10352 * editfns.c (Fstring_to_char):
10353 * editfns.c (Ftemp_directory):
10354 * editfns.c (Finsert_char):
10355 * editfns.c (Fbuffer_substring_no_properties):
10356 * editfns.c (Fnarrow_to_region):
10357 * editfns.c (Fchar_equal):
10358 * editfns.c (Fchar_Equal):
10359 * editfns.c (Ftranspose_regions):
10360 * emacs.c (Fdump_emacs):
10362 * eval.c (Fcommand_execute):
10363 * eval.c (Fautoload):
10364 * eval.c (Fbacktrace):
10365 * eval.c (Fbacktrace_frame):
10367 * events.c (Fcopy_event):
10368 * events.c (Fcharacter_to_event):
10369 * events.c (Fevent_button):
10370 * events.c (Fevent_process):
10372 * extents.c (Fnext_extent_change):
10373 * extents.c (Fextent_property):
10374 * faces.c (Ffacep):
10375 * faces.c (Fmake_face):
10377 * file-coding.c (Fencode_shift_jis_char):
10378 * file-coding.c (Fencode_big5_char):
10379 * fileio.c (Ffile_name_directory):
10380 * fileio.c (Ffile_name_nondirectory):
10381 * fileio.c (Ffile_name_as_directory):
10382 * fileio.c (Fdirectory_file_name):
10383 * fileio.c (Ffile_truename):
10384 * fileio.c (Fsubstitute_in_file_name):
10385 * fileio.c (Ffile_modes):
10386 * fileio.c (Fset_file_modes):
10387 * fileio.c (Fset_default_file_modes):
10388 * fileio.c (Fverify_visited_file_modtime):
10389 * floatfns.c (Facos):
10390 * floatfns.c (Fasin):
10391 * floatfns.c (Fatan):
10392 * floatfns.c (Fcos):
10393 * floatfns.c (Fsin):
10394 * floatfns.c (Ftan):
10395 * floatfns.c (Fbessel_j0):
10396 * floatfns.c (Fbessel_j1):
10397 * floatfns.c (Fbessel_jn):
10398 * floatfns.c (Fbessel_y0):
10399 * floatfns.c (Fbessel_y1):
10400 * floatfns.c (Fbessel_yn):
10401 * floatfns.c (Ferf):
10402 * floatfns.c (Ferfc):
10403 * floatfns.c (Flog_gamma):
10404 * floatfns.c (Fexp):
10405 * floatfns.c (Fexpt):
10406 * floatfns.c (Flog):
10407 * floatfns.c (Flog10):
10408 * floatfns.c (Fsqrt):
10409 * floatfns.c (Fcube_root):
10410 * floatfns.c (Facosh):
10411 * floatfns.c (Fasinh):
10412 * floatfns.c (Fatanh):
10413 * floatfns.c (Fcosh):
10414 * floatfns.c (Fsinh):
10415 * floatfns.c (Ftanh):
10416 * floatfns.c (Fabs):
10417 * floatfns.c (Ffloat):
10418 * floatfns.c (Flogb):
10419 * floatfns.c (Fceiling):
10420 * floatfns.c (Ffloor):
10421 * floatfns.c (Fround):
10422 * floatfns.c (Ftruncate):
10423 * floatfns.c (Ffceiling):
10424 * floatfns.c (Fffloor):
10425 * floatfns.c (Ffround):
10426 * floatfns.c (Fftruncate):
10427 * fns.c (Fstring_equal):
10428 * fns.c (Fstring_lessp):
10431 * fns.c (vconcat2):
10432 * fns.c (vconcat3):
10433 * fns.c (Fsubstring):
10435 * fns.c (Fold_assoc):
10436 * fns.c (assoc_no_quit):
10438 * fns.c (Fold_assq):
10439 * fns.c (assq_no_quit):
10441 * fns.c (Fold_rassoc):
10443 * fns.c (Fold_rassq):
10444 * fns.c (rassq_no_quit):
10445 * fns.c (Fremassoc):
10446 * fns.c (remassoc_no_quit):
10447 * fns.c (Fremassq):
10448 * fns.c (remassq_no_quit):
10449 * fns.c (Fremrassoc):
10450 * fns.c (Fremrassq):
10451 * fns.c (remrassq_no_quit):
10453 * fns.c (Fplist_get):
10454 * fns.c (Fplist_put):
10455 * fns.c (Fplist_remprop):
10456 * fns.c (Fplist_member):
10457 * fns.c (Flax_plist_get):
10458 * fns.c (Flax_plist_put):
10459 * fns.c (Flax_plist_remprop):
10460 * fns.c (Flax_plist_member):
10462 * fns.c (Fold_equal):
10463 * fns.c (Frequire):
10464 * fns.c (Fbase64_encode_region):
10465 * fns.c (Fbase64_encode_string):
10466 * fns.c (Fbase64_decode_region):
10468 * frame.c (frame_matches_frame_spec):
10469 * frame.c (device_matches_device_spec):
10470 * frame.c (next_frame):
10471 * frame.c (previous_frame):
10472 * frame.c (Fnext_frame):
10473 * frame.c (Fprevious_frame):
10474 * frame.c (Fframe_property):
10475 * frame.c (Fset_frame_height):
10476 * frame.c (Fset_frame_size):
10480 * glyphs.c (decode_error_behavior_flag):
10481 * glyphs.c (Fmake_image_instance):
10482 * indent.c (Findent_to):
10483 * intl.c (Fignore_defer_gettext):
10484 * keymap.c (Fkeymapp):
10485 * keymap.c (Flookup_key):
10487 * lread.c (Fload_internal):
10488 * lread.c (Feval_buffer):
10489 * lread.c (Feval_region):
10490 * macros.c (Fexecute_kbd_macro):
10491 * marker.c (set_marker_internal):
10492 * marker.c (Fset_marker):
10493 * marker.c (set_marker_restricted):
10494 * marker.c (Fcopy_marker):
10495 * marker.c (noseeum_copy_marker):
10497 * menubar.c (Fpopup_menu):
10499 * mule-charset.c (Fcharset_name):
10500 * mule-charset.c (Fchar_charset):
10501 * mule-charset.c (Fchar_octet):
10502 * mule-charset.c (Fsplit_char):
10503 * mule-wnnfns.c (Fwnn_open):
10504 * mule-wnnfns.c (Fwnn_dict_comment):
10505 * mule-wnnfns.c (Fwnn_quit_henkan):
10506 * mule-wnnfns.c (Fwnn_word_toroku):
10507 * mule-wnnfns.c (Fwnn_word_sakujo):
10508 * mule-wnnfns.c (Fwnn_word_use):
10509 * mule-wnnfns.c (Fwnn_hindo_set):
10511 * objects.c (Fmake_color_instance):
10512 * objects.c (Fmake_font_instance):
10513 * print.c (Fwrite_char):
10515 * process.c (mark_process):
10516 * process.c (print_process):
10517 * process.c (get_process_from_usid):
10518 * process.c (Fprocessp):
10519 * process.c (Fprocess_live_p):
10520 * process.c (Fget_process):
10521 * process.c (Fget_buffer_process):
10522 * process.c (get_process):
10523 * process.c (Fprocess_id):
10524 * process.c (Fprocess_name):
10525 * process.c (Fprocess_command):
10526 * process.c (init_process_io_handles):
10527 * process.c (start_process_unwind):
10528 * process.c (Fstart_process_internal):
10529 * process.c (Fopen_multicast_group_internal):
10530 * process.c (Fset_process_window_size):
10531 * process.c (read_process_output):
10532 * process.c (send_process):
10533 * process.c (Fprocess_tty_name):
10534 * process.c (Fset_process_buffer):
10535 * process.c (Fprocess_buffer):
10536 * process.c (Fprocess_mark):
10537 * process.c (set_process_filter):
10538 * process.c (Fset_process_filter):
10539 * process.c (Fprocess_filter):
10540 * process.c (Fprocess_send_region):
10541 * process.c (Fprocess_send_string):
10542 * process.c (exec_sentinel):
10543 * process.c (Fset_process_sentinel):
10544 * process.c (Fprocess_sentinel):
10545 * process.c (status_notify):
10546 * process.c (Fprocess_status):
10547 * process.c (Fprocess_exit_status):
10548 * process.c (process_send_signal):
10549 * process.c (Fprocess_send_eof):
10550 * process.c (deactivate_process):
10551 * process.c (remove_process):
10552 * process.c (Fdelete_process):
10553 * process.c (kill_buffer_processes):
10554 * process.c (Fprocess_kill_without_query):
10555 * process.c (Fprocess_kill_without_query_p):
10557 * rangetab.c (Fget_range_table):
10558 * rangetab.c (Fput_range_table):
10559 * rangetab.c (Fremove_range_table):
10560 * rangetab.c (Fclear_range_table):
10562 * search.c (Fskip_chars_forward):
10563 * search.c (Fskip_chars_backward):
10564 * search.c (Fskip_syntax_forward):
10565 * search.c (Fskip_syntax_backward):
10566 * search.c (search_command):
10567 * search.c (Freplace_match):
10568 * search.c (Fregexp_quote):
10569 * select.c (Fown_selection_internal):
10570 * select.c (Fselection_owner_p):
10571 * select.c (Fselection_exists_p):
10572 * select.c (Fget_selection_internal):
10575 * symbols.c (Fintern):
10576 * symbols.c (Fintern_soft):
10577 * symbols.c (Funintern):
10578 * symbols.c (Fapropos_internal):
10579 * symbols.c (Fset_default):
10581 * syntax.c (Fsyntax_table_p):
10582 * syntax.c (Fcopy_syntax_table):
10583 * syntax.c (Fset_syntax_table):
10584 * syntax.c (Fchar_syntax):
10585 * syntax.c (syntax_match):
10586 * syntax.c (Fmatching_paren):
10587 * syntax.c (Fforward_word):
10588 * syntax.c (scan_lists):
10589 * syntax.c (Fscan_lists):
10590 * syntax.c (Fscan_sexps):
10591 * syntax.c (Fparse_partial_sexp):
10592 * toolbar.c (Fcheck_toolbar_button_syntax):
10595 * window.c (Fwindowp):
10596 * window.c (Fwindow_live_p):
10597 * window.c (Fwindow_point):
10598 * window.c (Fdelete_window):
10599 * window.c (Fnext_window):
10600 * window.c (Fprevious_window):
10601 * window.c (Fother_window):
10602 * window.c (window_loop):
10603 * window.c (Fget_lru_window):
10604 * window.c (Fsplit_window):
10605 * window.c (Fenlarge_window):
10606 * window.c (Fenlarge_window_pixels):
10607 * window.c (Fshrink_window):
10608 * window.c (Fshrink_window_pixels):
10609 * window.c (change_window_height):
10610 * window.c (Fwindow_configuration_p):
10611 * window.c (Fcurrent_window_configuration):
10613 * casefiddle.c (casify_object):
10614 * casefiddle.c (Fupcase):
10615 * casefiddle.c (Fdowncase):
10616 * casefiddle.c (Fcapitalize):
10617 * casefiddle.c (Fupcase_initials):
10618 * casefiddle.c (casify_region_internal):
10619 * casefiddle.c (casify_region):
10620 * casefiddle.c (Fupcase_region):
10621 * casefiddle.c (Fdowncase_region):
10622 * casefiddle.c (Fcapitalize_region):
10623 * casefiddle.c (Fupcase_initials_region):
10624 * casefiddle.c (Fupcase_word):
10625 * casefiddle.c (Fdowncase_word):
10626 * casefiddle.c (Fcapitalize_word):
10627 Docstring arglist/Texinfo fixes. See man/ChangeLog for details.
10628 Replace 0 with '\0' when working with bytes.
10629 Replace initial "(" with "\(" in docstrings.
10631 2000-11-01 Martin Buchholz <martin@xemacs.org>
10633 * config.h.in: Handle alloca with Compaq C on Alpha Linux.
10635 * m/alpha.h: Let configure handle SYSTEM_MALLOC on Linux.
10637 2000-10-31 Martin Buchholz <martin@xemacs.org>
10639 * eldap.c (print_ldap): 64-bit cleaner. Fixes warning.
10641 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10643 * doprnt.c (emacs_do_prnt_1): Format (format "%01.2d" 10)
10646 2000-10-30 Yoshiki Hayashi <yoshiki@xemacs.org>
10648 * fileio.c (Vauto_save_list_file_prefix): Moved from startup.el.
10649 (inhibit_auto_save_session): New variable.
10650 (vars_of_fileio): Declare and initialize them.
10651 * fileio.c (Fdo_auto_save): Don't create session file if
10652 Vinhibit_auto_save_session or Vauto_save_list_file_prefix is non-nil.
10654 2000-10-31 Martin Buchholz <martin@xemacs.org>
10656 * sgiplay.c (play_internal): C++ compilability.
10657 * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'.
10658 * callproc.c (Fold_call_process_internal):
10659 Remove unused vars `env', `first'.
10660 * scrollbar.c (update_scrollbar_instance):
10661 #### unused var `current_window'.
10662 * redisplay-tty.c: Put currently unused vars insert_mode_on,
10663 etc. within #ifdef NOT_YET.
10664 * emacs.c: #### unused vars `initial_argc', `initial_argv'.
10665 * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'.
10666 * specifier.c (specifier_instance):
10667 #### unused var `tag'.
10668 Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion.
10670 2000-10-27 Martin Buchholz <martin@xemacs.org>
10672 * fns.c (Fbutlast):
10673 * fns.c (list_sort):
10674 * fns.c (Ffillarray):
10675 * fns.c (bytecode_nconc2):
10678 * fns.c (Fmapconcat):
10679 Be pedantically 64-bit correct. For the time when someone will
10680 want to have a list with length > 2**32.
10682 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
10683 Work around MIPSpro compiler bug.
10685 * process-unix.c (unix_kill_child_process): Add snarky comment.
10686 * process-unix.c (try_to_initialize_subtty): Oops, `=' ==> `=='
10688 * config.h.in: Oops, _getpt ==> _getpty
10690 2000-10-26 Martin Buchholz <martin@xemacs.org>
10694 Use void*, not char*, as return type of alloca().
10696 * alloc.c (free_marker): Side effect inside assert expression!
10698 2000-10-16 MIYASHITA Hisashi <himi@m17n.org>
10700 * mule-charset.c (Fset_charset_ccl_program): To check
10701 if the given ccl program is valid, use setup_ccl_program()
10702 instead of CHECK_VECTOR().
10703 (Fmake_charset): Likewise.
10705 2000-10-20 Golubev I. N. <gin@mo.msk.ru>
10707 * faces.c (get_extent_fragment_face_cache_index):
10708 Fix cachel.merged_faces memory leak.
10710 2000-10-14 MIYASHITA Hisashi <himi@m17n.org>
10712 * mule-ccl.c (ccl_driver)<CCL_DECODE_SJIS>:
10713 Reset MSB of octets obtained by DECODE_SJIS
10714 because of the incompatibility with Emacs.
10715 (ccl_driver)<CCL_ENCODE_SJIS>:
10716 Set MSB of octets before passing them to
10717 ENCODE_SJIS because of the incompatibility
10720 2000-10-18 Daiki Ueno <ueno@unixuser.org>
10722 * lrecord.h (DECLARE_TYPECHECK_LRECORD): Abolish.
10723 (DECLARE_LRECORD): Undo the last change.
10724 (DECLARE_EXTERNAL_LRECORD): Expand typechecking stuff.
10726 2000-10-17 Daiki Ueno <ueno@unixuser.org>
10728 * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Connect
10729 the implementation to lrecord_implementations_table.
10731 2000-10-14 Daiki Ueno <ueno@unixuser.org>
10733 * lrecord.h (MAKE_EXTERNAL_LRECORD_IMPLEMENTATION): Don't set the
10734 initial value of `lrecord_type_##c_name' and
10735 `lrecord_##c_name.lrecord_type_index'; discard "const" qualifier.
10736 (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): New macro.
10737 [ERROR_CHECK_TYPECHECK] (DECLARE_TYPECHECK_LRECORD): New macro.
10738 [ERROR_CHECK_TYPECHECK] (DECLARE_LRECORD): Use it.
10739 [ERROR_CHECK_TYPECHECK] (DECLARE_EXTERNAL_LRECORD): Use it.
10741 2000-10-17 Martin Buchholz <martin@xemacs.org>
10743 * miscplay.c (sndcnv8S_2mono):
10744 (sndcnv2monounsigned):
10745 (sndcnvULaw_2linear):
10747 Remove implementation-defined behavior.
10749 2000-10-12 Martin Buchholz <martin@xemacs.org>
10751 * input-method-xlib.c: Warning suppression.
10753 2000-10-05 MIYASHITA Hisashi <himi@m17n.org>
10755 * mule-ccl.c: Sync up with Emacs 21.0.90.
10756 (ccl_driver)<CCL_TranslateCharacter>: Disabled.
10758 (ccl_driver)<CCL_TranslateCharacterConstTbl>:
10760 (ccl_driver[WriteMultibyteChar2]): Bug fix.
10761 Use MAX_LEADING_BYTE_OFFICIAL_2 instead of
10762 MIN_LEADING_BYTE_OFFICIAL_2 to check whether the
10763 leading char belongs to official 2-dimensional charset.
10764 (CCL_WRITE_CHAR): When CCL_MODE_ENCODING,
10765 write the given character as is. Otherwise,
10766 if it is a multibyte char, convert it by
10767 non_ascii_set_charptr_emchar, then write it.
10768 (CCL_WRITE_STRING): Likewise.
10769 (ccl_get_compiled_code): New function.
10770 (setup_ccl_program): When ccl_prog is invalid,
10772 (Fregister_code_conversion_map): New function.
10773 (syms_of_mule_ccl): defsubr Fregister_code_conversion_map.
10775 * mule-ccl.h: Sync up with Emacs 21.0.90.
10776 (Fregister_ccl_program): export it.
10778 * redisplay-msw.c (separate_textual_runs):
10779 If ccl program is not valid, don't do ccl conversion.
10781 * redisplay-x.c (separate_textual_runs): Ditto.
10783 * file-coding.c (Fmake_coding_system):
10784 When type is ccl and value is vector, register it
10785 with a proper symbol. And checks whether the
10786 given ccl program is valid.
10787 (mule_decode): When calling ccl_driver, if src indicates
10788 NULL pointer, set an empty string instead.
10789 (mule_encode): Likewise.
10791 2000-10-11 Martin Buchholz <martin@xemacs.org>
10793 The following large batch of changes gets us back to a state of
10794 C++ compilability. Extbyte is now a char, which means that
10795 Extbyte * and Bufbyte * cannot be freely interchanged - a win!
10797 * tooltalk.c (Fset_tooltalk_message_attribute): Type correctness.
10799 * sound.c (Fplay_sound): Type correctness.
10801 * select-x.c (hack_motif_clipboard_selection): Type correctness.
10802 (x_get_window_property): Type correctness.
10803 (receive_incremental_selection): unsigned char ==> Extbyte
10804 (selection_data_to_lisp_data): unsigned char ==> Extbyte
10805 (Fx_get_cutbuffer_internal): unsigned char ==> Extbyte
10806 (Fx_store_cutbuffer_internal): Type correctness.
10808 * process-unix.c (try_to_initialize_subtty): Type correctness.
10810 * objects-x.c (x_print_color_instance): Type correctness.
10811 (x_print_font_instance): Type correctness.
10812 (x_list_fonts): SExtbyte ==> Extbyte.
10813 (valid_x_font_name_p): SExtbyte ==> Extbyte.
10814 (x_find_charset_font): SExtbyte ==> Extbyte.
10815 Use TO_INTERNAL_FORMAT. build_string ==> make_string.
10816 (truename_via_XListFonts): SExtbyte ==> Extbyte.
10817 (x_font_instance_properties): Use TO_INTERNAL_FORMAT.
10818 Use bufbyte_strcmp.
10820 * mule-charset.h (LEADING_BYTE_PREFIX_P): unsigned char ==> Bufbyte
10821 (PRIVATE_LEADING_BYTE_PREFIX): Add paranoia cast.
10822 (BYTE_ASCII_P): Use bit ops for char-signedness safety.
10823 (BYTE_C0_P): Use bit ops for char-signedness safety.
10824 (BYTE_C1_P): Use bit ops for char-signedness safety.
10825 (CHARSET_BY_LEADING_BYTE):
10826 (CHARSET_BY_ATTRIBUTES):
10827 Always use inline function.
10828 Use type_checking_assert.
10831 * mule-charset.c (non_ascii_charptr_copy_char):
10832 Modify to work with both ASCII and non-ASCII characters.
10833 Improve docs and variable names.
10834 Replace over-clever fall-through switch with a simple loop.
10835 (Lstream_get_emchar_1):
10836 Replace over-clever fall-through switch with a simple loop.
10838 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
10839 Warning suppression.
10841 * lstream.h (Lstream_get_emchar): BYTE_ASCII_P cannot be used on
10842 the return value of Lstream_getc, which could be EOF as well.
10844 * lstream.c (Lstream_raw_read): Now returns ssize_t, not int.
10846 * lisp.h: Make Extbyte a char, not unsigned char, so that external
10847 APIs can be used on Extbytes without casts. Risky!
10848 (SExtbyte): Remove.
10849 (UExtbyte): Remove.
10851 * input-method-xlib.c (XIM_init_device):
10852 Use Xlib.h instead of IntrinsicP.h.
10853 Use HAVE_XREGISTERIMINSTANTIATECALLBACK instead of THIS_IS_X11R6,
10854 which will break in X11R7.
10855 Use XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE,
10856 to call XRegisterIMInstantiateCallback with correct types.
10858 * gui-x.c (button_item_to_widget_value): Type correctness.
10860 * glyphs.c (bitmap_to_lisp_data): Type correctness.
10862 * glyphs-x.c (pixmap_from_xbm_inline): Type correctness.
10863 (xbm_instantiate_1): Type correctness.
10864 (BUILD_GLYPH_INST): Type correctness.
10866 * fileio.c (Fsubstitute_in_file_name): Type correctness.
10869 (decode_coding_sjis):
10870 (decode_coding_big5):
10871 (decode_coding_ucs4):
10872 (decode_coding_utf8):
10873 (decode_coding_iso2022):
10874 (decode_coding_no_conversion):
10875 Make all decoding functions take an Extbyte * arg.
10876 (encode_coding_sjis):
10877 (encode_coding_big5):
10878 (encode_coding_ucs4):
10879 (encode_coding_utf8):
10880 (encode_coding_iso2022):
10881 (encode_coding_no_conversion):
10882 Make all encoding functions take a Bufbyte * arg.
10883 Use size_t instead of unsigned int for memory sizes.
10884 Only cast to unsigned char whenever dereferencing Extbyte *.
10886 * doc.c (unparesseuxify_doc_string): Type correctness.
10888 * console-x.c (split_up_display_spec):
10889 Rewrite without using details of internal string representation.
10890 (x_semi_canonicalize_device_connection): Type correctness.
10893 (HAVE_XREGISTERIMINSTANTIATECALLBACK): New.
10894 (XREGISTERIMINSTANTIATECALLBACK_NONSTANDARD_PROTOTYPE): New.
10895 (HAVE_XFREE386): Removed.
10897 * buffer.h (DEC_CHARPTR): `const' correctness.
10898 (bufbyte_strcmp): New.
10899 (bufbyte_memcmp): New.
10901 * buffer.c (dfc_convert_to_internal_format): Extbyte ==> Bufbyte
10903 * buffer.h (XCHAR_OR_CHAR_INT):
10904 Always use inline function.
10905 Remove redundant type checking assert() - XINT will abort quite nicely.
10907 2000-10-03 Yoshiki Hayashi <yoshiki@xemacs.org>
10909 * search.c (Freplace_match): Set newtext to an empty string.
10911 2000-10-10 Martin Buchholz <martin@xemacs.org>
10913 * s/decosf1-3.h: Remove #include of stropts.h
10914 * s/ptx.h: Remove #include of stropts.h
10915 * s/usg5-4.h: Remove #include of stropts.h
10918 Use stropts.h, not sys/stropts.h.
10919 Use strtio.h, not sys/strtio.h.
10921 2000-10-04 Martin Buchholz <martin@xemacs.org>
10923 * XEmacs 21.2.36 is released.
10925 2000-09-21 Andy Piper <andy@xemacs.org>
10927 * glyphs-x.c (x_redisplay_widget): make sure non-structural
10928 changes still involve copying the widget tree.
10929 (update_widget_face): make sure a change is register in the widget
10930 tree. Call update_tab_widget_face appropriately.
10931 (update_tab_widget_face): ditto.
10932 (x_tab_control_redisplay): make sure non-structural changes still
10933 involve copying the widget tree.
10935 2000-08-31 Daiki Ueno <ueno@unixuser.org>
10937 * lread.c (locate_file): Check the path element is non-nil.
10939 2000-10-02 Martin Buchholz <martin@xemacs.org>
10941 * lisp.h: Warning suppression for SCO compilers.
10943 * redisplay-tty.c (reset_tty_modes): Fix crash.
10944 E.g. from xemacs running on X: (delete-device (make-device 'tty nil))
10946 2000-09-27 Martin Buchholz <martin@xemacs.org>
10948 Big signal/process handling overhaul. Bugs fixed:
10949 M-x shell, type `sleep 10000', M-x comint-interrupt-subjob and
10950 M-x comint-kill-subjob should work for both values nil and t of
10951 process-connection-type. It was broken on most platforms.
10952 Testing on Irix and Cygwin still needed. Other plaforms tested.
10953 * sysdep.c: Move #include of stropts.h into sysproc.h. Use pid_t.
10954 * process-unix.c: Signal/Process handling overhaul.
10955 (pty_name): make 64 bytes, as `expect' does, for paranoia.
10956 (allocate_pty): Use all available modern methods of allocating
10957 ptys, falling back to old style BSD allocation as a last resort.
10958 Use allegedly more secure Unix98 pty allocation by default.
10959 (allocate_pty_the_old_fashioned_way): New. the last resort.
10960 (unix_create_process): Push ptem, ldterm, ttcompat where
10961 available. Autoconfiscate.
10962 (try_to_initialize_subtty): New.
10963 (unix_kill_child_process): Proper signal handling for ptys on most
10964 platforms, using special knowledge of AIX, BSD, etc...
10965 (unix_create_process): Always disconnect_controlling_terminal() for
10966 subprocesses, whether using ptys or not.
10967 * process.h: Remove old getpt-dependent PTY code.
10968 * process.c (Fprocess_send_signal): New, obvious generic function.
10969 (decode_signal): New.
10970 (Finterrupt_process):
10974 (Fcontinue_process):
10975 (Fsignal_process): Use decode_signal.
10976 (process_send_signal):
10977 Many docstring corrections.
10978 Allow any signal to be sent to a process object.
10979 * config.h.in: Add symbols for big signal/process overhaul.
10980 * syssignal.h (EMACS_KILLPG): Use HAVE_KILLPG. Use `pid', not `gid'.
10981 * sysproc.h: Include process-related headers, where available:
10982 sys/stropts.h sys/strtio.h pty.h libutil.h
10990 Remove old S&M pty stuff.
10991 * console-tty.c (tty_init_console): Use pid_t, not int, for pids.
10992 * systty.h: Simplify cpp hackery, improve comments.
10993 Favor BSD ioctl(TIOCGPGRP) over Posix tcgetpgrp().
10995 * editfns.c (Fformat_time_string):
10996 Be a little more paranoid with the return value of ctime.
10998 * fileio.c (check_executable):
11000 Use symbolic constants X_OK, W_OK.
11002 * console-x.c (split_up_display_spec): Fix a warning.
11004 2000-10-02 Martin Buchholz <martin@xemacs.org>
11006 * gui-x.c (add_accel_and_to_external): strlen ==> XSTRING_LENGTH
11007 * ntproc.c (sys_spawnve): make_string ==> build_string
11008 Small clarity improvements.
11010 2000-09-30 Martin Buchholz <martin@xemacs.org>
11012 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY): Warning removal.
11014 * s/windowsnt.h (HAVE_STRCASECMP): Remove.
11016 * config.h.in (HAVE_STRCASECMP): Remove.
11018 2000-09-29 Martin Buchholz <martin@xemacs.org>
11020 * redisplay-output.c (redisplay_output_pixmap):
11021 Cleaner and possibly more 64-bit correct code.
11023 2000-09-28 Stephen J. Turnbull <stephen@xemacs.org>
11025 * dumper.c (pdump_load_finish): move restoration of
11026 `noninteractive1' to emacs.c (main_1).
11027 * emacs.c (main_1): protect LISP-visible command-line flags
11030 2000-09-26 Stephen J. Turnbull <stephen@xemacs.org>
11032 * Makefile.in.in (versionclean): Use EXE_TARGET and
11033 DUMP_TARGET instead of literal program names.
11035 2000-09-20 Martin Buchholz <martin@xemacs.org>
11037 * Makefile.in.in: Recent purify's require absolute paths for cache-dir.
11039 2000-09-19 Martin Buchholz <martin@xemacs.org>
11041 * *: Spelling mega-patch
11043 2000-09-19 Martin Buchholz <martin@xemacs.org>
11045 * fns.c (bad_bad_turtle):
11046 Delete "Eek!" comment, since we fixed the bug to which it refers.
11048 2000-09-16 Martin Buchholz <martin@xemacs.org>
11050 * alloca.c: Replace REGISTER with register.
11052 2000-09-16 Daiki Ueno <ueno@unixuser.org>
11054 * file-coding.c (ucs_to_char): Use countof.
11056 2000-09-16 Martin Buchholz <martin@xemacs.org>
11058 * file-coding.c: (ucs_to_char):
11059 (complex_vars_of_file_coding):
11060 Use countof instead of sizeof.
11061 Use CHECK_NATNUM instead of CHECK_INT.
11063 * sysdep.c (strcasecmp): Remove.
11064 * device-x.c (ascii_strcasecmp): New.
11065 * device-x.c (Fx_get_resource): Use ascii_strcasecmp.
11066 Avoid using non-standard non-portable strcasecmp.
11068 2000-09-16 Martin Buchholz <martin@xemacs.org>
11070 * Makefile.in.in (mostlyclean): remove reference to prefix-args.
11071 * font-lock.c: remove reference to emacsfns.h.
11072 * search.c: small doc improvement.
11073 * event-Xt.c: correct file names in comments.
11074 * console-x.h Correct file names in comments.
11075 * frame.c: Correct file names in comments.
11076 * event-stream.c: remove Energize from comments.
11078 2000-09-15 Martin Buchholz <martin@xemacs.org>
11080 * symeval.h (DEFERROR_STANDARD):
11083 (DEFSYMBOL_NO_DUMP):
11084 (DEFSYMBOL_MULTIWORD_PREDICATE):
11085 (DEFSYMBOL_MULTIWORD_PREDICATE_NO_DUMP):
11087 The construct &##name is not sensible C.
11088 Fixes compilation errors with Unixware native compiler.
11090 2000-09-14 Martin Buchholz <martin@xemacs.org>
11092 * frame.c (device_matches_console_spec): no longer takes a `frame' arg
11093 (next_frame_internal): Removed. We now just have next_frame.
11095 Write a simpler and cleaner one-pass algorithm.
11096 Remove called_from_delete_device arg and #ifdefed-out code.
11098 Renamed from prev_frame. Update callers.
11099 Cleaned up to have an analogous implementation to next_frame.
11100 (other_visible_frames_internal): Remove the
11101 called_from_delete_device bogus arg, and hence, remove this
11102 function. Just use other_visible_frames().
11104 * window.c (Fnext_window):
11105 Prettify docstring.
11106 Since next_frame() is guaranteed to return a frame, remove check
11107 for nil inserted in previous patch.
11108 (Fprevious_window):
11109 Prettify docstring.
11110 Make code look more like Fnext_window.
11112 Respect the `console' arg when iterating through windows.
11113 Fixes bug: (get-buffer-window buffer t device) not respecting
11115 This function needs more work, as others have pointed out.
11117 * frame.h: Rename prev_frame to previous_frame.
11118 device_matches_console_spec no longer takes a `frame' arg.
11123 Use EMACS_BLOCK_SIGNAL instead of sigblock.
11124 From "Golubev I. N." <gin@mo.msk.ru>.
11126 * make-src-depend: Fix typo.
11128 2000-09-13 Martin Buchholz <martin@xemacs.org>
11130 * window.c (Fnext_window):
11131 next_frame() might return nil, not a frame.
11133 (gdb) run -eval '(progn (make-device (quote x) "polgar:0") (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11135 * frame.c (next_frame_internal):
11136 We've passed a frame if we've passed its device.
11138 (gdb) run -eval '(progn (make-frame nil (make-device (quote x) "polgar:0")) (next-window (minibuffer-window) t (quote visible) (second (device-list))))'
11139 Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245, RECORD_TYPEP (obj, lrecord_type_frame)
11141 2000-09-11 Jonathan Harris <jhar@tardis.ed.ac.uk>
11143 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
11144 Allow option to suppress accelerators in menu/dialog items.
11145 (populate_or_checksum_helper): Pass dialog title through above.
11147 2000-09-10 Jonathan Harris <jhar@tardis.ed.ac.uk>
11149 * event-msw.c (mswindows_key_to_emacs_keysym):
11150 Add "pause" key, fix "menu" key.
11152 2000-09-09 Martin Buchholz <martin@xemacs.org>
11154 * eval.c (reinit_vars_of_eval):
11155 Increase max_lisp_eval_depth to 1000,
11156 required for thai-xtis.el to byte-compile under some circumstances.
11158 2000-09-04 Martin Buchholz <martin@xemacs.org>
11160 * event-Xt.c (x_to_emacs_keysym): Increase size of `buffer' to 513.
11161 From Kenichi Handa.
11163 2000-09-01 Martin Buchholz <martin@xemacs.org>
11165 * make-src-depend: Make the generated Makefiles smaller.
11167 * s/hpux.h (SETUP_SLAVE_PTY):
11168 Provide a %d in the format string for the errno argument.
11170 * editfns.c (Ftemp_directory):
11172 Avoid buffer overrun on very long file name.
11174 * input-method-xlib.c (XIM_init_device):
11175 6th parameter of XRegisterIMInstantiateCallback has different
11176 pointer types on different OSes, so simply cast to (void *).
11178 * unexhp9k800.c: Warning fixes. Fiddly changes.
11180 * sysdll.c (dll_open):
11181 shl_load will hang hard if passed a NULL filename.
11182 Simply return NULL for compatibility with dlopen.
11183 * sysdll.c: Conform to XEmacs coding standards.
11185 * sysdep.c (get_pty_max_bytes):
11186 Support pty input lines longer than 512 bytes on HP-UX 10.20.
11188 2000-08-31 Martin Buchholz <martin@xemacs.org>
11190 * tooltalk.c: Add #include <syssignal.h>
11192 2000-08-12 Alexandre Oliva <aoliva@redhat.com>
11194 * s/hpux.h: Don't use undefined function sigunblock().
11196 2000-08-31 Martin Buchholz <martin@xemacs.org>
11198 * config.h.in: Add HAVE_BALLOON_HELP.
11199 * emacs.c: Use HAVE_BALLOON_HELP.
11200 * Makefile.in.in (x_objs):
11201 Make Balloon Help conditional on finding shape.h.
11203 2000-08-23 Yoshiki Hayashi <yoshiki@xemacs.org>
11205 * syntax.c (regex_emacs_buffer_p): New variable.
11206 * syntax.h (regex_emacs_buffer_p): extern.
11207 * search.c (looking_at_1):
11209 (fast_string_match):
11210 (search_buffer): Set regex_emacs_buffer_p.
11211 * regex.c (re_match_2_internal): Reference regex_emacs_buffer_p
11212 when before_dot, at_dot, after_dot.
11214 2000-08-23 Andy Piper <andy@xemacs.org>
11216 * gui-x.c (popup_selection_callback): Only set action_occurred
11217 when we really have an image instance.
11218 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
11220 2000-08-23 Andy Piper <andy@xemacs.org>
11222 * gui-msw.c (mswindows_handle_gui_wm_command): set
11224 * gui-x.c (popup_selection_callback): ditto.
11226 * glyphs.h (IMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): new accessor.
11227 (XIMAGE_INSTANCE_WIDGET_ACTION_OCCURRED): ditto.
11228 (struct Lisp_Image_Instance): add action_occurred flag.
11230 * glyphs.c (redisplay_subwindow): use action_occurred flag.
11231 (image_instance_changed): ditto.
11232 (reset_frame_subwindow_instance_cache): only unmap windows - do
11233 not remove them from the cache also.
11235 * glyphs-widget.c (tab_control_update): better debug.
11236 (progress_gauge_update): ditto.
11237 (layout_update): ditto.
11238 (layout_instantiate): ditto.
11239 (tab_control_order_only_changed): cope with null pending items.
11241 * glyphs-msw.c (mswindows_tab_control_redisplay): add better
11242 debug. Force selection of an item when an action occurred. Cope
11243 with null pending_items.
11244 (mswindows_progress_gauge_redisplay): better debug.
11245 * glyphs-x.c (x_tab_control_redisplay): ditto.
11247 * redisplay.c (redisplay_frame): reset the frame cache if the
11250 * window.c (Fset_window_configuration): potentially re-enable
11252 (window_unmap_subwindows): need to finalize instances here since
11253 it is only used in mark_window_as_deleted.
11255 2000-08-22 Stephen J. Turnbull <stephen@xemacs.org>
11257 * nas.c (SndOpenDataForReading):
11258 nas.c (WaveOpenDataForReading):
11259 nas.c (readChunk): {BIG,LITTLE}_ENDIAN -> NAS_{BIG,LITTLE}_ENDIAN.
11260 Somehow escaped from the 2000-08-14 patch.
11262 2000-08-14 Stephen J. Turnbull <stephen@xemacs.org>
11264 * nas.c: Preprocessor trickery to use NAS_LITTLE_ENDIAN instead
11265 of LITTLE_ENDIAN (conflicts with glibc, at least) in NAS <= 1.2p5.
11267 2000-08-21 Andy Piper <andy@xemacs.org>
11269 * glyphs-x.c (x_map_subwindow): Minor optimization - only map the
11270 window if it is not already displayed.
11272 * glyphs-msw.c (mswindows_map_subwindow): only map the window if
11273 it is not already displayed.
11275 * window.c (Fset_window_configuration): don't reset the frame
11278 * glyphs.c (unmap_subwindow_instance_cache_mapper): only remove
11279 instances from the frame cache if we are actually finalizing them.
11280 (reset_frame_subwindow_instance_cache): reset frame cache only
11281 after unmapping everything.
11282 (map_subwindow): set displayed flag after mapping.
11284 2000-08-21 Martin Buchholz <martin@xemacs.org>
11286 * data.c (indirect_function):
11287 Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP.
11289 * eval.c (function_argcount):
11290 Use original function when signaling errors.
11292 2000-08-18 Andy Piper <andy@xemacs.org>
11294 * frame.c (delete_frame_internal): use new
11295 free_frame_subwindow_instances name.
11297 * glyphs-msw.c (mswindows_tab_control_instantiate): verify index.
11298 (add_tab_item): make return type correct.
11299 (mswindows_tab_control_instantiate): assert index of tab.
11300 (mswindows_tab_control_redisplay): Re-code to use
11301 gui_item_equal_sans_selected and gui_item_list_find_selected.
11303 * glyphs-widget.c (tab_control_update): Correct comment.
11305 * window.c (window_unmap_subwindows): use new
11306 unmap_subwindow_instance_cache_mapper.
11307 (window_unmap_subwindows_cache_mapper): deleted.
11308 (Fset_window_configuration): comparisons should now be with
11309 EQ. Preserve the subwindow instance cache across configuration
11311 (allocate_window): ditto.
11312 (make_dummy_parent): ditto.
11314 * glyphs.c (free_frame_subwindow_instances): rename from
11315 free_frame_subwindow_instance_cache. finalize all instances rather
11316 than just those in the display cache.
11317 (finalize_all_subwindow_instances): walk windows unmapping and
11318 finalizing subwindows.
11319 (unmap_subwindow_instance_cache_mapper): moved from
11320 window.c. Allow finalization as well as unmapping.
11322 * gui.c (gui_item_list_find_selected): new function.
11324 * gui.h (gui_item_list_find_selected): declare.
11326 * glyphs-x.c (x_tab_control_redisplay): pick tab
11327 explicitly. Re-code to use gui_item_equal_sans_selected and
11328 gui_item_list_find_selected.
11330 * glyphs-x.h: add lwlib-utils.h
11332 * buffer.c (Frecord_buffer): undo previous change.
11334 2000-08-09 Vin Shelton <acs@xemacs.org>
11336 * config.h.in, s/gnu.h, s/hpux.h, s/linux.h: Use UNIX98 PTYs if
11337 possible. Create temporary files more securely. The patch was
11338 generated by Torsten Duwe <duwe@caldera.de>, Florian Weimer
11339 <Florian.Weimer@RUS.Uni-Stuttgart.DE> and Olaf Kirch. See
11340 http://www.xemacs.org/list-archives/xemacs-patches/200007/msg00123.html
11343 2000-08-07 Ben Wing <ben@xemacs.org>
11345 * getloadavg.c: remove duplicate (and windows-breaking)
11346 includes of fcntl.h and sys/file.h.
11348 * nt.c: remove duplicate getloadavg() definition.
11350 * sysdll.h (Qdll_filename_encoding): add missing stand-in
11353 2000-08-07 Gunnar Evermann <ge204@eng.cam.ac.uk>
11355 * eval.c (function_argcount): If function needs to be autoloaded
11356 actually use the loaded definition.
11359 2000-08-05 Ben Wing <ben@xemacs.org>
11361 * getloadavg.c: add prototype for getloadavg(). remove
11362 duplicate WIN32_NATIVE/CYGWIN code (already in the middle
11363 of the code). remove duplicate header includes.
11365 * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY.
11367 * s\cygwin32.h, s\mingw32.h, m\windowsnt.h:
11368 don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no
11369 useful load average.
11371 * alloc.c (reinit_alloc_once_early): removed references to
11372 VIRT_ADDR_VARIES, malloc_sbrk_used/free, and data-bytes-used/free.
11373 the lisp vars are the only things referencing the malloc_sbrk_*
11374 vars, and they were already if 0'd out. these vars only exist
11375 in the older malloc.c, which is basically unused, and they're
11376 only for informational purposes.
11378 * m\*.h: removed useless VIRT_ADDR_VARIES.
11380 * m\powerpc.h: removed stray NO_ARG_ARRAY.
11382 2000-04-26 IKEYAMA Tomonori <tomonori@suiyokai.org>
11384 * redisplay-msw.c (mswindows_output_dibitmap): Set foreground
11385 color if the image is a mono pixmap.
11387 2000-07-30 Ben Wing <ben@xemacs.org>
11389 * Makefile.in.in (release):
11392 * buffer.c (directory_is_current_directory):
11393 * dired-msw.c (mswindows_get_files):
11395 * dired.c (Fdirectory_files):
11396 * dired.c (file_name_completion_stat):
11397 * dired.c (Ffile_attributes):
11398 [[[[1]]]]: Rename stat() -> xemacs_stat() and eliminate nasty
11399 preprocessor tricks, to avoid problems on some machines
11402 * callproc.c (egetenv): GC docs.
11405 * console-msw.h (struct mswindows_dialog_id):
11406 * lrecord.h (lrecord_type):
11407 New object for use with MSW dialogs.
11409 * console.h (struct console_methods):
11410 New enable/disable frame methods, for proper modal dialogs.
11412 * device-msw.c (msprinter_default_printer): Fix to follow
11413 proper Mule conventions.
11416 * device-msw.c (signal_open_printer_error):
11417 * device-msw.c (msprinter_init_device):
11418 * device-msw.c (ensure_not_printing):
11419 * device-msw.c (plist_get_margin):
11420 * device-msw.c (Fmsprinter_select_settings):
11421 * device-msw.c (finalize_devmode):
11422 * device-msw.c (Fmsprinter_settings_despecialize):
11423 * device-msw.c (signal_enum_priner_error):
11424 * extents.c (decode_extent):
11425 * extents.c (decode_map_extents_flags):
11426 * extents.c (decode_extent_at_flag):
11427 * extents.c (Fextent_at):
11428 * extents.c (Fextents_at):
11429 * extents.c (symbol_to_glyph_layout):
11430 [[[[2]]]] Use structured errors.
11433 * dialog-msw.c (mswindows_is_dialog_msg):
11434 * dialog-msw.c (mark_mswindows_dialog_id):
11435 * dialog-msw.c (dialog_proc):
11436 * dialog-msw.c (handle_question_dialog_box):
11437 * dialog-msw.c (syms_of_dialog_mswindows):
11438 Define new object to clean up marking; use it as a dialog identifier.
11439 Call new delete-dialog-box-hook.
11441 * dialog-x.c (dbox_selection_callback):
11442 * dialog-x.c (dbox_descriptor_to_widget_value):
11443 * dialog-x.c (x_make_dialog_box_internal):
11444 Call new delete-dialog-box-hook.
11448 * dialog.c (syms_of_dialog):
11449 * dialog.c (vars_of_dialog):
11450 Define new delete-dialog-box-hook, for use w/modal dialog boxes.
11453 * eval.c (signal_call_debugger):
11454 when noninteractive, output stack traces on the console instead
11455 of in a (never-seen) buffer.
11457 * eval.c (signal_type_error):
11458 * eval.c (invalid_argument_2):
11460 new funs for use w/structured errors.
11463 * event-Xt.c (x_to_emacs_keysym):
11464 * event-Xt.c (describe_event):
11465 * event-Xt.c (emacs_Xt_event_handler):
11466 * event-Xt.c (vars_of_event_Xt):
11468 * event-msw.c (mswindows_wnd_proc):
11469 * event-msw.c (vars_of_event_mswindows):
11470 rename {x,mswindows}-debug-events to debug-{}-events for
11471 consistency with other debug-foo variables.
11474 document next-event more clearly.
11476 * fileio.c (Ffile_name_directory):
11477 * fileio.c (Ffile_name_nondirectory):
11478 * fileio.c (Funhandled_file_name_directory):
11479 * fileio.c (file_name_as_directory):
11480 * fileio.c (Ffile_name_as_directory):
11481 * fileio.c (directory_file_name):
11482 * fileio.c (Fdirectory_file_name):
11483 * fileio.c (Fmake_temp_name):
11484 * fileio.c (Ffile_truename):
11485 * fileio.c (Fsubstitute_in_file_name):
11486 * fileio.c (expand_and_dir_to_file):
11487 * fileio.c (barf_or_query_if_file_exists):
11488 * fileio.c (check_executable):
11489 * fileio.c (Ffile_exists_p):
11490 * fileio.c (Ffile_writable_p):
11491 * fileio.c (Ffile_directory_p):
11492 * fileio.c (Ffile_regular_p):
11493 * fileio.c (Ffile_modes):
11494 * fileio.c (Ffile_newer_than_file_p):
11495 * fileio.c (Fverify_visited_file_modtime):
11496 * fileio.c (Fset_visited_file_modtime):
11497 * fileio.c (auto_save_1):
11502 * frame-msw.c (mswindows_init_frame_1):
11503 * frame-msw.c (mswindows_enable_frame):
11504 * frame-msw.c (error_frame_unsizable):
11505 * frame-msw.c (msprinter_init_frame_1):
11506 * frame-msw.c (msprinter_init_frame_3):
11507 * frame-msw.c (console_type_create_frame_mswindows):
11509 implement new enable/disable frame methods.
11512 * frame-x.c (x_enable_frame):
11513 * frame-x.c (console_type_create_frame_x):
11514 implement new enable/disable frame methods.
11517 * frame.c (Fdisable_frame):
11518 * frame.c (syms_of_frame):
11519 * frame.h (struct frame):
11520 implement new enable/disable frame methods/functions.
11525 * glyphs-msw.c (mswindows_widget_instantiate):
11526 comment that initial-focus should be implemented.
11529 * glyphs-widget.c (check_valid_instantiator):
11530 * glyphs-widget.c (check_valid_orientation):
11531 * glyphs-widget.c (check_valid_tab_orientation):
11532 * glyphs-widget.c (check_valid_justification):
11533 * glyphs-widget.c (check_valid_border):
11534 * glyphs-widget.c (check_valid_callback):
11535 * glyphs-widget.c (check_valid_int_or_function):
11536 * glyphs-widget.c (check_valid_string_or_vector):
11537 * glyphs-widget.c (check_valid_item_list_1):
11538 * glyphs-widget.c (widget_validate):
11539 * glyphs-widget.c (combo_box_validate):
11540 * glyphs-widget.c (widget_instantiate):
11541 * glyphs-widget.c (syms_of_glyphs_widget):
11542 * glyphs-widget.c (VALID_WIDGET_KEYWORDS):
11543 * glyphs-widget.c (image_instantiator_combo_box):
11544 * glyphs-widget.c (image_instantiator_scrollbar):
11545 * glyphs-widget.c (image_instantiator_tab_control):
11546 * glyphs-widget.c (VALID_LAYOUT_KEYWORDS):
11548 support (unimplemented) keyword initial-focus.
11549 reindent long macros.
11551 * glyphs-x.c (x_redisplay_widget):
11552 * glyphs-x.c (x_button_instantiate):
11553 * glyphs-x.c (x_button_redisplay):
11554 * glyphs-x.c (x_progress_gauge_instantiate):
11555 * glyphs-x.c (x_edit_field_instantiate):
11556 * glyphs-x.c (x_combo_box_instantiate):
11557 * glyphs-x.c (x_tab_control_instantiate):
11558 * glyphs-x.c (x_label_instantiate):
11560 * gui-x.c (button_item_to_widget_value):
11561 * gui-x.c (gui_items_to_widget_values_1):
11562 * gui-x.c (gui_item_children_to_widget_values):
11563 * gui-x.c (gui_items_to_widget_values):
11565 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
11566 add new flag to gui-parsing routines to indicate whether
11567 accelerator specs should be supported.
11569 * glyphs.c (syms_of_glyphs): use DEFSYMBOL.
11571 * glyphs.h (struct Lisp_Image_Instance):
11572 * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS):
11573 add initial-focus flag.
11576 * gui.c (syms_of_gui):
11577 * gui.c (vars_of_gui):
11578 clean up menu-no-selection-hook.
11581 support delete-dialog-box-hook.
11583 * lread.c (Fload_internal):
11584 * lread.c (locate_file_in_directory_mapper):
11588 * lrecord.h (struct toolbar_button):
11589 * lrecord.h (syms_of_toolbar):
11590 document how to create a new object.
11592 * menubar-msw.c (mswindows_char_is_accelerator):
11593 may be called on frames w/o menus.
11595 * menubar.c (vars_of_menubar):
11596 clean up :filter docs.
11603 * process-nt.c (validate_signal_number):
11604 * process-nt.c (signal_cannot_launch):
11605 * process-nt.c (nt_create_process):
11606 * process-nt.c (nt_send_process):
11607 * process-nt.c (nt_kill_child_process):
11608 * process-nt.c (nt_open_network_stream):
11609 * process-nt.c (syms_of_process_nt):
11611 delete quote-handling. call new lisp code that does it better.
11613 * process-unix.c (connect_to_file_descriptor):
11614 * process-unix.c (allocate_pty):
11615 * process-unix.c (unix_send_process):
11616 * process-unix.c (unix_kill_child_process):
11617 * process-unix.c (unix_open_network_stream):
11618 * process-unix.c (unix_open_multicast_group):
11622 * process.c (Fstart_process_internal):
11623 (2). need to canonicalize process path even if absolute.
11625 * select-msw.c (symbol_to_ms_cf):
11626 * select-msw.c (ms_cf_to_symbol):
11627 * select-msw.c (cf_is_autofreed):
11628 * select-msw.c (mswindows_destroy_selection):
11630 * select.c (syms_of_select):
11632 support dibv5, fix bugs. (from Mike Alexander)
11634 * select.c (Fget_selection_internal):
11635 * select.c (select_convert_out):
11638 * sysdep.c (xemacs_stat):
11641 * sysdep.c (mkdir):
11642 * sysdep.c (rmdir):
11643 but keep original stat() here because we provide encapsulation
11647 * sysfile.h (fstat):
11648 remove stat garbage.
11651 fix X/MSW conflict.
11652 don't include tchar.h. it's inappropriate because it makes
11653 compile-time distinctions when we want runtime distinctions.
11654 (we provide our own tchar replacements)
11657 use default object printer for toolbar-button.
11660 make sure we don't encapsulate.
11662 * window.c (vars_of_window):
11663 emphasize that temp-buffer-show-hook is obsolete.
11665 2000-08-05 Martin Buchholz <martin@xemacs.org>
11667 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args.
11668 (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg.
11670 * events.c (Fevent_timestamp_lessp):
11671 Not 64-bit clean. Use EMACS_INT, not int.
11673 2000-06-05 Andrew Begel <abegel@cs.berkeley.edu>
11675 * lrecord.h (lrecord_types): Changed lrecord_type_count to an
11676 unsigned int and changed the last enum to
11677 lrecord_type_last_built_in_type.
11678 (lrecord_implementations_table): changed prototype to know how
11679 long the array is supposed to be.
11680 (lrecord_type_count): new unsigned int to keep track of the
11681 current number of lisp lrecord types.
11682 (DEFINE_EXTERNAL_LRECORD):
11683 (DECLARE_EXTERNAL_LRECORD): Added these two for external
11684 dynamic-modules to declare new lisp types. They are the same
11685 as the non-EXTERNAL forms, but declare an lrecord_type unsigned
11686 int for each new type, and increment lrecord_type_count by 1.
11688 * alloc.c (lrecord_implementations_table): Changed to reference
11689 lrecord_type_last_built_in_type for the size of the array.
11690 Moved MODULE_DEFINABLE_TYPE_COUNT to lrecord.h.
11692 2000-08-03 Yoshiki Hayashi <yoshiki@xemacs.org>
11694 * glyphs.h (check_valid_item_list): Renamed from
11695 check_valid_item_list_1.
11697 2000-08-01 Alastair J. Houghton <ajhoughton@lineone.net>
11699 * select.c (Qselect_coerce): New.
11700 * select.c (Vselection_coercion_alist): New.
11701 * select.c (syms_of_select): Declare.
11702 * select.c (get-selection-internal): Use it.
11703 Use the new select-coerce functionality.
11705 * select.c (select_coerce): New.
11706 * select.h (select_coerce): Declare.
11707 New function to coerce one type of data into another.
11709 2000-08-03 Martin Buchholz <martin@xemacs.org>
11711 * callproc.c (Fcall_process_internal):
11712 (Fcall_process_internal):
11713 * process-unix.c (unix_create_process):
11714 Save and restore the value of errno, so that error messages are accurate.
11716 2000-08-01 Martin Buchholz <martin@xemacs.org>
11718 * elhash.c (print_hash_table):
11719 Fix printing of hash tables to also use `key-and-value' instead of `t'.
11720 Prettify docstrings and indentation.
11722 2000-07-31 Yoshiki Hayashi <yoshiki@xemacs.org>
11724 * window.c (Fwindow_pixel_edges): Subtract frame border and
11727 2000-07-31 Andy Piper <andy@xemacs.org>
11729 * buffer.c (Frecord_buffer): make absolutely sure that redisplay
11730 will acknowledge the change.
11732 * glyphs.h: declare tab_control_order_only_changed.
11734 * glyphs-x.c (x_tab_control_redisplay): use
11735 tab_control_order_only_changed.
11737 * glyphs-widget.c (tab_control_order_only_changed): new function.
11739 * glyphs-msw.c (mswindows_tab_control_redisplay): use
11740 tab_control_order_only_changed.
11742 * gui.c (gui_item_equal_sans_selected): new function.
11743 (gui_item_equal): use it.
11745 * glyphs-msw.c (mswindows_combo_box_instantiate): deprecate
11746 :properties in favor of :items..
11748 * glyphs-widget.c (check_valid_item_list): rename from
11749 check_valid_item_list_1.
11750 (check_valid_item_list_1): renamed.
11751 (combo_box_validate): deprecate :properties in favor of :items.
11752 (widget_instantiate): ditto.
11753 (tab_control_update): ditto.
11754 (image_instantiator_combo_box): ditto.
11755 (image_instantiator_tree_view): ditto.
11756 (image_instantiator_tab_control): ditto.
11757 (layout_post_instantiate): remove dead code.
11759 * print.c (debug_print_no_newline): only write to debugger if in
11762 * elhash.c (Fmake_hash_table): update doc string.
11764 * event-msw.c (mswindows_wnd_proc): don't allow processing of
11765 messages whilst in GC. This at least stops XEmacs crashing but has
11766 the potential for wierd behaviour.
11768 2000-07-31 Martin Buchholz <martin@xemacs.org>
11771 Make existence of s&m files optional.
11773 * s/bsd386.h: Remove HAVE_GETLOADAVG.
11774 * s/freebsd.h: Remove HAVE_GETLOADAVG.
11775 * s/gnu.h: Remove HAVE_GETLOADAVG.
11776 * s/netbsd.h: Remove HAVE_GETLOADAVG.
11777 * s/sol2.h: Remove HAVE_GETLOADAVG.
11778 * lisp.h: Remove getloadavg() declaration.
11780 Include <sys/loadavg.h> if available.
11781 Don't declare our own getloadavg() if HAVE_GETLOADAVG.
11782 * config.h.in: Group together getloadavg()-related macros.
11783 Use only configure-time tests to detect getloadavg().
11785 2000-07-30 Martin Buchholz <martin@xemacs.org>
11787 * Makefile.in.in (TransientEmacsShell.o): Fix race condition.
11789 2000-07-25 Andy Piper <andy@xemacs.org>
11791 * syswindows.h: add tchar.h for native builds.
11793 * frame.c (syms_of_frame): remove set-glyph-image.
11795 * general-slots.h: add Qset_glyph_image.
11797 * glyphs-widget.c (layout_update): add domain arg to
11799 (syms_of_glyphs_widget): remove set-glyph-image.
11801 2000-07-23 Ben Wing <ben@xemacs.org>
11803 * dialog-msw.c (vars_of_dialog_mswindows): need to staticpro
11806 2000-07-22 Andy Piper <andy@xemacs.org>
11808 * symsinit.h: add syms_of_win32().
11810 * gui-msw.c (syms_of_gui_mswindows): remove
11811 Fmswindows_shell_execute.
11812 (Fmswindows_shell_execute): moved to win32.c.
11814 * emacs.c (main_1): add syms_of_win32 ().
11816 * win32.c (init_potentially_nonexistent_functions): rewrite in
11817 compiler-friendly terms.
11818 (Fmswindows_shell_execute): move here from gui-msw.c.
11819 (syms_of_win32): new.
11821 * device-msw.c (Fmswindows_printer_list): clean up args to
11823 Don't include tchar under cygwin or mingw.
11824 (msprinter_default_printer): make cygwin-friendly.
11826 2000-07-21 Andy Piper <andy@xemacs.org>
11828 * glyphs-widget.c (image_instantiator_tree_view): use tab
11829 control's update function.
11830 (layout_property): new function. Retrieve items.
11832 * glyphs-msw.c (mswindows_tree_view_redisplay): new
11833 function. Re-populate the tree view from the pending items.
11835 * glyphs.c (instantiate_image_instantiator): Make sure the domain
11836 is designated the parent if the domain is an image instance. This
11837 is needed so that dirtiness can be cascade up the hierarchy and
11838 thus for layout children to be redisplayed correctly.
11839 (allocate_image_instance): rename glyph -> parent.
11841 * redisplay.h: change redisplay_output_layout signature.
11843 * redisplay-msw.c (mswindows_output_display_block): use domain
11846 * redisplay-x.c (x_output_display_block): use domain arg.
11848 2000-07-10 Andy Piper <andy@xemacs.org>
11850 * window.c (Fset_window_configuration): add comment.
11852 * redisplay-output.c (compare_runes):
11853 (redisplay_output_subwindow): redisplay rather than update subwindow.
11854 (redisplay_output_layout): ditto.
11856 * redisplay-msw.c (mswindows_frame_output_end):
11857 (mswindows_frame_output_end): make defer window pos optional.
11859 * lisp.h: add Flast.
11861 * glyphs.h (struct image_instantiator_methods): add dest_mask top
11862 normalize method. Change update method to be for changed
11863 instantiators. Add redisplay method. Change signature of layout
11865 (struct Lisp_Image_Instance): add instantiator.
11866 (IMAGE_INSTANCE_INSTANTIATOR): new.
11867 (IMAGE_INSTANCE_SUBWINDOW_FACE): new.
11868 (XIMAGE_INSTANCE_INSTANTIATOR): new.
11869 (XIMAGE_INSTANCE_SUBWINDOW_FACE): new.
11872 (find_instantiator_differences): new function.
11873 (Fset_instantiator_property): new convenience function.
11874 (check_image_instance_structure): strictly check for vector
11876 (normalize_image_instantiator): make non-static.
11877 (instantiate_image_instantiator): pass on dest_mask and use new
11878 signatures for image_instance_layout and friends.
11879 (mark_image_instance): mark the instantiator. Mark the subwindow
11880 face not the widget face.
11881 (image_instance_equal): add instantiator.
11882 (image_instance_hash): ditto.
11883 (allocate_image_instance): ditto.
11884 (Fset_image_instance_property): removed.
11885 (Fimage_instance_file_name): ditto.
11886 (Fcolorize_image_instance): ditto.
11887 (image_instance_layout): add offsets to be set.
11888 (update_image_instance): new function. update an image instance
11889 from its changed instantiator.
11890 (inherit_normalize): add dest_mask.
11891 (xbm_normalize): ditto.
11892 (xface_normalize): ditto.
11893 (xpm_normalize): ditto.
11894 (text_update): set_property -> update.
11895 (image_instantiate): use the glyph identity as a hash key, not the
11897 (glyph_width): use new image_instance_layout signature.
11898 (glyph_ascent): ditto.
11899 (glyph_descent): ditto.
11900 (glyph_height): ditto.
11901 (glyph_query_geometry): ressurrect.
11902 (glyph_layout): ditto.
11903 (redisplay_subwindow): update -> redisplay.
11904 (syms_of_glyphs): add Fset_instantiator_property.
11905 (image_instantiator_format_create): set_property -> update.
11908 (autodetect_normalize): add dest_maks to signature.
11909 (x_redisplay_subwindow): update -> redisplay.
11910 (x_redisplay_widget): ditto.
11911 (x_button_redisplay): ditto.
11912 (x_progress_gauge_redisplay): ditto.
11913 (x_tab_control_redisplay): ditto. Rewrite to cope with changed
11915 (console_type_create_glyphs_x): update -> redisplay.
11916 (image_instantiator_format_create_glyphs_x): ditto.
11919 (check_valid_instantiator): disallow glyphs in the instantiator,
11920 they must now be vectors.
11921 (check_valid_instantiator_list): ditto.
11922 (glyph_instantiator_to_glyph): use internal symbol rather than
11924 (widget_update): renamed from widget_set_property. Call cascaded
11926 (redisplay_widget): renamed from update_widget.
11927 (widget_layout): image_instance_layout now takes position as well
11929 (widget_normalize): ditto.
11930 (widget_instantiate): ditto.
11931 (tab_control_query_geometry) ditto.:
11932 (tab_control_update): renamed from tab_control_set_property.
11933 (progress_gauge_update): set_property -> update.
11934 (layout_normalize): rewrite so that child instantiators are
11936 (layout_update): new function. Create glyphs from the normalized
11937 children and cope with any other layout keywords. We do not
11938 instantiate children here that will be take care of by
11939 redisplay_output_layout.
11940 (layout_instantiate): call layout_update and not much else.
11941 (layout_post_instantiate): not sure whether this is needed
11943 (layout_query_geometry): query glyph geometry rather than
11944 image_instance geometry.
11945 (layout_layout): set offsets from pass in parameters. Use glyph
11946 geometry and layout functions rather than image instance ones.
11947 (native_layout_layout): ditto.
11948 (syms_of_glyphs_widget): add make-glyph and set-glyph-image.
11949 (image_instantiator_widget): set_property -> update.
11950 (image_instantiator_buttons): ditto.
11951 (image_instantiator_progress_guage): ditto.
11952 (image_instantiator_tab_control): ditto.
11953 (VALID_LAYOUT_KEYWORDS): instantiators must now be vectors.
11954 (image_instantiator_layout): add update method.
11956 * glyphs-msw.c (bmp_normalize):
11957 (mswindows_resource_normalize): add dest_mask so that it can be
11958 proprogated by layout_normalize.
11959 (begin_defer_window_pos): make optional because it may not be the
11960 right thing to do and it introduces differences with X.
11961 (mswindows_unmap_subwindow): ditto.
11962 (mswindows_map_subwindow): ditto.
11963 (mswindows_redisplay_subwindow): renamed from
11964 mswindows_update_subwindow.
11965 (mswindows_redisplay_widget): ditto.
11966 (mswindows_button_redisplay): renamed from
11967 mswindows_button_update. Update is now what the instantiation
11968 function does for a changed instantiator.
11969 (mswindows_progress_gauge_instantiate): set the progress value
11970 here if appropriate.
11971 (mswindows_tab_control_redisplay): cope with re-ordering of the
11972 members of the tab widget by simply selecting the new top
11973 widget. This makes things appear ok if you click on a tab.
11974 (mswindows_combo_box_instantiate): image_instance_layout now takes
11975 position as well as size.
11976 (mswindows_progress_gauge_redisplay): renamed from
11977 mswindows_progress_gauge_update.
11978 (console_type_create_glyphs_mswindows): fix update -> redisplay.
11979 (image_instantiator_format_create_glyphs_mswindows): ditto.
11981 * glyphs-eimage.c (jpeg_normalize):
11984 (tiff_normalize): add dest_mask so that it can be proprogated by
11988 (print_hash_table):
11989 (hash_table_weakness_validate):
11990 (decode_hash_table_weakness):
11991 (Fhash_table_weakness):
11992 (Fhash_table_type):
11993 (syms_of_elhash): use Ben's naming scheme for hashtable types..
11995 * console.h (struct console_methods): move update_* to
11998 2000-07-20 Ben Wing <ben@xemacs.org>
12000 * *.[ch] (XSETOBJ): remove unused middle argument.
12001 lisp-disunion.h: correct wrap_object() to one argument.
12003 2000-07-15 Ben Wing <ben@xemacs.org>
12006 * s/cygwin32.h (CYGWIN_CONV_PATH):
12007 Add missing logb prototype for v1.1.
12008 Use post-b20 names and alias to pre-b20 names when pre-b20.
12010 * s/windowsnt.h: [5].
12012 2000-07-15 Ben Wing <ben@xemacs.org>
12014 * Makefile.in.in (x_objs):
12015 * Makefile.in.in (sheap_objs):
12016 * Makefile.in.in (objs):
12017 added win32.o, cosmetic cleanups.
12019 * alloc.c (Fmake_byte_code):
12020 [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP,
12021 etc. macros which declare their own args now.
12023 * alloc.c (syms_of_alloc):
12024 [[[2]]]: Use DEFSYMBOL, DEFKEYWORD, DEFERROR and friends.
12027 Moved buffer-dedicated-frame, set-buffer-dedicated-frame into lisp.
12029 * buffer.c (Fget_file_buffer):
12030 Fixed GCPRO problem.
12032 * buffer.c (get_truename_buffer):
12033 Fixed comment about GC checking.
12035 * buffer.c (syms_of_buffer):
12036 Undeclared those dedicated frame funs.
12040 Define convenience macros for internal/external conversions.
12041 [[[3]]]: Define codesys aliases Qcommand_argument_encoding
12042 and Qenvironment_variable_encoding for cleaner code.
12045 Remove dedicated-frame; in lisp.
12047 * bytecode.c (funcall_compiled_function):
12050 * bytecode.c (syms_of_bytecode):
12054 * console-msw.c (mswindows_show_console): Rewrote.
12056 * console-msw.c (Fmswindows_debugging_output): New.
12057 Sends to OutputDebugString (special MSWin debugger interface).
12059 * console-msw.c (Fmswindows_message_box):
12060 Fixed stupid bugs so it works when called from kill-emacs.
12062 * console-msw.c (syms_of_console_mswindows):
12063 Declare Fmswindows_debugging_output.
12066 New MSWin prototypes.
12068 * console-msw.h (struct mswindows_frame):
12069 New entry last-click-mods for improved button-modifier support.
12071 * console-msw.h (FRAME_MSWINDOWS_POPUP):
12072 New struct entry `popup' with corresponding accessor.
12075 * console-x.c (split_up_display_spec):
12076 * console-x.c (get_display_arg_connection):
12077 * console-x.c (x_semi_canonicalize_console_connection):
12078 * console-x.c (x_canonicalize_device_connection):
12079 [[[6]]]: Change char to more specific type.
12080 [[[8]]]: Make use of abstracting codesys aliases defined in [3], [4];
12082 * console-x.c (x_semi_canonicalize_console_connection):
12083 * console-x.c (x_canonicalize_device_connection):
12084 [[[9]]]: Fix up error signalling to use new structured error system.
12087 [[[4]]]: Define codesys aliases:
12088 Qlwlib_encoding, Qx_atom_name_encoding, Qx_font_name_encoding,
12089 Qx_color_name_encoding, Qx_display_name_encoding.
12091 * console.h (struct console_methods):
12092 New method make_dialog_box_internal supersedes older
12093 popup_dialog_box method.
12096 Define many new errors, part of new structured errors.
12098 * data.c (init_errors_once_early):
12099 * data.c (syms_of_data):
12102 * device-msw.c (mswindows_init_device):
12103 [[[5]]]: Cleanup to support NT 3.51.
12105 * device-msw.c (decode_devmode): Cleanup.
12107 * device-msw.c (mswindows_handle_print_setup_dialog_box):
12108 * device-msw.c (mswindows_handle_print_dialog_box):
12109 * device-msw.c (mswindows_handle_page_setup_dialog_box):
12110 * device-msw.c (syms_of_device_mswindows):
12111 Delete the dialog box primitives recently introduced by Kirill and
12112 instead interface to general dialog box interface.
12115 * device-x.c (compute_x_app_name):
12116 * device-x.c (x_init_device):
12117 * device-x.c (Fx_valid_keysym_name_p):
12118 * device-x.c (Fx_set_font_path):
12122 * device.h (wrap_device): New.
12123 First of its kind; meant to replace XSETDEVICE.
12125 * dialog-msw.c: Many file-dialog symbols.
12127 * dialog-msw.c (mswindows_register_popup_frame): New.
12128 * dialog-msw.c (mswindows_is_dialog_msg): New.
12129 For supporting kbd traversal in dialog boxes.
12131 * dialog-msw.c (dialog_proc):
12132 Support hitting ESC in dialogs.
12134 * dialog-msw.c (struct):
12135 Common dialog box errors.
12137 * dialog-msw.c (handle_file_dialog_box): New.
12138 Add file dialog code.
12140 * dialog-msw.c (handle_question_dialog_box):
12141 Redo existing code to support new question dialog syntax.
12143 * dialog-msw.c (console_type_create_dialog_mswindows):
12144 We support new dialog console method.
12146 * dialog-msw.c (syms_of_dialog_mswindows):
12147 * dialog-msw.c (vars_of_dialog_mswindows):
12148 New file dialog symbols, vars.
12151 * dialog-x.c (maybe_run_dbox_text_callback):
12152 * dialog-x.c (dbox_descriptor_to_widget_value):
12153 * dialog-x.c (x_make_dialog_box_internal):
12154 * dialog-x.c (console_type_create_dialog_x):
12155 Mule-ize entire file.
12156 Redo to support question dialog syntax.
12160 * dialog.c (Fmake_dialog_box_internal):
12161 * dialog.c (syms_of_dialog):
12162 Kill old popup-dialog-box, replace with new primitive.
12163 Just call device method or signal error.
12165 * eldap.c (Fldap_open):
12166 * eldap.c (Fldap_search_basic):
12167 * eldap.c (Fldap_add):
12168 * eldap.c (Fldap_modify):
12173 * emacs.c (make_arg_list_1):
12174 * emacs.c (make_arg_list):
12175 Mule-ize call to dll_init().
12179 * emacs.c (make_argc_argv):
12180 * emacs.c (free_argc_argv):
12181 * emacs.c (init_cmdargs):
12182 * emacs.c (main_1):
12183 * emacs.c (Fkill_emacs):
12184 * emacs.c (Fdump_emacs):
12185 Update comments about what can be used in syms_* etc.
12186 Call init_win32() when necessary.
12187 Fix up MS Win dialog box in kill-buffer to actually work right.
12198 * eval.c (condition_case_3):
12200 * eval.c (function_argcount):
12201 * eval.c (funcall_lambda):
12204 * eval.c (type_error): New.
12205 * eval.c (maybe_type_error): New.
12206 * eval.c (continuable_type_error): New.
12207 * eval.c (maybe_continuable_type_error): New.
12208 * eval.c (type_error_with_frob): New.
12209 * eval.c (maybe_type_error_with_frob): New.
12210 * eval.c (continuable_type_error_with_frob): New.
12211 * eval.c (maybe_continuable_type_error_with_frob): New.
12212 New functions for use with structured errors.
12215 * event-Xt.c (x_event_to_emacs_event):
12216 Buttons are now modifiers too.
12218 * event-Xt.c (emacs_Xt_current_event_timestamp):
12219 Implement new event method.
12220 * event-Xt.c (reinit_vars_of_event_Xt): Set it.
12223 * event-msw.c (ntpipe_shove_writer): [5].
12224 * event-msw.c (mswindows_enqueue_mouse_button_event):
12225 * event-msw.c (mswindows_drain_windows_queue):
12226 * event-msw.c (mswindows_wnd_proc): [7].
12227 * event-msw.c (mswindows_current_layout_has_AltGr): [5].
12228 * event-msw.c (mswindows_modifier_state):
12229 Throughout: support new button modifiers.
12231 * event-msw.c (emacs_mswindows_current_event_timestamp):
12232 Implement new event method.
12233 * event-msw.c (reinit_vars_of_event_mswindows): Set it.
12236 * event-stream.c (event_stream_current_event_timestamp): New.
12237 * event-stream.c (maybe_kbd_translate): New functionality.
12238 * event-stream.c (vars_of_event_stream):
12239 Document new kbd-translate-table functionality.
12241 * event-stream.c (Fcurrent_event_timestamp): New.
12242 New primitive for use in fabricated events.
12243 * event-stream.c (syms_of_event_stream): [2]. Declare new primitive.
12245 * events-mod.h (XEMACS_MOD_BUTTON1): new button modifiers.
12248 * events.c (Fmake_event):
12249 * events.c (WRONG_EVENT_TYPE_FOR_PROPERTY):
12253 * events.c (format_event_object): fix gcc warnings.
12255 * events.c (Fevent_timestamp): Document new primitives.
12257 * events.c (TIMESTAMP_HALFSPACE): New.
12259 * events.c (Fevent_timestamp_lessp): New. New primitive for
12260 comparing timestamps correctly (half-space algorithm).
12262 * events.c (Fevent_modifier_bits): Doc fix.
12264 * events.c (Fevent_modifiers): Major doc addition.
12265 * events.c (event_x_y_pixel_internal): Typo fix.
12266 * events.c (syms_of_events): Declare new primitives.
12269 Update long comment for button modifiers, timestamps.
12271 * events.h (struct event_stream):
12272 New current_event_timestamp method.
12275 * extents.c (extent_in_region_p):
12276 * extents.c (decode_extent):
12277 * extents.c (Fset_extent_parent):
12278 * extents.c (decode_map_extents_flags):
12282 * extents.c (struct extent_at_arg):
12283 * extents.c (decode_extent_at_flag):
12284 * extents.c (extent_at_mapper):
12285 * extents.c (extent_at_bytind):
12286 * extents.c (Fextent_at): Adapt to new lower-level interface. [9].
12287 * extents.c (Fextents_at): New primitive. [9].
12288 * extents.c (symbol_to_glyph_layout): [9].
12289 Support new primitive `extents-at'.
12292 * extents.c (get_text_property_bytind):
12293 extent_at_bytind has another arg.
12296 * extents.c (syms_of_extents): New primitive.
12298 * file-coding.c (Fmake_coding_system): [1].
12299 * file-coding.c (subsidiary_coding_system): fix gcc warning
12300 * file-coding.c (syms_of_file_coding): [2].
12302 * fileio.c (Fexpand_file_name):
12303 * fileio.c (Fsysnetunam):
12304 * fileio.c (Ffile_exists_p):
12305 * fileio.c (Ffile_executable_p):
12306 * fileio.c (Fverify_visited_file_modtime):
12309 * fileio.c (syms_of_fileio): [2].
12311 * filelock.c (lock_file_1):
12312 * filelock.c (current_lock_owner):
12313 * filelock.c (lock_if_free):
12314 * filelock.c (lock_file):
12315 * filelock.c (unlock_file):
12318 * fns.c (concat): Fix gcc warning.
12321 * fns.c (Fold_member):
12323 * fns.c (Fold_memq):
12324 * fns.c (memq_no_quit):
12326 * fns.c (Fold_assoc):
12328 * fns.c (Fold_assq):
12329 * fns.c (assq_no_quit):
12331 * fns.c (Fold_rassoc):
12333 * fns.c (Fold_rassq):
12334 * fns.c (rassq_no_quit):
12336 * fns.c (Fold_delete):
12338 * fns.c (Fold_delq):
12339 * fns.c (delq_no_quit):
12340 * fns.c (Fremassoc):
12341 * fns.c (Fremassq):
12342 * fns.c (remassq_no_quit):
12343 * fns.c (Fremrassoc):
12344 * fns.c (Fremrassq):
12345 * fns.c (remrassq_no_quit):
12346 * fns.c (Freverse):
12350 * frame-msw.c (mswindows_init_frame_1):
12351 * frame-msw.c (mswindows_delete_frame):
12352 Register popups with dialog code so keyboard traversing works.
12354 * frame-tty.c (tty_raise_frame_no_select): [1].
12357 * frame-x.c (x_set_frame_text_value):
12358 * frame-x.c (x_set_frame_properties):
12359 * frame-x.c (x_create_widgets):
12363 * frame.c (Fmouse_pixel_position): Minor doc fixes.
12365 * frame.h (wrap_frame): New.
12366 Macro like wrap_device.
12369 * general.c (SYMBOL):
12370 * general.c (syms_of_general):
12371 Major reorg. This is now just a wrapper and symbols themselves
12372 are listed in general-slots.h.
12374 * glyphs-eimage.c (tiff_instantiate): Need cast to fix warning.
12375 * glyphs-msw.c (mswindows_resource_instantiate): [5].
12377 * glyphs-msw.c (mswindows_native_layout_instantiate):
12378 Add DS_CONTROL so keyboard traversal will work.
12381 * glyphs-widget.c (syms_of_glyphs_widget):
12382 Move some symbols to general-slots.h.
12385 * glyphs-x.c (xbm_instantiate_1):
12386 * glyphs-x.c (x_xbm_instantiate):
12387 * glyphs-x.c (x_xface_instantiate):
12388 * glyphs-x.c (autodetect_instantiate):
12389 * glyphs-x.c (cursor_font_instantiate):
12390 * glyphs-x.c (x_update_widget):
12391 * glyphs-x.c (x_widget_instantiate):
12392 * glyphs.c (bitmap_to_lisp_data):
12393 * glyphs.c (pixmap_to_lisp_data):
12396 * glyphs.c (syms_of_glyphs):
12400 * gui-x.c (print_widget_value):
12401 * gui-x.c (menu_separator_style_and_to_external):
12402 * gui-x.c (add_accel_and_to_external):
12403 * gui-x.c (button_item_to_widget_value):
12404 * gui-x.c (gui_items_to_widget_values_1):
12405 * gui-x.c (gui_items_to_widget_values):
12406 * gui-x.c (syms_of_gui_x):
12407 * gui-x.c (vars_of_gui_x):
12408 Mule-ize entire file. Move menu-no-selection-hook to gui.c.
12412 Muleize, prototype changes matching gui-x.c.
12415 * gui.c (separator_string_p):
12416 * gui.c (gui_item_add_keyval_pair):
12417 * gui.c (make_gui_item_from_keywords_internal):
12418 * gui.c (signal_too_long_error):
12419 * gui.c (parse_gui_item_tree_item):
12420 * gui.c (syms_of_gui):
12421 * gui.c (vars_of_gui):
12423 menu-no-selection-hook moved here (used by MSWin).
12424 Move some symbols to general-slots.h.
12428 * insdel.c (get_buffer_pos_char):
12429 * insdel.c (get_buffer_range_char):
12432 * keymap.c (keymap_lookup_directly):
12433 * keymap.c (keymap_store):
12434 * keymap.c (ensure_meta_prefix_char_keymapp):
12435 * keymap.c (describe_map):
12437 Support new button modifiers.
12439 * lisp-disunion.h (wrap_object):
12440 * lisp-disunion.h (XSETOBJ):
12441 Rename make_obj to wrap_object.
12444 * lisp-union.h (make_int):
12445 * lisp-union.h (make_char):
12446 Support wrap_object.
12449 * lisp.h (LIST_LOOP):
12450 * lisp.h (EXTERNAL_LIST_LOOP):
12451 * lisp.h (LIST_LOOP_2):
12452 * lisp.h (EXTERNAL_LIST_LOOP_1):
12453 * lisp.h (EXTERNAL_LIST_LOOP_2):
12454 * lisp.h (EXTERNAL_LIST_LOOP_3):
12455 * lisp.h (EXTERNAL_LIST_LOOP_4_NO_DECLARE):
12456 * lisp.h (PRIVATE_EXTERNAL_LIST_LOOP_6):
12457 * lisp.h (GET_EXTERNAL_LIST_LENGTH):
12458 * lisp.h (EXTERNAL_ALIST_LOOP_5):
12459 * lisp.h (EXTERNAL_ALIST_LOOP_6):
12460 * lisp.h (EXTERNAL_ALIST_LOOP_6_NO_DECLARE):
12461 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_5_NO_DECLARE):
12462 * lisp.h (EXTERNAL_PROPERTY_LIST_LOOP_7):
12463 * lisp.h (struct Lisp_Symbol):
12464 * lisp.h (maybe_continuable_error_with_frob):
12465 Fix up section comments.
12466 Add new types for char to indicate usage.
12467 Delete symbols auto-generated from general-slots.h.
12468 Add prototypes for structured error functions.
12469 Add long comments describing looping macros and change interface
12470 so that lvalues are automatically declared.
12471 Add NO_DECLARE macro in case callers want to declare lvalues
12474 * lread.c (read_syntax_error):
12475 * lread.c (continuable_read_syntax_error):
12476 * lread.c (read_structure):
12477 * lread.c (sequence_reader):
12478 * lread.c (read_list_conser):
12479 * lread.c (read_compiled_function):
12480 Rename syntax_error and continuable_syntax_error to avoid clash
12481 with same-named structured error functions.
12483 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
12484 * menubar-msw.c (populate_menu_add_item):
12485 * menubar-msw.c (populate_or_checksum_helper):
12490 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
12491 Mule-ize whole file.
12493 * menubar.c (Fnormalize_menu_item_name): Add optimization.
12495 * mule-charset.c (Fmake_charset):
12496 * mule-wnnfns.c (Fwnn_set_param):
12499 * ntproc.c (create_child):
12500 * ntproc.c (Fwin32_set_current_locale):
12501 Add comments portending doom.
12504 * objects-msw.c (old_font_enum_callback_2):
12505 * objects-msw.c (font_enum_callback_1):
12506 * objects-msw.c (mswindows_enumerate_fonts):
12510 * objects-x.c (allocate_nearest_color):
12511 * objects-x.c (x_parse_nearest_color):
12512 * objects-x.c (x_initialize_color_instance):
12513 * objects-x.c (x_print_color_instance):
12514 * objects-x.c (x_finalize_color_instance):
12515 * objects-x.c (x_valid_color_name_p):
12516 * objects-x.c (x_initialize_font_instance):
12517 * objects-x.c (x_print_font_instance):
12518 * objects-x.c (valid_x_font_name_p):
12519 * objects-x.c (truename_via_FONT_prop):
12520 * objects-x.c (truename_via_random_props):
12521 * objects-x.c (truename_via_XListFonts):
12522 * objects-x.c (x_font_truename):
12523 * objects-x.c (x_font_instance_truename):
12524 * objects-x.c (x_font_instance_properties):
12525 * objects-x.c (x_list_fonts):
12526 * objects-x.c (x_find_charset_font):
12527 Mule-ize entire file.
12534 * print.c (std_handle_out_external):
12535 * print.c (debug_print_no_newline):
12536 * print.c (syms_of_print):
12537 Output to all debugger kinds in debug-print.
12538 Fix console-output code under MSWin to actually work.
12540 * process-nt.c (send_signal):
12541 * process-nt.c (nt_create_process):
12542 Use newer Unicode macros.
12544 * process-unix.c (unix_create_process):
12545 * process-unix.c (unix_canonicalize_host_name):
12546 * process-unix.c (unix_open_network_stream):
12552 * search.c (syms_of_search):
12555 * select-msw.c (mswindows_destroy_selection):
12558 * select-x.c (symbol_to_x_atom):
12561 * select.c (syms_of_select):
12564 * sound.c (Fplay_sound_file):
12568 * specifier.c (decode_specifier_type):
12569 * specifier.c (Fvalid_specifier_locale_type_p):
12570 * specifier.c (check_valid_locale_or_locale_type):
12571 * specifier.c (decode_locale):
12572 * specifier.c (decode_locale_type):
12573 * specifier.c (decode_locale_list):
12574 * specifier.c (check_valid_domain):
12575 * specifier.c (decode_specifier_tag_set):
12576 * specifier.c (Fcanonicalize_tag_set):
12577 * specifier.c (Fdefine_specifier_tag):
12578 * specifier.c (Fspecifier_tag_predicate):
12579 * specifier.c (check_valid_inst_list):
12580 * specifier.c (check_valid_spec_list):
12581 * specifier.c (decode_how_to_add_specification):
12582 * specifier.c (check_modifiable_specifier):
12583 * specifier.c (specifier_add_spec):
12584 * specifier.c (boolean_validate):
12585 * specifier.c (display_table_validate):
12588 * specifier.c (syms_of_specifier):
12589 Move some symbols to general-slots.h.
12593 * symbols.c (Fmapatoms):
12594 * symbols.c (Fapropos_internal):
12597 * symbols.c (set_default_buffer_slot_variable):
12598 * symbols.c (set_default_console_slot_variable):
12601 * symbols.c (defsymbol_massage_name_1):
12602 * symbols.c (defkeyword_massage_name):
12603 * symbols.c (deferror_1):
12604 * symbols.c (deferror):
12605 * symbols.c (deferror_massage_name_and_message):
12607 * symeval.h (DEFSYMBOL):
12608 Support DEFSYMBOL*, DEFKEYWORD, DEFERROR
12610 * symbols.c (syms_of_symbols):
12614 * symsinit.h (init_win32): New.
12615 Also new is syms_of_dialog_mswindows.
12618 Add new Unicode macros, missing Cygwin wide-char functions,
12619 convenience conversion macros for Qmswindows_tstr, macros for
12620 encapsulating required MSWin <-> Cygwin filename conversions,
12621 prototype for dynamically-extracted (not in NT 3.51) functions.
12626 * tooltalk.c (Fadd_tooltalk_message_arg):
12627 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
12628 * tooltalk.c (Fadd_tooltalk_pattern_arg):
12631 * tooltalk.c (syms_of_tooltalk):
12635 * unexnt.c (unexec):
12636 Fix up headers, declaration of unexec() to be more standard.
12638 2000-07-20 Martin Buchholz <martin@xemacs.org>
12640 * offix.h: Revert change to guard macros - they're used in offix.c!
12642 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12644 * lisp.h: Defsubred Fdelete.
12646 * console-msw.h: (msprinter_default_printer): Added.
12648 * console-msw.c (msprinter_canonicalize_console_connection):
12649 (msprinter_canonicalize_device_connection): Added.
12651 * device-msw.c (msprinter_default_printer):
12652 (Fmswingows_get_default_printer):
12653 (signal_enum_priner_error):
12654 (Fmswingows_printer_list): Added.
12656 2000-07-19 Martin Buchholz <martin@xemacs.org>
12658 * XEmacs 21.2.35 is released.
12660 2000-07-19 Martin Buchholz <martin@xemacs.org>
12662 * select-x.c (x_handle_selection_request):
12663 Text selected in xemacs and pasted into xterm failed to appear.
12664 Spelling fixes and cosmetic changes.
12666 2000-07-18 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12668 * event-msw.c (mswindows_drain_windows_queue): Correctly check for
12669 XEmacs frame (fix for doubling chars in dialog boxes).
12671 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12673 * select.c (select_convert_in, select_convert_out):
12674 Don't call intern() every time.
12676 * select.c (Qselect_convert_in, Qselect_convert_out): New.
12677 * select.c (vars_of_select): Initialise them.
12679 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12681 * select.c (selection-coercible-types): New.
12683 * select.c (own-selection-internal):
12684 * select.c (get-selection-internal):
12685 MULE bug fix - these should default to COMPOUND_TEXT and not
12686 STRING for MULE. I think.
12688 * select.c (select_convert_out): Use selection-coercible-types
12689 to find types that we can attempt to perform coercions on.
12691 2000-07-18 Martin Buchholz <martin@xemacs.org>
12695 Add coding: cookie to identify encoding.
12697 * mule-canna.c (CANNA_mode_keys): make static.
12698 Use proper prototypes, even for functions of no arguments.
12699 Remove external prototype for Fding().
12701 * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn.
12703 * select.c (syms_of_select): Add missing DEFSUBR.
12705 2000-07-18 Alastair J. Houghton <ajhoughton@lineone.net>
12707 * select.c (get_selection_internal, own_selection_internal):
12708 Make the type default to STRING, rather than placing a nil type
12709 into Vselection_alist.
12711 2000-07-17 Alastair J. Houghton <ajhoughton@lineone.net>
12713 * gpmevent.c (tty_selection_exists_p):
12714 * gpmevent.c (tty_own_selection):
12715 Updated parameter lists.
12717 2000-07-15 Alastair J. Houghton <ajhoughton@lineone.net>
12719 * select.h (selection-alist): Removed declaration.
12721 * select.h (get_local_selection):
12722 * select.c (get_local_selection):
12725 * select.h (convert_selection): Removed declaration.
12726 * select.c (convert_selection): Removed.
12727 This function belongs in Lisp.
12729 * select.h (select_convert_in): Declare.
12730 * select.h (select_convert_out): Declare.
12731 * select.c (select_convert_in): New.
12732 * select.c (select_convert_out): New.
12733 New conversion functions for other files to call.
12735 * select.h (select_notify_buffer_kill): Declare.
12736 * select.c (select_notify_buffer_kill): New.
12737 New functions that get called from kill-buffer.
12739 * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than
12740 X-specific lisp code.
12742 * select.h: Declare some of the lisp-visible functions for
12745 * select.c (clean_local_selection_data): Removed. This was
12746 a disgusting function, and previously should have been in
12747 select-x.c in any case. The functionality is now provided
12748 in select-convert-from-integer (select.el).
12750 * select.c (available-selection-types): Fixed stupidity where
12751 INTEGER and ATOM got added twice. Also add STRING when we see an
12754 * select.c (get-selection-internal): Removed symbol stripping. No
12755 longer causes conversion when data comes from the internal cache.
12757 * select.c (syms_of_select): Added new functions.
12759 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote
12760 error checking - previously this called abort!
12762 * select-x.c (x_own_selection): Changed comment.
12764 * select-x.c (x_handle_selection_request): Use select_convert_out.
12765 Don't mess with selection-alist; it's an internal variable of select.c.
12767 * select-x.c (x_get_foreign_selection): Use select_convert_in.
12769 * select-x.c (x_handle_selection_clear): Use get-selection-timestamp,
12770 rather than messing with selection-alist.
12772 * select-msw.c (mswindows_get_foreign_selection):
12773 Use TO_INTERNAL_FORMAT rather than hacking.
12775 2000-07-14 Martin Buchholz <martin@xemacs.org>
12777 * process-unix.c (unix_open_multicast_group):
12778 (unix_open_multicast_group): Remove useless casts.
12780 2000-07-13 Martin Buchholz <martin@xemacs.org>
12782 * sound.c (Fplay_sound): Fix `unused variable' warning.
12784 * emacs.c (main): Use correct type for _environ on SCO5.
12786 2000-07-12 Alastair J. Houghton <ajhoughton@lineone.net>
12788 * console.h (own_selection_method):
12789 * console.h (selection_exists_p_method):
12790 * console.h (available_selection_types_method): New.
12791 * console.h (register_selection_data_type_method): New.
12792 * console.h (selection_data_type_name): New.
12794 * console-msw.h (mswindows_destroy_selection): Declare it. New
12795 function & alist to track GlobalAlloc()'d handles that need
12796 releasing when the clipboard data gets replaced or emptied.
12798 * event-msw.c (mswindows_wnd_proc): Call it.
12800 * lisp.h, general.c (Qappend): New symbol representing a
12803 * select.c (own-selection-internal):
12804 * select.c (selection-exists-p):
12805 * select.c (available-selection-types): New.
12806 * select.c (register-selection-data-type): New.
12807 * select.c (selection-data-type-name): New. New functions to deal
12808 with device-specific selection data formats.
12809 * select.c (selection-converter-out-alist): Renamed.
12810 * select.c (selection-converter-in-alist): New.
12811 * select.c (selection-appender-alist): New. Added new alists.
12812 * select.c (syms_of_select, vars_of_select): Added new symbols &
12814 * select.c (get_local_selection): Split.
12815 * select.c: Removed spurious type checking - selections may now be
12816 of any type, not just strings.
12817 * select.c (own-selection-internal):
12819 * select.h, select.c (convert_selection): New. Created
12820 convert_selection() function based on get_local_selection().
12821 * select.h, select.c (QCF_*): New symbols representing mswindows
12823 * select.h, select.c (Qreplace_all, Qreplace_existing): New
12824 symbols representing `how-to-add' modes.
12826 * select-msw.c (x_sym_p): New.
12827 * select-msw.c (symbol_to_ms_cf): New.
12828 * select-msw.c (ms_cf_to_symbol): New. New functions to deal with
12829 symbols & clipboard formats. Can also handle string names.
12830 * select-msw.c (mswindows_own_selection):
12831 * select-msw.c (mswindows_selection_exists_p):
12832 Added `data-type' parameter. Use it.
12833 * select-msw.c (mswindows_available_selection_types): New.
12834 * select-msw.c (mswindows_register_selection_data_type): New.
12835 * select-msw.c (mswindows_selection_data_type_name): New.
12836 * select-msw.c (mswindows_own_selection):
12837 * select-msw.c (mswindows_get_foreign_selection):
12838 * select-msw.c (mswindows_selection_exists_p): Rewrote.
12839 * select-msw.c (console_create_select_mswindows): Added new methods.
12840 * select-msw.c (mswindows_destroy_selection): New.
12841 * select-msw.c (Vhandle_alist): New list.
12842 * select-msw.c (mswindows_own_selection):
12844 * select-x.c (x_own_selection):
12845 * select-x.c (x_selection_exists_p):
12846 * select-x.c: Added some comments about maybe using new
12848 * select-x.c (x_own_selection):
12850 * specifier.c: Remove definition of Qappend (now in general.c)
12851 * specifier.c (syms_of_specifier): Remove Qappend.
12853 2000-07-12 Martin Buchholz <martin@xemacs.org>
12855 * config.h.in: Add socklen_t.
12857 * s/decosf4-0.h: No special compiler flags needed or desired.
12858 In particular, undefine _BSD for DEC OSF 4.0.
12860 2000-07-07 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12862 * redisplay-msw.c (msprinter_frame_output_end): Added.
12863 (console_type_create_redisplay_mswindows): Referred the above.
12865 * frame.c (setup_frame_without_minibuffer): Do not create a
12866 default minibuffer frame on a printer device.
12868 * frame-msw.c (apply_dc_geometry): Added.
12869 (msprinter_start_page):
12870 (msprinter_init_frame_3):
12871 (msprinter_eject_page): Use it.
12873 * console-msw.h (struct msprinter_frame): Added pix_left and top,
12874 and removed residual duplex and orientation properties.
12876 2000-07-11 Martin Buchholz <martin@xemacs.org>
12878 * eval.c (function_argcount): Work around a DEC CC compiler bug.
12880 * unexalpha.c: Remove system prototypes from C sources!
12882 2000-07-09 Adrian Aichner <aichner@ecf.teradyne.com>
12884 * eval.c: Remove references to M-x edit-options in DEFUNs for
12885 `defvar' and `defconst'.
12887 2000-07-09 Martin Buchholz <martin@xemacs.org>
12889 * config.h.in: Remove SMART_INCLUDE hackery.
12891 PostgreSQL hacking:
12892 * config.h.in: Don't use SMART_INCLUDE.
12894 * postgresql.h: Include libpq-fe.h here. Fix typo.
12895 * inline.c: Simply #include "postgresql.h"
12897 - Don't use SMART_INCLUDE
12898 - Use simply "const".
12899 - Use standard doc string conventions.
12900 - Use correct type for result of PQstatus.
12902 2000-07-09 Martin Buchholz <martin@xemacs.org>
12904 * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings.
12906 C++ compilation changes.
12907 * config.h.in (EXTERN_C): Define.
12908 * config.h.in (not): This is also a C++ keyword.
12909 * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation.
12910 * cm.c: Use EXTERN_C.
12911 * redisplay-tty.c: Use EXTERN_C.
12912 * sysdep.c: Use EXTERN_C. Remove Gould support.
12914 2000-07-09 Martin Buchholz <martin@xemacs.org>
12916 * general.c: Remove duplicate definition for Qfunction.
12918 2000-07-08 Ben Wing <ben@xemacs.org>
12920 * device-msw.c (msprinter_init_device):
12921 * device-msw.c (sync_printer_with_devmode):
12922 * device-msw.c (handle_devmode_changes):
12923 * device-msw.c (print_dialog_worker):
12924 * device-msw.c (Fmsprinter_apply_settings):
12925 * device-msw.c (hash_devmode):
12926 * device-msw.c (Fmsprinter_settings_despecialize):
12927 use Qmswindows_tstr, not Qctext.
12929 * vm-limit.c (check_memory_limits):
12930 avoid infinite loop printing warning messages.
12932 2000-07-05 Craig Lanning <lanning@scra.org>
12934 * Makefile.in.in: Add support for including the Windows resources
12935 when building with the cygwin and mingw targets.
12937 * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either
12938 not set or not correct.
12939 (directory_is_current_directory): Don't compile for WIN32_NATIVE.
12940 (init_initial_directory): Don't try to use $PWD on the
12941 WIN32_NATIVE target.
12944 [[Add -mwindows to eliminate console window.]] not required --ben
12945 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12946 (MAIL_USE_POP): removed; now handled by configure.
12948 * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in
12949 C_SWITCH_SYSTEM or it will affect lib-src progs. --ben
12950 (HAVE_NATIVE_SOUND): removed; now handled by configure.
12951 (MAIL_USE_POP): removed; now handled by configure.
12952 (ENCAPSULATE_STAT): from Dan Holmsand, added.
12953 (ENCAPSULATE_FSTAT): from Dan Holmsand, added.
12954 (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of
12956 (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked
12957 up from <winsock.h> via systime.h.
12958 (HAVE_GETPAGESIZE): from Dan Holmsand, added.
12959 (getpagesize): from Dan Holmsand, added.
12960 Added #endif which was left dangling by Ben's mega patch; added
12961 comment to help prevent this in the future.
12963 * sysdll.c: added #include <windows.h> for WIN32_NATIVE case.
12965 2000-07-05 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
12967 * console-msw.h (struct mswindows_device): Removed unnecessary
12968 cached device geometry values.
12969 Added update_tick and an accessor macro.
12970 (Lisp_Devmode): Added lrecord declaration.
12971 (struct msprinter_device): Contain devmode as a Lisp object.
12972 Added mswindows_get_selected_frame_hwnd();
12974 * console.h (struct console_methods): Indentation nitpicking.
12976 * device-msw.c (mswindows_init_device): Do not initialize geometry
12977 cache. Initialize update tick.
12978 (mswindows_device_system_metrics): Ask the device for its geometry.
12979 (global_free_2_maybe):
12980 (devmode_to_hglobal):
12981 (handle_printer_changes):
12982 (ensure_not_printing):
12983 (print_dialog_worker):
12984 (Fmsprinter_print_setup_dialog):
12985 (Fmsprinter_print_dialog):
12986 (plist_get_margin):
12987 (plist_set_margin):
12988 (Fmsprinter_page_setup_dialog): Added functions.
12989 (sync_printer_with_devmode):
12990 (handle_devmode_changes):
12991 (Fmsprinter_get_settings):
12992 (Fmsprinter_select_settings):
12993 (Fmsprinter_apply_settings):
12994 (allocate_devmode):
12995 (Fmsprinter_settings_copy):
12996 (Fmsprinter_settings_despecialize):
12998 (finalize_devmode):
13000 (hash_devmode): Added functions
13001 (syms_of_device_mswindows): Init devmode lrecord class.
13003 * device.h: Added an exfun for find-device.
13005 * event-msw.c (mswindows_wnd_proc): Do not update the cached
13006 geometry; although, recreate the device compatible DC.
13008 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added.
13009 (msprinter_init_frame_3):
13010 (msprinter_frame_property):
13011 (msprinter_internal_frame_property_p):
13012 (msprinter_frame_properties):
13013 (msprinter_set_frame_properties): Removed 'orientation and 'duplex
13014 print job properties (will move to device settings).
13016 * lisp.h: Added symbols.
13018 * general.c (syms_of_general): Declared them.
13020 * hash.c (string_hash): Added.
13022 * lrecord.h (lrecord_type): Added devmode lrecord type.
13024 2000-07-02 Mike Sperber <mike@xemacs.org>
13026 * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on
13029 2000-06-07 MORIOKA Tomohiko <tomo@etl.go.jp>
13031 * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative
13034 2000-06-07 MORIOKA Tomohiko <tomo@urania.m17n.org>
13036 * data.c (Fstring_to_number): Don't recognize floating point if
13039 2000-06-22 Martin Buchholz <martin@xemacs.org>
13041 * glyphs-widget.c (tab_control_query_geometry):
13042 (widget_query_geometry):
13043 (button_query_geometry):
13044 * glyphs.c (text_query_geometry):
13045 Enforce type correctness.
13047 2000-06-18 Martin Buchholz <martin@xemacs.org>
13049 * s/decosf4-0.h (_etext): Use portable _etext instead of etext.
13050 * s/decosf4-0.h (_edata): Use portable _edata instead of edata.
13052 2000-06-17 Martin Buchholz <martin@xemacs.org>
13054 * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this
13055 conflicts with gcc's fixincluded version of FOO.h.
13057 * glyphs.h (image_instance_geometry): Remove trailing `,'
13059 2000-06-08 Mike Alexander <mta@arbortext.com>
13061 (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size
13062 (shove_thread): Don't write the same output twice
13063 (make_ntpipe_output_stream): Increase priority of shove thread
13064 (ntpipe_shove_writer): Call SwitchToThread to give shove thread a
13066 (ntpipe_shove_closer): Don't delete the pipe until we're done with
13069 2000-06-12 Ben Wing <ben@xemacs.org>
13071 * s\mingw32.h (sigset):
13072 * s\windowsnt.h (sigset):
13073 rename msw_ to mswindows_ for consistency with general convention.
13075 2000-06-12 Ben Wing <ben@xemacs.org>
13078 * console-msw.c (mswindows_get_console_hwnd):
13079 * console-msw.c (mswindows_ensure_console_allocated):
13080 * console-msw.c (mswindows_hide_console):
13081 * console-msw.c (mswindows_show_console):
13082 * console-msw.c (mswindows_ensure_console_buffered):
13083 * console-msw.c (mswindows_output_console_string):
13084 * console-msw.c (mswindows_windows9x_p):
13086 * device-msw.c (mswindows_get_workspace_coords):
13087 * device-msw.c (mswindows_device_system_metrics):
13088 * dialog-msw.c (mswindows_popup_dialog_box):
13089 * event-msw.c (mswindows_wnd_proc):
13090 * frame-msw.c (mswindows_size_frame_internal):
13091 * menubar-msw.c (mswindows_translate_menu_or_dialog_item):
13092 * menubar-msw.c (displayable_menu_item):
13093 * menubar-msw.c (mswindows_char_is_accelerator):
13095 * nt.c (mswindows_sigset):
13096 * nt.c (mswindows_sigrelse):
13097 * nt.c (mswindows_sigpause):
13098 * nt.c (mswindows_raise):
13099 * nt.c (timer_proc):
13101 * ntproc.c (find_child_console):
13102 * ntproc.c (sys_kill):
13104 * print.c (std_handle_out_external):
13105 * process-nt.c (find_child_console):
13106 * process-nt.c (send_signal_the_95_way):
13107 * process-nt.c (ensure_console_window_exists):
13108 * process-nt.c (nt_create_process):
13110 rename msw_ to mswindows_ for consistency with general convention.
13114 include nt.h, not syswindows.h.
13116 * nt.c (mswindows_fstat):
13117 * nt.c (mswindows_stat):
13118 prefix mswindows_ instead of attempting to directly override the
13119 library functions. fix declarations.
13122 include syswindows.h. move some sysdep.h stuff here.
13125 include syswindows.h, not <windows.h>.
13133 * sysdep.c (sys_fstat):
13134 * sysdep.c (sys_stat):
13135 call mswindows versions when appropriate.
13138 move mswin decls to nt.h.
13141 add long comment describing appropriate use of the various windows
13144 2000-06-11 Ben Wing <ben@xemacs.org>
13146 * device-x.c: Correct doc string for sixth arg of x-get-resource.
13148 2000-06-10 Ben Wing <ben@xemacs.org>
13150 * Makefile.in.in (release):
13151 Correction to make sure xemacs.exe always dumped when correct.
13155 [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT.
13157 * buffer.c (set_buffer_internal):
13158 [[[[2]]]]: Remove HAVE_FEP code.
13160 * buffer.c (init_initial_directory):
13164 [[[[4]]]]: limits.h standardly included in lisp.h; remove from
13168 * callproc.c (call_process_cleanup):
13169 * callproc.c (Fold_call_process_internal):
13170 * callproc.c (child_setup):
13171 * callproc.c (getenv_internal):
13172 * callproc.c (init_callproc):
13173 * callproc.c (vars_of_callproc):
13174 [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE.
13175 __CYGWIN32__ -> CYGWIN.
13176 DOS_NT -> WIN32_NATIVE.
13177 Remove MSDOS support/references, converting to WIN32_NATIVE
13179 __MINGW32__ -> MINGW.
13180 Fix windows.h includes.
13181 Remove bogus HAVE_NTGUI.
13187 mswindows_message_outputted added for use in allowing startup
13188 errors on the console to be seen.
13190 * console-msw.c (msw_ensure_console_allocated):
13191 * console-msw.c (msw_output_console_string):
13192 * console-msw.c (DHEADER):
13193 * console-msw.c (DOPAQUE_DATA):
13194 * console-msw.c (DEVENT):
13195 * console-msw.c (DCONS):
13196 * console-msw.c (DCONSCDR):
13197 * console-msw.c (DSTRING):
13198 * console-msw.c (DVECTOR):
13199 * console-msw.c (DSYMBOL):
13200 * console-msw.c (DSYMNAME):
13203 * console-stream.c (stream_init_console):
13204 Fix text/binary problems.
13207 * device-msw.c (mswindows_finish_init_device):
13208 * device-msw.c (mswindows_delete_device):
13211 * device.c (handle_asynch_device_change):
13215 * dgif_lib.c (DGifOpenFileName):
13216 * dgif_lib.c (DGifOpenFileHandle):
13217 * dgif_lib.c (DGifGetLine):
13218 * dgif_lib.c (DGifGetPixel):
13219 Added config.h/lisp.h, fix up includes.
13226 * dired.c (file_name_completion):
13227 * dired.c (Ffile_attributes):
13228 * dired.c (syms_of_dired):
13232 * dumper.c (pdump_file_unmap):
13233 * dumper.c (pdump_load):
13237 * editfns.c (Ftemp_directory):
13238 * editfns.c (user_login_name):
13239 * editfns.c (Fuser_real_login_name):
13240 * editfns.c (get_home_directory):
13243 * elhash.c (finish_marking_weak_hash_tables):
13244 [[[[5]]]]: Fix GCC warnings.
13247 * emacs.c (mswindows_handle_hardware_exceptions):
13248 * emacs.c (make_arg_list_1):
13249 * emacs.c (main_1):
13250 * emacs.c (Fkill_emacs):
13251 * emacs.c (Fdump_emacs):
13253 Fix problems with nested crashes, add long comment.
13255 * event-Xt.c (init_event_Xt_late):
13259 * event-msw.c (mswindows_dde_callback):
13260 * event-msw.c (mswindows_handle_sticky_modifiers):
13261 * event-msw.c (mswindows_wnd_proc):
13265 * events.c (character_to_event):
13269 * fileio.c (Ffile_name_directory):
13270 * fileio.c (Ffile_name_nondirectory):
13271 * fileio.c (directory_file_name):
13272 * fileio.c (Fexpand_file_name):
13273 * fileio.c (Fsubstitute_in_file_name):
13274 * fileio.c (Ffile_name_absolute_p):
13275 * fileio.c (check_executable):
13276 * fileio.c (Ffile_readable_p):
13277 * fileio.c (Ffile_accessible_directory_p):
13278 * fileio.c (Ffile_modes):
13279 * fileio.c (Funix_sync):
13280 * fileio.c (vars_of_fileio):
13283 [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h.
13285 Expand getdefdir defn.
13286 Fix bogus rename() comment.
13288 [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt
13289 to use standard XEmacs include files, e.g. sysfile.h, rather
13290 than system-specific includes.
13296 * frame.c (vars_of_frame):
13300 * getloadavg.c (getloadavg):
13302 #ifdef XEMACS not defined on Cygwin. Remove this; no need for it.
13303 (We don't use it elsewhere in the code; just add a comment.)
13310 * glyphs-msw.c (mswindows_resource_instantiate):
13313 * glyphs-x.c (x_native_layout_instantiate):
13316 * gui-msw.c (Fmswindows_shell_execute):
13325 * lread.c (locate_file_in_directory_mapper):
13332 * mem-limits.h (get_lim_data):
13344 * nt.c (rva_to_section):
13345 * nt.c (mswindows_executable_type):
13347 Fix closedir() defn.
13350 [[[[8]]]]: *_OK defs moved to sysfile.h.
13359 * print.c (std_handle_out_external):
13363 * process-nt.c (nt_create_process):
13365 try to fix process quoting somewhat.
13367 * process-unix.c (unix_create_process):
13371 * process.c (vars_of_process):
13378 * realpath.c (xrealpath):
13381 * redisplay-tty.c (init_tty_for_redisplay):
13391 * sheap.c (more_static_core):
13392 * sheap.c (report_sheap_usage):
13396 * signal.c (alarm_signal):
13403 * strftime.c (zone_name):
13406 * symsinit.h (init_sunpro):
13410 commctrl.h not in Cygwin b20.1.
13413 * sysdep.c (endif):
13414 * sysdep.c (sys_subshell):
13415 * sysdep.c (init_baud_rate):
13416 * sysdep.c (emacs_get_tty):
13417 * sysdep.c (emacs_set_tty):
13418 * sysdep.c (tty_init_sys_modes_on_device):
13419 * sysdep.c (init_system_name):
13420 * sysdep.c (sys_open):
13421 * sysdep.c (interruptible_open):
13422 * sysdep.c (sys_fopen):
13423 * sysdep.c (sys_mkdir):
13424 * sysdep.c (sys_rename):
13425 * sysdep.c (get_process_times_1):
13432 * sysdir.h (DIRENTRY_NONEMPTY):
13435 * sysdll.c (dll_init):
13441 added text/binary defs.
13447 * sysproc.h (EDESTADDRREQ):
13448 * sysproc.h (poll_fds_for_input):
13465 Always define WIN32_LEAN_AND_MEAN.
13467 * unexcw.c (unexec):
13471 * unexec.c (copy_text_and_data):
13472 * unexec.c (adjust_lnnoptrs):
13476 * unexnt.c (_start):
13479 2000-06-07 Ben Wing <ben@xemacs.org>
13481 * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that
13482 was used only as a model. We've long since extracted any useful
13483 logic or code out of this. (I just did an exhaustive search.)
13485 * s\msdos.h: Removed.
13487 * s\windows95.h: Removed.
13489 2000-06-10 Ben Wing <ben@xemacs.org>
13493 Don't use extern with fun defs.
13497 Remove nt\inc include.
13498 Remove getdisk, getdefdir. (The former is unused, the latter
13499 expanded in fileio.h.)
13502 * s\windowsnt.h (WIN32_NATIVE):
13503 * s\windowsnt.h (HAVE_STRCASECMP):
13505 Add long comment about preprocessor changes.
13506 Remove getdisk, getdefdir. (The former is unused, the latter
13507 expanded in fileio.h.)
13509 2000-06-10 Ben Wing <ben@xemacs.org>
13518 Remove bogus/unused NO_SOCK_SIGIO.
13520 2000-06-08 Hrvoje Niksic <hniksic@iskon.hr>
13522 * lisp.h (set_string_char): Call set_string_byte with a Bufbyte,
13525 2000-06-04 Mike Sperber <mike@xemacs.org>
13527 * casetab.c (set_case_table): For `set-standard-case-table',
13528 actually deposit the new case tables where the rest of XEmacs can
13531 2000-06-05 Yoshiki Hayashi <yoshiki@xemacs.org>
13533 * data.c (Faset): Don't cast XCHAR() to unsigned char.
13535 2000-06-05 Ben Wing <ben@xemacs.org>
13537 * callproc.c (child_setup): Don't do close_load_descs() under
13538 MS Windows. Put in a comment explaining why.
13540 2000-05-28 Adrian Aichner <aichner@ecf.teradyne.com>
13542 * process-nt.c: Reverting patch "Fixing nt_create_process for MKS
13543 Toolkit shell" which breaks `kill-compilation' on Windows NT
13544 native, retaining STDERR handling improvements.
13546 2000-06-01 Andreas Jaeger <aj@suse.de>
13548 * s/s390.h: Support for S390, based on a patch by Martin
13549 Schwidefsky <schwidefsky@de.ibm.com>.
13551 2000-05-30 Andy Piper <andy@xemacs.org>
13553 * window.c (allocate_window):
13554 (make_dummy_parent):
13555 (Fset_window_configuration): use new hashtable type.
13557 * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY):
13558 (struct image_instantiator_methods):
13559 (struct Lisp_Image_Instance): make instance geometry signed.
13561 * glyphs.c (instantiate_image_instantiator):
13562 (image_instance_query_geometry):
13563 (image_instance_layout):
13564 (image_instance_layout):
13565 (query_string_geometry):
13566 (text_query_geometry):
13567 (image_instantiate):
13568 (image_instantiate):
13569 (cache_subwindow_instance_in_frame_maybe):
13570 (subwindow_query_geometry): make instance geometry signed.
13572 * glyphs-widget.c (widget_query_geometry):
13574 (button_query_geometry):
13575 (tree_view_query_geometry):
13576 (tab_control_query_geometry):
13577 (layout_query_geometry):
13579 (native_layout_layout): make instance geometry signed.
13581 2000-05-29 Olivier Galibert <galibert@pobox.com>
13583 * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC
13586 * general.c (syms_of_general): Add Qfull_assoc symbol.
13588 * data.c (finish_marking_weak_lists): Mark full-assoc lists
13590 (decode_weak_list_type): Decode full-assoc type.
13591 (encode_weak_list_type): Encode full-assoc type.
13592 (Fmake_weak_list): Update doc string.
13594 2000-05-30 Andy Piper <andy@xemacs.org>
13596 * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable.
13598 * elhash.c (print_hash_table): new KEY_VALUE weak hashtable.
13599 (decode_hash_table_weakness): ditto.
13600 (Fhash_table_weakness): ditto.
13601 (Fhash_table_type): ditto.
13602 (finish_marking_weak_hash_tables): ditto.
13603 (hash_table_weakness_validate): ditto.
13604 (syms_of_elhash): ditto.
13606 2000-05-28 Martin Buchholz <martin@xemacs.org>
13608 * XEmacs 21.2.34 is released.
13610 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13612 * redisplay.c (VERTICAL_CLIP): No longer reset when updating line
13614 (updating_line_start_cache): Gone.
13615 (regenerate_window): Replace resetting of VERTICAL_CLIP by
13616 generic code to force a minimum of 1 line laid out in the
13619 2000-05-22 Jan Vroonhof <vroonhof@math.ethz.ch>
13621 * glyphs.c (instantiate_image_instantiator): Check for initialized
13622 height & width no longer special cases IMAGE_NOTHING.
13623 (nothing_instantiate): Set height and width of instance.
13625 2000-05-24 Yoshiki Hayashi <yoshiki@xemacs.org>
13627 * unexelf.c (unexec): Search for ".data" section.
13628 Initialize new_data2_offset from old_data_index.
13629 Remove redundant check for ElfW.
13631 2000-05-23 Andy Piper <andy@xemacs.org>
13633 * glyphs.c (get_image_instantiator_governing_domain): allow more
13634 specific domains as the governing domain rather than expecting an
13635 exact match. This fixes problems with layouts.
13637 2000-05-22 Andy Piper <andy@xemacs.org>
13639 * redisplay-output.c (compare_runes): check for non-images
13641 * glyphs.c (set_glyph_dirty_p): ditto.
13642 (update_glyph_cachel_data): ditto.
13644 * glyphs-widget.c (layout_post_instantiate): ditto.
13645 (layout_post_instantiate): ditto.
13647 * event-msw.c (mswindows_wnd_proc): warning removal.
13649 2000-05-12 Craig Lanning <CraigL@DyCon.com>
13651 * s\mingw32.h: Added #undef for CLASH_DETECTION.
13653 * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h.
13655 * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h.
13657 * nt.c (rva_to_section): mingw32 needs rva_to_section.
13658 (mswindows_executable_type): mingw32 now has enough headers for
13661 2000-05-20 Andy Piper <andy@xemacs.org>
13663 * console-msw.c (mswindows_output_last_error): ; -> ,
13665 2000-05-12 Andy Piper <andy@xemacs.org>
13667 * console-msw.c (FROB): compare ints with ints.
13669 2000-05-11 Andy Piper <andy@xemacs.org>
13671 * glyphs-x.c (x_finalize_image_instance): make minimal build
13674 2000-05-20 Ben Wing <ben@xemacs.org>
13677 * event-Xt.c (vars_of_event_Xt):
13678 move modifier-keys-are-sticky to event-stream.c.
13681 * event-msw.c (mswindows_enqueue_mouse_button_event):
13682 * event-msw.c (key_needs_default_processing_p):
13683 * event-msw.c (XEMSW_LCONTROL):
13684 * event-msw.c (mswindows_handle_sticky_modifiers):
13685 * event-msw.c (FROB):
13686 * event-msw.c (clear_sticky_modifiers):
13687 * event-msw.c (output_modifier_keyboard_state):
13688 * event-msw.c (output_alt_keyboard_state):
13689 * event-msw.c (mswindows_wnd_proc):
13690 * event-msw.c (mswindows_modifier_state):
13691 * event-msw.c (emacs_mswindows_handle_magic_event):
13692 implement sticky modifiers.
13695 * event-stream.c (vars_of_event_stream):
13696 move modifier-keys-are-sticky here.
13699 add CHECK_FUNCTION.
13702 implement map-range-table.
13705 2000-05-17 Yoshiki Hayashi <yoshiki@xemacs.org>
13707 * redisplay-tty.c (reset_tty_modes):
13708 (tty_redisplay_shutdown): Adjust argument type to
13709 tty_frame_output_end.
13711 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13713 * eval.c (Fbacktrace): Don't output a line with only right
13716 2000-05-17 Kenji Itoh <keit@tpj.co.jp>
13718 * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'.
13719 (Fpq_reset_poll): Ditto.
13721 2000-05-16 Katsumi Yamaoka <yamaoka@jpl.org>
13723 * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end.
13725 2000-05-16 Ben Wing <ben@xemacs.org>
13728 * buffer.c (dfc_convert_to/from_internal_format):
13729 * buffer.c (reinit_vars_of_buffer):
13730 Fix conversion functions to allow reentrancy.
13733 * console-msw.c (mswindows_output_last_error):
13734 New fun, generally useful -- output a human-readable
13735 version of GetLastError() on the console.
13738 * console-msw.h (struct mswindows_frame):
13739 Changes for DeferWindowPos. Declare mswindows_output_last_error().
13741 * console-stream.c (stream_output_begin):
13742 * console-stream.c (stream_output_end):
13743 * console-stream.c (stream_output_vertical_divider):
13744 * console-stream.c (stream_clear_region):
13745 * console-stream.c (stream_flash):
13746 * console-stream.c (console_type_create_stream):
13747 Delete blank stream methods, not needed.
13749 * console.h (struct console_methods):
13750 Split begin/end methods into window and frame.
13753 * event-msw.c (mswindows_handle_paint):
13754 * event-msw.c (output_alt_keyboard_state):
13755 * event-msw.c (mswindows_wnd_proc):
13756 * event-msw.c (vars_of_event_mswindows):
13757 Comment about problems with ignored-expose.
13758 Define mswindows-debug-events; not really implemented.
13760 * frame-msw.c (mswindows_init_frame_1):
13764 * glyphs-msw.c (begin_defer_window_pos):
13765 * glyphs-msw.c (mswindows_unmap_subwindow):
13766 * glyphs-msw.c (mswindows_map_subwindow):
13767 * glyphs-msw.c (mswindows_resize_subwindow):
13768 Use DeferWindowPos to reduce flashing when mapping/unmapping.
13770 * glyphs.c (make_image_instance_1):
13773 * gutter.c (Fredisplay_gutter_area):
13774 Use new begin/end methods.
13776 * lisp.h (Dynarr_new2):
13780 * redisplay-msw.c (mswindows_frame_output_begin):
13781 * redisplay-msw.c (mswindows_frame_output_end):
13782 * redisplay-msw.c (console_type_create_redisplay_mswindows):
13783 New begin/end methods -- handle DeferWindowPos.
13785 * redisplay-output.c (redisplay_move_cursor):
13786 * redisplay-output.c (redraw_cursor_in_window):
13787 * redisplay-output.c (redisplay_update_line):
13788 * redisplay-output.c (redisplay_output_window):
13789 New begin/end methods.
13792 * redisplay-tty.c (tty_frame_output_begin):
13793 * redisplay-tty.c (tty_frame_output_end):
13794 * redisplay-tty.c (console_type_create_redisplay_tty):
13795 New begin/end methods.
13798 * redisplay-x.c (x_window_output_begin):
13799 * redisplay-x.c (x_window_output_end):
13800 * redisplay-x.c (console_type_create_redisplay_x):
13801 New begin/end methods.
13803 * redisplay.c (redisplay_frame):
13804 * redisplay.c (Fredisplay_echo_area):
13805 New begin/end methods.
13806 use MAYBE_DEVMETH for clear_frame; it may not exist.
13808 * window.h (WINDOW_XFRAME):
13809 WINDOW_XFOO macros -- get locale and decode struct pointer.
13812 2000-05-12 Ben Wing <ben@xemacs.org>
13815 * emacs.c (ensure_no_quitting_from_now_on):
13816 * emacs.c (fatal_error_signal):
13817 * emacs.c (mswindows_handle_hardware_exceptions):
13819 * emacs.c (Fkill_emacs):
13820 * emacs.c (shut_down_emacs):
13821 * emacs.c (assert_failed):
13822 various improvements in fatal error handling.
13825 move preparing_for_armageddon to emacs.c.
13828 declare fatal_error_in_progress.
13831 * print.c (std_handle_out_external):
13832 * print.c (std_handle_out_va):
13833 * print.c (stderr_out):
13834 * print.c (stdout_out):
13835 use console under mswin when no standard output.
13836 don't do code conversion during fatal error.
13838 * scrollbar.c (Fscrollbar_page_up):
13839 * scrollbar.c (Fscrollbar_page_down):
13840 fix missing else. reindent.
13842 2000-05-11 Jan Vroonhof <vroonhof@math.ethz.ch>
13846 * glyphs.h (GLYPH_CACHEL_DESCENT):
13847 (GLYPH_CACHEL_DESCENT):
13848 (GLYPH_CACHEL_DESCENT):
13849 * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables
13850 used in case these are inline functions.
13851 Use more absurd values to error check.
13853 include window.h for error check functions.
13855 2000-05-11 Ben Wing <ben@xemacs.org>
13857 * cmdloop.c (Freally_early_error_handler):
13858 Display message box under windows; otherwise, message will disappear
13859 before it can be viewed.
13862 * console-msw.c (Fmswindows_message_box):
13863 * console-msw.c (FROB):
13864 * console-msw.c (syms_of_console_mswindows):
13865 Define new fun `mswindows-message-box'.
13866 #### I will merge this into `popup-dialog-box'; just give me
13870 * general.c (syms_of_general):
13871 Some new symbols used in `mswindows-message-box'.
13874 * glyphs.c (Fset_image_instance_property):
13875 put warning in this fun.
13878 * glyphs.h (GLYPH_CACHEL_WIDTH):
13879 * glyphs.h (GLYPH_CACHEL_ASCENT):
13880 * glyphs.h (GLYPH_CACHEL):
13881 * glyphs.h (GLYPH_CACHEL_GLYPH):
13882 define error-checking versions to try to catch a bug i've seen --
13883 redisplay gets in an infinite loop because the glyph width of the
13884 continuation glyph is 65535.
13887 Extern message-box stuff.
13889 * window.c (allocate_window):
13890 * window.c (make_dummy_parent):
13891 * window.c (Fset_window_configuration):
13892 Use EQUAL not EQ for subwindow caches to make them work a bit
13893 better. (Something is still very broken.)
13896 2000-05-11 Yoshiki Hayashi <yoshiki@xemacs.org>
13898 * glyphs.c (image_instantiate): Suppress gcc warnings.
13899 (Fmake_image_instance): Fix doc string.
13900 * specifier.c (Fmake_specifier): Ditto.
13902 2000-05-02 Yoshiki Hayashi <yoshiki@xemacs.org>
13904 * paths.h.in (PATH_LOCK): Removed.
13905 * config.h.in (LOCKDIR_USER_DEFINED): Removed.
13906 * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory.
13908 2000-05-08 Yoshiki Hayashi <yoshiki@xemacs.org>
13910 * fns.c (Ffeaturep): Update e-mail address in doc-string.
13911 Document (featurep '(and xemacs 21.02)).
13913 2000-05-09 Ben Wing <ben@xemacs.org>
13915 * buffer.c (complex_vars_of_buffer):
13916 update modeline-format doc.
13919 comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE.
13922 timeline of all released versions of Emacs, for use in creating
13923 authorship comments and in synching up.
13925 * glyphs-widget.c (image_instantiator_buttons):
13926 * glyphs-widget.c (image_instantiator_edit_fields):
13927 * glyphs-widget.c (image_instantiator_combo_box):
13928 * glyphs-widget.c (image_instantiator_scrollbar):
13929 * glyphs-widget.c (image_instantiator_progress_guage):
13930 * glyphs-widget.c (image_instantiator_tree_view):
13931 * glyphs-widget.c (image_instantiator_tab_control):
13932 * glyphs-widget.c (image_instantiator_labels):
13933 * glyphs-widget.c (image_instantiator_layout):
13934 * glyphs-widget.c (image_instantiator_native_layout):
13935 rename decode_domain method to governing_domain.
13938 * glyphs.c (Fvalid_image_instantiator_format_p): doc update.
13939 * glyphs.c (add_entry_to_device_ii_format_list):
13940 make sure we don't put an entry more than once into the list.
13941 * glyphs.c (check_instance_cache_mapper):
13942 *************************************************************
13943 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
13945 *************************************************************
13946 * glyphs.c (get_image_instantiator_governing_domain):
13947 clean up, expand on new concept of governing domain.
13948 * glyphs.c (instantiate_image_instantiator):
13949 * glyphs.c (allocate_image_instance):
13950 use governing_domain instead of cache_domain in naming.
13951 * glyphs.c (Fvalid_image_instance_type_p): fix docs.
13952 * glyphs.c (make_image_instance_1):
13953 * glyphs.c (Fmake_image_instance):
13954 allow for any domain (not just device), and process the
13955 governing domain correctly. very big doc fix.
13956 * glyphs.c (Fimage_instance_domain):
13957 new primitive, to retrieve the governing domain of an image instance.
13958 * glyphs.c (image_instantiate):
13959 use new governing_domain stuff. this fixes a crash you could get
13960 by instantiating certain widget glyphs in frame locales. (should
13961 signal an error instead of crashing.)
13962 * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier.
13963 * glyphs.c (Fglyphp): clean up doc.
13964 * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain.
13965 * glyphs.c (syms_of_glyphs):
13966 declare Fimage_instance_domain, remove unused Qlayout_image_instance_p.
13967 * glyphs.c (image_instantiator_format_create): add some comments about
13969 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string
13970 for current-display-table. (Apparently Hrjove implemented in 1998 a
13971 design I wrote up in 1996, but didn't update the doc string.)
13973 * glyphs.h: clean up a doc string.
13974 * glyphs.h (governing_domain):
13975 * glyphs.h (struct image_instantiator_methods):
13976 changes for governing_domain stuff.
13979 * gutter.c (Fgutter_specifier_p):
13980 * gutter.c (Fgutter_size_specifier_p):
13981 * gutter.c (Fgutter_visible_specifier_p):
13983 * objects.c (Fcolor_specifier_p):
13984 * objects.c (Ffont_specifier_p):
13985 * objects.c (Fface_boolean_specifier_p):
13986 doc strings moved to make-*-specifier.
13988 * redisplay.c (add_disp_table_entry_runes_1):
13989 * redisplay.c (generate_fstring_runes):
13990 * redisplay.c (screen):
13991 add random comments and doc strings.
13994 * specifier.c (Fmake_specifier):
13995 major overhaul of this doc string.
13997 * specifier.c (Fvalid_specifier_domain_p):
13998 comment about the bogosity of image instances being domains.
13999 * specifier.c (decode_domain):
14000 now non-static, used in glyphs.c.
14001 * specifier.c (specifier_instance):
14002 comment about the bogosity of image instances being domains.
14003 * specifier.c (Fgeneric_specifier_p):
14004 move doc string to make-generic-specifier.
14005 * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P):
14009 * specifier.h (DOMAIN_FRAME):
14010 * specifier.h (DOMAIN_LIVE_P):
14011 * specifier.h (DOMAIN_XDEVICE):
14013 add comments about problems with these macros.
14014 prototype for decode_domain.
14017 * toolbar.c (Ftoolbar_specifier_p):
14018 move doc string to `make-toolbar-specifier'.
14020 * window.c (window_unmap_subwindows_cache_mapper):
14021 *************************************************************
14022 allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE
14024 *************************************************************
14026 2000-05-09 Andy Piper <andy@xemacs.org>
14028 * glyphs.h: declare reset_frame_subwindow_instance_cache.
14030 * window.c (Fset_window_configuration): reset the frame subwindow
14031 cache and re-initialize the window subwindow caches.
14033 * glyphs.c (reset_frame_subwindow_instance_cache): new function.
14035 2000-05-09 Ben Wing <ben@xemacs.org>
14037 * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to
14040 2000-04-26 Mike Woolley <mike@bulsara.com>
14042 * ntheap.c: Changed recreate_heap to limit the amount reserved
14043 for the heap to that which is actually available. Also now
14044 displays a message box (with some dignostics) in the event that
14045 it still can't start.
14047 2000-05-07 Jan Vroonhof <vroonhof@math.ethz.ch>
14049 * callproc.c (Fold_call_process_internal): GCPRO path
14051 2000-05-08 Jan Vroonhof <jan@xemacs.org>
14053 Patch by Bill Perry.
14055 * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call
14056 back data instead of #ifdef.
14057 (Fscrollbar_page_down): ditto.
14059 2000-05-07 Ben Wing <ben@xemacs.org>
14062 Kludge for defining Qmswindows_tstr.
14065 * nt.c (open_input_file):
14066 * nt.c (open_output_file):
14067 * nt.c (rva_to_section):
14068 * nt.c (mswindows_executable_type):
14069 Move all memory-mapped-file routines here (some were in unexnt.c,
14070 which is bad because they are used by process-nt.c, and unexnt
14071 won't be around when portable dumping). Synched the above routines
14075 Removed ifdef'd out bogus code.
14076 Fixed some prototypes.
14078 * nt.h (file_data):
14079 * nt.h (OFFSET_TO_RVA):
14080 * nt.h (RVA_TO_OFFSET):
14081 * nt.h (RVA_TO_PTR):
14082 Moved the memory-mapped-file structures, macros and prototypes
14083 here, to parallel nt.c. ntheap.h should really be removed
14084 entirely, and it's a non-portable-dumper specific file.
14086 * ntheap.h (round_to_next):
14087 Moved the memory-mapped-file structures, macros and prototypes
14090 * ntproc.c (compare_env):
14091 Moved rva_to_section and mswindows_executable_type to nt.c.
14092 Moved compare_env to process-nt.c.
14093 ntproc.c will die, one day.
14095 * ntproc.c (sys_spawnve):
14096 Account for win32_ -> mswindows_.
14099 * process-nt.c (struct nt_process_data):
14100 * process-nt.c (ensure_console_window_exists):
14101 * process-nt.c (compare_env):
14102 * process-nt.c (nt_create_process):
14103 * process-nt.c (nt_kill_process_by_pid):
14104 * process-nt.c (syms_of_process_nt):
14105 * process-nt.c (vars_of_process_nt):
14106 Introduce variable `mswindows-quote-process-args', from FSF 20.6.
14107 Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization
14108 changes). Eliminate our old `nt-quote-process-args' mechanism.
14109 Synch up nt_create_process with FSF 20.6 sys_spawnve.
14110 Move compare_env here from ntproc.c.
14112 * process.c (Fprocess_send_region):
14113 Takes an optional fourth argument, BUFFER, which should fix some
14114 problems with call-process.
14117 Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning.
14120 Move ICC_BAR_CLASSES to syscommctrl.h.
14121 Add preliminary macros for MSWindows/Mule. More to come.
14124 * unexnt.c (unexec):
14125 open_output_file moved to nt.c.
14128 2000-05-05 Andy Piper <andy@xemacs.org>
14130 * window.c (window_unmap_subwindows_cache_mapper): remove the dead
14131 instance from the frame cache also since GC may catch up too late
14132 to make frame deletion sane.
14134 2000-05-04 Andy Piper <andy@xemacs.org>
14136 * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks.
14137 (x_finalize_image_instance): ungcpro on deletion.
14139 * glyphs.c (image_instantiator_format_create): give pointers a
14140 query geometry method so that the geometry is at least set.
14142 * glyphs-x.c (image_instantiator_format_create_glyphs_x): only
14143 initialize layouts if using widgets.
14145 2000-05-03 Andy Piper <andy@xemacs.org>
14147 * nt.c: remove bogus reference to sysmmsystem.h
14149 * gui-x.c (popup_selection_callback): fix no selection abort.
14151 2000-05-02 Andy Piper <andy@xemacs.org>
14153 * glyphs-msw.c (mswindows_update_widget): cope with nil text.
14154 (mswindows_widget_instantiate): ditto.
14156 * glyphs-widget.c (initialize_widget_image_instance): initialize
14157 children correctly.
14158 (widget_instantiate): cope with children and items in the same
14161 * glyphs.c (mark_image_instance): cope with children as a first
14163 (image_instance_equal): ditto.
14164 (image_instance_hash): ditto.
14165 (image_instance_changed): ditto.
14167 2000-04-30 Andy Piper <andy@xemacs.org>
14169 * glyphs.c (subwindow_query_geometry): new function. Return some
14171 (subwindow_instantiate): don't assign dimensions if none have been
14173 (image_instantiator_format_create): add subwindow_query_geometry.
14174 (print_image_instance): cope with layouts as widgets.
14176 2000-04-29 Andy Piper <andy@xemacs.org>
14178 * frame.c (delete_frame_internal): call
14179 free_frame_subwindow_instance_cache so that all subwindows are
14180 finalized before their parent.
14181 (mark_frame): remove subwindow_cachels.
14182 (Fmake_frame): remove subwindow_cachel manipulation.
14183 (allocate_frame_core): subwindow_instance_cache is a weak list.
14184 (delete_frame_internal): set subwindow_instance_cache to nil.
14186 * glyphs-msw.c (mswindows_finalize_image_instance): make double
14188 (mswindows_finalize_image_instance): use the device
14189 not the domain as the domain may have died already.
14191 * glyphs-x.c (x_finalize_image_instance): ditto.
14192 (x_subwindow_instantiate): remove SUBWINDOW_WIDTH &
14195 * redisplay-output.c (redisplay_unmap_subwindows): update for
14196 subwindow instance cache as a weak list.
14197 (redisplay_unmap_subwindows_maybe): ditto.
14198 (redisplay_unmap_subwindows_except_us): ditto.
14200 * glyphs.c (unmap_subwindow): error checking will check the domain
14201 so don't deal with it here. Don't use cachels anymore.
14202 (map_subwindow): ditto.
14203 (update_subwindow_cachel_data): remove old accessor names.
14204 (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT.
14205 (Fresize_subwindow): don't update cachel.
14206 (mark_subwindow_cachels):
14207 (update_subwindow_cachel_data):
14208 (add_subwindow_cachel):
14209 (get_subwindow_cachel_index):
14210 (update_subwindow_cachel):
14211 (reset_subwindow_cachels):
14212 (mark_subwindow_cachels_as_not_updated): deleted.
14213 (cache_subwindow_instance_in_frame_maybe): new function. Add a
14214 subwindow instance to the frame cache.
14215 (find_matching_subwindow): update for subwindow instance cache as
14217 (update_widget_instances): ditto.
14218 (image_instance_type_to_mask):inlined.
14219 (free_frame_subwindow_instance_cache): new function. finalize all
14220 subwindows that are instantiated.
14222 * glyphs.h (struct Lisp_Image_Instance): add display_data instead
14223 of cachel information.
14224 (IMAGE_INSTANCE_DISPLAY_X):
14225 (IMAGE_INSTANCE_DISPLAY_Y):
14226 (IMAGE_INSTANCE_DISPLAY_WIDTH):
14227 (IMAGE_INSTANCE_DISPLAY_HEIGHT):
14228 (XIMAGE_INSTANCE_DISPLAY_X):
14229 (XIMAGE_INSTANCE_DISPLAY_Y):
14230 (XIMAGE_INSTANCE_DISPLAY_WIDTH):
14231 (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors.
14232 remove subwindow_cachel structure and function references.
14233 (image_instance_type_to_mask): inline from glyphs.c
14235 * redisplay.c (redisplay_frame): remove subwindow_cachel
14238 * frame.h (struct frame): remove subwindow_cachels.
14239 (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache.
14241 * frameslots.h: add subwindow_instance_cache.
14243 * window.c (replace_window): check subwindow cache of replacement.
14244 (window_unmap_subwindows_cache_mapper):
14245 (window_unmap_subwindows): new functions. Unmap all subwindows
14246 cached on this window.
14247 (mark_window_as_deleted): unmap all subwindows.
14249 2000-04-27 Andy Piper <andy@xemacs.org>
14251 * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths.
14253 * glyphs-widget.c (widget_layout): return something.
14254 (layout_layout): return something. Fail if not initialized.
14255 (layout_query_geometry): ditto.
14256 (image_instantiator_native_layout): new function. Initialized the
14257 native layout type.
14258 (widget_instantiate): don't do layout stuff here.
14260 * glyphs.c (instantiate_image_instantiator): reorded calling or
14261 instantiate and post_instantiate with layout in between.
14262 (image_instance_layout): be more selective about deciding whether
14263 the layout has been done or not.
14265 * glyphs.h (struct image_instantiator_methods): return a value
14266 from layout_method.
14268 2000-04-26 Andy Piper <andy@xemacs.org>
14270 * glyphs.c (allocate_image_instance): make initial width and
14271 height unspecified. Set initialized to 0.
14273 * syscommctrl.h new file. Encapsulates commctrl.h.
14275 * syswindows.h new file. Encapsulates windows.h.
14277 * ntplay.c: use new syswindows.h and syscommctrl.h header.
14279 * console-msw.h: ditto.
14281 * redisplay-tty.c (tty_output_display_block): remove layout references.
14283 * glyphs-msw.c (mswindows_widget_instantiate): use the domain
14284 window handle rather than just the frame.
14286 * glyphs.c (mark_image_instance): remove layout references.
14287 (print_image_instance): ditto.
14288 (image_instance_equal): ditto.
14289 (image_instance_hash): ditto.
14290 (decode_image_instance_type): ditto.
14291 (encode_image_instance_type): ditto.
14292 (image_instantiate): ditto.
14293 (allocate_glyph): ditto.
14294 (Fimage_instance_height): ditto.
14295 (Fimage_instance_width): ditto.
14296 (update_subwindow): ditto.
14298 * redisplay-x.c (x_output_display_block): recode for layouts as
14301 * redisplay-output.c (redisplay_output_layout): recode for layouts
14303 (compare_runes): remove layout references.
14305 * redisplay-msw.c (mswindows_output_display_block): recode for
14306 layouts as widgets.
14308 * glyphs-widget.c (image_instantiator_layout): remove
14309 layout_possible_dest_types.
14310 (layout_possible_dest_types): deleted.
14312 * glyphs.h (image_instance_type): remove layout references.
14313 (struct Lisp_Image_Instance): ditto. Add initialized flag.
14314 (IMAGE_INSTANCE_INITIALIZED): new accessor.
14315 (XIMAGE_INSTANCE_INITIALIZED): ditto.
14317 2000-04-25 Andy Piper <andy@xemacs.org>
14319 * glyphs-widget.c (image_instantiator_buttons):
14320 (image_instantiator_edit_fields):
14321 (image_instantiator_combo_box):
14322 (image_instantiator_scrollbar):
14323 (image_instantiator_progress_guage):
14324 (image_instantiator_tree_view):
14325 (image_instantiator_tab_control):
14326 (image_instantiator_labels):
14327 (image_instantiator_layout): call default post_instantiate method.
14328 (widget_post_instantiate): new function. Simply lays out the
14331 * glyphs.h (struct image_instantiator_methods): add
14332 post_instantiate method.
14334 * glyphs.c (instantiate_image_instantiator): add post_instantiate
14337 2000-04-23 Andy Piper <andy@xemacs.org>
14339 * glyphs.h (struct image_instantiator_methods): add
14340 decode_domain_method.
14341 (struct Lisp_Image_Instance): remove subwindow frame - it can be
14342 derived from the domain.
14343 (IMAGE_INSTANCE_FRAME): new accessor.
14344 (XIMAGE_INSTANCE_FRAME): ditto.
14346 * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME
14347 instead of _SUBWINDOW_FRAME.
14348 (finalize_image_instance): ditto.
14349 (Fimage_instance_foreground): ditto.
14350 (Fimage_instance_background): ditto.
14351 (image_instantiate): ditto.
14352 (update_subwindow_cachel): ditto.
14353 (update_subwindow): ditto.
14354 (unmap_subwindow): ditto.
14355 (map_subwindow): ditto
14356 (subwindow_instantiate): ditto.
14357 * glyphs-msw.c (mswindows_update_widget): ditto.
14358 (mswindows_progress_gauge_instantiate): ditto.
14359 (mswindows_tab_control_update): ditto.
14360 * glyphs-x.c (x_update_widget): ditto.
14361 (x_widget_instantiate): ditto.
14362 (x_tab_control_instantiate): ditto.
14363 (x_tab_control_update): ditto.
14364 * event-msw.c (mswindows_wnd_proc): ditto
14366 * glyphs-widget.c (image_instantiator_layout): use
14367 subwindow_decode_domain.
14368 (image_instantiator_buttons): ditto.
14369 (image_instantiator_edit_fields): ditto.
14370 (image_instantiator_combo_box): ditto.
14371 (image_instantiator_scrollbar): ditto.
14372 (image_instantiator_progress_guage): ditto.
14373 (image_instantiator_tree_view): ditto.
14374 (image_instantiator_tab_control): ditto.
14375 (image_instantiator_labels): ditto.
14376 (image_instantiator_layout): ditto.
14378 * glyphs.c: add instance error checking to many functions.
14379 (instantiate_image_instantiator): decode device from cache_domain.
14380 (image_instantiate): partially rewrite by using
14381 decode_image_instantiator_domain to determine what domain the
14382 instance needs to be cached in.
14383 (decode_image_instantiator_domain): new function. Determine what
14384 domain the image needs to be cached in.
14385 (check_window_subwindow_cache): new error checking function.
14386 (check_instance_cache_mapper): ditto.
14387 (check_image_instance_structure): ditto.
14388 (subwindow_decode_domain): new function. Encodes a window as a
14389 subwindow's cache domain.
14390 (image_instantiator_format_create): use it for text and
14393 2000-04-21 Andy Piper <andy@xemacs.org>
14395 * glyphs.c (image_instance_device): new function.
14396 (image_instance_frame): new function.
14397 (image_instance_window): new function.
14398 (image_instance_live_p): new function.
14400 * window.c (mark_window_as_deleted): reset the subwindow_instance_
14403 * glyphs.h (struct Lisp_Image_Instance): device->domain.
14404 (IMAGE_INSTANCE_DOMAIN): new accessor.
14405 (XIMAGE_INSTANCE_DOMAIN): ditto.
14407 * glyphs-x.c (x_finalize_image_instance): device->domain.
14409 * glyphs-msw.c (init_image_instance_geometry): device->domain.
14410 (mswindows_finalize_image_instance): ditto.
14412 * glyphs-eimage.c (jpeg_instantiate): device->domain.
14413 (gif_instantiate): ditto.
14414 (png_instantiate): ditto.
14415 (tiff_instantiate): ditto.
14417 * glyphs.c (instantiate_image_instantiator): use domain rather
14419 (mark_image_instance): device -> domain.
14420 (print_image_instance): ditto.
14421 (finalize_image_instance): ditto.
14422 (image_instance_equal): ditto.
14423 (allocate_image_instance): ditto.
14424 (Fcolorize_image_instance): ditto.
14425 (query_string_geometry): ditto.
14426 (image_instantiate): ditto
14427 (query_string_font): ditto.
14428 (image_instantiate): ditto.
14429 (update_subwindow): ditto.
14430 (unmap_subwindow): ditto.
14431 (map_subwindow): ditto.
14432 (subwindow_instantiate): ditto.
14434 * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder.
14435 (DOMAIN_FRAME): ditto.
14436 (DOMAIN_WINDOW): ditto.
14437 (DOMAIN_LIVE_P): ditto.
14438 (XDOMAIN_DEVICE): ditto.
14439 (XDOMAIN_FRAME): ditto.
14440 (XDOMAIN_WINDOW): ditto.
14442 * specifier.c (Fvalid_specifier_domain_p): add image instances as
14443 a valid specifier domain.
14445 2000-04-19 Andy Piper <andy@xemacs.org>
14447 * glyphs-widget.c (syms_of_glyphs_widget): remove
14448 widget-callback-current-channel.
14449 (vars_of_glyphs_widget): ditto.
14452 * gui.c (get_gui_callback): revert to previous behaviour.
14454 2000-04-18 Andy Piper <andy@xemacs.org>
14456 * glyphs.h (struct Lisp_Image_Instance): add margin_width.
14457 (IMAGE_INSTANCE_MARGIN_WIDTH): new.
14458 (XIMAGE_INSTANCE_MARGIN_WIDTH): new.
14460 * glyphs.c (image_instance_equal): add margin_width.
14461 (image_instance_hash): ditto.
14463 * glyphs-widget.c (widget_instantiate): deal with margin-width.
14464 (layout_query_geometry): ditto.
14465 (layout_layout): ditto.
14466 (syms_of_glyphs_widget): add margin-width.
14467 (image_instantiator_layout): allow margin-width.
14469 * glyphs.c (update_widget_instances): make a normal function.
14470 (syms_of_glyphs): remove Qupdate_widget_instances.
14473 * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event
14474 so that we don't corrupt ideas about the last event or
14475 command. Remove widget-callback-current-channel fiddling.
14476 * gui-msw.c (mswindows_handle_gui_wm_command): ditto.
14478 2000-05-01 Martin Buchholz <martin@xemacs.org>
14480 * XEmacs 21.2.33 is released.
14482 2000-05-01 Yoshiki Hayashi <yoshiki@xemacs.org>
14484 * make-src-depend: Allow dots in header file name.
14486 2000-05-01 Yoshiki Hayashi <yoshiki@xmacs.org>
14488 * mule-charset.h (struct charset_lookup): Add
14489 next_allocated_1_byte_leading_byte and
14490 next_allocated_2_byte_leading_byte.
14491 * mule-charset.c: Move above two variables so that those values
14494 2000-04-26 Yoshiki Hayashi <yoshiki@xemacs.org>
14496 * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii
14497 when string length is zero.
14498 (find_charsets_in_emchar_string): Ditto.
14500 2000-04-29 Bjrn Torkelsson <torkel@hpc2n.umu.se>
14502 * lisp.h: extern Qdialog and Qmenubar.
14504 * gui-x.c: added events.h.
14505 also fixed typo which made the file uncompilable.
14507 * general.c: Added Qmenubar and Qdialog
14509 2000-04-28 Ben Wing <ben@xemacs.org>
14511 * frame-msw.c (mswindows_init_frame_1):
14512 * frame-msw.c (mswindows_mark_frame):
14513 * event-msw.c (mswindows_enqueue_dispatch_event):
14515 * console-msw.h (struct mswindows_frame):
14516 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1):
14517 there are now three hash tables for callbacks.
14518 mswindows_enqueue_dispatch_event is no longer static.
14520 * dialog-x.c (maybe_run_dbox_text_callback):
14521 * dialog-x.c (dbox_descriptor_to_widget_value):
14522 switch to new cons3 form for callbacks.
14524 * glyphs-msw.c (mswindows_register_gui_item):
14525 * glyphs-msw.c (mswindows_widget_instantiate):
14526 * glyphs-msw.c (add_tree_item):
14527 * glyphs-msw.c (add_tab_item):
14528 new image instance parameter, so it can be passed to callback-ex.
14529 respect :callback-ex as well as :callback.
14531 * glyphs-widget.c (VALID_GUI_KEYWORDS):
14534 * glyphs.c (print_image_instance):
14535 prettify, e.g. now prints widget type.
14538 certain funs have new image instance parameter.
14541 * gui.c (get_gui_callback):
14542 * gui.c (gui_item_add_keyval_pair):
14543 * gui.c (gui_item_init):
14544 * gui.c (gui_add_item_keywords_to_plist):
14545 * gui.c (mark_gui_item):
14546 * gui.c (gui_item_hash):
14547 * gui.c (gui_item_equal):
14548 * gui.c (copy_gui_item):
14549 * gui.c (syms_of_gui):
14550 recognize callback-ex in a number of places.
14551 also, fix the annoying "can't get out of yes-no dialog" bug.
14554 * gui.h (struct Lisp_Gui_Item):
14555 recognize callback-ex in a number of places.
14557 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
14558 new parameter in button_item_to_widget_value.
14560 * glyphs-x.c (x_update_widget):
14561 * glyphs-x.c (x_button_instantiate):
14562 * glyphs-x.c (x_button_update):
14563 * glyphs-x.c (x_progress_gauge_instantiate):
14564 * glyphs-x.c (x_edit_field_instantiate):
14565 * glyphs-x.c (x_combo_box_instantiate):
14566 * glyphs-x.c (x_tab_control_instantiate):
14567 * glyphs-x.c (x_label_instantiate):
14568 new image instance parameter in various places.
14571 * event-Xt.c (enqueue_Xt_dispatch_event):
14572 this fun gets exported.
14575 * gui-msw.c (mswindows_handle_gui_wm_command):
14576 handle both :callback and :callback-ex, and generate our own
14577 event because it's one of the callback-ex arguments.
14580 * gui-x.c (popup_selection_callback):
14581 handle both :callback and :callback-ex, and generate our own
14582 event because it's one of the callback-ex arguments.
14583 * gui-x.c (button_item_to_widget_value):
14584 * gui-x.c (gui_items_to_widget_values_1):
14585 * gui-x.c (gui_item_children_to_widget_values):
14586 * gui-x.c (gui_items_to_widget_values):
14587 new image instance parameter in various places.
14589 * fns.c (Freplace_list):
14590 fix small typo in doc string.
14593 declare enqueue_Xt_dispatch_event.
14595 2000-04-28 Ben Wing <ben@xemacs.org>
14598 * buffer.c (Frecord_buffer):
14599 * buffer.c (syms_of_buffer):
14600 delete record-buffer-hook.
14603 * fns.c (Freplace_list):
14604 * fns.c (syms_of_fns):
14605 new primitive replace-list.
14608 slot for old buffer-alist.
14611 exfun replace-list.
14614 * redisplay.c (redisplay_frame):
14615 * redisplay.c (syms_of_redisplay):
14616 * redisplay.c (vars_of_redisplay):
14617 new hook buffer-list-changed-hook.
14620 2000-04-27 Ben Wing <ben@xemacs.org>
14622 * extents.h: extern in_modeline_generation.
14624 * redisplay.c (generate_formatted_string_db): set
14625 in_modeline_generation.
14627 * extents.c (extent_changed_for_redisplay): don't mark redisplay
14628 flags if in modeline generation. otherwise frame-modified-tick
14629 is ticked far too often.
14630 Declare in_modeline_generation.
14632 2000-04-26 Ben Wing <ben@xemacs.org>
14634 * emacs.c (vars_of_emacs): document quick-build "error-checking"
14636 (vars_of_emacs): add quick-build as an error-checking option.
14637 A bit kludgy, but there doesn't seem much point in creating
14638 a real var for this.
14640 * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE.
14642 2000-04-14 IKEYAMA Tomonori <tomonori@suiyokai.org>
14644 * redisplay.h (struct display_line): Add a new variable,
14647 * redisplay.c (create_text_block): Set dl->line_continuation if
14648 the line continues.
14649 (create_string_text_block): Ditto.
14650 (regenerate_window_incrementally): Use line_continuation instead
14651 of searching continuation glyph.
14652 (add_margin_runes): Call add_glyph_rune.
14653 (add_glyph_rune): Handle margin glyph.
14655 2000-04-20 Martin Buchholz <martin@xemacs.org>
14657 * filelock.c (fill_in_lock_file_name):
14659 Check for IS_ANY_SEP instead of '/'.
14661 Avoid generating gratuitous garbage. Call user_login_name() directly.
14662 Never check errno without first seeing that system call failed.
14663 (unlock_file): Add GCPRO.
14664 (Flock_buffer): Fix docstring.
14665 (Ffile_locked_p): Fix docstring. Add GCPRO.
14667 2000-04-19 Martin Buchholz <martin@xemacs.org>
14669 * sysdep.c (get_pty_max_bytes):
14670 Fix hangs on DEC OSF 4.0 when (process-send-string) sends
14671 strings longer than 252 bytes.
14673 * md5.c: Unconditionally include ANSI header <limits.h>
14675 * glyphs-x.c (convert_EImage_to_XImage):
14676 * lisp-union.h (union Lisp_Object):
14677 Use consistently the syntax #ifdef FEATURE, not #if FEATURE.
14679 2000-04-13 Yoshiki Hayashi <yoshiki@xemacs.org>
14681 * filelock.c (current_lock_owner): Remove unused variable o, p.
14683 2000-04-17 Norbert Koch <n.koch@eai-delta.de>
14685 * callint.c: Remove multiply defined symbol Qlet
14686 (syms_of_callint): ditto.
14688 2000-04-14 Andy Piper <andy@xemacs.org>
14690 * general.c (syms_of_general): add last-command, this-command, let
14693 * lisp.h: declare various symbols.
14695 * glyphs.h: declare Qwidget_callback_current_channel;
14697 * glyphs-widget.c (syms_of_glyphs_widget): add
14698 Qgui_callback_current_channel.
14699 (vars_of_glyphs_widget): add Vgui_callback_current_channel.
14701 * gui-msw.c (mswindows_handle_gui_wm_command): bind
14702 widget-callback-current-channel when invoking the interactive
14703 arg. Also bind last-command and next-command when invoking the
14705 * gui-x.c (popup_selection_callback): ditto.
14707 * gui.c (get_gui_callback): massage args so that we are always
14708 calling eval. This allows us to add our own variable bindings
14711 * glyphs-x.c (x_button_instantiate): use
14712 gui_items_to_widget_values since this is GC safe.
14713 (x_progress_gauge_instantiate): ditto.
14714 (x_edit_field_instantiate): ditto.
14715 (x_label_instantiate): ditto.
14717 * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs.
14718 (emacs_Xt_event_widget_focus_out): new function
14719 (emacs_Xt_event_widget_focus_in): new function. Set the keyboard
14721 (emacs_Xt_event_add_widget_actions): new function. add focus
14722 functions as actions.
14723 (init_event_Xt_late): use it.
14725 2000-04-14 Hrvoje Niksic <hniksic@iskon.hr>
14727 * event-stream.c (Fdispatch_event): Doc fix.
14729 2000-03-29 SL Baur <steve@musashimaru.m17n.org>
14731 * postgresql.c: Remove all references to PQsetenv*.
14733 * postgresql.h: Remove references to PGsetenvHandler object.
14734 * lrecord.h (lrecord_type): Ditto.
14736 2000-04-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
14738 * glyphs-msw.h (struct mswindows_image_instance_data): Added
14739 real_heigh and real_width members, and accessor macros for these.
14741 * glyphs-msw.c (init_image_instance_geometry): New function.
14742 (init_image_instance_from_dibitmap): Use it.
14743 (mswindows_resource_instantiate): Use it.
14744 (init_image_instance_from_xbm_inline): Use it.
14745 (mswindows_initialize_image_instance_mask): Use real bitmap
14747 (mswindows_create_resized_bitmap): Ditto.
14748 (mswindows_create_resized_mask): Ditto.
14750 * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask
14751 and bitmap to their surface size.
14753 2000-04-11 Jan Vroonhof <jan@xemacs.org>
14755 * process-unix.c (unix_send_process): Guard against process MIA
14756 after Faccept_process_output.
14758 2000-04-11 Ben Wing <ben@xemacs.org>
14760 * eval.c (unbind_to_hairy): fix brokenness introduced by
14761 nanosecond speed improvements.
14763 2000-04-07 Raymond Toy <toy@rtp.ericsson.se>
14765 * sunplay.c (init_device): To play sounds correctly, the device
14766 apparently needs to be initialized at least once by XEmacs. Make
14769 2000-04-10 IKEYAMA Tomonori <tomonori@suiyokai.org>
14771 * redisplay.c (add_margin_runes): Add text image glyph
14774 2000-04-06 Yoshiki Hayashi <yoshiki@xemacs.org>
14776 * lisp.h (DOESNT_RETURN): Don't declare as volatile when
14777 gcc is newer than 2.5.
14779 2000-04-06 Colin Rafferty <colin@xemacs.org>
14781 * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created.
14783 * fns.c (size_bit_vector):
14784 * alloc.c (size_vector):
14785 (make_vector_internal):
14786 (make_bit_vector_internal):
14787 (sweep_bit_vectors_1):
14788 Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro.
14790 2000-04-06 Andy Piper <andy@xemacs.org>
14792 * gmalloc.c (malloc): undo previous change.
14797 2000-04-06 IKEYAMA Tomonori <tomonori@suiyokai.org>
14799 * line-number.c (buffer_line_number): Revert to former version.
14801 2000-04-06 Andy Piper <andy@xemacs.org>
14803 * gmalloc.c (malloc): add error checking.
14808 * dialog-x.c (dbox_descriptor_to_widget_value): add extra
14809 button_item_to_widget_value arg.
14811 * glyphs-x.c (x_button_instantiate): add extra
14812 button_item_to_widget_value arg.
14813 (x_progress_gauge_instantiate): ditto.
14814 (x_edit_field_instantiate): ditto.
14815 (x_label_instantiate): ditto.
14817 * gui-x.c (gui_items_to_widget_values_1): add extra
14818 button_item_to_widget_value arg.
14819 (button_item_to_widget_value): add extra menu_item_p arg.
14821 * gui-x.h: change signature of button_item_to_widget_value.
14823 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra
14824 button_item_to_widget_value arg.
14826 2000-04-03 Yoshiki Hayashi <yoshiki@xemacs.org>
14828 * buffer.h (struct buffer): auto_save_modified should be long.
14830 2000-04-05 Andy Piper <andy@xemacs.org>
14832 * glyphs-widget.c (widget_instantiate): pixwidth != pixheight
14834 (button_query_geometry): give a little more room so that athena
14837 2000-04-05 Andy Piper <andy@xemacs.org>
14839 * faces.c (complex_vars_of_faces): The widget face should inherit
14840 the font of the gui-element face.
14842 2000-04-04 Andy Piper <andy@xemacs.org>
14844 * glyphs-x.c (x_button_update): new function. unconditionally
14845 update a button's state when the instance is dirty.
14846 (image_instantiator_format_create_glyphs_x): add x_button_update.
14847 (x_widget_instantiate): remove old resize cruft.
14849 2000-04-02 Andy Piper <andy@xemacs.org>
14851 * frame.c (change_frame_size_1): The introduction of gutters means
14852 that we need to allow 0 as a potential frame dimension.
14854 2000-04-02 IKEYAMA Tomonori <tomonori@suiyokai.org>
14856 * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text
14857 image glyph if allow_cursor.
14858 (add_hscroll_rune): Don't allow cursor to border glyph.
14859 (create_text_block): Ditto.
14861 * redisplay-output.c (redisplay_move_cursor): Do nothing even if
14862 text not in buffer.
14863 (redisplay_output_layout): Call ensure_face_cachel_complete for
14867 2000-03-16 IKEYAMA Tomonori <tomonori@suiyokai.org>
14869 * redisplay.c (add_glyph_rune): Adding text image as text runes.
14871 * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text
14874 * redisplay-tty.c (tty_output_display_block): Delete the routine
14875 for text image glyph
14876 * redisplay-x.c (x_output_display_block): ditto
14877 * redisplay-msw.c (mswindows_output_display_block): ditto
14879 2000-02-02 Mike Alexander <mta@arbortext.com>
14881 Note: Some of these were committed by accident as part of other
14884 * regex.c (regex_compile): Avoid compiler warnings.
14886 * ntproc.c (sys_spawnve): Avoid compiler warnings.
14888 * nt.h: Declare term_ntproc correctly.
14890 * nt.c: Remove incorrect declaration of get_home_directory which
14891 is declared correctly in lisp.h.
14893 * keymap.c (get_keyelt): Avoid compiler warnings.
14894 (raw_lookup_key_mapper): Avoid compiler warnings.
14896 * gutter.c (gutter_was_visible): Add return statement to avoid warning.
14898 * glyphs-eimage.c (png_instantiate): Avoid compiler warnings.
14900 * filemode.c (mode_string): Avoid compiler warnings.
14902 * file-coding.c (Fcoding_system_aliasee): Add return statement to
14905 * events-mod.h: Undef some things that winuser.h defines differently.
14907 * data.c (Faset): Avoid compiler warnings.
14909 * alloc.c (Fmake_byte_code): Avoid compiler warnings.
14911 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14913 * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts.
14914 Fall through to simple beep on error.
14915 Replace "extern" by real header file.
14917 * linuxplay.c: Use nativesound.h
14918 (play_sound_data): Return error code. Be less verbose on error.
14920 * sunplay.c: Use nativesound.h
14921 (play_sound_data): Return error code. Be less verbose on error.
14923 * ntplay.c: Use nativesound.h
14924 (play_sound_data): Return fake error code
14926 * sgiplay.c: Use nativesound.h
14927 (play_sound_data): Return error code
14929 * hpplay.c: Use nativesound.h, partially implement
14930 new error code. Break compilation until finished.
14931 (play_sound_data): error code.
14933 * nativesound.h (play_sound_file):
14934 (play_sound_data): Prototype in new header.
14936 2000-03-31 Andy Piper <andy@xemacs.org>
14938 * glyphs-widget.c: (button_query_geometry): new function. Adjust
14939 for toggle and radio buttons.
14940 (image_instantiator_buttons): use it.
14942 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
14944 * scrollbar-x.c (x_update_vertical_scrollbar_callback):
14945 (x_update_horizontal_scrollbar_callback): Return if no mirror was
14946 found. Scrollbar event probably belonged to some old config.
14948 2000-03-31 Andy Piper <andy@xemacs.org>
14950 * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather
14952 (initialize_widget_image_instance): default layout to
14953 LAYOUT_HORIZONTAL rather than 0.
14954 (widget_instantiate): reverse the item list at the end rather than
14956 (layout_layout): re-code for the border text at the front of the
14957 item list rather than at the end.
14958 (layout_query_geometry): ditto. Pick up fixed and dynamic sizes
14959 provided by the user.
14960 (widget_query_geometry): comment.
14962 2000-03-30 Andy Piper <andy@xemacs.org>
14964 * glyphs-widget.c (image_instantiator_layout): allow standard
14965 widget keywords in layouts.
14967 * gutter.c (output_gutter): cope with nil gutter contents.
14969 * frame.c (Fset_frame_properties): add gutter docs.
14971 2000-03-29 Andy Piper <andy@xemacs.org>
14973 * toolbar-msw.c (TBSTYLE_FLAT): add.
14974 (mswindows_output_toolbar): minor fiddling.
14976 2000-03-29 Andy Piper <andy@xemacs.org>
14978 * gutter.c (output_gutter): force gutter size recalculation if
14979 what we are trying to display won't fit.
14980 (update_gutter_geometry): new function. A per-gutter version of
14981 update_frame_gutter_geometry.
14982 (update_frame_gutter_geometry): use it.
14983 (redraw_exposed_gutter): add extra debugging output.
14985 2000-03-28 Mike Alexander <mta@arbortext.com>
14987 * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only)
14988 (pdump_file_unmap): Implement it on Windows
14989 (pdump_file_get): Save alocated handles for pdump_file_unmap
14991 2000-03-28 Andy Piper <andy@xemacs.org>
14993 * gui.c (get_gui_callback): treat Quit specially.
14995 2000-03-27 Andy Piper <andy@xemacs.org>
14997 * glyphs.c (image_instantiate): be careful to check in the same
15000 2000-03-27 Didier Verna <didier@xemacs.org>
15002 * config.h.in: define the proper SMART_INCLUDE macro.
15003 handle renaming of `foo_h_path' to `foo_h_file'.
15005 * database.c: ditto.
15009 * linuxplay.c: ditto.
15011 * terminfo.c: ditto.
15013 * tooltalk.h: ditto.
15015 2000-03-27 Andy Piper <andy@xemacs.org>
15017 * glyphs-msw.c (mswindows_update_widget): make sure the widget
15018 gets updated whenever the face might have changed.
15020 2000-03-26 Mike Alexander <mta@arbortext.com>
15022 * dumper.c (pdump_resource_free): Fix the comment.
15024 2000-03-21 Olivier Galibert <galibert@pobox.com>
15026 * input-method-xlib.c (XIM_init_frame): Remove painful warning.
15028 2000-03-22 Mike Alexander <mta@arbortext.com>
15030 * dumper.c: Include Windows headers on Windows
15031 (pdump_resource_free): Add a body to the function
15032 (pdump_load): exe_name -> exe_path and add some comments.
15034 2000-03-25 Mike Alexander <mta@arbortext.com>
15036 * gui.c (copy_gui_item_tree): Return a value in all cases
15038 2000-03-21 Didier Verna <didier@xemacs.org>
15040 * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from
15042 (SMART_INCLUDE): new macro.
15043 (POSTGRES_INCLUDE): new macro to include postgresql headers from
15044 the proper location.
15046 * postgresql.c: use it.
15050 2000-03-24 Andy Piper <andy@xemacs.org>
15052 * gutter.c (redraw_exposed_gutters): must be "in display" when we
15055 2000-03-24 Andy Piper <andy@xemacs.org>
15057 * redisplay-output.c (compare_runes): use image_instance_changed
15058 to detect changes. Do not depend on glyphs_changed, only depend on
15060 (redisplay_output_layout): add debug messages.
15061 (compare_runes): ditto.
15063 * glyphs.h: declare new functions.
15064 (struct Lisp_Image_Instance): remove percent and associated
15067 * gui.h: declare new copying functions.
15069 * gui.c (copy_gui_item_tree): new function.
15070 (copy_gui_item): new function.
15071 (gui_item_id_hash): revert to standard hash.
15072 (gui_item_hash): ditto.
15073 (gui_item_hash_internal): deleted.
15074 (mark_gui_item): mark value.
15075 (gui_item_add_keyval_pair): add value.
15076 (gui_item_init): ditto.
15077 (gui_add_item_keywords_to_plist): ditto.
15078 (gui_item_equal): ditto.
15079 (syms_of_gui): add Q_value.
15081 * glyphs-x.c (x_progress_gauge_update): use pending items and
15082 value for setting the state.
15083 (x_update_widget): don't set items from pending here.
15085 * glyphs-widget.c (update_widget): update items here.
15086 (progress_gauge_set_property): use items for storing value. Put
15087 new value in pending items.
15089 * glyphs-msw.c (mswindows_progress_gauge_update): use pending
15090 items for new value. Convert percent -> value.
15091 (mswindows_tab_control_update): don't update items here.
15093 * glyphs.c (Fupdate_widget_instances): use image_instance_changed.
15094 (update_subwindow): ditto.
15095 (image_instance_changed): new function. Compare hash values and
15096 past and present widget items.
15097 (image_instantiate): We more careful about where we instantiate
15099 (image_instantiate): add error checking.
15101 * gutter.c (syms_of_gutter): use -hook.
15103 2000-03-20 Yoshiki Hayashi <yoshiki@xemacs.org>
15105 * console-tty.c (Fset_console_tty_input_coding_system): Use
15107 (Fset_console_tty_output_coding_system): Use Qterminal.
15108 (tty_init_console): Use Qkeyboard and Qterminal.
15110 2000-03-21 Ben Wing <ben@xemacs.org>
15112 * ntproc.c (create_child): remove bogus HAVE_NTGUI's.
15113 From Mike Alexander <mta@arbortext.com>.
15115 2000-03-21 Ben Wing <ben@xemacs.org>
15117 * event-msw.c (mswindows_need_event): Horrible kludge to fix
15118 process brokenness. Proper implementation to come.
15120 Rename call-process-internal to old-call-process-internal.
15121 New impl. in process.el.
15123 2000-03-21 Martin Buchholz <martin@xemacs.org>
15125 * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments.
15127 2000-03-20 Andy Piper <andy@xemacs.org>
15129 * glyphs.c (full_list_hash): make hashes of the same elements in
15130 different orders return different values.
15132 2000-03-20 Martin Buchholz <martin@xemacs.org>
15134 * XEmacs 21.2.32 is released.
15136 2000-03-20 Martin Buchholz <martin@xemacs.org>
15138 * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA):
15139 (DFC_MALLOC_USE_CONVERTED_DATA):
15140 Add aliasing-safe casts to allow use with char* or unsigned char*
15143 * eldap.c (Fldap_open):
15144 (Fldap_search_basic):
15147 Make C++-compilable.
15148 Make sure GCPRO'ed variables are initialized.
15149 Use temp variables to avoid repeated calls to Flength.
15151 2000-03-16 Martin Buchholz <martin@xemacs.org>
15154 Make sure PATH_MAX is always defined.
15155 Include limits.h for PATH_MAX.
15156 Deprecate use of MAXPATHLEN.
15158 2000-03-10 Martin Buchholz <martin@xemacs.org>
15160 * emacs.c: Add reinit_vars_of_fileio.
15161 * symsinit.h: Add reinit_vars_of_fileio.
15162 * fileio.c (reinit_vars_of_fileio): New.
15163 * fileio.c (Fmake_temp_name):
15164 Initialize temp_name random number from microseconds to make
15165 collisions even less likely. Initialize always at process startup
15166 time. (make-temp-name) used to return the same file name twice in
15168 Random stylistic fiddling.
15171 2000-03-20 Andy Piper <andy@xemacs.org>
15173 * glyphs.c (image_instantiate): allow text glyphs to be
15174 instantiated in the minibuffer window.
15176 2000-03-19 Andy Piper <andy@xemacs.org>
15178 * glyphs.c (image_instance_hash): be careful about which items we
15181 * glyphs-widget.c (tab_control_set_property): record into pending
15182 items rather than the actual items.
15184 * glyphs-x.c (x_update_widget): use pending items to update with.
15186 * glyphs-msw.c (mswindows_tab_control_update): use pending items
15189 * glyphs.c (mark_image_instance): mark pending items.
15191 * window.c (Fset_window_configuration): record the buffer.
15192 (Fselect_window): totally revert previous change which breaks many
15195 2000-03-18 Andy Piper <andy@xemacs.org>
15197 * glyphs-msw.c (mswindows_tab_control_update): force selected
15200 * glyphs.c (image_instantiate): don't allow the minibuffer as a
15201 window domain cache, otherwise we get inconsistencies at
15202 startup. There is something fishy at startup which can lead to the
15203 minibuffer being the selected window when the gutter content is
15206 * gui.c (parse_gui_item_tree_list): add probably unnecessary
15208 (parse_gui_item_tree_children): ditto.
15209 (parse_gui_item_tree_item): ditto.
15211 * glyphs.c (Fupdate_widget_instances): return something.
15213 2000-03-18 Yoshiki Hayashi <yoshiki@xemacs.org>
15215 * window.c (Fselect_window): Undo 2000-03-17 change.
15217 2000-03-17 SL Baur <steve@musashimaru.m17n.org>
15219 * postgresql.c (Fpq_setenv): Remove this turkey when linking
15220 against v7.0 libraries. Insta-coredump city until the postgres
15223 2000-03-17 Andy Piper <andy@xemacs.org>
15225 * faces.c (complex_vars_of_faces): don't give the widget face an
15226 inherited background pixmap.
15228 * glyphs-msw.c (mswindows_tab_control_instantiate): select the
15231 * event-stream.c (Fdispatch_non_command_events): return something.
15233 * gutter.c (output_gutter): use widget face.
15234 (clear_gutter): ditto.
15236 * NEWS: adjust again.
15238 * window.c (Fselect_window): make sure this runs to completion to
15239 avoid oddities with Fset_window_configuration.
15240 (Fcurrent_window_configuration): in general do not save the
15241 minibuffer as the selected window.
15243 * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase.
15245 2000-03-16 Olivier Galibert <galibert@pobox.com>
15247 * emacs.c (Frunning_temacs_p): Revert previous patch.
15248 (main_1): Reinitialize running_temacs_argc if pdump_load succeeds.
15250 2000-03-16 Andy Piper <andy@xemacs.org>
15252 * glyphs-x.c (x_tab_control_update): if no widget values then
15255 * NEWS: update for new features.
15257 * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a
15258 synthetic event to the native system.
15259 (reinit_vars_of_event_Xt): set force_event_pending to
15260 emacs_Xt_force_event_pending.
15262 * events.h (struct event_stream): add force_event_pending.
15264 * specifier.c (recompute_one_cached_specifier_in_window): add
15267 * redisplay.c (redisplay_frame): don't call
15268 update_frame_subwindows. Reset subwindow cachels when
15269 subwindows_changed, removing this was an optimization too far.
15271 * redisplay-output.c (compare_runes): reorganize so that we catch
15272 glyph changes when we want them. Set optimize_output when this
15273 would help layouts.
15274 (redisplay_output_layout): remove frame_really_changed, use
15275 optimize_output instead.
15277 * redisplay-msw.c (mswindows_output_display_block): reset
15278 optimize_output after outputting a glyph.
15279 * redisplay-x.c (x_output_display_block): ditto.
15280 * redisplay-tty.c (tty_output_display_block): ditto.
15282 * gutter.c: (specifier_vars_of_gutter): use new spec changed
15284 (gutter_specs_changed): do specific gutter positions.
15285 (top_gutter_specs_changed): new function. Only update the
15286 specified gutter specs.
15287 (bottom_gutter_specs_changed): ditto.
15288 (left_gutter_specs_changed): ditto.
15289 (right_gutter_specs_changed): ditto.
15291 * gui.c (gui_item_hash_internal): new function, does a real hash.
15292 (gui_item_id_hash): use it.
15293 (gui_item_hash): hash the eval'ed gui_item.
15295 * gui-x.c (popup_selection_callback): send an eval event to call
15296 Fupdate_widget_instances.
15298 * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event
15299 to call Fupdate_widget_instances.
15301 * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag.
15302 (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it.
15304 * glyphs.c: (update_frame_subwindows): deleted.
15305 (Fupdate_widget_instances): new function for updating the dirty
15306 state of widgets that might have changed.
15307 (syms_of_glyphs): add Qupdate_widget_instances.
15308 (full_list_hash): hash a list completely.
15309 (image_instance_hash): use it for items and properties.
15311 * frame-msw.c (mswindows_size_frame_internal): remove unused
15314 * faces.h (struct face_cachel): fix comment.
15316 * event-stream.c (Fdispatch_non_command_events): new
15317 function. Process non-command events, forcing an event cycle
15319 (syms_of_event_stream): declare.
15320 (event_stream_force_event_pending): new function. Force an event
15321 on the native event queue so that an event cycle will occur next
15325 (struct ntpipe_shove_stream):
15326 (mswindows_enqueue_dispatch_event):
15327 (mswindows_dequeue_dispatch_event):
15328 (mswindows_cancel_dispatch_event):
15329 (mswindows_pump_outstanding_events):
15330 (mswindows_drain_windows_queue):
15331 (mswindows_handle_paint):
15332 (mswindows_wnd_proc):
15333 (mswindows_key_to_emacs_keysym):
15334 (get_process_input_waitable):
15335 (emacs_mswindows_delete_stream_pair): re-indent file.
15336 (mswindows_need_event): do not process further fds if the windows
15337 fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This
15338 fixes the 100% cpu problem.
15339 (reinit_vars_of_event_mswindows): set force_event_pending to 0.
15341 2000-03-15 Olivier Galibert <galibert@pobox.com>
15347 * emacs.c: Moved dump file searching to dumper.c.
15348 (Frunning_temacs_p): Fixed.
15350 * alloc.c: Moved everything pdump-related to dumper.c. Removed
15351 last_lrecord_type_index_assigned.
15353 2000-02-20 Olivier Galibert <galibert@pobox.com>
15355 * symsinit.h: Added reinit parameter to init_console_stream
15358 * lisp.h: Added file parameter to pdump_load declaration.
15360 * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id
15361 support. Added dump file searching.
15363 * config.h.in: Added EMACS_PROGNAME.
15365 * console-stream.c (init_console_stream): Fix reinitialisation
15366 when running from temacs.
15368 * alloc.c (pdump): Add id support.
15369 (pdump_load): Add file parameter and signature/id support.
15371 * Makefile.in.in: Add full pdump support.
15373 2000-03-15 SL Baur <steve@musashimaru.m17n.org>
15375 * postgresql.c: Update documentation to reflect latest code
15377 (print_result): Show tuple counts in printed representation when
15379 (Fpq_put_nbytes): MULE-ize.
15380 (Fpq_get_line_async): Ditto.
15382 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15384 * postgresql.c (Fpq_lo_import): Fix return value.
15385 Suggested by: Kenji Itoh <keit@tpj.co.jp>.
15387 2000-03-13 Ben Wing <ben@xemacs.org>
15389 * alloc.c (pdump_load):
15390 Fix compile warning under mswin.
15392 2000-03-14 SL Baur <steve@musashimaru.m17n.org>
15394 * postgresql.c: Mule-ization, bug fixes.
15395 Use PG_CODING to encapsulate coding system name changes.
15396 Backport a version of TO_EXTERNAL format for 21.1/InfoDock.
15397 (pg-coding-system): Create.
15399 (Fpq_conn_defaults): Mule-ize.
15400 (Fpq_connectdb): Mule-ize & bug fix.
15401 (Fpq_connect_start): Mule-ize.
15402 (Fpq_set_client_encoding): Mule-ize.
15403 (Fpq_finish): Document `DEAD' connection status.
15404 (Fpq_clear): Ditto.
15405 (Fpq_pgconn): Mule-ize.
15406 (Fpq_exec): Mule-ize & bug fix.
15407 (Fpq_send_query): Ditto.
15408 (Fpq_get_result): Ditto.
15409 (Fpq_res_status): Mule-ize.
15410 (Fpq_result_error_message): Mule-ize.
15411 (Fpq_ntuples): fix comments.
15412 (Fpq_fname): Mule-ize.
15413 (Fpq_fnumber): Mule-ize.
15414 (Fpq_ftype): fix comments.
15415 (Fpq_get_value): Mule-ize.
15416 (Fpq_cmd_status): Ditto.
15417 (Fpq_cmd_tuples): Ditto.
15418 (Fpq_oid_value): Ditto.
15419 (Fpq_notifies): Ditto.
15420 (Fpq_lo_import): Ditto.
15421 (Fpq_lo_export): Ditto.
15422 (Fpq_get_line): Ditto.
15423 (Fpq_put_line): Mule-ize and bug fix.
15424 (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system.
15426 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15428 * postgresql.c (vars_of_postgresql): Mule-ize.
15429 (Fpq_conn_defaults): Ditto.
15431 2000-03-12 Ben Wing <ben@xemacs.org>
15433 * alloc.c (Fmake_byte_code):
15434 * alloc.c (debug_string_purity_print):
15435 * alloc.c (pdump_backtrace):
15436 * alloc.c (pdump_get_indirect_count):
15437 * alloc.c (pdump_register_sub):
15438 * alloc.c (pdump_register_object):
15439 * alloc.c (pdump_register_struct):
15440 * alloc.c (pdump_dump_data):
15441 * alloc.c (pdump_reloc_one):
15445 * console-msw.c (GetConsoleHwnd):
15446 * console-msw.c (msw_hide_console):
15447 * console-msw.c (msw_show_console):
15448 * console-msw.c (msw_ensure_console_buffered):
15449 * console-msw.c (msw_output_console_string):
15450 * console-msw.c (console_type_create_mswindows):
15452 a) Added functions to manipulate the console window for use with
15455 b) Added support for writing text to the console, which is now
15456 used under Windows when xemacs is not being run non-interactively,
15457 to write text that would otherwise be destined for stdout because
15458 under these circumstances, text written to stdout tends to
15459 disappear and not be seen.
15463 * event-Xt.c (x_event_to_emacs_event):
15464 * event-Xt.c (describe_event_window):
15465 * events-mod.h (XEMACS_MOD_CONTROL):
15467 * events.c (Fmake_event):
15468 * events.c (character_to_event):
15469 * events.c (event_to_character):
15470 * events.c (format_event_object):
15471 * events.c (Fevent_modifiers):
15473 * events.h (struct key_data):
15474 * events.h (struct button_data):
15475 * events.h (struct misc_user_data):
15476 * frame-x.c (Fcde_start_drag_internal):
15477 * frame-x.c (Foffix_start_drag_internal):
15478 * gpmevent.c (Freceive_gpm_event):
15480 * keymap.c (bucky_sym_to_bucky_bit):
15481 * keymap.c (control_meta_superify):
15482 * keymap.c (make_key_description):
15483 * keymap.c (keymap_lookup_directly):
15484 * keymap.c (create_bucky_submap):
15485 * keymap.c (keymap_store):
15486 * keymap.c (define_key_check_and_coerce_keysym):
15487 * keymap.c (define_key_parser):
15488 * keymap.c (define_key_alternate_name):
15489 * keymap.c (Fdefine_key):
15490 * keymap.c (raw_lookup_key_mapper):
15491 * keymap.c (struct map_keymap_unsorted_closure):
15492 * keymap.c (map_keymap_unsorted_mapper):
15493 * keymap.c (map_keymap_sort_predicate):
15494 * keymap.c (map_keymap_sorted):
15495 * keymap.c (accessible_keymaps_mapper_1):
15496 * keymap.c (where_is_recursive_mapper):
15497 * keymap.c (describe_map_mapper):
15498 * keymap.c (describe_map_sort_predicate):
15499 * keymap.c (describe_map):
15500 * keymap.c (complex_vars_of_keymap):
15501 And a number of other files, the key modifier preprocessor
15502 constants that xemacs uses have names that conflict with constants
15503 defined under MS Windows for other purposes, so they were renamed
15504 to begin with the prefix XEMACS_. The variables that hold such
15505 modifiers were changed to consistently be of type int to fix
15506 various compile warnings.
15508 * console.c (complex_vars_of_console):
15511 * device-msw.c (mswindows_finish_init_device):
15512 * device-msw.c (msw_get_workspace_coords):
15513 * device-msw.c (mswindows_device_system_metrics):
15514 and various other files, added support for a new
15515 device property called offset-workspace which returns the position
15516 of the upper left corner of the workspace area and goes along with
15517 the existing size-workspace property.
15520 * dialog-msw.c (push_bufbyte_string_as_unicode):
15521 * dialog-msw.c (mswindows_popup_dialog_box):
15522 Added support for XEmacs-style accelerator specifications in
15523 button text. Note: I didn't add support for this under X Windows,
15524 and somebody needs to do this.
15527 * dialog.c (Fpopup_dialog_box):
15528 Documented the support for accelerators that was just mentioned.
15530 editfns.c (get_home_directory): Changed behavior under Windows
15531 when HOME not defined; former behavior was irretrievably broken.
15534 * emacs.c (main_1):
15536 * minibuf.c (clear_echo_area_internal):
15537 * minibuf.c (echo_area_append):
15539 * print.c (std_handle_out_external):
15540 * print.c (std_handle_out_va):
15542 * print.c (write_string_to_stdio_stream):
15543 * print.c (output_string):
15544 * print.c (debug_print):
15545 * print.c (debug_backtrace):
15546 * print.c (debug_short_backtrace):
15547 Cleaned up the code that prints text to stdout so that this can be
15548 changed to output into a console window instead under MS Windows,
15549 as described above.
15552 * eval.c (DEFEND_AGAINST_THROW_RECURSION):
15553 * eval.c (internal_catch):
15554 * eval.c (unwind_to_catch):
15555 * eval.c (throw_or_bomb_out):
15556 * eval.c (condition_case_1):
15557 * eval.c (signal_1):
15558 * eval.c (check_error_state_sanity):
15559 * eval.c (call_with_suspended_errors_1):
15560 * eval.c (call_with_suspended_errors):
15561 * eval.c (reinit_vars_of_eval):
15562 Added code to catch throw loops and check for a pesky bug that may
15566 * event-msw.c (key_needs_default_processing_p):
15567 * event-msw.c (mswindows_wnd_proc):
15568 * event-msw.c (mswindows_modifier_state):
15569 * event-msw.c (emacs_mswindows_quit_p):
15570 * event-msw.c (vars_of_event_mswindows):
15571 a) Added support for using the alt key to select menu items as is
15572 standard under MS Windows. This is controlled using the variable
15573 menu-accelerator-enabled, just like under X Windows. There is an
15574 option on the options menu to turn this support on. I really
15575 think that it should be on by default under Windows, but I'm not
15576 going to make this change yet.
15578 b) Added support for dynamic display size changes under Windows.
15581 * event-stream.c (maybe_echo_keys):
15582 * event-stream.c (Fnext_event):
15583 * event-stream.c (command_builder_find_leaf):
15584 * event-stream.c (lookup_command_event):
15585 * event-stream.c (execute_command_event):
15586 * event-stream.c (pre_command_hook):
15587 * event-stream.c (post_command_hook):
15588 * event-stream.c (syms_of_event_stream):
15589 * event-stream.c (vars_of_event_stream):
15590 * event-stream.c (complex_vars_of_event_stream):
15591 * events.h (struct command_builder):
15593 a) Tried to clean up a little bit the horribly written x-specific
15594 accelerator code that crept into this file. I moved this code
15595 into menubar-x.c where it belongs. I also needed to move the
15596 command builder structure into the file events.h because it is
15597 accessed directly by this accelerator code. What I didn't do, but
15598 which should be done at some point, is to properly abstract this
15599 code using device methods instead of the kludgy way that it
15600 currently hooks into the event code.
15602 b) Added the lisp variables this-command-properties and
15603 last-command- properties, which should be used to synchronize two
15604 adjacent commands in preference to playing games with the variable
15605 this-command, which is typically what happens.
15607 c) Added some slightly nasty code to hook into the lisp support
15608 for shifted- motion-key selection. This is actually necessary for
15609 somewhat complicated reasons, which are described in
15610 simple.el. (NB: I think the proper thing would be to have the code
15611 that calls the pre and post command hooks also call out to generic
15612 lisp functions in simple.el, where all built-in stuff could be
15613 added. I will think about this more.)
15615 * event-unixoid.c (poll_fds_for_input):
15616 * lread.c (readchar):
15617 * redisplay-tty.c (tty_clear_frame):
15618 * redisplay-x.c (x_get_gc):
15619 * signal.c (interrupt_signal):
15620 And a whole bunch of other files: fixed up places that printed
15621 directly to stderr to instead call the function stderr_out so that
15622 the changes I made under Windows work correctly.
15624 * filemode.c (mode_string):
15628 * frame-msw.c (mswindows_size_frame_internal):
15629 Fixed the computation of frame size and position to keep the frame
15630 within the workspace area, rather than within the physical
15631 dimensions of the screen, so that the frame doesn't overlap window
15632 manager decorations, such as the start menu and toolbar, typically
15633 at the bottom of the screen.
15635 * frame.c (vars_of_frame):
15636 Changed the default frame title format under MS Windows to consist
15637 of buffername-XEmacs, which is standard under MS Windows. I think
15638 it might be a good idea to change this everywhere because I think
15639 it is superior to the current frame title format, but this is the
15640 kind of change that is likely to cause some people to get annoyed,
15641 so I'm not making it.
15643 * glyphs-eimage.c (png_instantiate): Fixed some compile warnings.
15645 * gui-msw.c (mswindows_handle_gui_wm_command):
15646 Fixed compile warnings.
15649 * gui-x.c (strdup_and_add_accel):
15650 * gui-x.c (button_item_to_widget_value):
15652 Added code to automatically put an accelerator onto the beginning
15653 of menu items that don't have one as is now the standard, and is
15654 described more later. Also fixed things so that the menu item
15655 name can be an evaluated expression, again a new standard.
15658 * gui.c (gui_item_add_keyval_pair):
15659 * gui.c (make_gui_item_from_keywords_internal):
15660 * gui.c (gui_add_item_keywords_to_plist):
15661 * gui.c (gui_item_accelerator):
15662 * gui.c (gui_name_accelerator):
15663 * gui.c (gui_item_included_p):
15664 * gui.c (gui_item_display_flush_left):
15665 * gui.c (gui_item_display_flush_right):
15666 * gui.c (parse_gui_item_tree_item):
15667 * gui.c (parse_gui_item_tree_children):
15668 * gui.c (parse_gui_item_tree_list):
15669 Mule-ized. Cleanup. GCPRO addition.
15671 * line-number.c (buffer_line_number):
15673 * lisp.h (EMACS_INT_MAX):
15674 Added the manifest constant EMACS_INT_MIN corresponding to the
15675 existing constant EMACS_INT_MAX. This is partially to fix compile
15676 warnings under Windows, and partly for cleanliness.
15679 * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH):
15680 * menubar-msw.c (msw_translate_menu_or_dialog_item):
15681 * menubar-msw.c (displayable_menu_item):
15682 * menubar-msw.c (populate_menu_add_item):
15683 * menubar-msw.c (populate_or_checksum_helper):
15684 * menubar-msw.c (populate_menu):
15685 * menubar-msw.c (update_frame_menubar_maybe):
15686 * menubar-msw.c (prune_menubar):
15687 * menubar-msw.c (msw_char_is_accelerator):
15688 * menubar-msw.c (unsafe_handle_wm_initmenu_1):
15689 * menubar-msw.c (mswindows_handle_wm_command):
15690 * menubar-msw.c (mswindows_handle_wm_initmenupopup):
15691 * menubar-msw.c (mswindows_handle_wm_initmenu):
15692 * menubar-msw.c (mswindows_update_frame_menubars):
15693 * menubar-msw.c (mswindows_free_frame_menubars):
15694 * menubar-msw.c (mswindows_popup_menu):
15695 Fixed a bug in handling accelerators where an extra character
15696 would be displayed in the menu item. Also generalized the
15697 function displayable_menu_item because it is now used by the
15698 dialog box code as well. And finally, added code in the functions
15699 that create the menubar to extract a list of accelerators for the
15700 top level menubar, which is used in the event code to determine
15701 whether a particular alt-key combination should be used to invoke
15702 a menu item, or should be passed through to access the standard
15703 XEmacs keymap binding for this key combination.
15705 Much needed GCPROing.
15708 * menubar-x.c (menu_item_descriptor_to_widget_value_1):
15709 * menubar-x.c (menu_item_descriptor_to_widget_value):
15710 * menubar-x.c (restore_in_menu_callback):
15711 * menubar-x.c (x_popup_menu):
15712 * menubar-x.c (menu_move_up):
15713 * menubar-x.c (menu_move_down):
15714 * menubar-x.c (menu_move_left):
15715 * menubar-x.c (menu_move_right):
15716 * menubar-x.c (menu_select_item):
15717 * menubar-x.c (command_builder_operate_menu_accelerator):
15718 * menubar-x.c (menu_accelerator_junk_on_error):
15719 * menubar-x.c (command_builder_find_menu_accelerator):
15720 * menubar-x.c (Faccelerate_menu):
15722 Moved a whole bunch of code here that was previously in
15723 event-stream.c as described above. There is also code connected
15724 to the new standard of adding an accelerator to the beginning of
15725 menu items that don't have one as described above and below.
15728 * menubar.c (menu_parse_submenu_keywords):
15729 * menubar.c (Fmenu_find_real_submenu):
15730 * menubar.c (Fnormalize_menu_item_name):
15731 * menubar.c (syms_of_menubar):
15732 * menubar.c (vars_of_menubar):
15733 * menubar.c (complex_vars_of_menubar):
15735 a) Cleaned up a bunch of documentation and improved it.
15737 b) XEmacs now automatically adds an accelerator onto the beginning
15738 of any menu items that don't have one. I did this because there
15739 will inevitably be some menu items on the main menubar that don't
15740 have accelerators on them because the package that adds that
15741 particular menu item hasn't yet been fixed up to have accelerators
15742 in them and it looked rather strange to have some items with and
15743 some items without accelerators, especially since even in items
15744 without accelerators, you can, at least under windows, still
15745 access the item through an accelerator corresponding to the first
15746 character in the item's name. If people don't like this behavior,
15747 I can add a variable to turn it off optionally, but I'm not sure
15748 this is a good idea because we really do need to have accelerators
15749 on all of the menu items, and if a package doesn't like the
15750 accelerators being put on the first character, then it should put
15751 the accelerators where they belong.
15753 c) I made a behavior change, which is that the descriptor that
15754 specifies the text of the menu item, which formerly was just a
15755 string, can now also be an evaluated expression. This makes this
15756 descriptor parallel with all of the others, which could also be
15757 evaluated expressions. This also obviates the need for the
15758 keyword :label, which was previously listed in the documentation
15759 as unimplemented, and which was for the same purpose.
15764 * ntproc.c (new_child):
15765 * ntproc.c (sys_spawnve):
15766 * ntproc.c (find_child_console):
15767 * ntproc.c (sys_kill):
15768 Fixed compile warnings. By the way, this file should really go
15769 away entirely, and this will happen as soon as Kirill makes his
15770 final round of process cleanups, which affect the function
15774 * process-nt.c (struct nt_process_data):
15775 * process-nt.c (find_process_from_pid):
15776 * process-nt.c (send_signal_the_nt_way):
15777 * process-nt.c (enable_child_signals):
15778 * process-nt.c (find_child_console):
15779 * process-nt.c (send_signal_the_95_way):
15780 * process-nt.c (nt_finalize_process_data):
15781 * process-nt.c (ensure_console_window_exists):
15782 * process-nt.c (nt_create_process):
15783 * process-nt.c (nt_kill_child_process):
15784 * process-nt.c (nt_kill_process_by_pid):
15785 * process-nt.c (nt_open_network_stream):
15786 * process-nt.c (vars_of_process_nt):
15787 Copied over code from Emacs 20.5 to correctly send signals to sub-
15788 processes under Windows 95. Also added code to automatically
15789 create and hide console window when a sub-process is created under
15790 Windows 95, which obviates the need for the separate runemacs.exe
15791 executable, and finally implemented some variables that were
15792 implemented in Emacs 20.5, but previously not in XEmacs. These
15793 include mswindows- start-process-share-console and
15794 mswindows-start-process-inherit-error-mode. (Both of these only
15795 apply to Windows 95.)
15797 * regex.c (regex_compile): Fixed a compile warning.
15800 * select-msw.c (mswindows_own_selection):
15801 * select-msw.c (mswindows_get_foreign_selection):
15802 * select-msw.c (mswindows_disown_selection):
15803 * select-msw.c (console_type_create_select_mswindows):
15804 * select-msw.c (syms_of_select_mswindows):
15805 Cleaned up the file and implemented the device method
15806 selection_exists_p, which had accidentally been left out. Also
15807 removed four lisp functions that were remnants from before the
15808 time when the selection code was properly device abstracted.
15809 These functions are no longer needed because there are generic
15810 equivalents, and because they were added recently and don't exist
15811 in FSF Emacs, I don't think there's any problem with just deleting
15815 * sysdep.c (sys_subshell):
15816 Fixed a compile warning, although in this case there's probably
15817 something wrong with this code, and it ought to be looked into
15818 more thoroughly by somebody who understands it.
15821 * window.c (Fwindow_text_area_height):
15822 * window.c (Fwindow_width):
15823 * window.c (Fwindow_full_width):
15824 * window.c (Fwindow_pixel_width):
15825 * window.c (debug_print_window):
15826 * window.c (syms_of_window):
15827 Added functions window-text-area-height and window-full-width,
15828 which are functions for returning various width and height
15829 characteristics of a window. (One of these functions is necessary
15830 for making the file dialog box work correctly, and the other one
15831 was added for completeness.) Also added a table to the
15832 documentation for window-height which describes the entire scheme
15833 for accessing width and height characteristics of a window.
15835 2000-03-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
15837 * nt.c (fstat): Added a comment for another problem with
15838 non-encapsulated [f]stat(), reported by Adrian Aichner
15839 <aichner@ecf.teradyne.com>.
15841 2000-03-11 Andy Piper <andy@xemacs.org>
15843 * window.c (make_dummy_parent): initialize subwindow instance
15845 (Fset_window_configuration): zero extent_modiff.
15847 2000-03-10 Andy Piper <andy@xemacs.org>
15849 * redisplay.c (Fredraw_frame): reset the changed_set flags so that
15850 more changes can be triggered.
15851 (Fredisplay_frame): ditto.
15852 (Fredraw_device): ditto.
15853 (Fredisplay_device): ditto.
15854 (redisplay_frame): make non-static.
15855 (redisplay_frame): call update_frame_gutter_geometry outside of
15858 * gutter.h: declare update_frame_gutter_geometry.
15860 * redisplay.h: declare redisplay_frame.
15862 * gutter.c (update_frame_gutter_geometry): move geometry changes
15863 in update_frame_gutters here. Geometry changes can only occur
15864 outside of redisplay.
15865 (update_frame_gutters): remove geometry change code.
15866 (Fredisplay_gutter_area): make sure that we are in display when we
15867 update and that we have flushed any size changes.
15869 2000-03-11 Andy Piper <andy@xemacs.org>
15871 * alloc.c (pdump_dump_data): remove i & count shadows.
15873 2000-02-27 Mike Alexander <mta@arbortext.com>
15875 * sysdep.h: Declare pdump_read_file
15877 * sysdep.c (pdump_read_file): New function
15879 * alloc.c (pdump_load): Call pdump_read_file to get the portable
15882 2000-03-10 SL Baur <steve@musashimaru.m17n.org>
15884 * lrecord.h: add `lrecord_type_pgsetenv'.
15886 2000-03-08 SL Baur <steve@musashimaru.m17n.org>
15888 * symsinit.h: declare (vars|syms)_of* functions.
15889 * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'.
15891 2000-03-06 SL Baur <steve@musashimaru.m17n.org>
15893 * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7
15895 * inline.c: Include postgresql.h lrecord stuffs to placate buggy
15898 * emacs.c (main_1): Call postgres initialization code.
15900 * postgresql.h: New file. PostgreSQL RDBMS support.
15901 * postgresql.c: New file.
15903 2000-03-08 Yoshiki Hayashi <yoshiki@xemacs.org>
15905 * redisplay-output.c (redisplay_output_display_block): Disable
15908 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15910 * mule-canna.c (Fcanna_henkan_region): Translate doc-string.
15911 (Fcanna_henkan_next): Ditto.
15912 (Fcanna_bunsetu_henkou): Ditto.
15913 (Fcanna_henkan_kakutei): Ditto.
15914 (Fcanna_henkan_end): Ditto.
15915 (Fcanna_henkan_quit): Ditto.
15916 (Fcanna_henkan_next): Set retun value correctly.
15917 (c2mu): Use unsigned char instead of signed char.
15919 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15921 * emacs.c (main_1): Always call syms_of_gui.
15922 * inline.c: include gui.h
15924 2000-03-09 Yoshiki Hayashi <yoshiki@xemacs.org>
15926 * redisplay.c (Vvisible_bell): Renamed from visible_bell and
15927 converted to Lisp_Object.
15928 (Qtop_bottom): New variable.
15929 (syms_of_redisplay): Initialize it.
15930 * redisplay.h (Vvisible_bell): Ditto.
15931 * sound.c (ding): Ditto and check if Vvisible_bell is nil.
15932 * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom,
15933 only flash top and bottom.
15935 2000-03-08 Andy Piper <andy@xemacs.org>
15937 * buffer.c (Frename_buffer): record new buffer name the right way.
15939 2000-03-08 Andy Piper <andy@xemacs.org>
15941 * glyphs.c (update_subwindow): increase hash depth so that widget
15942 items get picked up properly.
15944 * redisplay-output.c (compare_runes): increase hash depth so that
15945 widget items get picked up properly.
15947 2000-03-08 Andy Piper <andy@xemacs.org>
15949 * gutter.c (output_gutter): add some debug.
15951 * glyphs.h (struct Lisp_Image_Instance): add display_hash.
15952 (IMAGE_INSTANCE_DISPLAY_HASH): new macro.
15953 (XIMAGE_INSTANCE_DISPLAY_HASH): ditto.
15955 * redisplay-output.c (compare_runes): use display_hash to
15956 determine if glyphs really are not the same.
15958 * glyphs.c (update_subwindow): check display_hash to see if
15959 anything really needs to be updated. If not then do
15960 nothing. Record the display_hash after updating.
15961 (image_instance_equal): compare the image_instance face also.
15963 2000-03-07 Yoshiki Hayashi <yoshiki@xemacs.org>
15965 * redisplay.h: Fix comment style.
15967 2000-03-08 Jonathan Harris <jhar@tardis.ed.ac.uk>
15969 * consle-msw.h (struct mswindows_frame):
15970 Added new member paint_pending to indicate whether a WM_PAINT
15971 magic event has been queued for this frame.
15973 * event-msw.c (mswindows_drain_windows_queue):
15974 Don't queue a WM_PAINT magic event if one is already queued.
15975 (emacs_mswindows_handle_magic_event): clear paint_pending flag.
15977 * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag.
15979 2000-03-07 Didier Verna <didier@xemacs.org>
15981 * dired.c: #include `regex.h' after `sysfile.h'.
15983 2000-03-06 Martin Buchholz <martin@xemacs.org>
15985 * sound.c (init_nas_sound): Fix compiler warning.
15987 * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New.
15989 (MARK_STRUCT_AS_FREE):
15990 (MARK_STRUCT_AS_NOT_FREE):
15991 Make `gcc -fstrict-aliasing' work properly.
15993 2000-03-07 Jonathan Harris <jhar@tardis.ed.ac.uk>
15995 * device-msw.c (mswindows_finish_init_device): Call CoInitialize().
15996 (mswindows_delete_device): Call CoUnnitialize().
15998 * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts.
16000 2000-02-25 <CraigL@DyCon.com>
16002 * process-nt.c: MinGW now has <shellapi.h>, but still needs
16005 * sysdep.c: This extern declaration for environ prevents MinGW
16006 from finding the variable in CRTDLL.DLL.
16008 * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's
16010 (SHGFI_EXETYPE): ..
16011 (WM_MOUSEWHEEL): ..
16012 (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL
16014 (MMRESULT): Removed, now defined in cygwin's windows headers.
16016 (uid_t,gid_t,pid_t,ssize_t): ..
16017 (_timeb): Removed, MinGW defines both _timeb and timeb.
16018 (HAVE_H_ERRNO): Added.
16019 (HAVE_TZNAME): Added, configure is not detecting this.
16021 2000-02-03 IKEYAMA Tomonori <tomonori@suiyokai.org>
16023 * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro.
16024 * syntax.c (syntax_match): Use it.
16026 * cmds.c: Import auto-fill-chars from FSF Emacs.
16027 (Vauto_fill_chars): New variables.
16028 (internal_self_insert): Check Vauto_fill_chars.
16030 Declare auto-fill-chars as a Lisp variable and initialize it.
16032 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16034 * fileio.c (Fmake_symbolic_link):
16036 Run handlers even if local machine doesn't have symlinks.
16038 2000-03-05 Jonathan Harris <jhar@tardis.ed.ac.uk>
16040 * event-msw.c (mswindows_drain_windows_queue):
16041 Don't generate paint magic events for non-XEmacs frames.
16043 2000-03-05 Andy Piper <andy@xemacs.org>
16045 * redisplay.c (redisplay_frame): generate_displayable_area and
16046 friends assumes that we are not in GC, we therefore have to make
16047 sure that this doesn't happen.
16049 * gutter.c (calculate_gutter_size): generate_displayable_area
16050 assumes that we are not in GC, we therefore have to make sure that
16051 this doesn't happen.
16053 2000-03-05 Martin Buchholz <martin@xemacs.org>
16055 * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr
16057 2000-03-03 Jan Vroonhof <vroonhof@math.ethz.ch>
16059 * redisplay.c (regenerate_window): Make sure we set a sane value
16060 for end_pos even if we jump out of the loop.
16061 (regenerate_window): Answer Ben's question :-).
16062 (start_end_of_last_line): Add may_error argument.
16063 (start_of_last_line):
16064 (end_of_last_line): Pass may_error = 0.
16065 (end_of_last_line_may_error): New function.
16066 (pixel_to_glyph_translation): Use it, so we don't crash in
16069 2000-03-04 Andy Piper <andy@xemacs.org>
16071 * window.h (struct window): add gutter_extent_modiff.
16073 * window.c (allocate_window): zero out gutter_extent_modiff.
16075 * redisplay.h: declare sync_display_line_structs.
16077 * redisplay.c (add_glyph_rune): add a better comment.
16079 * redisplay-output.c (sync_display_line_structs): made non-static.
16080 (compare_runes): remove unneccesary glyph cachel access.
16082 * gutter.h: declare gutter_extent_signal_changed_region_maybe.
16084 * gutter.c (output_gutter): don't output the gutter if extent
16085 changes only involve extents in buffers. use 4 sets of display
16087 (gutter_extent_signal_changed_region_maybe): new function. Mark
16088 extents in gutters as changed.
16089 (update_frame_gutters): use 4 sets of display lines.
16090 (reset_gutter_display_lines): ditto.
16091 (free_frame_gutters): ditto.
16092 (redraw_exposed_gutter): force output of gutters.
16094 * frame.h (struct frame): add 4 sets of gutter display lines.
16096 * extents.c: (extent_changed_for_redisplay): signal changes to
16097 extents in strings in the gutter as well as extents in buffers.
16099 2000-03-02 Andy Piper <andy@xemacs.org>
16101 * gutter.c (specifier_vars_of_gutter): cosmetic changes.
16103 * frame.c (Fmake_frame): make sure the gutters get initialized
16104 after the frame is visible.
16105 (set_frame_selected_window): re-arrange compilation macros a
16107 (change_frame_size_1): mark gutters changed.
16109 * device.c (Fset_device_class): mark gutters changed.
16111 2000-03-01 Andy Piper <andy@xemacs.org>
16113 * window.c (window_top_frame_gutter_height): deleted.
16114 (window_bottom_frame_gutter_height): ditto.
16115 (window_left_frame_gutter_height): ditto.
16116 (window_right_frame_gutter_height): ditto.
16117 (window_top_gutter_height): don't use them.
16118 (window_bottom_gutter_height): ditto.
16119 (window_left_gutter_width): ditto.
16120 (window_right_gutter_width): ditto.
16121 (Fsplit_window): ditto.
16122 (Fwindow_pixel_edges): don't use border dimensions here.
16124 * scrollbar.c (update_scrollbar_instance): don't take gutters into account.
16125 (update_scrollbar_instance): ditto.
16127 * redisplay.c (generate_modeline): don't take gutters into account.
16128 (generate_modeline): ditto.
16129 (redisplay_frame): small gutter display optimization.
16131 * redisplay-x.c (x_output_vertical_divider): don't take gutters into account.
16133 * redisplay-msw.c (mswindows_output_vertical_divider): don't take
16134 gutters into account.
16136 * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks
16137 for window position and type.
16139 * gutter.c (get_gutter_coords): fix for frame gutters.
16140 (update_frame_gutters): update frame geometry if the gutters have
16142 (init_frame_gutters): record current gutter geometries.
16144 * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused
16146 (mswindows_widget_instantiate): ditto.
16148 * frame.h (struct frame): add current_gutter_bounds.
16150 * frame.c (change_frame_size_1): position window and minibuffer
16151 appropriately taking into account the frame gutters.
16153 * frame-x.c: (x_initialize_frame_size): take into account the
16156 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16158 * emacs.c (data-directory): Xref `locate-data-file' in docstring.
16160 2000-02-29 Stephen J. Turnbull <stephen@xemacs.org>
16162 * alloc.c (dumpopaquevec): Increase dimension for --with-canna.
16164 1999-12-30 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16166 * file-coding.c (reset_decoding_stream): Clear previous
16167 detection state when autodetect.
16169 2000-02-29 Didier Verna <didier@xemacs.org>
16171 * extents.c (set_extent_glyph_1): don't require extents to be
16174 2000-02-27 Andy Piper <andy@xemacs.org>
16176 * gutter.c (Fset_default_gutter_position): don't default left and
16177 right gutter visibility to t.
16178 (Fset_default_gutter_position): run
16179 default-gutter-position-changed-hook.
16180 (syms_of_gutter): add default-gutter-position-changed-hook.
16182 2000-02-26 Andy Piper <andy@xemacs.org>
16184 * specifier.c (Fmake_specifier): add gutter references.
16186 * gutter.h (RAW_WINDOW_GUTTER): new macro.
16188 * lisp.h: declare Fvalid_plist_p.
16190 * gutter.c (gutter_geometry_changed_in_window): mark the modeline
16192 (default_gutter_visible_p_changed_in_window): invalidate gutter as
16193 well as its visibility so that it gets reconstructed.
16194 (construct_window_gutter_spec): new function. Construct a string
16195 to be displayed in the gutter from a plist of strings. Take care
16196 to only use elements that are declared as visible.
16197 (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of
16199 (gutter_validate): allow plists of strings in the specifier.
16200 (gutter_specs_changed): construct the real_gutter from the gutter
16201 specs using construct_window_gutter_spec.
16202 (gutter_visible_validate): gutter-visible is a new specifier type.
16203 (Fgutter_visible_specifier_p): new function for the new specifier.
16204 (syms_of_gutter): declare gutter-visible and
16205 Fgutter_visible_specifier_p.
16206 (specifier_type_create_gutter): intitalize new gutter-visible
16208 (reinit_specifier_type_create_gutter): ditto.
16209 (specifier_vars_of_gutter): use new specifier type for gutter
16211 (init_frame_gutters): construct real_gutter correctly.
16212 (Fgutter_specifier_p): beef up documentation.
16213 (Fgutter_size_specifier_p): ditto.
16215 * winslots.h: add real_gutter slots.
16217 2000-02-25 Andy Piper <andy@xemacs.org>
16219 * device-msw.c: Be kind to older cygwin versions. From Raymond
16220 Toy <toy@rtp.ericsson.se>.
16222 * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to
16223 earlier cygwins. From Raymond Toy <toy@rtp.ericsson.se>.
16225 2000-02-25 Martin Buchholz <martin@xemacs.org>
16227 * elhash.c (MARK_OBJ): Practice macro hygiene.
16229 2000-02-24 Martin Buchholz <martin@xemacs.org>
16231 * miscplay.c: s/__inline__/inline/g;
16232 * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline
16233 (get_device_compdc): INLINE ==> static inline
16234 * *.[ch]: Change INLINE to INLINE_HEADER globally.
16235 find -name '*.h' | \
16236 xargs global-replace \
16237 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g'
16239 2000-02-25 Andy Piper <andy@xemacs.org>
16241 * window.c (window_top_frame_gutter_height): new function.
16242 (window_top_window_gutter_height): ditto.
16243 (window_top_gutter_height): use them.
16244 (window_bottom_frame_gutter_height): new function.
16245 (window_bottom_window_gutter_height): ditto.
16246 (window_bottom_gutter_height): use them.
16247 (window_left_window_gutter_width): new function.
16248 (window_left_frame_gutter_width): ditto.
16249 (window_left_gutter_width): use them.
16250 (window_right_window_gutter_width): new function.
16251 (window_right_frame_gutter_width): ditto.
16252 (window_right_gutter_width): use them.
16253 (window_pixel_height): new function. calulate window pixel height
16254 with frame gutter involvement.
16255 (Fsplit_window): calculate new sizes taking frame gutters into
16257 (window_char_height_to_pixel_height): don't include frame gutters.
16258 (window_char_height): use window_pixel_height.
16259 (window_pixheight): rename from window_pixel_height.
16260 (change_window_height): use it.
16261 (window_pixel_height_to_char_height): don't include frame gutters.
16262 (window_char_width_to_pixel_width): ditto.
16264 2000-02-25 Andy Piper <andy@xemacs.org>
16266 * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash
16269 2000-02-24 Martin Buchholz <martin@xemacs.org>
16271 * alloc.c (staticpro):
16272 (staticpro_nodump):
16277 (compact_string_chars):
16278 (pdump_dump_wired):
16279 Convert: if (foo) abort(); ==> assert (! foo);
16281 * eldap.c (Fldap_search_basic):
16285 Fix compiler warnings, and possible crashes if (random) return
16286 value were to be used.
16288 2000-02-21 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16290 * device-msw.c: Workaround ResetDC failure.
16292 * frame-msw.c (msprinter_init_frame_3): Added an assertion before
16293 applying a devmode.
16295 * redisplay-msw.c (get_frame_dc): Added start_page_p.
16296 (mswindows_text_width): Do not start printer page.
16298 * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends.
16300 * glyphs-msw.c: Added image methods to msprinter console and
16301 msprinter-specific image instantiation.
16303 2000-02-20 Mike Alexander <mta@arbortext.com>
16305 * select-msw.c (Fmswindows_set_clipboard): GC protect more things
16306 to avoid crashes when selection-sets-clipboard is on
16307 (mswindows_own_selection): ditto
16309 2000-02-19 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16312 * redisplay-msw.c (get_frame_dc):
16313 (get_frame_compdc):
16315 * device-msw.c (mswindows_init_device):
16316 (mswindows_delete_device):
16317 (msprinter_init_device):
16318 (msprinter_delete_device):
16319 * frame-msw.c (mswindows_init_frame_1):
16320 (mswindows_delete_frame):
16321 (msprinter_init_frame_3):
16322 (msprinter_delete_frame): Move compatible DC to device object from
16323 frame object, for both mswindows and msprinter. Only one at a time
16324 is needed, it is a real waste to have one per frame!
16326 2000-02-23 Andy Piper <andy@xemacs.org>
16328 * glyphs.c: add dynamic width and height elements.
16329 (image_instance_equal): ditto.
16331 * glyphs-widget.c (widget_query_geometry): calculate width and
16332 height dynamically if required.
16333 (initialize_widget_image_instance): initialize dynamic dimensions.
16334 (widget_instantiate): pick-up dynamic dimensions.
16336 * glyphs.h (struct Lisp_Image_Instance): add width and height for
16337 dynamic determination. Add appropriate macros.
16339 * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer
16341 (WINDOW_GUTTER_SIZE): ditto.
16342 (WINDOW_GUTTER_SIZE_INTERNAL): ditto.
16344 * redisplay-msw.c (get_frame_compdc): gcc can't cope with this
16346 (get_frame_dc): ditto.
16348 * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces
16351 2000-02-23 Martin Buchholz <martin@xemacs.org>
16353 * XEmacs 21.2.31 is released.
16355 2000-02-22 Ben Wing <ben@xemacs.org>
16357 * ntheap.c (allocate_heap): Make sure `ptr' is initialized.
16359 2000-02-22 Andy Piper <andy@xemacs.org>
16361 * glyphs-x.c (x_widget_instantiate): don't explicitly resize here.
16363 2000-02-21 Mike Sperber <mike@xemacs.org>
16367 * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment
16370 2000-02-21 Mike Sperber <mike@xemacs.org>
16372 * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is.
16374 2000-02-21 Martin Buchholz <martin@xemacs.org>
16376 * XEmacs 21.2.30 is released.
16378 2000-02-20 Martin Buchholz <martin@xemacs.org>
16380 Performance hacking.
16382 Add INIT_LRECORD_IMPLEMENTATION macros, paired with
16383 DEFINE_LRECORD_IMPLEMENTATION macros in the same file.
16384 * emacs.c (main_1):
16386 * console.c (DEFVAR_CONSOLE_LOCAL_1):
16387 * buffer.c (DEFVAR_BUFFER_LOCAL_1):
16388 * symeval.h (DEFVAR_SYMVAL_FWD):
16389 * symbols.c (guts_of_unbound_marker):
16390 Make all c_readonly objects also lisp_readonly and marked for life.
16391 * lrecord.h (struct lrecord_implementation):
16392 Document flags better.
16393 * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS):
16394 * lrecord.h (DECLARE_LRECORD):
16395 * lrecord.h (XSETRECORD):
16396 * lrecord.h (RECORDP):
16397 * lrecord.h (RECORD_TYPEP):
16398 * lrecord.h (RECORD_MARKER): New.
16399 * lrecord.h (error_check_*):
16400 * lrecord.h (CONCHECK_NONRECORD):
16401 * lrecord.h (MAKE_LRECORD_IMPLEMENTATION):
16402 * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New.
16403 * lrecord.h (set_lheader_implementation):
16404 * lrecord.h (enum lrecord_type): New.
16405 * symeval.h (SYMBOL_VALUE_MAGIC_P):
16406 * alloc.c (disksave_object_finalization_1):
16407 * alloc.c (mark_object):
16408 * alloc.c (lrecord_type_index):
16409 * alloc.c (tick_lcrecord_stats):
16410 * alloc.c (Fgarbage_collect):
16411 * alloc.c (init_alloc_once_early):
16412 * alloc.c (pdump_load):
16413 * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New.
16414 * alloc.c (lrecord_type_index): Delete.
16415 Make lisp object type indexes be constant.
16416 Makes (byte-compile) 5% faster.
16417 Put all marker functions into their own array.
16418 Makes (garbage-collect) 5% faster.
16419 Optimize SYMBOL_VALUE_MAGIC_P.
16420 Makes (byte-compile) 2-3% faster.
16421 * config.h.in (gc_checking_assert): New.
16422 * alloc.c: Use gc_checking_assert().
16423 * .dbxrc: Make compatible with new object type implementation.
16424 * .gdbinit: Make compatible with new object type implementation.
16425 * alloc.c: Delete all symbols defined only for debugging, such as
16426 Lisp_Type_Vector and lrecord_charset.
16428 2000-02-21 Andy Piper <andy@xemacs.org>
16430 * gui-msw.c (Fmswindows_shell_execute): fix file location
16433 * buffer.c (Fkill_buffer): remove buffer from alist buffer
16434 unshowing so that set_window_buffer doesn't undo
16435 kill_buffer_hook's hard work.
16437 * glyphs-widget.c (tab_control_query_geometry): don't count the
16438 first item when calculating geometry.
16440 * glyphs.c (map_subwindow): remove redundant code.
16441 (update_frame_subwindows): be more circumspect about when to
16444 * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug
16445 when items haven't changed. Update faces if faces have changed as
16446 well as just the widget face.
16447 (x_tab_control_update): Update faces if faces have changed as well
16448 as just the widget face.
16450 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16452 * device-msw.c: (mswindows_delete_device): Remove redundant DDE
16454 (build_syscolor_string): Use mswindows_color_to_string to try to
16456 (mswindows_device_system_metrics): Reverse the foreground and
16457 background colors so that they match the documentation.
16459 * objects-msw.c: (mswindows_X_color_map): tweak some values so
16460 they match the default Windows palette.
16461 (mswindows_color_to_string): New function.
16463 2000-02-21 Jonathan Harris <jhar@tardis.ed.ac.uk>
16465 * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6.
16467 2000-02-18 Olivier Galibert <galibert@pobox.com>
16469 * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS,
16470 WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND.
16472 * symbols.c (init_symbols_once_early): Removed obsolete
16473 DATA_SEG_BITS related kludge.
16474 (defvar_magic): Ditto.
16476 * malloc.c: Removed obsolete DATA_SEG_BITS
16478 * mem-limits.h: Ditto.
16480 * Makefile.in.in: Removed obsolete HAVE_SHM
16483 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16485 * device-msw.c (mswindows_delete_device): Free DDE string
16488 2000-02-16 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16490 * keymap.c (get_keyelt):
16491 * unexnt.c (unexec):
16492 * vm-limit.c (memory_warnings):
16493 * ntheap.c (recreate_heap):
16494 * ntheap.h (UNINIT_PTR):
16495 * select-msw.c (Fmswindows_get_clipboard):
16496 (Fmswindows_set_clipboard):
16497 * objects-msw.h (MSWINDOWS_BAD_HFONT):
16499 * menubar-msw.c (displayable_menu_item):
16501 * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK):
16502 * sysdep.c (sys_subshell):
16503 * process-nt.c (nt_create_process):
16504 * nt.c (normalize_filename):
16505 (dostounix_filename):
16506 (unixtodos_filename):
16507 * ntproc.c (win32_executable_type):
16508 * ntplay.c (play_sound_data_1):
16510 * editfns.c (get_home_directory):
16511 * event-msw.c (struct winsock_stream):
16512 (mswindows_dde_callback):
16513 * device-msw.c (msprinter_init_device):
16514 (msprinter_get_devmode_copy): Frobbed syntax frivolities.
16516 * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to
16517 mswindows_clear_toolbar were swapped!
16519 * objects-msw.c:(colormap_t):
16521 * emacs.c (struct standard_args): Fixed const jumble.
16523 * glyphs-widget.c (update_widget): Fixed comparison notation.
16525 * event-msw.c (mswindows_dde_callback): Removed extraneous ';'.
16527 * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC
16528 __declspec(noreturn) syntax.
16530 2000-02-19 Martin Buchholz <martin@xemacs.org>
16532 * eldap.c (Fldap_open):
16533 (Fldap_search_basic):
16536 Use new coding system conversion macros.
16538 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16540 * console-tty.c (tty_init_console): Change MULE to FILE_CODING.
16542 1999-11-27 Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
16544 * eldap.h (Fldap_search) Renamed from Fldap_search_internal:
16545 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16547 * eldap.c (Qadd, Qreplace): New constant symbols
16548 (Fldap_open): Use the LDAP_OPT_RESTART option to avoid
16549 interruptions by XEmacs signals
16550 Remove unnecessary calls to slow_down_interrupts and
16551 speed_up_interrupts
16552 (Fldap_search_basic): Renamed from Fldap_search_internal
16553 Added new optional parameter VERBOSE that triggers the
16554 display of progress messages
16555 Remove unnecessary calls to slow_down_interrupts and
16556 speed_up_interrupts
16557 LDAP result code analysis rewritten
16558 (Fldap_add, Fldap_modify, Fldap_delete): New functions
16559 (syms_of_eldap): Define the new symbols and functions
16562 2000-02-17 Martin Buchholz <martin@xemacs.org>
16564 * realpath.c: Determine PATH_MAX maximally portably.
16566 * insdel.c (bytecount_to_charcount): Optimize.
16567 The function used to be optimized for entirely ASCII sequences.
16568 Now it is optimized for successive characters from the same
16569 charset. This also wins big for _mostly_ ASCII sequences.
16571 * fileio.c (Ffile_truename): convert return from realpath() using
16572 Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks.
16573 - Rewrite GCPROing slightly.
16575 * sysdep.c (sys_open): Do filename conversion, like all other
16576 sys_* functions. Fixes bug:
16577 (let ((file-name-coding-system 'iso-8859-2))
16578 (write-region x y latin2-name))
16579 ==> writes filename using internal encoding.
16581 2000-02-18 Martin Buchholz <martin@xemacs.org>
16583 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const.
16584 * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const.
16585 * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const.
16586 * eval.c (lrecord_subr): Remove this_one_is_unmarkable.
16587 * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable.
16588 * symbols.c (guts_of_unbound_marker): Turn on c_readonly.
16589 * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete.
16590 (CONST_IF_NOT_DEBUG): Delete.
16591 * alloc.c (this_one_is_unmarkable): Delete.
16592 (mark_object): Don't check for this_one_is_unmarkable. Use the
16593 c_readonly flag instead.
16594 * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly.
16596 2000-02-18 Jonathan Harris <jhar@tardis.ed.ac.uk>
16598 * event-msw.c (mswindows_drain_windows_queue):
16599 (emacs_mswindows_handle_magic_event): Remove attempt to optimise
16600 away redundant repaint events.
16602 2000-02-17 Andy Piper <andy@xemacs.org>
16604 * redisplay.h: declare mark_redisplay_structs.
16606 * redisplay.c (redisplay_window):
16607 (redisplay_frame): don't check subwindows_state_changed.
16608 (mark_redisplay): mark gutters here.
16610 * glyphs.c: (instantiate_image_instantiator): always layout if we
16611 haven't done so already.
16612 (allocate_image_instance): don't mark as dirty.
16613 (update_subwindow): bind inhibit_quit.
16615 * gutter.c (mark_gutters): new function.
16617 * glyphs-x.c (x_update_widget): Always resize to get round a
16620 * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was
16621 breaking absolutely everything.
16623 * gutter.h: declare mark_gutters.
16625 2000-02-16 Martin Buchholz <martin@xemacs.org>
16627 * XEmacs 21.2.29 is released.
16629 2000-02-15 Olivier Galibert <galibert@pobox.com>
16631 * fns.c (size_bit_vector): Fix computation of the size.
16633 2000-02-15 Martin Buchholz <martin@xemacs.org>
16635 * *.[ch]: Change CONST to const globally.
16636 find -name '*.[ch]' | \
16637 xargs global-replace \
16638 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g'
16639 - Remove vestigial references to CONST_IS_LOSING
16641 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16643 * event-msw.c (mswindows_drain_windows_queue): Remove hack to
16644 bailout early on quit. Enqueue WM_PAINT events as XEmacs magic
16645 events instead of dispatching them directly.
16646 (mswindows_handle_paint): New function to do repainting.
16647 (mswindows_wnd_proc):
16648 (emacs_mswindows_handle_magic_event): Call above function.
16650 2000-02-13 Jonathan Harris <jhar@tardis.ed.ac.uk>
16652 * objects-msw.c (mswindows_create_font_variant): Return the new
16654 (initialize_font_instance): Get font metrics from the underlined
16655 variant of the font to cope with the case where the underlined
16656 font has a bigger descent.
16658 2000-02-08 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
16660 * gui.c (gui_item_accelerator): Return the first underlined
16661 character in item name.
16663 2000-02-11 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
16665 * lisp.h: Added Qprinter.
16667 * general.c (syms_of_general): Initialized it.
16669 * redisplay-msw.c (get_frame_dc): Conditionally start a new page.
16671 (get_frame_compdc): Made inline.
16673 * console.h (struct console_methods): Added eject_page method.
16675 * frame.h: Added FRAME_DISPLAY_P and friends.
16676 Aligned backslahes in many macros in more readable fashion.
16677 Added page_number to struct frame, and an accessor macro
16680 * defice.h: Added DEVICE_DISPLAY_P and friends.
16682 * device.c (Fdevice_printer_p): Used these.
16684 * frame.c (allocate_frame_core): Initialize page number.
16685 (Fprint_job_page_number):
16686 (Fprint_job_eject_page): Implemented.
16688 * frame-msw.c (msprinter_eject_page): Added method.
16689 (msprinter_start_page): Added.
16691 * window.c (Fwindow_truncated_p): Fixed docstring.
16692 (Fwindow_last_line_visible_height): Implemented.
16694 2000-02-09 Yoshiki Hayashi <yoshiki@xemacs.org>
16696 * frame.c (change_frame_size_1): Undo 2000-02-03 change.
16698 1999-12-20 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
16700 * syntax.c (scan_words): Always advance at least one character.
16702 2000-02-13 Andy Piper <andy@xemacs.org>
16704 * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here
16705 to make sure the glyph is in the cachels.
16707 * glyphs.h (struct Lisp_Image_Instance): make layout_changed a
16708 global image instance flag.
16709 (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro.
16710 (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto.
16712 * glyphs.c (allocate_image_instance): set dirty bits correctly.
16713 (Fset_image_instance_property): mark layout as changed.
16714 (invalidate_glyph_geometry_maybe): mark layout as changed.
16715 (glyph_width): use new NEEDS_LAYOUT macro.
16716 (glyph_ascent): ditto.
16717 (glyph_descent): ditto.
16718 (glyph_height): ditto.
16719 (image_instance_layout): mark layout as clean after laying out.
16720 (update_subwindow): don't mark layout as clean here.
16722 * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they
16723 should no longer be needed.
16725 * glyphs-x.c (x_update_widget): sanitize asserts.
16726 (x_finalize_image_instance): sanitize assignment to widgets.
16728 * glyphs-widget.c (widget_instantiate): don't need to clear the
16731 2000-02-13 Martin Buchholz <martin@xemacs.org>
16733 * sysdep.c (getcwd): Use standard prototype.
16734 * sysdep.h (getcwd): Use standard prototype.
16736 * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp
16737 (sequence, start, end).
16738 Remove redundant type checking.
16739 (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in
16740 view of `caller-protects') to avoid a crash where the real fix was
16743 2000-02-12 Martin Buchholz <martin@xemacs.org>
16745 * glyphs-x.c (x_finalize_image_instance): Compile error fixes.
16747 * s/sol2.h: Remove feature macro initialization.
16749 * alloc.c (alloc_lcrecord): Add more type checking assertions.
16750 (vector_hash): New. Code from internal_hash.
16752 Fix up allocation subsystem comments.
16754 * config.h.in: Add __EXTENSIONS__ for Solaris.
16756 * systime.h (EMACS_GETTIMEOFDAY): New.
16757 (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY.
16758 Remove Solaris-specific code.
16759 Use void* for the (ignored) second arg for gettimeofday().
16761 * elhash.c (hash_table_hash): Implement it, finally.
16762 * elhash.c: Use hashcode_t.
16764 * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE.
16765 * sunplay.c (sighandler): Fix prototype to use SIGTYPE.
16767 * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete.
16768 * fns.c (size_bit_vector):
16769 * alloc.c (size_vector):
16770 (make_vector_internal):
16771 (make_bit_vector_internal):
16772 (sweep_bit_vectors_1):
16773 Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression.
16775 2000-02-10 Martin Buchholz <martin@xemacs.org>
16777 * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't.
16778 Include strings.h to avoid warnings for bzero and strcasecmp.
16780 2000-02-10 Olivier Galibert <galibert@pobox.com>
16782 * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here...
16783 * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here
16785 * fns.c (size_bit_vector): New. Declare bit vectors as a
16788 2000-02-10 Olivier Galibert <galibert@pobox.com>
16790 * symeval.h (struct symbol_value_magic): Remove "next" kludge and
16791 use a value field instead.
16792 (symbol_value_forward_forward): Use value field.
16793 (DEFVAR_SYMVAL_FWD): Use value field.
16794 (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque.
16795 (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT.
16796 (DEFVAR_CONST_INT): Ditto.
16797 (DEFVAR_BOOL): Ditto.
16798 (DEFVAR_CONST_BOOL): Ditto.
16799 (DEFVAR_INT_MAGIC): Ditto.
16800 (DEFVAR_BOOL_MAGIC): Ditto.
16802 * symbols.c (guts_of_unbound_marker): Use value field.
16803 * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto.
16804 * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto.
16806 * lisp.h: Declare dumpopaque and noninteractive1.
16808 * alloc.c (dumpopaque): Added.
16809 (pdump_dump_opaquevec): Added.
16810 (pdump): Call pdump_dump_opaquevec to dump opaque data.
16811 (pdump_load): Reload opaque data. Sync noninteractive1 with
16814 2000-02-10 Andy Piper <andy@xemacs.org>
16816 * glyphs.c (image_instance_layout): if the size changes, mark it
16819 * redisplay-output.c (redisplay_output_layout): Update the
16821 (redisplay_output_subwindow): ditto.
16823 * glyphs.c (update_subwindow): make sure we reset flags for
16824 layouts as well as everything else.
16826 * glyphs-widget.c (layout_layout): don't need to set the instances
16829 2000-02-09 Martin Buchholz <martin@xemacs.org>
16831 * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB,
16832 not HAVE_DLOPEN, which is a lower-level thing.
16834 * .cvsignore: Ignore gmon.out
16836 2000-02-09 Hamish Macdonald <hamishm@lucent.com>
16838 * .cvsignore: Ignore portable dumper xemacs.dmp file
16840 2000-02-09 Andy Piper <andy@xemacs.org>
16842 * redisplay-output.c (redisplay_output_layout): be more clever
16843 about when we output based on the changed flags.
16845 * glyphs.h (struct image_instantiator_methods): add update_method.
16846 (struct Lisp_Image_Instance): add changed flags. Declare new
16847 macros for manipulating them.
16849 * glyphs.c (allocate_image_instance): renamed glyph -> parent.
16850 (image_instance_parent_glyph): find an image_instance's parent
16851 glyph or image_instance.
16852 (image_instance_layout): mark the size as changed.
16853 (set_image_instance_dirty_p): new function. mark an image
16854 instance, plus all of its parents, as dirty.
16855 (Fset_image_instance_property): use it.
16856 (Fglyph_animated_timeout_handler): use it.
16857 (update_subwindow): call update_widget and device methods for
16858 update_subwindow. Mark all changed flags as clean.
16859 (Fresize_subwindow): mark size as changed.
16861 * glyphs-x.c (x_finalize_image_instance): try and detect gc
16863 (x_update_subwindow): only resize subwindows here.
16864 (x_update_widget): new function. Update all changed properties of
16866 (x_resize_subwindow): deleted.
16867 (x_widget_set_property): deleted.
16868 (x_progress_gauge_set_property): deleted.
16869 (x_progress_gauge_update): new function. Implement recorded
16871 (x_tab_control_update): ditto.
16872 (x_tab_control_set_property): deleted.
16873 (console_type_create_glyphs_x): declare new functions.
16874 (image_instantiator_format_create_glyphs_x): ditto.
16876 * glyphs-widget.c (widget_set_property): mark text changed.
16877 (update_widget): new function. Update properties of a widget.
16878 (widget_instantiate): for layouts make sure we set their
16879 children's parent correctly.
16880 (tab_control_set_property): new function. Record changes that will
16881 take place under redisplay's control.
16882 (progress_gauge_set_property): ditto.
16883 (image_instantiator_progress_guage): declare new functions.
16884 (image_instantiator_tab_control): ditto.
16886 * glyphs-msw.c (mswindows_update_subwindow): just do resizing here
16888 (mswindows_update_widget): new function. Update all properties on
16889 a widget that have changed.
16890 (mswindows_button_update): new function. Update a button's set
16892 (mswindows_tab_control_update): new function. Update the items in
16894 (mswindows_tab_control_set_property): deleted.
16895 (mswindows_progress_gauge_update): new function. Update the
16896 progress gauge's progress.
16897 (mswindows_widget_set_property): deleted. This is all done
16898 asynchronously now.
16899 (mswindows_progress_gauge_set_property): ditto.
16900 (console_type_create_glyphs_mswindows): declare new methods.
16901 (image_instantiator_format_create_glyphs_mswindows): ditto.
16903 * frame-msw.c (msprinter_init_frame_1): Remove unused variables.
16904 (msprinter_set_frame_properties): ditto.
16906 * console.h (struct console_methods): Add update_widget_method.
16908 2000-02-09 Andy Piper <andy@xemacs.org>
16910 * gui-msw.c (Fmswindows_shell_execute): Make
16911 mswindows-shell-execute industrial strength.
16913 2000-02-08 Martin Buchholz <martin@xemacs.org>
16915 * lrecord.h: Make macro argument `props' match member function `plist'.
16918 * fns.c (Fremprop):
16919 * fns.c (Fobject_plist):
16922 Object property list frobbing cleanup.
16923 - Allow any lisp object (compared with `eq'), not just symbols, as
16924 keys in object plists.
16925 - Move symbol plist frobbing into symbols.c, where it belongs.
16926 - Move string plist frobbing into alloc.c, where it belongs.
16927 - Everything's an lrecord now, so no need to test for symbolp, etc.
16928 - Fix up doc strings to refer to PROPERTY, not PROPNAME.
16930 * extents.c: Reorder code to remove declarations.
16932 * frame.h (store_in_alist): Remove useless declaration.
16934 2000-02-07 Martin Buchholz <martin@xemacs.org>
16936 * event-Xt.c (x_has_keysym): Use XConvertCase only if available.
16937 * config.h.in: Add HAVE_XCONVERTCASE.
16939 2000-02-07 Andy Piper <andy@xemacs.org>
16941 * glyphs.c (image_instance_layout): undo 2000-01-29 change since
16942 it breaks many things.
16944 2000-02-07 Jan Vroonhof <vroonhof@math.ethz.ch>
16946 * src/syntax.h (SYNTAX_START_P): Check whether the two chars
16947 actually can start a common comment type.
16948 * src/syntax.h (SYNTAX_END_P): ditto for end.
16950 2000-02-07 Martin Buchholz <martin@xemacs.org>
16952 * XEmacs 21.2.28 is released.
16954 2000-02-06 Martin Buchholz <martin@xemacs.org>
16956 * event-Xt.c (x_keysym_to_character): New.
16957 (maybe_define_x_key_as_self_inserting_character): New.
16958 (x_has_keysym): New.
16959 Auto-define all keys on the keyboard as self-insert-key.
16961 2000-02-02 Martin Buchholz <martin@xemacs.org>
16963 * menubar.c (vars_of_menubar): A small code simplification.
16965 * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug
16968 * ExternalClient.c:
16969 * EmacsShell-sub.c:
16972 Use consistent style for specifying X resources.
16974 * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC.
16975 This makes (dontusethis-set-symbol-value-handler) actually usable.
16977 * lrecord.h (lrecord_decription_type):
16978 * alloc.c (pdump_register_sub):
16981 Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects.
16982 Comply with XEmacs coding style.
16983 All lrecord descriptions updated to use XD_LISP_OBJECT with 2
16984 args, and XD_LISP_OBJECT_ARRAY with 3 args.
16986 * keymap.c (Faccessible_keymaps):
16987 Make (accessible-keymaps map "\C-h") do the Right Thing.
16988 Make (accessible-keymaps map []) do the Right Thing.
16989 Make (accessible-keymaps map "") do the Right Thing.
16990 (check_keymap_definition_loop): New function.
16991 (keymap_store_internal): Keep luser from shooting self in foot,
16992 via (define-key ctl-x-4-map "p" global-map).
16993 Remove fullness slot from struct Lisp_Keymap, since hash tables
16995 (print_keymap): Remove 'Yuck' factor by simply printing "size %d".
16997 2000-01-30 Martin Buchholz <martin@xemacs.org>
16999 * redisplay.c (init_redisplay): Fix small memory leak.
17001 * elhash.c (pdump_reorganize_hash_table):
17002 Rename from reorganize_hash_table. Change prototype.
17003 Reuse the original memory for hentries. Save 100k.
17004 * alloc.c (PDUMP_READ): new macro.
17005 * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros.
17006 * alloc.c: No need to #ifndef before #undef.
17008 * print.c: Allow debug_print() to print readably by modifying
17009 debug_print_readably. Use consistent variable names.
17011 * .dbxrc: Try to get things to work even if stopped in a function
17012 without source available by explicitly specifying source files.
17013 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17015 * unexnt.c (_start): Removed bogus code which caused loading heap
17016 from differrent executable file.
17017 Removed bogus assignment to _fmode, which caused inconsistencies.
17019 2000-02-03 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17021 * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage.
17022 Have spawnve encapsulation regard DONT_ENCAPSULATE.
17023 Do not preliminary `#define signal sigset'.
17025 * systime.h: Do not prototype environ on windows nt and cygwin,
17026 this conflicts with system header.
17028 * syssignal.h: Use correct define for WINDOWSNT
17030 * sysdep.h: Do not prototype environ on windows nt, this conflicts
17031 with system header.
17033 * sysdep.c (near start of file): Fixed commentary and rearranged
17034 ifdefs in readable order.
17035 (NEED_STARTS): Do not force NEED_STARTS when PDUMPing.
17038 (end_of_data): Do not compile in if using PDUMP.
17040 * symsinit.h: Prototyped vars_of_nt().
17042 * ntproc.c (windows9x_p): Added, instead of os_subtype.
17043 (find_child_console): Use it.
17044 (sys_kill): Use it.
17046 * ntheap.h: Do not extern os_subtype.
17048 * ntheap.c (cache_system_info): Do not cache unneeded:
17049 nt_major_version, nt_minor_version and os_subtype.
17050 (recreate_heap): Do not compile in when PDUMPing.
17052 * nt.c (geteuid and friends): Use the new varibale
17053 nt_fake_unix_uid, instead of hashing fake uid out of NT RID.
17054 (init_user_info): Removed the above mentioned hackery.
17055 (fstat, stat): Do not compile in if using MSVC 5.0 and above -
17056 stat has been fixed in the C runtime.
17057 (vars_of_nt): Added, defined the nt_fake_unix_uid variable there.
17059 * file-coding.c (struct file_coding_dump): Do not define
17060 ucs_to_mule_table in the struct if not MULE.
17061 (struct struct lrecord_description fcd_description_1): Do not dump
17064 * emacs.c (main_1): Call vars_of_nt().
17065 (right before Fdump_emacs_data): Don't need lastfile if using both
17066 portabe dumper and system malloc.
17068 * alloc.c (Fmemory_limit): Conditionalized out.
17069 (pdump): Use OPEN_BINARY for the portable dump file.
17070 (pdump_load): Ditto.
17072 2000-02-02 Mike Alexander <mta@arbortext.com>
17074 * nt.c (convert_time): Set tm_isdst before calling mktime and
17075 avoid calling it at all if the compiler supports 64 bit integers.
17076 Also initialize utc_base_ft before using it.
17078 2000-02-03 Daiki Ueno <ueno@ueda.info.waseda.ac.jp>
17080 * frame.c (change_frame_size_1): Take f->internal_border_width
17081 into consideration when calculating the width of the frame.
17083 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17085 * window.c (frame_min_height):
17086 (frame_size_valid_p):
17087 (frame_pixsize_valid_p): Added.
17088 (check_frame_size): Generalized.
17090 * window.h: Prototyped the above.
17093 * general.c: Added Qbottom_margin, Qduplex, Qlandscape,
17094 Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin.
17095 Deleted Vwin32_* and Vbinary_process_* unused variables.
17097 * device-msw.c (msprinter_init_device): Do not get printer font
17098 list; Added DEVMODE functions.
17100 * frame-msw.c: Added lots of printer code.
17102 * faces.c: Moved 'left-margin and 'right-margin defsymbols to
17105 * console-msw.h: Added more msprinter device private slots.
17107 2000-02-01 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17109 * event-msw.c (key_needs_default_processing_p): Added.
17110 (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it.
17112 2000-01-29 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17114 * glyphs.c (image_instance_layout): Mark image instance as clean
17116 (glyph_dirty_p): Removed redundant function.
17117 (invalidate_glyph_geometry_maybe): Added.
17118 (update_glyph_cachel_data): Call it.
17120 * glyphs.h: Prototyped it.
17122 * redisplay.c (add_glyph_rune): Call it.
17123 (redisplay_window): Reset glyphs cachels when frame faces have
17124 changed, thus forcing recomputation of built-in border glyphs.
17126 2000-01-30 Martin Buchholz <martin@xemacs.org>
17128 * Makefile.in.in: Make portable dumper and purify play well together.
17129 Add imperfect, but better than nothing, support for pdump.
17130 Remove xemacs.dmp when temacs is re-generated.
17131 Don't ignore errors when dumping xemacs.
17133 * symbols.c (maybe_call_magic_handler): Remove one magic number.
17135 2000-01-28 Andy Piper <andy@xemacs.org>
17137 * frame.c (allocate_frame_core): Use new Fset_window_buffer signature.
17138 (setup_normal_frame): ditto.
17139 (setup_frame_without_minibuffer): ditto.
17140 (setup_minibuffer_frame): ditto.
17141 (delete_frame_internal): ditto.
17142 (Fmake_frame_invisible): ditto.
17143 (Ficonify_frame): ditto.
17145 * window.h: change Fset_window_buffer signature.
17147 * window.c (Fsplit_window): Use new Fset_window_buffer signature.
17148 (Fset_window_buffer): allow recording of buffer if the window is
17149 the selected window.
17150 (window_loop): Use new Fset_window signature.
17152 2000-01-23 Daniel Pittman <daniel@danann.net>
17154 * config.h.in: Added template for `HAVE_ATHENA_3D'
17156 2000-01-29 Andy Piper <andy@xemacs.org>
17158 * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes.
17160 * gutter.c (output_gutter): Don't output if the window isn't live.
17162 2000-01-28 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17164 * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch
17165 of 01/12/00: Moved SetFocus back here where it belongs.
17167 2000-01-23 Andy Piper <andy@xemacs.org>
17169 * s/cygwin32.h: declare printer things.
17171 2000-01-26 Andy Piper <andy@xemacs.org>
17173 * select.c (Fown_selection_internal): GCPRO bug fix from Mike
17176 2000-01-24 Andy Piper <andy@xemacs.org>
17178 * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename.
17179 (mswindows_button_instantiate): Make sure glyph is a pixmap.
17181 * glyphs-widget.c (widget_instantiate): Avoid shadows.
17183 * frame-msw.c (msprinter_init_frame_3): Nuke warning.
17185 * glyphs-msw.c: (mswindows_string_to_color): remove declaration.
17187 * redisplay-msw.c (mswindows_output_cursor): Avoid shadows.
17188 (mswindows_output_display_block): Avoid local shadows.
17190 * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows.
17191 (mswindows_enqueue_mouse_button_event): ditto.
17192 (mswindows_handle_gui_wm_command): remove declaration.
17194 * console-msw.c (mswindows_canonicalize_console_connection): Avoid
17197 * console-msw.h: Avoid shadows.
17198 (mswindows_get_toolbar_button_text):
17199 (emacs_mswindows_create_stream_pair):
17200 (emacs_mswindows_delete_stream_pair):
17201 (mswindows_handle_toolbar_wm_command): declare.
17203 * device-msw.c (build_syscolor_string): Avoid shadows.
17205 2000-01-23 Andy Piper <andy@xemacs.org>
17207 * glyphs-widget.c (widget_instantiate): reverse the items for
17208 layouts so that children are in the expected order.
17210 2000-01-28 Martin Buchholz <martin@xemacs.org>
17212 * ralloc.c: safe_bcopy ==> memmove
17213 * gmalloc.c: Remove MEMMOVE_MISSING conditional code.
17214 * s/msdos.h: Remove BCOPY macros.
17215 * insdel.c (gap_right): Remove BCOPY conditional code.
17216 * insdel.c (gap_left): Remove BCOPY conditional code.
17217 XEmacs demands a working ANSI C compiler - hence memmove.
17219 * regex.c (regex_compile): Remove accidental use of trigraphs.
17221 2000-01-27 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17223 * event-msw.c (mswindows_enqueue_misc_user_event): Initialize
17226 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17228 * event-msw.c (mswindows_drain_windows_queue): Added the
17230 (mswindows_need_event): Commented the call to
17231 mswindows_drain_windows_queue().
17232 (emacs_mswindows_quit_p): Lookup the windows for keyboard messages
17235 * console-msw.h: Moved a few function prototypes here from
17238 * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID
17239 parameter from unsigned short to unsigned long.
17240 (Fmswindows_shell_execute): Added return value.
17242 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17244 * sysdep.c (init_system_name):
17245 process-unix.c (unix_canonicalized_host_name):
17246 Don't call freeaddrinfo() if getaddrinfo() fails.
17248 * process-unix.c (unix_open_unix_network_stream):
17249 Moved the code to get a port # into address loop.
17251 2000-01-27 Martin Buchholz <martin@xemacs.org>
17253 * buffer.c (reinit_vars_of_buffer):
17254 The right place to initialize conversion_in_dynarr and
17255 conversion_out_dynarr.
17257 * alloc.c (pdump): Use the real open() till sys_open() is functional.
17259 * process-unix.c (unix_canonicalize_host_name): Muleize.
17260 (unix_open_network_stream): Muleize.
17262 * buffer.h: Fix up prototypes for ralloc.c functions.
17264 2000-01-27 URA Hiroshi <ura@hiru.aoba.yokohama.jp>
17265 * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO
17266 * sysdep.c: In init_system_name(), add code to use getaddrinfo()
17267 instead of gethostbyname()
17268 * process-unix.c: In unix_canonicalize_host_name() and
17269 unix_open_network_stream(), add code to use getaddrinfo()
17270 instead of gethostbyname().
17272 2000-01-27 Daniel Pittman <daniel@danann.net>
17274 * device-x.c (x_init_device): Warn at run-time if using Athena 3d
17275 libs when built with flat Athena.
17277 2000-01-27 Martin Buchholz <martin@xemacs.org>
17279 * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t.
17280 Use coding standards for function prototypes.
17282 2000-01-25 Martin Buchholz <martin@xemacs.org>
17284 * dialog-msw.c (push_lisp_string_as_unicode):
17285 * doc.c (unparesseuxify_doc_string):
17286 * dired.c (Fuser_name_completion_1):
17287 * dired.c (Fuser_name_all_completions):
17288 * dired.c (free_user_cache):
17289 * dired.c (user_name_completion):
17290 * console-x.c (get_display_arg_connection):
17291 * minibuf.c (clear_echo_area_internal):
17292 * minibuf.c (echo_area_append):
17293 * eldap.c (Fldap_open):
17294 * eldap.c (Fldap_search_internal):
17295 * frame-x.c (x_set_frame_text_value):
17296 * frame-x.c (x_set_frame_properties):
17297 * frame-x.c (x_create_widgets):
17298 * redisplay-tty.c (term_get_fkeys_1):
17299 * objects-x.c (x_parse_nearest_color):
17300 * objects-x.c (x_valid_color_name_p):
17301 * objects-x.c (x_initialize_font_instance):
17302 * objects-x.c (x_list_fonts):
17303 * objects-x.c (x_find_charset_font):
17304 * tooltalk.c (Fadd_tooltalk_message_arg):
17305 * tooltalk.c (Fadd_tooltalk_pattern_attribute):
17306 * tooltalk.c (Fadd_tooltalk_pattern_arg):
17307 * process-unix.c (unix_create_process):
17308 * ntproc.c (sys_spawnve):
17309 * sound.c (Fplay_sound_file):
17310 * sound.c (Fplay_sound):
17311 * buffer.c (init_initial_directory):
17312 * buffer.c (init_buffer):
17313 * editfns.c (init_editfns):
17314 * editfns.c (Ftemp_directory):
17315 * editfns.c (Fuser_full_name):
17316 * editfns.c (uncache_home_directory):
17317 * editfns.c (get_home_directory):
17318 * editfns.c (Fuser_home_directory):
17319 * editfns.c (Fformat_time_string):
17320 * editfns.c (Fcurrent_time_string):
17321 * gui-x.c (button_item_to_widget_value):
17322 * database.c (Fopen_database):
17323 * event-Xt.c (x_to_emacs_keysym):
17324 * event-Xt.c (x_event_to_emacs_event):
17325 * event-Xt.c (describe_event_window):
17326 * event-msw.c (mswindows_wnd_proc):
17327 * glyphs-eimage.c (jpeg_instantiate):
17328 * glyphs-eimage.c (gif_instantiate):
17329 * glyphs-eimage.c (png_instantiate):
17330 * glyphs-eimage.c (tiff_instantiate):
17331 * glyphs-x.c (xbm_instantiate_1):
17332 * glyphs-x.c (x_xbm_instantiate):
17333 * glyphs-x.c (x_xface_instantiate):
17334 * glyphs-x.c (autodetect_instantiate):
17335 * glyphs-x.c (cursor_font_instantiate):
17336 * glyphs-x.c (x_widget_instantiate):
17337 * glyphs-x.c (x_widget_set_property):
17338 * glyphs-x.c (x_widget_property):
17339 * glyphs-x.c (BUILD_GLYPH_INST):
17340 * print.c (write_string_to_stdio_stream):
17341 * print.c (output_string):
17342 * print.c (Falternate_debugging_output):
17343 * print.c (Fexternal_debugging_output):
17344 * glyphs-msw.c (extract_xpm_color_names):
17345 * glyphs-msw.c (mswindows_xpm_instantiate):
17346 * glyphs-msw.c (bmp_instantiate):
17347 * glyphs-msw.c (resource_name_to_resource):
17348 * glyphs-msw.c (mswindows_resource_instantiate):
17349 * glyphs-msw.c (xbm_instantiate_1):
17350 * glyphs-msw.c (mswindows_xbm_instantiate):
17351 * glyphs-msw.c (mswindows_xface_instantiate):
17352 * glyphs-msw.c (mswindows_widget_instantiate):
17353 * glyphs-msw.c (add_tree_item):
17354 * glyphs-msw.c (add_tab_item):
17355 * glyphs-msw.c (mswindows_combo_box_instantiate):
17356 * glyphs-msw.c (mswindows_widget_property):
17357 * glyphs-msw.c (mswindows_combo_box_property):
17358 * glyphs-msw.c (mswindows_widget_set_property):
17359 * console.c (stuff_buffered_input):
17360 * objects-msw.c (mswindows_initialize_color_instance):
17361 * objects-msw.c (mswindows_valid_color_name_p):
17362 * objects-msw.c (mswindows_list_fonts):
17363 * objects-msw.c (mswindows_font_instance_truename):
17364 * bytecode.c (optimize_compiled_function):
17365 * select-x.c (symbol_to_x_atom):
17366 * select-x.c (x_atom_to_symbol):
17367 * select-x.c (hack_motif_clipboard_selection):
17368 * select-x.c (selection_data_to_lisp_data):
17369 * select-x.c (lisp_data_to_selection_data):
17370 * select-x.c (Fx_get_cutbuffer_internal):
17371 * select-x.c (Fx_store_cutbuffer_internal):
17372 * buffer.h (TO_EXTERNAL_FORMAT): New function.
17373 * buffer.h (TO_INTERNAL_FORMAT): New function.
17374 * emacs.c (make_arg_list_1):
17375 * emacs.c (make_argc_argv):
17376 * emacs.c (main_1):
17377 * emacs.c (Fdump_emacs):
17378 * emacs.c (split_string_by_emchar_1):
17383 * device-x.c (x_init_device):
17384 * device-x.c (Fx_valid_keysym_name_p):
17385 * device-x.c (Fx_get_font_path):
17386 * device-x.c (Fx_set_font_path):
17387 * glyphs.c (bitmap_to_lisp_data):
17388 * glyphs.c (pixmap_to_lisp_data):
17389 * alloc.c (make_ext_string): Use coding system arguments. Update
17391 * alloc.c (build_string):
17392 * callproc.c (child_setup):
17393 * callproc.c (init_callproc):
17394 * fileio.c (lisp_strerror):
17395 * fileio.c (directory_file_name):
17396 * fileio.c (Fexpand_file_name):
17397 * fileio.c (Ffile_truename):
17398 * fileio.c (Fsysnetunam):
17399 * fileio.c (Fdo_auto_save):
17400 * sysdep.c (sys_readdir):
17401 * tests.c: New file. Allow adding C tests.
17402 Replace GET_* macros with a more comprehensible and flexible
17403 interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT().
17405 Any coding system can be used to do format conversion.
17406 Eliminate enum external_data_format.
17407 Eliminate convert_to_external_format.
17408 Eliminate convert_to_internal_format.
17409 Make sure file-name, keyboard, terminal, and ctext are always
17410 defined as coding systems or aliases. Make
17411 file-name-coding-system, terminal-coding-system, and
17412 keyboard-coding-system magical variables that are equivalent to
17413 defining the corresponding coding system aliases.
17415 * file-coding.c (Fcoding_system_canonical_name_p): New function.
17416 * file-coding.c (Fcoding_system_alias_p): New function.
17417 * file-coding.c (Fcoding_system_aliasee): New function.
17418 * file-coding.c (append_suffix_to_symbol): New function.
17419 * file-coding.c (dangling_coding_system_alias_p): New function.
17420 * file-coding.c (Ffind_coding_system):
17421 * file-coding.c (Fcopy_coding_system):
17422 * file-coding.c (encode_coding_no_conversion):
17423 * file-coding.c (syms_of_file_coding):
17424 * file-coding.c (vars_of_file_coding):
17425 Rewrite coding system alias code.
17426 Allow nested aliases, like symbolic links.
17427 Allow redefinition of coding system aliases.
17428 Prevent existence of dangling coding system aliases.
17430 * dired.c (Fuser_name_completion_1):
17431 * dired.c (Fuser_name_all_completions):
17432 A crash would happen if user did QUIT in the middle of building
17433 user_name_cache. Remove redundant code in mainline and unwind_protect.
17436 * dynarr.c (Dynarr_min_size): Make static. Increase value to 8.
17438 * lstream.c (make_fixed_buffer_input_stream): Take a void *, not
17439 an unsigned char *. Update all callers.
17441 2000-01-26 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17443 * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output.
17445 2000-01-25 Martin Buchholz <martin@xemacs.org>
17447 * elhash.c (hentry_description): Use more portable definition.
17448 (resize_hash_table): Initialize new hentries using
17449 xnew_array_and_zero, thereby simplifying the code.
17451 * mule-charset.c (make_charset): Make sure entire object is
17452 initialized, to avoid Purify warnings.
17454 * alloc.c (resize_string): Fix unlikely crash with big strings.
17456 2000-01-24 Martin Buchholz <martin@xemacs.org>
17458 * realpath.c (xrealpath):
17459 Don't call getwd().
17461 2000-01-25 Martin Buchholz <martin@xemacs.org>
17463 * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors.
17465 1999-12-28 Max Matveev <max@melbourne.sgi.com>
17467 * unexelfsgi.c (unexec): Change the way we decide which segment
17468 should be extended.
17470 Assumption that .bss section should be outside the PT_LOADable
17471 segment. On IRIX with version 6.2 and above, .bss (or .sbss, if
17472 it's present) is inside the 'data' segment. This would fail the
17473 test which was used to find a segment to grow and cover new
17474 heap. Instead of this assumption, I created another one - on IRIX
17475 the segment to grow should start below .bss and it's address
17476 should extent above the end of .bss. Once this segment is
17477 identified, it's grown to accommodate the new heap and new
17478 zero-length .bss section is added at the end of .data2.
17480 2000-01-25 Martin Buchholz <martin@xemacs.org>
17482 * eval.c (Feval): Wrong number of arguments should use original
17483 function, not the indirect_function version of it.
17485 2000-01-24 Yoshiki Hayashi <yoshiki@xemacs.org>
17487 * glyphs-x.c (x_button_instantiate): Don't add image if
17488 it is not a pixmap.
17489 (x_locate_pixmap_file): Call Fexpand_file_name when file name
17492 2000-01-21 Yoshiki Hayashi <yoshiki@xemacs.org>
17494 * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro
17496 (DEFVAR_INT_MAGIC): Ditto.
17497 (DEFVAR_BOOL_MAGIC): Ditto.
17498 * glyphs.h: Reindent backslash.
17500 2000-01-24 Martin Buchholz <martin@xemacs.org>
17502 * glyphs-widget.c (layout_query_geometry):
17503 (layout_layout): Use correct types for gheight, gwidth.
17505 2000-01-24 Martin Buchholz <martin@xemacs.org>
17507 * EmacsManager.c (QueryGeometry): Purified.
17509 2000-01-23 Martin Buchholz <martin@xemacs.org>
17511 * alloc.c (make_float): Make sure entire object is initialized, to
17512 avoid Purify warnings.
17513 (pdump_register_sub): Remove useless assignment.
17514 (pdump): Use xmalloc, not malloc.
17515 (pdump_load): Use xmalloc, not malloc.
17517 2000-01-23 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17524 * sysdep.c: Removed redundant #include <windows.h>
17526 2000-01-22 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17528 * frame.c (delete_frame_internal): Do not delete device when its
17529 implementation so declares.
17530 (delete_frame_internal): Set device selected frame to nil when
17531 last frame goes away.
17533 * device-msw.c (msprinter_device_system_metrics): Implemented.
17534 (mswindows_device_system_metrics): Added 'device-dpi property.
17536 * device.c: (Fdevice_printer_p): Added.
17537 Added 'offset-workspace device metric.
17539 * console.h (device_metrics): Declared DM_offset_workspace.
17541 2000-01-23 Martin Buchholz <martin@xemacs.org>
17543 * fileio.c (Ffile_truename): Remove pointless and confusing
17544 initialization of elen.
17546 * glyphs-widget.c: Compiler warning fixes.
17548 2000-01-23 Gunnar Evermann <ge204@eng.cam.ac.uk>
17550 * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process
17551 instead of a Lisp_Object as argument to make it consistent with
17552 the other LIVE_P macros.
17553 (CHECK_LIVE_PROCESS): New macro.
17555 * process.c: Declare Qprocess_live_p.
17556 (Fprocess_live_p): New function.
17557 (create_process): Use PROCESS_LIVE_P.
17558 (read_process_output): Ditto.
17559 (set_process_filter): Ditto.
17560 (Fdelete_process): Ditto.
17561 (kill_buffer_processes): Ditto
17562 (process_send_signal): Use CHECK_LIVE_PROCESS.
17563 (Fprocess_input_coding_system): Check whether process is still
17564 alive (fix PR#1061).
17565 (Fprocess_output_coding_system): Ditto.
17566 (Fprocess_coding_system): Ditto.
17567 (Fset_process_input_coding_system): Ditto.
17568 (Fset_process_output_coding_system): Ditto.
17570 2000-01-23 Andy Piper <andy@xemacs.org>
17572 * glyphs.h (struct Lisp_Image_Instance): change format by unifying
17575 * glyphs.c (mark_image_instance): take into account changed
17576 image_instance format.
17577 (image_instance_equal): ditto.
17578 (image_instance_hash): ditto.
17580 * glyphs-widget.c (widget_instantiate): Incorporate layout
17581 instantiation here. Delay layout of the layout until later.
17582 (layout_instantiate): deleted.
17583 (layout_query_geometry): new function. get the geometry of a
17585 (layout_layout): layout a layout dynamically.
17586 (image_instantiator_widget): New function - splitting up
17587 image_instantiator_format_create_glyphs_widget for netwinder
17589 (image_instantiator_buttons):
17590 (image_instantiator_edit_fields):
17591 (image_instantiator_combo_box):
17592 (image_instantiator_scrollbar):
17593 (image_instantiator_progress_guage):
17594 (image_instantiator_tree_view):
17595 (image_instantiator_tab_control):
17596 (image_instantiator_labels):
17597 (image_instantiator_layout): ditto.
17598 (image_instantiator_format_create_glyphs_widget): Call preceding
17601 2000-01-22 Martin Buchholz <martin@xemacs.org>
17603 * process.c (Fset_process_coding_system):
17604 * device-x.c (Fx_keysym_hash_table):
17607 * lstream.c (Lstream_write): Return documented value, not 0.
17609 * fileio.c (directory_file_name):
17610 (Fsubstitute_in_file_name):
17611 (Fsubstitute_insert_file_contents_internal):
17612 (Fwrite_region_internal):
17617 Remove vestigial APOLLO-conditional code.
17619 2000-01-21 Martin Buchholz <martin@xemacs.org>
17621 * getpagesize.h: Add guard macros.
17622 * libsst.h: Add guard macros.
17623 * libst.h: Add guard macros.
17624 * line-number.h: Add guard macros.
17625 * ndir.h: Add guard macros.
17626 * sysfloat.h: Add guard macros.
17627 * sysfile.h: Add guard macros.
17628 * sysproc.h: Add guard macros.
17629 * syswait.h: Add guard macros.
17630 * xintrinsic.h: Add guard macros.
17631 * xintrinsicp.h: Add guard macros.
17632 * xmmanager.h: Add guard macros.
17633 * xmmanagerp.h: Add guard macros.
17634 * xmprimitive.h: Add guard macros.
17635 * xmu.h: Add guard macros.
17636 * gpmevent.h: Add copyright statement. Add guard macros.
17637 * miscplay.h: Add guard macros.
17638 * *.h: Use consistent C-standards-approved guard macro names.
17640 * opaque.c (make_opaque): Switch parameter order.
17641 * opaque.h (make_opaque): Switch parameter order.
17642 Update all callers.
17643 * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR.
17645 * config.h.in (type_checking_assert): Added.
17646 (bufpos_checking_assert): Added.
17648 2000-01-21 Martin Buchholz <martin@xemacs.org>
17650 * alloc.c: Harmless pdump changes.
17652 - spell alignment correctly.
17653 * sysdep.c: Use countof()
17655 2000-01-20 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17657 * console.c (create_console): Use CONMETH_OR_GIVEN when calling
17658 initially_selected_for_input() console method, default to 0.
17659 (semi_canonicalize_console_connection): Try to delegate to
17660 canonicalize_console_connection if no such console method.
17661 (canonicalize_console_connection): Vice versa.
17662 (print_console): Do not print nil connection.
17664 * console.h (XDEVIMPF_IS_A_PRINTER): Added.
17665 (XDEVIMPF_NO_AUTO_REDISPLAY): Added.
17666 (XDEVIMPF_FRAMELESS_OK): Added.
17667 (CONSOLE_INHERITS_METHOD): Added.
17669 * console-msw.c (mswindows_canonicalize_console_connection):
17671 (mswindows_canonicalize_device_connection): Added.
17673 * console-msw.h (struct msprinter_device): Added this struct and
17675 (mswindows_device): Made fontlist a lisp object.
17677 * device.c (semi_canonicalize_device_connection): Try to delegate
17678 to canonicalize_device_connection if no such console method.
17679 (canonicalize_device_connection): Vice versa.
17680 (print_device): Do not print nil connection.
17682 * device-msw.c (mswindows_init_device): Call InitCommonControls
17684 (mswindows_delete_device): Removed fontlist deallocation.
17685 (mswindows_mark_device): Added.
17687 * events.c (event_equal): Added abort() at unreached code.
17688 (event_hash): Ditto.
17690 * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of
17691 fallback tags of Windows devices.
17693 * general.c (syms_of_general): Initialized Qmsprinter.
17695 * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list
17696 of fallback tags of Windows devices.
17698 * lisp.h: Declared Qmsprinter.
17700 * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list
17702 (mswindows_list_fonts): Ditto.
17703 (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so
17704 that it can be used by both mswindows and msprinter devices.
17705 (initialize_font_instance): Added.
17706 (mswindows_initialize_font_instance): Use it.
17707 (msprinter_initialize_font_instance): Added.
17709 * redisplay.c (redisplay_device): Added the parameter AUTOMATIC
17710 and implementation flags check.
17711 (redisplay_without_hooks): Changed the call to the above.
17712 (Fredraw_device): Ditto.
17713 (Fredisplay_device): Ditto.
17715 * redisplay-msw.c (get_frame_dc): Implemented.
17716 (get_frame_compdc): Implemented.
17717 (many functions): Use the two functions above to get device
17718 contexts, ether for a window or a printer.
17720 2000-01-21 Olivier Galibert <galibert@pobox.com>
17722 * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer
17723 initialization here.
17724 (init_symbols_once_early): Call it.
17725 * emacs.c (main_1): Call it.
17726 * symsinit.h: Declare it.
17728 2000-01-19 Olivier Galibert <galibert@pobox.com>
17730 * alloc.c: Use a lrecord_header * in the backtrace instead of a
17732 (pdump_backtrace): Ditto.
17733 (pdump_register_object): Ditto. Cleanup use of the pointers.
17734 (pdump_get_entry): Abort if trying to register a null pointer.
17735 (pdump_dump_data): Cleanup types when relocating.
17736 (pdump_dump_staticvec): Cleanup types w.r.t the reloc table.
17737 (pdump_dump_rtables): Remove bad casts.
17738 (pdump_load): Cleanup relocation w.r.t union type. Use a
17739 Lisp_Object instead of a EMACS_INT for the hashtable
17742 2000-01-20 Martin Buchholz <martin@xemacs.org>
17744 * emacs.c (main_1): Rearrange morass of #ifdef's for correctness.
17746 * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity.
17748 * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity.
17750 * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch]
17752 2000-01-17 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17754 * faces.h (FACE_STRIKETHRU_P): Added.
17756 * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care
17759 * redisplay-msw.c (mswindows_apply_face_effects): Deleted.
17760 (mswindows_set_dc_font): New function, aware of font variants,
17761 separated from mswindows_update_dc.
17763 * objects-msw.h (struct mswindows_font_instance_data): Added
17766 * objects-msw.c (mswindows_finalize_font_instance): Delete all
17767 cached fonts and the data structure.
17768 (mswindows_initialize_font_instance): Added creation of font data
17770 (mswindows_print_font_instance): Print at least something.
17771 (mswindows_create_font_variant): Implemented.
17772 (mswindows_get_hfont): Implemented.
17774 2000-01-13 Fabrice Popineau <Fabrice.Popineau@supelec.fr>
17776 * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of
17777 prototyping problem with msvc.
17779 * emacs.c (main_1): added syms_of_gui_mswindows() call
17781 * gui-msw.c: added "mswindows-shell-execute" lisp subr and
17782 syms_of_gui_mswindows() function
17784 * symsinit.h: added the prototype for syms_of_gui_mswindows()
17786 2000-01-18 Martin Buchholz <martin@xemacs.org>
17788 * XEmacs 21.2.27 is released.
17790 2000-01-18 Martin Buchholz <martin@xemacs.org>
17792 * glyphs-eimage.c (struct tiff_error_struct):
17794 (tiff_warning_func):
17795 #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF
17800 * unexec.c: Remove vestigial Lucid C code.
17804 * libsst.c: Ansify.
17805 Remove declarations of errno and strerror().
17807 * eval.c (Fbacktrace): Small Purify-cation. Fix docstring.
17809 * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@".
17811 2000-01-16 Martin Buchholz <martin@xemacs.org>
17813 * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999.
17816 2000-01-14 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17821 Change enum eol_type to eol_type_t.
17823 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17825 * gui.c (get_gui_callback): Check cons before accessing car.
17827 2000-01-17 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17829 * specifier.h (XSPECIFIER_TYPE): Add error checking version.
17830 (XSETSPECIFIER_TYPE): Ditto.
17832 2000-01-17 Didier Verna <didier@xemacs.org>
17834 * redisplay.c (generate_fstring_runes): compute string size in
17835 characters, not bytes.
17837 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17839 * window.c (Fwindow_minibuffer_p): Make WINDOW optional.
17841 2000-01-14 Hrvoje Niksic <hniksic@iskon.hr>
17843 * print.c (print_error_message): Call print_prepare().
17845 2000-01-14 Martin Buchholz <martin@xemacs.org>
17847 * .dbxrc: Renamed from dbxrc.
17849 * events.c (event_to_character):
17850 Use `assert (foo)' instead of `if (!foo) abort()'
17852 * .gdbinit (xtype): Add documentation.
17853 * .gdbinit (check-temacs): New function.
17854 * .gdbinit (check-xemacs): New function.
17855 * dbxrc (check-xemacs): New function.
17856 * dbxrc (check-xemacs): New function.
17858 2000-01-14 Andy Piper <andy@xemacs.org>
17860 * glyphs-widget.c (widget_query_geometry): Make sure that we
17861 calculate default dimensions correctly.
17863 2000-01-13 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17865 * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows.
17867 * event-msw.c (vars_of_event_mswindows): Fixed a mistyped
17868 pdump_wire'd variable.
17870 * emacs.c: (main_1): Conditionalized calls to
17871 reinit_vars_of_scrollbar_x and reinit_vars_of_module.
17873 2000-01-13 Martin Buchholz <martin@xemacs.org>
17875 * window.c (Fset_window_configuration):
17876 * sysdep.c (_start):
17877 * input-method-motif.c (res):
17878 * event-Xt.c (Xt_process_to_emacs_event):
17879 Simple compiler warning fixes.
17881 * bytecode.c (funcall_compiled_function): Use the original
17882 function symbol on the backtrace list in preference to the
17883 compiled_function object in error messages.
17885 2000-01-13 Andy Piper <andy@xemacs.org>
17887 * glyphs-x.c (update_widget_face): Make sure we update the widget
17888 background as well as foreground.
17890 2000-01-13 Andy Piper <andy@xemacs.org>
17892 * glyphs.h (struct Lisp_Image_Instance): Move justify and orient
17893 fields to subwindow.
17894 (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro.
17895 (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto.
17896 (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17897 (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto.
17899 * glyphs-widget.c (check_valid_tab_orientation): new function.
17900 (initialize_widget_image_instance): zero orientation and
17902 (widget_instantiate): pick up orientation.
17903 (tab_control_query_geometry): return appropriate values for
17906 * glyphs-msw.c: (mswindows_tab_control_instantiate): assign
17907 appropriate creation flags for left, right and bottom tabs.
17909 * s/cygwin32.h: add tab definitions.
17911 2000-01-12 Kirill 'Big K' Katsnelson <kkm@dtmx.com>
17913 * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the
17914 frame upon hiding a subwindow.
17915 (mswindows_button_instantiate): Changed the push button style to
17917 (mswindows_button_instantiate): Removed button BS_NOTIFY
17919 (mswindows_button_instantiate): Removed redundant check for
17920 a disabled gui item.
17921 (mswindows_button_instantiate): Made use of WS_TABSTOP
17922 consistent: "operable" controls (edit, button, tree, scroll) have
17923 this style, "display-only" ones (static, progress gauge) do
17924 not. This style is currently ignored by XEmacs though. Also,
17925 removed the WS_EX_CONTROLPARENT style - it is not for children,
17926 it is for their parents!
17927 (mswindows_edit_field_instantiate): Ditto.
17928 (mswindows_progress_gauge_instantiate): Ditto.
17929 (mswindows_tree_view_instantiate): Ditto.
17930 (mswindows_tab_control_instantiate): Ditto.
17931 (mswindows_scrollbar_instantiate): Ditto.
17932 (mswindows_combo_box_instantiate): Ditto.
17933 (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT
17934 style to the "clip" window.
17935 (mswindows_button_instantiate): Removed compilation warning by
17936 equally typing terms of the ?: operator.
17938 2000-01-12 Didier Verna <didier@xemacs.org>
17940 * redisplay.c (generate_fstring_runes): new parameter holding the
17941 last modeline-format extent.
17942 (add_glyph_to_fstring_db_runes): new parameter holding the glyph
17943 extent, fill the glyph block with it.
17944 (generate_fstring_runes): handle these parameters.
17945 (generate_formatted_string_db): ditto.
17947 * keymap.c (get_relevant_keymaps): retreive the keymaps from the
17948 glyphs'extents in the modeline.
17950 1999-01-11 Mike Woolley <mike@bulsara.com>
17952 * ntheap.c: Reduced the reserved heap space from 1Gb down to
17953 256Mb, as a workaround for the non-starting problem many people
17956 2000-01-06 Yoshiki Hayashi <t90553@mail.ecc.u-tokyo.ac.jp>
17958 * console-tty.c (Fset_console_tty_output_coding_system):
17959 Force redrawing tty frame.
17961 2000-01-10 Didier Verna <didier@xemacs.org>
17963 * redisplay.c (generate_fstring_runes): fix size computation bug.
17965 2000-01-09 William M. Perry <wmperry@aventail.com>
17967 * gpmevent.c: (gpm_next_event_cb): Don't return value from void function.
17969 2000-01-09 Andy Piper <andy@xemacs.org>
17971 * glyphs-msw.c: index -> i to avoid shadows.
17972 (xbm_create_bitmap_from_data): make static.
17973 (check_valid_string_or_int): deleted.
17974 (mswindows_control_wnd_proc): message -> msg to avoid shadows.
17976 * glyphs-x.c (x_update_subwindow): remove unused args.
17978 * glyphs.c (glyph_image_instance): return the thing. Don't set the
17979 back pointer - this is done in allocate_image_instance.
17980 (query_string_font): return Qnil to make the compiler happy.
17981 (unmap_subwindow): set to ~0 to make the compiler happy.
17982 (glyph_query_geometry): comment out until used.
17983 (glyph_layout): ditto.
17985 2000-01-09 Hrvoje Niksic <hniksic@iskon.hr>
17987 * insdel.c (signal_after_change): Remove extraneous unbind_to().